[syslinux] [PATCH 19/20] elf_gen_dep.sh: Don't calculate dependencies for whitespace symbols
Matt Fleming
matt at console-pimps.org
Sat Apr 16 07:17:47 PDT 2011
From: Matt Fleming <matt.fleming at linux.intel.com>
Don't try to resolve dependencies for a symbol whose name is purely
made up of whitespace.
Signed-off-by: Matt Fleming <matt.fleming at linux.intel.com>
---
elf_gen_dep.sh | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/elf_gen_dep.sh b/elf_gen_dep.sh
index 9a26c92..2cde308 100755
--- a/elf_gen_dep.sh
+++ b/elf_gen_dep.sh
@@ -23,6 +23,8 @@ do
sed -n -e "/UND/d" -e "/ABS/d" -e "/...[0-9] $/d" -e "/...[0-9] \./d" -e "/...[0-9]/p" $module.txt > $module.int
sed -i -e "s/^.....//g" $module.int
sed -i -e "s/^\(.*\)$/\1 <$module>/g" $module.int
+ # Delete all whitespace
+ sed -i -e "s/^[ \t]*$//g" $module.int
cat $module.int >> all.txt
done
--
1.7.4.2
More information about the Syslinux
mailing list