public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Dimitar Dimitrov <dimitar@dinux.eu>
To: binutils@sourceware.org
Cc: Dimitar Dimitrov <dimitar@dinux.eu>
Subject: [PATCH v3 07/15] ld: testsuite: Mark PRU as elf target that does not support shared libraries
Date: Fri, 30 Dec 2016 10:40:00 -0000	[thread overview]
Message-ID: <20161230104000.15594-8-dimitar@dinux.eu> (raw)
In-Reply-To: <20161230104000.15594-1-dimitar@dinux.eu>

2016-12-30  Dimitar Dimitrov <dimitar@dinux.eu>

binutils/

	* testsuite/lib/binutils-common.exp (is_elf_format): Return
	false for PRU.

ld/
	* testsuite/ld-elf/eh-frame-hdr.d: Disable for PRU.
	* testsuite/ld-elf/sec-to-seg.exp: Disable for PRU.
	* testsuite/lib/ld-lib.exp (check_shared_lib_support): No shared
	libraries are supported for PRU.

Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
---
 ld/testsuite/ld-elf/eh-frame-hdr.d | 2 +-
 ld/testsuite/ld-elf/sec-to-seg.exp | 1 +
 ld/testsuite/lib/ld-lib.exp        | 1 +
 3 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/ld/testsuite/ld-elf/eh-frame-hdr.d b/ld/testsuite/ld-elf/eh-frame-hdr.d
index f73d0e51e6..a76ac73866 100644
--- a/ld/testsuite/ld-elf/eh-frame-hdr.d
+++ b/ld/testsuite/ld-elf/eh-frame-hdr.d
@@ -2,7 +2,7 @@
 #ld: -e _start --eh-frame-hdr
 #objdump: -hw
 #target: cfi
-#xfail: avr*-*-* or1k*-*-elf or1k*-*-rtems* visium-*-*
+#xfail: avr*-*-* or1k*-*-elf or1k*-*-rtems* pru-*-* visium-*-*
 # These targets support CFI generation but not shared libraries.
 #...
   [0-9] .eh_frame_hdr 0*[12][048c] .*
diff --git a/ld/testsuite/ld-elf/sec-to-seg.exp b/ld/testsuite/ld-elf/sec-to-seg.exp
index 8847318aa7..af3d604e18 100644
--- a/ld/testsuite/ld-elf/sec-to-seg.exp
+++ b/ld/testsuite/ld-elf/sec-to-seg.exp
@@ -87,6 +87,7 @@ if {    [istarget avr-*-*]
      || [istarget moxie-*-*]
      || [istarget msp430-*-*]
      || [istarget mt-*-*]
+     || [istarget pru-*-*]
      || [istarget visium-*-*]
     } {
     set B_test_same_seg 0
diff --git a/ld/testsuite/lib/ld-lib.exp b/ld/testsuite/lib/ld-lib.exp
index a2be49b25f..74dc998f14 100644
--- a/ld/testsuite/lib/ld-lib.exp
+++ b/ld/testsuite/lib/ld-lib.exp
@@ -1777,6 +1777,7 @@ proc check_shared_lib_support { } {
 	 && ![istarget nds32*-*-*]
 	 && ![istarget or1k*-*-*]
 	 && ![istarget pj-*-*]
+	 && ![istarget pru-*-*]
 	 && ![istarget rl78-*-*]
 	 && ![istarget rx-*-*]
 	 && ![istarget spu-*-*]
-- 
2.11.0

  reply	other threads:[~2016-12-30 10:40 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-30 10:40 [PATCH v3 00/15] Binutils/gas/ld port for PRU Dimitar Dimitrov
2016-12-30 10:40 ` Dimitar Dimitrov [this message]
2016-12-30 10:40 ` [PATCH v3 06/15] Add PRU ELF ID to elfcpp Dimitar Dimitrov
2016-12-30 10:40 ` [PATCH v3 10/15] gas: testsuite: Mark lns-common-1-alt variant for PRU Dimitar Dimitrov
2016-12-30 10:40 ` [PATCH v3 04/15] PRU LD Port Dimitar Dimitrov
2016-12-30 10:40 ` [PATCH v3 05/15] PRU Opcode Port Dimitar Dimitrov
2016-12-30 10:40 ` [PATCH v3 15/15] ld: testsuite: Mark --gc-sections as unsupported for PRU Dimitar Dimitrov
2016-12-30 10:40 ` [PATCH v3 09/15] ld: testsuite: Fix srec test setup " Dimitar Dimitrov
2016-12-30 10:40 ` [PATCH v3 11/15] ld: testsuite: PRU assembler does not support diff expressions mixing data and text labels Dimitar Dimitrov
2016-12-30 10:40 ` [PATCH v3 14/15] ld: testsuite: Sanitize output from ld Dimitar Dimitrov
2016-12-30 10:40 ` [PATCH v3 12/15] ld: testsuite: PRU LD does not support arbitrary .text base addresses Dimitar Dimitrov
2016-12-30 10:40 ` [PATCH v3 01/15] PRU BFD support Dimitar Dimitrov
2016-12-30 10:40 ` [PATCH v3 08/15] ld: testsuite: Mark sec64k case as too big for PRU Dimitar Dimitrov
2016-12-30 10:40 ` [PATCH v3 13/15] ld: testsuite: Disable endsym test case Dimitar Dimitrov
2016-12-30 10:40 ` [PATCH v3 02/15] PRU Binutils port Dimitar Dimitrov
2016-12-31  1:43 ` [PATCH v3 00/15] Binutils/gas/ld port for PRU Alan Modra

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161230104000.15594-8-dimitar@dinux.eu \
    --to=dimitar@dinux.eu \
    --cc=binutils@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).