[PATCH v2][MSP430] -Add fno-exceptions multilib

Jeff Law law@redhat.com
Wed Dec 11 18:51:00 GMT 2019


On Wed, 2019-11-27 at 19:53 +0000, Jozef Lawrynowicz wrote:
> From b74f34e5ae7f649296f7f6bcce35b75c34a2b0fd Mon Sep 17 00:00:00 2001
> From: Jozef Lawrynowicz <jozef.l@mittosystems.com>
> Date: Mon, 25 Nov 2019 12:07:24 +0000
> Subject: [PATCH] MSP430: Add fno-exceptions multilib
> 
> ChangeLog:
> 
> 2019-11-27  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
> 
> 	* config-ml.in: Support --disable-no-exceptions configure flag.
> 
> gcc/ChangeLog:
> 
> 2019-11-27  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
> 
> 	* config/msp430/msp430.h (STARTFILE_SPEC) [!fexceptions]: Use
> 	crtbegin_no_eh.o if building for the C language.
> 	[fno-exceptions]: Use crtbegin_no_eh.o if building for any language
> 	except C.
> 	(ENDFILE_SPEC) [!fexceptions]: Use crtend_no_eh.o if building for 
> 	the C language.
> 	[fno-exceptions]: Use crtend_no_eh.o if building for any language
> 	except C.
> 	* config/msp430/t-msp430: Add -fno-exceptions multilib.
> 	* doc/install.texi: Document --disable-no-exceptions multilib configure
> 	option.
> 
> gcc/testsuite/ChangeLog:
> 
> 2019-11-27  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
> 
> 	* lib/gcc-dg.exp: Add dg-prune messages for when exception handling is
> 	disabled.
> 	* lib/target-supports.exp (check_effective_target_exceptions_enabled):
> 	New.
> 
> libgcc/ChangeLog:
> 
> 2019-11-27  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
> 
> 	* config.host: Add crt{begin,end}_no_eh.o to "extra_parts".
> 	* config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
OK
jeff



More information about the Gcc-patches mailing list