63897e2cf0
* elfxx-mips.c (allocate_dynrelocs): Ignore indirect and warning symbols. ld/testsuite/ * ld-mips-elf/reloc-estimate-1.d, ld-mips-elf/reloc-estimate-1.ld, ld-mips-elf/reloc-estimate-1a.s, ld-mips-elf/reloc-estimate-1b.s: New test. * ld-mips-elf/mips-elf.exp: Run it.
29 lines
464 B
Text
29 lines
464 B
Text
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: *; };
|
|
}
|