patch-2.1.110 linux/arch/arm/lib/extractconstants.pl
Next file: linux/arch/arm/lib/getconstants.c
Previous file: linux/arch/arm/lib/Makefile
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Sat Jul 18 11:55:23 1998
- Orig file:
v2.1.109/linux/arch/arm/lib/extractconstants.pl
- Orig date:
Fri May 8 23:14:42 1998
diff -u --recursive --new-file v2.1.109/linux/arch/arm/lib/extractconstants.pl linux/arch/arm/lib/extractconstants.pl
@@ -24,7 +24,7 @@
/elf32/ && ( $elf = 1 );
/a.out/ && ( $aout = 1 );
next if ($aout && ! / 07 /);
- next if ($elf && ! (/^00...... g/ && /.data/));
+ next if ($elf && ! (/^0*0...... g/ && /.data/));
next if (!$aout && !$elf);
if ($aout) {
@@ -33,7 +33,7 @@
}
if ($elf) {
chomp;
- $addr = substr ($_, 0, 8);
+ $addr = substr ($_, 0, index($_, " "));
$name = substr ($_, rindex($_, " ") + 1);
$nam[hex($addr)] = $name;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov