• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No 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

修订版c2fa9cedff58bfdb38cfb627b58fb34256f20369 (tree)
时间2016-03-18 06:26:50
作者Vladimir Radosavljevic <vladimir.radosavljevic@imgt...>
CommiterCary Coutant

Log Message

Fix problem with --emit-relocs for Mips-32.

gold/
* mips.cc (Mips_classify_reloc::put_r_info): Call 32bit version of
elf_r_info.

更改概述

差异

--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,8 @@
1+2016-03-17 Vladimir Radosavljevic <vladimir.radosavljevic@imgtec.com>
2+
3+ * mips.cc (Mips_classify_reloc::put_r_info): Call 32bit version of
4+ elf_r_info.
5+
16 2016-03-09 H.J. Lu <hongjiu.lu@intel.com>
27
38 * testsuite/plugin_layout_with_alignment.cc: Renamed to ..
--- a/gold/mips.cc
+++ b/gold/mips.cc
@@ -2976,7 +2976,7 @@ class Mips_classify_reloc<sh_type_, 32, big_endian> :
29762976 put_r_info(Reltype_write* new_reloc, Reltype* reloc, unsigned int r_sym)
29772977 {
29782978 unsigned int r_type = elfcpp::elf_r_type<32>(reloc->get_r_info());
2979- new_reloc->put_r_info(elfcpp::elf_r_info<64>(r_sym, r_type));
2979+ new_reloc->put_r_info(elfcpp::elf_r_info<32>(r_sym, r_type));
29802980 }
29812981
29822982 // Write the r_addend field to a new reloc.