comparison gcc/config/rs6000/t-linux64 @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents 77e2b8dfacca
children 84e7813d76e9
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
1 #rs6000/t-linux64 1 #rs6000/t-linux64
2 2
3 # Copyright (C) 2002, 2003, 2004, 2006, 2007, 3 # Copyright (C) 2002-2017 Free Software Foundation, Inc.
4 # 2009 Free Software Foundation, Inc.
5 # 4 #
6 # This file is part of GCC. 5 # This file is part of GCC.
7 # 6 #
8 # GCC is free software; you can redistribute it and/or modify 7 # GCC is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by 8 # it under the terms of the GNU General Public License as published by
17 # 16 #
18 # You should have received a copy of the GNU General Public License 17 # You should have received a copy of the GNU General Public License
19 # along with GCC; see the file COPYING3. If not see 18 # along with GCC; see the file COPYING3. If not see
20 # <http://www.gnu.org/licenses/>. 19 # <http://www.gnu.org/licenses/>.
21 20
22 LIB2FUNCS_EXTRA += $(srcdir)/config/rs6000/ppc64-fp.c
23 LIB2FUNCS_EXTRA := $(sort $(LIB2FUNCS_EXTRA))
24
25 TARGET_LIBGCC2_CFLAGS += -mno-minimal-toc
26
27 # On Debian, Ubuntu and other derivative distributions, the 32bit libraries 21 # On Debian, Ubuntu and other derivative distributions, the 32bit libraries
28 # are found in /lib32 and /usr/lib32, /lib64 and /usr/lib64 are symlinks to 22 # are found in /lib32 and /usr/lib32, /lib64 and /usr/lib64 are symlinks to
29 # /lib and /usr/lib, while other distributions install libraries into /lib64 23 # /lib and /usr/lib, while other distributions install libraries into /lib64
30 # and /usr/lib64. The LSB does not enforce the use of /lib64 and /usr/lib64, 24 # and /usr/lib64. The LSB does not enforce the use of /lib64 and /usr/lib64,
31 # it doesn't tell anything about the 32bit libraries on those systems. Set 25 # it doesn't tell anything about the 32bit libraries on those systems. Set
32 # MULTILIB_OSDIRNAMES according to what is found on the target. 26 # MULTILIB_OSDIRNAMES according to what is found on the target.
33 27
34 MULTILIB_OPTIONS = m64/m32 msoft-float 28 MULTILIB_OPTIONS := m64/m32
35 MULTILIB_DIRNAMES = 64 32 nof 29 MULTILIB_DIRNAMES := 64 32
36 MULTILIB_EXTRA_OPTS = fPIC mstrict-align 30 MULTILIB_EXTRA_OPTS :=
37 MULTILIB_EXCEPTIONS = m64/msoft-float 31 MULTILIB_OSDIRNAMES := m64=../lib64$(call if_multiarch,:powerpc64-linux-gnu)
38 MULTILIB_EXCLUSIONS = m64/!m32/msoft-float 32 MULTILIB_OSDIRNAMES += m32=$(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib)$(call if_multiarch,:powerpc-linux-gnu)
39 MULTILIB_OSDIRNAMES = ../lib64 $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib) nof
40 MULTILIB_MATCHES = $(MULTILIB_MATCHES_FLOAT)
41 33
42 softfp_wrap_start := '\#ifndef __powerpc64__' 34 rs6000-linux.o: $(srcdir)/config/rs6000/rs6000-linux.c
43 softfp_wrap_end := '\#endif' 35 $(COMPILE) $<
36 $(POSTCOMPILE)