This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Hello all,
To make port of binutils tools a bit more complete for x64 Windows,
the dllwrap tool had some issues this patch fixes. Also it allows now
the --[no-}leading-underscore options, too. I am not sure, if this
tool is very useful for people in general, but I see that its main-use
seems to be for x86 cygwin and mingw toolchains. I extended it, so
that it can make a difference between different architectures. This is
mainly necessary for the @<n> post-fix, which has a meaning just for
x86 AFAIU.
2009-10-29 Kai Tietz <kai.tietz@onevision.com>
* dllwrap.c (is_leading_underscore): New variable.
(host_type): New enum type.
(which_host): New variable.
(usage): Add new options --no-leading-underscore
and --leading-underscore.
(long_options): Likewise.
(OPTION_NO_LEADING_UNDERSCORE): New define.
(OPTION_LEADING_UNDERSCORE): Likewise.
(main): Initialize which_host, pass new options
to dlltool, do underscoring dependent to
is_leading_underscore, and do '@12' decoration
only for x86.
Tested for x86_64-pc-mingw32, i686-pc-mingw32, and for i686-cygwin. Ok
for apply?
Cheers,
Kai
--
| (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination
Attachment:
dllwrap_x64.diff
Description: Binary data
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |