[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/15649] ARM - Invalid constant after fixup with shifted immediat
From: |
m.lesniewski at samsung dot com |
Subject: |
[Bug gas/15649] ARM - Invalid constant after fixup with shifted immediate values |
Date: |
Tue, 25 Jun 2013 07:36:56 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=15649
--- Comment #2 from Michał Leśniewski <m.lesniewski at samsung do
t com> ---
Hi Nick,
I run a few tests to see which values actually cause the problem.
Here are is a small source file which demonstrates the problem:
.text
.global foo
.syntax unified
.arm
foo:
add r0, pc, #0x7d, 4
add r0, pc, #0xd0000007
add r0, pc, #0xe8, 4
add r0, pc, #0x8000000e
add r0, pc, #0x53, 2
add r0, pc, #0xc0000014
Output:
test.S: Assembler messages:
test.S:8: Error: invalid constant (ffffffffd0000007) after fixup
test.S:11: Error: invalid constant (ffffffff8000000e) after fixup
test.S:14: Error: invalid constant (ffffffffc0000014) after fixup
I also checked with other operand registers (rn != pc) -- the assembler d
id not
report any errors.
--
You are receiving this mail because:
You are on the CC list for the bug.