Merge branch 'bugfix/update_esp_rom_newlib_time_c6_h2' into 'master'

update esp rom newlib-time on c2 c6 and h2

See merge request espressif/esp-idf!22142
This commit is contained in:
Jiang Guang Ming
2023-02-06 15:36:04 +08:00
10 changed files with 15 additions and 775 deletions

View File

@@ -1,16 +0,0 @@
/*
* SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
/* These are the newlib functions and the .bss/.data symbols which are related to 'time_t'
or other structures which include 'time_t' (like 'struct stat').
These ROM functions were compiled with sizeof(time_t) == 8.
When compiling with sizeof(time_t) == 4, these functions should be excluded from the build.
*/
asctime = 0x40000638;
asctime_r = 0x4000063c;
_isatty_r = 0x400004b4;
PROVIDE( __smakebuf_r = 0x400005a0 );
PROVIDE( __swhatbuf_r = 0x400005a4 );
PROVIDE( __swsetup_r = 0x400005b0 );

View File

@@ -30,6 +30,7 @@ strncmp = 0x400004a4;
strlen = 0x400004a8;
strstr = 0x400004ac;
bzero = 0x400004b0;
_isatty_r = 0x400004b4;
sbrk = 0x400004b8;
isalnum = 0x400004bc;
isalpha = 0x400004c0;
@@ -88,8 +89,11 @@ fflush = 0x40000590;
_fflush_r = 0x40000594;
_fwalk = 0x40000598;
_fwalk_reent = 0x4000059c;
__smakebuf_r = 0x400005a0;
__swhatbuf_r = 0x400005a4;
__swbuf_r = 0x400005a8;
__swbuf = 0x400005ac;
__swsetup_r = 0x400005b0;
_strtod_l = 0x400005b4;
_strtod_r = 0x400005b8;
strtod_l = 0x400005bc;
@@ -123,6 +127,8 @@ __ratio = 0x40000628;
_mprec_log10 = 0x4000062c;
__copybits = 0x40000630;
__any_on = 0x40000634;
asctime = 0x40000638;
asctime_r = 0x4000063c;
atof = 0x40000640;
atoff = 0x40000644;
_dtoa_r = 0x40000648;