File: emit-relocs-local-addend.d

package info (click to toggle)
binutils-djgpp 2.35.1%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 321,256 kB
  • sloc: ansic: 1,162,947; asm: 671,219; cpp: 134,012; exp: 70,783; makefile: 55,860; sh: 22,254; yacc: 14,459; lisp: 13,806; perl: 2,008; lex: 1,649; pascal: 307; sed: 195; awk: 25
file content (16 lines) | stat: -rw-r--r-- 893 bytes parent folder | download | duplicates (29)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#source: emit-relocs-local-addend-foo.s
#source: emit-relocs-local-addend-bar.s
#ld: -T relocs.ld -e0 --emit-relocs
#readelf: -r

Relocation section '\.rela\.text' at offset .* contains 4 entries:
  Offset          Info           Type           Sym\. Value    Sym\. Name \+ Addend
000000010000  000200000113 R_AARCH64_ADR_PRE 0000000000010018 \.rodata \+ 0
000000010004  000200000115 R_AARCH64_ADD_ABS 0000000000010018 \.rodata \+ 0
00000001000c  000200000113 R_AARCH64_ADR_PRE 0000000000010018 \.rodata \+ 10
000000010010  000200000115 R_AARCH64_ADD_ABS 0000000000010018 \.rodata \+ 10

Relocation section '\.rela\.rodata' at offset .* contains 2 entries:
  Offset          Info           Type           Sym\. Value    Sym. Name \+ Addend
000000010020  000200000101 R_AARCH64_ABS64   0000000000010018 \.rodata \+ 0
000000010030  000200000101 R_AARCH64_ABS64   0000000000010018 \.rodata \+ 10