]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Re: Allow new just-symbols test to run on XCOFF and PE
authorAlan Modra <amodra@gmail.com>
Tue, 28 Jul 2020 01:13:34 +0000 (10:43 +0930)
committerAlan Modra <amodra@gmail.com>
Tue, 28 Jul 2020 03:39:20 +0000 (13:09 +0930)
This ensures we don't match random data *before* the line we want to
see, ie. that --just-symbols has excluded section contents from
just-symbols-0.o.  Oops, missed the ChangeLog entry before too.

* testsuite/ld-misc/just-symbols-1.dd: Revert last change.

ld/ChangeLog
ld/testsuite/ld-misc/just-symbols-1.dd

index 99dfea8c0ec6baee278e3d7b0b83f440bac6534f..7ef623c1b57f4126a201b4042b8333a1bd63956d 100644 (file)
@@ -1,8 +1,14 @@
+2020-07-28  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-misc/just-symbols-1.dd: Revert last change.
+
 2020-07-27  Alan Modra  <amodra@gmail.com>
 
        * testsuite/ld-misc/just-symbols.exp: Run for x86_64 PE too.
        Set LDFLAGS for PE and XCOFF.
        * testsuite/ld-misc/just-symbols.ld: Accept XCOFF mapped .data.
+       * testsuite/ld-misc/just-symbols-1.dd: Don't check format or
+       "Contents of section" lines.
 
 2020-07-27  Alan Modra  <amodra@gmail.com>
 
index 9502566ac9c32e118e647da864ec54b1783669b4..8908a235ae9a05d6d1c078b3c569d43f1c02030a 100644 (file)
@@ -1,3 +1,5 @@
-#...
+.*: +file format .*
+
+Contents of section \.data:
  [0-9a-f]+ (?:(:?12000000|00120000|00000012) 0{8}|0{8} 00000012) 0{8} 0{8} .*
 #pass