view sources/patches/gcc-core-shpic.patch @ 1839:c8293b3ab81f draft default tip

Teach chroot-splice to accept one or two arguments. (Control image now optional.)
author Rob Landley <rob@landley.net>
date Sun, 17 Jan 2016 21:18:52 -0600
parents 69ae59c2d53f
children
line wrap: on
line source

Don't build libgcc.a with -fpic for elf2flt binaries.

diff -ruN gcc-core/gcc/config/sh/t-linux gcc-core.bak/gcc/config/sh/t-linux
--- gcc-core/gcc/config/sh/t-linux	2006-03-31 16:31:05.000000000 -0600
+++ gcc-core.bak/gcc/config/sh/t-linux	2015-05-22 20:48:34.890802152 -0500
@@ -1,4 +1,4 @@
-TARGET_LIBGCC2_CFLAGS = -fpic -DNO_FPSCR_VALUES
+TARGET_LIBGCC2_CFLAGS = -DNO_FPSCR_VALUES
 LIB1ASMFUNCS_CACHE = _ic_invalidate _ic_invalidate_array
 
 LIB2FUNCS_EXTRA= $(srcdir)/config/sh/linux-atomic.asm