linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Steven Mueller <diffusor@ugcs.caltech.edu>
To: linuxppc-dev@lists.linuxppc.org
Subject: ppc 405 floating point math emulation
Date: Tue, 13 Nov 2001 15:59:56 -0800	[thread overview]
Message-ID: <20011113155956.B7553@spew.ugcs.caltech.edu> (raw)


Hello,

I'm interested in building a kernel with math emulation enabled for an
embedded IBM ppc 405.  (It'd be nice to allow customers to run ppc
apps on our cards without having to recompile them with soft float
support.)  When I try this with an old Monta Vista kernel from April
12th (used in an a HardHat pre-release, but no longer available), the
compile eventually fails while linking and mentions some 8xx specific
symbols.  I assume this is leftovers from 2 years ago when there
appear to have been efforts to add math emulation support for the 8xx
chips?  Anyway, make says the following and stops:

make[2]: Leaving directory `/home/dank/ixia/Software/kernel-ppc/arch/ppc/math-emu'
make[1]: Leaving directory `/home/dank/ixia/Software/kernel-ppc/arch/ppc/math-emu'
/usr/local/ppc-old/bin/powerpc-linux-ld -T arch/ppc/vmlinux.lds -Ttext 0xc0000000 -Bstatic arch/ppc/kernel/head_4xx.o init/main.o init/version.o \
        --start-group \
        arch/ppc/kernel/kernel.o arch/ppc/mm/mm.o arch/ppc/lib/lib.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o arch/ppc/math-emu/math-emu.o \
        drivers/block/block.o drivers/char/char.o drivers/misc/misc.o drivers/net/net.o drivers/media/media.o  \
        net/network.o \
        /home/dank/ixia/Software/kernel-ppc/lib/lib.a \
        --end-group \
        -o vmlinux
arch/ppc/kernel/kernel.o: In function `Soft_emulate_8xx':
/home/dank/ixia/Software/kernel-ppc/arch/ppc/kernel/softemu8xx.c:129: undefined reference to `print_8xx_pte'
/home/dank/ixia/Software/kernel-ppc/arch/ppc/kernel/softemu8xx.c:129: relocation truncated to fit: R_PPC_REL24 print_8xx_pte
/home/dank/ixia/Software/kernel-ppc/arch/ppc/kernel/softemu8xx.c:130: undefined reference to `get_8xx_pte'

If anyone has already developed a solution for this, would you please
consider posting the patch?  Thank you!

Steve

--
Steven Mueller
diffusor@ugcs.caltech.edu

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

             reply	other threads:[~2001-11-13 23:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-13 23:59 Steven Mueller [this message]
2001-11-14  2:02 ` ppc 405 floating point math emulation Dan Malek
2001-11-14 10:24 ` Kenneth Johansson

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=20011113155956.B7553@spew.ugcs.caltech.edu \
    --to=diffusor@ugcs.caltech.edu \
    --cc=linuxppc-dev@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).