SHA256
1
0
forked from pool/binutils
binutils/bso13449.diff
2012-01-04 12:35:38 +00:00

21 lines
695 B
Diff

PR gas/13449
* config/tc-arm.c (create_unwind_entry): Zero allocated table
entries.
===================================================================
RCS file: /cvs/src/src/gas/config/tc-arm.c,v
retrieving revision 1.512
retrieving revision 1.513
diff -u -r1.512 -r1.513
--- src/gas/config/tc-arm.c 2011/12/15 10:21:49 1.512
+++ src/gas/config/tc-arm.c 2011/12/21 17:07:26 1.513
@@ -19944,6 +19944,8 @@
/* Allocate the table entry. */
ptr = frag_more ((size << 2) + 4);
+ /* PR 13449: Zero the table entries in case some of them are not used. */
+ memset (ptr, 0, (size << 2) + 4);
where = frag_now_fix () - ((size << 2) + 4);
switch (unwind.personality_index)