diff options
author | Andreas Jaeger <aj@suse.de> | 1999-11-24 16:19:20 +0100 |
---|---|---|
committer | Gavin Romig-Koch <gavin@gcc.gnu.org> | 1999-11-24 15:19:20 +0000 |
commit | 9aaaa38ad66cda38a3dee566730635c38f728a3b (patch) | |
tree | 19ec73c92aff81a6c40e3643d4b06c7a732fc6b5 | |
parent | a1ed7bdbdd7e3543d44568c9b1a24d1dc8df4b67 (diff) | |
download | gcc-9aaaa38ad66cda38a3dee566730635c38f728a3b.zip gcc-9aaaa38ad66cda38a3dee566730635c38f728a3b.tar.gz gcc-9aaaa38ad66cda38a3dee566730635c38f728a3b.tar.bz2 |
linux.h (TARGET_VERSION): Added.
* config/mips/linux.h (TARGET_VERSION): Added.
(HANDLE_SYSV_PRAGMA): Added.
(DEFAULT_VTABLE_THUNKS): Added.
From-SVN: r30652
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/mips/linux.h | 14 |
2 files changed, 20 insertions, 0 deletions
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 <aj@suse.de> + + * 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 <hubicka@freesoft.cz> * 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 |