This is the mail archive of the binutils@sources.redhat.com 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]

Re: PATCH: Re: Partial symbol export vs --export-dynamic


HI H.J.

> It turned out it was quite easy to do. Here is a patch. I just
> expanded the symbol versioning to executables. You can use
> 
> # gcc -Wl,-export-dynamic,--version-script,version.map ...
> 
> You can use the version-script to control what you want to export. It
> supports regular expression, C++ symbol, Java, ... among other
> things.

Well that looks very neat.  Please could you update the documentation
to mention this new behavior. 

> 2001-06-17  H.J. Lu  <hjl@gnu.org>
> 
> 	* elflink.h (elf_info_failed): Add a new field, verdefs.
> 	(NAME(bfd_elf,size_dynamic_sections): Pass verdefs to
> 	elf_export_symbol.
> 	(elf_export_symbol): Check eif->verdefs to decide if a symbol
> 	should be exported.

Approved.

Cheers
        Nick


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]