This is the mail archive of the 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]

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


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

	* 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,

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]

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