--- gcc/config/m88k/sysv3.h 2018/04/24 18:10:22 1.1 +++ gcc/config/m88k/sysv3.h 2018/04/24 18:27:37 1.1.1.4 @@ -18,7 +18,8 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with GNU CC; see the file COPYING. If not, write to -the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ +the Free Software Foundation, 59 Temple Place - Suite 330, +Boston, MA 02111-1307, USA. */ #include "m88k/m88k.h" @@ -30,7 +31,7 @@ the Free Software Foundation, 675 Mass A /* Macros to be automatically defined. */ #undef CPP_PREDEFINES -#define CPP_PREDEFINES "-Dm88000 -Dm88k -Dunix -DsysV88 -D__CLASSIFY_TYPE__=2" +#define CPP_PREDEFINES "-Dm88000 -Dm88k -Dunix -DsysV88 -D__CLASSIFY_TYPE__=2 -Asystem(unix) -Asystem(svr3) -Acpu(m88k) -Amachine(m88k)" /* Override svr3.h to link with ?crt0.o instead of ?crt1.o and ?crtn.o. From arul@sdsu.edu. */ @@ -93,8 +94,8 @@ the Free Software Foundation, 675 Mass A #undef DO_GLOBAL_CTORS_BODY #define DO_GLOBAL_CTORS_BODY \ do { \ - func_ptr *__CTOR_LIST__ = __builtin_alloca (0), *p; \ - for (p = __CTOR_LIST__; *p; p += 4) \ + func_ptr *__CTOR_LIST__ = __builtin_alloca (1), *p; \ + for (p = __CTOR_LIST__ + 4; *p; p += 4) \ (*p) (); \ } while (0)