[PATCH 1/2] ld: Define _edata, __bss_start, and _end only for executables

H.J. Lu hjl.tools@gmail.com
Tue Jun 5 12:51:00 GMT 2018


On Mon, Jun 4, 2018 at 8:40 AM, Joseph Myers <joseph@codesourcery.com> wrote:
> On Sat, 2 Jun 2018, Alan Modra wrote:
>
>> elf32_tic6x_le_sh has another odd use of EXECUTABLE_SYMBOLS,
>> presumably because R_C6000_SBR_* relocs have an implicit reference to
>> __c6xabi_DSBT_BASE.  I suspect those relocs can appear in shared
>> libraries.  So again something for the port maintainer, Joseph, to
>
> Yes, they should be valid in shared libraries.
>

Here is the new set of patches:

https://sourceware.org/ml/binutils/2018-06/msg00072.html

A target must set EXCLUDE_SHLIB_SYMBOLS to opt in.

-- 
H.J.



More information about the Binutils mailing list