Do not allow -fdata-sections to override the section attribute of a DECL.

From-SVN: r37176
This commit is contained in:
Nick Clifton 2000-11-01 01:23:56 +00:00 committed by Nick Clifton
parent a8c0159ad4
commit 1426f76142
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2000-10-31 Nick Clifton <nickc@redhat.com>
* 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 <cgd@sibyte.com>
* libgcc2.c (__shtab): Remove __shtab variable.

View File

@ -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 \