2005-03-23 H.J. Lu <hongjiu.lu@intel.com>
[external/binutils.git] / ld / testsuite / ld-cris / locref1.d
1 #as: --no-underscore --pic --em=criself
2 #source: expdyn1.s
3 #source: locref1.s
4 #ld: -m crislinux
5 #objdump: -dt
6
7 # Referencing a "normal" (non-hidden) symbol with a local-only PIC
8 # relocation is ok when building an executable.
9
10 .*:     file format elf32-cris
11
12 SYMBOL TABLE:
13 #...
14 0+80076 g     F \.text  0+2 expfn
15 0+82090 g     O \.data  0+ expobj
16 #...
17 0+82084 g     O \.got   0+ \.hidden _GLOBAL_OFFSET_TABLE_
18 #...
19 Disassembly of section \.text:
20 #...
21 0+80078 <y>:
22    80078:       6fae f2df ffff  .*
23    8007e:       6fbe 0c00 0000  .*