diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/darwin.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 89281db..f1e85f7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2005-12-07 Richard Sandiford <richard@codesourcery.com> + * config/darwin.h: Guard section variables with #ifndef IN_LIBGCC2. + +2005-12-07 Richard Sandiford <richard@codesourcery.com> + * config/alpha/alpha.c (alpha_start_function): Use switch_to_section. (alpha_elf_select_rtx_section): Return the selected section rather than emitting assembly code. diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h index 8afae45..ff220a2 100644 --- a/gcc/config/darwin.h +++ b/gcc/config/darwin.h @@ -610,9 +610,11 @@ Boston, MA 02110-1301, USA. */ #define MAX_OFILE_ALIGNMENT 0x8000 /* Declare the section variables. */ +#ifndef IN_LIBGCC2 #define DEF_SECTION(NAME, FLAGS, DIRECTIVE, OBJC) extern section *NAME; #include "darwin-sections.def" #undef DEF_SECTION +#endif #undef TARGET_ASM_SELECT_SECTION #define TARGET_ASM_SELECT_SECTION machopic_select_section |