This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ PATCH] Locate thunks with thunkee
- From: Nathan Sidwell <nathan at codesourcery dot com>
- To: Andreas Jaeger <aj at suse dot de>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 01 Jan 2006 13:30:50 +0000
- Subject: Re: [C++ PATCH] Locate thunks with thunkee
- References: <43B41201.1000601@codesourcery.com> <m3y820s7uw.fsf@gromit.moeb>
Andreas Jaeger wrote:
The file contains:
.weak _ZThn8_N7Derived3FooEv
.type _ZThn8_N7Derived3FooEv, @function
I think you have to adopt both thunk3.C and thunk4.C for 64-bit hosts,
fixed thusly
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk
2006-01-01 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/abi/thunk3.C: Adjust regexp to be 64bit safe.
* g++.dg/abi/thunk4.C: Likewise.
Index: g++.dg/abi/thunk3.C
===================================================================
--- g++.dg/abi/thunk3.C (revision 109149)
+++ g++.dg/abi/thunk3.C (working copy)
@@ -1,4 +1,4 @@
-// { dg-final { scan-assembler-not ".weak\t_ZThn4_N7Derived3FooEv" } }
+// { dg-final { scan-assembler-not ".weak\t_ZThn._N7Derived3FooEv" } }
struct Base
{
Index: g++.dg/abi/thunk4.C
===================================================================
--- g++.dg/abi/thunk4.C (revision 109149)
+++ g++.dg/abi/thunk4.C (working copy)
@@ -1,4 +1,4 @@
-// { dg-final { scan-assembler ".weak\t_ZThn4_N7Derived3FooEv" } }
+// { dg-final { scan-assembler ".weak\t_ZThn._N7Derived3FooEv" } }
struct Base
{