This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, ld/ARM, ping] Mark bare-metal ARM targets as not supporting shared libraries


Hi Alan,

I'm glad you ask. In general arm-none-eabi targets being bare metal do not have a loader to deal with shared libraries. However GNU ld itself does indeed does have the support for shared library when built for such targets.

Having discussed further with my colleagues I now believe that this patch is not appropriate. So far the only test that fail are link-time only, they do not involve runtime. It is thus better to look into these failures. This can be revisited later if a shared library runtime test is added at some point in the future.

Thanks for chimin in and sorry for the noise. Best regards,

Thomas

On 05/05/17 00:14, Alan Modra wrote:
On Thu, May 04, 2017 at 10:09:10AM +0100, Thomas Preudhomme wrote:
Ping?
On 27/04/17 16:37, Thomas Preudhomme wrote:
Hi,

arm*-none-eabi* targets are bare-metal targets. As such they do not
support shared library. This patch adds these target to the list of
targets for which check_shared_lib_support returns false.

Since you CC'd me, what makes arm-none-eabi different to other ARM
targets that do support shared libs?  I don't see anything different
in bfd, and ld/emulparams/armelf.sh says GENERATE_SHLIB_SCRIPT=yes.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]