aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-cris/weakhiddso.d
blob: f4776d6c193a1df44aa393c8ab803807fbd84372 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#source: weakhid.s
#as: --pic --no-underscore --em=criself
#ld: --shared -m crislinux -z nocombreloc --hash-style=sysv
#objdump: -s -R -T

# Check that .weak and .weak .hidden object references are handled
# correctly when generating a DSO.

.*:     file format elf32-cris

DYNAMIC SYMBOL TABLE:
0+21b4 l    d  \.data	0+ \.data
0+21b4 g    DO \.data	0+c x
0+      D  \*UND\*	0+ xregobj
0+  w   D  \*UND\*	0+ xweakobj


DYNAMIC RELOCATION RECORDS
OFFSET +TYPE +VALUE
0+21b8 R_CRIS_32         xweakobj
0+21bc R_CRIS_32         xregobj

Contents of section \.hash:
#...
Contents of section \.data:
 21b4 00000000 00000000 00000000           .*