linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Ibon Gotxi Garcia <igotxi@jazzfree.com>
To: bhupinder sahran <bhup_sah@yahoo.com>
Cc: Linux PPC embedded <linuxppc-embedded@lists.linuxppc.org>
Subject: Re: Question about modules
Date: 28 Feb 2003 17:20:04 +0000	[thread overview]
Message-ID: <1046452804.385.47.camel@muse> (raw)
In-Reply-To: <20030228164733.30406.qmail@web41507.mail.yahoo.com>


On Fri, 2003-02-28 at 16:47, bhupinder sahran wrote:
> Hi
>
> What abt System.map...
> Can u check if symbols are there.
>
yes, they are, as well as in vmlinux. In my top level Makefile I find:

$(NM) vmlinux | grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw]
\)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | sort > System.map

but I think that in the step of making zvmlinux, unneeded symbols _may_
be stripped off, because i cannot find all the symbols in the target (in
/proc/ksyms or with ksyms -a). Am i right?

Thank you for answering, anyway.

Cheers
Ibon.

> Bye
> Bhupi
>
>
> --- Ibon Gotxi Garcia <igotxi@jazzfree.com> wrote:
> >
> > I'm trying to write a simple module for an 8xx board
> > using the SMC2.
> > Everything works, till I try to insmod it: I get
> > m8xx_cpm_alloc and
> > m8xx_cpm_hostalloc as unresolved symbols.
> >
> > I think that arch/ppc/8xx_io/commproc.c is properly
> > compiled (I can see
> > both symbols on vmlinux), but somehow the build
> > process strips them off
> > as they are unused (i cannot see them in /proc/ksyms
> > in the target). Is
> > that right? Any clue to solve it? (having them in
> > the target kernel
> > without modifying the original sources)
> >
> > Many regards.
> > ibon
> >
> > --
> > Ibon Gotxi Garcia <igotxi@jazzfree.com>
> >
> >
>
>
--
Ibon Gotxi Garcia <igotxi@jazzfree.com>


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

  reply	other threads:[~2003-02-28 17:20 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-28  9:36 Question about modules Ibon Gotxi Garcia
2003-02-28 16:47 ` bhupinder sahran
2003-02-28 17:20   ` Ibon Gotxi Garcia [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-02-28 18:27 Jean-Denis Boyer
2003-02-28 18:48 ` Ibon Gotxi Garcia
2003-03-03 22:12 ` Tom Rini
2003-03-03 22:23   ` Wolfgang Denk
     [not found] <1046783010.328.73.camel@muse>
2003-03-04 14:15 ` Wolfgang Denk
2003-03-04 14:26 ` Bret Indrelee
2003-03-04 14:25   ` Wolfgang Denk

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=1046452804.385.47.camel@muse \
    --to=igotxi@jazzfree.com \
    --cc=bhup_sah@yahoo.com \
    --cc=linuxppc-embedded@lists.linuxppc.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;
as well as URLs for NNTP newsgroup(s).