]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH et al.
authorHans-Peter Nilsson <hp@axis.com>
Tue, 22 Nov 2011 03:01:02 +0000 (03:01 +0000)
committerHans-Peter Nilsson <hp@gcc.gnu.org>
Tue, 22 Nov 2011 03:01:02 +0000 (03:01 +0000)
* Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
et al.

From-SVN: r181608

libgcc/ChangeLog
libgcc/Makefile.in

index fc2331da9afaf6b61afbb008c9af5be90a8bf6e0..b1ad4781388a6647dd23373b527635cf71c4f97b 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.
index f0b5a0ecbd5a54373a7a8eedfa884c27a1064cda..23b72b92475e60e6ffb54463bbc650aed44a9247 100644 (file)
@@ -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