* elf32-arm.h (elf32_arm_size_dynamic_sections): Don't strip output
section when dynamic section unused; _bfd_strip_section_from_output instead.
This commit is contained in:
parent
c200757530
commit
52585bb8f1
|
@ -1,3 +1,9 @@
|
||||||
|
2002-11-09 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
|
||||||
|
|
||||||
|
* elf32-arm.h (elf32_arm_size_dynamic_sections): Don't strip output
|
||||||
|
section when dynamic section unused; _bfd_strip_section_from_output
|
||||||
|
instead.
|
||||||
|
|
||||||
2002-11-08 Alan Modra <amodra@bigpond.net.au>
|
2002-11-08 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
* targets.c (_bfd_target_vector): Disable pef_vec, pef_xlib_vec
|
* targets.c (_bfd_target_vector): Disable pef_vec, pef_xlib_vec
|
||||||
|
|
|
@ -3218,19 +3218,7 @@ elf32_arm_size_dynamic_sections (output_bfd, info)
|
||||||
|
|
||||||
if (strip)
|
if (strip)
|
||||||
{
|
{
|
||||||
asection ** spp;
|
_bfd_strip_section_from_output (info, s);
|
||||||
|
|
||||||
for (spp = &s->output_section->owner->sections;
|
|
||||||
*spp != NULL;
|
|
||||||
spp = &(*spp)->next)
|
|
||||||
{
|
|
||||||
if (*spp == s->output_section)
|
|
||||||
{
|
|
||||||
bfd_section_list_remove (s->output_section->owner, spp);
|
|
||||||
--s->output_section->owner->section_count;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue