projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1992ac7
)
Don't do extra work if -r is given.
author
Rui Ueyama
<ruiu@google.com>
Fri, 1 Apr 2016 17:11:42 +0000
(17:11 +0000)
committer
Rui Ueyama
<ruiu@google.com>
Fri, 1 Apr 2016 17:11:42 +0000
(17:11 +0000)
fixAbsoluteSymbols fixes linker-created symbol addresses. Since we don't
create such symbols for relocatable output, we don't need to call this
function.
llvm-svn: 265154
lld/ELF/Writer.cpp
patch
|
blob
|
history
diff --git
a/lld/ELF/Writer.cpp
b/lld/ELF/Writer.cpp
index
fa0bff2
..
fd74766
100644
(file)
--- a/
lld/ELF/Writer.cpp
+++ b/
lld/ELF/Writer.cpp
@@
-225,8
+225,8
@@
template <class ELFT> void Writer<ELFT>::run() {
assignAddresses();
assignFileOffsets();
setPhdrs();
+ fixAbsoluteSymbols();
}
- fixAbsoluteSymbols();
if (!openFile())
return;