mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-03 04:12:10 +08:00
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.
12 lines
202 B
Raku
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/ : {*(*) }
|
|
}
|