bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/18347] On ARM, "LDR =something" with missing destination regist


From: nickc at redhat dot com
Subject: [Bug gas/18347] On ARM, "LDR =something" with missing destination register is silently ignored
Date: Wed, 29 Apr 2015 17:30:31 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=18347

Nick Clifton <nickc at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

--- Comment #2 from Nick Clifton <nickc at redhat dot com> ---
Hi Solra,

  This was an interesting one.  The problem is that "LDR = garbage" is a valid
GAS operation - it sets a symbol called "LDR" to the value of an (undefined in
this case) symbol called "garbage".  Hence there was no warning message, and no
LDR instruction in the output.

  Please could you try out the uploaded patch as a possible fix for this
problem ?  It makes the ARM port of GAS issue a warning message when the user
attempts to create a symbol with the same name as an ARM instruction.

  One thing that I am not sure about is whether we need a command line option
to suppress this warning, in the case that the user really does want to create
a symbol that matches an instruction.

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]