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: unassig...@sourceware.org ReportedBy: mike.wer...@brain-child.de 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. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils