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: [Patch: mingw/cygwin] Handle export of MI thunks from windows dll's


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~


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