File: got.d

package info (click to toggle)
binutils 2.46-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 417,664 kB
  • sloc: ansic: 1,487,508; asm: 829,455; cpp: 216,692; exp: 80,524; makefile: 73,157; sh: 24,213; yacc: 15,060; lisp: 13,632; perl: 13,404; lex: 1,714; ada: 1,681; pascal: 1,446; cs: 879; python: 637; java: 478; sed: 191; xml: 95; awk: 25
file content (29 lines) | stat: -rw-r--r-- 1,338 bytes parent folder | download | duplicates (19)
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
27
28
29
#name: GOT/PLT Link test
#source: got.s
#ld: -shared --hash-style=sysv
#readelf: -d -r

Dynamic section at offset 0x[0-9a-f]+ contains 13 entries:
  Tag        Type                         Name/Value
 0x00000004 \(HASH\)                       .*
 0x00000005 \(STRTAB\)                     .*
 0x00000006 \(SYMTAB\)                     .*
 0x0000000a \(STRSZ\)                      .* \(bytes\)
 0x0000000b \(SYMENT\)                     .* \(bytes\)
 0x00000003 \(PLTGOT\)                     0x[0-9a-f]+
 0x00000002 \(PLTRELSZ\)                   12 \(bytes\)
 0x00000014 \(PLTREL\)                     RELA
 0x00000017 \(JMPREL\)                     0x[0-9a-f]+
 0x00000007 \(RELA\)                       0x[0-9a-f]+
 0x00000008 \(RELASZ\)                     24 \(bytes\)
 0x00000009 \(RELAENT\)                    12 \(bytes\)
 0x00000000 \(NULL\)                       0x0

Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 2 entries:
 Offset     Info    Type            Sym.Value  Sym. Name \+ Addend
[0-9a-f]+  [0-9a-f]+ R_CKCORE_GLOB_DAT 00000000   var1 \+ 0
[0-9a-f]+  [0-9a-f]+ R_CKCORE_GLOB_DAT 00000000   var2 \+ 0

Relocation section '.rela.plt' at offset 0x[0-9a-f]+ contains 1 entry:
 Offset     Info    Type            Sym.Value  Sym. Name \+ Addend
[0-9a-f]+  [0-9a-f]+ R_CKCORE_JUMP_SLO 00000000   bar \+ .*