Changeset 3805 for branches/libc-0.6
- Timestamp:
- Feb 6, 2014, 12:37:29 PM (12 years ago)
- Location:
- branches/libc-0.6/src/emx
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/libc-0.6/src/emx/include/emx/startup.h
r2295 r3805 50 50 51 51 #define _CRT_EXIT1(fun) __asm__ (".stabs \"___crtexit1__\", 23, 0, 0, _" #fun); 52 53 #if __GNUC_PREREQ__(4,2) 54 # define CRT_DATA_USED __attribute__((__used__)) 55 #else 56 # define CRT_DATA_USED 57 #endif 52 58 53 59 extern char ** _org_environ; -
branches/libc-0.6/src/emx/src/lib/app/stdio.c
r2548 r3805 53 53 * _CRT_init() via the __crtinit1__ set vector. 54 54 */ 55 CRT_DATA_USED 55 56 void _init_streams(void); 57 CRT_DATA_USED 56 58 void _init_streams(void) 57 59 { … … 147 149 print something. (ISO 9899-1990 lets this undefined.) */ 148 150 151 CRT_DATA_USED 149 152 void _exit_streams(void); 153 CRT_DATA_USED 150 154 void _exit_streams(void) 151 155 { -
branches/libc-0.6/src/emx/src/lib/io/_tmp.c
r1454 r3805 26 26 /** Initialize the semaphore -- this function will be called by 27 27 _CRT_init() via the __crtinit1__ set vector. */ 28 CRT_DATA_USED 28 29 static void _init1_tmp(void) 29 30 { -
branches/libc-0.6/src/emx/src/lib/sys/DosEx.c
r2260 r3805 172 172 * Initialize the semaphore. 173 173 */ 174 CRT_DATA_USED 174 175 void dosexInit(void) 175 176 { -
branches/libc-0.6/src/emx/src/lib/sys/b_processWait.c
r3775 r3805 163 163 * wait facilities. 164 164 */ 165 CRT_DATA_USED 165 166 static void waitInit(void) 166 167 { … … 192 193 * the _CRT_EXIT1() stuff isn't good enough alone. 193 194 */ 195 CRT_DATA_USED 194 196 void __libc_back_processWaitNotifyTerm(void) 195 197 { -
branches/libc-0.6/src/emx/src/lib/sys/libcfork.c
r3795 r3805 44 44 #include <setjmp.h> 45 45 #include <emx/syscalls.h> 46 #include <emx/startup.h> 46 47 #include <386/builtin.h> 47 48 #include <sys/fmutex.h> … … 196 197 */ 197 198 /* sequential */ 199 CRT_DATA_USED 198 200 static int forkParDo(void *pvForkRet, void *pvStackRet, __LIBC_PFORKXCPTREGREC pXcptRegRec); 199 201 static int forkParCanFork(__LIBC_PFORKMODULE pModules); … … 1525 1527 * This worker is called on after relocating the stack. 1526 1528 */ 1529 CRT_DATA_USED 1527 1530 int forkChlDoFork2(__LIBC_PFORKHANDLE pForkHandle) 1528 1531 { -
branches/libc-0.6/src/emx/src/lib/sys/sharedpm.c
r3795 r3805 2087 2087 * process structure very early in the LIBC init process. 2088 2088 */ 2089 CRT_DATA_USED 2089 2090 static void spmCrtInit1(void) 2090 2091 { -
branches/libc-0.6/src/emx/src/lib/sys/timebomb.c
r1661 r3805 36 36 #endif 37 37 38 CRT_DATA_USED 38 39 void __libc_Timebomb(void) 39 40 {
Note:
See TracChangeset
for help on using the changeset viewer.