mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-18 12:24:38 +08:00
* emultempl/elf32.em (place_orphan): Don't put non-allocated .rel*
sections into .rel{,a}.dyn.
This commit is contained in:
parent
9cc0d196fc
commit
a8927cfd1a
@ -1,3 +1,8 @@
|
||||
2002-10-23 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* emultempl/elf32.em (place_orphan): Don't put non-allocated .rel*
|
||||
sections into .rel{,a}.dyn.
|
||||
|
||||
2002-10-23 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* lexsup.c (OPTION_NO_OMAGIC): Define.
|
||||
|
@ -1098,6 +1098,7 @@ gld${EMULATION_NAME}_place_orphan (file, s)
|
||||
secname = bfd_get_section_name (s->owner, s);
|
||||
if (! link_info.relocateable
|
||||
&& link_info.combreloc
|
||||
&& (s->flags & SEC_ALLOC)
|
||||
&& strncmp (secname, ".rel", 4) == 0)
|
||||
{
|
||||
if (secname[4] == 'a')
|
||||
|
Loading…
Reference in New Issue
Block a user