aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf/got-dump-2.d
blob: 1e656f0484b0c51e3ee1f12cc0b590e640c366b7 (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
#name: GOT dump (readelf -A) test 2
#source: got-dump-2.s
#as: -mips3 -EB -64
#ld: -Tgot-dump-2.ld -shared -melf64btsmip
#readelf: -A

Primary GOT:
 Canonical gp value: 0001236000008000

 Reserved entries:
           Address     Access          Initial Purpose
  0001236000000010 -32752\(gp\) 0000000000000000 Lazy resolver
  0001236000000018 -32744\(gp\) 8000000000000000 Module pointer \(GNU extension\)

 Local entries:
           Address     Access          Initial
  0001236000000020 -32736\(gp\) 0001236000000000
  0001236000000028 -32728\(gp\) 0001236000000008

 Global entries:
           Address     Access          Initial         Sym.Val. Type    Ndx Name
  0001236000000030 -32720\(gp\) 0001235000000020 0001235000000020 FUNC    UND extern
  0001236000000038 -32712\(gp\) 0000000000000000 0000000000000000 NOTYPE  UND undef
  0001236000000040 -32704\(gp\) 0001235000000000 0001235000000000 FUNC      7 glob