diff options
Diffstat (limited to 'binutils-2.25/ld/testsuite/ld-mips-elf/reloc-estimate-1.ld')
-rw-r--r-- | binutils-2.25/ld/testsuite/ld-mips-elf/reloc-estimate-1.ld | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/binutils-2.25/ld/testsuite/ld-mips-elf/reloc-estimate-1.ld b/binutils-2.25/ld/testsuite/ld-mips-elf/reloc-estimate-1.ld new file mode 100644 index 00000000..ec4c3450 --- /dev/null +++ b/binutils-2.25/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); + HIDDEN (_gp = . + 0x7ff0); + .got : { *(.got) } +} + +VERSION { + V2 { global: foo; local: *; }; +} |