summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/mips/micromips@elfel-rel2.d
blob: f771e7932e7346ff26ac412511edc473b2052d52 (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
27
28
#objdump: -sr -j .text
#name: MIPS ELF reloc 2
#source: elf-rel2.s
#as: -mabi=o64

# Test the GPREL and LITERAL generation (microMIPS).
# FIXME: really this should check that the contents of .sdata, .lit4,
# and .lit8 are correct too.

.*: +file format .*mips.*

RELOCATION RECORDS FOR \[\.text\]:
OFFSET [ ]+ TYPE              VALUE 
0+0000000 R_MICROMIPS_LITERAL  \.lit8
0+0000004 R_MICROMIPS_LITERAL  \.lit8
0+0000008 R_MICROMIPS_LITERAL  \.lit8
0+000000c R_MICROMIPS_LITERAL  \.lit4
0+0000010 R_MICROMIPS_LITERAL  \.lit4
0+0000014 R_MICROMIPS_LITERAL  \.lit4
0+0000018 R_MICROMIPS_GPREL16  \.sdata
0+000001c R_MICROMIPS_GPREL16  \.sdata
0+0000020 R_MICROMIPS_GPREL16  \.sdata


Contents of section \.text:
 0000 5cbc0000 5cbc0800 5cbc1000 5c9c0000  .*
 0010 5c9c0400 5c9c0800 5cfc0000 5cfc0400  .*
 0020 5cfc0800 .*