aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2010-12-12 14:49:25 +0000
committerH.J. Lu <hjl.tools@gmail.com>2010-12-12 14:49:25 +0000
commit68efed4197a833bbc5ca02116098e6f67a2608d6 (patch)
treed2d96493d68329b71ece5e25e331a50898d829d9 /bfd/elf.c
parent97e84e2551f3aee29f7a9efbda3c4fb18415b6bb (diff)
downloadgdb-68efed4197a833bbc5ca02116098e6f67a2608d6.zip
gdb-68efed4197a833bbc5ca02116098e6f67a2608d6.tar.gz
gdb-68efed4197a833bbc5ca02116098e6f67a2608d6.tar.bz2
Mark .gnu.lto_* sections with SHF_EXCLUDE.
bfd/ 2010-12-12 H.J. Lu <hongjiu.lu@intel.com> * elf.c (special_sections_g): Add ".gnu.lto_". gas/testsuite/ 2010-12-12 H.J. Lu <hongjiu.lu@intel.com> * gas/elf/elf.exp: Run section9. * gas/elf/section9.d: New. * gas/elf/section9.s: Likewise.
Diffstat (limited to 'bfd/elf.c')
-rw-r--r--bfd/elf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/elf.c b/bfd/elf.c
index 075a668..0e7cd9a 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -2082,6 +2082,7 @@ static const struct bfd_elf_special_section special_sections_f[] =
static const struct bfd_elf_special_section special_sections_g[] =
{
{ STRING_COMMA_LEN (".gnu.linkonce.b"), -2, SHT_NOBITS, SHF_ALLOC + SHF_WRITE },
+ { STRING_COMMA_LEN (".gnu.lto_"), -1, SHT_PROGBITS, SHF_EXCLUDE },
{ STRING_COMMA_LEN (".got"), 0, SHT_PROGBITS, SHF_ALLOC + SHF_WRITE },
{ STRING_COMMA_LEN (".gnu.version"), 0, SHT_GNU_versym, 0 },
{ STRING_COMMA_LEN (".gnu.version_d"), 0, SHT_GNU_verdef, 0 },