bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/21557] __start_SCN not provided if SCN used in linker script


From: hjl.tools at gmail dot com
Subject: [Bug ld/21557] __start_SCN not provided if SCN used in linker script
Date: Fri, 09 Jun 2017 14:54:36 +0000

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Alexander Monakov from comment #2)
> Thanks for the reference, I was missing that this handling is explicitly
> limited to orphan sections. This makes my testcase invalid, but please
> consider that current linker behavior appears inconsistent, for two separate
> reasons.
> 
> First, gc-sections considers these non-orphan sections reachable; taking the
> testcase and linking it without '-z defs', with --gc-sections, you get:
> 

Please open a new bug report.  BTW, foo in your testcase isn't reachable
outside of test.so.

> (it's not clear to me why bug status was set to WAITING, please clarify if
> you'd like to see further clarifications, new bugreports for above issues,
> or something else)

I wanted to see more info.

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