aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2012-11-20 01:40:00 +0000
committerAlan Modra <amodra@gmail.com>2012-11-20 01:40:00 +0000
commit6d8a3edee59da1729783ae3f1b2f0204d6cb1c96 (patch)
treeb3e1add9491c6917f811777439165f2f96f998ab
parentc5b69914bf4de737e528f4601ce39bb7764b5852 (diff)
downloadgdb-6d8a3edee59da1729783ae3f1b2f0204d6cb1c96.zip
gdb-6d8a3edee59da1729783ae3f1b2f0204d6cb1c96.tar.gz
gdb-6d8a3edee59da1729783ae3f1b2f0204d6cb1c96.tar.bz2
* elf32-rx.c (rx_elf_print_private_bfd_data): Warning fix.
-rw-r--r--bfd/ChangeLog8
-rw-r--r--bfd/elf32-rx.c2
2 files changed, 7 insertions, 3 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index c25ceb9..95f9aef 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,7 +1,11 @@
+2012-11-20 Alan Modra <amodra@gmail.com>
+
+ * elf32-rx.c (rx_elf_print_private_bfd_data): Warning fix.
+
2012-11-16 Joey Ye <joey.ye@arm.com>
- * elf32-arm.c (elf32_arm_final_link_relocate,
- case R_ARM_THM_ALU_PREL_11_0, case R_ARM_THM_PC12): Align address of
+ * elf32-arm.c (elf32_arm_final_link_relocate
+ <case R_ARM_THM_ALU_PREL_11_0, case R_ARM_THM_PC12>): Align address of
the place being relocated.
(elf32_arm_final_link_relocate, case R_ARM_THM_PC8): Align address
of the place being relocated and truncate addend.
diff --git a/bfd/elf32-rx.c b/bfd/elf32-rx.c
index 92c046a..5000eb7 100644
--- a/bfd/elf32-rx.c
+++ b/bfd/elf32-rx.c
@@ -3040,7 +3040,7 @@ rx_elf_print_private_bfd_data (bfd * abfd, void * ptr)
flags = elf_elfheader (abfd)->e_flags;
fprintf (file, _("private flags = 0x%lx:"), (long) flags);
- fprintf (file, describe_flags (flags));
+ fprintf (file, "%s", describe_flags (flags));
return TRUE;
}