22a8f80ef5
Paul Brook <paul@codesourcery.com> bfd/ * elf32-arm.c (elf32_arm_fix_exidx_coverage): Don't attempt to fix discarded sections. ld/testsuite/ * ld-arm/arm-elf.exp: Add unwind-5. * ld-arm/discard-unwind.ld: New file. * ld-arm/unwind-5.d: New test. * ld-arm/unwind-5.s: New test.
19 lines
380 B
Text
19 lines
380 B
Text
/* Script for ld testsuite */
|
|
OUTPUT_ARCH(arm)
|
|
ENTRY(_start)
|
|
SECTIONS
|
|
{
|
|
/* Read-only sections, merged into text segment: */
|
|
PROVIDE (__executable_start = 0x8000); . = 0x8000;
|
|
.text :
|
|
{
|
|
*(.before)
|
|
*(.text)
|
|
*(.after)
|
|
*(.ARM.extab*)
|
|
*(.glue_7)
|
|
*(.v4_bx)
|
|
} =0
|
|
/DISCARD/ : { *(.ARM.exidx*) }
|
|
.ARM.attribues 0 : { *(.ARM.atttributes) }
|
|
}
|