--- Additional Comments From rearnsha at gcc dot gnu dot org 2004-12-20
13:03 ---
Not a bug. You aren't showing the relocations that still need applying. You
need to add the -r flag to objdump for this.
Looking at the assembler output we see:
lockMutex:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
@ lr needed for prologue
.L2:
ldr r3, [r0, #0]
cmp r3, #1
bne .L2
sub r3, r3, #1
str r3, [r0, #0]
mov pc, lr
--
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution||INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19088