mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-26 22:07:58 +08:00
readelf: Prune gaps warning in build notes
Since some object files may not have build notes, it is normal to have gaps in build notes. PR binutils/23898 * testsuite/lib/binutils-common.exp (prune_warnings_extra): Prune gaps in build notes.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2018-11-20 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
|
PR binutils/23898
|
||||||
|
* testsuite/lib/binutils-common.exp (prune_warnings_extra):
|
||||||
|
Prune gaps in build notes.
|
||||||
|
|
||||||
2018-11-13 Francois H. Theron <francois.theron@netronome.com>
|
2018-11-13 Francois H. Theron <francois.theron@netronome.com>
|
||||||
|
|
||||||
* testsuite/binutils-all/nfp/test1.d: Test for swapped operand crc[].
|
* testsuite/binutils-all/nfp/test1.d: Test for swapped operand crc[].
|
||||||
|
@ -442,6 +442,8 @@ proc prune_warnings_extra { text } {
|
|||||||
# The "\\1" is to try to preserve a "\n" but only if necessary.
|
# The "\\1" is to try to preserve a "\n" but only if necessary.
|
||||||
regsub -all "(^|\n)(\[^\n\]*: warning:\[^\n\]*unsupported GNU_PROPERTY_TYPE\[^\n\]*\n?)+" $text "\\1" text
|
regsub -all "(^|\n)(\[^\n\]*: warning:\[^\n\]*unsupported GNU_PROPERTY_TYPE\[^\n\]*\n?)+" $text "\\1" text
|
||||||
}
|
}
|
||||||
|
# PR binutils/23898: It is OK to have gaps in build notes.
|
||||||
|
regsub -all "(^|\n)(\[^\n\]*: Warning: Gap in build notes detected from\[^\n\]*\n?)+" $text "\\1" text
|
||||||
return $text
|
return $text
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user