mailing list of musl libc
 help / color / mirror / code / Atom feed
* static PIE
@ 2014-07-30 19:19 Weiming Zhao
  2014-07-30 20:27 ` 'Rich Felker'
  0 siblings, 1 reply; 5+ messages in thread
From: Weiming Zhao @ 2014-07-30 19:19 UTC (permalink / raw)
  To: 'Rich Felker', musl

[-- Attachment #1: Type: text/plain, Size: 581 bytes --]

Hi Rich,

 

I just find a very interesting article written by you:

http://www.openwall.com/lists/musl/2012/05/24/1

 

I want to do the similar thing on ARM linux. I see _static_pie_reloc does
the relocation, which would be done by loader in dynamic PIE.

 

But with "-static", those reloc entries has already been fixed by ld.
Without that, my code can still run but at fixed address space.

 

To get the benefit of PIE, there should be address randomization (at least
for data sections), which should be done in startup code. Is my
understanding right?

 

Thanks,

weiming


[-- Attachment #2: Type: text/html, Size: 2836 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-08-01  5:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-30 19:19 static PIE Weiming Zhao
2014-07-30 20:27 ` 'Rich Felker'
2014-07-30 23:27   ` Weiming Zhao
2014-07-31  0:22     ` Weiming Zhao
     [not found]     ` <003501cfac55$8242fea0$86c8fbe0$@codeaurora.org>
2014-08-01  5:39       ` weimingz

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).