* ld-cris/locref1.d, ld-cris/locref1.s, ld-cris/locref2.d,
[binutils.git] / ld / testsuite / ld-cris / locref2.d
blobca25dd8d4e58a84d9a0314e67b0be18d6f28f2f1
1 #as: --no-underscore --pic
2 #source: gotrel1.s
3 #source: locref2.s
4 #ld: -m crislinux
5 #objdump: -dt
7 # Referencing an undefined weak (non-hidden) symbol with a local-only
8 # PIC relocation is ok when building an executable.
10 .*: file format elf32-cris
12 SYMBOL TABLE:
13 #...
14 0+ w \*UND\* 0+ expfn
15 0+ w \*UND\* 0+ expobj
16 #...
17 0+820a0 g O \.got 0+ _GLOBAL_OFFSET_TABLE_
18 #...
19 Disassembly of section \.text:
20 #...
21 0+8007c <y>:
22 8007c: 6fae 60df f7ff .*
23 80082: 6fbe 60df f7ff .*