aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/COFFObjectFile.cpp
diff options
context:
space:
mode:
authorNick Kledzik <kledzik@apple.com>2014-11-12 23:34:23 +0000
committerNick Kledzik <kledzik@apple.com>2014-11-12 23:34:23 +0000
commit8870ad24399680811045a34d9b5438ebc4d812f8 (patch)
tree000fd735b4824b7c48d4f33d5ef8cba392167aa5 /llvm/lib/Object/COFFObjectFile.cpp
parente8356339cda10ea094eb9d57af80e1f53532af3f (diff)
downloadllvm-8870ad24399680811045a34d9b5438ebc4d812f8.zip
llvm-8870ad24399680811045a34d9b5438ebc4d812f8.tar.gz
llvm-8870ad24399680811045a34d9b5438ebc4d812f8.tar.bz2
[mach-o] Sort GOT entries by name to make links reproducible
The GOT slots were being laid out in a random order by the GOTPass which caused randomness in the output file. Note: With this change lld now bootstraps on darwin. That is: 1) link lld using system linker to make lld.1 2) link lld using lld.1 to make lld.2 3) link lld using lld.2 to make lld.3 Now lld.2 and lld.3 are identical. llvm-svn: 221831
Diffstat (limited to 'llvm/lib/Object/COFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions