binutils-gdb/ld/testsuite/ld-elf/sec-to-seg-script-adjoining-pages.t
Nick Clifton 2e658c8781 * ld-elf/sec-to-seg.exp: New test: Checks the assignment of
sections to segments.
        * ld-elf/sec-to-seg1.s: Test source file.
        * ld-elf/sec-to-seg2.s: Test source file.
        * ld-elf/sec-to-seg-script-same-page.t: Test linker script.
        * ld-elf/sec-to-seg-script-adjoining-pages.t: Test linker script.
        * ld-elf/sec-to-seg-script-disjoint-pages.t: Test linker script.
2008-07-30 10:28:31 +00:00

12 lines
202 B
Raku

SECTIONS
{
. = 0x1000;
.sec1 : { *sec-to-seg1.o(.rodata) }
. += CONSTANT(MAXPAGESIZE);
.sec2 : { *sec-to-seg2.o(.rodata) }
.data : { *(.data) } /* For hppa64. */
/DISCARD/ : {*(*) }
}