All of lore.kernel.org
 help / color / mirror / Atom feed
From: aldot at uclibc.org <aldot@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/toolchain/gcc/4.2
Date: Wed, 13 Dec 2006 15:25:52 -0800 (PST)	[thread overview]
Message-ID: <20061213232552.DF8104856B@busybox.net> (raw)

Author: aldot
Date: 2006-12-13 15:25:52 -0800 (Wed, 13 Dec 2006)
New Revision: 16911

Log:
- convert mudflap to non-legacy SUSv3


Added:
   trunk/buildroot/toolchain/gcc/4.2/305-libmudflap-susv3-legacy.patch


Changeset:
Added: trunk/buildroot/toolchain/gcc/4.2/305-libmudflap-susv3-legacy.patch
===================================================================
--- trunk/buildroot/toolchain/gcc/4.2/305-libmudflap-susv3-legacy.patch	2006-12-13 23:18:02 UTC (rev 16910)
+++ trunk/buildroot/toolchain/gcc/4.2/305-libmudflap-susv3-legacy.patch	2006-12-13 23:25:52 UTC (rev 16911)
@@ -0,0 +1,49 @@
+Index: gcc-4.2/libmudflap/mf-hooks2.c
+===================================================================
+--- gcc-4.2/libmudflap/mf-hooks2.c	(revision 119834)
++++ gcc-4.2/libmudflap/mf-hooks2.c	(working copy)
+@@ -427,7 +427,7 @@
+ {
+   TRACE ("%s\n", __PRETTY_FUNCTION__);
+   MF_VALIDATE_EXTENT(s, n, __MF_CHECK_WRITE, "bzero region");
+-  bzero (s, n);
++  memset (s, 0, n);
+ }
+ 
+ 
+@@ -437,7 +437,7 @@
+   TRACE ("%s\n", __PRETTY_FUNCTION__);
+   MF_VALIDATE_EXTENT(src, n, __MF_CHECK_READ, "bcopy src");
+   MF_VALIDATE_EXTENT(dest, n, __MF_CHECK_WRITE, "bcopy dest");
+-  bcopy (src, dest, n);
++  memmove (dest, src, n);
+ }
+ 
+ 
+@@ -447,7 +447,7 @@
+   TRACE ("%s\n", __PRETTY_FUNCTION__);
+   MF_VALIDATE_EXTENT(s1, n, __MF_CHECK_READ, "bcmp 1st arg");
+   MF_VALIDATE_EXTENT(s2, n, __MF_CHECK_READ, "bcmp 2nd arg");
+-  return bcmp (s1, s2, n);
++  return n == 0 ? 0 : memcmp (s1, s2, n);
+ }
+ 
+ 
+@@ -456,7 +456,7 @@
+   size_t n = strlen (s);
+   TRACE ("%s\n", __PRETTY_FUNCTION__);
+   MF_VALIDATE_EXTENT(s, CLAMPADD(n, 1), __MF_CHECK_READ, "index region");
+-  return index (s, c);
++  return strchr (s, c);
+ }
+ 
+ 
+@@ -465,7 +465,7 @@
+   size_t n = strlen (s);
+   TRACE ("%s\n", __PRETTY_FUNCTION__);
+   MF_VALIDATE_EXTENT(s, CLAMPADD(n, 1), __MF_CHECK_READ, "rindex region");
+-  return rindex (s, c);
++  return strrchr (s, c);
+ }
+ 
+ /* XXX:  stpcpy, memccpy */

             reply	other threads:[~2006-12-13 23:25 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-13 23:25 aldot at uclibc.org [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-02-10 19:36 [Buildroot] svn commit: trunk/buildroot/toolchain/gcc/4.2 aldot at uclibc.org
2007-01-22 19:22 aldot at uclibc.org
2007-01-08 18:35 aldot at uclibc.org
2007-01-06 19:39 aldot at uclibc.org
2007-01-04 20:24 aldot at uclibc.org
2006-12-28  8:47 aldot at uclibc.org
2006-12-28  8:46 aldot at uclibc.org
2006-09-28 10:35 aldot at uclibc.org
2006-09-28 10:30 aldot at uclibc.org
2006-09-11 18:12 aldot at uclibc.org
2006-08-28 11:39 aldot at uclibc.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061213232552.DF8104856B@busybox.net \
    --to=aldot@uclibc.org \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.