hmm
This commit is contained in:
parent
4d75c3d48e
commit
c72e9ae568
1 changed files with 15 additions and 0 deletions
|
@ -0,0 +1,15 @@
|
||||||
|
[[!comment format=mdwn
|
||||||
|
username="joey"
|
||||||
|
subject="""comment 7"""
|
||||||
|
date="2018-04-16T23:49:20Z"
|
||||||
|
content="""
|
||||||
|
Even with gcc and ld wrapped to pass `-pie` and strip `-no-pie`,
|
||||||
|
ghc is not producing PIE binaries. Verified with
|
||||||
|
"readelf -s git-annex | grep main", and the address for
|
||||||
|
main is a full address not an offset.
|
||||||
|
|
||||||
|
The same android gcc toolchain does produce
|
||||||
|
PIE executables by default when building C code.
|
||||||
|
|
||||||
|
Unclear why..
|
||||||
|
"""]]
|
Loading…
Add table
Add a link
Reference in a new issue