linux.h (TARGET_VERSION): Added.
authorAndreas Jaeger <aj@suse.de>
Wed, 24 Nov 1999 15:19:20 +0000 (16:19 +0100)
committerGavin Romig-Koch <gavin@gcc.gnu.org>
Wed, 24 Nov 1999 15:19:20 +0000 (15:19 +0000)
* config/mips/linux.h (TARGET_VERSION): Added.
(HANDLE_SYSV_PRAGMA): Added.
(DEFAULT_VTABLE_THUNKS): Added.

From-SVN: r30652

gcc/ChangeLog
gcc/config/mips/linux.h

index 3b58e9e4206b78bdff80435b6db9e9b5bb48f181..3dff9672387afb19999ad0ec28bebff13b852bee 100644 (file)
@@ -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.
index 2a780fe201601ed8f79ae8d9c1152fd122d83b9d..5777ffb4d43157a24bceac9aa65aa0cecec83979 100644 (file)
@@ -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