MSP430: Add new msp430-elfbare target

Programming / Compilers / GCC - jozefl [138bc75d-0d04-0410-961f-82ee72b054a4] - 16 December 2019 11:02 UTC

contrib/ChangeLog:

2019-12-16 Jozef Lawrynowicz

- config-list.mk: Add msp430-elfbare.

gcc/ChangeLog:

2019-12-16 Jozef Lawrynowicz

- config.gcc: s/msp430*-*-*/msp430-*-*. Handle msp430-*-elfbare.
- config/msp430/msp430-devices.c (TARGET_SUBDIR): Define. (_MSPMKSTR): Define. (__MSPMKSTR): Define. (rest_of_devices_path): Use TARGET_SUBDIR value in string.
- config/msp430/msp430.c (msp430_option_override): Error if
-fuse-cxa-atexit is used when it has been disabled at configure time.
- config/msp430/t-msp430: Define TARGET_SUBDIR when building msp430-devices.o.
- doc/install.texi: Document msp430-*-elf and msp430-*-elfbare.
- doc/invoke.texi: Update documentation about which path devices.csv is searched for.

gcc/testsuite/ChangeLog:

2019-12-16 Jozef Lawrynowicz

- g++.dg/init/dso_handle1.C: Require cxa_atexit support.
- g++.dg/init/dso_handle2.C: Likewise.
- g++.dg/other/cxa-atexit1.C: Likewise.
- gcc.target/msp430/msp430.exp: Update csv-using-installed.c test to handle msp430-elfbare configuration.

libgcc/ChangeLog:

2019-12-16 Jozef Lawrynowicz

- config.host: s/msp430*-*-elf/msp430-*-elf*. Override default "extra_parts" variable.
- configure: Regenerate.
- configure.ac: Disable TM clone registry by default for msp430-elfbare.

84d7f8c57b1 MSP430: Add new msp430-elfbare target
contrib/ChangeLog | 4 ++++
contrib/config-list.mk | 2 +-
gcc/ChangeLog | 16 ++++++++++++++++
gcc/config.gcc | 14 +++++++++++++-
gcc/config/msp430/msp430-devices.c | 17 ++++++++++++++++-
gcc/config/msp430/msp430.c | 10 ++++++++++
gcc/config/msp430/t-msp430 | 2 +-
gcc/doc/install.texi | 16 +++++++++++++++-
gcc/doc/invoke.texi | 4 ++--
gcc/testsuite/ChangeLog | 8 ++++++++
gcc/testsuite/g++.dg/init/dso_handle1.C | 1 +
gcc/testsuite/g++.dg/init/dso_handle2.C | 1 +
gcc/testsuite/g++.dg/other/cxa-atexit1.C | 1 +
gcc/testsuite/gcc.target/msp430/msp430.exp | 8 +++++---
libgcc/ChangeLog | 8 ++++++++
libgcc/config.host | 4 ++--
libgcc/configure | 9 +++++++++
libgcc/configure.ac | 8 ++++++++
18 files changed, 121 insertions(+), 12 deletions(-)

Upstream: gcc.gnu.org


  • Share