mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-03 04:12:10 +08:00
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.
30 lines
464 B
Plaintext
30 lines
464 B
Plaintext
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: *; };
|
|
}
|