summaryrefslogtreecommitdiffstats
path: root/lld/test/ELF/linkerscript/Inputs/implicit-program-header.script
blob: 27dbea84c4e4d66e36d966eda319971dc0c5b6da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
PHDRS
{
	ph_write PT_LOAD FLAGS(2);
	ph_exec  PT_LOAD FLAGS(1);
}

SECTIONS
{
  .bar : { *(.bar) } : ph_exec
  .foo : { *(.foo) }
  .text : { *(.text) } : ph_write
}
OpenPOWER on IntegriCloud