This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [patch]: Allow in dlltool addiional underscoring options for symbols
Kai Tietz wrote:
> Ok, I'll add some testcases for this new options. But you are right,
> that we have in dlltool, ld, etc pretty much same code about import
> symbols and underscoring. I thought already, if it wouldn't be good
> here to handle this underscoring stuff (at least the value and symbol
> name generation) directly in bfd. Also I think it could make sense to
> add code for import-library entries directly in bfd, too. This would
> allow us to support those new import objects and transform them into a
> COFF object to handle it.
Yes, I think it would be really good to common out and share all the code
that's basically repeated between ld and dlltool. I'll put it on my
medium-term to-do list.
cheers,
DaveK