mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-26 04:15:28 +00:00
2005-04-04 H.J. Lu <hongjiu.lu@intel.com>
* elf.c (bfd_elf_set_group_contents): Ignore linker created group section.
This commit is contained in:
parent
87a89b235f
commit
7e4111adb2
@ -1,3 +1,8 @@
|
||||
2005-04-04 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* elf.c (bfd_elf_set_group_contents): Ignore linker created
|
||||
group section.
|
||||
|
||||
2005-04-04 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* elf-bfd.h (elf_section_data): Use (sec) instead of sec.
|
||||
|
@ -2635,7 +2635,9 @@ bfd_elf_set_group_contents (bfd *abfd, asection *sec, void *failedptrarg)
|
||||
struct bfd_link_order *l;
|
||||
bfd_boolean gas;
|
||||
|
||||
if (elf_section_data (sec)->this_hdr.sh_type != SHT_GROUP
|
||||
/* Ignore linker created group section. See elfNN_ia64_object_p in
|
||||
elfxx-ia64.c. */
|
||||
if (((sec->flags & (SEC_GROUP | SEC_LINKER_CREATED)) != SEC_GROUP)
|
||||
|| *failedptr)
|
||||
return;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user