summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/gxx_wrappers.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-01-27Remove obsolete rtems_gxx_*() implementationSebastian Huber1-261/+0
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.
2020-04-16Canonicalize config.h includeSebastian Huber1-1/+1
Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
2017-10-05posix: Optimize pthread_once_tSebastian Huber1-1/+1
Reduce size of pthread_once_t and make it zero-initialized. Update #3142.
2016-12-12score: Introduce _Internal_error()Sebastian Huber1-2/+2
2016-12-09score: Remove fatal is internal indicatorSebastian Huber1-10/+2
The fatal is internal indicator is redundant since the fatal source and error code uniquely identify a fatal error. Keep the fatal user extension is internal parameter for backward compatibility and set it to false always. Update #2825.
2014-03-24libcsupport: Use POSIX keys for GXX key functionsChristian Mauderer1-60/+52
With this patch C++ applications now eventually need additional POSIX-keys and POSIX-key-value-pairs configured.
2014-03-24libcsupport: Remove unused gxx-wrapper function.Christian Mauderer1-10/+0
The rtems_gxx_key_dtor function is not longer used by gcc.
2014-03-21score: Unify pthread and gxx_wrapper once and move to score.Christian Mauderer1-13/+2
2014-02-21score: Rename _Internal_error_Occurred()Sebastian Huber1-2/+2
Rename _Internal_error_Occurred() into _Terminate().
2012-12-13libcsupport: Doxygen enhancement task #9Alex Ivanov1-2/+7
2012-05-11Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill1-2/+0
Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
2010-11-162010-11-16 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-0/+2
PR 1717/cpukit * libcsupport/src/gxx_wrappers.c: Free memory on error.
2010-08-232010-08-23 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber1-21/+12
PR 1671/cpukit * libcsupport/include/rtems/gxx_wrappers.h: New file. * libcsupport/Makefile.am, libcsupport/preinstall.am: Reflect change above. * libcsupport/src/gxx_wrappers.c: Include <rtems/gxx_wrappers.h>. Use _Internal_error_Occurred() instead of rtems_panic(). * score/include/rtems/score/interr.h: Added INTERNAL_ERROR_GXX_KEY_ADD_FAILED and INTERNAL_ERROR_GXX_MUTEX_INIT_FAILED.
2010-07-252010-07-25 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-1/+2
* libcsupport/src/gxx_wrappers.c: Free contents of key not key itself. Kye pointer will never be malloc'ed.
2010-07-012010-07-01 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-120/+157
* libcsupport/src/getegid.c, libcsupport/src/gxx_wrappers.c, libcsupport/src/issetugid.c: Formatting and spacing.
2010-06-282010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-1/+1
* libcsupport/src/__brk.c, libcsupport/src/__gettod.c, libcsupport/src/__times.c, libcsupport/src/fchdir.c, libcsupport/src/ftrylockfile.c, libcsupport/src/getpwent.c, libcsupport/src/gxx_wrappers.c, libcsupport/src/libio_sockets.c, libcsupport/src/pipe.c: Use rtems_set_errno_and_return_minus_one() where it was missed before.
2009-01-292009-01-29 Eric Norum <norume@aps.anl.gov>Joel Sherrill1-9/+10
PR 1364/cpukit * libcsupport/src/gxx_wrappers.c: Fix compilation problems when diagnostics enabled.
2009-01-052009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-4/+5
* libcsupport/src/gxx_wrappers.c, posix/include/mqueue.h, posix/include/rtems/posix/semaphore.h, posix/inline/rtems/posix/barrier.inl, posix/inline/rtems/posix/key.inl, posix/inline/rtems/posix/mqueue.inl, posix/inline/rtems/posix/rwlock.inl, posix/inline/rtems/posix/semaphore.inl, posix/inline/rtems/posix/spinlock.inl, posix/inline/rtems/posix/timer.inl, posix/src/condget.c, posix/src/mqueuenametoid.c, posix/src/mutexget.c, posix/src/semaphorenametoid.c, posix/src/semopen.c, sapi/src/itronapi.c, sapi/src/posixapi.c: Make changes necessary for all tests to run on SPARC with 16-bit Ids. This required ensuring that all POSIX and compilering binding code makes a distinction between the public Id type (e.g. pthread_t, etc.) and the RTEMS Object_Id type. All POSIX Object Get routines should not take the POSIX Id type as the argument. Sixteen bit RTEMS Ids should be placed into the 32-bits reserved by the POSIX API type in a uniform manner now. This removed all assumptions that the external Id types in POSIX and ITRON are the same as the internal Object Id type.
2008-03-052008-03-04 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-0/+9
* libcsupport/src/gxx_wrappers.c: Add rtems_gxx_mutex_destroy as needed by gcc newer than the 4.3 release series.
2007-09-252007-09-25 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-4/+4
* libcsupport/src/gxx_wrappers.c: Revert.
2007-09-252007-09-25 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-4/+4
* libcsupport/src/gxx_wrappers.c, libmisc/monitor/mon-mpci.c: Use PRId32 to fix warning.
2007-02-062007-02-06 Till Straumann <strauman@slac.stanford.edu>Till Straumann1-13/+22
* libcsupport/src/gxx_wrappers.c: fix PR#690. Supply taskvar dtor to plug memory leak. Applied patch attached to PR#690.
2005-08-022005-08-02 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius1-1/+1
PR 817/rtems * libcsupport/src/gxx_wrappers.c: Rename rtems_gxx_recursive_mutex_init_function to rtems_gxx_recursive_mutex_init.
2005-01-14Fix typos.Ralf Corsepius1-2/+2
2005-01-132005-01-13 Joel Sherrill <joel@oarcorp.com>Ralf Corsepius1-1/+28
Ralf Corsepius <ralf.corsepius@rtems.org> * libcsupport/src/gxx_wrapper.c: Reflect GCC-4.0's gthr-rtems.h.
2004-04-18Remove stray white spaces.Ralf Corsepius1-6/+6
2004-04-15Remove stray white spaces.Ralf Corsepius1-1/+0
2002-04-262001-04-26 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-1/+1
* libc/gxx_wrappers.c: Fix to keep prototype same as in gcc and remove warning.
2002-03-012002-03-01 Eric Norum <eric.norum@usask.ca>Joel Sherrill1-10/+9
* libc/gxx_wrappers.c: Task is not preemptable while running a pthread_once init function. This is slightly less heavy handed than disabling dispatching and seems better than consuming a mutex.
2002-01-082002-02-07 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-0/+1
* libc/gxx_wrappers.c: Add #include <rtems/error.h>.
2001-09-212001-09-14 Eric Norum <eric.norum@usask.ca>Joel Sherrill1-7/+2
* libc/gxx_wrappers.c: Modifications to make gcc 3.x happy.
2001-01-082001-01-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-0/+4
* configure.in: Add libc/config.h * libc/Makefile.am: Add INCLUDES += -I. to pickup config.h * libc/.cvsignore: Add config.h and stamp-h * libc/*.c: Add config.h support.
2000-06-12Merged from 4.5.0-beta3aJoel Sherrill1-0/+219
2000-05-08New file added on 4.5 branchJoel Sherrill1-0/+0
2000-04-28New files added on 4.5 branch.Joel Sherrill1-0/+0
1999-11-17New shell of a test for ITRON Mailbox Manager.Joel Sherrill1-0/+0
1999-11-10Combination of committing some new files which had been overlookedJoel Sherrill1-0/+0
and adding code which installed screens for itron tests.