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/init.c | |
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/init.c')
-rw-r--r-- | testsuites/sptests/spfatal24/init.c | 31 |
1 files changed, 0 insertions, 31 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" |