SHA256
1
0
forked from pool/binutils
binutils/fix-ppc-perturb.diff

13 lines
458 B
Diff

Index: src/gas/config/tc-ppc.c
===================================================================
--- src.orig/gas/config/tc-ppc.c 2009-10-02 16:51:22.000000000 +0200
+++ src/gas/config/tc-ppc.c 2010-04-12 13:31:38.000000000 +0200
@@ -1936,6 +1936,7 @@ ppc_elf_cons (int nbytes /* 1=.byte, 2=.
int offset;
p = frag_more (nbytes);
+ memset (p, 0, nbytes);
offset = 0;
if (target_big_endian)
offset = nbytes - size;