patch-2.4.0-test4 linux/arch/alpha/boot/tools/objstrip.c

Next file: linux/arch/alpha/kernel/sys_nautilus.c
Previous file: linux/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test3/linux/arch/alpha/boot/tools/objstrip.c linux/arch/alpha/boot/tools/objstrip.c
@@ -150,7 +150,7 @@
 		    prog_name, inname);
 	    exit(1);
 	}
-	if (!elf_check_arch(elf->e_machine)) {
+	if (!elf_check_arch(elf)) {
 	    fprintf(stderr, "%s: is not for this processor (e_machine=%d)\n",
 		    prog_name, elf->e_machine);
 	    exit(1);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)