* grub-core/gmodule.pl.in: Accept newer binutils which output

empty column rather than 0x0.
This commit is contained in:
Vladimir Serbinenko 2014-09-21 18:23:23 +02:00
parent 5e42618e00
commit 2988a849fc
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2014-09-21 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/gmodule.pl.in: Accept newer binutils which output
empty column rather than 0x0.
2014-09-21 Michael Chang <mchang@suse.com>
* grub-core/osdep/unix/config.c: Remove extraneous comma.

View file

@ -23,7 +23,7 @@ while (<>) {
}
print " -s $2 $sections{$1}"
if ($sections{$1} ne '0x0');
if ($sections{$1} ne '0x0' and $sections{$1} ne '');
};
close (READELF);
print "\n";