diff options
author | Maciej W. Rozycki <macro@mips.com> | 2018-03-28 21:37:37 +0100 |
---|---|---|
committer | Maciej W. Rozycki <macro@mips.com> | 2018-03-28 21:37:37 +0100 |
commit | 8205a328f8b852086652841dfc2aff4ca0b16d45 (patch) | |
tree | 3129c774fc2bc3416282100e81d0664bf4620ce0 /gold/options.cc | |
parent | e04ef02299ad4aae08da857e8535d98e8643a274 (diff) | |
download | gdb-8205a328f8b852086652841dfc2aff4ca0b16d45.zip gdb-8205a328f8b852086652841dfc2aff4ca0b16d45.tar.gz gdb-8205a328f8b852086652841dfc2aff4ca0b16d45.tar.bz2 |
MIPS/BFD: Call `mips_elf32_rtype_to_howto' directly with o32
Call `mips_elf32_rtype_to_howto' directly rather than via the
`->elf_backend_mips_rtype_to_howto' method in the o32 backend,
complementing commit 861fb55ab50a ("Defer allocation of R_MIPS_REL32 GOT
slots"), <https://sourceware.org/ml/binutils/2008-08/msg00096.html>, and
reverting the change to `mips_info_to_howto_rel' originally made with
commit 0a44bf6950b3 ("mips-vxworks support"),
<https://sourceware.org/ml/binutils/2006-03/msg00179.html>.
With `mips_vxworks_rtype_to_howto' gone there is a single backend method
used across all o32 targets, so there in no need for the indirection and
the associated extra cost. This also makes the o32 backend consistent
with the n32 and n64 backends.
bfd/
* elf32-mips.c (mips_info_to_howto_rel): Call
`mips_elf32_rtype_to_howto' directly rather than via
`->elf_backend_mips_rtype_to_howto'.
Diffstat (limited to 'gold/options.cc')
0 files changed, 0 insertions, 0 deletions