view sources/patches/gcc-core-shpic.patch @ 1773:eca87f8f58fb draft

Changes to build cross-compiler-sh2eb.
author Rob Landley <rob@landley.net>
date Sun, 21 Jun 2015 12:31:58 -0500
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