diff options
Diffstat (limited to 'gcc/config/darwin.h')
-rw-r--r-- | gcc/config/darwin.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h index 343e4a2..757bedc 100644 --- a/gcc/config/darwin.h +++ b/gcc/config/darwin.h @@ -611,9 +611,13 @@ Boston, MA 02110-1301, USA. */ /* Declare the section variables. */ #ifndef USED_FOR_TARGET -#define DEF_SECTION(NAME, FLAGS, DIRECTIVE, OBJC) extern section *NAME; +enum darwin_section_enum { +#define DEF_SECTION(NAME, FLAGS, DIRECTIVE, OBJC) NAME, #include "darwin-sections.def" #undef DEF_SECTION + NUM_DARWIN_SECTIONS +}; +extern GTY(()) section * darwin_sections[NUM_DARWIN_SECTIONS]; #endif #undef TARGET_ASM_SELECT_SECTION |