artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2aa24a8
)
Make --execute-only the default on powerpc64. Sort case statements in
author
kettenis
<kettenis@openbsd.org>
Sat, 28 Jan 2023 11:13:59 +0000
(11:13 +0000)
committer
kettenis
<kettenis@openbsd.org>
Sat, 28 Jan 2023 11:13:59 +0000
(11:13 +0000)
alphabetical order while I'm there.
ok deraadt@
gnu/llvm/lld/ELF/Driver.cpp
patch
|
blob
|
history
diff --git
a/gnu/llvm/lld/ELF/Driver.cpp
b/gnu/llvm/lld/ELF/Driver.cpp
index
b718f47
..
55efade
100644
(file)
--- a/
gnu/llvm/lld/ELF/Driver.cpp
+++ b/
gnu/llvm/lld/ELF/Driver.cpp
@@
-360,11
+360,11
@@
static void checkOptions() {
if (config->executeOnly) {
switch (config->emachine) {
case EM_AARCH64:
- case EM_RISCV:
case EM_MIPS:
+ case EM_PPC64:
+ case EM_RISCV:
case EM_SPARCV9:
case EM_X86_64:
- case EM_PPC64:
break;
default:
error("-execute-only is not supported on this target");
@@
-1482,6
+1482,7
@@
static void setConfigs(opt::InputArgList &args) {
#ifdef __OpenBSD__
switch (m) {
case EM_AARCH64:
+ case EM_PPC64:
case EM_RISCV:
case EM_X86_64:
config->executeOnly = true;