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]

Re: Cygwin breakage caused by 2000-01-05 varasm.c change


On Thu, 11 Jan 2001, Chris Faylor wrote:

> Hello,
> This recent change to varasm.c has caused some breakage in cygwin
> compilers.
>
> 2001-01-05  Mike Stump  <mrs@wrs.com>
>
>         * varasm.c (assemble_name): Ensure we output the stripped name.
>
> This change strips the '@' from a symbol before writing it, which means
> that "stdcall" function lables are not properly adorned.  stdcall functions
> in Windows are suffixed with the number of bytes in the argument list so
> stripping the @n causes subsequent linker problems.
>
> I don't know if this change is wrong or if Cygwin's STRIP_NAME_ENCODING
> is wrong but, for now, I've reverted this change in my sandbox so that
> I can continue to use the CVS version of gcc.
>
> I'd appreciate knowing what the real resolution to this problem might
> be.

FWIW, this patch also breaks the ia64 port.


Bernd


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