Lazy DECL_RTL breakage for weak alias

Mark Mitchell mark@codesourcery.com
Fri Mar 16 09:20:00 GMT 2001


>>>>> "Jim" == Jim Wilson <wilson@cygnus.com> writes:

    Jim> extern __const char *__const _sys_siglist[64]; const char
    Jim> *const __new_sys_siglist[64]; extern __typeof
    Jim> (__new_sys_siglist) _sys_siglist __attribute__ ((weak, alias
    Jim> ("__new_sys_siglist")));

This problem didn't show up for me using an x86-native compiler.

What's the target triplet for the cross?

Also, note that H.J. reported a very similar problem yesterday, which
I fixed with:

2001-03-14  Mark Mitchell  <mark@codesourcery.com>

	* varasm.c (assemble_alias): Use DECL_ASSEMBLER_NAME, not the
	contents of the RTL, to determine the name of the object.

Would you make sure that this patch is in your tree?

Thanks,

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com



More information about the Gcc-patches mailing list