[prev in list] [next in list] [prev in thread] [next in thread]
List: binutils-cvs
Subject: [binutils-gdb] microblaze-linux XPASS ld-elf/var1
From: Alan Modra via Binutils-cvs <binutils-cvs () sourceware ! org>
Date: 2020-06-30 6:53:16
Message-ID: 20200630065316.072BF3858D37 () sourceware ! org
[Download RAW message or body]
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=39d050ee501609fdee937806b7494eb8f2b3088d
commit 39d050ee501609fdee937806b7494eb8f2b3088d
Author: Alan Modra <amodra@gmail.com>
Date: Tue Jun 30 13:22:52 2020 +0930
microblaze-linux XPASS ld-elf/var1
microblaze-linux uses the standard ELF script, microblaze-elf its own
script lacking an input section pattern needed to make this test pass.
Add the missing pattern for .data, in line with most other sections
that do have .* patterns.
* scripttempl/elfmicroblaze.sc (.data): Add .data.* entry.
* testsuite/ld-elf/var1.d: Don't xfail microblaze.
Diff:
---
ld/ChangeLog | 5 +++++
ld/scripttempl/elfmicroblaze.sc | 1 +
ld/testsuite/ld-elf/var1.d | 2 +-
3 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 2254ac80e09..d00d5da2aa5 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2020-06-30 Alan Modra <amodra@gmail.com>
+
+ * scripttempl/elfmicroblaze.sc (.data): Add .data.* entry.
+ * testsuite/ld-elf/var1.d: Don't xfail microblaze.
+
2020-06-29 H.J. Lu <hongjiu.lu@intel.com>
* testsuite/ld-tic6x/shlib-1.rd: Move C6000_DSBT_BASE,
diff --git a/ld/scripttempl/elfmicroblaze.sc b/ld/scripttempl/elfmicroblaze.sc
index 3ac2ac09efa..65e36cb908f 100644
--- a/ld/scripttempl/elfmicroblaze.sc
+++ b/ld/scripttempl/elfmicroblaze.sc
@@ -136,6 +136,7 @@ SECTIONS
${RELOCATING+ _fdata = .;}
.data : {
*(.data)
+ ${RELOCATING+*(.data.*)}
${RELOCATING+*(.gnu.linkonce.d.*)}
${CONSTRUCTING+CONSTRUCTORS;} /* Is this needed? */
}
diff --git a/ld/testsuite/ld-elf/var1.d b/ld/testsuite/ld-elf/var1.d
index 36a1f634932..f7de7fc0edb 100644
--- a/ld/testsuite/ld-elf/var1.d
+++ b/ld/testsuite/ld-elf/var1.d
@@ -1,6 +1,6 @@
#ld: $srcdir/$subdir/var1.t --sort-section name
#nm: -n
-#xfail: d30v-*-* dlx-*-* ft32-*-* microblaze-*-*
+#xfail: d30v-*-* dlx-*-* ft32-*-*
#...
[0-9a-f]* D var1
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic