X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=ld%2Ftestsuite%2Fld-mips-elf%2Fpic-and-nonpic-1-rel.dd;fp=ld%2Ftestsuite%2Fld-mips-elf%2Fpic-and-nonpic-1-rel.dd;h=4d15a58dac2f3f599e46a8bdb56dcef2fa77790b;hp=0000000000000000000000000000000000000000;hb=88750007d7869f178f0ba528f41efd3b74c424cf;hpb=6df9443a374e2b81278c61b8afc0a1eef7db280b diff --git a/ld/testsuite/ld-mips-elf/pic-and-nonpic-1-rel.dd b/ld/testsuite/ld-mips-elf/pic-and-nonpic-1-rel.dd new file mode 100644 index 0000000..4d15a58 --- /dev/null +++ b/ld/testsuite/ld-mips-elf/pic-and-nonpic-1-rel.dd @@ -0,0 +1,46 @@ + +.* + +Disassembly of section \.text: + +00000000 : + 0: 3c1c0000 lui gp,0x0 + 0: R_MIPS_HI16 _gp_disp + 4: 279c0000 addiu gp,gp,0 + 4: R_MIPS_LO16 _gp_disp + 8: 0399e021 addu gp,gp,t9 + c: 0c000000 jal 0 .* + c: R_MIPS_26 f3 + 10: 00000000 nop + 14: 03e00008 jr ra + 18: 00000000 nop + +0000001c : + 1c: 3c1c0000 lui gp,0x0 + 1c: R_MIPS_HI16 _gp_disp + 20: 279c0000 addiu gp,gp,0 + 20: R_MIPS_LO16 _gp_disp + 24: 0399e021 addu gp,gp,t9 + 28: 03e00008 jr ra + 2c: 00000000 nop + +00000030 : + 30: f000 6a00 li v0,0 + 30: R_MIPS16_HI16 _gp_disp + 34: f000 0b00 la v1,34 .* + 34: R_MIPS16_LO16 _gp_disp + 38: f400 3240 sll v0,16 + 3c: e269 addu v0,v1 + 3e: 6500 nop + +00000040 <__start>: + 40: 0c000000 jal 0 .* + 40: R_MIPS_26 f1 + 44: 00000000 nop + 48: 0c000000 jal 0 .* + 48: R_MIPS_26 f2 + 4c: 00000000 nop + 50: 0c000000 jal 0 .* + 50: R_MIPS_26 f3 + 54: 00000000 nop + ...