patch-2.4.23 linux-2.4.23/arch/sparc/boot/btfixupprep.c

Next file: linux-2.4.23/arch/sparc/config.in
Previous file: linux-2.4.23/arch/sh64/kernel/traps.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.22/arch/sparc/boot/btfixupprep.c linux-2.4.23/arch/sparc/boot/btfixupprep.c
@@ -167,6 +167,8 @@
 			}
 		} else if (buffer[nbase+4] != '_')
 			continue;
+		if (!strcmp (sect, ".text.exit"))
+			continue;
 		if (strcmp (sect, ".text") && strcmp (sect, ".text.init") && strcmp (sect, ".fixup") && (strcmp (sect, "__ksymtab") || buffer[nbase+3] != 'f')) {
 			if (buffer[nbase+3] == 'f')
 				fprintf(stderr, "Wrong use of '%s' in '%s' section. It can be only used in .text, .text.init, .fixup and __ksymtab\n", buffer + shift, sect);

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