summaryrefslogtreecommitdiff
path: root/lld/ELF/MarkLive.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2018-04-27 18:17:36 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2018-04-27 18:17:36 +0000
commit805a460526b0460b7cad43a4b4fb74b616fc44d7 (patch)
treed178556ee3dcb9c5bc7bc5a831879da39bf21f63 /lld/ELF/MarkLive.cpp
parentb820ae503b2b2237b227d8a6fe94de4663185721 (diff)
Split .eh_frame sections in parellel.
We can now split them in the same spot we split merge sections.
Diffstat (limited to 'lld/ELF/MarkLive.cpp')
-rw-r--r--lld/ELF/MarkLive.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/lld/ELF/MarkLive.cpp b/lld/ELF/MarkLive.cpp
index d7cc74e48c1..afdb69ea456 100644
--- a/lld/ELF/MarkLive.cpp
+++ b/lld/ELF/MarkLive.cpp
@@ -159,10 +159,6 @@ scanEhFrameSection(EhInputSection &EH,
if (!EH.NumRelocations)
return;
- // Unfortunately we need to split .eh_frame early since some relocations in
- // .eh_frame keep other section alive and some don't.
- EH.split<ELFT>();
-
if (EH.AreRelocsRela)
scanEhFrameSection<ELFT>(EH, EH.template relas<ELFT>(), Fn);
else