From 04dcbaaa1f82890e673dc1f66a3fc7958c29d347 Mon Sep 17 00:00:00 2001 From: aoliva Date: Fri, 11 Apr 2003 01:56:51 +0000 Subject: [PATCH] * gas/mips/elf-rel-got-n32.d, gas/mips/elf-rel-got-n32.s, gas/mips/elf-rel-got-n64.d, gas/mips/elf-rel-got-n64.s, gas/mips/elf-rel-xgot-n32.d, gas/mips/elf-rel-xgot-n64.d: New. * gas/mips/mips.exp: Test them. --- gas/testsuite/ChangeLog | 7 + gas/testsuite/gas/mips/elf-rel-got-n32.d | 388 ++++++++++++ gas/testsuite/gas/mips/elf-rel-got-n32.s | 162 +++++ gas/testsuite/gas/mips/elf-rel-got-n64.d | 636 ++++++++++++++++++++ gas/testsuite/gas/mips/elf-rel-got-n64.s | 162 +++++ gas/testsuite/gas/mips/elf-rel-xgot-n32.d | 579 ++++++++++++++++++ gas/testsuite/gas/mips/elf-rel-xgot-n64.d | 955 ++++++++++++++++++++++++++++++ gas/testsuite/gas/mips/mips.exp | 8 + 8 files changed, 2897 insertions(+) create mode 100644 gas/testsuite/gas/mips/elf-rel-got-n32.d create mode 100644 gas/testsuite/gas/mips/elf-rel-got-n32.s create mode 100644 gas/testsuite/gas/mips/elf-rel-got-n64.d create mode 100644 gas/testsuite/gas/mips/elf-rel-got-n64.s create mode 100644 gas/testsuite/gas/mips/elf-rel-xgot-n32.d create mode 100644 gas/testsuite/gas/mips/elf-rel-xgot-n64.d diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index d68df69aae..1459bd39cc 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2003-04-10 Alexandre Oliva + + * gas/mips/elf-rel-got-n32.d, gas/mips/elf-rel-got-n32.s, + gas/mips/elf-rel-got-n64.d, gas/mips/elf-rel-got-n64.s, + gas/mips/elf-rel-xgot-n32.d, gas/mips/elf-rel-xgot-n64.d: New. + * gas/mips/mips.exp: Test them. + 2003-04-08 Nick Clifton * gas/m32r/m32r.exp: Run signed-relocs test. diff --git a/gas/testsuite/gas/mips/elf-rel-got-n32.d b/gas/testsuite/gas/mips/elf-rel-got-n32.d new file mode 100644 index 0000000000..b6ff395f05 --- /dev/null +++ b/gas/testsuite/gas/mips/elf-rel-got-n32.d @@ -0,0 +1,388 @@ +#objdump: -dr --prefix-addresses --show-raw-insn +#name: MIPS ELF got reloc n32 +#as: -n32 -KPIC + +.*: +file format elf32-n.*mips.* + +Disassembly of section \.text: +00000000 8f850000 lw a1,0\(gp\) + 0: R_MIPS_GOT_DISP dg1 +00000004 8f850000 lw a1,0\(gp\) + 4: R_MIPS_GOT_DISP dg1 +00000008 20a5000c addi a1,a1,12 +0000000c 8f850000 lw a1,0\(gp\) + c: R_MIPS_GOT_DISP dg1 +00000010 3c010002 lui at,0x2 +00000014 2021e240 addi at,at,-7616 +00000018 00a12820 add a1,a1,at +0000001c 8f850000 lw a1,0\(gp\) + 1c: R_MIPS_GOT_DISP dg1 +00000020 00b12820 add a1,a1,s1 +00000024 8f850000 lw a1,0\(gp\) + 24: R_MIPS_GOT_DISP dg1 +00000028 20a5000c addi a1,a1,12 +0000002c 00b12820 add a1,a1,s1 +00000030 8f850000 lw a1,0\(gp\) + 30: R_MIPS_GOT_DISP dg1 +00000034 3c010002 lui at,0x2 +00000038 2021e240 addi at,at,-7616 +0000003c 00a12820 add a1,a1,at +00000040 00b12820 add a1,a1,s1 +00000044 8f850000 lw a1,0\(gp\) + 44: R_MIPS_GOT_PAGE dg1 +00000048 8ca50000 lw a1,0\(a1\) + 48: R_MIPS_GOT_OFST dg1 +0000004c 8f850000 lw a1,0\(gp\) + 4c: R_MIPS_GOT_PAGE dg1\+0xc +00000050 8ca50000 lw a1,0\(a1\) + 50: R_MIPS_GOT_OFST dg1\+0xc +00000054 8f850000 lw a1,0\(gp\) + 54: R_MIPS_GOT_PAGE dg1 +00000058 00b12820 add a1,a1,s1 +0000005c 8ca50000 lw a1,0\(a1\) + 5c: R_MIPS_GOT_OFST dg1 +00000060 8f850000 lw a1,0\(gp\) + 60: R_MIPS_GOT_PAGE dg1\+0xc +00000064 00b12820 add a1,a1,s1 +00000068 8ca50000 lw a1,0\(a1\) + 68: R_MIPS_GOT_OFST dg1\+0xc +0000006c 8f810000 lw at,0\(gp\) + 6c: R_MIPS_GOT_PAGE dg1\+0x22 +00000070 00250820 add at,at,a1 +00000074 8c250000 lw a1,0\(at\) + 74: R_MIPS_GOT_OFST dg1\+0x22 +00000078 8f810000 lw at,0\(gp\) + 78: R_MIPS_GOT_PAGE dg1\+0x38 +0000007c 00250820 add at,at,a1 +00000080 ac250000 sw a1,0\(at\) + 80: R_MIPS_GOT_OFST dg1\+0x38 +00000084 8f810000 lw at,0\(gp\) + 84: R_MIPS_GOT_DISP dg1 +00000088 88250000 lwl a1,0\(at\) +0000008c 98250003 lwr a1,3\(at\) +00000090 8f810000 lw at,0\(gp\) + 90: R_MIPS_GOT_DISP dg1 +00000094 2021000c addi at,at,12 +00000098 88250000 lwl a1,0\(at\) +0000009c 98250003 lwr a1,3\(at\) +000000a0 8f810000 lw at,0\(gp\) + a0: R_MIPS_GOT_DISP dg1 +000000a4 00310820 add at,at,s1 +000000a8 88250000 lwl a1,0\(at\) +000000ac 98250003 lwr a1,3\(at\) +000000b0 8f810000 lw at,0\(gp\) + b0: R_MIPS_GOT_DISP dg1 +000000b4 2021000c addi at,at,12 +000000b8 00310820 add at,at,s1 +000000bc 88250000 lwl a1,0\(at\) +000000c0 98250003 lwr a1,3\(at\) +000000c4 8f810000 lw at,0\(gp\) + c4: R_MIPS_GOT_DISP dg1 +000000c8 20210022 addi at,at,34 +000000cc 00250820 add at,at,a1 +000000d0 88250000 lwl a1,0\(at\) +000000d4 98250003 lwr a1,3\(at\) +000000d8 8f810000 lw at,0\(gp\) + d8: R_MIPS_GOT_DISP dg1 +000000dc 20210038 addi at,at,56 +000000e0 00250820 add at,at,a1 +000000e4 a8250000 swl a1,0\(at\) +000000e8 b8250003 swr a1,3\(at\) +000000ec 8f850000 lw a1,0\(gp\) + ec: R_MIPS_GOT_DISP \.data\+0x3c +000000f0 8f850000 lw a1,0\(gp\) + f0: R_MIPS_GOT_DISP \.data\+0x48 +000000f4 8f850000 lw a1,0\(gp\) + f4: R_MIPS_GOT_DISP \.data\+0x1e27c +000000f8 8f850000 lw a1,0\(gp\) + f8: R_MIPS_GOT_DISP \.data\+0x3c +000000fc 00b12820 add a1,a1,s1 +00000100 8f850000 lw a1,0\(gp\) + 100: R_MIPS_GOT_DISP \.data\+0x48 +00000104 00b12820 add a1,a1,s1 +00000108 8f850000 lw a1,0\(gp\) + 108: R_MIPS_GOT_DISP \.data\+0x1e27c +0000010c 00b12820 add a1,a1,s1 +00000110 8f850000 lw a1,0\(gp\) + 110: R_MIPS_GOT_PAGE \.data\+0x3c +00000114 8ca50000 lw a1,0\(a1\) + 114: R_MIPS_GOT_OFST \.data\+0x3c +00000118 8f850000 lw a1,0\(gp\) + 118: R_MIPS_GOT_PAGE \.data\+0x48 +0000011c 8ca50000 lw a1,0\(a1\) + 11c: R_MIPS_GOT_OFST \.data\+0x48 +00000120 8f850000 lw a1,0\(gp\) + 120: R_MIPS_GOT_PAGE \.data\+0x3c +00000124 00b12820 add a1,a1,s1 +00000128 8ca50000 lw a1,0\(a1\) + 128: R_MIPS_GOT_OFST \.data\+0x3c +0000012c 8f850000 lw a1,0\(gp\) + 12c: R_MIPS_GOT_PAGE \.data\+0x48 +00000130 00b12820 add a1,a1,s1 +00000134 8ca50000 lw a1,0\(a1\) + 134: R_MIPS_GOT_OFST \.data\+0x48 +00000138 8f810000 lw at,0\(gp\) + 138: R_MIPS_GOT_PAGE \.data\+0x5e +0000013c 00250820 add at,at,a1 +00000140 8c250000 lw a1,0\(at\) + 140: R_MIPS_GOT_OFST \.data\+0x5e +00000144 8f810000 lw at,0\(gp\) + 144: R_MIPS_GOT_PAGE \.data\+0x74 +00000148 00250820 add at,at,a1 +0000014c ac250000 sw a1,0\(at\) + 14c: R_MIPS_GOT_OFST \.data\+0x74 +00000150 8f810000 lw at,0\(gp\) + 150: R_MIPS_GOT_DISP \.data\+0x3c +00000154 88250000 lwl a1,0\(at\) +00000158 98250003 lwr a1,3\(at\) +0000015c 8f810000 lw at,0\(gp\) + 15c: R_MIPS_GOT_DISP \.data\+0x48 +00000160 88250000 lwl a1,0\(at\) +00000164 98250003 lwr a1,3\(at\) +00000168 8f810000 lw at,0\(gp\) + 168: R_MIPS_GOT_DISP \.data\+0x3c +0000016c 00310820 add at,at,s1 +00000170 88250000 lwl a1,0\(at\) +00000174 98250003 lwr a1,3\(at\) +00000178 8f810000 lw at,0\(gp\) + 178: R_MIPS_GOT_DISP \.data\+0x48 +0000017c 00310820 add at,at,s1 +00000180 88250000 lwl a1,0\(at\) +00000184 98250003 lwr a1,3\(at\) +00000188 8f810000 lw at,0\(gp\) + 188: R_MIPS_GOT_DISP \.data\+0x5e +0000018c 00250820 add at,at,a1 +00000190 88250000 lwl a1,0\(at\) +00000194 98250003 lwr a1,3\(at\) +00000198 8f810000 lw at,0\(gp\) + 198: R_MIPS_GOT_DISP \.data\+0x74 +0000019c 00250820 add at,at,a1 +000001a0 a8250000 swl a1,0\(at\) +000001a4 b8250003 swr a1,3\(at\) +000001a8 8f850000 lw a1,0\(gp\) + 1a8: R_MIPS_GOT_DISP fn +000001ac 8f850000 lw a1,0\(gp\) + 1ac: R_MIPS_GOT_DISP \.text +000001b0 8f990000 lw t9,0\(gp\) + 1b0: R_MIPS_CALL16 fn +000001b4 8f990000 lw t9,0\(gp\) + 1b4: R_MIPS_GOT_DISP \.text +000001b8 8f990000 lw t9,0\(gp\) + 1b8: R_MIPS_CALL16 fn +000001bc 0320f809 jalr t9 + 1bc: R_MIPS_JALR fn +000001c0 00000000 nop +000001c4 8f990000 lw t9,0\(gp\) + 1c4: R_MIPS_GOT_DISP \.text +000001c8 0320f809 jalr t9 + 1c8: R_MIPS_JALR \.text +000001cc 00000000 nop +000001d0 8f850000 lw a1,0\(gp\) + 1d0: R_MIPS_GOT_DISP dg2 +000001d4 8f850000 lw a1,0\(gp\) + 1d4: R_MIPS_GOT_DISP dg2 +000001d8 20a5000c addi a1,a1,12 +000001dc 8f850000 lw a1,0\(gp\) + 1dc: R_MIPS_GOT_DISP dg2 +000001e0 3c010002 lui at,0x2 +000001e4 2021e240 addi at,at,-7616 +000001e8 00a12820 add a1,a1,at +000001ec 8f850000 lw a1,0\(gp\) + 1ec: R_MIPS_GOT_DISP dg2 +000001f0 00b12820 add a1,a1,s1 +000001f4 8f850000 lw a1,0\(gp\) + 1f4: R_MIPS_GOT_DISP dg2 +000001f8 20a5000c addi a1,a1,12 +000001fc 00b12820 add a1,a1,s1 +00000200 8f850000 lw a1,0\(gp\) + 200: R_MIPS_GOT_DISP dg2 +00000204 3c010002 lui at,0x2 +00000208 2021e240 addi at,at,-7616 +0000020c 00a12820 add a1,a1,at +00000210 00b12820 add a1,a1,s1 +00000214 8f850000 lw a1,0\(gp\) + 214: R_MIPS_GOT_PAGE dg2 +00000218 8ca50000 lw a1,0\(a1\) + 218: R_MIPS_GOT_OFST dg2 +0000021c 8f850000 lw a1,0\(gp\) + 21c: R_MIPS_GOT_PAGE dg2\+0xc +00000220 8ca50000 lw a1,0\(a1\) + 220: R_MIPS_GOT_OFST dg2\+0xc +00000224 8f850000 lw a1,0\(gp\) + 224: R_MIPS_GOT_PAGE dg2 +00000228 00b12820 add a1,a1,s1 +0000022c 8ca50000 lw a1,0\(a1\) + 22c: R_MIPS_GOT_OFST dg2 +00000230 8f850000 lw a1,0\(gp\) + 230: R_MIPS_GOT_PAGE dg2\+0xc +00000234 00b12820 add a1,a1,s1 +00000238 8ca50000 lw a1,0\(a1\) + 238: R_MIPS_GOT_OFST dg2\+0xc +0000023c 8f810000 lw at,0\(gp\) + 23c: R_MIPS_GOT_PAGE dg2\+0x22 +00000240 00250820 add at,at,a1 +00000244 8c250000 lw a1,0\(at\) + 244: R_MIPS_GOT_OFST dg2\+0x22 +00000248 8f810000 lw at,0\(gp\) + 248: R_MIPS_GOT_PAGE dg2\+0x38 +0000024c 00250820 add at,at,a1 +00000250 ac250000 sw a1,0\(at\) + 250: R_MIPS_GOT_OFST dg2\+0x38 +00000254 8f810000 lw at,0\(gp\) + 254: R_MIPS_GOT_DISP dg2 +00000258 88250000 lwl a1,0\(at\) +0000025c 98250003 lwr a1,3\(at\) +00000260 8f810000 lw at,0\(gp\) + 260: R_MIPS_GOT_DISP dg2 +00000264 2021000c addi at,at,12 +00000268 88250000 lwl a1,0\(at\) +0000026c 98250003 lwr a1,3\(at\) +00000270 8f810000 lw at,0\(gp\) + 270: R_MIPS_GOT_DISP dg2 +00000274 00310820 add at,at,s1 +00000278 88250000 lwl a1,0\(at\) +0000027c 98250003 lwr a1,3\(at\) +00000280 8f810000 lw at,0\(gp\) + 280: R_MIPS_GOT_DISP dg2 +00000284 2021000c addi at,at,12 +00000288 00310820 add at,at,s1 +0000028c 88250000 lwl a1,0\(at\) +00000290 98250003 lwr a1,3\(at\) +00000294 8f810000 lw at,0\(gp\) + 294: R_MIPS_GOT_DISP dg2 +00000298 20210022 addi at,at,34 +0000029c 00250820 add at,at,a1 +000002a0 88250000 lwl a1,0\(at\) +000002a4 98250003 lwr a1,3\(at\) +000002a8 8f810000 lw at,0\(gp\) + 2a8: R_MIPS_GOT_DISP dg2 +000002ac 20210038 addi at,at,56 +000002b0 00250820 add at,at,a1 +000002b4 a8250000 swl a1,0\(at\) +000002b8 b8250003 swr a1,3\(at\) +000002bc 8f850000 lw a1,0\(gp\) + 2bc: R_MIPS_GOT_DISP \.data\+0xb4 +000002c0 8f850000 lw a1,0\(gp\) + 2c0: R_MIPS_GOT_DISP \.data\+0xc0 +000002c4 8f850000 lw a1,0\(gp\) + 2c4: R_MIPS_GOT_DISP \.data\+0x1e2f4 +000002c8 8f850000 lw a1,0\(gp\) + 2c8: R_MIPS_GOT_DISP \.data\+0xb4 +000002cc 00b12820 add a1,a1,s1 +000002d0 8f850000 lw a1,0\(gp\) + 2d0: R_MIPS_GOT_DISP \.data\+0xc0 +000002d4 00b12820 add a1,a1,s1 +000002d8 8f850000 lw a1,0\(gp\) + 2d8: R_MIPS_GOT_DISP \.data\+0x1e2f4 +000002dc 00b12820 add a1,a1,s1 +000002e0 8f850000 lw a1,0\(gp\) + 2e0: R_MIPS_GOT_PAGE \.data\+0xb4 +000002e4 8ca50000 lw a1,0\(a1\) + 2e4: R_MIPS_GOT_OFST \.data\+0xb4 +000002e8 8f850000 lw a1,0\(gp\) + 2e8: R_MIPS_GOT_PAGE \.data\+0xc0 +000002ec 8ca50000 lw a1,0\(a1\) + 2ec: R_MIPS_GOT_OFST \.data\+0xc0 +000002f0 8f850000 lw a1,0\(gp\) + 2f0: R_MIPS_GOT_PAGE \.data\+0xb4 +000002f4 00b12820 add a1,a1,s1 +000002f8 8ca50000 lw a1,0\(a1\) + 2f8: R_MIPS_GOT_OFST \.data\+0xb4 +000002fc 8f850000 lw a1,0\(gp\) + 2fc: R_MIPS_GOT_PAGE \.data\+0xc0 +00000300 00b12820 add a1,a1,s1 +00000304 8ca50000 lw a1,0\(a1\) + 304: R_MIPS_GOT_OFST \.data\+0xc0 +00000308 8f810000 lw at,0\(gp\) + 308: R_MIPS_GOT_PAGE \.data\+0xd6 +0000030c 00250820 add at,at,a1 +00000310 8c250000 lw a1,0\(at\) + 310: R_MIPS_GOT_OFST \.data\+0xd6 +00000314 8f810000 lw at,0\(gp\) + 314: R_MIPS_GOT_PAGE \.data\+0xec +00000318 00250820 add at,at,a1 +0000031c ac250000 sw a1,0\(at\) + 31c: R_MIPS_GOT_OFST \.data\+0xec +00000320 8f810000 lw at,0\(gp\) + 320: R_MIPS_GOT_DISP \.data\+0xb4 +00000324 88250000 lwl a1,0\(at\) +00000328 98250003 lwr a1,3\(at\) +0000032c 8f810000 lw at,0\(gp\) + 32c: R_MIPS_GOT_DISP \.data\+0xc0 +00000330 88250000 lwl a1,0\(at\) +00000334 98250003 lwr a1,3\(at\) +00000338 8f810000 lw at,0\(gp\) + 338: R_MIPS_GOT_DISP \.data\+0xb4 +0000033c 00310820 add at,at,s1 +00000340 88250000 lwl a1,0\(at\) +00000344 98250003 lwr a1,3\(at\) +00000348 8f810000 lw at,0\(gp\) + 348: R_MIPS_GOT_DISP \.data\+0xc0 +0000034c 00310820 add at,at,s1 +00000350 88250000 lwl a1,0\(at\) +00000354 98250003 lwr a1,3\(at\) +00000358 8f810000 lw at,0\(gp\) + 358: R_MIPS_GOT_DISP \.data\+0xd6 +0000035c 00250820 add at,at,a1 +00000360 88250000 lwl a1,0\(at\) +00000364 98250003 lwr a1,3\(at\) +00000368 8f810000 lw at,0\(gp\) + 368: R_MIPS_GOT_DISP \.data\+0xec +0000036c 00250820 add at,at,a1 +00000370 a8250000 swl a1,0\(at\) +00000374 b8250003 swr a1,3\(at\) +00000378 8f850000 lw a1,0\(gp\) + 378: R_MIPS_GOT_DISP fn2 +0000037c 8f850000 lw a1,0\(gp\) + 37c: R_MIPS_GOT_DISP \.text\+0x404 +00000380 8f990000 lw t9,0\(gp\) + 380: R_MIPS_CALL16 fn2 +00000384 8f990000 lw t9,0\(gp\) + 384: R_MIPS_GOT_DISP \.text\+0x404 +00000388 8f990000 lw t9,0\(gp\) + 388: R_MIPS_CALL16 fn2 +0000038c 0320f809 jalr t9 + 38c: R_MIPS_JALR fn2 +00000390 00000000 nop +00000394 8f990000 lw t9,0\(gp\) + 394: R_MIPS_GOT_DISP \.text\+0x404 +00000398 0320f809 jalr t9 + 398: R_MIPS_JALR \.text\+0x404 +0000039c 00000000 nop +000003a0 1000ff17 b 00000000 +000003a4 8f850000 lw a1,0\(gp\) + 3a4: R_MIPS_GOT_DISP dg1 +000003a8 8f850000 lw a1,0\(gp\) + 3a8: R_MIPS_GOT_PAGE dg2 +000003ac 10000015 b 00000404 +000003b0 8ca50000 lw a1,0\(a1\) + 3b0: R_MIPS_GOT_OFST dg2 +000003b4 1000ff12 b 00000000 +000003b8 8f850000 lw a1,0\(gp\) + 3b8: R_MIPS_GOT_DISP \.data\+0x3c +000003bc 8f850000 lw a1,0\(gp\) + 3bc: R_MIPS_GOT_DISP \.data\+0xc0 +000003c0 10000010 b 00000404 +000003c4 00000000 nop +000003c8 8f850000 lw a1,0\(gp\) + 3c8: R_MIPS_GOT_DISP \.data\+0x1e27c +000003cc 1000ff0c b 00000000 +000003d0 00000000 nop +000003d4 8f850000 lw a1,0\(gp\) + 3d4: R_MIPS_GOT_PAGE \.data\+0xb4 +000003d8 1000000a b 00000404 +000003dc 8ca50000 lw a1,0\(a1\) + 3dc: R_MIPS_GOT_OFST \.data\+0xb4 +000003e0 8f850000 lw a1,0\(gp\) + 3e0: R_MIPS_GOT_PAGE \.data\+0x48 +000003e4 1000ff06 b 00000000 +000003e8 8ca50000 lw a1,0\(a1\) + 3e8: R_MIPS_GOT_OFST \.data\+0x48 +000003ec 8f810000 lw at,0\(gp\) + 3ec: R_MIPS_GOT_PAGE \.data\+0xd6 +000003f0 00250820 add at,at,a1 +000003f4 10000003 b 00000404 +000003f8 8c250000 lw a1,0\(at\) + 3f8: R_MIPS_GOT_OFST \.data\+0xd6 + \.\.\. + \.\.\. diff --git a/gas/testsuite/gas/mips/elf-rel-got-n32.s b/gas/testsuite/gas/mips/elf-rel-got-n32.s new file mode 100644 index 0000000000..099f5a08de --- /dev/null +++ b/gas/testsuite/gas/mips/elf-rel-got-n32.s @@ -0,0 +1,162 @@ +# MIPS ELF GOT reloc n32 + + .data + .align 2 +sp1: + .space 60 + .globl dg1 +dg1: +dl1: + .space 60 + + + .text + + .globl fn + .ent fn + .type fn,@function +fn: +.Lfn: + la $5,dg1+0 + la $5,dg1+12 + la $5,dg1+123456 + la $5,dg1+0($17) + la $5,dg1+12($17) + la $5,dg1+123456($17) + + lw $5,dg1+0 + lw $5,dg1+12 + lw $5,dg1+0($17) + lw $5,dg1+12($17) + lw $5,dg1+34($5) + sw $5,dg1+56($5) + + ulw $5,dg1+0 + ulw $5,dg1+12 + ulw $5,dg1+0($17) + ulw $5,dg1+12($17) + ulw $5,dg1+34($5) + usw $5,dg1+56($5) + + la $5,dl1+0 + la $5,dl1+12 + la $5,dl1+123456 + la $5,dl1+0($17) + la $5,dl1+12($17) + la $5,dl1+123456($17) + + lw $5,dl1+0 + lw $5,dl1+12 + lw $5,dl1+0($17) + lw $5,dl1+12($17) + lw $5,dl1+34($5) + sw $5,dl1+56($5) + + ulw $5,dl1+0 + ulw $5,dl1+12 + ulw $5,dl1+0($17) + ulw $5,dl1+12($17) + ulw $5,dl1+34($5) + usw $5,dl1+56($5) + + la $5,fn + la $5,.Lfn + la $25,fn + la $25,.Lfn + jal fn + jal .Lfn + + + la $5,dg2+0 + la $5,dg2+12 + la $5,dg2+123456 + la $5,dg2+0($17) + la $5,dg2+12($17) + la $5,dg2+123456($17) + + lw $5,dg2+0 + lw $5,dg2+12 + lw $5,dg2+0($17) + lw $5,dg2+12($17) + lw $5,dg2+34($5) + sw $5,dg2+56($5) + + ulw $5,dg2+0 + ulw $5,dg2+12 + ulw $5,dg2+0($17) + ulw $5,dg2+12($17) + ulw $5,dg2+34($5) + usw $5,dg2+56($5) + + la $5,dl2+0 + la $5,dl2+12 + la $5,dl2+123456 + la $5,dl2+0($17) + la $5,dl2+12($17) + la $5,dl2+123456($17) + + lw $5,dl2+0 + lw $5,dl2+12 + lw $5,dl2+0($17) + lw $5,dl2+12($17) + lw $5,dl2+34($5) + sw $5,dl2+56($5) + + ulw $5,dl2+0 + ulw $5,dl2+12 + ulw $5,dl2+0($17) + ulw $5,dl2+12($17) + ulw $5,dl2+34($5) + usw $5,dl2+56($5) + + la $5,fn2 + la $5,.Lfn2 + la $25,fn2 + la $25,.Lfn2 + jal fn2 + jal .Lfn2 + +# Check that filling delay slots doesn't break our relocations. + + la $5,dg1 + b .Lfn + lw $5,dg2 + b .Lfn2 + + la $5,dl1 + b .Lfn + la $5,dl2+12 + b .Lfn2 + la $5,dl1+123456 + b .Lfn + lw $5,dl2 + b .Lfn2 + lw $5,dl1+12 + b .Lfn + lw $5,dl2+34($5) + b .Lfn2 + +# Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ... + .space 8 + + .end fn + + .globl fn2 + .ent fn2 + .type fn2,@function +fn2: +.Lfn2: + .end fn2 + + .globl __start +__start: + + .data + .align 2 +sp2: + .space 60 + .globl dg2 +dg2: +dl2: + .space 60 + diff --git a/gas/testsuite/gas/mips/elf-rel-got-n64.d b/gas/testsuite/gas/mips/elf-rel-got-n64.d new file mode 100644 index 0000000000..60abe54592 --- /dev/null +++ b/gas/testsuite/gas/mips/elf-rel-got-n64.d @@ -0,0 +1,636 @@ +#objdump: -dr --prefix-addresses --show-raw-insn +#name: MIPS ELF got reloc n64 +#as: -64 -KPIC + +.*: +file format elf64-.*mips.* + +Disassembly of section \.text: +0000000000000000 df850000 ld a1,0\(gp\) + 0: R_MIPS_GOT_DISP dg1 + 0: R_MIPS_NONE \*ABS\* + 0: R_MIPS_NONE \*ABS\* +0000000000000004 df850000 ld a1,0\(gp\) + 4: R_MIPS_GOT_DISP dg1 + 4: R_MIPS_NONE \*ABS\* + 4: R_MIPS_NONE \*ABS\* +0000000000000008 64a5000c daddiu a1,a1,12 +000000000000000c df850000 ld a1,0\(gp\) + c: R_MIPS_GOT_DISP dg1 + c: R_MIPS_NONE \*ABS\* + c: R_MIPS_NONE \*ABS\* +0000000000000010 3c010002 lui at,0x2 +0000000000000014 6421e240 daddiu at,at,-7616 +0000000000000018 00a1282d daddu a1,a1,at +000000000000001c df850000 ld a1,0\(gp\) + 1c: R_MIPS_GOT_DISP dg1 + 1c: R_MIPS_NONE \*ABS\* + 1c: R_MIPS_NONE \*ABS\* +0000000000000020 00b1282d daddu a1,a1,s1 +0000000000000024 df850000 ld a1,0\(gp\) + 24: R_MIPS_GOT_DISP dg1 + 24: R_MIPS_NONE \*ABS\* + 24: R_MIPS_NONE \*ABS\* +0000000000000028 64a5000c daddiu a1,a1,12 +000000000000002c 00b1282d daddu a1,a1,s1 +0000000000000030 df850000 ld a1,0\(gp\) + 30: R_MIPS_GOT_DISP dg1 + 30: R_MIPS_NONE \*ABS\* + 30: R_MIPS_NONE \*ABS\* +0000000000000034 3c010002 lui at,0x2 +0000000000000038 6421e240 daddiu at,at,-7616 +000000000000003c 00a1282d daddu a1,a1,at +0000000000000040 00b1282d daddu a1,a1,s1 +0000000000000044 df850000 ld a1,0\(gp\) + 44: R_MIPS_GOT_PAGE dg1 + 44: R_MIPS_NONE \*ABS\* + 44: R_MIPS_NONE \*ABS\* +0000000000000048 dca50000 ld a1,0\(a1\) + 48: R_MIPS_GOT_OFST dg1 + 48: R_MIPS_NONE \*ABS\* + 48: R_MIPS_NONE \*ABS\* +000000000000004c df850000 ld a1,0\(gp\) + 4c: R_MIPS_GOT_PAGE dg1\+0xc + 4c: R_MIPS_NONE \*ABS\*\+0xc + 4c: R_MIPS_NONE \*ABS\*\+0xc +0000000000000050 dca50000 ld a1,0\(a1\) + 50: R_MIPS_GOT_OFST dg1\+0xc + 50: R_MIPS_NONE \*ABS\*\+0xc + 50: R_MIPS_NONE \*ABS\*\+0xc +0000000000000054 df850000 ld a1,0\(gp\) + 54: R_MIPS_GOT_PAGE dg1 + 54: R_MIPS_NONE \*ABS\* + 54: R_MIPS_NONE \*ABS\* +0000000000000058 00b1282d daddu a1,a1,s1 +000000000000005c dca50000 ld a1,0\(a1\) + 5c: R_MIPS_GOT_OFST dg1 + 5c: R_MIPS_NONE \*ABS\* + 5c: R_MIPS_NONE \*ABS\* +0000000000000060 df850000 ld a1,0\(gp\) + 60: R_MIPS_GOT_PAGE dg1\+0xc + 60: R_MIPS_NONE \*ABS\*\+0xc + 60: R_MIPS_NONE \*ABS\*\+0xc +0000000000000064 00b1282d daddu a1,a1,s1 +0000000000000068 dca50000 ld a1,0\(a1\) + 68: R_MIPS_GOT_OFST dg1\+0xc + 68: R_MIPS_NONE \*ABS\*\+0xc + 68: R_MIPS_NONE \*ABS\*\+0xc +000000000000006c df810000 ld at,0\(gp\) + 6c: R_MIPS_GOT_PAGE dg1\+0x22 + 6c: R_MIPS_NONE \*ABS\*\+0x22 + 6c: R_MIPS_NONE \*ABS\*\+0x22 +0000000000000070 0025082d daddu at,at,a1 +0000000000000074 dc250000 ld a1,0\(at\) + 74: R_MIPS_GOT_OFST dg1\+0x22 + 74: R_MIPS_NONE \*ABS\*\+0x22 + 74: R_MIPS_NONE \*ABS\*\+0x22 +0000000000000078 df810000 ld at,0\(gp\) + 78: R_MIPS_GOT_PAGE dg1\+0x38 + 78: R_MIPS_NONE \*ABS\*\+0x38 + 78: R_MIPS_NONE \*ABS\*\+0x38 +000000000000007c 0025082d daddu at,at,a1 +0000000000000080 fc250000 sd a1,0\(at\) + 80: R_MIPS_GOT_OFST dg1\+0x38 + 80: R_MIPS_NONE \*ABS\*\+0x38 + 80: R_MIPS_NONE \*ABS\*\+0x38 +0000000000000084 df810000 ld at,0\(gp\) + 84: R_MIPS_GOT_DISP dg1 + 84: R_MIPS_NONE \*ABS\* + 84: R_MIPS_NONE \*ABS\* +0000000000000088 88250000 lwl a1,0\(at\) +000000000000008c 98250003 lwr a1,3\(at\) +0000000000000090 df810000 ld at,0\(gp\) + 90: R_MIPS_GOT_DISP dg1 + 90: R_MIPS_NONE \*ABS\* + 90: R_MIPS_NONE \*ABS\* +0000000000000094 6421000c daddiu at,at,12 +0000000000000098 88250000 lwl a1,0\(at\) +000000000000009c 98250003 lwr a1,3\(at\) +00000000000000a0 df810000 ld at,0\(gp\) + a0: R_MIPS_GOT_DISP dg1 + a0: R_MIPS_NONE \*ABS\* + a0: R_MIPS_NONE \*ABS\* +00000000000000a4 0031082d daddu at,at,s1 +00000000000000a8 88250000 lwl a1,0\(at\) +00000000000000ac 98250003 lwr a1,3\(at\) +00000000000000b0 df810000 ld at,0\(gp\) + b0: R_MIPS_GOT_DISP dg1 + b0: R_MIPS_NONE \*ABS\* + b0: R_MIPS_NONE \*ABS\* +00000000000000b4 6421000c daddiu at,at,12 +00000000000000b8 0031082d daddu at,at,s1 +00000000000000bc 88250000 lwl a1,0\(at\) +00000000000000c0 98250003 lwr a1,3\(at\) +00000000000000c4 df810000 ld at,0\(gp\) + c4: R_MIPS_GOT_DISP dg1 + c4: R_MIPS_NONE \*ABS\* + c4: R_MIPS_NONE \*ABS\* +00000000000000c8 64210022 daddiu at,at,34 +00000000000000cc 0025082d daddu at,at,a1 +00000000000000d0 88250000 lwl a1,0\(at\) +00000000000000d4 98250003 lwr a1,3\(at\) +00000000000000d8 df810000 ld at,0\(gp\) + d8: R_MIPS_GOT_DISP dg1 + d8: R_MIPS_NONE \*ABS\* + d8: R_MIPS_NONE \*ABS\* +00000000000000dc 64210038 daddiu at,at,56 +00000000000000e0 0025082d daddu at,at,a1 +00000000000000e4 a8250000 swl a1,0\(at\) +00000000000000e8 b8250003 swr a1,3\(at\) +00000000000000ec df850000 ld a1,0\(gp\) + ec: R_MIPS_GOT_DISP \.data\+0x3c + ec: R_MIPS_NONE \*ABS\*\+0x3c + ec: R_MIPS_NONE \*ABS\*\+0x3c +00000000000000f0 df850000 ld a1,0\(gp\) + f0: R_MIPS_GOT_DISP \.data\+0x48 + f0: R_MIPS_NONE \*ABS\*\+0x48 + f0: R_MIPS_NONE \*ABS\*\+0x48 +00000000000000f4 df850000 ld a1,0\(gp\) + f4: R_MIPS_GOT_DISP \.data\+0x1e27c + f4: R_MIPS_NONE \*ABS\*\+0x1e27c + f4: R_MIPS_NONE \*ABS\*\+0x1e27c +00000000000000f8 df850000 ld a1,0\(gp\) + f8: R_MIPS_GOT_DISP \.data\+0x3c + f8: R_MIPS_NONE \*ABS\*\+0x3c + f8: R_MIPS_NONE \*ABS\*\+0x3c +00000000000000fc 00b1282d daddu a1,a1,s1 +0000000000000100 df850000 ld a1,0\(gp\) + 100: R_MIPS_GOT_DISP \.data\+0x48 + 100: R_MIPS_NONE \*ABS\*\+0x48 + 100: R_MIPS_NONE \*ABS\*\+0x48 +0000000000000104 00b1282d daddu a1,a1,s1 +0000000000000108 df850000 ld a1,0\(gp\) + 108: R_MIPS_GOT_DISP \.data\+0x1e27c + 108: R_MIPS_NONE \*ABS\*\+0x1e27c + 108: R_MIPS_NONE \*ABS\*\+0x1e27c +000000000000010c 00b1282d daddu a1,a1,s1 +0000000000000110 df850000 ld a1,0\(gp\) + 110: R_MIPS_GOT_PAGE \.data\+0x3c + 110: R_MIPS_NONE \*ABS\*\+0x3c + 110: R_MIPS_NONE \*ABS\*\+0x3c +0000000000000114 dca50000 ld a1,0\(a1\) + 114: R_MIPS_GOT_OFST \.data\+0x3c + 114: R_MIPS_NONE \*ABS\*\+0x3c + 114: R_MIPS_NONE \*ABS\*\+0x3c +0000000000000118 df850000 ld a1,0\(gp\) + 118: R_MIPS_GOT_PAGE \.data\+0x48 + 118: R_MIPS_NONE \*ABS\*\+0x48 + 118: R_MIPS_NONE \*ABS\*\+0x48 +000000000000011c dca50000 ld a1,0\(a1\) + 11c: R_MIPS_GOT_OFST \.data\+0x48 + 11c: R_MIPS_NONE \*ABS\*\+0x48 + 11c: R_MIPS_NONE \*ABS\*\+0x48 +0000000000000120 df850000 ld a1,0\(gp\) + 120: R_MIPS_GOT_PAGE \.data\+0x3c + 120: R_MIPS_NONE \*ABS\*\+0x3c + 120: R_MIPS_NONE \*ABS\*\+0x3c +0000000000000124 00b1282d daddu a1,a1,s1 +0000000000000128 dca50000 ld a1,0\(a1\) + 128: R_MIPS_GOT_OFST \.data\+0x3c + 128: R_MIPS_NONE \*ABS\*\+0x3c + 128: R_MIPS_NONE \*ABS\*\+0x3c +000000000000012c df850000 ld a1,0\(gp\) + 12c: R_MIPS_GOT_PAGE \.data\+0x48 + 12c: R_MIPS_NONE \*ABS\*\+0x48 + 12c: R_MIPS_NONE \*ABS\*\+0x48 +0000000000000130 00b1282d daddu a1,a1,s1 +0000000000000134 dca50000 ld a1,0\(a1\) + 134: R_MIPS_GOT_OFST \.data\+0x48 + 134: R_MIPS_NONE \*ABS\*\+0x48 + 134: R_MIPS_NONE \*ABS\*\+0x48 +0000000000000138 df810000 ld at,0\(gp\) + 138: R_MIPS_GOT_PAGE \.data\+0x5e + 138: R_MIPS_NONE \*ABS\*\+0x5e + 138: R_MIPS_NONE \*ABS\*\+0x5e +000000000000013c 0025082d daddu at,at,a1 +0000000000000140 dc250000 ld a1,0\(at\) + 140: R_MIPS_GOT_OFST \.data\+0x5e + 140: R_MIPS_NONE \*ABS\*\+0x5e + 140: R_MIPS_NONE \*ABS\*\+0x5e +0000000000000144 df810000 ld at,0\(gp\) + 144: R_MIPS_GOT_PAGE \.data\+0x74 + 144: R_MIPS_NONE \*ABS\*\+0x74 + 144: R_MIPS_NONE \*ABS\*\+0x74 +0000000000000148 0025082d daddu at,at,a1 +000000000000014c fc250000 sd a1,0\(at\) + 14c: R_MIPS_GOT_OFST \.data\+0x74 + 14c: R_MIPS_NONE \*ABS\*\+0x74 + 14c: R_MIPS_NONE \*ABS\*\+0x74 +0000000000000150 df810000 ld at,0\(gp\) + 150: R_MIPS_GOT_DISP \.data\+0x3c + 150: R_MIPS_NONE \*ABS\*\+0x3c + 150: R_MIPS_NONE \*ABS\*\+0x3c +0000000000000154 88250000 lwl a1,0\(at\) +0000000000000158 98250003 lwr a1,3\(at\) +000000000000015c df810000 ld at,0\(gp\) + 15c: R_MIPS_GOT_DISP \.data\+0x48 + 15c: R_MIPS_NONE \*ABS\*\+0x48 + 15c: R_MIPS_NONE \*ABS\*\+0x48 +0000000000000160 88250000 lwl a1,0\(at\) +0000000000000164 98250003 lwr a1,3\(at\) +0000000000000168 df810000 ld at,0\(gp\) + 168: R_MIPS_GOT_DISP \.data\+0x3c + 168: R_MIPS_NONE \*ABS\*\+0x3c + 168: R_MIPS_NONE \*ABS\*\+0x3c +000000000000016c 0031082d daddu at,at,s1 +0000000000000170 88250000 lwl a1,0\(at\) +0000000000000174 98250003 lwr a1,3\(at\) +0000000000000178 df810000 ld at,0\(gp\) + 178: R_MIPS_GOT_DISP \.data\+0x48 + 178: R_MIPS_NONE \*ABS\*\+0x48 + 178: R_MIPS_NONE \*ABS\*\+0x48 +000000000000017c 0031082d daddu at,at,s1 +0000000000000180 88250000 lwl a1,0\(at\) +0000000000000184 98250003 lwr a1,3\(at\) +0000000000000188 df810000 ld at,0\(gp\) + 188: R_MIPS_GOT_DISP \.data\+0x5e + 188: R_MIPS_NONE \*ABS\*\+0x5e + 188: R_MIPS_NONE \*ABS\*\+0x5e +000000000000018c 0025082d daddu at,at,a1 +0000000000000190 88250000 lwl a1,0\(at\) +0000000000000194 98250003 lwr a1,3\(at\) +0000000000000198 df810000 ld at,0\(gp\) + 198: R_MIPS_GOT_DISP \.data\+0x74 + 198: R_MIPS_NONE \*ABS\*\+0x74 + 198: R_MIPS_NONE \*ABS\*\+0x74 +000000000000019c 0025082d daddu at,at,a1 +00000000000001a0 a8250000 swl a1,0\(at\) +00000000000001a4 b8250003 swr a1,3\(at\) +00000000000001a8 df850000 ld a1,0\(gp\) + 1a8: R_MIPS_GOT_DISP fn + 1a8: R_MIPS_NONE \*ABS\* + 1a8: R_MIPS_NONE \*ABS\* +00000000000001ac df850000 ld a1,0\(gp\) + 1ac: R_MIPS_GOT_DISP \.text + 1ac: R_MIPS_NONE \*ABS\* + 1ac: R_MIPS_NONE \*ABS\* +00000000000001b0 df990000 ld t9,0\(gp\) + 1b0: R_MIPS_CALL16 fn + 1b0: R_MIPS_NONE \*ABS\* + 1b0: R_MIPS_NONE \*ABS\* +00000000000001b4 df990000 ld t9,0\(gp\) + 1b4: R_MIPS_GOT_DISP \.text + 1b4: R_MIPS_NONE \*ABS\* + 1b4: R_MIPS_NONE \*ABS\* +00000000000001b8 df990000 ld t9,0\(gp\) + 1b8: R_MIPS_CALL16 fn + 1b8: R_MIPS_NONE \*ABS\* + 1b8: R_MIPS_NONE \*ABS\* +00000000000001bc 0320f809 jalr t9 + 1bc: R_MIPS_JALR fn + 1bc: R_MIPS_NONE \*ABS\* + 1bc: R_MIPS_NONE \*ABS\* +00000000000001c0 00000000 nop +00000000000001c4 df990000 ld t9,0\(gp\) + 1c4: R_MIPS_GOT_DISP \.text + 1c4: R_MIPS_NONE \*ABS\* + 1c4: R_MIPS_NONE \*ABS\* +00000000000001c8 0320f809 jalr t9 + 1c8: R_MIPS_JALR \.text + 1c8: R_MIPS_NONE \*ABS\* + 1c8: R_MIPS_NONE \*ABS\* +00000000000001cc 00000000 nop +00000000000001d0 df850000 ld a1,0\(gp\) + 1d0: R_MIPS_GOT_DISP dg2 + 1d0: R_MIPS_NONE \*ABS\* + 1d0: R_MIPS_NONE \*ABS\* +00000000000001d4 df850000 ld a1,0\(gp\) + 1d4: R_MIPS_GOT_DISP dg2 + 1d4: R_MIPS_NONE \*ABS\* + 1d4: R_MIPS_NONE \*ABS\* +00000000000001d8 64a5000c daddiu a1,a1,12 +00000000000001dc df850000 ld a1,0\(gp\) + 1dc: R_MIPS_GOT_DISP dg2 + 1dc: R_MIPS_NONE \*ABS\* + 1dc: R_MIPS_NONE \*ABS\* +00000000000001e0 3c010002 lui at,0x2 +00000000000001e4 6421e240 daddiu at,at,-7616 +00000000000001e8 00a1282d daddu a1,a1,at +00000000000001ec df850000 ld a1,0\(gp\) + 1ec: R_MIPS_GOT_DISP dg2 + 1ec: R_MIPS_NONE \*ABS\* + 1ec: R_MIPS_NONE \*ABS\* +00000000000001f0 00b1282d daddu a1,a1,s1 +00000000000001f4 df850000 ld a1,0\(gp\) + 1f4: R_MIPS_GOT_DISP dg2 + 1f4: R_MIPS_NONE \*ABS\* + 1f4: R_MIPS_NONE \*ABS\* +00000000000001f8 64a5000c daddiu a1,a1,12 +00000000000001fc 00b1282d daddu a1,a1,s1 +0000000000000200 df850000 ld a1,0\(gp\) + 200: R_MIPS_GOT_DISP dg2 + 200: R_MIPS_NONE \*ABS\* + 200: R_MIPS_NONE \*ABS\* +0000000000000204 3c010002 lui at,0x2 +0000000000000208 6421e240 daddiu at,at,-7616 +000000000000020c 00a1282d daddu a1,a1,at +0000000000000210 00b1282d daddu a1,a1,s1 +0000000000000214 df850000 ld a1,0\(gp\) + 214: R_MIPS_GOT_PAGE dg2 + 214: R_MIPS_NONE \*ABS\* + 214: R_MIPS_NONE \*ABS\* +0000000000000218 dca50000 ld a1,0\(a1\) + 218: R_MIPS_GOT_OFST dg2 + 218: R_MIPS_NONE \*ABS\* + 218: R_MIPS_NONE \*ABS\* +000000000000021c df850000 ld a1,0\(gp\) + 21c: R_MIPS_GOT_PAGE dg2\+0xc + 21c: R_MIPS_NONE \*ABS\*\+0xc + 21c: R_MIPS_NONE \*ABS\*\+0xc +0000000000000220 dca50000 ld a1,0\(a1\) + 220: R_MIPS_GOT_OFST dg2\+0xc + 220: R_MIPS_NONE \*ABS\*\+0xc + 220: R_MIPS_NONE \*ABS\*\+0xc +0000000000000224 df850000 ld a1,0\(gp\) + 224: R_MIPS_GOT_PAGE dg2 + 224: R_MIPS_NONE \*ABS\* + 224: R_MIPS_NONE \*ABS\* +0000000000000228 00b1282d daddu a1,a1,s1 +000000000000022c dca50000 ld a1,0\(a1\) + 22c: R_MIPS_GOT_OFST dg2 + 22c: R_MIPS_NONE \*ABS\* + 22c: R_MIPS_NONE \*ABS\* +0000000000000230 df850000 ld a1,0\(gp\) + 230: R_MIPS_GOT_PAGE dg2\+0xc + 230: R_MIPS_NONE \*ABS\*\+0xc + 230: R_MIPS_NONE \*ABS\*\+0xc +0000000000000234 00b1282d daddu a1,a1,s1 +0000000000000238 dca50000 ld a1,0\(a1\) + 238: R_MIPS_GOT_OFST dg2\+0xc + 238: R_MIPS_NONE \*ABS\*\+0xc + 238: R_MIPS_NONE \*ABS\*\+0xc +000000000000023c df810000 ld at,0\(gp\) + 23c: R_MIPS_GOT_PAGE dg2\+0x22 + 23c: R_MIPS_NONE \*ABS\*\+0x22 + 23c: R_MIPS_NONE \*ABS\*\+0x22 +0000000000000240 0025082d daddu at,at,a1 +0000000000000244 dc250000 ld a1,0\(at\) + 244: R_MIPS_GOT_OFST dg2\+0x22 + 244: R_MIPS_NONE \*ABS\*\+0x22 + 244: R_MIPS_NONE \*ABS\*\+0x22 +0000000000000248 df810000 ld at,0\(gp\) + 248: R_MIPS_GOT_PAGE dg2\+0x38 + 248: R_MIPS_NONE \*ABS\*\+0x38 + 248: R_MIPS_NONE \*ABS\*\+0x38 +000000000000024c 0025082d daddu at,at,a1 +0000000000000250 fc250000 sd a1,0\(at\) + 250: R_MIPS_GOT_OFST dg2\+0x38 + 250: R_MIPS_NONE \*ABS\*\+0x38 + 250: R_MIPS_NONE \*ABS\*\+0x38 +0000000000000254 df810000 ld at,0\(gp\) + 254: R_MIPS_GOT_DISP dg2 + 254: R_MIPS_NONE \*ABS\* + 254: R_MIPS_NONE \*ABS\* +0000000000000258 88250000 lwl a1,0\(at\) +000000000000025c 98250003 lwr a1,3\(at\) +0000000000000260 df810000 ld at,0\(gp\) + 260: R_MIPS_GOT_DISP dg2 + 260: R_MIPS_NONE \*ABS\* + 260: R_MIPS_NONE \*ABS\* +0000000000000264 6421000c daddiu at,at,12 +0000000000000268 88250000 lwl a1,0\(at\) +000000000000026c 98250003 lwr a1,3\(at\) +0000000000000270 df810000 ld at,0\(gp\) + 270: R_MIPS_GOT_DISP dg2 + 270: R_MIPS_NONE \*ABS\* + 270: R_MIPS_NONE \*ABS\* +0000000000000274 0031082d daddu at,at,s1 +0000000000000278 88250000 lwl a1,0\(at\) +000000000000027c 98250003 lwr a1,3\(at\) +0000000000000280 df810000 ld at,0\(gp\) + 280: R_MIPS_GOT_DISP dg2 + 280: R_MIPS_NONE \*ABS\* + 280: R_MIPS_NONE \*ABS\* +0000000000000284 6421000c daddiu at,at,12 +0000000000000288 0031082d daddu at,at,s1 +000000000000028c 88250000 lwl a1,0\(at\) +0000000000000290 98250003 lwr a1,3\(at\) +0000000000000294 df810000 ld at,0\(gp\) + 294: R_MIPS_GOT_DISP dg2 + 294: R_MIPS_NONE \*ABS\* + 294: R_MIPS_NONE \*ABS\* +0000000000000298 64210022 daddiu at,at,34 +000000000000029c 0025082d daddu at,at,a1 +00000000000002a0 88250000 lwl a1,0\(at\) +00000000000002a4 98250003 lwr a1,3\(at\) +00000000000002a8 df810000 ld at,0\(gp\) + 2a8: R_MIPS_GOT_DISP dg2 + 2a8: R_MIPS_NONE \*ABS\* + 2a8: R_MIPS_NONE \*ABS\* +00000000000002ac 64210038 daddiu at,at,56 +00000000000002b0 0025082d daddu at,at,a1 +00000000000002b4 a8250000 swl a1,0\(at\) +00000000000002b8 b8250003 swr a1,3\(at\) +00000000000002bc df850000 ld a1,0\(gp\) + 2bc: R_MIPS_GOT_DISP \.data\+0xb4 + 2bc: R_MIPS_NONE \*ABS\*\+0xb4 + 2bc: R_MIPS_NONE \*ABS\*\+0xb4 +00000000000002c0 df850000 ld a1,0\(gp\) + 2c0: R_MIPS_GOT_DISP \.data\+0xc0 + 2c0: R_MIPS_NONE \*ABS\*\+0xc0 + 2c0: R_MIPS_NONE \*ABS\*\+0xc0 +00000000000002c4 df850000 ld a1,0\(gp\) + 2c4: R_MIPS_GOT_DISP \.data\+0x1e2f4 + 2c4: R_MIPS_NONE \*ABS\*\+0x1e2f4 + 2c4: R_MIPS_NONE \*ABS\*\+0x1e2f4 +00000000000002c8 df850000 ld a1,0\(gp\) + 2c8: R_MIPS_GOT_DISP \.data\+0xb4 + 2c8: R_MIPS_NONE \*ABS\*\+0xb4 + 2c8: R_MIPS_NONE \*ABS\*\+0xb4 +00000000000002cc 00b1282d daddu a1,a1,s1 +00000000000002d0 df850000 ld a1,0\(gp\) + 2d0: R_MIPS_GOT_DISP \.data\+0xc0 + 2d0: R_MIPS_NONE \*ABS\*\+0xc0 + 2d0: R_MIPS_NONE \*ABS\*\+0xc0 +00000000000002d4 00b1282d daddu a1,a1,s1 +00000000000002d8 df850000 ld a1,0\(gp\) + 2d8: R_MIPS_GOT_DISP \.data\+0x1e2f4 + 2d8: R_MIPS_NONE \*ABS\*\+0x1e2f4 + 2d8: R_MIPS_NONE \*ABS\*\+0x1e2f4 +00000000000002dc 00b1282d daddu a1,a1,s1 +00000000000002e0 df850000 ld a1,0\(gp\) + 2e0: R_MIPS_GOT_PAGE \.data\+0xb4 + 2e0: R_MIPS_NONE \*ABS\*\+0xb4 + 2e0: R_MIPS_NONE \*ABS\*\+0xb4 +00000000000002e4 dca50000 ld a1,0\(a1\) + 2e4: R_MIPS_GOT_OFST \.data\+0xb4 + 2e4: R_MIPS_NONE \*ABS\*\+0xb4 + 2e4: R_MIPS_NONE \*ABS\*\+0xb4 +00000000000002e8 df850000 ld a1,0\(gp\) + 2e8: R_MIPS_GOT_PAGE \.data\+0xc0 + 2e8: R_MIPS_NONE \*ABS\*\+0xc0 + 2e8: R_MIPS_NONE \*ABS\*\+0xc0 +00000000000002ec dca50000 ld a1,0\(a1\) + 2ec: R_MIPS_GOT_OFST \.data\+0xc0 + 2ec: R_MIPS_NONE \*ABS\*\+0xc0 + 2ec: R_MIPS_NONE \*ABS\*\+0xc0 +00000000000002f0 df850000 ld a1,0\(gp\) + 2f0: R_MIPS_GOT_PAGE \.data\+0xb4 + 2f0: R_MIPS_NONE \*ABS\*\+0xb4 + 2f0: R_MIPS_NONE \*ABS\*\+0xb4 +00000000000002f4 00b1282d daddu a1,a1,s1 +00000000000002f8 dca50000 ld a1,0\(a1\) + 2f8: R_MIPS_GOT_OFST \.data\+0xb4 + 2f8: R_MIPS_NONE \*ABS\*\+0xb4 + 2f8: R_MIPS_NONE \*ABS\*\+0xb4 +00000000000002fc df850000 ld a1,0\(gp\) + 2fc: R_MIPS_GOT_PAGE \.data\+0xc0 + 2fc: R_MIPS_NONE \*ABS\*\+0xc0 + 2fc: R_MIPS_NONE \*ABS\*\+0xc0 +0000000000000300 00b1282d daddu a1,a1,s1 +0000000000000304 dca50000 ld a1,0\(a1\) + 304: R_MIPS_GOT_OFST \.data\+0xc0 + 304: R_MIPS_NONE \*ABS\*\+0xc0 + 304: R_MIPS_NONE \*ABS\*\+0xc0 +0000000000000308 df810000 ld at,0\(gp\) + 308: R_MIPS_GOT_PAGE \.data\+0xd6 + 308: R_MIPS_NONE \*ABS\*\+0xd6 + 308: R_MIPS_NONE \*ABS\*\+0xd6 +000000000000030c 0025082d daddu at,at,a1 +0000000000000310 dc250000 ld a1,0\(at\) + 310: R_MIPS_GOT_OFST \.data\+0xd6 + 310: R_MIPS_NONE \*ABS\*\+0xd6 + 310: R_MIPS_NONE \*ABS\*\+0xd6 +0000000000000314 df810000 ld at,0\(gp\) + 314: R_MIPS_GOT_PAGE \.data\+0xec + 314: R_MIPS_NONE \*ABS\*\+0xec + 314: R_MIPS_NONE \*ABS\*\+0xec +0000000000000318 0025082d daddu at,at,a1 +000000000000031c fc250000 sd a1,0\(at\) + 31c: R_MIPS_GOT_OFST \.data\+0xec + 31c: R_MIPS_NONE \*ABS\*\+0xec + 31c: R_MIPS_NONE \*ABS\*\+0xec +0000000000000320 df810000 ld at,0\(gp\) + 320: R_MIPS_GOT_DISP \.data\+0xb4 + 320: R_MIPS_NONE \*ABS\*\+0xb4 + 320: R_MIPS_NONE \*ABS\*\+0xb4 +0000000000000324 88250000 lwl a1,0\(at\) +0000000000000328 98250003 lwr a1,3\(at\) +000000000000032c df810000 ld at,0\(gp\) + 32c: R_MIPS_GOT_DISP \.data\+0xc0 + 32c: R_MIPS_NONE \*ABS\*\+0xc0 + 32c: R_MIPS_NONE \*ABS\*\+0xc0 +0000000000000330 88250000 lwl a1,0\(at\) +0000000000000334 98250003 lwr a1,3\(at\) +0000000000000338 df810000 ld at,0\(gp\) + 338: R_MIPS_GOT_DISP \.data\+0xb4 + 338: R_MIPS_NONE \*ABS\*\+0xb4 + 338: R_MIPS_NONE \*ABS\*\+0xb4 +000000000000033c 0031082d daddu at,at,s1 +0000000000000340 88250000 lwl a1,0\(at\) +0000000000000344 98250003 lwr a1,3\(at\) +0000000000000348 df810000 ld at,0\(gp\) + 348: R_MIPS_GOT_DISP \.data\+0xc0 + 348: R_MIPS_NONE \*ABS\*\+0xc0 + 348: R_MIPS_NONE \*ABS\*\+0xc0 +000000000000034c 0031082d daddu at,at,s1 +0000000000000350 88250000 lwl a1,0\(at\) +0000000000000354 98250003 lwr a1,3\(at\) +0000000000000358 df810000 ld at,0\(gp\) + 358: R_MIPS_GOT_DISP \.data\+0xd6 + 358: R_MIPS_NONE \*ABS\*\+0xd6 + 358: R_MIPS_NONE \*ABS\*\+0xd6 +000000000000035c 0025082d daddu at,at,a1 +0000000000000360 88250000 lwl a1,0\(at\) +0000000000000364 98250003 lwr a1,3\(at\) +0000000000000368 df810000 ld at,0\(gp\) + 368: R_MIPS_GOT_DISP \.data\+0xec + 368: R_MIPS_NONE \*ABS\*\+0xec + 368: R_MIPS_NONE \*ABS\*\+0xec +000000000000036c 0025082d daddu at,at,a1 +0000000000000370 a8250000 swl a1,0\(at\) +0000000000000374 b8250003 swr a1,3\(at\) +0000000000000378 df850000 ld a1,0\(gp\) + 378: R_MIPS_GOT_DISP fn2 + 378: R_MIPS_NONE \*ABS\* + 378: R_MIPS_NONE \*ABS\* +000000000000037c df850000 ld a1,0\(gp\) + 37c: R_MIPS_GOT_DISP \.text\+0x404 + 37c: R_MIPS_NONE \*ABS\*\+0x404 + 37c: R_MIPS_NONE \*ABS\*\+0x404 +0000000000000380 df990000 ld t9,0\(gp\) + 380: R_MIPS_CALL16 fn2 + 380: R_MIPS_NONE \*ABS\* + 380: R_MIPS_NONE \*ABS\* +0000000000000384 df990000 ld t9,0\(gp\) + 384: R_MIPS_GOT_DISP \.text\+0x404 + 384: R_MIPS_NONE \*ABS\*\+0x404 + 384: R_MIPS_NONE \*ABS\*\+0x404 +0000000000000388 df990000 ld t9,0\(gp\) + 388: R_MIPS_CALL16 fn2 + 388: R_MIPS_NONE \*ABS\* + 388: R_MIPS_NONE \*ABS\* +000000000000038c 0320f809 jalr t9 + 38c: R_MIPS_JALR fn2 + 38c: R_MIPS_NONE \*ABS\* + 38c: R_MIPS_NONE \*ABS\* +0000000000000390 00000000 nop +0000000000000394 df990000 ld t9,0\(gp\) + 394: R_MIPS_GOT_DISP \.text\+0x404 + 394: R_MIPS_NONE \*ABS\*\+0x404 + 394: R_MIPS_NONE \*ABS\*\+0x404 +0000000000000398 0320f809 jalr t9 + 398: R_MIPS_JALR \.text\+0x404 + 398: R_MIPS_NONE \*ABS\*\+0x404 + 398: R_MIPS_NONE \*ABS\*\+0x404 +000000000000039c 00000000 nop +00000000000003a0 1000ff17 b 0000000000000000 +00000000000003a4 df850000 ld a1,0\(gp\) + 3a4: R_MIPS_GOT_DISP dg1 + 3a4: R_MIPS_NONE \*ABS\* + 3a4: R_MIPS_NONE \*ABS\* +00000000000003a8 df850000 ld a1,0\(gp\) + 3a8: R_MIPS_GOT_PAGE dg2 + 3a8: R_MIPS_NONE \*ABS\* + 3a8: R_MIPS_NONE \*ABS\* +00000000000003ac 10000015 b 0000000000000404 +00000000000003b0 dca50000 ld a1,0\(a1\) + 3b0: R_MIPS_GOT_OFST dg2 + 3b0: R_MIPS_NONE \*ABS\* + 3b0: R_MIPS_NONE \*ABS\* +00000000000003b4 1000ff12 b 0000000000000000 +00000000000003b8 df850000 ld a1,0\(gp\) + 3b8: R_MIPS_GOT_DISP \.data\+0x3c + 3b8: R_MIPS_NONE \*ABS\*\+0x3c + 3b8: R_MIPS_NONE \*ABS\*\+0x3c +00000000000003bc df850000 ld a1,0\(gp\) + 3bc: R_MIPS_GOT_DISP \.data\+0xc0 + 3bc: R_MIPS_NONE \*ABS\*\+0xc0 + 3bc: R_MIPS_NONE \*ABS\*\+0xc0 +00000000000003c0 10000010 b 0000000000000404 +00000000000003c4 00000000 nop +00000000000003c8 df850000 ld a1,0\(gp\) + 3c8: R_MIPS_GOT_DISP \.data\+0x1e27c + 3c8: R_MIPS_NONE \*ABS\*\+0x1e27c + 3c8: R_MIPS_NONE \*ABS\*\+0x1e27c +00000000000003cc 1000ff0c b 0000000000000000 +00000000000003d0 00000000 nop +00000000000003d4 df850000 ld a1,0\(gp\) + 3d4: R_MIPS_GOT_PAGE \.data\+0xb4 + 3d4: R_MIPS_NONE \*ABS\*\+0xb4 + 3d4: R_MIPS_NONE \*ABS\*\+0xb4 +00000000000003d8 1000000a b 0000000000000404 +00000000000003dc dca50000 ld a1,0\(a1\) + 3dc: R_MIPS_GOT_OFST \.data\+0xb4 + 3dc: R_MIPS_NONE \*ABS\*\+0xb4 + 3dc: R_MIPS_NONE \*ABS\*\+0xb4 +00000000000003e0 df850000 ld a1,0\(gp\) + 3e0: R_MIPS_GOT_PAGE \.data\+0x48 + 3e0: R_MIPS_NONE \*ABS\*\+0x48 + 3e0: R_MIPS_NONE \*ABS\*\+0x48 +00000000000003e4 1000ff06 b 0000000000000000 +00000000000003e8 dca50000 ld a1,0\(a1\) + 3e8: R_MIPS_GOT_OFST \.data\+0x48 + 3e8: R_MIPS_NONE \*ABS\*\+0x48 + 3e8: R_MIPS_NONE \*ABS\*\+0x48 +00000000000003ec df810000 ld at,0\(gp\) + 3ec: R_MIPS_GOT_PAGE \.data\+0xd6 + 3ec: R_MIPS_NONE \*ABS\*\+0xd6 + 3ec: R_MIPS_NONE \*ABS\*\+0xd6 +00000000000003f0 0025082d daddu at,at,a1 +00000000000003f4 10000003 b 0000000000000404 +00000000000003f8 dc250000 ld a1,0\(at\) + 3f8: R_MIPS_GOT_OFST \.data\+0xd6 + 3f8: R_MIPS_NONE \*ABS\*\+0xd6 + 3f8: R_MIPS_NONE \*ABS\*\+0xd6 + \.\.\. + \.\.\. diff --git a/gas/testsuite/gas/mips/elf-rel-got-n64.s b/gas/testsuite/gas/mips/elf-rel-got-n64.s new file mode 100644 index 0000000000..8b7153e18c --- /dev/null +++ b/gas/testsuite/gas/mips/elf-rel-got-n64.s @@ -0,0 +1,162 @@ +# MIPS ELF GOT reloc n64 + + .data + .align 3 +sp1: + .space 60 + .globl dg1 +dg1: +dl1: + .space 60 + + + .text + + .globl fn + .ent fn + .type fn,@function +fn: +.Lfn: + dla $5,dg1+0 + dla $5,dg1+12 + dla $5,dg1+123456 + dla $5,dg1+0($17) + dla $5,dg1+12($17) + dla $5,dg1+123456($17) + + ld $5,dg1+0 + ld $5,dg1+12 + ld $5,dg1+0($17) + ld $5,dg1+12($17) + ld $5,dg1+34($5) + sd $5,dg1+56($5) + + ulw $5,dg1+0 + ulw $5,dg1+12 + ulw $5,dg1+0($17) + ulw $5,dg1+12($17) + ulw $5,dg1+34($5) + usw $5,dg1+56($5) + + dla $5,dl1+0 + dla $5,dl1+12 + dla $5,dl1+123456 + dla $5,dl1+0($17) + dla $5,dl1+12($17) + dla $5,dl1+123456($17) + + ld $5,dl1+0 + ld $5,dl1+12 + ld $5,dl1+0($17) + ld $5,dl1+12($17) + ld $5,dl1+34($5) + sd $5,dl1+56($5) + + ulw $5,dl1+0 + ulw $5,dl1+12 + ulw $5,dl1+0($17) + ulw $5,dl1+12($17) + ulw $5,dl1+34($5) + usw $5,dl1+56($5) + + dla $5,fn + dla $5,.Lfn + dla $25,fn + dla $25,.Lfn + jal fn + jal .Lfn + + + dla $5,dg2+0 + dla $5,dg2+12 + dla $5,dg2+123456 + dla $5,dg2+0($17) + dla $5,dg2+12($17) + dla $5,dg2+123456($17) + + ld $5,dg2+0 + ld $5,dg2+12 + ld $5,dg2+0($17) + ld $5,dg2+12($17) + ld $5,dg2+34($5) + sd $5,dg2+56($5) + + ulw $5,dg2+0 + ulw $5,dg2+12 + ulw $5,dg2+0($17) + ulw $5,dg2+12($17) + ulw $5,dg2+34($5) + usw $5,dg2+56($5) + + dla $5,dl2+0 + dla $5,dl2+12 + dla $5,dl2+123456 + dla $5,dl2+0($17) + dla $5,dl2+12($17) + dla $5,dl2+123456($17) + + ld $5,dl2+0 + ld $5,dl2+12 + ld $5,dl2+0($17) + ld $5,dl2+12($17) + ld $5,dl2+34($5) + sd $5,dl2+56($5) + + ulw $5,dl2+0 + ulw $5,dl2+12 + ulw $5,dl2+0($17) + ulw $5,dl2+12($17) + ulw $5,dl2+34($5) + usw $5,dl2+56($5) + + dla $5,fn2 + dla $5,.Lfn2 + dla $25,fn2 + dla $25,.Lfn2 + jal fn2 + jal .Lfn2 + +# Check that filling delay slots doesn't break our relocations. + + dla $5,dg1 + b .Lfn + ld $5,dg2 + b .Lfn2 + + dla $5,dl1 + b .Lfn + dla $5,dl2+12 + b .Lfn2 + dla $5,dl1+123456 + b .Lfn + + ld $5,dl2 + b .Lfn2 + ld $5,dl1+12 + b .Lfn + ld $5,dl2+34($5) + b .Lfn2 + +# Force at least 8 (non-deddlay-slot) zero bytes, to make 'objdump' print ... + .space 8 + + .end fn + + .globl fn2 + .ent fn2 + .type fn2,@function +fn2: +.Lfn2: + .end fn2 + + .globl __start +__start: + + .data + .align 3 +sp2: + .space 60 + .globl dg2 +dg2: +dl2: + .space 60 diff --git a/gas/testsuite/gas/mips/elf-rel-xgot-n32.d b/gas/testsuite/gas/mips/elf-rel-xgot-n32.d new file mode 100644 index 0000000000..8eac99e04b --- /dev/null +++ b/gas/testsuite/gas/mips/elf-rel-xgot-n32.d @@ -0,0 +1,579 @@ +#objdump: -dr --prefix-addresses --show-raw-insn +#name: MIPS ELF xgot reloc n32 +#as: -n32 -KPIC -xgot +#source: elf-rel-got-n32.s + +.*: +file format elf32-n.*mips.* + +Disassembly of section \.text: +00000000 3c050000 lui a1,0x0 + 0: R_MIPS_GOT_HI16 dg1 +00000004 00bc2820 add a1,a1,gp +00000008 8ca50000 lw a1,0\(a1\) + 8: R_MIPS_GOT_LO16 dg1 +0000000c 3c050000 lui a1,0x0 + c: R_MIPS_GOT_HI16 dg1 +00000010 00bc2820 add a1,a1,gp +00000014 8ca50000 lw a1,0\(a1\) + 14: R_MIPS_GOT_LO16 dg1 +00000018 20a5000c addi a1,a1,12 +0000001c 3c050000 lui a1,0x0 + 1c: R_MIPS_GOT_HI16 dg1 +00000020 00bc2820 add a1,a1,gp +00000024 8ca50000 lw a1,0\(a1\) + 24: R_MIPS_GOT_LO16 dg1 +00000028 3c010002 lui at,0x2 +0000002c 2021e240 addi at,at,-7616 +00000030 00a12820 add a1,a1,at +00000034 3c050000 lui a1,0x0 + 34: R_MIPS_GOT_HI16 dg1 +00000038 00bc2820 add a1,a1,gp +0000003c 8ca50000 lw a1,0\(a1\) + 3c: R_MIPS_GOT_LO16 dg1 +00000040 00b12820 add a1,a1,s1 +00000044 3c050000 lui a1,0x0 + 44: R_MIPS_GOT_HI16 dg1 +00000048 00bc2820 add a1,a1,gp +0000004c 8ca50000 lw a1,0\(a1\) + 4c: R_MIPS_GOT_LO16 dg1 +00000050 20a5000c addi a1,a1,12 +00000054 00b12820 add a1,a1,s1 +00000058 3c050000 lui a1,0x0 + 58: R_MIPS_GOT_HI16 dg1 +0000005c 00bc2820 add a1,a1,gp +00000060 8ca50000 lw a1,0\(a1\) + 60: R_MIPS_GOT_LO16 dg1 +00000064 3c010002 lui at,0x2 +00000068 2021e240 addi at,at,-7616 +0000006c 00a12820 add a1,a1,at +00000070 00b12820 add a1,a1,s1 +00000074 3c050000 lui a1,0x0 + 74: R_MIPS_GOT_HI16 dg1 +00000078 00bc2820 add a1,a1,gp +0000007c 8ca50000 lw a1,0\(a1\) + 7c: R_MIPS_GOT_LO16 dg1 +00000080 8ca50000 lw a1,0\(a1\) +00000084 3c050000 lui a1,0x0 + 84: R_MIPS_GOT_HI16 dg1 +00000088 00bc2820 add a1,a1,gp +0000008c 8ca50000 lw a1,0\(a1\) + 8c: R_MIPS_GOT_LO16 dg1 +00000090 8ca5000c lw a1,12\(a1\) +00000094 3c050000 lui a1,0x0 + 94: R_MIPS_GOT_HI16 dg1 +00000098 00bc2820 add a1,a1,gp +0000009c 8ca50000 lw a1,0\(a1\) + 9c: R_MIPS_GOT_LO16 dg1 +000000a0 00b12820 add a1,a1,s1 +000000a4 8ca50000 lw a1,0\(a1\) +000000a8 3c050000 lui a1,0x0 + a8: R_MIPS_GOT_HI16 dg1 +000000ac 00bc2820 add a1,a1,gp +000000b0 8ca50000 lw a1,0\(a1\) + b0: R_MIPS_GOT_LO16 dg1 +000000b4 00b12820 add a1,a1,s1 +000000b8 8ca5000c lw a1,12\(a1\) +000000bc 3c010000 lui at,0x0 + bc: R_MIPS_GOT_HI16 dg1 +000000c0 003c0820 add at,at,gp +000000c4 8c210000 lw at,0\(at\) + c4: R_MIPS_GOT_LO16 dg1 +000000c8 00250820 add at,at,a1 +000000cc 8c250022 lw a1,34\(at\) +000000d0 3c010000 lui at,0x0 + d0: R_MIPS_GOT_HI16 dg1 +000000d4 003c0820 add at,at,gp +000000d8 8c210000 lw at,0\(at\) + d8: R_MIPS_GOT_LO16 dg1 +000000dc 00250820 add at,at,a1 +000000e0 ac250038 sw a1,56\(at\) +000000e4 3c010000 lui at,0x0 + e4: R_MIPS_GOT_HI16 dg1 +000000e8 003c0820 add at,at,gp +000000ec 8c210000 lw at,0\(at\) + ec: R_MIPS_GOT_LO16 dg1 +000000f0 88250000 lwl a1,0\(at\) +000000f4 98250003 lwr a1,3\(at\) +000000f8 3c010000 lui at,0x0 + f8: R_MIPS_GOT_HI16 dg1 +000000fc 003c0820 add at,at,gp +00000100 8c210000 lw at,0\(at\) + 100: R_MIPS_GOT_LO16 dg1 +00000104 2021000c addi at,at,12 +00000108 88250000 lwl a1,0\(at\) +0000010c 98250003 lwr a1,3\(at\) +00000110 3c010000 lui at,0x0 + 110: R_MIPS_GOT_HI16 dg1 +00000114 003c0820 add at,at,gp +00000118 8c210000 lw at,0\(at\) + 118: R_MIPS_GOT_LO16 dg1 +0000011c 00310820 add at,at,s1 +00000120 88250000 lwl a1,0\(at\) +00000124 98250003 lwr a1,3\(at\) +00000128 3c010000 lui at,0x0 + 128: R_MIPS_GOT_HI16 dg1 +0000012c 003c0820 add at,at,gp +00000130 8c210000 lw at,0\(at\) + 130: R_MIPS_GOT_LO16 dg1 +00000134 2021000c addi at,at,12 +00000138 00310820 add at,at,s1 +0000013c 88250000 lwl a1,0\(at\) +00000140 98250003 lwr a1,3\(at\) +00000144 3c010000 lui at,0x0 + 144: R_MIPS_GOT_HI16 dg1 +00000148 003c0820 add at,at,gp +0000014c 8c210000 lw at,0\(at\) + 14c: R_MIPS_GOT_LO16 dg1 +00000150 20210022 addi at,at,34 +00000154 00250820 add at,at,a1 +00000158 88250000 lwl a1,0\(at\) +0000015c 98250003 lwr a1,3\(at\) +00000160 3c010000 lui at,0x0 + 160: R_MIPS_GOT_HI16 dg1 +00000164 003c0820 add at,at,gp +00000168 8c210000 lw at,0\(at\) + 168: R_MIPS_GOT_LO16 dg1 +0000016c 20210038 addi at,at,56 +00000170 00250820 add at,at,a1 +00000174 a8250000 swl a1,0\(at\) +00000178 b8250003 swr a1,3\(at\) +0000017c 8f850000 lw a1,0\(gp\) + 17c: R_MIPS_GOT_PAGE \.data\+0x3c +00000180 20a50000 addi a1,a1,0 + 180: R_MIPS_GOT_OFST \.data\+0x3c +00000184 8f850000 lw a1,0\(gp\) + 184: R_MIPS_GOT_PAGE \.data\+0x48 +00000188 20a50000 addi a1,a1,0 + 188: R_MIPS_GOT_OFST \.data\+0x48 +0000018c 8f850000 lw a1,0\(gp\) + 18c: R_MIPS_GOT_PAGE \.data\+0x1e27c +00000190 20a50000 addi a1,a1,0 + 190: R_MIPS_GOT_OFST \.data\+0x1e27c +00000194 8f850000 lw a1,0\(gp\) + 194: R_MIPS_GOT_PAGE \.data\+0x3c +00000198 20a50000 addi a1,a1,0 + 198: R_MIPS_GOT_OFST \.data\+0x3c +0000019c 00b12820 add a1,a1,s1 +000001a0 8f850000 lw a1,0\(gp\) + 1a0: R_MIPS_GOT_PAGE \.data\+0x48 +000001a4 20a50000 addi a1,a1,0 + 1a4: R_MIPS_GOT_OFST \.data\+0x48 +000001a8 00b12820 add a1,a1,s1 +000001ac 8f850000 lw a1,0\(gp\) + 1ac: R_MIPS_GOT_PAGE \.data\+0x1e27c +000001b0 20a50000 addi a1,a1,0 + 1b0: R_MIPS_GOT_OFST \.data\+0x1e27c +000001b4 00b12820 add a1,a1,s1 +000001b8 8f850000 lw a1,0\(gp\) + 1b8: R_MIPS_GOT_PAGE \.data\+0x3c +000001bc 8ca50000 lw a1,0\(a1\) + 1bc: R_MIPS_GOT_OFST \.data\+0x3c +000001c0 8f850000 lw a1,0\(gp\) + 1c0: R_MIPS_GOT_PAGE \.data\+0x48 +000001c4 8ca50000 lw a1,0\(a1\) + 1c4: R_MIPS_GOT_OFST \.data\+0x48 +000001c8 8f850000 lw a1,0\(gp\) + 1c8: R_MIPS_GOT_PAGE \.data\+0x3c +000001cc 00b12820 add a1,a1,s1 +000001d0 8ca50000 lw a1,0\(a1\) + 1d0: R_MIPS_GOT_OFST \.data\+0x3c +000001d4 8f850000 lw a1,0\(gp\) + 1d4: R_MIPS_GOT_PAGE \.data\+0x48 +000001d8 00b12820 add a1,a1,s1 +000001dc 8ca50000 lw a1,0\(a1\) + 1dc: R_MIPS_GOT_OFST \.data\+0x48 +000001e0 8f810000 lw at,0\(gp\) + 1e0: R_MIPS_GOT_PAGE \.data\+0x5e +000001e4 00250820 add at,at,a1 +000001e8 8c250000 lw a1,0\(at\) + 1e8: R_MIPS_GOT_OFST \.data\+0x5e +000001ec 8f810000 lw at,0\(gp\) + 1ec: R_MIPS_GOT_PAGE \.data\+0x74 +000001f0 00250820 add at,at,a1 +000001f4 ac250000 sw a1,0\(at\) + 1f4: R_MIPS_GOT_OFST \.data\+0x74 +000001f8 8f810000 lw at,0\(gp\) + 1f8: R_MIPS_GOT_PAGE \.data\+0x3c +000001fc 20210000 addi at,at,0 + 1fc: R_MIPS_GOT_OFST \.data\+0x3c +00000200 88250000 lwl a1,0\(at\) +00000204 98250003 lwr a1,3\(at\) +00000208 8f810000 lw at,0\(gp\) + 208: R_MIPS_GOT_PAGE \.data\+0x48 +0000020c 20210000 addi at,at,0 + 20c: R_MIPS_GOT_OFST \.data\+0x48 +00000210 88250000 lwl a1,0\(at\) +00000214 98250003 lwr a1,3\(at\) +00000218 8f810000 lw at,0\(gp\) + 218: R_MIPS_GOT_PAGE \.data\+0x3c +0000021c 20210000 addi at,at,0 + 21c: R_MIPS_GOT_OFST \.data\+0x3c +00000220 00310820 add at,at,s1 +00000224 88250000 lwl a1,0\(at\) +00000228 98250003 lwr a1,3\(at\) +0000022c 8f810000 lw at,0\(gp\) + 22c: R_MIPS_GOT_PAGE \.data\+0x48 +00000230 20210000 addi at,at,0 + 230: R_MIPS_GOT_OFST \.data\+0x48 +00000234 00310820 add at,at,s1 +00000238 88250000 lwl a1,0\(at\) +0000023c 98250003 lwr a1,3\(at\) +00000240 8f810000 lw at,0\(gp\) + 240: R_MIPS_GOT_PAGE \.data\+0x5e +00000244 20210000 addi at,at,0 + 244: R_MIPS_GOT_OFST \.data\+0x5e +00000248 00250820 add at,at,a1 +0000024c 88250000 lwl a1,0\(at\) +00000250 98250003 lwr a1,3\(at\) +00000254 8f810000 lw at,0\(gp\) + 254: R_MIPS_GOT_PAGE \.data\+0x74 +00000258 20210000 addi at,at,0 + 258: R_MIPS_GOT_OFST \.data\+0x74 +0000025c 00250820 add at,at,a1 +00000260 a8250000 swl a1,0\(at\) +00000264 b8250003 swr a1,3\(at\) +00000268 3c050000 lui a1,0x0 + 268: R_MIPS_GOT_HI16 fn +0000026c 00bc2820 add a1,a1,gp +00000270 8ca50000 lw a1,0\(a1\) + 270: R_MIPS_GOT_LO16 fn +00000274 8f850000 lw a1,0\(gp\) + 274: R_MIPS_GOT_PAGE \.text +00000278 20a50000 addi a1,a1,0 + 278: R_MIPS_GOT_OFST \.text +0000027c 3c190000 lui t9,0x0 + 27c: R_MIPS_CALL_HI16 fn +00000280 033cc820 add t9,t9,gp +00000284 8f390000 lw t9,0\(t9\) + 284: R_MIPS_CALL_LO16 fn +00000288 8f990000 lw t9,0\(gp\) + 288: R_MIPS_GOT_PAGE \.text +0000028c 23390000 addi t9,t9,0 + 28c: R_MIPS_GOT_OFST \.text +00000290 3c190000 lui t9,0x0 + 290: R_MIPS_CALL_HI16 fn +00000294 033cc820 add t9,t9,gp +00000298 8f390000 lw t9,0\(t9\) + 298: R_MIPS_CALL_LO16 fn +0000029c 0320f809 jalr t9 + 29c: R_MIPS_JALR fn +000002a0 00000000 nop +000002a4 8f990000 lw t9,0\(gp\) + 2a4: R_MIPS_GOT_PAGE \.text +000002a8 23390000 addi t9,t9,0 + 2a8: R_MIPS_GOT_OFST \.text +000002ac 0320f809 jalr t9 + 2ac: R_MIPS_JALR \.text +000002b0 00000000 nop +000002b4 3c050000 lui a1,0x0 + 2b4: R_MIPS_GOT_HI16 dg2 +000002b8 00bc2820 add a1,a1,gp +000002bc 8ca50000 lw a1,0\(a1\) + 2bc: R_MIPS_GOT_LO16 dg2 +000002c0 3c050000 lui a1,0x0 + 2c0: R_MIPS_GOT_HI16 dg2 +000002c4 00bc2820 add a1,a1,gp +000002c8 8ca50000 lw a1,0\(a1\) + 2c8: R_MIPS_GOT_LO16 dg2 +000002cc 20a5000c addi a1,a1,12 +000002d0 3c050000 lui a1,0x0 + 2d0: R_MIPS_GOT_HI16 dg2 +000002d4 00bc2820 add a1,a1,gp +000002d8 8ca50000 lw a1,0\(a1\) + 2d8: R_MIPS_GOT_LO16 dg2 +000002dc 3c010002 lui at,0x2 +000002e0 2021e240 addi at,at,-7616 +000002e4 00a12820 add a1,a1,at +000002e8 3c050000 lui a1,0x0 + 2e8: R_MIPS_GOT_HI16 dg2 +000002ec 00bc2820 add a1,a1,gp +000002f0 8ca50000 lw a1,0\(a1\) + 2f0: R_MIPS_GOT_LO16 dg2 +000002f4 00b12820 add a1,a1,s1 +000002f8 3c050000 lui a1,0x0 + 2f8: R_MIPS_GOT_HI16 dg2 +000002fc 00bc2820 add a1,a1,gp +00000300 8ca50000 lw a1,0\(a1\) + 300: R_MIPS_GOT_LO16 dg2 +00000304 20a5000c addi a1,a1,12 +00000308 00b12820 add a1,a1,s1 +0000030c 3c050000 lui a1,0x0 + 30c: R_MIPS_GOT_HI16 dg2 +00000310 00bc2820 add a1,a1,gp +00000314 8ca50000 lw a1,0\(a1\) + 314: R_MIPS_GOT_LO16 dg2 +00000318 3c010002 lui at,0x2 +0000031c 2021e240 addi at,at,-7616 +00000320 00a12820 add a1,a1,at +00000324 00b12820 add a1,a1,s1 +00000328 3c050000 lui a1,0x0 + 328: R_MIPS_GOT_HI16 dg2 +0000032c 00bc2820 add a1,a1,gp +00000330 8ca50000 lw a1,0\(a1\) + 330: R_MIPS_GOT_LO16 dg2 +00000334 8ca50000 lw a1,0\(a1\) +00000338 3c050000 lui a1,0x0 + 338: R_MIPS_GOT_HI16 dg2 +0000033c 00bc2820 add a1,a1,gp +00000340 8ca50000 lw a1,0\(a1\) + 340: R_MIPS_GOT_LO16 dg2 +00000344 8ca5000c lw a1,12\(a1\) +00000348 3c050000 lui a1,0x0 + 348: R_MIPS_GOT_HI16 dg2 +0000034c 00bc2820 add a1,a1,gp +00000350 8ca50000 lw a1,0\(a1\) + 350: R_MIPS_GOT_LO16 dg2 +00000354 00b12820 add a1,a1,s1 +00000358 8ca50000 lw a1,0\(a1\) +0000035c 3c050000 lui a1,0x0 + 35c: R_MIPS_GOT_HI16 dg2 +00000360 00bc2820 add a1,a1,gp +00000364 8ca50000 lw a1,0\(a1\) + 364: R_MIPS_GOT_LO16 dg2 +00000368 00b12820 add a1,a1,s1 +0000036c 8ca5000c lw a1,12\(a1\) +00000370 3c010000 lui at,0x0 + 370: R_MIPS_GOT_HI16 dg2 +00000374 003c0820 add at,at,gp +00000378 8c210000 lw at,0\(at\) + 378: R_MIPS_GOT_LO16 dg2 +0000037c 00250820 add at,at,a1 +00000380 8c250022 lw a1,34\(at\) +00000384 3c010000 lui at,0x0 + 384: R_MIPS_GOT_HI16 dg2 +00000388 003c0820 add at,at,gp +0000038c 8c210000 lw at,0\(at\) + 38c: R_MIPS_GOT_LO16 dg2 +00000390 00250820 add at,at,a1 +00000394 ac250038 sw a1,56\(at\) +00000398 3c010000 lui at,0x0 + 398: R_MIPS_GOT_HI16 dg2 +0000039c 003c0820 add at,at,gp +000003a0 8c210000 lw at,0\(at\) + 3a0: R_MIPS_GOT_LO16 dg2 +000003a4 88250000 lwl a1,0\(at\) +000003a8 98250003 lwr a1,3\(at\) +000003ac 3c010000 lui at,0x0 + 3ac: R_MIPS_GOT_HI16 dg2 +000003b0 003c0820 add at,at,gp +000003b4 8c210000 lw at,0\(at\) + 3b4: R_MIPS_GOT_LO16 dg2 +000003b8 2021000c addi at,at,12 +000003bc 88250000 lwl a1,0\(at\) +000003c0 98250003 lwr a1,3\(at\) +000003c4 3c010000 lui at,0x0 + 3c4: R_MIPS_GOT_HI16 dg2 +000003c8 003c0820 add at,at,gp +000003cc 8c210000 lw at,0\(at\) + 3cc: R_MIPS_GOT_LO16 dg2 +000003d0 00310820 add at,at,s1 +000003d4 88250000 lwl a1,0\(at\) +000003d8 98250003 lwr a1,3\(at\) +000003dc 3c010000 lui at,0x0 + 3dc: R_MIPS_GOT_HI16 dg2 +000003e0 003c0820 add at,at,gp +000003e4 8c210000 lw at,0\(at\) + 3e4: R_MIPS_GOT_LO16 dg2 +000003e8 2021000c addi at,at,12 +000003ec 00310820 add at,at,s1 +000003f0 88250000 lwl a1,0\(at\) +000003f4 98250003 lwr a1,3\(at\) +000003f8 3c010000 lui at,0x0 + 3f8: R_MIPS_GOT_HI16 dg2 +000003fc 003c0820 add at,at,gp +00000400 8c210000 lw at,0\(at\) + 400: R_MIPS_GOT_LO16 dg2 +00000404 20210022 addi at,at,34 +00000408 00250820 add at,at,a1 +0000040c 88250000 lwl a1,0\(at\) +00000410 98250003 lwr a1,3\(at\) +00000414 3c010000 lui at,0x0 + 414: R_MIPS_GOT_HI16 dg2 +00000418 003c0820 add at,at,gp +0000041c 8c210000 lw at,0\(at\) + 41c: R_MIPS_GOT_LO16 dg2 +00000420 20210038 addi at,at,56 +00000424 00250820 add at,at,a1 +00000428 a8250000 swl a1,0\(at\) +0000042c b8250003 swr a1,3\(at\) +00000430 8f850000 lw a1,0\(gp\) + 430: R_MIPS_GOT_PAGE \.data\+0xb4 +00000434 20a50000 addi a1,a1,0 + 434: R_MIPS_GOT_OFST \.data\+0xb4 +00000438 8f850000 lw a1,0\(gp\) + 438: R_MIPS_GOT_PAGE \.data\+0xc0 +0000043c 20a50000 addi a1,a1,0 + 43c: R_MIPS_GOT_OFST \.data\+0xc0 +00000440 8f850000 lw a1,0\(gp\) + 440: R_MIPS_GOT_PAGE \.data\+0x1e2f4 +00000444 20a50000 addi a1,a1,0 + 444: R_MIPS_GOT_OFST \.data\+0x1e2f4 +00000448 8f850000 lw a1,0\(gp\) + 448: R_MIPS_GOT_PAGE \.data\+0xb4 +0000044c 20a50000 addi a1,a1,0 + 44c: R_MIPS_GOT_OFST \.data\+0xb4 +00000450 00b12820 add a1,a1,s1 +00000454 8f850000 lw a1,0\(gp\) + 454: R_MIPS_GOT_PAGE \.data\+0xc0 +00000458 20a50000 addi a1,a1,0 + 458: R_MIPS_GOT_OFST \.data\+0xc0 +0000045c 00b12820 add a1,a1,s1 +00000460 8f850000 lw a1,0\(gp\) + 460: R_MIPS_GOT_PAGE \.data\+0x1e2f4 +00000464 20a50000 addi a1,a1,0 + 464: R_MIPS_GOT_OFST \.data\+0x1e2f4 +00000468 00b12820 add a1,a1,s1 +0000046c 8f850000 lw a1,0\(gp\) + 46c: R_MIPS_GOT_PAGE \.data\+0xb4 +00000470 8ca50000 lw a1,0\(a1\) + 470: R_MIPS_GOT_OFST \.data\+0xb4 +00000474 8f850000 lw a1,0\(gp\) + 474: R_MIPS_GOT_PAGE \.data\+0xc0 +00000478 8ca50000 lw a1,0\(a1\) + 478: R_MIPS_GOT_OFST \.data\+0xc0 +0000047c 8f850000 lw a1,0\(gp\) + 47c: R_MIPS_GOT_PAGE \.data\+0xb4 +00000480 00b12820 add a1,a1,s1 +00000484 8ca50000 lw a1,0\(a1\) + 484: R_MIPS_GOT_OFST \.data\+0xb4 +00000488 8f850000 lw a1,0\(gp\) + 488: R_MIPS_GOT_PAGE \.data\+0xc0 +0000048c 00b12820 add a1,a1,s1 +00000490 8ca50000 lw a1,0\(a1\) + 490: R_MIPS_GOT_OFST \.data\+0xc0 +00000494 8f810000 lw at,0\(gp\) + 494: R_MIPS_GOT_PAGE \.data\+0xb4 +00000498 00250820 add at,at,a1 +0000049c 8c250000 lw a1,0\(at\) + 49c: R_MIPS_GOT_OFST \.data\+0xb4 +000004a0 8f810000 lw at,0\(gp\) + 4a0: R_MIPS_GOT_PAGE \.data\+0xec +000004a4 00250820 add at,at,a1 +000004a8 ac250000 sw a1,0\(at\) + 4a8: R_MIPS_GOT_OFST \.data\+0xec +000004ac 8f810000 lw at,0\(gp\) + 4ac: R_MIPS_GOT_PAGE \.data\+0xb4 +000004b0 20210000 addi at,at,0 + 4b0: R_MIPS_GOT_OFST \.data\+0xb4 +000004b4 88250000 lwl a1,0\(at\) +000004b8 98250003 lwr a1,3\(at\) +000004bc 8f810000 lw at,0\(gp\) + 4bc: R_MIPS_GOT_PAGE \.data\+0xc0 +000004c0 20210000 addi at,at,0 + 4c0: R_MIPS_GOT_OFST \.data\+0xc0 +000004c4 88250000 lwl a1,0\(at\) +000004c8 98250003 lwr a1,3\(at\) +000004cc 8f810000 lw at,0\(gp\) + 4cc: R_MIPS_GOT_PAGE \.data\+0xb4 +000004d0 20210000 addi at,at,0 + 4d0: R_MIPS_GOT_OFST \.data\+0xb4 +000004d4 00310820 add at,at,s1 +000004d8 88250000 lwl a1,0\(at\) +000004dc 98250003 lwr a1,3\(at\) +000004e0 8f810000 lw at,0\(gp\) + 4e0: R_MIPS_GOT_PAGE \.data\+0xc0 +000004e4 20210000 addi at,at,0 + 4e4: R_MIPS_GOT_OFST \.data\+0xc0 +000004e8 00310820 add at,at,s1 +000004ec 88250000 lwl a1,0\(at\) +000004f0 98250003 lwr a1,3\(at\) +000004f4 8f810000 lw at,0\(gp\) + 4f4: R_MIPS_GOT_PAGE \.data\+0xd6 +000004f8 20210000 addi at,at,0 + 4f8: R_MIPS_GOT_OFST \.data\+0xd6 +000004fc 00250820 add at,at,a1 +00000500 88250000 lwl a1,0\(at\) +00000504 98250003 lwr a1,3\(at\) +00000508 8f810000 lw at,0\(gp\) + 508: R_MIPS_GOT_PAGE \.data\+0xec +0000050c 20210000 addi at,at,0 + 50c: R_MIPS_GOT_OFST \.data\+0xec +00000510 00250820 add at,at,a1 +00000514 a8250000 swl a1,0\(at\) +00000518 b8250003 swr a1,3\(at\) +0000051c 3c050000 lui a1,0x0 + 51c: R_MIPS_GOT_HI16 fn2 +00000520 00bc2820 add a1,a1,gp +00000524 8ca50000 lw a1,0\(a1\) + 524: R_MIPS_GOT_LO16 fn2 +00000528 8f850000 lw a1,0\(gp\) + 528: R_MIPS_GOT_PAGE \.text\+0x600 +0000052c 20a50000 addi a1,a1,0 + 52c: R_MIPS_GOT_OFST \.text\+0x600 +00000530 3c190000 lui t9,0x0 + 530: R_MIPS_CALL_HI16 fn2 +00000534 033cc820 add t9,t9,gp +00000538 8f390000 lw t9,0\(t9\) + 538: R_MIPS_CALL_LO16 fn2 +0000053c 8f990000 lw t9,0\(gp\) + 53c: R_MIPS_GOT_PAGE \.text\+0x600 +00000540 23390000 addi t9,t9,0 + 540: R_MIPS_GOT_OFST \.text\+0x600 +00000544 3c190000 lui t9,0x0 + 544: R_MIPS_CALL_HI16 fn2 +00000548 033cc820 add t9,t9,gp +0000054c 8f390000 lw t9,0\(t9\) + 54c: R_MIPS_CALL_LO16 fn2 +00000550 0320f809 jalr t9 + 550: R_MIPS_JALR fn2 +00000554 00000000 nop +00000558 8f990000 lw t9,0\(gp\) + 558: R_MIPS_GOT_PAGE \.text\+0x600 +0000055c 23390000 addi t9,t9,0 + 55c: R_MIPS_GOT_OFST \.text\+0x600 +00000560 0320f809 jalr t9 + 560: R_MIPS_JALR \.text\+0x600 +00000564 00000000 nop +00000568 3c050000 lui a1,0x0 + 568: R_MIPS_GOT_HI16 dg1 +0000056c 00bc2820 add a1,a1,gp +00000570 8ca50000 lw a1,0\(a1\) + 570: R_MIPS_GOT_LO16 dg1 +00000574 1000fea2 b 00000000 +00000578 00000000 nop +0000057c 3c050000 lui a1,0x0 + 57c: R_MIPS_GOT_HI16 dg2 +00000580 00bc2820 add a1,a1,gp +00000584 8ca50000 lw a1,0\(a1\) + 584: R_MIPS_GOT_LO16 dg2 +00000588 8ca50000 lw a1,0\(a1\) +0000058c 1000001c b 00000600 +00000590 00000000 nop +00000594 8f850000 lw a1,0\(gp\) + 594: R_MIPS_GOT_PAGE \.data\+0x3c +00000598 20a50000 addi a1,a1,0 + 598: R_MIPS_GOT_OFST \.data\+0x3c +0000059c 1000fe98 b 00000000 +000005a0 00000000 nop +000005a4 8f850000 lw a1,0\(gp\) + 5a4: R_MIPS_GOT_PAGE \.data\+0xc0 +000005a8 20a50000 addi a1,a1,0 + 5a8: R_MIPS_GOT_OFST \.data\+0xc0 +000005ac 10000014 b 00000600 +000005b0 00000000 nop +000005b4 8f850000 lw a1,0\(gp\) + 5b4: R_MIPS_GOT_PAGE \.data\+0x1e27c +000005b8 20a50000 addi a1,a1,0 + 5b8: R_MIPS_GOT_OFST \.data\+0x1e27c +000005bc 1000fe90 b 00000000 +000005c0 00000000 nop +000005c4 8f850000 lw a1,0\(gp\) + 5c4: R_MIPS_GOT_PAGE \.data\+0xb4 +000005c8 8ca50000 lw a1,0\(a1\) + 5c8: R_MIPS_GOT_OFST \.data\+0xb4 +000005cc 1000000c b 00000600 +000005d0 00000000 nop +000005d4 8f850000 lw a1,0\(gp\) + 5d4: R_MIPS_GOT_PAGE \.data\+0x48 +000005d8 8ca50000 lw a1,0\(a1\) + 5d8: R_MIPS_GOT_OFST \.data\+0x48 +000005dc 1000fe88 b 00000000 +000005e0 00000000 nop +000005e4 8f810000 lw at,0\(gp\) + 5e4: R_MIPS_GOT_PAGE \.data\+0xd6 +000005e8 00250820 add at,at,a1 +000005ec 8c250000 lw a1,0\(at\) + 5ec: R_MIPS_GOT_OFST \.data\+0xd6 +000005f0 10000003 b 00000600 +000005f4 00000000 nop + \.\.\. diff --git a/gas/testsuite/gas/mips/elf-rel-xgot-n64.d b/gas/testsuite/gas/mips/elf-rel-xgot-n64.d new file mode 100644 index 0000000000..59a3b13e38 --- /dev/null +++ b/gas/testsuite/gas/mips/elf-rel-xgot-n64.d @@ -0,0 +1,955 @@ +#objdump: -dr --prefix-addresses --show-raw-insn +#name: MIPS ELF xgot reloc n64 +#as: -64 -KPIC -xgot +#source: elf-rel-got-n64.s + +.*: +file format elf64-.*mips.* + +Disassembly of section \.text: +0000000000000000 3c050000 lui a1,0x0 + 0: R_MIPS_GOT_HI16 dg1 + 0: R_MIPS_NONE \*ABS\* + 0: R_MIPS_NONE \*ABS\* +0000000000000004 00bc282d daddu a1,a1,gp +0000000000000008 dca50000 ld a1,0\(a1\) + 8: R_MIPS_GOT_LO16 dg1 + 8: R_MIPS_NONE \*ABS\* + 8: R_MIPS_NONE \*ABS\* +000000000000000c 3c050000 lui a1,0x0 + c: R_MIPS_GOT_HI16 dg1 + c: R_MIPS_NONE \*ABS\* + c: R_MIPS_NONE \*ABS\* +0000000000000010 00bc282d daddu a1,a1,gp +0000000000000014 dca50000 ld a1,0\(a1\) + 14: R_MIPS_GOT_LO16 dg1 + 14: R_MIPS_NONE \*ABS\* + 14: R_MIPS_NONE \*ABS\* +0000000000000018 64a5000c daddiu a1,a1,12 +000000000000001c 3c050000 lui a1,0x0 + 1c: R_MIPS_GOT_HI16 dg1 + 1c: R_MIPS_NONE \*ABS\* + 1c: R_MIPS_NONE \*ABS\* +0000000000000020 00bc282d daddu a1,a1,gp +0000000000000024 dca50000 ld a1,0\(a1\) + 24: R_MIPS_GOT_LO16 dg1 + 24: R_MIPS_NONE \*ABS\* + 24: R_MIPS_NONE \*ABS\* +0000000000000028 3c010002 lui at,0x2 +000000000000002c 6421e240 daddiu at,at,-7616 +0000000000000030 00a1282d daddu a1,a1,at +0000000000000034 3c050000 lui a1,0x0 + 34: R_MIPS_GOT_HI16 dg1 + 34: R_MIPS_NONE \*ABS\* + 34: R_MIPS_NONE \*ABS\* +0000000000000038 00bc282d daddu a1,a1,gp +000000000000003c dca50000 ld a1,0\(a1\) + 3c: R_MIPS_GOT_LO16 dg1 + 3c: R_MIPS_NONE \*ABS\* + 3c: R_MIPS_NONE \*ABS\* +0000000000000040 00b1282d daddu a1,a1,s1 +0000000000000044 3c050000 lui a1,0x0 + 44: R_MIPS_GOT_HI16 dg1 + 44: R_MIPS_NONE \*ABS\* + 44: R_MIPS_NONE \*ABS\* +0000000000000048 00bc282d daddu a1,a1,gp +000000000000004c dca50000 ld a1,0\(a1\) + 4c: R_MIPS_GOT_LO16 dg1 + 4c: R_MIPS_NONE \*ABS\* + 4c: R_MIPS_NONE \*ABS\* +0000000000000050 64a5000c daddiu a1,a1,12 +0000000000000054 00b1282d daddu a1,a1,s1 +0000000000000058 3c050000 lui a1,0x0 + 58: R_MIPS_GOT_HI16 dg1 + 58: R_MIPS_NONE \*ABS\* + 58: R_MIPS_NONE \*ABS\* +000000000000005c 00bc282d daddu a1,a1,gp +0000000000000060 dca50000 ld a1,0\(a1\) + 60: R_MIPS_GOT_LO16 dg1 + 60: R_MIPS_NONE \*ABS\* + 60: R_MIPS_NONE \*ABS\* +0000000000000064 3c010002 lui at,0x2 +0000000000000068 6421e240 daddiu at,at,-7616 +000000000000006c 00a1282d daddu a1,a1,at +0000000000000070 00b1282d daddu a1,a1,s1 +0000000000000074 3c050000 lui a1,0x0 + 74: R_MIPS_GOT_HI16 dg1 + 74: R_MIPS_NONE \*ABS\* + 74: R_MIPS_NONE \*ABS\* +0000000000000078 00bc282d daddu a1,a1,gp +000000000000007c dca50000 ld a1,0\(a1\) + 7c: R_MIPS_GOT_LO16 dg1 + 7c: R_MIPS_NONE \*ABS\* + 7c: R_MIPS_NONE \*ABS\* +0000000000000080 dca50000 ld a1,0\(a1\) +0000000000000084 3c050000 lui a1,0x0 + 84: R_MIPS_GOT_HI16 dg1 + 84: R_MIPS_NONE \*ABS\* + 84: R_MIPS_NONE \*ABS\* +0000000000000088 00bc282d daddu a1,a1,gp +000000000000008c dca50000 ld a1,0\(a1\) + 8c: R_MIPS_GOT_LO16 dg1 + 8c: R_MIPS_NONE \*ABS\* + 8c: R_MIPS_NONE \*ABS\* +0000000000000090 dca5000c ld a1,12\(a1\) +0000000000000094 3c050000 lui a1,0x0 + 94: R_MIPS_GOT_HI16 dg1 + 94: R_MIPS_NONE \*ABS\* + 94: R_MIPS_NONE \*ABS\* +0000000000000098 00bc282d daddu a1,a1,gp +000000000000009c dca50000 ld a1,0\(a1\) + 9c: R_MIPS_GOT_LO16 dg1 + 9c: R_MIPS_NONE \*ABS\* + 9c: R_MIPS_NONE \*ABS\* +00000000000000a0 00b1282d daddu a1,a1,s1 +00000000000000a4 dca50000 ld a1,0\(a1\) +00000000000000a8 3c050000 lui a1,0x0 + a8: R_MIPS_GOT_HI16 dg1 + a8: R_MIPS_NONE \*ABS\* + a8: R_MIPS_NONE \*ABS\* +00000000000000ac 00bc282d daddu a1,a1,gp +00000000000000b0 dca50000 ld a1,0\(a1\) + b0: R_MIPS_GOT_LO16 dg1 + b0: R_MIPS_NONE \*ABS\* + b0: R_MIPS_NONE \*ABS\* +00000000000000b4 00b1282d daddu a1,a1,s1 +00000000000000b8 dca5000c ld a1,12\(a1\) +00000000000000bc 3c010000 lui at,0x0 + bc: R_MIPS_GOT_HI16 dg1 + bc: R_MIPS_NONE \*ABS\* + bc: R_MIPS_NONE \*ABS\* +00000000000000c0 003c082d daddu at,at,gp +00000000000000c4 dc210000 ld at,0\(at\) + c4: R_MIPS_GOT_LO16 dg1 + c4: R_MIPS_NONE \*ABS\* + c4: R_MIPS_NONE \*ABS\* +00000000000000c8 0025082d daddu at,at,a1 +00000000000000cc dc250022 ld a1,34\(at\) +00000000000000d0 3c010000 lui at,0x0 + d0: R_MIPS_GOT_HI16 dg1 + d0: R_MIPS_NONE \*ABS\* + d0: R_MIPS_NONE \*ABS\* +00000000000000d4 003c082d daddu at,at,gp +00000000000000d8 dc210000 ld at,0\(at\) + d8: R_MIPS_GOT_LO16 dg1 + d8: R_MIPS_NONE \*ABS\* + d8: R_MIPS_NONE \*ABS\* +00000000000000dc 0025082d daddu at,at,a1 +00000000000000e0 fc250038 sd a1,56\(at\) +00000000000000e4 3c010000 lui at,0x0 + e4: R_MIPS_GOT_HI16 dg1 + e4: R_MIPS_NONE \*ABS\* + e4: R_MIPS_NONE \*ABS\* +00000000000000e8 003c082d daddu at,at,gp +00000000000000ec dc210000 ld at,0\(at\) + ec: R_MIPS_GOT_LO16 dg1 + ec: R_MIPS_NONE \*ABS\* + ec: R_MIPS_NONE \*ABS\* +00000000000000f0 88250000 lwl a1,0\(at\) +00000000000000f4 98250003 lwr a1,3\(at\) +00000000000000f8 3c010000 lui at,0x0 + f8: R_MIPS_GOT_HI16 dg1 + f8: R_MIPS_NONE \*ABS\* + f8: R_MIPS_NONE \*ABS\* +00000000000000fc 003c082d daddu at,at,gp +0000000000000100 dc210000 ld at,0\(at\) + 100: R_MIPS_GOT_LO16 dg1 + 100: R_MIPS_NONE \*ABS\* + 100: R_MIPS_NONE \*ABS\* +0000000000000104 6421000c daddiu at,at,12 +0000000000000108 88250000 lwl a1,0\(at\) +000000000000010c 98250003 lwr a1,3\(at\) +0000000000000110 3c010000 lui at,0x0 + 110: R_MIPS_GOT_HI16 dg1 + 110: R_MIPS_NONE \*ABS\* + 110: R_MIPS_NONE \*ABS\* +0000000000000114 003c082d daddu at,at,gp +0000000000000118 dc210000 ld at,0\(at\) + 118: R_MIPS_GOT_LO16 dg1 + 118: R_MIPS_NONE \*ABS\* + 118: R_MIPS_NONE \*ABS\* +000000000000011c 0031082d daddu at,at,s1 +0000000000000120 88250000 lwl a1,0\(at\) +0000000000000124 98250003 lwr a1,3\(at\) +0000000000000128 3c010000 lui at,0x0 + 128: R_MIPS_GOT_HI16 dg1 + 128: R_MIPS_NONE \*ABS\* + 128: R_MIPS_NONE \*ABS\* +000000000000012c 003c082d daddu at,at,gp +0000000000000130 dc210000 ld at,0\(at\) + 130: R_MIPS_GOT_LO16 dg1 + 130: R_MIPS_NONE \*ABS\* + 130: R_MIPS_NONE \*ABS\* +0000000000000134 6421000c daddiu at,at,12 +0000000000000138 0031082d daddu at,at,s1 +000000000000013c 88250000 lwl a1,0\(at\) +0000000000000140 98250003 lwr a1,3\(at\) +0000000000000144 3c010000 lui at,0x0 + 144: R_MIPS_GOT_HI16 dg1 + 144: R_MIPS_NONE \*ABS\* + 144: R_MIPS_NONE \*ABS\* +0000000000000148 003c082d daddu at,at,gp +000000000000014c dc210000 ld at,0\(at\) + 14c: R_MIPS_GOT_LO16 dg1 + 14c: R_MIPS_NONE \*ABS\* + 14c: R_MIPS_NONE \*ABS\* +0000000000000150 64210022 daddiu at,at,34 +0000000000000154 0025082d daddu at,at,a1 +0000000000000158 88250000 lwl a1,0\(at\) +000000000000015c 98250003 lwr a1,3\(at\) +0000000000000160 3c010000 lui at,0x0 + 160: R_MIPS_GOT_HI16 dg1 + 160: R_MIPS_NONE \*ABS\* + 160: R_MIPS_NONE \*ABS\* +0000000000000164 003c082d daddu at,at,gp +0000000000000168 dc210000 ld at,0\(at\) + 168: R_MIPS_GOT_LO16 dg1 + 168: R_MIPS_NONE \*ABS\* + 168: R_MIPS_NONE \*ABS\* +000000000000016c 64210038 daddiu at,at,56 +0000000000000170 0025082d daddu at,at,a1 +0000000000000174 a8250000 swl a1,0\(at\) +0000000000000178 b8250003 swr a1,3\(at\) +000000000000017c df850000 ld a1,0\(gp\) + 17c: R_MIPS_GOT_PAGE \.data\+0x3c + 17c: R_MIPS_NONE \*ABS\*\+0x3c + 17c: R_MIPS_NONE \*ABS\*\+0x3c +0000000000000180 64a50000 daddiu a1,a1,0 + 180: R_MIPS_GOT_OFST \.data\+0x3c + 180: R_MIPS_NONE \*ABS\*\+0x3c + 180: R_MIPS_NONE \*ABS\*\+0x3c +0000000000000184 df850000 ld a1,0\(gp\) + 184: R_MIPS_GOT_PAGE \.data\+0x48 + 184: R_MIPS_NONE \*ABS\*\+0x48 + 184: R_MIPS_NONE \*ABS\*\+0x48 +0000000000000188 64a50000 daddiu a1,a1,0 + 188: R_MIPS_GOT_OFST \.data\+0x48 + 188: R_MIPS_NONE \*ABS\*\+0x48 + 188: R_MIPS_NONE \*ABS\*\+0x48 +000000000000018c df850000 ld a1,0\(gp\) + 18c: R_MIPS_GOT_PAGE \.data\+0x1e27c + 18c: R_MIPS_NONE \*ABS\*\+0x1e27c + 18c: R_MIPS_NONE \*ABS\*\+0x1e27c +0000000000000190 64a50000 daddiu a1,a1,0 + 190: R_MIPS_GOT_OFST \.data\+0x1e27c + 190: R_MIPS_NONE \*ABS\*\+0x1e27c + 190: R_MIPS_NONE \*ABS\*\+0x1e27c +0000000000000194 df850000 ld a1,0\(gp\) + 194: R_MIPS_GOT_PAGE \.data\+0x3c + 194: R_MIPS_NONE \*ABS\*\+0x3c + 194: R_MIPS_NONE \*ABS\*\+0x3c +0000000000000198 64a50000 daddiu a1,a1,0 + 198: R_MIPS_GOT_OFST \.data\+0x3c + 198: R_MIPS_NONE \*ABS\*\+0x3c + 198: R_MIPS_NONE \*ABS\*\+0x3c +000000000000019c 00b1282d daddu a1,a1,s1 +00000000000001a0 df850000 ld a1,0\(gp\) + 1a0: R_MIPS_GOT_PAGE \.data\+0x48 + 1a0: R_MIPS_NONE \*ABS\*\+0x48 + 1a0: R_MIPS_NONE \*ABS\*\+0x48 +00000000000001a4 64a50000 daddiu a1,a1,0 + 1a4: R_MIPS_GOT_OFST \.data\+0x48 + 1a4: R_MIPS_NONE \*ABS\*\+0x48 + 1a4: R_MIPS_NONE \*ABS\*\+0x48 +00000000000001a8 00b1282d daddu a1,a1,s1 +00000000000001ac df850000 ld a1,0\(gp\) + 1ac: R_MIPS_GOT_PAGE \.data\+0x1e27c + 1ac: R_MIPS_NONE \*ABS\*\+0x1e27c + 1ac: R_MIPS_NONE \*ABS\*\+0x1e27c +00000000000001b0 64a50000 daddiu a1,a1,0 + 1b0: R_MIPS_GOT_OFST \.data\+0x1e27c + 1b0: R_MIPS_NONE \*ABS\*\+0x1e27c + 1b0: R_MIPS_NONE \*ABS\*\+0x1e27c +00000000000001b4 00b1282d daddu a1,a1,s1 +00000000000001b8 df850000 ld a1,0\(gp\) + 1b8: R_MIPS_GOT_PAGE \.data\+0x3c + 1b8: R_MIPS_NONE \*ABS\*\+0x3c + 1b8: R_MIPS_NONE \*ABS\*\+0x3c +00000000000001bc dca50000 ld a1,0\(a1\) + 1bc: R_MIPS_GOT_OFST \.data\+0x3c + 1bc: R_MIPS_NONE \*ABS\*\+0x3c + 1bc: R_MIPS_NONE \*ABS\*\+0x3c +00000000000001c0 df850000 ld a1,0\(gp\) + 1c0: R_MIPS_GOT_PAGE \.data\+0x48 + 1c0: R_MIPS_NONE \*ABS\*\+0x48 + 1c0: R_MIPS_NONE \*ABS\*\+0x48 +00000000000001c4 dca50000 ld a1,0\(a1\) + 1c4: R_MIPS_GOT_OFST \.data\+0x48 + 1c4: R_MIPS_NONE \*ABS\*\+0x48 + 1c4: R_MIPS_NONE \*ABS\*\+0x48 +00000000000001c8 df850000 ld a1,0\(gp\) + 1c8: R_MIPS_GOT_PAGE \.data\+0x3c + 1c8: R_MIPS_NONE \*ABS\*\+0x3c + 1c8: R_MIPS_NONE \*ABS\*\+0x3c +00000000000001cc 00b1282d daddu a1,a1,s1 +00000000000001d0 dca50000 ld a1,0\(a1\) + 1d0: R_MIPS_GOT_OFST \.data\+0x3c + 1d0: R_MIPS_NONE \*ABS\*\+0x3c + 1d0: R_MIPS_NONE \*ABS\*\+0x3c +00000000000001d4 df850000 ld a1,0\(gp\) + 1d4: R_MIPS_GOT_PAGE \.data\+0x48 + 1d4: R_MIPS_NONE \*ABS\*\+0x48 + 1d4: R_MIPS_NONE \*ABS\*\+0x48 +00000000000001d8 00b1282d daddu a1,a1,s1 +00000000000001dc dca50000 ld a1,0\(a1\) + 1dc: R_MIPS_GOT_OFST \.data\+0x48 + 1dc: R_MIPS_NONE \*ABS\*\+0x48 + 1dc: R_MIPS_NONE \*ABS\*\+0x48 +00000000000001e0 df810000 ld at,0\(gp\) + 1e0: R_MIPS_GOT_PAGE \.data\+0x5e + 1e0: R_MIPS_NONE \*ABS\*\+0x5e + 1e0: R_MIPS_NONE \*ABS\*\+0x5e +00000000000001e4 0025082d daddu at,at,a1 +00000000000001e8 dc250000 ld a1,0\(at\) + 1e8: R_MIPS_GOT_OFST \.data\+0x5e + 1e8: R_MIPS_NONE \*ABS\*\+0x5e + 1e8: R_MIPS_NONE \*ABS\*\+0x5e +00000000000001ec df810000 ld at,0\(gp\) + 1ec: R_MIPS_GOT_PAGE \.data\+0x74 + 1ec: R_MIPS_NONE \*ABS\*\+0x74 + 1ec: R_MIPS_NONE \*ABS\*\+0x74 +00000000000001f0 0025082d daddu at,at,a1 +00000000000001f4 fc250000 sd a1,0\(at\) + 1f4: R_MIPS_GOT_OFST \.data\+0x74 + 1f4: R_MIPS_NONE \*ABS\*\+0x74 + 1f4: R_MIPS_NONE \*ABS\*\+0x74 +00000000000001f8 df810000 ld at,0\(gp\) + 1f8: R_MIPS_GOT_PAGE \.data\+0x3c + 1f8: R_MIPS_NONE \*ABS\*\+0x3c + 1f8: R_MIPS_NONE \*ABS\*\+0x3c +00000000000001fc 64210000 daddiu at,at,0 + 1fc: R_MIPS_GOT_OFST \.data\+0x3c + 1fc: R_MIPS_NONE \*ABS\*\+0x3c + 1fc: R_MIPS_NONE \*ABS\*\+0x3c +0000000000000200 88250000 lwl a1,0\(at\) +0000000000000204 98250003 lwr a1,3\(at\) +0000000000000208 df810000 ld at,0\(gp\) + 208: R_MIPS_GOT_PAGE \.data\+0x48 + 208: R_MIPS_NONE \*ABS\*\+0x48 + 208: R_MIPS_NONE \*ABS\*\+0x48 +000000000000020c 64210000 daddiu at,at,0 + 20c: R_MIPS_GOT_OFST \.data\+0x48 + 20c: R_MIPS_NONE \*ABS\*\+0x48 + 20c: R_MIPS_NONE \*ABS\*\+0x48 +0000000000000210 88250000 lwl a1,0\(at\) +0000000000000214 98250003 lwr a1,3\(at\) +0000000000000218 df810000 ld at,0\(gp\) + 218: R_MIPS_GOT_PAGE \.data\+0x3c + 218: R_MIPS_NONE \*ABS\*\+0x3c + 218: R_MIPS_NONE \*ABS\*\+0x3c +000000000000021c 64210000 daddiu at,at,0 + 21c: R_MIPS_GOT_OFST \.data\+0x3c + 21c: R_MIPS_NONE \*ABS\*\+0x3c + 21c: R_MIPS_NONE \*ABS\*\+0x3c +0000000000000220 0031082d daddu at,at,s1 +0000000000000224 88250000 lwl a1,0\(at\) +0000000000000228 98250003 lwr a1,3\(at\) +000000000000022c df810000 ld at,0\(gp\) + 22c: R_MIPS_GOT_PAGE \.data\+0x48 + 22c: R_MIPS_NONE \*ABS\*\+0x48 + 22c: R_MIPS_NONE \*ABS\*\+0x48 +0000000000000230 64210000 daddiu at,at,0 + 230: R_MIPS_GOT_OFST \.data\+0x48 + 230: R_MIPS_NONE \*ABS\*\+0x48 + 230: R_MIPS_NONE \*ABS\*\+0x48 +0000000000000234 0031082d daddu at,at,s1 +0000000000000238 88250000 lwl a1,0\(at\) +000000000000023c 98250003 lwr a1,3\(at\) +0000000000000240 df810000 ld at,0\(gp\) + 240: R_MIPS_GOT_PAGE \.data\+0x5e + 240: R_MIPS_NONE \*ABS\*\+0x5e + 240: R_MIPS_NONE \*ABS\*\+0x5e +0000000000000244 64210000 daddiu at,at,0 + 244: R_MIPS_GOT_OFST \.data\+0x5e + 244: R_MIPS_NONE \*ABS\*\+0x5e + 244: R_MIPS_NONE \*ABS\*\+0x5e +0000000000000248 0025082d daddu at,at,a1 +000000000000024c 88250000 lwl a1,0\(at\) +0000000000000250 98250003 lwr a1,3\(at\) +0000000000000254 df810000 ld at,0\(gp\) + 254: R_MIPS_GOT_PAGE \.data\+0x74 + 254: R_MIPS_NONE \*ABS\*\+0x74 + 254: R_MIPS_NONE \*ABS\*\+0x74 +0000000000000258 64210000 daddiu at,at,0 + 258: R_MIPS_GOT_OFST \.data\+0x74 + 258: R_MIPS_NONE \*ABS\*\+0x74 + 258: R_MIPS_NONE \*ABS\*\+0x74 +000000000000025c 0025082d daddu at,at,a1 +0000000000000260 a8250000 swl a1,0\(at\) +0000000000000264 b8250003 swr a1,3\(at\) +0000000000000268 3c050000 lui a1,0x0 + 268: R_MIPS_GOT_HI16 fn + 268: R_MIPS_NONE \*ABS\* + 268: R_MIPS_NONE \*ABS\* +000000000000026c 00bc282d daddu a1,a1,gp +0000000000000270 dca50000 ld a1,0\(a1\) + 270: R_MIPS_GOT_LO16 fn + 270: R_MIPS_NONE \*ABS\* + 270: R_MIPS_NONE \*ABS\* +0000000000000274 df850000 ld a1,0\(gp\) + 274: R_MIPS_GOT_PAGE \.text + 274: R_MIPS_NONE \*ABS\* + 274: R_MIPS_NONE \*ABS\* +0000000000000278 64a50000 daddiu a1,a1,0 + 278: R_MIPS_GOT_OFST \.text + 278: R_MIPS_NONE \*ABS\* + 278: R_MIPS_NONE \*ABS\* +000000000000027c 3c190000 lui t9,0x0 + 27c: R_MIPS_CALL_HI16 fn + 27c: R_MIPS_NONE \*ABS\* + 27c: R_MIPS_NONE \*ABS\* +0000000000000280 033cc82d daddu t9,t9,gp +0000000000000284 df390000 ld t9,0\(t9\) + 284: R_MIPS_CALL_LO16 fn + 284: R_MIPS_NONE \*ABS\* + 284: R_MIPS_NONE \*ABS\* +0000000000000288 df990000 ld t9,0\(gp\) + 288: R_MIPS_GOT_PAGE \.text + 288: R_MIPS_NONE \*ABS\* + 288: R_MIPS_NONE \*ABS\* +000000000000028c 67390000 daddiu t9,t9,0 + 28c: R_MIPS_GOT_OFST \.text + 28c: R_MIPS_NONE \*ABS\* + 28c: R_MIPS_NONE \*ABS\* +0000000000000290 3c190000 lui t9,0x0 + 290: R_MIPS_CALL_HI16 fn + 290: R_MIPS_NONE \*ABS\* + 290: R_MIPS_NONE \*ABS\* +0000000000000294 033cc82d daddu t9,t9,gp +0000000000000298 df390000 ld t9,0\(t9\) + 298: R_MIPS_CALL_LO16 fn + 298: R_MIPS_NONE \*ABS\* + 298: R_MIPS_NONE \*ABS\* +000000000000029c 0320f809 jalr t9 + 29c: R_MIPS_JALR fn + 29c: R_MIPS_NONE \*ABS\* + 29c: R_MIPS_NONE \*ABS\* +00000000000002a0 00000000 nop +00000000000002a4 df990000 ld t9,0\(gp\) + 2a4: R_MIPS_GOT_PAGE \.text + 2a4: R_MIPS_NONE \*ABS\* + 2a4: R_MIPS_NONE \*ABS\* +00000000000002a8 67390000 daddiu t9,t9,0 + 2a8: R_MIPS_GOT_OFST \.text + 2a8: R_MIPS_NONE \*ABS\* + 2a8: R_MIPS_NONE \*ABS\* +00000000000002ac 0320f809 jalr t9 + 2ac: R_MIPS_JALR \.text + 2ac: R_MIPS_NONE \*ABS\* + 2ac: R_MIPS_NONE \*ABS\* +00000000000002b0 00000000 nop +00000000000002b4 3c050000 lui a1,0x0 + 2b4: R_MIPS_GOT_HI16 dg2 + 2b4: R_MIPS_NONE \*ABS\* + 2b4: R_MIPS_NONE \*ABS\* +00000000000002b8 00bc282d daddu a1,a1,gp +00000000000002bc dca50000 ld a1,0\(a1\) + 2bc: R_MIPS_GOT_LO16 dg2 + 2bc: R_MIPS_NONE \*ABS\* + 2bc: R_MIPS_NONE \*ABS\* +00000000000002c0 3c050000 lui a1,0x0 + 2c0: R_MIPS_GOT_HI16 dg2 + 2c0: R_MIPS_NONE \*ABS\* + 2c0: R_MIPS_NONE \*ABS\* +00000000000002c4 00bc282d daddu a1,a1,gp +00000000000002c8 dca50000 ld a1,0\(a1\) + 2c8: R_MIPS_GOT_LO16 dg2 + 2c8: R_MIPS_NONE \*ABS\* + 2c8: R_MIPS_NONE \*ABS\* +00000000000002cc 64a5000c daddiu a1,a1,12 +00000000000002d0 3c050000 lui a1,0x0 + 2d0: R_MIPS_GOT_HI16 dg2 + 2d0: R_MIPS_NONE \*ABS\* + 2d0: R_MIPS_NONE \*ABS\* +00000000000002d4 00bc282d daddu a1,a1,gp +00000000000002d8 dca50000 ld a1,0\(a1\) + 2d8: R_MIPS_GOT_LO16 dg2 + 2d8: R_MIPS_NONE \*ABS\* + 2d8: R_MIPS_NONE \*ABS\* +00000000000002dc 3c010002 lui at,0x2 +00000000000002e0 6421e240 daddiu at,at,-7616 +00000000000002e4 00a1282d daddu a1,a1,at +00000000000002e8 3c050000 lui a1,0x0 + 2e8: R_MIPS_GOT_HI16 dg2 + 2e8: R_MIPS_NONE \*ABS\* + 2e8: R_MIPS_NONE \*ABS\* +00000000000002ec 00bc282d daddu a1,a1,gp +00000000000002f0 dca50000 ld a1,0\(a1\) + 2f0: R_MIPS_GOT_LO16 dg2 + 2f0: R_MIPS_NONE \*ABS\* + 2f0: R_MIPS_NONE \*ABS\* +00000000000002f4 00b1282d daddu a1,a1,s1 +00000000000002f8 3c050000 lui a1,0x0 + 2f8: R_MIPS_GOT_HI16 dg2 + 2f8: R_MIPS_NONE \*ABS\* + 2f8: R_MIPS_NONE \*ABS\* +00000000000002fc 00bc282d daddu a1,a1,gp +0000000000000300 dca50000 ld a1,0\(a1\) + 300: R_MIPS_GOT_LO16 dg2 + 300: R_MIPS_NONE \*ABS\* + 300: R_MIPS_NONE \*ABS\* +0000000000000304 64a5000c daddiu a1,a1,12 +0000000000000308 00b1282d daddu a1,a1,s1 +000000000000030c 3c050000 lui a1,0x0 + 30c: R_MIPS_GOT_HI16 dg2 + 30c: R_MIPS_NONE \*ABS\* + 30c: R_MIPS_NONE \*ABS\* +0000000000000310 00bc282d daddu a1,a1,gp +0000000000000314 dca50000 ld a1,0\(a1\) + 314: R_MIPS_GOT_LO16 dg2 + 314: R_MIPS_NONE \*ABS\* + 314: R_MIPS_NONE \*ABS\* +0000000000000318 3c010002 lui at,0x2 +000000000000031c 6421e240 daddiu at,at,-7616 +0000000000000320 00a1282d daddu a1,a1,at +0000000000000324 00b1282d daddu a1,a1,s1 +0000000000000328 3c050000 lui a1,0x0 + 328: R_MIPS_GOT_HI16 dg2 + 328: R_MIPS_NONE \*ABS\* + 328: R_MIPS_NONE \*ABS\* +000000000000032c 00bc282d daddu a1,a1,gp +0000000000000330 dca50000 ld a1,0\(a1\) + 330: R_MIPS_GOT_LO16 dg2 + 330: R_MIPS_NONE \*ABS\* + 330: R_MIPS_NONE \*ABS\* +0000000000000334 dca50000 ld a1,0\(a1\) +0000000000000338 3c050000 lui a1,0x0 + 338: R_MIPS_GOT_HI16 dg2 + 338: R_MIPS_NONE \*ABS\* + 338: R_MIPS_NONE \*ABS\* +000000000000033c 00bc282d daddu a1,a1,gp +0000000000000340 dca50000 ld a1,0\(a1\) + 340: R_MIPS_GOT_LO16 dg2 + 340: R_MIPS_NONE \*ABS\* + 340: R_MIPS_NONE \*ABS\* +0000000000000344 dca5000c ld a1,12\(a1\) +0000000000000348 3c050000 lui a1,0x0 + 348: R_MIPS_GOT_HI16 dg2 + 348: R_MIPS_NONE \*ABS\* + 348: R_MIPS_NONE \*ABS\* +000000000000034c 00bc282d daddu a1,a1,gp +0000000000000350 dca50000 ld a1,0\(a1\) + 350: R_MIPS_GOT_LO16 dg2 + 350: R_MIPS_NONE \*ABS\* + 350: R_MIPS_NONE \*ABS\* +0000000000000354 00b1282d daddu a1,a1,s1 +0000000000000358 dca50000 ld a1,0\(a1\) +000000000000035c 3c050000 lui a1,0x0 + 35c: R_MIPS_GOT_HI16 dg2 + 35c: R_MIPS_NONE \*ABS\* + 35c: R_MIPS_NONE \*ABS\* +0000000000000360 00bc282d daddu a1,a1,gp +0000000000000364 dca50000 ld a1,0\(a1\) + 364: R_MIPS_GOT_LO16 dg2 + 364: R_MIPS_NONE \*ABS\* + 364: R_MIPS_NONE \*ABS\* +0000000000000368 00b1282d daddu a1,a1,s1 +000000000000036c dca5000c ld a1,12\(a1\) +0000000000000370 3c010000 lui at,0x0 + 370: R_MIPS_GOT_HI16 dg2 + 370: R_MIPS_NONE \*ABS\* + 370: R_MIPS_NONE \*ABS\* +0000000000000374 003c082d daddu at,at,gp +0000000000000378 dc210000 ld at,0\(at\) + 378: R_MIPS_GOT_LO16 dg2 + 378: R_MIPS_NONE \*ABS\* + 378: R_MIPS_NONE \*ABS\* +000000000000037c 0025082d daddu at,at,a1 +0000000000000380 dc250022 ld a1,34\(at\) +0000000000000384 3c010000 lui at,0x0 + 384: R_MIPS_GOT_HI16 dg2 + 384: R_MIPS_NONE \*ABS\* + 384: R_MIPS_NONE \*ABS\* +0000000000000388 003c082d daddu at,at,gp +000000000000038c dc210000 ld at,0\(at\) + 38c: R_MIPS_GOT_LO16 dg2 + 38c: R_MIPS_NONE \*ABS\* + 38c: R_MIPS_NONE \*ABS\* +0000000000000390 0025082d daddu at,at,a1 +0000000000000394 fc250038 sd a1,56\(at\) +0000000000000398 3c010000 lui at,0x0 + 398: R_MIPS_GOT_HI16 dg2 + 398: R_MIPS_NONE \*ABS\* + 398: R_MIPS_NONE \*ABS\* +000000000000039c 003c082d daddu at,at,gp +00000000000003a0 dc210000 ld at,0\(at\) + 3a0: R_MIPS_GOT_LO16 dg2 + 3a0: R_MIPS_NONE \*ABS\* + 3a0: R_MIPS_NONE \*ABS\* +00000000000003a4 88250000 lwl a1,0\(at\) +00000000000003a8 98250003 lwr a1,3\(at\) +00000000000003ac 3c010000 lui at,0x0 + 3ac: R_MIPS_GOT_HI16 dg2 + 3ac: R_MIPS_NONE \*ABS\* + 3ac: R_MIPS_NONE \*ABS\* +00000000000003b0 003c082d daddu at,at,gp +00000000000003b4 dc210000 ld at,0\(at\) + 3b4: R_MIPS_GOT_LO16 dg2 + 3b4: R_MIPS_NONE \*ABS\* + 3b4: R_MIPS_NONE \*ABS\* +00000000000003b8 6421000c daddiu at,at,12 +00000000000003bc 88250000 lwl a1,0\(at\) +00000000000003c0 98250003 lwr a1,3\(at\) +00000000000003c4 3c010000 lui at,0x0 + 3c4: R_MIPS_GOT_HI16 dg2 + 3c4: R_MIPS_NONE \*ABS\* + 3c4: R_MIPS_NONE \*ABS\* +00000000000003c8 003c082d daddu at,at,gp +00000000000003cc dc210000 ld at,0\(at\) + 3cc: R_MIPS_GOT_LO16 dg2 + 3cc: R_MIPS_NONE \*ABS\* + 3cc: R_MIPS_NONE \*ABS\* +00000000000003d0 0031082d daddu at,at,s1 +00000000000003d4 88250000 lwl a1,0\(at\) +00000000000003d8 98250003 lwr a1,3\(at\) +00000000000003dc 3c010000 lui at,0x0 + 3dc: R_MIPS_GOT_HI16 dg2 + 3dc: R_MIPS_NONE \*ABS\* + 3dc: R_MIPS_NONE \*ABS\* +00000000000003e0 003c082d daddu at,at,gp +00000000000003e4 dc210000 ld at,0\(at\) + 3e4: R_MIPS_GOT_LO16 dg2 + 3e4: R_MIPS_NONE \*ABS\* + 3e4: R_MIPS_NONE \*ABS\* +00000000000003e8 6421000c daddiu at,at,12 +00000000000003ec 0031082d daddu at,at,s1 +00000000000003f0 88250000 lwl a1,0\(at\) +00000000000003f4 98250003 lwr a1,3\(at\) +00000000000003f8 3c010000 lui at,0x0 + 3f8: R_MIPS_GOT_HI16 dg2 + 3f8: R_MIPS_NONE \*ABS\* + 3f8: R_MIPS_NONE \*ABS\* +00000000000003fc 003c082d daddu at,at,gp +0000000000000400 dc210000 ld at,0\(at\) + 400: R_MIPS_GOT_LO16 dg2 + 400: R_MIPS_NONE \*ABS\* + 400: R_MIPS_NONE \*ABS\* +0000000000000404 64210022 daddiu at,at,34 +0000000000000408 0025082d daddu at,at,a1 +000000000000040c 88250000 lwl a1,0\(at\) +0000000000000410 98250003 lwr a1,3\(at\) +0000000000000414 3c010000 lui at,0x0 + 414: R_MIPS_GOT_HI16 dg2 + 414: R_MIPS_NONE \*ABS\* + 414: R_MIPS_NONE \*ABS\* +0000000000000418 003c082d daddu at,at,gp +000000000000041c dc210000 ld at,0\(at\) + 41c: R_MIPS_GOT_LO16 dg2 + 41c: R_MIPS_NONE \*ABS\* + 41c: R_MIPS_NONE \*ABS\* +0000000000000420 64210038 daddiu at,at,56 +0000000000000424 0025082d daddu at,at,a1 +0000000000000428 a8250000 swl a1,0\(at\) +000000000000042c b8250003 swr a1,3\(at\) +0000000000000430 df850000 ld a1,0\(gp\) + 430: R_MIPS_GOT_PAGE \.data\+0xb4 + 430: R_MIPS_NONE \*ABS\*\+0xb4 + 430: R_MIPS_NONE \*ABS\*\+0xb4 +0000000000000434 64a50000 daddiu a1,a1,0 + 434: R_MIPS_GOT_OFST \.data\+0xb4 + 434: R_MIPS_NONE \*ABS\*\+0xb4 + 434: R_MIPS_NONE \*ABS\*\+0xb4 +0000000000000438 df850000 ld a1,0\(gp\) + 438: R_MIPS_GOT_PAGE \.data\+0xc0 + 438: R_MIPS_NONE \*ABS\*\+0xc0 + 438: R_MIPS_NONE \*ABS\*\+0xc0 +000000000000043c 64a50000 daddiu a1,a1,0 + 43c: R_MIPS_GOT_OFST \.data\+0xc0 + 43c: R_MIPS_NONE \*ABS\*\+0xc0 + 43c: R_MIPS_NONE \*ABS\*\+0xc0 +0000000000000440 df850000 ld a1,0\(gp\) + 440: R_MIPS_GOT_PAGE \.data\+0x1e2f4 + 440: R_MIPS_NONE \*ABS\*\+0x1e2f4 + 440: R_MIPS_NONE \*ABS\*\+0x1e2f4 +0000000000000444 64a50000 daddiu a1,a1,0 + 444: R_MIPS_GOT_OFST \.data\+0x1e2f4 + 444: R_MIPS_NONE \*ABS\*\+0x1e2f4 + 444: R_MIPS_NONE \*ABS\*\+0x1e2f4 +0000000000000448 df850000 ld a1,0\(gp\) + 448: R_MIPS_GOT_PAGE \.data\+0xb4 + 448: R_MIPS_NONE \*ABS\*\+0xb4 + 448: R_MIPS_NONE \*ABS\*\+0xb4 +000000000000044c 64a50000 daddiu a1,a1,0 + 44c: R_MIPS_GOT_OFST \.data\+0xb4 + 44c: R_MIPS_NONE \*ABS\*\+0xb4 + 44c: R_MIPS_NONE \*ABS\*\+0xb4 +0000000000000450 00b1282d daddu a1,a1,s1 +0000000000000454 df850000 ld a1,0\(gp\) + 454: R_MIPS_GOT_PAGE \.data\+0xc0 + 454: R_MIPS_NONE \*ABS\*\+0xc0 + 454: R_MIPS_NONE \*ABS\*\+0xc0 +0000000000000458 64a50000 daddiu a1,a1,0 + 458: R_MIPS_GOT_OFST \.data\+0xc0 + 458: R_MIPS_NONE \*ABS\*\+0xc0 + 458: R_MIPS_NONE \*ABS\*\+0xc0 +000000000000045c 00b1282d daddu a1,a1,s1 +0000000000000460 df850000 ld a1,0\(gp\) + 460: R_MIPS_GOT_PAGE \.data\+0x1e2f4 + 460: R_MIPS_NONE \*ABS\*\+0x1e2f4 + 460: R_MIPS_NONE \*ABS\*\+0x1e2f4 +0000000000000464 64a50000 daddiu a1,a1,0 + 464: R_MIPS_GOT_OFST \.data\+0x1e2f4 + 464: R_MIPS_NONE \*ABS\*\+0x1e2f4 + 464: R_MIPS_NONE \*ABS\*\+0x1e2f4 +0000000000000468 00b1282d daddu a1,a1,s1 +000000000000046c df850000 ld a1,0\(gp\) + 46c: R_MIPS_GOT_PAGE \.data\+0xb4 + 46c: R_MIPS_NONE \*ABS\*\+0xb4 + 46c: R_MIPS_NONE \*ABS\*\+0xb4 +0000000000000470 dca50000 ld a1,0\(a1\) + 470: R_MIPS_GOT_OFST \.data\+0xb4 + 470: R_MIPS_NONE \*ABS\*\+0xb4 + 470: R_MIPS_NONE \*ABS\*\+0xb4 +0000000000000474 df850000 ld a1,0\(gp\) + 474: R_MIPS_GOT_PAGE \.data\+0xc0 + 474: R_MIPS_NONE \*ABS\*\+0xc0 + 474: R_MIPS_NONE \*ABS\*\+0xc0 +0000000000000478 dca50000 ld a1,0\(a1\) + 478: R_MIPS_GOT_OFST \.data\+0xc0 + 478: R_MIPS_NONE \*ABS\*\+0xc0 + 478: R_MIPS_NONE \*ABS\*\+0xc0 +000000000000047c df850000 ld a1,0\(gp\) + 47c: R_MIPS_GOT_PAGE \.data\+0xb4 + 47c: R_MIPS_NONE \*ABS\*\+0xb4 + 47c: R_MIPS_NONE \*ABS\*\+0xb4 +0000000000000480 00b1282d daddu a1,a1,s1 +0000000000000484 dca50000 ld a1,0\(a1\) + 484: R_MIPS_GOT_OFST \.data\+0xb4 + 484: R_MIPS_NONE \*ABS\*\+0xb4 + 484: R_MIPS_NONE \*ABS\*\+0xb4 +0000000000000488 df850000 ld a1,0\(gp\) + 488: R_MIPS_GOT_PAGE \.data\+0xc0 + 488: R_MIPS_NONE \*ABS\*\+0xc0 + 488: R_MIPS_NONE \*ABS\*\+0xc0 +000000000000048c 00b1282d daddu a1,a1,s1 +0000000000000490 dca50000 ld a1,0\(a1\) + 490: R_MIPS_GOT_OFST \.data\+0xc0 + 490: R_MIPS_NONE \*ABS\*\+0xc0 + 490: R_MIPS_NONE \*ABS\*\+0xc0 +0000000000000494 df810000 ld at,0\(gp\) + 494: R_MIPS_GOT_PAGE \.data\+0xb4 + 494: R_MIPS_NONE \*ABS\*\+0xb4 + 494: R_MIPS_NONE \*ABS\*\+0xb4 +0000000000000498 0025082d daddu at,at,a1 +000000000000049c dc250000 ld a1,0\(at\) + 49c: R_MIPS_GOT_OFST \.data\+0xb4 + 49c: R_MIPS_NONE \*ABS\*\+0xb4 + 49c: R_MIPS_NONE \*ABS\*\+0xb4 +00000000000004a0 df810000 ld at,0\(gp\) + 4a0: R_MIPS_GOT_PAGE \.data\+0xec + 4a0: R_MIPS_NONE \*ABS\*\+0xec + 4a0: R_MIPS_NONE \*ABS\*\+0xec +00000000000004a4 0025082d daddu at,at,a1 +00000000000004a8 fc250000 sd a1,0\(at\) + 4a8: R_MIPS_GOT_OFST \.data\+0xec + 4a8: R_MIPS_NONE \*ABS\*\+0xec + 4a8: R_MIPS_NONE \*ABS\*\+0xec +00000000000004ac df810000 ld at,0\(gp\) + 4ac: R_MIPS_GOT_PAGE \.data\+0xb4 + 4ac: R_MIPS_NONE \*ABS\*\+0xb4 + 4ac: R_MIPS_NONE \*ABS\*\+0xb4 +00000000000004b0 64210000 daddiu at,at,0 + 4b0: R_MIPS_GOT_OFST \.data\+0xb4 + 4b0: R_MIPS_NONE \*ABS\*\+0xb4 + 4b0: R_MIPS_NONE \*ABS\*\+0xb4 +00000000000004b4 88250000 lwl a1,0\(at\) +00000000000004b8 98250003 lwr a1,3\(at\) +00000000000004bc df810000 ld at,0\(gp\) + 4bc: R_MIPS_GOT_PAGE \.data\+0xc0 + 4bc: R_MIPS_NONE \*ABS\*\+0xc0 + 4bc: R_MIPS_NONE \*ABS\*\+0xc0 +00000000000004c0 64210000 daddiu at,at,0 + 4c0: R_MIPS_GOT_OFST \.data\+0xc0 + 4c0: R_MIPS_NONE \*ABS\*\+0xc0 + 4c0: R_MIPS_NONE \*ABS\*\+0xc0 +00000000000004c4 88250000 lwl a1,0\(at\) +00000000000004c8 98250003 lwr a1,3\(at\) +00000000000004cc df810000 ld at,0\(gp\) + 4cc: R_MIPS_GOT_PAGE \.data\+0xb4 + 4cc: R_MIPS_NONE \*ABS\*\+0xb4 + 4cc: R_MIPS_NONE \*ABS\*\+0xb4 +00000000000004d0 64210000 daddiu at,at,0 + 4d0: R_MIPS_GOT_OFST \.data\+0xb4 + 4d0: R_MIPS_NONE \*ABS\*\+0xb4 + 4d0: R_MIPS_NONE \*ABS\*\+0xb4 +00000000000004d4 0031082d daddu at,at,s1 +00000000000004d8 88250000 lwl a1,0\(at\) +00000000000004dc 98250003 lwr a1,3\(at\) +00000000000004e0 df810000 ld at,0\(gp\) + 4e0: R_MIPS_GOT_PAGE \.data\+0xc0 + 4e0: R_MIPS_NONE \*ABS\*\+0xc0 + 4e0: R_MIPS_NONE \*ABS\*\+0xc0 +00000000000004e4 64210000 daddiu at,at,0 + 4e4: R_MIPS_GOT_OFST \.data\+0xc0 + 4e4: R_MIPS_NONE \*ABS\*\+0xc0 + 4e4: R_MIPS_NONE \*ABS\*\+0xc0 +00000000000004e8 0031082d daddu at,at,s1 +00000000000004ec 88250000 lwl a1,0\(at\) +00000000000004f0 98250003 lwr a1,3\(at\) +00000000000004f4 df810000 ld at,0\(gp\) + 4f4: R_MIPS_GOT_PAGE \.data\+0xd6 + 4f4: R_MIPS_NONE \*ABS\*\+0xd6 + 4f4: R_MIPS_NONE \*ABS\*\+0xd6 +00000000000004f8 64210000 daddiu at,at,0 + 4f8: R_MIPS_GOT_OFST \.data\+0xd6 + 4f8: R_MIPS_NONE \*ABS\*\+0xd6 + 4f8: R_MIPS_NONE \*ABS\*\+0xd6 +00000000000004fc 0025082d daddu at,at,a1 +0000000000000500 88250000 lwl a1,0\(at\) +0000000000000504 98250003 lwr a1,3\(at\) +0000000000000508 df810000 ld at,0\(gp\) + 508: R_MIPS_GOT_PAGE \.data\+0xec + 508: R_MIPS_NONE \*ABS\*\+0xec + 508: R_MIPS_NONE \*ABS\*\+0xec +000000000000050c 64210000 daddiu at,at,0 + 50c: R_MIPS_GOT_OFST \.data\+0xec + 50c: R_MIPS_NONE \*ABS\*\+0xec + 50c: R_MIPS_NONE \*ABS\*\+0xec +0000000000000510 0025082d daddu at,at,a1 +0000000000000514 a8250000 swl a1,0\(at\) +0000000000000518 b8250003 swr a1,3\(at\) +000000000000051c 3c050000 lui a1,0x0 + 51c: R_MIPS_GOT_HI16 fn2 + 51c: R_MIPS_NONE \*ABS\* + 51c: R_MIPS_NONE \*ABS\* +0000000000000520 00bc282d daddu a1,a1,gp +0000000000000524 dca50000 ld a1,0\(a1\) + 524: R_MIPS_GOT_LO16 fn2 + 524: R_MIPS_NONE \*ABS\* + 524: R_MIPS_NONE \*ABS\* +0000000000000528 df850000 ld a1,0\(gp\) + 528: R_MIPS_GOT_PAGE \.text\+0x600 + 528: R_MIPS_NONE \*ABS\*\+0x600 + 528: R_MIPS_NONE \*ABS\*\+0x600 +000000000000052c 64a50000 daddiu a1,a1,0 + 52c: R_MIPS_GOT_OFST \.text\+0x600 + 52c: R_MIPS_NONE \*ABS\*\+0x600 + 52c: R_MIPS_NONE \*ABS\*\+0x600 +0000000000000530 3c190000 lui t9,0x0 + 530: R_MIPS_CALL_HI16 fn2 + 530: R_MIPS_NONE \*ABS\* + 530: R_MIPS_NONE \*ABS\* +0000000000000534 033cc82d daddu t9,t9,gp +0000000000000538 df390000 ld t9,0\(t9\) + 538: R_MIPS_CALL_LO16 fn2 + 538: R_MIPS_NONE \*ABS\* + 538: R_MIPS_NONE \*ABS\* +000000000000053c df990000 ld t9,0\(gp\) + 53c: R_MIPS_GOT_PAGE \.text\+0x600 + 53c: R_MIPS_NONE \*ABS\*\+0x600 + 53c: R_MIPS_NONE \*ABS\*\+0x600 +0000000000000540 67390000 daddiu t9,t9,0 + 540: R_MIPS_GOT_OFST \.text\+0x600 + 540: R_MIPS_NONE \*ABS\*\+0x600 + 540: R_MIPS_NONE \*ABS\*\+0x600 +0000000000000544 3c190000 lui t9,0x0 + 544: R_MIPS_CALL_HI16 fn2 + 544: R_MIPS_NONE \*ABS\* + 544: R_MIPS_NONE \*ABS\* +0000000000000548 033cc82d daddu t9,t9,gp +000000000000054c df390000 ld t9,0\(t9\) + 54c: R_MIPS_CALL_LO16 fn2 + 54c: R_MIPS_NONE \*ABS\* + 54c: R_MIPS_NONE \*ABS\* +0000000000000550 0320f809 jalr t9 + 550: R_MIPS_JALR fn2 + 550: R_MIPS_NONE \*ABS\* + 550: R_MIPS_NONE \*ABS\* +0000000000000554 00000000 nop +0000000000000558 df990000 ld t9,0\(gp\) + 558: R_MIPS_GOT_PAGE \.text\+0x600 + 558: R_MIPS_NONE \*ABS\*\+0x600 + 558: R_MIPS_NONE \*ABS\*\+0x600 +000000000000055c 67390000 daddiu t9,t9,0 + 55c: R_MIPS_GOT_OFST \.text\+0x600 + 55c: R_MIPS_NONE \*ABS\*\+0x600 + 55c: R_MIPS_NONE \*ABS\*\+0x600 +0000000000000560 0320f809 jalr t9 + 560: R_MIPS_JALR \.text\+0x600 + 560: R_MIPS_NONE \*ABS\*\+0x600 + 560: R_MIPS_NONE \*ABS\*\+0x600 +0000000000000564 00000000 nop +0000000000000568 3c050000 lui a1,0x0 + 568: R_MIPS_GOT_HI16 dg1 + 568: R_MIPS_NONE \*ABS\* + 568: R_MIPS_NONE \*ABS\* +000000000000056c 00bc282d daddu a1,a1,gp +0000000000000570 dca50000 ld a1,0\(a1\) + 570: R_MIPS_GOT_LO16 dg1 + 570: R_MIPS_NONE \*ABS\* + 570: R_MIPS_NONE \*ABS\* +0000000000000574 1000fea2 b 0000000000000000 +0000000000000578 00000000 nop +000000000000057c 3c050000 lui a1,0x0 + 57c: R_MIPS_GOT_HI16 dg2 + 57c: R_MIPS_NONE \*ABS\* + 57c: R_MIPS_NONE \*ABS\* +0000000000000580 00bc282d daddu a1,a1,gp +0000000000000584 dca50000 ld a1,0\(a1\) + 584: R_MIPS_GOT_LO16 dg2 + 584: R_MIPS_NONE \*ABS\* + 584: R_MIPS_NONE \*ABS\* +0000000000000588 dca50000 ld a1,0\(a1\) +000000000000058c 1000001c b 0000000000000600 +0000000000000590 00000000 nop +0000000000000594 df850000 ld a1,0\(gp\) + 594: R_MIPS_GOT_PAGE \.data\+0x3c + 594: R_MIPS_NONE \*ABS\*\+0x3c + 594: R_MIPS_NONE \*ABS\*\+0x3c +0000000000000598 64a50000 daddiu a1,a1,0 + 598: R_MIPS_GOT_OFST \.data\+0x3c + 598: R_MIPS_NONE \*ABS\*\+0x3c + 598: R_MIPS_NONE \*ABS\*\+0x3c +000000000000059c 1000fe98 b 0000000000000000 +00000000000005a0 00000000 nop +00000000000005a4 df850000 ld a1,0\(gp\) + 5a4: R_MIPS_GOT_PAGE \.data\+0xc0 + 5a4: R_MIPS_NONE \*ABS\*\+0xc0 + 5a4: R_MIPS_NONE \*ABS\*\+0xc0 +00000000000005a8 64a50000 daddiu a1,a1,0 + 5a8: R_MIPS_GOT_OFST \.data\+0xc0 + 5a8: R_MIPS_NONE \*ABS\*\+0xc0 + 5a8: R_MIPS_NONE \*ABS\*\+0xc0 +00000000000005ac 10000014 b 0000000000000600 +00000000000005b0 00000000 nop +00000000000005b4 df850000 ld a1,0\(gp\) + 5b4: R_MIPS_GOT_PAGE \.data\+0x1e27c + 5b4: R_MIPS_NONE \*ABS\*\+0x1e27c + 5b4: R_MIPS_NONE \*ABS\*\+0x1e27c +00000000000005b8 64a50000 daddiu a1,a1,0 + 5b8: R_MIPS_GOT_OFST \.data\+0x1e27c + 5b8: R_MIPS_NONE \*ABS\*\+0x1e27c + 5b8: R_MIPS_NONE \*ABS\*\+0x1e27c +00000000000005bc 1000fe90 b 0000000000000000 +00000000000005c0 00000000 nop +00000000000005c4 df850000 ld a1,0\(gp\) + 5c4: R_MIPS_GOT_PAGE \.data\+0xb4 + 5c4: R_MIPS_NONE \*ABS\*\+0xb4 + 5c4: R_MIPS_NONE \*ABS\*\+0xb4 +00000000000005c8 dca50000 ld a1,0\(a1\) + 5c8: R_MIPS_GOT_OFST \.data\+0xb4 + 5c8: R_MIPS_NONE \*ABS\*\+0xb4 + 5c8: R_MIPS_NONE \*ABS\*\+0xb4 +00000000000005cc 1000000c b 0000000000000600 +00000000000005d0 00000000 nop +00000000000005d4 df850000 ld a1,0\(gp\) + 5d4: R_MIPS_GOT_PAGE \.data\+0x48 + 5d4: R_MIPS_NONE \*ABS\*\+0x48 + 5d4: R_MIPS_NONE \*ABS\*\+0x48 +00000000000005d8 dca50000 ld a1,0\(a1\) + 5d8: R_MIPS_GOT_OFST \.data\+0x48 + 5d8: R_MIPS_NONE \*ABS\*\+0x48 + 5d8: R_MIPS_NONE \*ABS\*\+0x48 +00000000000005dc 1000fe88 b 0000000000000000 +00000000000005e0 00000000 nop +00000000000005e4 df810000 ld at,0\(gp\) + 5e4: R_MIPS_GOT_PAGE \.data\+0xd6 + 5e4: R_MIPS_NONE \*ABS\*\+0xd6 + 5e4: R_MIPS_NONE \*ABS\*\+0xd6 +00000000000005e8 0025082d daddu at,at,a1 +00000000000005ec dc250000 ld a1,0\(at\) + 5ec: R_MIPS_GOT_OFST \.data\+0xd6 + 5ec: R_MIPS_NONE \*ABS\*\+0xd6 + 5ec: R_MIPS_NONE \*ABS\*\+0xd6 +00000000000005f0 10000003 b 0000000000000600 +00000000000005f4 00000000 nop + \.\.\. diff --git a/gas/testsuite/gas/mips/mips.exp b/gas/testsuite/gas/mips/mips.exp index cb0240d077..6557343fcf 100644 --- a/gas/testsuite/gas/mips/mips.exp +++ b/gas/testsuite/gas/mips/mips.exp @@ -626,6 +626,14 @@ if { [istarget mips*-*-*] } then { run_dump_test "elf-rel12" run_dump_test "elf-rel13" run_dump_test "elf-rel14" + + if $has_newabi { + run_dump_test "elf-rel-got-n32" + run_dump_test "elf-rel-xgot-n32" + run_dump_test "elf-rel-got-n64" + run_dump_test "elf-rel-xgot-n64" + } + run_dump_test "${tmips}${el}empic" run_dump_test "empic2" run_dump_test "empic3_e" -- 2.11.0