diff options
Diffstat (limited to 'test/old-elf/linkerscript/phdrs-same.test')
| -rw-r--r-- | test/old-elf/linkerscript/phdrs-same.test | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/test/old-elf/linkerscript/phdrs-same.test b/test/old-elf/linkerscript/phdrs-same.test deleted file mode 100644 index 92b3ad3909c3..000000000000 --- a/test/old-elf/linkerscript/phdrs-same.test +++ /dev/null @@ -1,36 +0,0 @@ -/* -Test sections put to same segment. - -RUN: yaml2obj -format=elf %p/Inputs/simple.o.yaml -o=%t.o - -RUN: lld -flavor old-gnu -target x86_64 -T %s %t.o -static -o %t1 -RUN: llvm-objdump -section-headers %t1 | FileCheck -check-prefix SAME-PHDRS-SECS %s -RUN: llvm-readobj -program-headers %t1 | FileCheck -check-prefix SAME-PHDRS-HDRS %s -*/ - -ENTRY(_start) - -PHDRS -{ - text PT_LOAD; -} - -SECTIONS -{ - .text : { *(.text) } :text - .data : { *(.data) } -} - -/* -SAME-PHDRS-SECS: .text {{[0-9a-f]+}} 00000000004000b0 -SAME-PHDRS-SECS: .data {{[0-9a-f]+}} 00000000004000dc - -SAME-PHDRS-HDRS: ProgramHeader { -SAME-PHDRS-HDRS: Type: PT_LOAD (0x1) -SAME-PHDRS-HDRS: VirtualAddress: 0x400000 -SAME-PHDRS-HDRS: Flags [ (0x5) -SAME-PHDRS-HDRS: PF_R (0x4) -SAME-PHDRS-HDRS: PF_X (0x1) -SAME-PHDRS-HDRS: ] -SAME-PHDRS-HDRS: } -*/ |
