This is the mail archive of the ecos-bugs@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug 1001999] New: adder.S: Error: operand out of range


Please do not reply to this email, use the link below.

http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001999

            Bug ID: 1001999
           Summary: adder.S: Error: operand out of range
           Product: eCos
           Version: unknown
            Target: All
  Architecture/Host Other
                OS:
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: low
         Component: HAL
          Assignee: unassigned@bugs.ecos.sourceware.org
          Reporter: mrandreas@hotmail.com
                CC: ecos-bugs@ecos.sourceware.org

I have issues finding the root of this problem: 

packages/hal/powerpc/adder/current/src/adder.S:401: Error: operand out of range
(0x0000ffffffffe000 is not between 0x0000000000000000 and 0x000000000000ffff)

The compiler powerpc-860-linux-gnu-gcc is complaining about the last of these
line in adder.S

mflr r3
lwi r4, 0x00FFFFF
and r3,r3,r4
oris r3,r3,CYGMEM_REGION_rom>>16

I had no problem 32 bit version of ubuntu 12.04 LTS, while the 64 bit version
I've stumbled on this one while building redboot.

Obvious it's trying to put a 32 bit value into an 16 bit and fail to acept
this. Any clue what to look for? Is there a 16 bit / 32 bit prosessor
definition causing this?

thanks

Andreas

-- 
You are receiving this mail because:
You are the assignee for the bug.


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