2e658c8781
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.
11 lines
206 B
Raku
11 lines
206 B
Raku
SECTIONS
|
|
{
|
|
. = 0x1000;
|
|
.sec1 : { *sec-to-seg1.o(.rodata) }
|
|
. += CONSTANT(MAXPAGESIZE) * 2;
|
|
.sec2 : { *sec-to-seg2.o(.rodata) }
|
|
|
|
.data : { *(.data) } /* For hppa64. */
|
|
|
|
/DISCARD/ : {*(*) }
|
|
}
|