mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +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
206 B
Raku
12 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/ : {*(*) }
|
|
}
|