the patch implement of following functionality.
- export the symbols of the xcoff archive or object files. (export the extern and extern weak symbol)
- delete the duplicate export symbols (which has same symbol name and visibility)
- sort the export symbols.
- print out the unique and sorted export symbols (print the symbol name and visibility).
there new options are add in the patch
- --export-unique-symbol (enable the functionality of export unique symbol for xcoff)
- --exclude-weak (exclude the weak symbol from be exporting)
- --exclude-rsrc (exclude the symbol name begin with "__rsrc" from be exporting.
after the patch D82549 approved, I will rebase the patch.