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: i at maskray dot me
Subject: [Bug ld/25694] R_RISCV_TPREL_HI20 relocations cause riscv64 to add TEXTREL bit on executables
Date: Sun, 05 Apr 2020 04:15:19 +0000

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

Fangrui Song <i at maskray dot me> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |i at maskray dot me

--- Comment #3 from Fangrui Song <i at maskray dot me> ---
Instead of --warn-shared-textrel, we can make bfd_link_info::error_textrel
default to 1 and delete warn_shared_textrel.

The bi-state approach is used by LLD: either -z notext or -z text. There is no
state where DT_TEXTREL/DF_TEXTREL is added on demand. The diagnostic should
remind the user that -z notext may be needed.

-- 
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]