[LLVMdev] [lld] How do I prevent .note sections from being eliminated?

Tom Stellard tom at stellard.net
Fri Jun 12 20:28:03 PDT 2015


Hi,

I'm working on an AMDGPU target for lld, and I'm trying to link a single
.o file with a .note section, but the .note section is missing from the
resulting a.out file.  How can I control which sections get copied over
to the executable?  Is there a target hook to implement?

Thanks,
Tom



More information about the llvm-dev mailing list