From 9aaaa38ad66cda38a3dee566730635c38f728a3b Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Wed, 24 Nov 1999 16:19:20 +0100 Subject: linux.h (TARGET_VERSION): Added. * config/mips/linux.h (TARGET_VERSION): Added. (HANDLE_SYSV_PRAGMA): Added. (DEFAULT_VTABLE_THUNKS): Added. From-SVN: r30652 --- gcc/ChangeLog | 6 ++++++ gcc/config/mips/linux.h | 14 ++++++++++++++ 2 files changed, 20 insertions(+) (limited to 'gcc') diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3b58e9e..3dff967 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +1999-11-24 Andreas Jaeger + + * config/mips/linux.h (TARGET_VERSION): Added. + (HANDLE_SYSV_PRAGMA): Added. + (DEFAULT_VTABLE_THUNKS): Added. + Wed Nov 24 14:12:15 MET 1999 Jan Hubicka * local-alloc.c (qty): New structure and static variable. diff --git a/gcc/config/mips/linux.h b/gcc/config/mips/linux.h index 2a780fe..5777ffb 100644 --- a/gcc/config/mips/linux.h +++ b/gcc/config/mips/linux.h @@ -18,6 +18,13 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#undef TARGET_VERSION +#if TARGET_ENDIAN_DEFAULT == 0 +#define TARGET_VERSION fprintf (stderr, " (MIPSel GNU/ELF)"); +#else +#define TARGET_VERSION fprintf (stderr, " (MIPS GNU/ELF)"); +#endif + /* Required to keep collect2.c happy */ #undef OBJECT_FORMAT_COFF @@ -26,6 +33,13 @@ Boston, MA 02111-1307, USA. */ #define TARGET_DEFAULT (MASK_ABICALLS|MASK_GAS) +/* Handle #pragma weak and #pragma pack. */ +#define HANDLE_SYSV_PRAGMA 1 + +/* Use more efficient ``thunks'' to implement C++ vtables. */ +#undef DEFAULT_VTABLE_THUNKS +#define DEFAULT_VTABLE_THUNKS 1 + /* Provide a STARTFILE_SPEC appropriate for GNU/Linux. Here we add the GNU/Linux magical crtbegin.o file (see crtstuff.c) which provides part of the support for getting C++ file-scope static -- cgit v1.1