old-cross-binutils/ld/testsuite/ld-scripts/cross4.c
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

7 lines
91 B
C

__attribute__ ((section (".nocrossrefs")))
static void
foo ()
{
}
void (*dummy) () = foo;