Files
vxWorks/h/tool/gnu/make.SH7750gnule
2025-08-20 18:25:46 +08:00

58 lines
2.0 KiB
Plaintext

# make.SH7750gnule - GNU little endian tools defs for Hitachi SH7750 (SH4)
#
# Copyright 1999-2004 Wind River Systems, Inc.
#
# modification history
# --------------------
# 01t,07may04,h_k changed -mshlelf which is workaround in GNU 2.9 or earlier
# to -EL. (SPR #97043)
# 01s,10dec03,yvp Added ABI_SPEC.
# 01r,26nov03,c_c Use += instead of := for AS assignment.
# 01q,07nov03,c_c Removed Compiler definitions.
# 01p,07may02,sn SPR 76627 - moved -mshlelf into LDFLAGS, LD_PARTIAL_FLAGS
# 01o,21jan02,sn removed unused C++_TEMPLATE_INST
# 01n,09nov01,zl removed GNULIBROOT, -fno-for-scope, LD_PARTIAL, -fno-weak.
# 01m,30oct01,tpw Standardize kernel links and bootrom conversions.
# 01l,11oct01,dat SPR 20403, OPTIM_DRIVER must have -fvolatile
# 01k,25sep01,dat Location of defs.gnu changed to tool/gnu
# 01j,31jul01,sn Removed LIBS defn (libgcc.a linked against automatically)
# 01i,22jan01,zl redefine LD_PARTIAL to include -ml.
# 01h,21dec00,zl moved -ml option to CC.
# 01g,14aug00,rsh add support for c++ template instantiation a'la Salim's
# direction
# 01f,16jun00,hk Changed EXTRACT_BIN_NAME definition (it was elfToBin -r 4)
# 01e,11may00,zl Added LD_PARTIAL_FLAGS
# 01d,24apr00,zl changed libgcc location
# 01c,17apr00,zl corrected little endian library location;
# removed BSP-local linker scripts; changed -N to -n.
# 01b,07mar00,zl updated for gcc-2.96
# 01a,09may99,zl derived from make.SH7750gnu-01f.
#
# DESCRIPTION
# This file contains SH7750 (SH4) specific definitions and flags for the GNU
# software generation tools (compiler, assembler, linker etc.).
#*/
CPU = SH7750
TOOL = gnule
include $(TGT_DIR)/h/tool/gnu/defs.gnu
CC_OPTIM_DRIVER = -O2 -fno-builtin -fvolatile
CC_OPTIM_NORMAL = -O2 -fno-builtin
CC_OPTIM_TARGET = -O2 -fno-builtin -fvolatile
CC_SOFT_FLOAT =
CC_ARCH_SPEC = -m4 -ml
TOOLENV = sh
VX_CPU_FAMILY = sh
ARCH_DIR = sh
ABI_SPEC = sh4
AS += -little
LDFLAGS = -X -n -EL
LD_PARTIAL_FLAGS = -X -r -EL
# end of make.SH7750gnule