GNU Binutils with patches for OS216
修订版 | c2fa9cedff58bfdb38cfb627b58fb34256f20369 (tree) |
---|---|
时间 | 2016-03-18 06:26:50 |
作者 | Vladimir Radosavljevic <vladimir.radosavljevic@imgt...> |
Commiter | Cary Coutant |
Fix problem with --emit-relocs for Mips-32.
gold/
* mips.cc (Mips_classify_reloc::put_r_info): Call 32bit version of
elf_r_info.
@@ -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 | + | |
1 | 6 | 2016-03-09 H.J. Lu <hongjiu.lu@intel.com> |
2 | 7 | |
3 | 8 | * testsuite/plugin_layout_with_alignment.cc: Renamed to .. |
@@ -2976,7 +2976,7 @@ class Mips_classify_reloc<sh_type_, 32, big_endian> : | ||
2976 | 2976 | put_r_info(Reltype_write* new_reloc, Reltype* reloc, unsigned int r_sym) |
2977 | 2977 | { |
2978 | 2978 | 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)); | |
2980 | 2980 | } |
2981 | 2981 | |
2982 | 2982 | // Write the r_addend field to a new reloc. |