mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-02 16:11:41 +01:00
newlib: ROM library is build with time_t 64bit on esp32c2
This commit is contained in:
16
components/esp_rom/esp32c2/ld/esp32c2.rom.newlib-time.ld
Normal file
16
components/esp_rom/esp32c2/ld/esp32c2.rom.newlib-time.ld
Normal file
@@ -0,0 +1,16 @@
|
||||
/*
|
||||
* 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 );
|
||||
@@ -30,7 +30,6 @@ strncmp = 0x400004a4;
|
||||
strlen = 0x400004a8;
|
||||
strstr = 0x400004ac;
|
||||
bzero = 0x400004b0;
|
||||
_isatty_r = 0x400004b4;
|
||||
sbrk = 0x400004b8;
|
||||
isalnum = 0x400004bc;
|
||||
isalpha = 0x400004c0;
|
||||
@@ -89,11 +88,8 @@ 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;
|
||||
@@ -127,8 +123,6 @@ __ratio = 0x40000628;
|
||||
_mprec_log10 = 0x4000062c;
|
||||
__copybits = 0x40000630;
|
||||
__any_on = 0x40000634;
|
||||
asctime = 0x40000638;
|
||||
asctime_r = 0x4000063c;
|
||||
atof = 0x40000640;
|
||||
atoff = 0x40000644;
|
||||
_dtoa_r = 0x40000648;
|
||||
|
||||
Reference in New Issue
Block a user