From: Alan Modra Date: Wed, 15 May 2019 07:07:18 +0000 (+0930) Subject: C-SKY FAIL: jbt - csky X-Git-Tag: binutils-2_33~1250 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f6bd0b7677cbe76cab7322974a418e0e539400d6;p=external%2Fbinutils.git C-SKY FAIL: jbt - csky Another failure seen with MALLOC_PERTURB_=1. * config/tc-csky.c (md_convert_frag): Initialise trailing padding for COND_JUMP_PIC. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index be69384..34a4eee 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,10 @@ 2019-05-15 Alan Modra + * config/tc-csky.c (md_convert_frag): Initialise trailing + padding for COND_JUMP_PIC. + +2019-05-15 Alan Modra + * dwarf2dbg.c: Whitespace fixes. (get_filenum): Don't strdup "file". Adjust error message. (dwarf2_directive_filename): Use an unsigned type for "num". diff --git a/gas/config/tc-csky.c b/gas/config/tc-csky.c index 75ced2a..970c72a 100644 --- a/gas/config/tc-csky.c +++ b/gas/config/tc-csky.c @@ -4426,6 +4426,8 @@ md_convert_frag (bfd *abfd ATTRIBUTE_UNUSED, segT asec, fragS *fragp) buf[20] = (disp >> 8) & 0xff; buf[21] = disp & 0xff; } + buf[22] = 0; /* initialise. */ + buf[23] = 0; fragp->fr_fix += C32_LEN_PIC; } /* end if is_unaligned. */