diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-02-11 05:05:39 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-02-11 05:05:39 +0100 |
commit | 3acb8f897949778f0db9d7f0ffc5d06b3f1119ae (patch) | |
tree | bd9d6107eb623fdb0d114c66066fae6151eddb4d /.topmsg | |
parent | 4a7fa7e43dfa3910664c02af588955137524c6ea (diff) |
Fix sbrk in PIE binaries
In PIE mode, the program gets loaded at very low address, and thus _end is very
low, just before libraries, and thus initializing the brk to it does not make
sense, since there is no room left there. Hardcode the brk to 0x800000 for now
as a workaround.
Diffstat (limited to '.topmsg')
-rw-r--r-- | .topmsg | 21 |
1 files changed, 7 insertions, 14 deletions
@@ -1,16 +1,9 @@ -Subject: Baseline for our topic branches. +From: Samuel Thibault <samuel.thibault@ens-lyon.org> +Subject: Fix sbrk in PIE binaries ---- +In PIE mode, the program gets loaded at very low address, and thus _end is very +low, just before libraries, and thus initializing the brk to it does not make +sense, since there is no room left there. Hardcode the brk to 0x800000 for now +as a workaround. -This need not strictly be a TopGit branch, but it is for easy synchronization -between different machines. - -As the baseline is merged into the topic branches, it is forward-only. - -To advance it: - - $ echo [SHA1] > .topdeps - $ git commit -m Advance. -- .topdeps - $ tg update - ---- +Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> |