bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/25694] R_RISCV_TPREL_HI20 relocations cause riscv64 to add TEXTR


From: nelsonc1225 at sourceware dot org
Subject: [Bug ld/25694] R_RISCV_TPREL_HI20 relocations cause riscv64 to add TEXTREL bit on executables
Date: Sat, 27 May 2023 01:53:03 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=25694

--- Comment #7 from Nelson Chu <nelsonc1225 at sourceware dot org> ---
Thanks for the information, Andreas.

There is a proposed solution as follows, which suggested by Alan,
https://sourceware.org/pipermail/binutils/2023-May/127653.html

The idea is that make sure using same condition check in the relocate_section
and allocate_dynrelocs for TLS GD/IE, so won't reserve extra spaces for the
dynamic relocations.  It seems like there is no longer any R_RISCV_NONE for
pr22263-1 test after applying this fix.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]