summaryrefslogtreecommitdiff
path: root/libgcc/Makefile.in
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/Makefile.in
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/Makefile.in')
-rw-r--r--libgcc/Makefile.in3
1 files changed, 3 insertions, 0 deletions
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