OSDN Git Service

* Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
authorhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 22 Nov 2011 03:01:02 +0000 (03:01 +0000)
committerhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 22 Nov 2011 03:01:02 +0000 (03:01 +0000)
et al.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181608 138bc75d-0d04-0410-961f-82ee72b054a4

libgcc/ChangeLog
libgcc/Makefile.in

index fc2331d..b1ad478 100644 (file)
@@ -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.
 2011-11-21  Richard Henderson  <rth@redhat.com>
 
        * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
index f0b5a0e..23b72b9 100644 (file)
@@ -394,6 +394,9 @@ endif
 
 LIB2ADD += enable-execute-stack.c
 
 
 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
 LIB2ADDEH += $(srcdir)/emutls.c
 LIB2ADDEHSTATIC += $(srcdir)/emutls.c
 LIB2ADDEHSHARED += $(srcdir)/emutls.c