binutils-gdb/ld/testsuite/ld-scripts/cross6.t
Alan Modra 82bc9362f1 Hack crossref tests for powerpc64
A different set of hacks to make the crossref tests pass on powerpc64
and powerpc64le.

	* testsuite/ld-scripts/crossref.exp: Remove -mcall-aixdesc hack.
	* testsuite/ld-scripts/cross2.t: Tweak .opd and .toc placement.
	* testsuite/ld-scripts/cross3.t: Likewise.
	* testsuite/ld-scripts/cross4.t: Likewise.
	* testsuite/ld-scripts/cross5.t: Likewise.
	* testsuite/ld-scripts/cross6.t: Likewise.
	* testsuite/ld-scripts/cross7.t: Likewise.
2016-05-19 14:07:06 +09:30

10 lines
190 B
Perl

NOCROSSREFS_TO(.text .data)
SECTIONS
{
.text : { *(.text) *(.text.*) *(.opd) }
.data : { *(.data) *(.data.*) *(.sdata) *(.toc) }
.bss : { *(.bss) *(COMMON) }
/DISCARD/ : { *(*) }
}