gcc/libgcc/config
Andre Vieira c92e08e3d7 ARMv8-M Security Extension's cmse_nonsecure_call: use __gnu_cmse_nonsecure_call
gcc/ChangeLog:
    2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
		Thomas Preud'homme  <thomas.preudhomme@arm.com>

	* config/arm/arm.c (detect_cmse_nonsecure_call): New.
	(cmse_nonsecure_call_clear_caller_saved): New.
	(arm_reorg): Use cmse_nonsecure_call_clear_caller_saved.
	(arm_function_ok_for_sibcall): Disable sibcalls for
	cmse_nonsecure_call.
	* config/arm/arm-protos.h (detect_cmse_nonsecure_call): New.
	* config/arm/arm.md (call): Handle cmse_nonsecure_entry.
	(call_value): Likewise.
	(nonsecure_call_internal): New.
	(nonsecure_call_value_internal): New.
	* config/arm/thumb1.md (*nonsecure_call_reg_thumb1_v5): New.
	(*nonsecure_call_value_reg_thumb1_v5): New.
	* config/arm/thumb2.md (*nonsecure_call_reg_thumb2): New.
	(*nonsecure_call_value_reg_thumb2): New.
	* config/arm/unspecs.md (UNSPEC_NONSECURE_MEM): New.

    libgcc/ChangeLog:
    2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
	       Thomas Preud'homme  <thomas.preudhomme@arm.com>

	* config/arm/cmse_nonsecure_call.S: New.
	* config/arm/t-arm: Compile cmse_nonsecure_call.S

    gcc/testsuite/ChangeLog:
    2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
		Thomas Preud'homme  <thomas.preudhomme@arm.com>

	* gcc.target/arm/cmse/cmse.exp: Run tests in mainline dir.
	* gcc.target/arm/cmse/cmse-9.c: Added some extra tests.
	* gcc.target/arm/cmse/cmse-14.c: New.
	* gcc.target/arm/cmse/baseline/bitfield-4.c: New.
	* gcc.target/arm/cmse/baseline/bitfield-5.c: New.
	* gcc.target/arm/cmse/baseline/bitfield-6.c: New.
	* gcc.target/arm/cmse/baseline/bitfield-7.c: New.
	* gcc.target/arm/cmse/baseline/bitfield-8.c: New.
	* gcc.target/arm/cmse/baseline/bitfield-9.c: New.
	* gcc.target/arm/cmse/baseline/bitfield-and-union-1.c: New.
	* gcc.target/arm/cmse/baseline/cmse-11.c: New.
	* gcc.target/arm/cmse/baseline/cmse-13.c: New.
	* gcc.target/arm/cmse/baseline/cmse-6.c: New.
	* gcc.target/arm/cmse/baseline/union-1.c: New.
	* gcc.target/arm/cmse/baseline/union-2.c: New.
	* gcc.target/arm/cmse/mainline/bitfield-4.c: New.
	* gcc.target/arm/cmse/mainline/bitfield-5.c: New.
	* gcc.target/arm/cmse/mainline/bitfield-6.c: New.
	* gcc.target/arm/cmse/mainline/bitfield-7.c: New.
	* gcc.target/arm/cmse/mainline/bitfield-8.c: New.
	* gcc.target/arm/cmse/mainline/bitfield-9.c: New.
	* gcc.target/arm/cmse/mainline/bitfield-and-union-1.c: New.
	* gcc.target/arm/cmse/mainline/union-1.c: New.
	* gcc.target/arm/cmse/mainline/union-2.c: New.
	* gcc.target/arm/cmse/mainline/hard-sp/cmse-13.c: New.
	* gcc.target/arm/cmse/mainline/hard-sp/cmse-7.c: New.
	* gcc.target/arm/cmse/mainline/hard-sp/cmse-8.c: New.
	* gcc.target/arm/cmse/mainline/hard/cmse-13.c: New.
	* gcc.target/arm/cmse/mainline/hard/cmse-7.c: New.
	* gcc.target/arm/cmse/mainline/hard/cmse-8.c: New.
	* gcc.target/arm/cmse/mainline/soft/cmse-13.c: New.
	* gcc.target/arm/cmse/mainline/soft/cmse-7.c: New.
	* gcc.target/arm/cmse/mainline/soft/cmse-8.c: New.
	* gcc.target/arm/cmse/mainline/softfp-sp/cmse-7.c: New.
	* gcc.target/arm/cmse/mainline/softfp-sp/cmse-8.c: New.
	* gcc.target/arm/cmse/mainline/softfp/cmse-13.c: New.
	* gcc.target/arm/cmse/mainline/softfp/cmse-7.c: New.
	* gcc.target/arm/cmse/mainline/softfp/cmse-8.c: New.


Co-Authored-By: Thomas Preud'homme <thomas.preudhomme@arm.com>

