Commit 32f0ffb3 by Jason Thorpe Committed by Jason Thorpe

elfos.h (HANDLE_SYSV_PRAGMA): Define as 1.

* config/elfos.h (HANDLE_SYSV_PRAGMA): Define as 1.
* config/interix.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/linux-aout.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/lynx-ng.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/lynx.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/netbsd.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/openbsd.h (HANDLE_SYSV_PRAGMA: Likewise.
* config/alpha/elf.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/arm/netbsd.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/cris/aout.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/d30v/d30v.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/frv/frv.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/i386/djgpp.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/i386/i386-interix.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/i386/vxi386.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/ia64/ia64.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/m88k/m88k.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/mmix/mmix.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/rs6000/aix.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/rs6000/darwin.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/sparc/linux-aout.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/sparc/vxsparc64.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/stormy16/stormy16.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/alpha/osf.h (HANDLE_SYSV_PRAGMA): Don't undef before
defining.
* config/i386/sco5.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/mips/iris5.h (HANDLE_SYSV_PRAGMA): Likewise.

From-SVN: r59493
parent 160f9a4c
2002-11-25 Jason Thorpe <thorpej@wasabisystems.com>
* config/elfos.h (HANDLE_SYSV_PRAGMA): Define as 1.
* config/interix.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/linux-aout.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/lynx-ng.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/lynx.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/netbsd.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/openbsd.h (HANDLE_SYSV_PRAGMA: Likewise.
* config/alpha/elf.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/arm/netbsd.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/cris/aout.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/d30v/d30v.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/frv/frv.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/i386/djgpp.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/i386/i386-interix.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/i386/vxi386.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/ia64/ia64.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/m88k/m88k.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/mmix/mmix.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/rs6000/aix.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/rs6000/darwin.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/sparc/linux-aout.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/sparc/vxsparc64.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/stormy16/stormy16.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/alpha/osf.h (HANDLE_SYSV_PRAGMA): Don't undef before
defining.
* config/i386/sco5.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/mips/iris5.h (HANDLE_SYSV_PRAGMA): Likewise.
2002-11-25 Dave Pitts <dpitts@cozx.com> 2002-11-25 Dave Pitts <dpitts@cozx.com>
* gcc/fixinc/mkfixinc.sh: add i370-*-openedition to bypass fixinc list * gcc/fixinc/mkfixinc.sh: add i370-*-openedition to bypass fixinc list
......
...@@ -426,7 +426,7 @@ void FN () \ ...@@ -426,7 +426,7 @@ void FN () \
%{shared:crtendS.o%s}%{!shared:crtend.o%s} crtn.o%s" %{shared:crtendS.o%s}%{!shared:crtend.o%s} crtn.o%s"
/* We support #pragma. */ /* We support #pragma. */
#define HANDLE_SYSV_PRAGMA #define HANDLE_SYSV_PRAGMA 1
/* Select a format to encode pointers in exception handling data. CODE /* Select a format to encode pointers in exception handling data. CODE
is 0 for data, 1 for code labels, 2 for function pointers. GLOBAL is is 0 for data, 1 for code labels, 2 for function pointers. GLOBAL is
......
...@@ -213,7 +213,6 @@ __enable_execute_stack (addr) \ ...@@ -213,7 +213,6 @@ __enable_execute_stack (addr) \
#define ASM_WEAKEN_LABEL(FILE, NAME) ASM_OUTPUT_WEAK_ALIAS(FILE, NAME, 0) #define ASM_WEAKEN_LABEL(FILE, NAME) ASM_OUTPUT_WEAK_ALIAS(FILE, NAME, 0)
/* Handle #pragma weak and #pragma pack. */ /* Handle #pragma weak and #pragma pack. */
#undef HANDLE_SYSV_PRAGMA
#define HANDLE_SYSV_PRAGMA 1 #define HANDLE_SYSV_PRAGMA 1
/* Handle #pragma extern_prefix. Technically only needed for Tru64 5.x, /* Handle #pragma extern_prefix. Technically only needed for Tru64 5.x,
......
...@@ -80,7 +80,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -80,7 +80,7 @@ Boston, MA 02111-1307, USA. */
#undef PTRDIFF_TYPE #undef PTRDIFF_TYPE
#define PTRDIFF_TYPE "int" #define PTRDIFF_TYPE "int"
#define HANDLE_SYSV_PRAGMA #define HANDLE_SYSV_PRAGMA 1
/* We don't have any limit on the length as out debugger is GDB. */ /* We don't have any limit on the length as out debugger is GDB. */
#undef DBX_CONTIN_LENGTH #undef DBX_CONTIN_LENGTH
......
...@@ -359,7 +359,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -359,7 +359,7 @@ Boston, MA 02111-1307, USA. */
/* Node: Misc */ /* Node: Misc */
#define HANDLE_SYSV_PRAGMA #define HANDLE_SYSV_PRAGMA 1
/* In theory, this one isn't necessary, but over time, external tools have /* In theory, this one isn't necessary, but over time, external tools have
been primed on names with "." rather than "$". */ been primed on names with "." rather than "$". */
......
...@@ -4238,7 +4238,7 @@ fprintf (STREAM, "\t.word .L%d\n", VALUE) ...@@ -4238,7 +4238,7 @@ fprintf (STREAM, "\t.word .L%d\n", VALUE)
/* Define this macro to handle System V style pragmas (particularly #pack). /* Define this macro to handle System V style pragmas (particularly #pack).
Defined in svr4.h. */ Defined in svr4.h. */
#define HANDLE_SYSV_PRAGMA #define HANDLE_SYSV_PRAGMA 1
/* Define this macro if you want to handle #pragma weak (HANDLE_SYSV_PRAGMA /* Define this macro if you want to handle #pragma weak (HANDLE_SYSV_PRAGMA
must also be defined). */ must also be defined). */
......
...@@ -58,7 +58,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -58,7 +58,7 @@ Boston, MA 02111-1307, USA. */
/* Handle #pragma weak and #pragma pack. */ /* Handle #pragma weak and #pragma pack. */
#define HANDLE_SYSV_PRAGMA #define HANDLE_SYSV_PRAGMA 1
/* System V Release 4 uses DWARF debugging info. */ /* System V Release 4 uses DWARF debugging info. */
......
...@@ -3396,7 +3396,7 @@ do { \ ...@@ -3396,7 +3396,7 @@ do { \
defined. defined.
Defined in svr4.h. */ Defined in svr4.h. */
#define HANDLE_SYSV_PRAGMA #define HANDLE_SYSV_PRAGMA 1
/* A C expression for the maximum number of instructions to execute via /* A C expression for the maximum number of instructions to execute via
conditional execution instructions instead of a branch. A value of conditional execution instructions instead of a branch. A value of
......
...@@ -25,7 +25,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -25,7 +25,7 @@ Boston, MA 02111-1307, USA. */
/* Don't assume anything about the header files. */ /* Don't assume anything about the header files. */
#define NO_IMPLICIT_EXTERN_C #define NO_IMPLICIT_EXTERN_C
#define HANDLE_SYSV_PRAGMA #define HANDLE_SYSV_PRAGMA 1
/* Enable parsing of #pragma pack(push,<n>) and #pragma pack(pop). */ /* Enable parsing of #pragma pack(push,<n>) and #pragma pack(pop). */
#define HANDLE_PRAGMA_PACK_PUSH_POP 1 #define HANDLE_PRAGMA_PACK_PUSH_POP 1
......
...@@ -30,7 +30,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -30,7 +30,7 @@ Boston, MA 02111-1307, USA. */
#define SDB_DEBUGGING_INFO 1 #define SDB_DEBUGGING_INFO 1
#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG #define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
#define HANDLE_SYSV_PRAGMA #define HANDLE_SYSV_PRAGMA 1
#undef HANDLE_PRAGMA_WEAK /* until the link format can handle it */ #undef HANDLE_PRAGMA_WEAK /* until the link format can handle it */
/* By default, target has a 80387, uses IEEE compatible arithmetic, /* By default, target has a 80387, uses IEEE compatible arithmetic,
......
...@@ -511,7 +511,6 @@ init_section () \ ...@@ -511,7 +511,6 @@ init_section () \
#undef TARGET_SUBTARGET_DEFAULT #undef TARGET_SUBTARGET_DEFAULT
#define TARGET_SUBTARGET_DEFAULT (MASK_80387 | MASK_IEEE_FP | MASK_FLOAT_RETURNS) #define TARGET_SUBTARGET_DEFAULT (MASK_80387 | MASK_IEEE_FP | MASK_FLOAT_RETURNS)
#undef HANDLE_SYSV_PRAGMA
#define HANDLE_SYSV_PRAGMA 1 #define HANDLE_SYSV_PRAGMA 1
/* Though OpenServer supports .weak in COFF, we don't use it. /* Though OpenServer supports .weak in COFF, we don't use it.
......
...@@ -44,7 +44,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -44,7 +44,7 @@ Boston, MA 02111-1307, USA. */
} \ } \
while (0) while (0)
#define HANDLE_SYSV_PRAGMA #define HANDLE_SYSV_PRAGMA 1
/* VxWorks does all the library stuff itself. */ /* VxWorks does all the library stuff itself. */
......
...@@ -2388,7 +2388,7 @@ do { \ ...@@ -2388,7 +2388,7 @@ do { \
#define PREFETCH_BLOCK 32 #define PREFETCH_BLOCK 32
#define HANDLE_SYSV_PRAGMA #define HANDLE_SYSV_PRAGMA 1
/* In rare cases, correct code generation requires extra machine dependent /* In rare cases, correct code generation requires extra machine dependent
processing between the second jump optimization pass and delayed branch processing between the second jump optimization pass and delayed branch
......
...@@ -85,7 +85,7 @@ for windows/multi thread */ ...@@ -85,7 +85,7 @@ for windows/multi thread */
#define STDC_0_IN_SYSTEM_HEADERS 1 #define STDC_0_IN_SYSTEM_HEADERS 1
#define HANDLE_SYSV_PRAGMA #define HANDLE_SYSV_PRAGMA 1
#undef HANDLE_PRAGMA_WEAK /* until the link format can handle it */ #undef HANDLE_PRAGMA_WEAK /* until the link format can handle it */
/* Names to predefine in the preprocessor for this target machine. */ /* Names to predefine in the preprocessor for this target machine. */
......
...@@ -42,4 +42,4 @@ Boston, MA 02111-1307, USA. */ ...@@ -42,4 +42,4 @@ Boston, MA 02111-1307, USA. */
#define SET_ASM_OP "\t.set\t" #define SET_ASM_OP "\t.set\t"
/* We need that too. */ /* We need that too. */
#define HANDLE_SYSV_PRAGMA #define HANDLE_SYSV_PRAGMA 1
...@@ -70,7 +70,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -70,7 +70,7 @@ Boston, MA 02111-1307, USA. */
/* Handle #pragma pack and sometimes #pragma weak. */ /* Handle #pragma pack and sometimes #pragma weak. */
#define HANDLE_SYSV_PRAGMA #define HANDLE_SYSV_PRAGMA 1
#define TARGET_THREADS (target_flags & MASK_THREADS) #define TARGET_THREADS (target_flags & MASK_THREADS)
#define MASK_THREADS 0x40000000 #define MASK_THREADS 0x40000000
......
...@@ -95,7 +95,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -95,7 +95,7 @@ Boston, MA 02111-1307, USA. */
/* Handle #pragma pack and sometimes #pragma weak. */ /* Handle #pragma pack and sometimes #pragma weak. */
#define HANDLE_SYSV_PRAGMA #define HANDLE_SYSV_PRAGMA 1
/* Some additional command-line options. */ /* Some additional command-line options. */
......
...@@ -1439,7 +1439,7 @@ enum reg_class { NO_REGS, AP_REG, XRF_REGS, GENERAL_REGS, AGRF_REGS, ...@@ -1439,7 +1439,7 @@ enum reg_class { NO_REGS, AP_REG, XRF_REGS, GENERAL_REGS, AGRF_REGS,
#define SIZE_TYPE "unsigned int" #define SIZE_TYPE "unsigned int"
/* Handle #pragma pack and sometimes #pragma weak. */ /* Handle #pragma pack and sometimes #pragma weak. */
#define HANDLE_SYSV_PRAGMA #define HANDLE_SYSV_PRAGMA 1
/* Tell when to handle #pragma weak. This is only done for V.4. */ /* Tell when to handle #pragma weak. This is only done for V.4. */
#define SUPPORTS_WEAK TARGET_SVR4 #define SUPPORTS_WEAK TARGET_SVR4
......
...@@ -205,5 +205,4 @@ do { \ ...@@ -205,5 +205,4 @@ do { \
#define ASM_WEAKEN_LABEL(FILE, NAME) ASM_OUTPUT_WEAK_ALIAS(FILE, NAME, 0) #define ASM_WEAKEN_LABEL(FILE, NAME) ASM_OUTPUT_WEAK_ALIAS(FILE, NAME, 0)
/* Handle #pragma weak and #pragma pack. */ /* Handle #pragma weak and #pragma pack. */
#undef HANDLE_SYSV_PRAGMA
#define HANDLE_SYSV_PRAGMA 1 #define HANDLE_SYSV_PRAGMA 1
...@@ -1175,7 +1175,7 @@ typedef struct { int regs; int lib; } CUMULATIVE_ARGS; ...@@ -1175,7 +1175,7 @@ typedef struct { int regs; int lib; } CUMULATIVE_ARGS;
#define NO_IMPLICIT_EXTERN_C #define NO_IMPLICIT_EXTERN_C
#define HANDLE_SYSV_PRAGMA #define HANDLE_SYSV_PRAGMA 1
/* These are checked. */ /* These are checked. */
#define DOLLARS_IN_IDENTIFIERS 0 #define DOLLARS_IN_IDENTIFIERS 0
......
...@@ -170,7 +170,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -170,7 +170,7 @@ Boston, MA 02111-1307, USA. */
/* Handle #pragma weak and #pragma pack. */ /* Handle #pragma weak and #pragma pack. */
#define HANDLE_SYSV_PRAGMA #define HANDLE_SYSV_PRAGMA 1
/* Define some types that are the same on all NetBSD platforms, /* Define some types that are the same on all NetBSD platforms,
......
...@@ -287,5 +287,5 @@ do { \ ...@@ -287,5 +287,5 @@ do { \
code layout needs HANDLE_PRAGMA_WEAK asserted for __attribute((weak)) to code layout needs HANDLE_PRAGMA_WEAK asserted for __attribute((weak)) to
work. On the other hand, we don't define HANDLE_PRAGMA_WEAK directly, work. On the other hand, we don't define HANDLE_PRAGMA_WEAK directly,
as this depends on a few other details as well... */ as this depends on a few other details as well... */
#define HANDLE_SYSV_PRAGMA #define HANDLE_SYSV_PRAGMA 1
...@@ -45,7 +45,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -45,7 +45,7 @@ Boston, MA 02111-1307, USA. */
#define COLLECT_EXPORT_LIST #define COLLECT_EXPORT_LIST
/* Handle #pragma weak and #pragma pack. */ /* Handle #pragma weak and #pragma pack. */
#define HANDLE_SYSV_PRAGMA #define HANDLE_SYSV_PRAGMA 1
/* This is the only version of nm that collect2 can work with. */ /* This is the only version of nm that collect2 can work with. */
#define REAL_NM_FILE_NAME "/usr/ucb/nm" #define REAL_NM_FILE_NAME "/usr/ucb/nm"
......
...@@ -36,7 +36,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -36,7 +36,7 @@ Boston, MA 02111-1307, USA. */
#define TARGET_NO_TOC 1 #define TARGET_NO_TOC 1
/* Handle #pragma weak and #pragma pack. */ /* Handle #pragma weak and #pragma pack. */
#define HANDLE_SYSV_PRAGMA #define HANDLE_SYSV_PRAGMA 1
/* The Darwin ABI always includes AltiVec, can't be (validly) turned /* The Darwin ABI always includes AltiVec, can't be (validly) turned
off. */ off. */
......
...@@ -31,7 +31,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -31,7 +31,7 @@ Boston, MA 02111-1307, USA. */
#endif #endif
/* We need that too. */ /* We need that too. */
#define HANDLE_SYSV_PRAGMA #define HANDLE_SYSV_PRAGMA 1
#undef MD_EXEC_PREFIX #undef MD_EXEC_PREFIX
#undef MD_STARTFILE_PREFIX #undef MD_STARTFILE_PREFIX
......
...@@ -44,7 +44,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -44,7 +44,7 @@ Boston, MA 02111-1307, USA. */
#define NO_DOT_IN_LABEL #define NO_DOT_IN_LABEL
/* Enable #pragma pack(n) */ /* Enable #pragma pack(n) */
#define HANDLE_SYSV_PRAGMA #define HANDLE_SYSV_PRAGMA 1
/* We use stabs for debugging */ /* We use stabs for debugging */
#undef PREFERRED_DEBUGGING_TYPE #undef PREFERRED_DEBUGGING_TYPE
......
...@@ -3890,7 +3890,7 @@ do { \ ...@@ -3890,7 +3890,7 @@ do { \
defined. defined.
Defined in svr4.h. */ Defined in svr4.h. */
#define HANDLE_SYSV_PRAGMA #define HANDLE_SYSV_PRAGMA 1
/* Define this macro if you want to support the Win32 style pragmas /* Define this macro if you want to support the Win32 style pragmas
#pragma pack(push,<n>) and #pragma pack(pop). */ #pragma pack(push,<n>) and #pragma pack(pop). */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment