PR gas/11486
* config/tc-ppc.c (ppc_elf_cons): Clear frag contents.
This commit is contained in:
parent
9ec7269fc5
commit
aa0c8c1ae1
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2010-04-10 Alan Modra <amodra@gmail.com>
|
||||
|
||||
PR gas/11486
|
||||
* config/tc-ppc.c (ppc_elf_cons): Clear frag contents.
|
||||
|
||||
2010-04-09 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* as.c (create_obj_attrs_section): Remove unused variable addr.
|
||||
|
|
|
@ -1943,6 +1943,7 @@ ppc_elf_cons (int nbytes /* 1=.byte, 2=.word, 4=.long, 8=.llong */)
|
|||
int offset;
|
||||
|
||||
p = frag_more (nbytes);
|
||||
memset (p, 0, nbytes);
|
||||
offset = 0;
|
||||
if (target_big_endian)
|
||||
offset = nbytes - size;
|
||||
|
|
Loading…
Reference in a new issue