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.
13 lines
246 B
Makefile
13 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
|