diff options
author | Nick Clifton <nickc@redhat.com> | 2011-12-21 17:07:26 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2011-12-21 17:07:26 +0000 |
commit | 74929e7bba5eb4a9499d5d6d08e78fc76596edbe (patch) | |
tree | 805b6ebc91456385f569348cc18e55c0215decd1 /gas/config | |
parent | f16c4e8bddf8d339e0cfacca6348c45d20e94c43 (diff) | |
download | gdb-74929e7bba5eb4a9499d5d6d08e78fc76596edbe.zip gdb-74929e7bba5eb4a9499d5d6d08e78fc76596edbe.tar.gz gdb-74929e7bba5eb4a9499d5d6d08e78fc76596edbe.tar.bz2 |
PR gas/13449
* config/tc-arm.c (create_unwind_entry): Zero allocated table
entries.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-arm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index 865f430..02a63a6 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -19944,6 +19944,8 @@ create_unwind_entry (int have_data) /* 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) |