X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=ld%2Ftestsuite%2Fld-arm%2Fdiscard-unwind.ld;fp=ld%2Ftestsuite%2Fld-arm%2Fdiscard-unwind.ld;h=d8f6524aa9f8ce86dca9b5a8a4e0d6d2244d2b10;hb=88750007d7869f178f0ba528f41efd3b74c424cf;hp=0000000000000000000000000000000000000000;hpb=6df9443a374e2b81278c61b8afc0a1eef7db280b;p=msp430-binutils.git diff --git a/ld/testsuite/ld-arm/discard-unwind.ld b/ld/testsuite/ld-arm/discard-unwind.ld new file mode 100644 index 0000000..d8f6524 --- /dev/null +++ b/ld/testsuite/ld-arm/discard-unwind.ld @@ -0,0 +1,19 @@ +/* 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) } +}