[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/22756] Linker relaxation miscalculates symbol addresses on riscv
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug ld/22756] Linker relaxation miscalculates symbol addresses on riscv |
Date: |
Fri, 02 Feb 2018 20:44:22 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=22756
--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot
gnu.org> ---
The master branch has been updated by Jim Wilson <address@hidden>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=7f02625eb48105e100d2da58091d56978ed041ef
commit 7f02625eb48105e100d2da58091d56978ed041ef
Author: Jim Wilson <address@hidden>
Date: Fri Feb 2 12:43:09 2018 -0800
RISC-V: Fix --wrap and relaxation conflict.
bfd/
PR ld/22756
* elfnn-riscv.c (riscv_relax_delete_bytes): New parameter link_info.
If link_info->wrap_hash, check for a duplicate symbol and ignore.
(_bfd_riscv_relax_call, bfd_riscv_relax_lui, _bfd_riscv_relax_tls_le):
Pass new argument to riscv_relax_delete_bytes.
(_bfd_riscv_relax_align, _bfd_riscv_relax_delete): Likewise. Remove
ATTRIBUTE_UNUSED from link_info parameter.
--
You are receiving this mail because:
You are on the CC list for the bug.