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] | |
Nathan Sidwell <nathan@codesourcery.com> writes:
> I've installed this patch to make thunks non-weak when the target
> function is non-weak. Making them always weak can place them far away
> from the target function, and can cause problems on systems with
> limited branch ranges.
I get a testsuite failure for this test on Linux/x86-64 in 64-bit:
g++.dg/abi/thunk4.C scan-assembler .weak\t_ZThn4_N7Derived3FooEv
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,
Andreas
--
Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
Attachment:
pgp00000.pgp
Description: PGP signature
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |