Blame SOURCES/gdb-6.8-sparc64-silence-memcpy-check.patch

7a6771
Index: gdb-7.4.50.20111218/gdb/sparc-tdep.c
7a6771
===================================================================
7a6771
--- gdb-7.4.50.20111218.orig/gdb/sparc-tdep.c	2011-09-28 19:59:42.000000000 +0200
7a6771
+++ gdb-7.4.50.20111218/gdb/sparc-tdep.c	2011-12-19 01:25:29.294046199 +0100
7a6771
@@ -1316,6 +1316,7 @@ sparc32_store_return_value (struct type
7a6771
   if (sparc_floating_p (type) || sparc_complex_floating_p (type))
7a6771
     {
7a6771
       /* Floating return values.  */
7a6771
+      len = (len <= 8) ? len : 8;
7a6771
       memcpy (buf, valbuf, len);
7a6771
       regcache_cooked_write (regcache, SPARC_F0_REGNUM, buf);
7a6771
       if (len > 4)