* gas/mips/abs.d, gas/mips/add.d, gas/mips/and.d,
[external/binutils.git] / gas / testsuite / gas / mips / empic3_g1.d
1 #objdump: --prefix-addresses -dr --show-raw-insn -mmips:4000
2 #name: MIPS empic3 (global, negative)
3 #as: -mabi=o64 -membedded-pic -mips3
4
5 # Check PC-relative HI/LO relocs relocs for -membedded-pic when HI and
6 # LO are split over a 32K boundary.
7
8 .*: +file format elf.*mips.*
9
10 Disassembly of section .text:
11         ...
12         ...
13 0000fffc <[^>]*> 3c020001       lui     v0,0x1
14 [       ]*fffc: R_MIPS_GNU_REL_HI16     .text
15 00010000 <[^>]*> 64428000       daddiu  v0,v0,-32768
16 [       ]*10000: R_MIPS_GNU_REL_LO16    .text
17         ...
18 00017ffc <[^>]*> 3c020001       lui     v0,0x1
19 [       ]*17ffc: R_MIPS_GNU_REL_HI16    .text
20 00018000 <[^>]*> 64420000       daddiu  v0,v0,0
21 [       ]*18000: R_MIPS_GNU_REL_LO16    .text
22         ...
23 0001fffc <[^>]*> 3c020002       lui     v0,0x2
24 [       ]*1fffc: R_MIPS_GNU_REL_HI16    .text
25 00020000 <[^>]*> 0043102d       daddu   v0,v0,v1
26 00020004 <[^>]*> 64428004       daddiu  v0,v0,-32764
27 [       ]*20004: R_MIPS_GNU_REL_LO16    .text
28         ...
29 00027ffc <[^>]*> 3c020002       lui     v0,0x2
30 [       ]*27ffc: R_MIPS_GNU_REL_HI16    .text
31 00028000 <[^>]*> 0043102d       daddu   v0,v0,v1
32 00028004 <[^>]*> 64420004       daddiu  v0,v0,4
33 [       ]*28004: R_MIPS_GNU_REL_LO16    .text
34         ...
35 0002fff8 <[^>]*> 3c020003       lui     v0,0x3
36 [       ]*2fff8: R_MIPS_GNU_REL_HI16    .text
37 0002fffc <[^>]*> 0043102d       daddu   v0,v0,v1
38 00030000 <[^>]*> 64428000       daddiu  v0,v0,-32768
39 [       ]*30000: R_MIPS_GNU_REL_LO16    .text
40         ...
41 00037ff8 <[^>]*> 3c020003       lui     v0,0x3
42 [       ]*37ff8: R_MIPS_GNU_REL_HI16    .text
43 00037ffc <[^>]*> 0043102d       daddu   v0,v0,v1
44 00038000 <[^>]*> 64420000       daddiu  v0,v0,0
45 [       ]*38000: R_MIPS_GNU_REL_LO16    .text
46         ...
47         ...