diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-01-26 11:01:44 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-01-27 11:06:46 +0100 |
commit | 2145e0c7bf31c681a745eeee57f4e889d7587ecc (patch) | |
tree | 60160fbe3b48834d2b825fa751e0f9ba9acf6962 /testsuites/sptests/spfatal24 | |
parent | bsps: Avoid use of memcpy() in bsp_fdt_copy() (diff) | |
download | rtems-2145e0c7bf31c681a745eeee57f4e889d7587ecc.tar.bz2 |
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 <sys/lock.h> for the
RTEMS thread model.
Remove the obsolete implementation.
Close #3143.
Diffstat (limited to 'testsuites/sptests/spfatal24')
-rw-r--r-- | testsuites/sptests/spfatal24/init.c | 31 | ||||
-rw-r--r-- | testsuites/sptests/spfatal24/spfatal24.doc | 19 | ||||
-rw-r--r-- | testsuites/sptests/spfatal24/spfatal24.scn | 3 |
3 files changed, 0 insertions, 53 deletions
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 <rtems/gxx_wrappers.h> -#include <rtems/malloc.h> - -#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 *** |