[Patch]: Fastcall support
Eric Kohl
ekohl@rz-online.de
Fri Jul 20 08:23:00 GMT 2001
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 will be submitted to the gcc-developers.
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: binutils.diff.gz
Type: application/x-gzip
Size: 1393 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20010720/7ca5bde4/attachment.bin>
More information about the Binutils
mailing list