Extended std.cfg about alloca function and avr.cfg about a few definitions.
This commit is contained in:
parent
11cf4d3215
commit
2255ece5c5
25
cfg/avr.cfg
25
cfg/avr.cfg
|
@ -4,8 +4,6 @@
|
|||
<!-- Integer types capable of holding object pointers -->
|
||||
<podtype name="intptr_t" sign="s" size="2"/>
|
||||
<podtype name="uintptr_t" sign="u" size="2"/>
|
||||
<podtype name="int_farptr_t" sign="s" size="4"/>
|
||||
<podtype name="uint_farptr_t" sign="u" size="4"/>
|
||||
<!-- Minimum-width integer types -->
|
||||
<podtype name="int_least8_t" sign="s" size="1"/>
|
||||
<podtype name="uint_least8_t" sign="u" size="1"/>
|
||||
|
@ -18,4 +16,27 @@
|
|||
<!-- Greatest-width integer types -->
|
||||
<podtype name="intmax_t" sign="s" size="8"/>
|
||||
<podtype name="uintmax_t" sign="u" size="8"/>
|
||||
<!-- ctype.h -->
|
||||
<function name="toascii"> <noreturn>false</noreturn> <leak-ignore/> <arg nr="1"><valid>0:255</valid></arg> </function>
|
||||
<!-- errno.h -->
|
||||
<define name="EDOM" value="33"/>
|
||||
<define name="ERANGE" value="34"/>
|
||||
<!-- inttypes.h -->
|
||||
<podtype name="int_farptr_t" sign="s" size="4"/>
|
||||
<podtype name="uint_farptr_t" sign="u" size="4"/>
|
||||
<!-- FIXME: add macros for printf and scanf format specifiers,e.g. PRId8 -->
|
||||
<!-- math.h -->
|
||||
<define name="M_E" value="2.7182818284590452354"/>
|
||||
<define name="M_LOG2E" value="1.4426950408889634074"/>
|
||||
<define name="M_LOG10E" value="0.43429448190325182765"/>
|
||||
<define name="M_LN2" value="0.69314718055994530942"/>
|
||||
<define name="M_LN10" value="2.30258509299404568402"/>
|
||||
<define name="M_PI" value="3.14159265358979323846"/>
|
||||
<define name="M_PI_2" value="1.57079632679489661923"/>
|
||||
<define name="M_PI_4" value="0.78539816339744830962"/>
|
||||
<define name="M_1_PI" value="0.31830988618379067154"/>
|
||||
<define name="M_2_PI" value="0.63661977236758134308 "/>
|
||||
<define name="M_2_SQRTPI" value="1.12837916709551257390"/>
|
||||
<define name="M_SQRT2" value="1.41421356237309504880"/>
|
||||
<define name="M_SQRT1_2" value="0.70710678118654752440"/>
|
||||
</def>
|
||||
|
|
|
@ -150,6 +150,7 @@
|
|||
<arg nr="2"><not-null/><not-uninit/></arg>
|
||||
</function>
|
||||
<function name="malloc"><noreturn>false</noreturn><arg nr="1"><not-uninit/></arg></function>
|
||||
<function name="alloca"><noreturn>false</noreturn><arg nr="1"><not-uninit/></arg></function>
|
||||
<function name="memchr">
|
||||
<noreturn>false</noreturn>
|
||||
<leak-ignore/>
|
||||
|
|
Loading…
Reference in New Issue