old-cross-binutils/ld/testsuite/ld-scripts/cross3.t
H.J. Lu b239e90902 2005-10-04 H.J. Lu <hongjiu.lu@intel.com>
PR ld/1396
	* ld-scripts/cross3.t: New file.
	* ld-scripts/cross4.c: Likewise.

	* ld-scripts/crossref.exp: Add a new test for "ld -r".
2005-10-04 19:54:08 +00:00

10 lines
183 B
Perl

NOCROSSREFS(.nocrossrefs .text)
SECTIONS
{
.text : { *(.text) }
.nocrossrefs : { *(.nocrossrefs) }
.data : { *(.data) }
.bss : { *(.bss) *(COMMON) }
/DISCARD/ : { *(*) }
}