summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2015-10-24 01:46:40 +0000
committerRui Ueyama <ruiu@google.com>2015-10-24 01:46:40 +0000
commitc27d2f266ee57a477f9500357da1fd0596f54861 (patch)
treea171cb8e5f892c72b68ee2cb710670fb0dcac26b
parente3f250dbda5eee7f400bff848aaf3a339f6d7d35 (diff)
downloadbcm5719-llvm-c27d2f266ee57a477f9500357da1fd0596f54861.tar.gz
bcm5719-llvm-c27d2f266ee57a477f9500357da1fd0596f54861.zip
ELF2: Remove FIXMEs which we are not sure if we have to fix.
llvm-svn: 251173
-rw-r--r--lld/ELF/Writer.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/lld/ELF/Writer.cpp b/lld/ELF/Writer.cpp
index 30e4079c957..96fe3acfddf 100644
--- a/lld/ELF/Writer.cpp
+++ b/lld/ELF/Writer.cpp
@@ -502,7 +502,6 @@ template <class ELFT> void Writer<ELFT>::createSections() {
if (S->isLive())
scanRelocs(*S);
- // FIXME: Try to avoid the extra walk over all global symbols.
std::vector<DefinedCommon<ELFT> *> CommonSymbols;
for (auto &P : Symtab.getSymbols()) {
SymbolBody *Body = P.second->Body;
@@ -716,9 +715,6 @@ template <class ELFT> void Writer<ELFT>::writeHeader() {
auto &FirstObj = cast<ELFFileBase<ELFT>>(*Config->FirstElf);
EHdr->e_ident[EI_OSABI] = FirstObj.getOSABI();
- // FIXME: Generalize the segment construction similar to how we create
- // output sections.
-
EHdr->e_type = Config->Shared ? ET_DYN : ET_EXEC;
EHdr->e_machine = FirstObj.getEMachine();
EHdr->e_version = EV_CURRENT;
OpenPOWER on IntegriCloud