[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/26153] .gnu.version reported as orphan section even when n
From: |
i at maskray dot me |
Subject: |
[Bug binutils/26153] .gnu.version reported as orphan section even when not emitted |
Date: |
Tue, 23 Jun 2020 17:26:33 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=26153
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> ---
Does this suggest that GNU ld --orphan-handling should ignore unused linker
created sections? (FWIW I did this for LLD in https://reviews.llvm.org/D75149 )
If no symbol versioning feature is used, the output naturally has no
.gnu.version{,_r,_d} - this is a guaranteed property of ld. Therefore, I think
the user does not have to specify an empty .gnu.version{,_r,_d} output section
description just to suppress the --orphan-handling={warn,error} diagnostic.
--
You are receiving this mail because:
You are on the CC list for the bug.