This reverts "Mitigate relocation overflow [part 1 of 2]." and the following commits which were trying to fix the bots. At the moment of r332082, bots are still failing and we need to find the reason of test case breakages first of all. http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast/builds/17042/steps/test/logs/stdio http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-scei-ps4-ubuntu-fast/builds/29845/steps/test/logs/stdio llvm-svn: 332085
24 lines
620 B
Plaintext
24 lines
620 B
Plaintext
# REQUIRES: x86
|
|
|
|
# RUN: echo '.section .text,"ax"; .quad 0' > %t.s
|
|
# RUN: echo '.section .foo,"ax"; .quad 0' >> %t.s
|
|
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %t.s -o %t.o
|
|
# RUN: ld.lld --hash-style=sysv -o %t1 --script %s \
|
|
# RUN: %t.o -shared
|
|
# RUN: llvm-readobj -elf-output-style=GNU -l %t1 | FileCheck %s
|
|
|
|
# CHECK: Segment Sections...
|
|
# CHECK-NEXT: 00 .text .dynsym .hash .dynstr .dynamic
|
|
# CHECK-NEXT: 01 .bar .foo
|
|
|
|
PHDRS {
|
|
ph_write PT_LOAD FLAGS(2);
|
|
ph_exec PT_LOAD FLAGS(1);
|
|
}
|
|
|
|
SECTIONS {
|
|
.bar : { *(.bar) } : ph_exec
|
|
.foo : { *(.foo) }
|
|
.text : { *(.text) } : ph_write
|
|
}
|