diff options
author | Cary Coutant <ccoutant@google.com> | 2015-01-14 10:30:14 -0800 |
---|---|---|
committer | Cary Coutant <ccoutant@google.com> | 2015-01-14 10:30:14 -0800 |
commit | 3d0064a95d413e7d19ff9c7f6db53fefe44a697b (patch) | |
tree | 8e7a3d1e9d8c6490e7976627a5ca97697c3b26ea /opcodes | |
parent | cdf436294f7e0e3bd7668a81dfd5922fdd1aec14 (diff) | |
download | gdb-3d0064a95d413e7d19ff9c7f6db53fefe44a697b.zip gdb-3d0064a95d413e7d19ff9c7f6db53fefe44a697b.tar.gz gdb-3d0064a95d413e7d19ff9c7f6db53fefe44a697b.tar.bz2 |
Fix a bug in resolving HI16/LO16 relocation pairs for MIPS.
2015-01-14 Sasa Stankovic <Sasa.Stankovic@imgtec.com>
gold/
* mips.cc (reloc_high): Add r_sym.
(Mips_relocate_functions::relhi16): Add r_sym parameter. Pass r_sym to
reloc_high constructor.
(Mips_relocate_functions::relgot16_local): Likewise.
(Mips_relocate_functions::rello16): Add r_sym parameter. Use r_sym and
r_type to decide whether LO16 matches HI16.
(Target_mips::Relocate::relocate): Pass r_sym to calls to relhi16,
rello16 and relgot16_local.
Diffstat (limited to 'opcodes')
0 files changed, 0 insertions, 0 deletions