diff options
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 6 | ||||
-rw-r--r-- | bfd/elf32-arm.c | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 64119e44a6b..cf4b73f71ca 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2009-05-15 Andrew Stubbs <ams@codesourcery.com> + Paul Brook <paul@codesourcery.com> + + * elf32-arm.c (elf32_arm_fix_exidx_coverage): Don't attempt to + fix discarded sections. + 2009-05-14 Ulrich Weigand <uweigand@de.ibm.com> * elf32-spu.c (mark_overlay_section): Move .init and .fini diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c index e73b2b68932..1dbac1d77c0 100644 --- a/bfd/elf32-arm.c +++ b/bfd/elf32-arm.c @@ -8352,6 +8352,10 @@ elf32_arm_fix_exidx_coverage (asection **text_section_order, continue; } + /* Skip /DISCARD/ sections. */ + if (bfd_is_abs_section (exidx_sec->output_section)) + continue; + hdr = &elf_section_data (exidx_sec)->this_hdr; if (hdr->sh_type != SHT_ARM_EXIDX) continue; |