bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/13449] ARM: Unwind tables are created based on uninitialized me


From: agraf at suse dot de
Subject: [Bug gas/13449] ARM: Unwind tables are created based on uninitialized memory
Date: Tue, 20 Dec 2011 15:04:07 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=13449

--- Comment #13 from Alexander Graf <agraf at suse dot de> 2011-12-20 15:04:07 
UTC ---
This patch fixes the test case for me:

Index: config/tc-arm.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-arm.c,v
retrieving revision 1.512
diff -u -r1.512 tc-arm.c
--- config/tc-arm.c    15 Dec 2011 10:21:49 -0000    1.512
+++ config/tc-arm.c    20 Dec 2011 15:03:02 -0000
@@ -19944,6 +19944,7 @@

   /* Allocate the table entry.    */
   ptr = frag_more ((size << 2) + 4);
+  memset (ptr, 0, (size << 2) + 4);
   where = frag_now_fix () - ((size << 2) + 4);

   switch (unwind.personality_index)

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]