--- gcc/config/a29k/unix.h 2018/04/24 18:10:25 1.1.1.1 +++ gcc/config/a29k/unix.h 2018/04/24 18:29:18 1.1.1.4 @@ -1,6 +1,6 @@ /* Definitions of target machine for GNU compiler, for AMD Am29000 CPU, Unix. - Copyright (C) 1991 Free Software Foundation, Inc. - Contributed by Richard Kenner (kenner@nyu.edu) + Copyright (C) 1991, 1993, 1994 Free Software Foundation, Inc. + Contributed by Richard Kenner (kenner@vlsi1.ultra.nyu.edu) This file is part of GNU CC. @@ -16,7 +16,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. */ /* This is mostly the same as a29k.h, except that we define unix instead of @@ -28,10 +29,10 @@ the Free Software Foundation, 675 Mass A for Unix systems. */ #undef TARGET_DEFAULT -#define TARGET_DEFAULT (1+2+8+64) +#define TARGET_DEFAULT (1+2+16+128) #undef CPP_PREDEFINES -#define CPP_PREDEFINES "-Dam29k -Da29k -Dam29000" +#define CPP_PREDEFINES "-Dam29k -Da29k -Dam29000 -Asystem(unix) -Acpu(a29k) -Amachine(a29k)" #undef CPP_SPEC #define CPP_SPEC "%{!m29000:-Dam29050 -D__am29050__}" @@ -61,7 +62,9 @@ the Free Software Foundation, 675 Mass A for (p = main_input_filename; *p; p++) \ if (*p == '/') \ after_dir = p + 1; \ - fprintf (FILE, "\t.file \"%s\"\n", after_dir); \ + fprintf (FILE, "\t.file "); \ + output_quoted_string (FILE, after_dir); \ + fprintf (FILE, "\n"); \ if (flag_shared_data) \ fprintf (FILE, "\t.sect .shdata,data\n"); \ fprintf (FILE, "\t.sect .lit,lit\n"); } @@ -74,6 +77,10 @@ the Free Software Foundation, 675 Mass A #define OVERRIDE_OPTIONS if (flag_shared_data) flag_no_common = 1; +/* Default to -fno-pcc-struct-return, since we don't have to worry about + compatibility. */ +#define DEFAULT_PCC_STRUCT_RETURN 0 + #if 0 /* This would be needed except that the 29k doesn't have strict alignment requirements. */