[PATCH] D40549: [ELF] - Add support for --just-symbols flag.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 30 01:32:32 PST 2017


>I can't reproduce this with 2.27-28.fc26. In any case, it is probably
>better to start without .o files support. With that we don't have to
>worry about undefined symbols.
>
>Cheers,
>Rafael

I am reproducing it with GNU ld (GNU Binutils for Ubuntu) 2.26.1,
but unable to reproduce with fresh GNU ld (GNU Binutils) 2.29.51.20171129.

Anyways I agree with you, I think executables is the main aim of the option probably.

Rui, do you plan to continue your patch ? Or can I continue this one ? 
It implements pieces your patch seems missing currently (copies all symbols attributes, like
size, visibility, type and not just st_value). But if you have plans to continue, I'll abandong it.

George.




More information about the llvm-commits mailing list