This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Cross assemble from Linux/alpha to sh-elf
- To: steve at icarus dot com
- Subject: Re: Cross assemble from Linux/alpha to sh-elf
- From: Nick Clifton <nickc at redhat dot com>
- Date: Fri, 24 Nov 2000 13:14:28 -0800
- CC: binutils at sourceware dot cygnus dot com
Hi Steve,
: CYGARC_REG_CCR is defined in mod_regs_cac.h as:
:
: #define CYGARC_REG_CCR 0xffffffec
:
: ...which just happens to be 4294967276 in decimal. Well, I think `as' should
: be expected to know that this is really -0x14 when talking to an sh3/4
: processor.
:
: But given that as has slipped a clue on 64bit hosts, is it practical to
: replace this with -20? Or is it maybe that as is doing the right thing
: and this really *should* be -20?
This would seem to be the most obvious solution. What is this header
file ? Is an eCos specific one ? If so, maybe you should ask the
eCos list about this.
Cheers
Nick