old-cross-binutils/ld/testsuite/ld-powerpc/reloc.d
Alan Modra c87b5a93b2 bfd/
* 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.
2005-04-19 05:44:55 +00:00

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