From: "Luck, Tony" <tony.luck@intel.com>
To: linux-ia64@vger.kernel.org
Subject: local symbols in discarded section
Date: Thu, 19 Jun 2003 20:34:55 +0000 [thread overview]
Message-ID: <marc-linux-ia64-105605499315077@msgid-missing> (raw)
[-- Attachment #1: Type: text/plain, Size: 336 bytes --]
> Tony> undefined reference to `local symbols in discarded
> section .exit.text'
>
> Tony> message. Is this related to the warning about using
> an old linker?
>
> Not likely. It sounds like a driver is failing to use __exit_p() (see
> linux/init.h).
The offending driver is i460-agp.c. Patch attached.
-Tony
[-- Attachment #2: i460-agp.patch --]
[-- Type: application/octet-stream, Size: 441 bytes --]
===== drivers/char/agp/i460-agp.c 1.26 vs edited =====
--- 1.26/drivers/char/agp/i460-agp.c Mon Jun 16 18:55:34 2003
+++ edited/drivers/char/agp/i460-agp.c Thu Jun 19 13:28:28 2003
@@ -608,7 +608,7 @@
.name = "agpgart-intel-i460",
.id_table = agp_intel_i460_pci_table,
.probe = agp_intel_i460_probe,
- .remove = agp_intel_i460_remove,
+ .remove = __exit_p(agp_intel_i460_remove),
};
static int __init agp_intel_i460_init(void)
next reply other threads:[~2003-06-19 20:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-19 20:34 Luck, Tony [this message]
2003-06-19 20:44 ` local symbols in discarded section David Mosberger
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=marc-linux-ia64-105605499315077@msgid-missing \
--to=tony.luck@intel.com \
--cc=linux-ia64@vger.kernel.org \
/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