binutils-gdb/ld/testsuite/ld-elfweak/size_foo.c
H.J. Lu a664545d53 2004-04-20 H.J. Lu <hongjiu.lu@intel.com>
* ld-elfweak/elfweak.exp: Add an undefined weak size change
	test.

	* ld-elfweak/size.dat: New file.
	* ld-elfweak/size_bar.c: Likewise.
	* ld-elfweak/size_foo.c: Likewise.
	* ld-elfweak/size_main.c: Likewise.
2004-04-20 14:50:22 +00:00

9 lines
60 B
C

#pragma weak bar
extern void bar ();
foo ()
{
bar ();
}