This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH, ld/ARM, ping] Mark bare-metal ARM targets as not supporting shared libraries
- From: Thomas Preudhomme <thomas dot preudhomme at foss dot arm dot com>
- To: Richard Earnshaw <richard dot earnshaw at arm dot com>, Alan Modra <amodra at gmail dot com>, Nick Clifton <nickc at redhat dot com>, binutils at sourceware dot org
- Date: Thu, 4 May 2017 10:09:10 +0100
- Subject: Re: [PATCH, ld/ARM, ping] Mark bare-metal ARM targets as not supporting shared libraries
- Authentication-results: sourceware.org; auth=none
- References: <6777df33-3452-ac79-14a0-b08948dec85c@foss.arm.com>
Ping?
Best regards,
Thomas
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.
ChangeLog entry is as follow:
*** ld/ChangeLog ***
2017-04-27 Thomas Preud'homme <thomas.preudhomme@arm.com>
* testsuite/lib/ld-lib.exp (check_shared_lib_support): Return false for
arm*-none-eabi* targets.
With this patch, failing audit and rdynamic tests are marked UNSUPPORTED
on arm-none-eabi targets.
Is it ok to commit?
Best regards,
Thomas
diff --git a/ld/testsuite/lib/ld-lib.exp b/ld/testsuite/lib/ld-lib.exp
index b60fcadf0582357ab6b12d4418b903b9afc06326..1e9158c22166506f9f217b52e8f21d1bec9dbed4 100644
--- a/ld/testsuite/lib/ld-lib.exp
+++ b/ld/testsuite/lib/ld-lib.exp
@@ -1788,6 +1788,7 @@ proc check_shared_lib_support { } {
if {![istarget aarch64*-*-elf]
&& ![istarget arc*-*-elf*]
&& ![istarget arm*-*-elf]
+ && ![istarget arm*-none-eabi*]
&& ![istarget avr-*-*]
&& ![istarget cr16-*-*]
&& ![istarget cris*-*-elf]