mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
40363a913b
This adds the test I was using when testing 60d67dc8
.
* testsuite/ld-elfweak/alias.c,
* testsuite/ld-elfweak/alias.dat,
* testsuite/ld-elfweak/aliasmain.c,
* testsuite/ld-elfweak/weakref1.c,
* testsuite/ld-elfweak/weakref2.c: New test.
* testsuite/ld-elfweak/elfweak.exp: Run it. Don't return on fails,
attempt other tests.
3 lines
82 B
C
3 lines
82 B
C
extern int weaksym2;
|
|
int *psym2 __attribute__ ((section (".data1"))) = &weaksym2;
|