History | View | Annotate | Download (62.1 kB)
*-dis: Replace fprintf_ftype by fprintf_function (format checking)
This patch adds more printf format checking.
Additional modifications were needed for this code change:
microblaze: fix custom fprintf
Using GCC-4.2.4-1ubuntu4, there is a warning: microblaze-dis.c:792: warning: unused variable 'fprintf'
Indeed, fprintf() is shadowed by a custom redefinition but is not used becauseof FORTIFY_SOURCE option which replace calls to fprintf() by fprintf_chk()....
Fix format strings
This fix the following build failure:
CC libdis-user/microblaze-dis.occ1: warnings being treated as errorsmicroblaze-dis.c: In function 'print_insn_microblaze':microblaze-dis.c:829: warning: format '%04x' expects type 'unsigned int',...
Update to a hopefully more future proof FSF address
See also 8167ee883931cb20c6264fc19d040ce2dc6ceaaa,530e7615ce3c01882e582c84dc6304ab98a3d5c5 andfad6cb1a565bb73f83fc0e2654489457b489e436.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
microblaze: Update disasm to latest GPLv2 version.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
bdf: Remove last users of FALSE/TRUE
This brings bfd_boolean to the wonderful world of <stdbool.h>, it is neededbecause it defines bdf_boolean as an enum with values true and false,and some architectures use TRUE, FALSE and give problems when you try to use...
microblaze-dis.c does not need to be executable
microblaze: Add disassembler.