diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2016-07-23 20:48:50 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2016-07-23 20:48:50 +0000 |
| commit | 1c98619801a5705c688e683be3ef9d70169a0686 (patch) | |
| tree | 8422105cd1a94c368315f2db16b9ac746cf7c000 /test/old-elf/linkerscript/phdrs-extra-program.test | |
| parent | f4f3ce4613680903220815690ad79fc7ba0a2e26 (diff) | |
Notes
Diffstat (limited to 'test/old-elf/linkerscript/phdrs-extra-program.test')
| -rw-r--r-- | test/old-elf/linkerscript/phdrs-extra-program.test | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/test/old-elf/linkerscript/phdrs-extra-program.test b/test/old-elf/linkerscript/phdrs-extra-program.test deleted file mode 100644 index 3bf27dcb1f5a..000000000000 --- a/test/old-elf/linkerscript/phdrs-extra-program.test +++ /dev/null @@ -1,27 +0,0 @@ -/* -Test extra program header generates error. - -RUN: yaml2obj -format=elf %p/Inputs/simple.o.yaml -o=%t.o - -RUN: not lld -flavor old-gnu -target x86_64 -T %s %t.o -static -o %t1 &> %t1-error -RUN: FileCheck -check-prefix EXTRA-PROGRAM-PHDR %s < %t1-error -*/ - -ENTRY(_start) - -PHDRS -{ - header PT_PHDR PHDRS; - header2 PT_PHDR PHDRS; - text PT_LOAD; -} - -SECTIONS -{ - .text : { *(.text) } :NONE - .data : { *(.data) } -} - -/* -EXTRA-PROGRAM-PHDR: Extra program header is found -*/ |
