This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RE: [Patch: mingw/cygwin] Don't strip '@' dangles from stdcall/fastcall dllimport references
- From: Kai Tietz <Kai dot Tietz at onevision dot com>
- To: Danny Smith <dannysmith at clear dot net dot nz>
- Cc: "'Dave Korn'" <dave dot korn at artimi dot com>, "'GCC-patches'" <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 13 Jul 2007 12:16:22 +0200
- Subject: RE: [Patch: mingw/cygwin] Don't strip '@' dangles from stdcall/fastcall dllimport references
Danny Smith <dannysmith@clear.net.nz> wrote on 13.07.2007 12:09:16:
> > From: Kai Tietz
> > Sent: Friday, 13 July 2007 9:22 p.m.
> >
> > Hi Danny,
> >
> > Did you made sure not emitting '@' for the x86_64 mingw
> > target ?
>
> No.
>
> I think
> > this was one reason why this was introduced.
>
> I think that reason should have made its way into a comment somewhere.
>
> May use in the
> > function the
> > TARGET_64BIT macro to ensure '@' are not appended.
> >
>
> Do you mean that '@n' suffix is never emitted or is not emitted in
> '__imp__foo' dllimport case.
> If the latter, this should provide the behaviour you want. If the
> former, you will need to modify
Yes you got me :) This patch seems to be fine AFAICS.
Many thanks and cheers,
i.A. Kai Tietz
| (\_/) This is Bunny. Copy and paste Bunny
| (='.'=) into your signature to help him gain
| (")_(") world domination.
------------------------------------------------------------------------------------------
OneVision Software Entwicklungs GmbH & Co. KG
Dr.-Leo-Ritter-StraÃe 9 - 93049 Regensburg
Tel: +49.(0)941.78004.0 - Fax: +49.(0)941.78004.489 - www.OneVision.com
Commerzbank Regensburg - BLZ 750 400 62 - Konto 6011050
Handelsregister: HRA 6744, Amtsgericht Regensburg
KomplementÃrin: OneVision Software Entwicklungs Verwaltungs GmbH
Dr.-Leo-Ritter-StraÃe 9 â 93049 Regensburg
Handelsregister: HRB 8932, Amtsgericht Regensburg - GeschÃftsfÃhrer:
Ulrike DÃhler, Manuela Kluger