This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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 v2] Fix builtin tests for RTEMS targets


This patch should be applied to GCC 4.8 and 4.9.

Test results for powerpc-rtems4.11 and arm-rtems4.11:

http://gcc.gnu.org/ml/gcc-testresults/2013-03/msg02184.html
http://gcc.gnu.org/ml/gcc-testresults/2013-03/msg02185.html

v2: Keep alphabetic order

gcc/testsuite/ChangeLog
2013-03-21  Sebastian Huber  <sebastian.huber@embedded-brains.de>

	PR testsuite/55994
	* gcc.c-torture/execute/builtins/builtins.exp: Add
	-Wl,--allow-multiple-definition for RTEMS targets.
---
 .../gcc.c-torture/execute/builtins/builtins.exp    |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/gcc/testsuite/gcc.c-torture/execute/builtins/builtins.exp b/gcc/testsuite/gcc.c-torture/execute/builtins/builtins.exp
index 45cfadd..d157fe3 100644
--- a/gcc/testsuite/gcc.c-torture/execute/builtins/builtins.exp
+++ b/gcc/testsuite/gcc.c-torture/execute/builtins/builtins.exp
@@ -43,7 +43,8 @@ if [istarget "powerpc-*-darwin*"] {
 }
 if { [istarget *-*-eabi*]
      || [istarget *-*-elf]
-     || [istarget *-*-mingw*] } {
+     || [istarget *-*-mingw*]
+     || [istarget *-*-rtems*] } {
    lappend additional_flags "-Wl,--allow-multiple-definition"
 }
 
-- 
1.7.7


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