This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch: mingw/cygwin] Handle export of MI thunks from windows dll's
- From: Richard Henderson <rth at redhat dot com>
- To: Danny Smith <danny_r_smith_2001 at yahoo dot co dot nz>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Christopher Faylor <cgf at redhat dot com>, Jason Merrill <jason at redhat dot com>
- Date: Tue, 8 Jul 2003 12:49:51 -0700
- Subject: Re: [Patch: mingw/cygwin] Handle export of MI thunks from windows dll's
- References: <20030705021858.27223.qmail@web21401.mail.yahoo.com>
On Sat, Jul 05, 2003 at 12:18:58PM +1000, Danny Smith wrote:
> ! /* Ignore internally generated aliases and other internal
> ! asm symbols prefixed with '*' */
> ! /*
> ! if (strncmp ("*LTHUNK",
> ! IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (decl)),
> ! sizeof ("*LTHUNK") - 1))
> ! */
> ! if (*IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (decl)) != '*')
I would expect anything named LTHUNK to be !TREE_PUBLIC;
such a decl certainly should not be exported. That seems
cleaner than testing the assembler name, and would
technically do the wrong thing when the __asm__ specifier
is used to override a method name.
r~