Upload Tizen:Base source
[external/binutils.git] / ld / testsuite / ld-cris / locref2.d
1 #as: --no-underscore --pic --em=criself
2 #source: gotrel1.s
3 #source: locref2.s
4 #ld: -m crislinux
5 #objdump: -dt
6
7 # Referencing an undefined weak (non-hidden) symbol with a local-only
8 # PIC relocation is ok when building an executable.
9
10 .*:     file format elf32-cris
11
12 SYMBOL TABLE:
13 #...
14 0+82088 l     O \.got   0+ _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  .*