Opened 13 years ago

Closed 11 years ago

Last modified 11 years ago

#30677 closed defect (wontfix)

arm-none-eabi-binutils broken

Reported by: michal.schulz@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.1
Keywords: Cc:
Port: arm-none-eabi-binutils

Description

arm-none-eabi-binutils 2.21.53.0.1 has a bug when compiling armv7-a code (I haven't tested other ARM architectures), it says the r15 register is not allowed:

Error: r15 not allowed here -- `strb pc,[r0,#4]'

Other versions of binutils compile the following test code properly:

        .cpu cortex-a8
        .fpu softvfp
        .text
        strb pc,[r4,#0]

Change History (1)

comment:1 Changed 11 years ago by raimue (Rainer Müller)

Keywords: arm binutils r15 removed
Resolution: wontfix
Status: newclosed

arm-none-eabi-binutils updated to 2.23.1 in r30677.

I can reproduce this exact error message with arm-none-eabi-as (GNU assembler (Sourcery G++ Lite 2011.03-42) 2.20.51.20100809) on an Ubuntu system, so I don't think this error is specific to the way our arm-none-eabi-binutils port is built.

Last edited 11 years ago by raimue (Rainer Müller) (previous) (diff)
Note: See TracTickets for help on using tickets.