aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf/rel64.d
blob: 01bffa39084cad3a731adda0972c25ee8472ffe1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#name: MIPS rel64 n64
#source: rel64.s
#as: -march=from-abi -KPIC -EB -64
#readelf: -x .text -r
#ld: -shared -melf64btsmip

Relocation section '.rel.dyn' at offset .* contains 2 entries:
  Offset          Info           Type           Sym. Value    Sym. Name
[0-9a-f ]+R_MIPS_NONE      
 +Type2: R_MIPS_NONE      
 +Type3: R_MIPS_NONE      
[0-9a-f ]+R_MIPS_REL32     
 +Type2: R_MIPS_64        
 +Type3: R_MIPS_NONE      

Hex dump of section '.text':
  0x00000450 00000000 00000000 00000000 00000000 ................
  0x00000460 00000000 00000460 00000000 00000000 ................
  0x00000470 00000000 00000000 00000000 00000000 ................