diff options
Diffstat (limited to 'test/ELF/linkerscript/Inputs/implicit-program-header.script')
-rw-r--r-- | test/ELF/linkerscript/Inputs/implicit-program-header.script | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/ELF/linkerscript/Inputs/implicit-program-header.script b/test/ELF/linkerscript/Inputs/implicit-program-header.script new file mode 100644 index 000000000000..27dbea84c4e4 --- /dev/null +++ b/test/ELF/linkerscript/Inputs/implicit-program-header.script @@ -0,0 +1,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 +} |