mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Minor fix to parsing of readelf output. Allow a hyphen in the section name, and allow 6 digit fields (i.e. section size) to be longer than 6 digits. rs=ben.
This commit is contained in:
parent
73a5400bc7
commit
06f39bad4f
@ -87,7 +87,7 @@ while (<READELF_OUTPUT>) {
|
||||
|
||||
# note that we strip off the leading '.' of section names for
|
||||
# readability
|
||||
if (! (@section = (/^ *\[ *(\d+)\] \.([\w\.]+) *(\w+) *(.{8}) (.{6}) (.{6}) *(\d+) ([a-zA-Z]+ +| +[a-zA-Z]+|) *(\d+) *(\w+) *(\d+)/))) {
|
||||
if (! (@section = (/^ *\[ *(\d+)\] \.([\w\.\-]+) *(\w+) *(.{8}) (.{6}[0-9a-fA-F]*) (.{6}[0-9a-fA-F]*) *(\d+) ([a-zA-Z]+ +| +[a-zA-Z]+|) *(\d+) *(\w+) *(\d+)/))) {
|
||||
# capture the 'null' section which has no name, so that the
|
||||
# array indices are the same as the section indices.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user