binutils-gdb/ld/testsuite/ld-scripts/include-sections.t
Nick Clifton 5b9f75a8ae * ld-scripts/include-sections.t: Discard all sections not
explicitly requested by the rest of the linker script.
        * ld-scripts/include-1.d: Expect test to fail for AIX ports.
        Do not assume that the .text section will be marked readonly.
        * ld-scripts/include.s: Replace .section directives with just
        .text or .data.
2008-07-21 08:38:35 +00:00

6 lines
89 B
Perl

SECTIONS {
.text : { *(.text) } >rom
INCLUDE include-data.t
/DISCARD/ : { *(*) }
}