[gcc-7] 341/354: * Port libgo to the Hurd (Svante Signell).

Ximin Luo infinity0 at debian.org
Thu Nov 23 15:51:41 UTC 2017


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch master
in repository gcc-7.

commit c917099869ee470b4729bc72fc8ae35b7d9ecd5e
Author: doko <doko at 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>
Date:   Mon Nov 13 22:02:59 2017 +0000

      * Port libgo to the Hurd (Svante Signell).
    
    
    git-svn-id: svn+ssh://svn.debian.org/svn/gcccvs/branches/sid/gcc-7@9822 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca
---
 debian/patches/src_gcc_config_i386_gnu.h.diff | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/debian/patches/src_gcc_config_i386_gnu.h.diff b/debian/patches/src_gcc_config_i386_gnu.h.diff
new file mode 100644
index 0000000..bc68218
--- /dev/null
+++ b/debian/patches/src_gcc_config_i386_gnu.h.diff
@@ -0,0 +1,25 @@
+Index: gcc-7-7.2.0-12.1/src/gcc/config/i386/gnu.h
+===================================================================
+--- gcc-7-7.2.0-12.1.orig/src/gcc/config/i386/gnu.h
++++ gcc-7-7.2.0-12.1/src/gcc/config/i386/gnu.h
+@@ -37,11 +37,14 @@ along with GCC.  If not, see <http://www
+ 
+ #ifdef TARGET_LIBC_PROVIDES_SSP
+ 
+-/* Not supported yet.  */
+-# undef TARGET_THREAD_SSP_OFFSET
+-
+-/* Not supported yet.  */
+-# undef TARGET_CAN_SPLIT_STACK
+-# undef TARGET_THREAD_SPLIT_STACK_OFFSET
++/* i386 glibc provides __stack_chk_guard in %gs:0x14.  */
++#define TARGET_THREAD_SSP_OFFSET        0x14
+ 
++/* We only build the -fsplit-stack support in libgcc if the
++   assembler has full support for the CFI directives.  */
++#if HAVE_GAS_CFI_PERSONALITY_DIRECTIVE
++#define TARGET_CAN_SPLIT_STACK
++#endif
++/* We steal the last transactional memory word.  */
++#define TARGET_THREAD_SPLIT_STACK_OFFSET 0x30
+ #endif

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/gcc-7.git



More information about the Reproducible-commits mailing list