public inbox for glibc-cvs@sourceware.org help / color / mirror / Atom feed
From: Fangrui Song <maskray@sourceware.org> To: glibc-cvs@sourceware.org Subject: [glibc/maskray/grte] Use llvm-objcopy, if available, to remove the .llvm_addrsig sections. Date: Sat, 28 Aug 2021 00:31:25 +0000 (GMT) [thread overview] Message-ID: <20210828003125.47C623858039@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=059f0081cf05b47d922ca698c2ba68ee63b6ee2d commit 059f0081cf05b47d922ca698c2ba68ee63b6ee2d Author: Siva Chandra Reddy <sivachandra@google.com> Date: Fri Apr 5 07:46:36 2019 -0700 Use llvm-objcopy, if available, to remove the .llvm_addrsig sections. Diff: --- csu/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/csu/Makefile b/csu/Makefile index 7460bcb0cf..b0049b2ef2 100644 --- a/csu/Makefile +++ b/csu/Makefile @@ -105,6 +105,12 @@ include ../Rules # Make these in the lib pass so they're available in time to link things with. subdir_lib: $(extra-objs:%=$(objpfx)%) +ifeq ($(LLVM_OBJCOPY),) +OBJCOPY_FOR_ADDRSIG = ${OBJCOPY} +else +OBJCOPY_FOR_ADDRSIG = ${LLVM_OBJCOPY} +endif + define link-relocatable $(CC) -nostdlib -nostartfiles -r -o $@.precopy $^ # Remove a section generated by clang for safe ICF; when lld links and
next reply other threads:[~2021-08-28 0:31 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-08-28 0:31 Fangrui Song [this message] -- strict thread matches above, loose matches on Subject: below -- 2021-08-28 0:27 Fangrui Song 2021-08-27 23:49 Fangrui Song
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20210828003125.47C623858039@sourceware.org \ --to=maskray@sourceware.org \ --cc=glibc-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).