bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/15649] ARM - Invalid constant after fixup with shifted immediat


From: nickc at redhat dot com
Subject: [Bug gas/15649] ARM - Invalid constant after fixup with shifted immediate values
Date: Mon, 24 Jun 2013 14:01:09 +0000

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

Nick Clifton <nickc at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING
                 CC|                            |nickc at redhat dot com

--- Comment #1 from Nick Clifton <nickc at redhat dot com> ---
Hi Michal,

  Please could you provide a test case to reproduce this problem ?

  I tried the following:

  % cat pr15649.s
       .text
        .global foo
    foo: 
        add     r0, r1, #0xf000000f
        add     r0, r1, #0xff, 4

  But was able to assemble it without any problems:

  % as pr15649.s
  % objdump -d a.out
  a.out:     file format elf32-littlearm

  Disassembly of section .text:

  00000000 <foo>:
     0:   e28102ff        add     r0, r1, #-268435441     ; 0xf000000f
     4:   e28102ff        add     r0, r1, #-268435441     ; 0xf000000f


This was using GAS built from the 2.23 branch, but the same thing happens with
the current mainline sources as well.

Cheers
  Nick

-- 
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]