From 09ff3500dcb85937d40ab3cd4be9ad8329ed9247 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Tue, 16 Aug 2005 09:25:22 +0000 Subject: [PATCH] * unwind-ia64.c (UNW_DEC_SPILL_SPREL, UNW_DEC_SPILL_PSPREL, UNW_DEC_RESTORE, UNW_DEC_SPILL_REG): Increase {,ab,t}regname buffer sizes. --- binutils/ChangeLog | 6 ++++++ binutils/unwind-ia64.c | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 9624577fc30..fcbf64423ab 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,9 @@ +2005-08-16 Jakub Jelinek + + * unwind-ia64.c (UNW_DEC_SPILL_SPREL, UNW_DEC_SPILL_PSPREL, + UNW_DEC_RESTORE, UNW_DEC_SPILL_REG): Increase {,ab,t}regname + buffer sizes. + 2005-08-15 Daniel Jacobowitz * doc/binutils.texi (objdump): Document -M e300. diff --git a/binutils/unwind-ia64.c b/binutils/unwind-ia64.c index f27a7ab387e..c104e72bbc1 100644 --- a/binutils/unwind-ia64.c +++ b/binutils/unwind-ia64.c @@ -371,7 +371,7 @@ typedef bfd_vma unw_word; #define UNW_DEC_SPILL_SPREL(fmt, t, abreg, spoff, arg) \ do \ { \ - char regname[10]; \ + char regname[20]; \ \ unw_print_abreg (regname, abreg); \ printf ("\t%s:spill_sprel(reg=%s,t=%lu,spoff=0x%lx)\n", \ @@ -382,7 +382,7 @@ typedef bfd_vma unw_word; #define UNW_DEC_SPILL_PSPREL(fmt, t, abreg, pspoff, arg) \ do \ { \ - char regname[10]; \ + char regname[20]; \ \ unw_print_abreg (regname, abreg); \ printf ("\t%s:spill_psprel(reg=%s,t=%lu,pspoff=0x10-0x%lx)\n", \ @@ -393,7 +393,7 @@ typedef bfd_vma unw_word; #define UNW_DEC_RESTORE(fmt, t, abreg, arg) \ do \ { \ - char regname[10]; \ + char regname[20]; \ \ unw_print_abreg (regname, abreg); \ printf ("\t%s:restore(t=%lu,reg=%s)\n", \ @@ -404,7 +404,7 @@ typedef bfd_vma unw_word; #define UNW_DEC_SPILL_REG(fmt, t, abreg, x, ytreg, arg) \ do \ { \ - char abregname[10], tregname[10]; \ + char abregname[20], tregname[20]; \ \ unw_print_abreg (abregname, abreg); \ unw_print_xyreg (tregname, x, ytreg); \ -- 2.30.2