Commit | Line | Data |
---|---|---|
f1cf2c2e HPN |
1 | #source: expdyn1.s |
2 | #source: expdref1.s --pic | |
9a6351f1 | 3 | #as: --no-underscore --em=criself |
f1cf2c2e HPN |
4 | #ld: -m crislinux --export-dynamic tmpdir/libdso-1.so |
5 | #objdump: -R | |
6 | ||
7 | # Programs linked with --export-dynamic threw away .rela.got for exported | |
8 | # symbols, but since got reference counter wasn't reset, there was a SEGV | |
9 | # trying to generate the .rela.got relocations. In this test, we have an | |
10 | # object in the program that has pic-relocations to an exported symbol, | |
11 | # but those relocations can be resolved at link-time. We link to a DSO to | |
12 | # get dynamic linking. | |
13 | ||
14 | .*: file format elf32-cris | |
15 | ||
16 | DYNAMIC RELOCATION RECORDS \(none\) |