mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
a664545d53
* 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.
9 lines
60 B
C
9 lines
60 B
C
#pragma weak bar
|
|
|
|
extern void bar ();
|
|
|
|
foo ()
|
|
{
|
|
bar ();
|
|
}
|