yehuda marko via llvm-dev
2019-May-15 20:37 UTC
[llvm-dev] force linker to load symbols from archive (8.a) , even application does not use them explicitly
Hello, I want to force the linker to load all the symbols (object files) related to specific archive (.a) even though the application does not use them explicitly. (In similar in gnu linker the option for the linker will be –whole-archive, or in diab –A ). System is 64bit. Re, Yehuda Marko Yehuda.Marko at scaleil.com +972544373003 ScaleIL [image: fb-cover-6221-3464467] This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and contains information that is confidential and proprietary to ScaleIL. All unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190515/efa38a0c/attachment-0001.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 2569 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190515/efa38a0c/attachment-0001.jpg>
Mehdi AMINI via llvm-dev
2019-May-16 05:53 UTC
[llvm-dev] force linker to load symbols from archive (8.a) , even application does not use them explicitly
Hi, On Wed, May 15, 2019 at 1:37 PM yehuda marko via llvm-dev < llvm-dev at lists.llvm.org> wrote:> Hello, > > > > > > I want to force the linker to load all the symbols (object files) related > to specific archive (.a) even though the application does not use them > explicitly. > > > > (In similar in gnu linker the option for the linker will be > –whole-archive, or in diab –A ). >It seems that your question relates to the linker, are you asking about lld? lld supports the --whole-archive flag as well I believe. If your question is not about lld, can you clarify what you're looking for exactly? Best, -- Mehdi -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190515/ebc99074/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 2569 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190515/ebc99074/attachment.jpg>
yehuda marko via llvm-dev
2019-May-16 07:50 UTC
[llvm-dev] force linker to load symbols from archive (8.a) , even application does not use them explicitly
Hello , The linker is ldarm64.EXE The llvm version is 3.8.1.1 /llvm-3.8.1.1/WIN32/bin/ldarm64.EXE Re, Yehuda Marko Yehuda.Marko at scaleil.com +972544373003 ScaleIL This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and contains information that is confidential and proprietary to ScaleIL. All unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. *From:* Mehdi AMINI [mailto:joker.eph at gmail.com] *Sent:* Thursday, May 16, 2019 8:53 AM *To:* yehuda marko <yehuda.marko at scaleil.com> *Cc:* LLVM Developers Mailing List <llvm-dev at lists.llvm.org> *Subject:* Re: [llvm-dev] force linker to load symbols from archive (8.a) , even application does not use them explicitly Hi, On Wed, May 15, 2019 at 1:37 PM yehuda marko via llvm-dev < llvm-dev at lists.llvm.org> wrote: Hello, I want to force the linker to load all the symbols (object files) related to specific archive (.a) even though the application does not use them explicitly. (In similar in gnu linker the option for the linker will be –whole-archive, or in diab –A ). It seems that your question relates to the linker, are you asking about lld? lld supports the --whole-archive flag as well I believe. If your question is not about lld, can you clarify what you're looking for exactly? Best, -- Mehdi -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190516/db6141ce/attachment.html>