mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
63406f0ab7
* ld-elf/shared.exp (build_tests): Build libneeded1b.so, libneeded1a.so and libneeded1c.o. (run_tests): Test --add-needed and --copy-dt-needed-entries. Add tests for --no-add-needed and --no-copy-dt-needed-entries. * ld-elf/needed1.out: New file. * ld-elf/needed1a.c: Likewise. * ld-elf/needed1b.c: Likewise. * ld-elf/needed1c.c: Likewise.
11 lines
97 B
C
11 lines
97 B
C
extern void foo (void);
|
|
extern void bar (void);
|
|
|
|
int
|
|
main ()
|
|
{
|
|
foo ();
|
|
bar ();
|
|
return 0;
|
|
}
|