Fix MIPS disassembler so that it produces reassemblable code.
[deliverable/binutils-gdb.git] / gas / testsuite / gas / mips / ld-svr4pic.d
CommitLineData
252b5132
RH
1#objdump: -dr --prefix-addresses -mmips:3000
2#name: MIPS ld-svr4pic
3#as: -mips1 -mcpu=r3000 -KPIC
4#source: ld-pic.s
5
6# Test the ld macro with -KPIC.
7
8.*: +file format .*mips.*
9
10Disassembly of section .text:
aa5f19f2
NC
110+0000 <[^>]*> lw a0,0\(zero\)
120+0004 <[^>]*> lw a1,4\(zero\)
130+0008 <[^>]*> lw a0,1\(zero\)
140+000c <[^>]*> lw a1,5\(zero\)
150+0010 <[^>]*> lui at,0x1
160+0014 <[^>]*> lw a0,-32768\(at\)
170+0018 <[^>]*> lw a1,-32764\(at\)
180+001c <[^>]*> lw a0,-32768\(zero\)
190+0020 <[^>]*> lw a1,-32764\(zero\)
200+0024 <[^>]*> lui at,0x1
210+0028 <[^>]*> lw a0,0\(at\)
220+002c <[^>]*> lw a1,4\(at\)
230+0030 <[^>]*> lui at,0x2
240+0034 <[^>]*> lw a0,-23131\(at\)
250+0038 <[^>]*> lw a1,-23127\(at\)
252b5132 260+003c <[^>]*> nop
aa5f19f2
NC
270+0040 <[^>]*> lw a0,0\(a1\)
280+0044 <[^>]*> lw a1,4\(a1\)
252b5132 290+0048 <[^>]*> nop
aa5f19f2
NC
300+004c <[^>]*> lw a0,1\(a1\)
310+0050 <[^>]*> lw a1,5\(a1\)
320+0054 <[^>]*> lui at,0x1
330+0058 <[^>]*> addu at,a1,at
340+005c <[^>]*> lw a0,-32768\(at\)
350+0060 <[^>]*> lw a1,-32764\(at\)
252b5132 360+0064 <[^>]*> nop
aa5f19f2
NC
370+0068 <[^>]*> lw a0,-32768\(a1\)
380+006c <[^>]*> lw a1,-32764\(a1\)
390+0070 <[^>]*> lui at,0x1
400+0074 <[^>]*> addu at,a1,at
410+0078 <[^>]*> lw a0,0\(at\)
420+007c <[^>]*> lw a1,4\(at\)
430+0080 <[^>]*> lui at,0x2
440+0084 <[^>]*> addu at,a1,at
450+0088 <[^>]*> lw a0,-23131\(at\)
460+008c <[^>]*> lw a1,-23127\(at\)
470+0090 <[^>]*> lw at,0\(gp\)
252b5132
RH
48[ ]*90: R_MIPS_GOT16 .data
490+0094 <[^>]*> nop
aa5f19f2 500+0098 <[^>]*> lw a0,0\(at\)
252b5132 51[ ]*98: R_MIPS_LO16 .data
aa5f19f2 520+009c <[^>]*> lw a1,4\(at\)
252b5132 53[ ]*9c: R_MIPS_LO16 .data
aa5f19f2 540+00a0 <[^>]*> lw at,0\(gp\)
252b5132
RH
55[ ]*a0: R_MIPS_GOT16 big_external_data_label
560+00a4 <[^>]*> nop
aa5f19f2
NC
570+00a8 <[^>]*> lw a0,0\(at\)
580+00ac <[^>]*> lw a1,4\(at\)
590+00b0 <[^>]*> lw at,0\(gp\)
252b5132
RH
60[ ]*b0: R_MIPS_GOT16 small_external_data_label
610+00b4 <[^>]*> nop
aa5f19f2
NC
620+00b8 <[^>]*> lw a0,0\(at\)
630+00bc <[^>]*> lw a1,4\(at\)
640+00c0 <[^>]*> lw at,0\(gp\)
252b5132
RH
65[ ]*c0: R_MIPS_GOT16 big_external_common
660+00c4 <[^>]*> nop
aa5f19f2
NC
670+00c8 <[^>]*> lw a0,0\(at\)
680+00cc <[^>]*> lw a1,4\(at\)
690+00d0 <[^>]*> lw at,0\(gp\)
252b5132
RH
70[ ]*d0: R_MIPS_GOT16 small_external_common
710+00d4 <[^>]*> nop
aa5f19f2
NC
720+00d8 <[^>]*> lw a0,0\(at\)
730+00dc <[^>]*> lw a1,4\(at\)
740+00e0 <[^>]*> lw at,0\(gp\)
252b5132
RH
75[ ]*e0: R_MIPS_GOT16 .bss
760+00e4 <[^>]*> nop
aa5f19f2 770+00e8 <[^>]*> lw a0,0\(at\)
252b5132 78[ ]*e8: R_MIPS_LO16 .bss
aa5f19f2 790+00ec <[^>]*> lw a1,4\(at\)
252b5132 80[ ]*ec: R_MIPS_LO16 .bss
aa5f19f2 810+00f0 <[^>]*> lw at,0\(gp\)
252b5132
RH
82[ ]*f0: R_MIPS_GOT16 .bss
830+00f4 <[^>]*> nop
aa5f19f2 840+00f8 <[^>]*> lw a0,1000\(at\)
252b5132 85[ ]*f8: R_MIPS_LO16 .bss
aa5f19f2 860+00fc <[^>]*> lw a1,1004\(at\)
252b5132 87[ ]*fc: R_MIPS_LO16 .bss
aa5f19f2 880+0100 <[^>]*> lw at,0\(gp\)
252b5132
RH
89[ ]*100: R_MIPS_GOT16 .data
900+0104 <[^>]*> nop
aa5f19f2 910+0108 <[^>]*> lw a0,1\(at\)
252b5132 92[ ]*108: R_MIPS_LO16 .data
aa5f19f2 930+010c <[^>]*> lw a1,5\(at\)
252b5132 94[ ]*10c: R_MIPS_LO16 .data
aa5f19f2 950+0110 <[^>]*> lw at,0\(gp\)
252b5132
RH
96[ ]*110: R_MIPS_GOT16 big_external_data_label
970+0114 <[^>]*> nop
aa5f19f2
NC
980+0118 <[^>]*> lw a0,1\(at\)
990+011c <[^>]*> lw a1,5\(at\)
1000+0120 <[^>]*> lw at,0\(gp\)
252b5132
RH
101[ ]*120: R_MIPS_GOT16 small_external_data_label
1020+0124 <[^>]*> nop
aa5f19f2
NC
1030+0128 <[^>]*> lw a0,1\(at\)
1040+012c <[^>]*> lw a1,5\(at\)
1050+0130 <[^>]*> lw at,0\(gp\)
252b5132
RH
106[ ]*130: R_MIPS_GOT16 big_external_common
1070+0134 <[^>]*> nop
aa5f19f2
NC
1080+0138 <[^>]*> lw a0,1\(at\)
1090+013c <[^>]*> lw a1,5\(at\)
1100+0140 <[^>]*> lw at,0\(gp\)
252b5132
RH
111[ ]*140: R_MIPS_GOT16 small_external_common
1120+0144 <[^>]*> nop
aa5f19f2
NC
1130+0148 <[^>]*> lw a0,1\(at\)
1140+014c <[^>]*> lw a1,5\(at\)
1150+0150 <[^>]*> lw at,0\(gp\)
252b5132
RH
116[ ]*150: R_MIPS_GOT16 .bss
1170+0154 <[^>]*> nop
aa5f19f2 1180+0158 <[^>]*> lw a0,1\(at\)
252b5132 119[ ]*158: R_MIPS_LO16 .bss
aa5f19f2 1200+015c <[^>]*> lw a1,5\(at\)
252b5132 121[ ]*15c: R_MIPS_LO16 .bss
aa5f19f2 1220+0160 <[^>]*> lw at,0\(gp\)
252b5132
RH
123[ ]*160: R_MIPS_GOT16 .bss
1240+0164 <[^>]*> nop
aa5f19f2 1250+0168 <[^>]*> lw a0,1001\(at\)
252b5132 126[ ]*168: R_MIPS_LO16 .bss
aa5f19f2 1270+016c <[^>]*> lw a1,1005\(at\)
252b5132 128[ ]*16c: R_MIPS_LO16 .bss
aa5f19f2 1290+0170 <[^>]*> lw at,0\(gp\)
252b5132
RH
130[ ]*170: R_MIPS_GOT16 .data
1310+0174 <[^>]*> nop
aa5f19f2
NC
1320+0178 <[^>]*> addu at,a1,at
1330+017c <[^>]*> lw a0,0\(at\)
252b5132 134[ ]*17c: R_MIPS_LO16 .data
aa5f19f2 1350+0180 <[^>]*> lw a1,4\(at\)
252b5132 136[ ]*180: R_MIPS_LO16 .data
aa5f19f2 1370+0184 <[^>]*> lw at,0\(gp\)
252b5132
RH
138[ ]*184: R_MIPS_GOT16 big_external_data_label
1390+0188 <[^>]*> nop
aa5f19f2
NC
1400+018c <[^>]*> addu at,a1,at
1410+0190 <[^>]*> lw a0,0\(at\)
1420+0194 <[^>]*> lw a1,4\(at\)
1430+0198 <[^>]*> lw at,0\(gp\)
252b5132
RH
144[ ]*198: R_MIPS_GOT16 small_external_data_label
1450+019c <[^>]*> nop
aa5f19f2
NC
1460+01a0 <[^>]*> addu at,a1,at
1470+01a4 <[^>]*> lw a0,0\(at\)
1480+01a8 <[^>]*> lw a1,4\(at\)
1490+01ac <[^>]*> lw at,0\(gp\)
252b5132
RH
150[ ]*1ac: R_MIPS_GOT16 big_external_common
1510+01b0 <[^>]*> nop
aa5f19f2
NC
1520+01b4 <[^>]*> addu at,a1,at
1530+01b8 <[^>]*> lw a0,0\(at\)
1540+01bc <[^>]*> lw a1,4\(at\)
1550+01c0 <[^>]*> lw at,0\(gp\)
252b5132
RH
156[ ]*1c0: R_MIPS_GOT16 small_external_common
1570+01c4 <[^>]*> nop
aa5f19f2
NC
1580+01c8 <[^>]*> addu at,a1,at
1590+01cc <[^>]*> lw a0,0\(at\)
1600+01d0 <[^>]*> lw a1,4\(at\)
1610+01d4 <[^>]*> lw at,0\(gp\)
252b5132
RH
162[ ]*1d4: R_MIPS_GOT16 .bss
1630+01d8 <[^>]*> nop
aa5f19f2
NC
1640+01dc <[^>]*> addu at,a1,at
1650+01e0 <[^>]*> lw a0,0\(at\)
252b5132 166[ ]*1e0: R_MIPS_LO16 .bss
aa5f19f2 1670+01e4 <[^>]*> lw a1,4\(at\)
252b5132 168[ ]*1e4: R_MIPS_LO16 .bss
aa5f19f2 1690+01e8 <[^>]*> lw at,0\(gp\)
252b5132
RH
170[ ]*1e8: R_MIPS_GOT16 .bss
1710+01ec <[^>]*> nop
aa5f19f2
NC
1720+01f0 <[^>]*> addu at,a1,at
1730+01f4 <[^>]*> lw a0,1000\(at\)
252b5132 174[ ]*1f4: R_MIPS_LO16 .bss
aa5f19f2 1750+01f8 <[^>]*> lw a1,1004\(at\)
252b5132 176[ ]*1f8: R_MIPS_LO16 .bss
aa5f19f2 1770+01fc <[^>]*> lw at,0\(gp\)
252b5132
RH
178[ ]*1fc: R_MIPS_GOT16 .data
1790+0200 <[^>]*> nop
aa5f19f2
NC
1800+0204 <[^>]*> addu at,a1,at
1810+0208 <[^>]*> lw a0,1\(at\)
252b5132 182[ ]*208: R_MIPS_LO16 .data
aa5f19f2 1830+020c <[^>]*> lw a1,5\(at\)
252b5132 184[ ]*20c: R_MIPS_LO16 .data
aa5f19f2 1850+0210 <[^>]*> lw at,0\(gp\)
252b5132
RH
186[ ]*210: R_MIPS_GOT16 big_external_data_label
1870+0214 <[^>]*> nop
aa5f19f2
NC
1880+0218 <[^>]*> addu at,a1,at
1890+021c <[^>]*> lw a0,1\(at\)
1900+0220 <[^>]*> lw a1,5\(at\)
1910+0224 <[^>]*> lw at,0\(gp\)
252b5132
RH
192[ ]*224: R_MIPS_GOT16 small_external_data_label
1930+0228 <[^>]*> nop
aa5f19f2
NC
1940+022c <[^>]*> addu at,a1,at
1950+0230 <[^>]*> lw a0,1\(at\)
1960+0234 <[^>]*> lw a1,5\(at\)
1970+0238 <[^>]*> lw at,0\(gp\)
252b5132
RH
198[ ]*238: R_MIPS_GOT16 big_external_common
1990+023c <[^>]*> nop
aa5f19f2
NC
2000+0240 <[^>]*> addu at,a1,at
2010+0244 <[^>]*> lw a0,1\(at\)
2020+0248 <[^>]*> lw a1,5\(at\)
2030+024c <[^>]*> lw at,0\(gp\)
252b5132
RH
204[ ]*24c: R_MIPS_GOT16 small_external_common
2050+0250 <[^>]*> nop
aa5f19f2
NC
2060+0254 <[^>]*> addu at,a1,at
2070+0258 <[^>]*> lw a0,1\(at\)
2080+025c <[^>]*> lw a1,5\(at\)
2090+0260 <[^>]*> lw at,0\(gp\)
252b5132
RH
210[ ]*260: R_MIPS_GOT16 .bss
2110+0264 <[^>]*> nop
aa5f19f2
NC
2120+0268 <[^>]*> addu at,a1,at
2130+026c <[^>]*> lw a0,1\(at\)
252b5132 214[ ]*26c: R_MIPS_LO16 .bss
aa5f19f2 2150+0270 <[^>]*> lw a1,5\(at\)
252b5132 216[ ]*270: R_MIPS_LO16 .bss
aa5f19f2 2170+0274 <[^>]*> lw at,0\(gp\)
252b5132
RH
218[ ]*274: R_MIPS_GOT16 .bss
2190+0278 <[^>]*> nop
aa5f19f2
NC
2200+027c <[^>]*> addu at,a1,at
2210+0280 <[^>]*> lw a0,1001\(at\)
252b5132 222[ ]*280: R_MIPS_LO16 .bss
aa5f19f2 2230+0284 <[^>]*> lw a1,1005\(at\)
252b5132
RH
224[ ]*284: R_MIPS_LO16 .bss
225 ...
This page took 0.090694 seconds and 4 git commands to generate.