* elf32-m32c.c (m32c_offset_for_reloc): Fix local symbol
[binutils.git] / ld / testsuite / ld-cris / locref2.d
blob8b51d45c55d13de883f5c0defc4836b3d8797980
1 #as: --no-underscore --pic --em=criself
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+82088 l O \.got 0+ \.hidden _GLOBAL_OFFSET_TABLE_
15 0+ w \*UND\* 0+ expfn
16 0+ w \*UND\* 0+ expobj
17 #...
18 Disassembly of section \.text:
19 #...
20 0+8007c <y>:
21 8007c: 6fae 78df f7ff .*
22 80082: 6fbe 78df f7ff .*