--- Additional Comments From nickc at redhat dot com 2009-07-24 10:16
---
Created an attachment (id=4081)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=4081&action=view)
Fixup uses of printf like functions in GAS
--
http://sourceware.org/bugzilla/show_bug.cgi?id=10437
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2009-07-24
11:45 ---
Subject: Bug 10437
CVSROOT:/cvs/src
Module name:src
Changes by: ni...@sourceware.org2009-07-24 11:45:01
Modified files:
gas: ChangeLog
gas/config : a
--- Additional Comments From nickc at redhat dot com 2009-07-24 11:47
---
Hi Merlin,
Thanks for pointing out this problem. I have now gone through the gas sources
and checked every use of one of the printf-like functions (as_bad, as_warn,
as_tsktsk, as_fatal, as_warn_where, as_bad_wh
--- Additional Comments From hjl dot tools at gmail dot com 2009-07-24
13:49 ---
It is fixed by
http://sourceware.org/ml/binutils/2009-05/msg00361.html
[...@gnu-6 tmp]$ cat a.s
.text
.type foo, @gnu_indirect_function
.globl foo
foo:.long 1
.size foo, .-f
--- Additional Comments From merlin_skinner at hotmail dot com 2009-07-24
14:59 ---
Many thanks for your quick work. It's the first time I have looked at any
source for Linux, and also the first time I have contributed to fixing a bug!
Thanks again for your support,
Merlin
--
Supplying shifter operands to mov will cause a silent ignore of them
rather than throwing an error or treat it as pseudo instruction if applicable.
Reproduce with:
.thumb
mov r1, r0, lsr#24
Translation:
mov r1, r0
Callstack leads to:
static void do_t_mov_cmp(void)
Within there appropiate ha