mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
c87b5a93b2
* elf32-ppc.c (ppc_elf_check_relocs): Don't bother with dynamic relocs in non-SEC_ALLOC sections. (ppc_elf_gc_sweep_hook): Likewise. (ppc_elf_relax_section): Likewise. (ppc_elf_relocate_section): Likewise. ld/testsuite/ * ld-powerpc/reloc.d: Update to suit removal of non-alloc relocs.
14 lines
246 B
Makefile
14 lines
246 B
Makefile
# Test that orphan reloc sections are placed before .rela.plt even when
|
|
# .rela.plt is the only reloc section.
|
|
|
|
#source: reloc.s
|
|
#ld: -shared -z nocombreloc
|
|
#objdump: -hw
|
|
|
|
.*: +file format elf.*
|
|
#...
|
|
.*\.relaplatypus.*
|
|
#...
|
|
.*\.rela\.plt.*
|
|
#pass
|