mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-21 04:35:38 +08:00
2008-10-03 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac: Add m32r. * libcsupport/src/newlibc_exit.c: For some odd reason, the fini symbol for the m32r in C needs an extra leading _.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2008-10-03 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* configure.ac: Add m32r.
|
||||
* libcsupport/src/newlibc_exit.c: For some odd reason, the fini
|
||||
symbol for the m32r in C needs an extra leading _.
|
||||
|
||||
2008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* score/cpu/Makefile.am: Add new M32R port. It is just a beginning but
|
||||
|
||||
@@ -334,6 +334,7 @@ score/cpu/h8300/Makefile
|
||||
score/cpu/i386/Makefile
|
||||
score/cpu/m68k/Makefile
|
||||
score/cpu/m32c/Makefile
|
||||
score/cpu/m32r/Makefile
|
||||
score/cpu/mips/Makefile
|
||||
score/cpu/nios2/Makefile
|
||||
score/cpu/powerpc/Makefile
|
||||
|
||||
@@ -123,7 +123,13 @@ void libc_wrapup(void)
|
||||
#define EXIT_SYMBOL _exit
|
||||
|
||||
#if defined(__USE_INIT_FINI__)
|
||||
extern void _fini( void );
|
||||
#if defined(__m32r__)
|
||||
#define FINI_SYMBOL __fini
|
||||
#else
|
||||
#define FINI_SYMBOL _fini
|
||||
#endif
|
||||
|
||||
extern void FINI_SYMBOL( void );
|
||||
#endif
|
||||
#else
|
||||
#define EXIT_SYMBOL exit
|
||||
@@ -136,7 +142,7 @@ void EXIT_SYMBOL(int status)
|
||||
* run the global destructors now.
|
||||
*/
|
||||
#if defined(__USE_INIT_FINI__)
|
||||
_fini();
|
||||
FINI_SYMBOL();
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user