This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Cross assemble from Linux/alpha to sh-elf


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]