binutils-gdb/ld/testsuite/ld-mips-elf/eh-frame1.ld
Richard Sandiford 41ec656ec6 ld/testsuite/
* ld-mips-elf/eh-frame1.ld (.gcc_compiled_long32): Add KEEP.
	* ld-mips-elf/eh-frame3.d: Move definition of foo to the link line
	and change to a 32-bit value.  Expect CIEs to be marged.
	* ld-mips-elf/eh-frame4.d: Move definition of foo to the link line.
2012-05-13 09:45:45 +00:00

20 lines
354 B
Plaintext

SECTIONS
{
. = 0x10000;
.dynamic : { *(.dynamic) }
.hash : { *(.hash) }
.dynsym : { *(.dynsym) }
.dynstr : { *(.dynstr) }
.rel.dyn : { *(.rel.dyn) }
. = 0x20000;
.text : { *(.text) }
. = 0x30000;
.eh_frame : { *(.eh_frame) }
.got : { *(.got) }
.gcc_compiled_long32 : { KEEP (*(.gcc_compiled_long32)) }
/DISCARD/ : { *(*) }
}