]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
microblaze-linux XPASS ld-elf/var1
authorAlan Modra <amodra@gmail.com>
Tue, 30 Jun 2020 03:52:52 +0000 (13:22 +0930)
committerAlan Modra <amodra@gmail.com>
Tue, 30 Jun 2020 04:02:04 +0000 (13:32 +0930)
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.

ld/ChangeLog
ld/scripttempl/elfmicroblaze.sc
ld/testsuite/ld-elf/var1.d

index 2254ac80e09256cc7c13737c7eb79d1523d40d05..d00d5da2aa54aeae10e12c341feb5bdae3a3e995 100644 (file)
@@ -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,
index 3ac2ac09efa75cd61ae63fd9ae423d745a740322..65e36cb908f1a4bd696b7818056ab04ba8010cbd 100644 (file)
@@ -136,6 +136,7 @@ SECTIONS
   ${RELOCATING+ _fdata = .;}
   .data : {
     *(.data)
+    ${RELOCATING+*(.data.*)}
     ${RELOCATING+*(.gnu.linkonce.d.*)}
     ${CONSTRUCTING+CONSTRUCTORS;} /* Is this needed? */
   }
index 36a1f634932bb6555221ad9e68f5a76c8bf76b1f..f7de7fc0edb342bd0b9b58915ea837c067f2ba6f 100644 (file)
@@ -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