summaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>2011-11-22 03:01:02 +0000
committerhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>2011-11-22 03:01:02 +0000
commite426aa2b534b8db49361cd0516ed7690a31ec5a6 (patch)
tree41251f6d17185b6408e84df5bca2d76f3c0cc35b /libgcc
parentc1b089dd87a1c5c9c3d382f8c21808631804c4c1 (diff)
downloadgcc-e426aa2b534b8db49361cd0516ed7690a31ec5a6.tar.gz
* Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
et al. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181608 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgcc')
-rw-r--r--libgcc/ChangeLog5
-rw-r--r--libgcc/Makefile.in3
2 files changed, 8 insertions, 0 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index fc2331da9af..b1ad4781388 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,3 +1,8 @@
+2011-11-21 Hans-Peter Nilsson <hp@axis.com>
+
+ * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
+ et al.
+
2011-11-21 Richard Henderson <rth@redhat.com>
* crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
diff --git a/libgcc/Makefile.in b/libgcc/Makefile.in
index f0b5a0ecbd5..23b72b92475 100644
--- a/libgcc/Makefile.in
+++ b/libgcc/Makefile.in
@@ -394,6 +394,9 @@ endif
LIB2ADD += enable-execute-stack.c
+# While emutls.c has nothing to do with EH, it is in LIB2ADDEH*
+# instead of LIB2ADD because that's the way to be sure on some targets
+# (e.g. *-*-darwin*) only one copy of it is linked.
LIB2ADDEH += $(srcdir)/emutls.c
LIB2ADDEHSTATIC += $(srcdir)/emutls.c
LIB2ADDEHSHARED += $(srcdir)/emutls.c