• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

GNU Binutils with patches for OS216


Commit MetaInfo

Revision1e4d2a179d04d08bf113706939dd502c46301261 (tree)
Zeit2018-01-13 04:12:55
AutorEric Christopher <echristo@gmai...>
CommiterEric Christopher

Log Message

2018-01-12 Eric Christopher <echristo@gmail.com>

Apply from master:
2018-01-12 Sterling Augustine <saugustine@google.com>

        • cref.cc (Cref_inputs::Cref_table_compare::operator): Add
          conditionals and calls to is_forwarder.

Ändern Zusammenfassung

Diff

--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,11 @@
1+2018-01-12 Eric Christopher <echristo@gmail.com>
2+
3+ Apply from master:
4+ 2018-01-12 Sterling Augustine <saugustine@google.com>
5+
6+ * cref.cc (Cref_inputs::Cref_table_compare::operator): Add
7+ conditionals and calls to is_forwarder.
8+
19 2017-11-21 Ian Lance Taylor <iant@google.com>
210
311 Apply from master:
--- a/gold/cref.cc
+++ b/gold/cref.cc
@@ -236,9 +236,13 @@ Cref_inputs::Cref_table_compare::operator()(const Symbol* s1,
236236 }
237237
238238 // We should never have two different symbols with the same name and
239- // version.
239+ // version, where one doesn't forward to the other.
240240 if (s1 == s2)
241241 return false;
242+ if (s1->is_forwarder() && !s2->is_forwarder())
243+ return true;
244+ if (!s1->is_forwarder() && s2->is_forwarder())
245+ return false;
242246 gold_unreachable();
243247 }
244248