public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [Patch]: Fastcall support for CygWin and MinGW, 2nd try
@ 2001-07-23  6:41 Eric Kohl
  0 siblings, 0 replies; only message in thread
From: Eric Kohl @ 2001-07-23  6:41 UTC (permalink / raw)
  To: binutils

[-- Attachment #1: Type: text/plain, Size: 947 bytes --]

Hi!

The attached patch supports the use of fastcall functions (e.g.
@fastcall_function@12) on Win32 systems (CygWin/MinGW). A modified version
of binutils-2.11.90 is already used by the ReactOS project.

A corresponding patch for gcc 3.0 was already accepted by the gcc
developers.

My original patch introduced a small bug in dlltool. It is fixed in this
patch.

Regards,
Eric Kohl


binutils/ChangeLog:

* binutils/deflex.l:
Accept at-sign as first character of an ID.

* binutils/dlltool.c:
(scan_drectve_symbol): Search for first non-leading at-sign instead of
first.
(scan_filtered_symbol): Search for first non-neading at-sign instead of
first.
(gen_exp_file): Generate microsoft-compatible fastcall symbols.
(xlate): Undecorate fastcall symbol.
(make_label): Decorate fastcall symbol.
(make_one_lib_file): Generate microsoft-compatible fastcall symbols.

* gas/config/te-pe.h:
(AT_LEX): Accept at-sign (@) as first character of a label.



[-- Attachment #2: binutils-3.0-fastcall.diff.gz --]
[-- Type: application/x-gzip, Size: 1502 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-07-23  6:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-23  6:41 [Patch]: Fastcall support for CygWin and MinGW, 2nd try Eric Kohl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).