diff options
author | Nick Clifton <nickc@redhat.com> | 2012-07-24 12:56:47 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2012-07-24 12:56:47 +0000 |
commit | 5f3eab86a62f02f6df70c4948a7382ae0480a1ec (patch) | |
tree | 9a75912a06e0d4ca101bc7707b179926c45cb23b /include | |
parent | 44aa2292b745468ad349f771f6f257db0e7f601a (diff) | |
download | cygnal-5f3eab86a62f02f6df70c4948a7382ae0480a1ec.tar.gz cygnal-5f3eab86a62f02f6df70c4948a7382ae0480a1ec.tar.bz2 cygnal-5f3eab86a62f02f6df70c4948a7382ae0480a1ec.zip |
PR binutils/13135
* arm-dis.c: Add necessary casts for printing integer values.
Use %s when printing string values.
* hppa-dis.c: Likewise.
* m68k-dis.c: Likewise.
* microblaze-dis.c: Likewise.
* mips-dis.c: Likewise.
* ppc-dis.c: Likewise.
* sparc-dis.c: Likewise.
* dis-asm.h (fprintf_ftype): Add ATTRIBUTE_FPTR_PRINTF_2.
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 5 | ||||
-rw-r--r-- | include/dis-asm.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index 38e30cf89..f845dbbdf 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,8 @@ +2012-07-24 Dr David Alan Gilbert <dave@treblig.org> + + PR binutils/13135 + * dis-asm.h (fprintf_ftype): Add ATTRIBUTE_FPTR_PRINTF_2. + 2012-07-13 Doug Evans <dje@google.com> * filenames.h: #include "hashtab.h". diff --git a/include/dis-asm.h b/include/dis-asm.h index f9c8ae9d3..661e7cf58 100644 --- a/include/dis-asm.h +++ b/include/dis-asm.h @@ -35,7 +35,7 @@ extern "C" { #include <stdio.h> #include "bfd.h" - typedef int (*fprintf_ftype) (void *, const char*, ...) /*ATTRIBUTE_FPTR_PRINTF_2*/; + typedef int (*fprintf_ftype) (void *, const char*, ...) ATTRIBUTE_FPTR_PRINTF_2; enum dis_insn_type { |