From-SVN: r243192
2016-12-02 15:33:26 +00:00
..
aarch64 [Patch libgcc AArch64 12/17] Enable hfmode soft-float conversions and truncations 2016-11-24 18:16:55 +00:00
alpha Update copyright years. 2016-01-04 15:30:50 +01:00
arc [ARC][libgcc] Add support for QuarkSE processor. 2016-11-17 14:43:43 +01:00
arm ARMv8-M Security Extension's cmse_nonsecure_call: use __gnu_cmse_nonsecure_call 2016-12-02 15:33:26 +00:00
avr lib1funcs.S (__muldi3): No need to clear zero_reg as previous call to __umulhisi3 already cleared it. 2016-07-29 09:14:02 +00:00
bfin re PR target/74748 (libgcc_s.so.1 isn't created correctly for Blackfin FDPIC) 2016-11-28 14:30:40 -07:00
c6x Update copyright years. 2016-01-04 15:30:50 +01:00
cr16 Update copyright years. 2016-01-04 15:30:50 +01:00
cris Update copyright years. 2016-01-04 15:30:50 +01:00
epiphany Update copyright years. 2016-01-04 15:30:50 +01:00
fr30 Update copyright years. 2016-01-04 15:30:50 +01:00
frv Update copyright years. 2016-01-04 15:30:50 +01:00
ft32 ft32.opt (mnodiv): New. 2016-03-29 00:37:26 +00:00
h8300 Update copyright years. 2016-01-04 15:30:50 +01:00
i386 Add avx5124vnniw/avx5124fmaps to target attributes 2016-11-17 14:18:23 -08:00
ia64 crtbegin.S (__do_jv_register_classes): Remove. 2016-10-05 07:50:34 +00:00
iq2000 Update copyright years. 2016-01-04 15:30:50 +01:00
libbid Update copyright years. 2016-01-04 15:30:50 +01:00
lm32 Update copyright years. 2016-01-04 15:30:50 +01:00
m32c Update copyright years. 2016-01-04 15:30:50 +01:00
m32r Update copyright years. 2016-01-04 15:30:50 +01:00
m68k * config/m68k/linux-atomic.c: Do not include unistd.h 2016-04-21 23:43:43 -06:00
mcore Update copyright years. 2016-01-04 15:30:50 +01:00
microblaze Update copyright years. 2016-01-04 15:30:50 +01:00
mips [mips] Fix linux header use in libgcc 2016-08-25 14:08:27 +00:00
mmix Update copyright years. 2016-01-04 15:30:50 +01:00
moxie Update copyright years. 2016-01-04 15:30:50 +01:00
msp430 cmpd.c (__mspabi_cmpf): Add prototype. 2016-04-25 11:13:35 +00:00
nds32 Update copyright years. 2016-01-04 15:30:50 +01:00
nios2 Update copyright years. 2016-01-04 15:30:50 +01:00
nvptx nvptx backend prerequisites for OpenMP offloading 2016-11-16 20:17:00 +03:00
pa pa64-hpux-lib.h: New file. 2016-10-19 22:52:21 +00:00
pdp11
rl78 Update copyright years. 2016-01-04 15:30:50 +01:00
rs6000 _divkc3.c: Add copyright/license boilerplate. 2016-07-29 20:15:54 +00:00
rx Update copyright years. 2016-01-04 15:30:50 +01:00
s390 S/390: Add -fsplit-stack support 2016-02-15 10:20:18 +00:00
score Update copyright years. 2016-01-04 15:30:50 +01:00
sh crt1.S: Remove SH5 support. 2016-04-29 14:10:26 +00:00
sol2 Save call-clobbered registers in _mcount on 32-bit Solaris/x86 (PR target/38239) 2016-03-16 11:57:02 +00:00
sparc Update copyright years. 2016-01-04 15:30:50 +01:00
spu Update copyright years. 2016-01-04 15:30:50 +01:00
stormy16 Update copyright years. 2016-01-04 15:30:50 +01:00
tilegx
tilepro Move MEMMODEL_* from coretypes.h to memmodel.h 2016-10-13 14:17:52 +00:00
v850 Update copyright years. 2016-01-04 15:30:50 +01:00
vax Update copyright years. 2016-01-04 15:30:50 +01:00
visium Update copyright years. 2016-01-04 15:30:50 +01:00
vms Update copyright years. 2016-01-04 15:30:50 +01:00
xtensa xtensa: don't use unwind-dw2-fde-dip with elf targets 2016-10-18 19:12:19 +00:00
darwin-64.c Update copyright years. 2016-01-04 15:30:50 +01:00
darwin-crt3.c Update copyright years. 2016-01-04 15:30:50 +01:00
darwin-crt-tm.c Update copyright years. 2016-01-04 15:30:50 +01:00
gthr-lynx.h Update copyright years. 2016-01-04 15:30:50 +01:00
gthr-rtems.h Update copyright years. 2016-01-04 15:30:50 +01:00
gthr-vxworks.h Update copyright years. 2016-01-04 15:30:50 +01:00
hardfp.c Update copyright years. 2016-01-04 15:30:50 +01:00
libgcc-glibc.ver Update copyright years. 2016-01-04 15:30:50 +01:00
libgcc-libsystem.ver
no-sfp-machine.h
no-unwind.h
t-crtfm
t-crtstuff-pic
t-darwin [Darwin] fix PR67710 by updating 'as' specs to handle newer assembler versions. 2016-11-27 15:07:22 +00:00
t-dfprules
t-eh-dw2-dip
t-fdpbit
t-fixedpoint-gnu-prefix
t-fpbit
t-freebsd-thread
t-gnu-prefix
t-hardfp Update copyright years. 2016-01-04 15:30:50 +01:00
t-hardfp-sfdf Update copyright years. 2016-01-04 15:30:50 +01:00
t-libgcc-pic
t-libunwind
t-libunwind-elf Update copyright years. 2016-01-04 15:30:50 +01:00
t-linux
t-openbsd-thread
t-rtems
t-slibgcc Update copyright years. 2016-01-04 15:30:50 +01:00
t-slibgcc-darwin
t-slibgcc-elf-ver
t-slibgcc-gld
t-slibgcc-gld-nover
t-slibgcc-hpux
t-slibgcc-libgcc Update copyright years. 2016-01-04 15:30:50 +01:00
t-slibgcc-nolc-override
t-slibgcc-sld
t-slibgcc-vms
t-softfp Update copyright years. 2016-01-04 15:30:50 +01: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 Update copyright years. 2016-01-04 15:30:50 +01:00
vxlib-tls.c Update copyright years. 2016-01-04 15:30:50 +01:00
vxlib.c Update copyright years. 2016-01-04 15:30:50 +01:00