darwin.h (DARWIN_REGISTER_TARGET_PRAGMAS): Rename from REGISTER_TARGET_PRAGMAS.

* config/darwin.h (DARWIN_REGISTER_TARGET_PRAGMAS): Rename from
        REGISTER_TARGET_PRAGMAS.
        * config/rs6000/darwin.h (REGISTER_TARGET_PRAGMAS): Redefine.

From-SVN: r53603
This commit is contained in:
Richard Henderson 2002-05-18 19:31:35 -07:00 committed by Richard Henderson
parent 210142e0e2
commit 9fe08fd013
3 changed files with 15 additions and 6 deletions

View File

@ -1,3 +1,9 @@
2002-05-18 Richard Henderson <rth@redhat.com>
* config/darwin.h (DARWIN_REGISTER_TARGET_PRAGMAS): Rename from
REGISTER_TARGET_PRAGMAS.
* config/rs6000/darwin.h (REGISTER_TARGET_PRAGMAS): Redefine.
2002-05-18 Richard Henderson <rth@redhat.com>
* system.h (SELECT_RTX_SECTION): Poison.

View File

@ -622,10 +622,10 @@ enum machopic_addr_class {
#define ASM_PREFERRED_EH_DATA_FORMAT(CODE,GLOBAL) \
(((CODE) == 1 || (GLOBAL) == 0) ? DW_EH_PE_pcrel : DW_EH_PE_absptr)
#define REGISTER_TARGET_PRAGMAS(PFILE) \
do { \
cpp_register_pragma (PFILE, 0, "mark", darwin_pragma_ignore); \
cpp_register_pragma (PFILE, 0, "options", darwin_pragma_options); \
cpp_register_pragma (PFILE, 0, "segment", darwin_pragma_ignore); \
cpp_register_pragma (PFILE, 0, "unused", darwin_pragma_unused); \
#define DARWIN_REGISTER_TARGET_PRAGMAS(PFILE) \
do { \
cpp_register_pragma (PFILE, 0, "mark", darwin_pragma_ignore); \
cpp_register_pragma (PFILE, 0, "options", darwin_pragma_options); \
cpp_register_pragma (PFILE, 0, "segment", darwin_pragma_ignore); \
cpp_register_pragma (PFILE, 0, "unused", darwin_pragma_unused); \
} while (0)

View File

@ -237,3 +237,6 @@ Boston, MA 02111-1307, USA. */
/* For binary compatibility with 2.95; Darwin C APIs use bool from
stdbool.h, which was an int-sized enum in 2.95. */
#define BOOL_TYPE_SIZE INT_TYPE_SIZE
#undef REGISTER_TARGET_PRAGMAS
#define REGISTER_TARGET_PRAGMAS DARWIN_REGISTER_TARGET_PRAGMAS