Ignore:
Timestamp:
Feb 6, 2014, 12:37:29 PM (12 years ago)
Author:
Yuri Dario
Message:

Mark CRT_INIT/EXIT functions as used to try convince GCC to keep them.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/libc-0.6/src/emx/include/emx/startup.h

    r2295 r3805  
    5050
    5151#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
    5258
    5359extern char ** _org_environ;
Note: See TracChangeset for help on using the changeset viewer.