From: Brendan J Simon <brendan.simon@bigpond.com>
To: mtd <linux-mtd@lists.infradead.org>
Subject: docprobe.c on PowerPC
Date: Thu, 02 May 2002 16:57:31 +1000 [thread overview]
Message-ID: <3CD0E35B.4010606@bigpond.com> (raw)
There a bug in MTD and/or Linux and/or gcc for docprobe on PowerPC
machines. I have a pretty recent linux.2.4.18-pre8 kernel from the
bitkeeper linuxppc_devel archives. It seems that when setting up
doc_locations[] that the #elif defined(__ppc__) is not executed. The
gcc specs file does not mention this definition. I did a gcc -v on a
test file and it seems that -DPPC -D__PPC and -D__PPC__ are defined but
not -D__ppc__. Other architectures in the docprobe.c file use
__alpha__, __i386 __x86_64__, etc. Where do these definitions come from
(or where are they supposed to be defined) ? In GCC, the linux kernel
or should the MTD code use __PPC__ instead ???
Thanks,
Brendan Simon.
next reply other threads:[~2002-05-02 6:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-02 6:57 Brendan J Simon [this message]
2002-05-02 8:23 ` docprobe.c on PowerPC David Woodhouse
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=3CD0E35B.4010606@bigpond.com \
--to=brendan.simon@bigpond.com \
--cc=linux-mtd@lists.infradead.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.