]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* grub-core/gmodule.pl.in: Accept newer binutils which output
authorVladimir Serbinenko <phcoder@gmail.com>
Sun, 21 Sep 2014 16:23:23 +0000 (18:23 +0200)
committerVladimir Serbinenko <phcoder@gmail.com>
Sun, 21 Sep 2014 16:23:23 +0000 (18:23 +0200)
empty column rather than 0x0.

ChangeLog
grub-core/gmodule.pl.in

index bac248c75f7879cd0474f623d3e6f971ac4240a7..163265bd033e1990dedd0c2f29ad99985c0161f6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 6739a6f1c95870ee9ae6609cbe5c862fda55e311..78aa1e64eb29126f1bf97a7b5ecd7582d7ae5905 100644 (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";