Do not include empty sections in loadable segments.
[deliverable/binutils-gdb.git] / ld / testsuite / ld-scripts / phdrs2.t
1 PHDRS
2 {
3 text PT_LOAD ;
4 data PT_LOAD ;
5 }
6
7 SECTIONS
8 {
9 . = 0x800000 - 1;
10 /* The PHDRS generated should start at the aligned .text section
11 address, not the unaligned .empty section address */
12 .empty : {
13 EMPTY_START = ABSOLUTE(.) ;
14 *(.empty)
15 EMPTY_END = ABSOLUTE(.) ;
16 } : text
17 .text : { *(.text) } :text
18 .data : { *(.data)
19 LONG(EMPTY_START) ;
20 } :data
21
22 /DISCARD/ : { *(.*) }
23 }
This page took 0.031091 seconds and 5 git commands to generate.