[patch]: Allow in dlltool addiional underscoring options for symbols
Kai Tietz
ktietz70@googlemail.com
Mon Oct 26 18:28:00 GMT 2009
Hello,
as we are about to change for w64 the default underscoring, but as we
still are in need to support the underscored symbol variant, does this
patch adds two new options for this. The option is opaque as long as
not one of the two (--(no-)leading-underscore) options was specified.
ChangeLog
2009-10-26 Kai Tietz <kai.tietz@onevision.com>
* dlltoo.c (leading_underscore): New local variable.
(asm_prefix): Interprete leading_underscore.
(xlate): Likewise.
(add_excludes): Use leading_underscore for making
symbol name.
(gen_exp_file): Use leading_underscore for internal
_imp_ symbols.
(usage): Add display of --no-leading-underscore and
--leading-underscore option.
(OPTION_NO_LEADING_UNDERSCORE): New.
(OPTION_LEADING_UNDERSCORE): New.
(long_options): Add --no-leading-underscore and
--leading-underscore option.
(main): Handle new options.
* doc/binutils.text: Add documentation of the options
--no-leading-underscore and --leading-underscore.
Tested for x86_64-pc-mingw32, i686-pc-mingw32, and i686-pc-cygwin. Ok for apply?
Cheers,
Kai
--
| (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination
More information about the Binutils
mailing list