summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-objcopy/ELF
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2019-09-04 09:19:31 +0000
committerFangrui Song <maskray@google.com>2019-09-04 09:19:31 +0000
commit441d450115f545c673f593fc62eccccb88167c9b (patch)
tree3fd13bb77bdbf64ed563a3d05fbda46b9c41c1af /llvm/test/tools/llvm-objcopy/ELF
parent42fb94993d8ac15e9fecf74ce6a7b9b2b313d01a (diff)
downloadbcm5719-llvm-441d450115f545c673f593fc62eccccb88167c9b.tar.gz
bcm5719-llvm-441d450115f545c673f593fc62eccccb88167c9b.zip
[yaml2obj] Support PT_GNU_STACK and PT_GNU_RELRO
PT_GNU_STACK is used in an llvm-objcopy test. I plan to use PT_GNU_RELRO in a patch to improve nested segment processing in llvm-objcopy (PR42963). Reviewed By: grimar Differential Revision: https://reviews.llvm.org/D67146 llvm-svn: 370857
Diffstat (limited to 'llvm/test/tools/llvm-objcopy/ELF')
-rw-r--r--llvm/test/tools/llvm-objcopy/ELF/marker-segment.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/tools/llvm-objcopy/ELF/marker-segment.test b/llvm/test/tools/llvm-objcopy/ELF/marker-segment.test
index 226d21ccba9..548def4334a 100644
--- a/llvm/test/tools/llvm-objcopy/ELF/marker-segment.test
+++ b/llvm/test/tools/llvm-objcopy/ELF/marker-segment.test
@@ -43,7 +43,7 @@ ProgramHeaders:
Align: 0x1000
Sections:
- Section: .data
- - Type: 0x6474e551 # GNU_STACK
+ - Type: PT_GNU_STACK
Flags: [ PF_R, PF_W ]
VAddr: 0x0000
PAddr: 0x0000
OpenPOWER on IntegriCloud