diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f1d916c0f19bd0be1d1e72139965e1615f0a997e..8833d51bc3ec26fc166cafadaf12a0dbccf7d495 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,33 @@ +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> * gcc/fixinc/mkfixinc.sh: add i370-*-openedition to bypass fixinc list diff --git a/gcc/config/alpha/elf.h b/gcc/config/alpha/elf.h index 40d4f4fc510b040652ca132541ad7e6fa0929e62..dbe926386641bf73b85b034bb49f4c1943d3544d 100644 --- a/gcc/config/alpha/elf.h +++ b/gcc/config/alpha/elf.h @@ -426,7 +426,7 @@ void FN () \ %{shared:crtendS.o%s}%{!shared:crtend.o%s} crtn.o%s" /* We support #pragma. */ -#define HANDLE_SYSV_PRAGMA +#define HANDLE_SYSV_PRAGMA 1 /* 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 diff --git a/gcc/config/alpha/osf.h b/gcc/config/alpha/osf.h index 268c124c8cea0f89f38a70aa71314bf81e06d5b1..9fbe2b56a07dd32ef509232293381018843adeb5 100644 --- a/gcc/config/alpha/osf.h +++ b/gcc/config/alpha/osf.h @@ -213,7 +213,6 @@ __enable_execute_stack (addr) \ #define ASM_WEAKEN_LABEL(FILE, NAME) ASM_OUTPUT_WEAK_ALIAS(FILE, NAME, 0) /* Handle #pragma weak and #pragma pack. */ -#undef HANDLE_SYSV_PRAGMA #define HANDLE_SYSV_PRAGMA 1 /* Handle #pragma extern_prefix. Technically only needed for Tru64 5.x, diff --git a/gcc/config/arm/netbsd.h b/gcc/config/arm/netbsd.h index 765bfb50663763d1a4dcb4217fd0633401412053..38ccc3f171d7b29467319c2b3cda17ac4c0eb427 100644 --- a/gcc/config/arm/netbsd.h +++ b/gcc/config/arm/netbsd.h @@ -80,7 +80,7 @@ Boston, MA 02111-1307, USA. */ #undef PTRDIFF_TYPE #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. */ #undef DBX_CONTIN_LENGTH diff --git a/gcc/config/cris/aout.h b/gcc/config/cris/aout.h index fe99c769a0d6312eaf94dc582b6e3468ff9f28c0..dabee83a73b17d8a2f58b58e20f0cfcb2e3ea42f 100644 --- a/gcc/config/cris/aout.h +++ b/gcc/config/cris/aout.h @@ -359,7 +359,7 @@ Boston, MA 02111-1307, USA. */ /* Node: Misc */ -#define HANDLE_SYSV_PRAGMA +#define HANDLE_SYSV_PRAGMA 1 /* In theory, this one isn't necessary, but over time, external tools have been primed on names with "." rather than "$". */ diff --git a/gcc/config/d30v/d30v.h b/gcc/config/d30v/d30v.h index 3c9bff6d31044198ae6bf3789208c5c9010ebbbf..095a1def4afa2bd4e92229f5b43c5132357e616b 100644 --- a/gcc/config/d30v/d30v.h +++ b/gcc/config/d30v/d30v.h @@ -4238,7 +4238,7 @@ fprintf (STREAM, "\t.word .L%d\n", VALUE) /* Define this macro to handle System V style pragmas (particularly #pack). 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 must also be defined). */ diff --git a/gcc/config/elfos.h b/gcc/config/elfos.h index 1900e9aeb0e49b15b545e4cfa6944b8dda78b8d5..25a44afe344b44f44497ca6e39b4c8d4766278ae 100644 --- a/gcc/config/elfos.h +++ b/gcc/config/elfos.h @@ -58,7 +58,7 @@ Boston, MA 02111-1307, USA. */ /* Handle #pragma weak and #pragma pack. */ -#define HANDLE_SYSV_PRAGMA +#define HANDLE_SYSV_PRAGMA 1 /* System V Release 4 uses DWARF debugging info. */ diff --git a/gcc/config/frv/frv.h b/gcc/config/frv/frv.h index 954e86f5b4d6e0d784b8636de1f69560197d7cbb..f9900b2f2bc696f3d9af6a9e3c4934a5162e4980 100644 --- a/gcc/config/frv/frv.h +++ b/gcc/config/frv/frv.h @@ -3396,7 +3396,7 @@ do { \ defined. 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 conditional execution instructions instead of a branch. A value of diff --git a/gcc/config/i386/djgpp.h b/gcc/config/i386/djgpp.h index 29b93d96a8cd97519e85f651aac48bddadf17117..a271aa47cde7bcc30ac907fbccbc418877341dd8 100644 --- a/gcc/config/i386/djgpp.h +++ b/gcc/config/i386/djgpp.h @@ -25,7 +25,7 @@ Boston, MA 02111-1307, USA. */ /* Don't assume anything about the header files. */ #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). */ #define HANDLE_PRAGMA_PACK_PUSH_POP 1 diff --git a/gcc/config/i386/i386-interix.h b/gcc/config/i386/i386-interix.h index 79aafa43344c0ca7ac96a704fd17ee07d73f2726..d309087217de665fbe462fe36f8186feb0fcf110 100644 --- a/gcc/config/i386/i386-interix.h +++ b/gcc/config/i386/i386-interix.h @@ -30,7 +30,7 @@ Boston, MA 02111-1307, USA. */ #define SDB_DEBUGGING_INFO 1 #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 */ /* By default, target has a 80387, uses IEEE compatible arithmetic, diff --git a/gcc/config/i386/sco5.h b/gcc/config/i386/sco5.h index 69bf1a77502fb50b2e4645063b9c1bf2454cf7ac..815e45771d65e81d11fff5cdf4d1f49ab60f8bd6 100644 --- a/gcc/config/i386/sco5.h +++ b/gcc/config/i386/sco5.h @@ -511,7 +511,6 @@ init_section () \ #undef TARGET_SUBTARGET_DEFAULT #define TARGET_SUBTARGET_DEFAULT (MASK_80387 | MASK_IEEE_FP | MASK_FLOAT_RETURNS) -#undef HANDLE_SYSV_PRAGMA #define HANDLE_SYSV_PRAGMA 1 /* Though OpenServer supports .weak in COFF, we don't use it. diff --git a/gcc/config/i386/vxi386.h b/gcc/config/i386/vxi386.h index 57e0662006dc19644ed8e21e5cfcafa52bad6161..ee4a74093f8e0332c82a287cc718dd602af47d41 100644 --- a/gcc/config/i386/vxi386.h +++ b/gcc/config/i386/vxi386.h @@ -44,7 +44,7 @@ Boston, MA 02111-1307, USA. */ } \ while (0) -#define HANDLE_SYSV_PRAGMA +#define HANDLE_SYSV_PRAGMA 1 /* VxWorks does all the library stuff itself. */ diff --git a/gcc/config/ia64/ia64.h b/gcc/config/ia64/ia64.h index 59d6e230366550bd8135aa7b52c2bc3b4fa12984..59f60d05bfae8854d62189dbab9f8fba6d96511f 100644 --- a/gcc/config/ia64/ia64.h +++ b/gcc/config/ia64/ia64.h @@ -2388,7 +2388,7 @@ do { \ #define PREFETCH_BLOCK 32 -#define HANDLE_SYSV_PRAGMA +#define HANDLE_SYSV_PRAGMA 1 /* In rare cases, correct code generation requires extra machine dependent processing between the second jump optimization pass and delayed branch diff --git a/gcc/config/interix.h b/gcc/config/interix.h index aea3a73425e8583fdbbe61a9ffcac35524d9d5ce..8d9f58f8b5b3269dc6f805e2f1c6ababf5b0015f 100644 --- a/gcc/config/interix.h +++ b/gcc/config/interix.h @@ -85,7 +85,7 @@ for windows/multi thread */ #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 */ /* Names to predefine in the preprocessor for this target machine. */ diff --git a/gcc/config/linux-aout.h b/gcc/config/linux-aout.h index 8193c61136408c7c50447389e82a8ec5c632c0b6..13d9bfd6e83aaefece49f0c8e1d16cf3b89abb26 100644 --- a/gcc/config/linux-aout.h +++ b/gcc/config/linux-aout.h @@ -42,4 +42,4 @@ Boston, MA 02111-1307, USA. */ #define SET_ASM_OP "\t.set\t" /* We need that too. */ -#define HANDLE_SYSV_PRAGMA +#define HANDLE_SYSV_PRAGMA 1 diff --git a/gcc/config/lynx-ng.h b/gcc/config/lynx-ng.h index 9d9480153228d9d5853223759def59e95a756f1d..7c257c7982e3be334b9264e684eb0b82f730c644 100644 --- a/gcc/config/lynx-ng.h +++ b/gcc/config/lynx-ng.h @@ -70,7 +70,7 @@ Boston, MA 02111-1307, USA. */ /* Handle #pragma pack and sometimes #pragma weak. */ -#define HANDLE_SYSV_PRAGMA +#define HANDLE_SYSV_PRAGMA 1 #define TARGET_THREADS (target_flags & MASK_THREADS) #define MASK_THREADS 0x40000000 diff --git a/gcc/config/lynx.h b/gcc/config/lynx.h index 7f1cb547a4287b9fa77ae8eb3bcbd3ba816620b1..e060675a7ce864bcaacf60dc38df94afb6ee9796 100644 --- a/gcc/config/lynx.h +++ b/gcc/config/lynx.h @@ -95,7 +95,7 @@ Boston, MA 02111-1307, USA. */ /* Handle #pragma pack and sometimes #pragma weak. */ -#define HANDLE_SYSV_PRAGMA +#define HANDLE_SYSV_PRAGMA 1 /* Some additional command-line options. */ diff --git a/gcc/config/m88k/m88k.h b/gcc/config/m88k/m88k.h index b36c5f50a822eedd33db647307836f68441f44f0..659f5fbe8012f9cb8731898d43a6f841cc514cfb 100644 --- a/gcc/config/m88k/m88k.h +++ b/gcc/config/m88k/m88k.h @@ -1439,7 +1439,7 @@ enum reg_class { NO_REGS, AP_REG, XRF_REGS, GENERAL_REGS, AGRF_REGS, #define SIZE_TYPE "unsigned int" /* 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. */ #define SUPPORTS_WEAK TARGET_SVR4 diff --git a/gcc/config/mips/iris5.h b/gcc/config/mips/iris5.h index e26d53bf2d84d01a8d82262af26b046eb462b08e..a3af82d339ef522f9e67af7102a0d5925e67289e 100644 --- a/gcc/config/mips/iris5.h +++ b/gcc/config/mips/iris5.h @@ -205,5 +205,4 @@ do { \ #define ASM_WEAKEN_LABEL(FILE, NAME) ASM_OUTPUT_WEAK_ALIAS(FILE, NAME, 0) /* Handle #pragma weak and #pragma pack. */ -#undef HANDLE_SYSV_PRAGMA #define HANDLE_SYSV_PRAGMA 1 diff --git a/gcc/config/mmix/mmix.h b/gcc/config/mmix/mmix.h index a46a551897e36c63d780966f92a69fc8fcc7c8b4..b6c4ec702101a748aac9a9d0bc922ff3f076b8f7 100644 --- a/gcc/config/mmix/mmix.h +++ b/gcc/config/mmix/mmix.h @@ -1175,7 +1175,7 @@ typedef struct { int regs; int lib; } CUMULATIVE_ARGS; #define NO_IMPLICIT_EXTERN_C -#define HANDLE_SYSV_PRAGMA +#define HANDLE_SYSV_PRAGMA 1 /* These are checked. */ #define DOLLARS_IN_IDENTIFIERS 0 diff --git a/gcc/config/netbsd.h b/gcc/config/netbsd.h index 61b44aceac407d8850b42a97a384a115421df877..43ff80ae686425441699c979d860618bd6153ddf 100644 --- a/gcc/config/netbsd.h +++ b/gcc/config/netbsd.h @@ -170,7 +170,7 @@ Boston, MA 02111-1307, USA. */ /* 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, diff --git a/gcc/config/openbsd.h b/gcc/config/openbsd.h index ee6b52cdec6138031e106a257ce60ccca8b27833..1c215ebbf2d0704f8d3061162564f90a048a1d1f 100644 --- a/gcc/config/openbsd.h +++ b/gcc/config/openbsd.h @@ -287,5 +287,5 @@ do { \ code layout needs HANDLE_PRAGMA_WEAK asserted for __attribute((weak)) to work. On the other hand, we don't define HANDLE_PRAGMA_WEAK directly, as this depends on a few other details as well... */ -#define HANDLE_SYSV_PRAGMA +#define HANDLE_SYSV_PRAGMA 1 diff --git a/gcc/config/rs6000/aix.h b/gcc/config/rs6000/aix.h index 051780cfcfc08ebb6ebda658732fdad798f0d41b..505d758c612d6381762a0d2db2a8957a9aa4979b 100644 --- a/gcc/config/rs6000/aix.h +++ b/gcc/config/rs6000/aix.h @@ -45,7 +45,7 @@ Boston, MA 02111-1307, USA. */ #define COLLECT_EXPORT_LIST /* 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. */ #define REAL_NM_FILE_NAME "/usr/ucb/nm" diff --git a/gcc/config/rs6000/darwin.h b/gcc/config/rs6000/darwin.h index 4b3a902cb3967059bdcf895fb12a3df755c25528..73041a28775432bc4ce2eda31d4e9cea6e29373b 100644 --- a/gcc/config/rs6000/darwin.h +++ b/gcc/config/rs6000/darwin.h @@ -36,7 +36,7 @@ Boston, MA 02111-1307, USA. */ #define TARGET_NO_TOC 1 /* 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 off. */ diff --git a/gcc/config/sparc/linux-aout.h b/gcc/config/sparc/linux-aout.h index 41d38773ecf9bf4bf56be451daec2b0b01451550..70b2c794b7d920cdbfbf47e0c25cd45ef717f7d4 100644 --- a/gcc/config/sparc/linux-aout.h +++ b/gcc/config/sparc/linux-aout.h @@ -31,7 +31,7 @@ Boston, MA 02111-1307, USA. */ #endif /* We need that too. */ -#define HANDLE_SYSV_PRAGMA +#define HANDLE_SYSV_PRAGMA 1 #undef MD_EXEC_PREFIX #undef MD_STARTFILE_PREFIX diff --git a/gcc/config/sparc/vxsparc64.h b/gcc/config/sparc/vxsparc64.h index d37bd54f860e3ed0d83fa6ee751cc0285cd2d7ad..1da8b7f2566493955ec81ab087b7afbdfb336bf6 100644 --- a/gcc/config/sparc/vxsparc64.h +++ b/gcc/config/sparc/vxsparc64.h @@ -44,7 +44,7 @@ Boston, MA 02111-1307, USA. */ #define NO_DOT_IN_LABEL /* Enable #pragma pack(n) */ -#define HANDLE_SYSV_PRAGMA +#define HANDLE_SYSV_PRAGMA 1 /* We use stabs for debugging */ #undef PREFERRED_DEBUGGING_TYPE diff --git a/gcc/config/stormy16/stormy16.h b/gcc/config/stormy16/stormy16.h index 50a784c4fb5e022f925a8ee3542a63030bf17448..87163dd415ce55cba345f9a83f7c4f598098a245 100644 --- a/gcc/config/stormy16/stormy16.h +++ b/gcc/config/stormy16/stormy16.h @@ -3890,7 +3890,7 @@ do { \ defined. 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 #pragma pack(push,<n>) and #pragma pack(pop). */