X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;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;hp=0000000000000000000000000000000000000000;hb=88750007d7869f178f0ba528f41efd3b74c424cf;hpb=6df9443a374e2b81278c61b8afc0a1eef7db280b 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 + \.\.\.