public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/maskray/grte] Use llvm-objcopy, if available, to remove the .llvm_addrsig sections.
@ 2021-08-28  0:31 Fangrui Song
  0 siblings, 0 replies; 3+ messages in thread
From: Fangrui Song @ 2021-08-28  0:31 UTC (permalink / raw)
  To: glibc-cvs

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [glibc/maskray/grte] Use llvm-objcopy, if available, to remove the .llvm_addrsig sections.
@ 2021-08-28  0:27 Fangrui Song
  0 siblings, 0 replies; 3+ messages in thread
From: Fangrui Song @ 2021-08-28  0:27 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=b115b8bb67d0b4b4f8f39783f8e20fd02fcec47a

commit b115b8bb67d0b4b4f8f39783f8e20fd02fcec47a
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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [glibc/maskray/grte] Use llvm-objcopy, if available, to remove the .llvm_addrsig sections.
@ 2021-08-27 23:49 Fangrui Song
  0 siblings, 0 replies; 3+ messages in thread
From: Fangrui Song @ 2021-08-27 23:49 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=3e6bdbde8f6cc3fe3babc7c686bbc475d7f84c2d

commit 3e6bdbde8f6cc3fe3babc7c686bbc475d7f84c2d
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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-08-28  0:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-28  0:31 [glibc/maskray/grte] Use llvm-objcopy, if available, to remove the .llvm_addrsig sections Fangrui Song
  -- strict thread matches above, loose matches on Subject: below --
2021-08-28  0:27 Fangrui Song
2021-08-27 23:49 Fangrui Song

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).