Messages in this thread Patch in this message |  | | Date | Thu, 22 Nov 2001 12:23:56 -0800 | From | "H . J . Lu" <> | Subject | Re: PATCH: Discard .exitcall.exit for alpha. |
| |
On Thu, Nov 22, 2001 at 12:43:02AM -0800, H . J . Lu wrote: > Hi Linus, > > The upcoming binutils will flag relocations against discarded sections > as fatal errors. Here is a patch for the alpha linker script. > >
Here is another patch. serial_remove_one will be discarded if serial is not rebuilt as a module.
H.J. ---- --- linux/drivers/char/serial.c.exit Mon Aug 13 01:15:08 2001 +++ linux/drivers/char/serial.c Fri Nov 16 17:08:32 2001 @@ -4741,7 +4741,9 @@ MODULE_DEVICE_TABLE(pci, serial_pci_tbl) static struct pci_driver serial_pci_driver = { name: "serial", probe: serial_init_one, +#ifdef MODULE remove: serial_remove_one, +#endif id_table: serial_pci_tbl, }; - 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/
|  |