X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=ld%2Ftestsuite%2Fld-mips-elf%2Fpic-and-nonpic-3b.ld;fp=ld%2Ftestsuite%2Fld-mips-elf%2Fpic-and-nonpic-3b.ld;h=d41c8f98c5fec7871eb025f5b07cb7acda077d55;hp=0000000000000000000000000000000000000000;hb=88750007d7869f178f0ba528f41efd3b74c424cf;hpb=6df9443a374e2b81278c61b8afc0a1eef7db280b diff --git a/ld/testsuite/ld-mips-elf/pic-and-nonpic-3b.ld b/ld/testsuite/ld-mips-elf/pic-and-nonpic-3b.ld new file mode 100644 index 0000000..d41c8f9 --- /dev/null +++ b/ld/testsuite/ld-mips-elf/pic-and-nonpic-3b.ld @@ -0,0 +1,35 @@ +SECTIONS +{ + . = 0x40000 + SIZEOF_HEADERS; + .interp : { *(.interp) } + + . = 0x41000; + .reginfo : { *(.reginfo) } + .hash : { *(.hash) } + .dynsym : { *(.dynsym) } + .dynstr : { *(.dynstr) } + + . = 0x42000; + .dynamic : { *(.dynamic) } + + . = 0x43000; + .rel.plt : { *(.rel.plt) } + .plt : { *(.plt) } + + . = 0x44000; + .text : { *(.text) } + .MIPS.stubs : { *(.MIPS.stubs) } + + . = 0x80000; + .rld_map : { *(.rld_map) } + + . = 0x81000; + .got.plt : { *(.got.plt) } + + . = 0xa0000; + _gp = . + 0x7ff0; + .got : { *(.got) } + + . = 0xa1000; + .data : { *(.data) } +}