public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Keith Owens <kaos@ocs.com.au>
To: linux-kernel@vger.kernel.org
Subject: Modutils 2.5 change, start running this command now
Date: Wed, 03 Oct 2001 14:36:24 +1000	[thread overview]
Message-ID: <31135.1002083784@kao2.melbourne.sgi.com> (raw)

In current modutils, a module that does not export symbols and does not
say EXPORT_NO_SYMBOLS defaults to exporting all symbols.  This is a
hangover from kernel 2.0 and will be removed when modutils 2.5 appears,
shortly after the kernel 2.5 branch is created.

Starting with modutils 2.5, modules must explicitly say what their
intention is for symbols.  That will break a lot of existing modules.
The command below lists the modules on your system that will be
affected.  All code maintainers need to run this against their 2.4
modules and do one of two things.  Either export the required symbols
(remember to add the .o file to export-objs in the Makefile) or add
EXPORT_NO_SYMBOLS; somewhere in the module (no change to Makefile).

 objdump -h `modprobe -l` | \
 awk '/file format/{file = $1}/__ksymtab/{file = ""}/\.comment/ && file != "" {print file}'


             reply	other threads:[~2001-10-03  4:36 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-03  4:36 Keith Owens [this message]
2001-10-03  4:48 ` Modutils 2.5 change, start running this command now Robert Love
2001-10-03  8:17 ` Russell King
2001-10-03 11:59   ` Keith Owens
  -- strict thread matches above, loose matches on Subject: below --
2001-10-11 11:45 Keith Owens
2001-10-12  6:34 ` Ingo Oeser
2001-10-12 10:04 ` Benjamin LaHaise
2001-10-12 11:37   ` Keith Owens
2001-10-12 12:14     ` David Woodhouse
2001-10-12 14:40       ` Keith Owens
2001-10-12 15:01       ` Tom Rini

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=31135.1002083784@kao2.melbourne.sgi.com \
    --to=kaos@ocs.com.au \
    --cc=linux-kernel@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