From 2145e0c7bf31c681a745eeee57f4e889d7587ecc Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 26 Jan 2022 11:01:44 +0100 Subject: Remove obsolete rtems_gxx_*() implementation GCC versions prior to 6.1 used a RTEMS thread model based on rtems_gxx_*() functions. GCC version 6.1 or later uses the self-contained synchronization objects of Newlib for the RTEMS thread model. Remove the obsolete implementation. Close #3143. --- testsuites/sptests/spfatal24/init.c | 31 ------------------------------ testsuites/sptests/spfatal24/spfatal24.doc | 19 ------------------ testsuites/sptests/spfatal24/spfatal24.scn | 3 --- 3 files changed, 53 deletions(-) delete mode 100644 testsuites/sptests/spfatal24/init.c delete mode 100644 testsuites/sptests/spfatal24/spfatal24.doc delete mode 100644 testsuites/sptests/spfatal24/spfatal24.scn (limited to 'testsuites/sptests/spfatal24') diff --git a/testsuites/sptests/spfatal24/init.c b/testsuites/sptests/spfatal24/init.c deleted file mode 100644 index 6522ef7be2..0000000000 --- a/testsuites/sptests/spfatal24/init.c +++ /dev/null @@ -1,31 +0,0 @@ -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - -#include "../spfatal_support/spfatal.h" - -/* - * COPYRIGHT (c) 1989-2010. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - -#include -#include - -#define FATAL_ERROR_TEST_NAME "GXX KEY ADD FAILURE" -#define FATAL_ERROR_DESCRIPTION "GXX KEY ADD FAILURE" -#define FATAL_ERROR_EXPECTED_SOURCE INTERNAL_ERROR_CORE -#define FATAL_ERROR_EXPECTED_ERROR INTERNAL_ERROR_GXX_KEY_ADD_FAILED - -static void force_error(void) -{ - pthread_key_t key = -1; - - rtems_gxx_setspecific( &key, NULL ); -} - -#include "../spfatal_support/spfatalimpl.h" diff --git a/testsuites/sptests/spfatal24/spfatal24.doc b/testsuites/sptests/spfatal24/spfatal24.doc deleted file mode 100644 index b697770085..0000000000 --- a/testsuites/sptests/spfatal24/spfatal24.doc +++ /dev/null @@ -1,19 +0,0 @@ -# COPYRIGHT (c) 1989-2010. -# On-Line Applications Research Corporation (OAR). -# -# The license and distribution terms for this file may be -# found in the file LICENSE in this distribution or at -# http://www.rtems.org/license/LICENSE. -# - -This file describes the directives and concepts tested by this test set. - -test set name: spfatal24 - -directives: - - rtems_gxx_setspecific(); - -concepts: - -+ Trigger fatal error. diff --git a/testsuites/sptests/spfatal24/spfatal24.scn b/testsuites/sptests/spfatal24/spfatal24.scn deleted file mode 100644 index 46a4f20409..0000000000 --- a/testsuites/sptests/spfatal24/spfatal24.scn +++ /dev/null @@ -1,3 +0,0 @@ -*** TEST FATAL GXX KEY ADD FAILURE *** -Fatal error (GXX KEY ADD FAILURE) hit -*** END OF TEST FATAL GXX KEY ADD FAILURE *** -- cgit v1.2.3