diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2020-01-21 16:20:38 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2020-01-21 16:20:38 -0800 |
commit | 1e1613647fc5da78f7924f8264b09eeed6362987 (patch) | |
tree | e07014f0647fbdf59115edacd52b98343a88d8e3 /ld | |
parent | ea91954d077e5e07364208606851a1dbb3f06c4d (diff) | |
download | gdb-1e1613647fc5da78f7924f8264b09eeed6362987.zip gdb-1e1613647fc5da78f7924f8264b09eeed6362987.tar.gz gdb-1e1613647fc5da78f7924f8264b09eeed6362987.tar.bz2 |
pr23900-1.d: Adjusted
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.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 4 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/pr23900-1.d | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index a686c18..369ffee 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,5 +1,9 @@ 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. 2020-01-20 Nick Clifton <nickc@redhat.com> diff --git a/ld/testsuite/ld-elf/pr23900-1.d b/ld/testsuite/ld-elf/pr23900-1.d index 8f8c7cc..da0fcbb 100644 --- a/ld/testsuite/ld-elf/pr23900-1.d +++ b/ld/testsuite/ld-elf/pr23900-1.d @@ -5,7 +5,7 @@ #... GNU_PROPERTY .* #... - +[0-9]+ +\.note\.gnu\.property + +[0-9]+ +.*\.note\.gnu\.property.* #... +[0-9]+ +\.note\.gnu\.property #... |