X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=ld%2Ftestsuite%2Fld-mips-elf%2Freloc-estimate-1.ld;fp=ld%2Ftestsuite%2Fld-mips-elf%2Freloc-estimate-1.ld;h=776e503fec7013405211f1cfb2c0ebac3fdf22ab;hp=0000000000000000000000000000000000000000;hb=d5da4f291af551c0b8b79e1d4a9b173d60e5c10e;hpb=7b5ea4fcdf2819e070665ab5610f8b48e3867c10 diff --git a/ld/testsuite/ld-mips-elf/reloc-estimate-1.ld b/ld/testsuite/ld-mips-elf/reloc-estimate-1.ld new file mode 100644 index 0000000..776e503 --- /dev/null +++ b/ld/testsuite/ld-mips-elf/reloc-estimate-1.ld @@ -0,0 +1,29 @@ +SECTIONS +{ + . = 0; + .reginfo : { *(.reginfo) } + + . = ALIGN (0x400); + .dynamic : { *(.dynamic) } + .dynsym : { *(.dynsym) } + .dynstr : { *(.dynstr) } + + . = ALIGN (0x400); + .rel.dyn : { *(.rel.dyn) } + .foo : { *(.foo) } + .text : { *(.text) } + + . = ALIGN (0x400); + .MIPS.stubs : { *(.MIPS.stubs) } + + . = ALIGN (0x10000); + .data : { *(.data) } + + . = ALIGN (0x400); + _gp = . + 0x7ff0; + .got : { *(.got) } +} + +VERSION { + V2 { global: foo; local: *; }; +}