gcc/libgcc/config
Nick Clifton 04a9ae287f gcc * config.gcc (extra_gcc_objs): Define for MSP430.
* common/config/msp430/msp430-common.c (msp430_handle_option):
	Pass both -mmcu and -mcpu on to the back end if they are both
	defined.
	* config/msp430/msp430.c (hwmult_name): New function.
        (msp430_option_override): If an unrecognised MCU name is
	detected only warn if the user has not provided suitable
        -mhwmult and -mcpu options.  Use msp430_warn_mcu to control
	warning messages.  Generate warnings about conflicts between
	-mmcu and -mcpu and -mhwmult options. 
	If neither -mcpu nor -mmcu have been specified but -mhwmult=
	f5series has the select the 430X isa.
	(msp430_no_hwmult): If -mmcu has not been specified and
	msp430_hwmult_type is AUTO then return true.
	* config/msp430/msp430.h (EXTRA_SPEC_FUNCTIONS): Define.
	(LIB_SPEC): Add hardware multiply library selection.
	* config/msp430/t-msp430: Delete hardware multiply multilibs.
	Add rule to build driver-msp430.o
	* config/msp430/driver-msp430.c: New file.
	* config/msp430/msp430.opt (warn-mcu): New option.
	* doc/invoke.texi: Update description of -mhwmult=auto.
        Document -mwarn-mcu option.

tests	* gcc.target/msp430/msp_abi_div_funcs.c: New test.
	* gcc.target/msp430/mul_main.h: New test support file.
	* gcc.target/msp430/mul_none.c: New test.
	* gcc.target/msp430/mul_16bit.c: New test.
	* gcc.target/msp430/mul_32bit.c: New test.
	* gcc.target/msp430/mul_f5.c: New test.

libgcc	* config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
	Allow for the second argument being negative.
	* config.host (extra_parts): Define for MSP430.  Create separate
	libraries for each of the hardware multiply formats.
	* config/msp430/lib2hw_mul.S: Build only the multiply routines
	that are needed.
	* config/msp430/lib2mul.c: Likewise.
	* config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
	Add rules to build hardware multiply libraries.
	* config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
	__mspabi_divul function.
	(__mspabi_divllu): New stub function.

From-SVN: r231286
2015-12-04 17:24:30 +00:00
..
aarch64
alpha
arc dp-hack.h: Add support for ARCHS. 2015-11-11 12:04:32 +01:00
arm [ARM] PR target/68059 libgcc should not use __write for printing fatal error 2015-11-23 15:17:55 +00:00
avr
bfin
c6x
cr16
cris
epiphany re PR libgcc/66883 (config/epiphany/udivsi3-float.c:52: bad if test ?) 2015-10-23 12:57:26 +01:00
fr30
frv
ft32 [FT32] fixes for the default hardware startup 2015-09-21 22:31:53 +00:00
h8300
i386 libgcc changes for AMD znver1. 2015-10-30 13:20:42 +00:00
ia64 Support init priority on Solaris 2015-11-09 11:33:30 +00:00
iq2000
libbid
lm32
m32c
m32r
m68k
mcore
mep
microblaze
mips
mmix
moxie
msp430 gcc * config.gcc (extra_gcc_objs): Define for MSP430. 2015-12-04 17:24:30 +00:00
nds32
nios2 linux-atomic.c (<asm/unistd.h>): Remove #include. 2015-07-22 11:39:30 +00:00
nvptx nvptx.c (global_lock_var): New. 2015-11-18 13:49:17 +00:00
pa fptr.c (__canonicalize_funcptr_for_compare): Initialize fixup values if saved GOT address doesn't match runtime address. 2015-12-01 23:59:20 +00:00
pdp11
rl78 divmodqi.S: Return 0x00 by default for div by 0. 2015-10-16 17:47:07 -04:00
rs6000 on_exit.c: New file. 2015-11-15 18:41:44 -05:00
rx
s390
score
sh
sol2 Support PIE on Solaris 2015-09-24 09:00:22 +00:00
sparc
spu
stormy16
tilegx
tilepro
v850
vax
visium replace BITS_PER_UNIT with __CHAR_BIT__ in target libs 2015-11-07 19:36:26 +00:00
vms
xtensa xtensa: fix xtensa_fallback_frame_state for call0 ABI 2015-09-15 19:30:32 +00:00
darwin-64.c
darwin-crt3.c
darwin-crt-tm.c
gthr-lynx.h
gthr-rtems.h RTEMS: Update RTEMS thread model 2015-09-03 05:28:46 +00:00
gthr-vxworks.h
hardfp.c
libgcc-glibc.ver
libgcc-libsystem.ver
no-sfp-machine.h
no-unwind.h
t-crtfm
t-crtstuff-pic
t-darwin
t-dfprules
t-eh-dw2-dip
t-fdpbit
t-fixedpoint-gnu-prefix
t-fpbit
t-freebsd-thread
t-gnu-prefix
t-hardfp
t-hardfp-sfdf
t-libgcc-pic
t-libunwind
t-libunwind-elf
t-linux
t-openbsd-thread
t-rtems
t-slibgcc
t-slibgcc-darwin
t-slibgcc-elf-ver
t-slibgcc-gld
t-slibgcc-gld-nover
t-slibgcc-hpux
t-slibgcc-libgcc
t-slibgcc-nolc-override
t-slibgcc-sld
t-slibgcc-vms
t-softfp libgcc: fix build with older make 2015-07-17 07:14:25 +00:00
t-softfp-compat
t-softfp-excl
t-softfp-sfdf
t-softfp-sfdftf
t-softfp-tf
t-stack
t-tls
t-vxworks
unwind-dw2-fde-darwin.c
vxlib-tls.c
vxlib.c