bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/27407] Add --trace-symbols-from-file?


From: i at maskray dot me
Subject: [Bug ld/27407] Add --trace-symbols-from-file?
Date: Fri, 26 Feb 2021 19:47:18 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=27407

--- Comment #2 from Fangrui Song <i at maskray dot me> ---
Yes, response files are accepted by many llvm-project tools. You reminded me
that we can compose tools, e.g.

ld.bfd @response.txt $(nm -Du usr/lib64/libc.so.6 | awk '{print
"-y"substr($0,20)}')

For object files, -D probably should be changed to -g.
There is some flexibility composing can provide: nm -u can be changed to
--defined-only to trace only defined symbols.

So it is unnecessary for ld to support such file tracing features.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]