mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-31 18:20:12 +08:00
* bfd/elf32-microblaze.c (create_got_section):
Reuse existing .rela.got section.
This commit is contained in:
@ -1,3 +1,8 @@
|
||||
2012-01-27 Michael Eager <eager@eagercon.com>
|
||||
|
||||
* bfd/elf32-microblaze.c (create_got_section):
|
||||
Reuse existing .rela.got section.
|
||||
|
||||
2012-01-23 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* elf-bfd.h: Formatting.
|
||||
|
@ -1880,7 +1880,8 @@ create_got_section (bfd *dynobj, struct bfd_link_info *info)
|
||||
if (!htab->sgot || !htab->sgotplt)
|
||||
return FALSE;
|
||||
|
||||
htab->srelgot = bfd_make_section (dynobj, ".rela.got");
|
||||
if (!(htab->srelgot = bfd_get_section_by_name (dynobj, ".rela.got")))
|
||||
htab->srelgot = bfd_make_section (dynobj, ".rela.got");
|
||||
if (htab->srelgot == NULL
|
||||
|| ! bfd_set_section_flags (dynobj, htab->srelgot, SEC_ALLOC
|
||||
| SEC_LOAD
|
||||
|
Reference in New Issue
Block a user