artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91b3131
)
Link -static -pie executables on powerpc with rcrt0.o instead of crt0.o
author
kurt
<kurt@openbsd.org>
Fri, 26 Dec 2014 13:53:43 +0000
(13:53 +0000)
committer
kurt
<kurt@openbsd.org>
Fri, 26 Dec 2014 13:53:43 +0000
(13:53 +0000)
such that they self-relocate. okay kettenis@
gnu/gcc/gcc/config/rs6000/sysv4.h
patch
|
blob
|
history
diff --git
a/gnu/gcc/gcc/config/rs6000/sysv4.h
b/gnu/gcc/gcc/config/rs6000/sysv4.h
index
48c9b1f
..
6a800b6
100644
(file)
--- a/
gnu/gcc/gcc/config/rs6000/sysv4.h
+++ b/
gnu/gcc/gcc/config/rs6000/sysv4.h
@@
-973,8
+973,9
@@
ncrtn.o%s"
#ifndef STARTFILE_OPENBSD_SPEC
#define STARTFILE_OPENBSD_SPEC "\
-%{!shared: %{pg:gcrt0.o%s} %{!pg:%{p:gcrt0.o%s} %{!p:crt0.o%s}}} \
-%{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}"
+%{!shared: %{pg:gcrt0%O%s} %{!pg:%{p:gcrt0%O%s} \
+%{!p:%{!static:crt0%O%s} %{static:%{pie:rcrt0%O%s} %{!pie:crt0%O%s}}}} \
+crtbegin%O%s} %{shared:crtbeginS%O%s}"
#endif
#ifndef ENDFILE_OPENBSD_SPEC