1 #source: weakhid.s
2 #as: --pic --no-underscore --em=criself
3 #ld: --shared -m crislinux -z nocombreloc
4 #objdump: -s -R -T
5 
6 # Check that .weak and .weak .hidden object references are handled
7 # correctly when generating a DSO.  For now, we have to live with the
8 # R_CRIS_NONE entry.
9 
10 .*:     file format elf32-cris
11 
12 DYNAMIC SYMBOL TABLE:
13 0+2214 l    d  \.data	0+ \.data
14 0+2214 g    DO \.data	0+c x
15 0+      D  \*UND\*	0+ xregobj
16 0+2220 g    D  \.data	0+ __bss_start
17 0+  w   D  \*UND\*	0+ xweakobj
18 0+2220 g    D  \.data	0+ _edata
19 0+2220 g    D  \.data	0+ _end
20 
21 
22 DYNAMIC RELOCATION RECORDS
23 OFFSET   TYPE              VALUE
24 0+ R_CRIS_NONE       \*ABS\*
25 0+2218 R_CRIS_32         xweakobj
26 0+221c R_CRIS_32         xregobj
27 
28 Contents of section \.hash:
29 #...
30 Contents of section \.data:
31  2214 00000000 00000000 00000000           .*
32