mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-09 04:21:49 +08:00
PR ld/13909
* emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Handle multiple .eh_frame sections attached to bfd.
This commit is contained in:
parent
9a2a56cc5a
commit
9cf8b46e48
@ -1,3 +1,9 @@
|
|||||||
|
2012-05-25 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
|
PR ld/13909
|
||||||
|
* emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Handle
|
||||||
|
multiple .eh_frame sections attached to bfd.
|
||||||
|
|
||||||
2012-05-23 Cary Coutant <ccoutant@google.com>
|
2012-05-23 Cary Coutant <ccoutant@google.com>
|
||||||
|
|
||||||
* scripttempl/armbpabi.sc: Match .data.rel.ro.* sections more
|
* scripttempl/armbpabi.sc: Match .data.rel.ro.* sections more
|
||||||
|
@ -1142,10 +1142,11 @@ gld${EMULATION_NAME}_after_open (void)
|
|||||||
if (!warn_eh_frame)
|
if (!warn_eh_frame)
|
||||||
{
|
{
|
||||||
s = bfd_get_section_by_name (abfd, ".eh_frame");
|
s = bfd_get_section_by_name (abfd, ".eh_frame");
|
||||||
warn_eh_frame
|
while (s != NULL
|
||||||
= (s
|
&& (s->size <= 8
|
||||||
&& s->size > 8
|
|| bfd_is_abs_section (s->output_section)))
|
||||||
&& !bfd_is_abs_section (s->output_section));
|
s = bfd_get_next_section_by_name (s);
|
||||||
|
warn_eh_frame = s != NULL;
|
||||||
}
|
}
|
||||||
if (elfbfd && warn_eh_frame)
|
if (elfbfd && warn_eh_frame)
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user