X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=ld%2Ftestsuite%2Fld-mips-elf%2Fpic-and-nonpic-4b.ad;fp=ld%2Ftestsuite%2Fld-mips-elf%2Fpic-and-nonpic-4b.ad;h=ad300b4b5e3a426f9c153164e1d42a8c3cfb0d65;hp=0000000000000000000000000000000000000000;hb=88750007d7869f178f0ba528f41efd3b74c424cf;hpb=6df9443a374e2b81278c61b8afc0a1eef7db280b diff --git a/ld/testsuite/ld-mips-elf/pic-and-nonpic-4b.ad b/ld/testsuite/ld-mips-elf/pic-and-nonpic-4b.ad new file mode 100644 index 0000000..ad300b4 --- /dev/null +++ b/ld/testsuite/ld-mips-elf/pic-and-nonpic-4b.ad @@ -0,0 +1,26 @@ + +Dynamic section at offset .* contains .*: + * Tag * Type * Name/Value + 0x00000001 \(NEEDED\) .* + 0x00000004 \(HASH\) .* + 0x00000005 \(STRTAB\) .* + 0x00000006 \(SYMTAB\) .* + 0x0000000a \(STRSZ\) .* + 0x0000000b \(SYMENT\) .* + 0x70000016 \(MIPS_RLD_MAP\) * 0x80000 + 0x00000015 \(DEBUG\) * 0x0 + 0x00000003 \(PLTGOT\) * 0xa0000 + 0x00000011 \(REL\) * 0x43000 + 0x00000012 \(RELSZ\) * 32 \(bytes\) + 0x00000013 \(RELENT\) * 8 \(bytes\) + 0x70000001 \(MIPS_RLD_VERSION\) * 1 + 0x70000005 \(MIPS_FLAGS\) * NOTPOT + 0x70000006 \(MIPS_BASE_ADDRESS\) * 0x40000 +# This must be the number of GOT entries - 1, the last entry being for "obj3". + 0x7000000a \(MIPS_LOCAL_GOTNO\) * 2 +# This must be MIPS_GOTSYM + 1. + 0x70000011 \(MIPS_SYMTABNO\) * 8 + 0x70000012 \(MIPS_UNREFEXTNO\) .* +# This must be the index of "obj3". + 0x70000013 \(MIPS_GOTSYM\) * 0x7 + 0x00000000 \(NULL\) * 0x0