[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Disabling -pie when linking?

From: Samuel Thibault
Subject: Re: Disabling -pie when linking?
Date: Tue, 12 Feb 2013 12:03:46 +0100
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Thomas Schwinge, le Tue 12 Feb 2013 12:00:05 +0100, a écrit :
> What the Linux kernel is doing, at least the 3.2 kernel on x86 that I've
> been testing on, is putting the "beginning of the program break" in the
> 512 MiB area, 0x2xxxxxxx.  I have not yet figured out why exactly this
> region.  As I understand it, that would be mm->start_brk, initialized in
> fs/binfmt_elf.c:set_brk, called from a few places.  Will continue to
> track this down unless you already know.

I don't know.

> When adding a test case to glibc, I noticed your hack doesn't play nicely
> with setrlimit as used by test-skeleton.c, so that may need some
> follow-up tweaking, too.
> And then, I found GDB also doesn't like PIE binaries...  ;-)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]