diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cbb327ec9c7..b689ad9967f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2000-10-31 Nick Clifton + + * config/arm/unknown-elf.h (UNIQUE_SECTION_P): Do not allow + -fdata-sections to override the section attribute of a DECL. + 2000-10-31 Chris Demetriou * libgcc2.c (__shtab): Remove __shtab variable. diff --git a/gcc/config/arm/unknown-elf.h b/gcc/config/arm/unknown-elf.h index d0536291bfe..9b883d0e061 100644 --- a/gcc/config/arm/unknown-elf.h +++ b/gcc/config/arm/unknown-elf.h @@ -139,7 +139,7 @@ rdata_section () \ #define MAKE_DECL_ONE_ONLY(DECL) (DECL_WEAK (DECL) = 1) -#define UNIQUE_SECTION_P(DECL) (DECL_ONE_ONLY (DECL) || flag_data_sections) +#define UNIQUE_SECTION_P(DECL) (DECL_ONE_ONLY (DECL)) #define UNIQUE_SECTION(DECL, RELOC) \ do \