Return to dietuglyweaks.h CVS log | Up to [DVB] / dietlibc |
version 1.7, 2014/03/15 12:22:19 | version 1.8, 2014/04/04 11:25:37 |
---|---|
Line 4 | Line 4 |
/* if you change something here ... KNOW what you're doing ! | /* if you change something here ... KNOW what you're doing ! |
* it'll effect ALL platforms ! */ | * it'll effect ALL platforms ! */ |
#ifdef __clang__ | |
.macro DEF_G name | .macro DEF_G name |
.global \name | .global \name |
.type \name,@function | .type \name,@function |
Line 14 | Line 15 |
.type \name,@function | .type \name,@function |
\name: | \name: |
.endm | .endm |
#else | |
.macro DEF_G name | |
.global \name | |
.type \name,function | |
\name: | |
.endm | |
.macro DEF_W name | |
.weak \name | |
.type \name,function | |
\name: | |
.endm | |
#endif | |
DEF_W __fflush_stderr | DEF_W __fflush_stderr |
DEF_W __fflush_stdin | DEF_W __fflush_stdin |