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=d5da4f291af551c0b8b79e1d4a9b173d60e5c10e;hpb=7b5ea4fcdf2819e070665ab5610f8b48e3867c10 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) } +}