]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
make the new symbols weak to fix the new_override testcase.
authorDirk Mueller <daywalker@users.sourceforge.net>
Sun, 1 Jun 2003 20:02:30 +0000 (20:02 +0000)
committerDirk Mueller <daywalker@users.sourceforge.net>
Sun, 1 Jun 2003 20:02:30 +0000 (20:02 +0000)
finally no regression test suite failures!

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1663

coregrind/vg_replace_malloc.c

index 1d2de8bf73fe2e3f206682624234a7256a9c3a8b..f1cde846b0cc685c069d9caa18939442706890ae 100644 (file)
@@ -180,7 +180,7 @@ void* __builtin_new ( Int n )
 }
 
 /* gcc 3.X.X mangles them differently. */
-void* _Znwj ( Int n )
+__attribute__((weak)) void* _Znwj ( Int n )
 {
   return __builtin_new(n);
 }
@@ -205,7 +205,7 @@ void* __builtin_vec_new ( Int n )
 }
 
 /* gcc 3.X.X mangles them differently. */
-void* _Znaj ( Int n )
+__attribute__((weak)) void* _Znaj ( Int n )
 {
   return __builtin_vec_new(n);
 }