]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
pr23900-1.d: Adjusted
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 22 Jan 2020 00:20:38 +0000 (16:20 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 22 Jan 2020 00:20:38 +0000 (16:20 -0800)
Linux program headers may look like

Section to Segment mapping:
  Segment Sections...
   00     .note.gnu.property .text
   01     .note.gnu.property
   02     .note.gnu.property

or

Section to Segment mapping:
  Segment Sections...
   00     .note.gnu.property
   01     .text
   02     .note.gnu.property
   03     .note.gnu.property

Update pr23900-1.d to accept both.

* testsuite/ld-elf/pr23900-1.d: Adjusted.

ld/ChangeLog
ld/testsuite/ld-elf/pr23900-1.d

index a686c187cbff84d8c4764a5cc26c7fdd587c3d82..369ffee04ad7def50167d7ffe3f059baf36b0708 100644 (file)
@@ -1,3 +1,7 @@
+2020-01-21  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/ld-elf/pr23900-1.d: Adjusted.
+
 2020-01-21  H.J. Lu  <hongjiu.lu@intel.com>
 
        * testsuite/ld-elf/pr23900-1.d: Also pass -l to readelf.
index 8f8c7ccf03727b05555d87fd29c9f36e31be8d31..da0fcbb4e34b6255bb03ebe7d60998f6d2d49215 100644 (file)
@@ -5,7 +5,7 @@
 #...
   GNU_PROPERTY .*
 #...
- +[0-9]+ +\.note\.gnu\.property 
+ +[0-9]+ +.*\.note\.gnu\.property.*
 #...
  +[0-9]+ +\.note\.gnu\.property 
 #...