[PATCH] D39348: Implement --just-symbols.
Rafael Avila de Espindola via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 16 16:14:12 PST 2018
Rui Ueyama <ruiu at google.com> writes:
> On Tue, Jan 16, 2018 at 7:32 AM, Rafael Avila de Espindola <
> rafael.espindola at gmail.com> wrote:
>
>> Rui Ueyama via Phabricator via llvm-commits
>> <llvm-commits at lists.llvm.org> writes:
>>
>> > ruiu added a comment.
>> >
>> > I tried to create file objects for --just-symbols so that the linker
>> command that just specifies --just-symbols without any real object file
>> works fine.
>>
>> My understanding is that was one of the required use cases, no?
>>
>
> No, I don't think so. At least I haven't got any feature request for that
> use case.
Chih-Mao Chen wrote:
It can be used to produce an object file containing the offset of symbols in vdso:
https://github.com/riscv/riscv-linux/blob/ae64f9bd1d3621b5e60d7363bc20afb46aede215/arch/riscv/kernel/vdso/Makefile#L41
so I think we should support that.
Cheers,
Rafael
More information about the llvm-commits
mailing list