Commit 1426f761 by Nick Clifton Committed by Nick Clifton

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

From-SVN: r37176
parent a8c0159a
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> 2000-10-31 Chris Demetriou <cgd@sibyte.com>
* libgcc2.c (__shtab): Remove __shtab variable. * libgcc2.c (__shtab): Remove __shtab variable.
......
...@@ -139,7 +139,7 @@ rdata_section () \ ...@@ -139,7 +139,7 @@ rdata_section () \
#define MAKE_DECL_ONE_ONLY(DECL) (DECL_WEAK (DECL) = 1) #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) \ #define UNIQUE_SECTION(DECL, RELOC) \
do \ do \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment