This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C++ PATCH] Locate thunks with thunkee


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 
 {

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]