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.
7 lines
55 B
C
7 lines
55 B
C
extern void bar (void);
|
|
|
|
void
|
|
foo (void)
|
|
{
|
|
bar ();
|
|
}
|