public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "H . J . Lu" <hjl@lucon.org>
To: linux kernel <linux-kernel@vger.kernel.org>,
	"Torvalds; Linus" <torvalds@transmeta.com>
Subject: Re: PATCH: Discard .exitcall.exit for alpha.
Date: Thu, 22 Nov 2001 12:23:56 -0800	[thread overview]
Message-ID: <20011122122356.A12874@lucon.org> (raw)
In-Reply-To: <20011122004302.A2393@lucon.org>
In-Reply-To: <20011122004302.A2393@lucon.org>; from hjl@lucon.org on Thu, Nov 22, 2001 at 12:43:02AM -0800

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,
 };
 

      reply	other threads:[~2001-11-22 20:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-22  8:43 PATCH: Discard .exitcall.exit for alpha H . J . Lu
2001-11-22 20:23 ` H . J . Lu [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011122122356.A12874@lucon.org \
    --to=hjl@lucon.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox