bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/14514] New: arm-none-eabi cortex-m3: Cannot represent T32_OFFSE


From: address@hidden
Subject: [Bug gas/14514] New: arm-none-eabi cortex-m3: Cannot represent T32_OFFSET_IMM relocation in this object file format
Date: Thu, 23 Aug 2012 20:47:43 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=14514

             Bug #: 14514
           Summary: arm-none-eabi cortex-m3: Cannot represent
                    T32_OFFSET_IMM relocation in this object file format
           Product: binutils
           Version: 2.22
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
        AssignedTo: address@hidden
        ReportedBy: address@hidden
    Classification: Unclassified


Created attachment 6611
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6611
Assembler file which does not build.

I've build the gnu toolchain for target arm-none-eabi and cpu cortex-m3. I've
adapted my application which initially was developed with IAR Embedded
Workbench to be compiled with gcc. The software also has some assembler files
to be assembled. When I build the software the assembler complains with the
following error message:

Error: cannot represent T32_OFFSET_IMM relocation in this object file format.

The assembler instructions forcing the error always are LDR commands, e.g.:

LDR    r4, (EXC_PRI_IRQ_MASKED)    /*  lock irq */

The Problem in this case is the value represented by EXC_PRI_IRQ_MASKED. Here
is the definition of this expression:

#define EXC_PRI_IRQ_MASKED  0x60

I've tried several versions of binutils (also HEAD), gcc and newLib but the
problem remains.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]