PATCH: Discard .exitcall.exit for alpha.

H . J . Lu (hjl@lucon.org)
Thu, 22 Nov 2001 00:43:02 -0800


Hi Linus,

The upcoming binutils will flag relocations against discarded sections
as fatal errors. Here is a patch for the alpha linker script.

H.J.
----
--- linux/arch/alpha/vmlinux.lds.in.discard Thu Nov 22 00:30:16 2001
+++ linux/arch/alpha/vmlinux.lds.in Thu Nov 22 00:30:47 2001
@@ -92,5 +92,5 @@ SECTIONS
.debug_typenames 0 : { *(.debug_typenames) }
.debug_varnames 0 : { *(.debug_varnames) }

- /DISCARD/ : { *(.text.exit) *(.data.exit) }
+ /DISCARD/ : { *(.text.exit) *(.data.exit) *(.exitcall.exit) }
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/