X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=ld%2Ftestsuite%2Fld-mips-elf%2Fpic-and-nonpic-2.d;fp=ld%2Ftestsuite%2Fld-mips-elf%2Fpic-and-nonpic-2.d;h=da28cc30bd7ac876d14187dc3bc51b859298db7b;hb=d5da4f291af551c0b8b79e1d4a9b173d60e5c10e;hp=0000000000000000000000000000000000000000;hpb=7b5ea4fcdf2819e070665ab5610f8b48e3867c10;p=msp430-binutils.git diff --git a/ld/testsuite/ld-mips-elf/pic-and-nonpic-2.d b/ld/testsuite/ld-mips-elf/pic-and-nonpic-2.d new file mode 100644 index 0000000..da28cc3 --- /dev/null +++ b/ld/testsuite/ld-mips-elf/pic-and-nonpic-2.d @@ -0,0 +1,23 @@ +#source: pic-and-nonpic-2a.s +#source: pic-and-nonpic-2b.s +#as: -32 -EB +#ld: -melf32btsmip -Tpic-and-nonpic-1.ld +#objdump: -dr + +.* + +Disassembly of section \.text: + +00041000 <__start>: + 41000: 0c010406 jal 41018 <\.pic\.foo@@V2> + 41004: 00000000 nop + \.\.\. + +00041018 <\.pic\.foo@@V2>: + 41018: 3c190004 lui t9,0x4 + 4101c: 27391020 addiu t9,t9,4128 + +00041020 : + 41020: 03e00008 jr ra + 41024: 00000000 nop + \.\.\.