This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug driver/39356] assembler isn't called
- From: "dannysmith at users dot sourceforge dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Mar 2009 02:13:28 -0000
- Subject: [Bug driver/39356] assembler isn't called
- References: <bug-39356-11564@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from dannysmith at users dot sourceforge dot net 2009-03-16 02:13 -------
(In reply to comment #7)
> The following patch solves this problem and prevents the name collision for 32
> and 64 bits win32 systems.
>
> ChangeLog
>
> * config/i386/i386.md (allocate_stack_worker_32): Use
> ___gnu_chkstk.
> (allocate_stack_worker_64): Likewise.
> * config/i386/cygwin.asm (__alloca): Renamed to __gnu_alloca.
> (___chkstk): Renamed to ___gnu_chkstk.
>
No. This breaks backward compatibility. Static libraries and objects built
with current and older versions of gcc will not be able to resolve references
to __alloca or ___chkstk. Why not add labels with the new names as aliases
rather than replace.
Danny
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39356