projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5359bb4
)
[ELF][test] Update znotext-plt-relocations.s to emit R_X86_64_PC32
author
Fangrui Song
<maskray@google.com>
Thu, 30 May 2019 14:16:29 +0000
(14:16 +0000)
committer
Fangrui Song
<maskray@google.com>
Thu, 30 May 2019 14:16:29 +0000
(14:16 +0000)
This is a leftover from r325379.
The intention of this test was to check in a non-pic link, R_X86_64_PC32
to a STT_FUNC created a PLT. However, after the llvm-mc change in
r325569, this code path is no longer exercised. Use the r325379 trick to
keep testing R_X86_64_PC32.
llvm-svn: 362095
lld/test/ELF/znotext-plt-relocations.s
patch
|
blob
|
history
diff --git
a/lld/test/ELF/znotext-plt-relocations.s
b/lld/test/ELF/znotext-plt-relocations.s
index
ad305b0
..
3bc1f41
100644
(file)
--- a/
lld/test/ELF/znotext-plt-relocations.s
+++ b/
lld/test/ELF/znotext-plt-relocations.s
@@
-16,5
+16,6
@@
.text
_start:
-callq atexit
+.byte 0xe8
+.long atexit - . - 4
.quad foo