old-cross-binutils/ld/testsuite/ld-mips-elf/reloc-estimate-1.ld
Richard Sandiford 63897e2cf0 bfd/
* 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.
2008-08-07 19:50:05 +00:00

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: *; };
}