mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-23 20:19:49 +00:00
* elf64-ppc.c (ppc64_elf_size_stubs): Ignore non-code sections.
This commit is contained in:
parent
c9df6640d5
commit
12c0f75707
@ -1,3 +1,7 @@
|
||||
2006-08-17 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* elf64-ppc.c (ppc64_elf_size_stubs): Ignore non-code sections.
|
||||
|
||||
2006-08-16 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR ld/3015
|
||||
|
@ -9080,6 +9080,9 @@ ppc64_elf_size_stubs (bfd *output_bfd,
|
||||
/* If there aren't any relocs, then there's nothing more
|
||||
to do. */
|
||||
if ((section->flags & SEC_RELOC) == 0
|
||||
|| (section->flags & SEC_ALLOC) == 0
|
||||
|| (section->flags & SEC_LOAD) == 0
|
||||
|| (section->flags & SEC_CODE) == 0
|
||||
|| section->reloc_count == 0)
|
||||
continue;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user