diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2013-01-17 19:50:42 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2013-01-17 19:50:42 +0000 |
commit | 6600516a58947a8be49ba8c8be178ab48924516b (patch) | |
tree | fc8aa68dac2c2d85bf5e2bb452e4f9026883e174 /llvm/lib/Linker/Linker.cpp | |
parent | 94b8cdbf5512ab4ffac0dc09f58ea70c87797546 (diff) | |
download | bcm5719-llvm-6600516a58947a8be49ba8c8be178ab48924516b.tar.gz bcm5719-llvm-6600516a58947a8be49ba8c8be178ab48924516b.zip |
Have ReExec read environment from /proc/self/environ
It is possible for ReExec to be called before the C standard library
has initialised itself sufficiently for execv to work properly.
Fix this by parsing the environment ourselves and using execve.
Differential Revision: http://llvm-reviews.chandlerc.com/D304
llvm-svn: 172748
Diffstat (limited to 'llvm/lib/Linker/Linker.cpp')
0 files changed, 0 insertions, 0 deletions