mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-03-06 00:18:01 +00:00
PR gas/13449
* config/tc-arm.c (create_unwind_entry): Zero allocated table entries.
This commit is contained in:
parent
f16c4e8bdd
commit
74929e7bba
@ -1,3 +1,9 @@
|
||||
2011-12-21 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
PR gas/13449
|
||||
* config/tc-arm.c (create_unwind_entry): Zero allocated table
|
||||
entries.
|
||||
|
||||
2011-12-19 Iain Sandoe <idsandoe@googlemail.com>
|
||||
|
||||
* config/obj-macho.c (obj_mach_o_section): Account for target-
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user