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/
This archive was generated by hypermail 2b29 : Fri Nov 23 2001 - 21:00:29 EST