linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Troy Benjegerdes <hozer@drgw.net>
To: Momchil Velikov <velco@fadata.bg>
Cc: linuxppc-dev@lists.linuxppc.org
Subject: Re: Broken asm/div64.h macro
Date: Sun, 27 Jan 2002 11:49:10 -0600	[thread overview]
Message-ID: <20020127114910.A14725@altus.drgw.net> (raw)
In-Reply-To: <87sn8sybcx.fsf@fadata.bg>; from velco@fadata.bg on Sun, Jan 27, 2002 at 12:51:42AM +0200


On Sun, Jan 27, 2002 at 12:51:42AM +0200, Momchil Velikov wrote:
> >>>>> "Troy" == Troy Benjegerdes <hozer@drgw.net> writes:
>
> Troy> Our div64.h macro is quite broken, and causes printk to not be able to do
> Troy> a long long format.
>
> Troy> Is there a 'fast' generic C algorithm we can replace it with, instead of
> Troy> mucking with ASM?
>
> Hmm, I sent a patchlet to lkml with Subject: [PATCH] 64-bit divide tweaks.
>
> Doesn't it work for you ?

Didn't seee it..

Did you actually try compiling PPC this way??

vsprintf.o(.text+0x494): undefined reference to `__umoddi3'
vsprintf.o(.text+0x494): relocation truncated to fit: R_PPC_REL24
__umoddi3
vsprintf.o(.text+0x4ac): undefined reference to `__udivdi3'
vsprintf.o(.text+0x4ac): relocation truncated to fit: R_PPC_REL24
__udivdi3

--
Troy Benjegerdes | master of mispeeling | 'da hozer' |  hozer@drgw.net
-----"If this message isn't misspelled, I didn't write it" -- Me -----
"Why do musicians compose symphonies and poets write poems? They do it
because life wouldn't have any meaning for them if they didn't. That's
why I draw cartoons. It's my life." -- Charles Schulz

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

  reply	other threads:[~2002-01-27 17:49 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-26 16:37 Broken asm/div64.h macro Troy Benjegerdes
2002-01-26 17:27 ` Geert Uytterhoeven
2002-01-26 22:30 ` Gabriel Paubert
2002-01-26 22:51 ` Momchil Velikov
2002-01-27 17:49   ` Troy Benjegerdes [this message]
2002-01-28  1:38     ` Kaoru Fukui
2002-01-28  8:16       ` Momchil Velikov
2002-01-28 15:28         ` Tom Rini
2002-01-28 19:45           ` Geert Uytterhoeven
2002-01-29  0:37             ` Tom Rini
2002-01-29  5:05               ` Kaoru Fukui
2002-01-29  6:26                 ` Troy Benjegerdes
2002-01-29 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=20020127114910.A14725@altus.drgw.net \
    --to=hozer@drgw.net \
    --cc=linuxppc-dev@lists.linuxppc.org \
    --cc=velco@fadata.bg \
    /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).