e8eac9614d
Memory layout is now split into two linker scripts for OTA vs non-OTA (different starting offsets), remaining functionality in common.ld. As discussed in #64, progress towards #38
74 lines
2.5 KiB
Text
74 lines
2.5 KiB
Text
/* Linker script containing Boot ROM functions for ESP8266
|
|
|
|
For more information, see:
|
|
|
|
http://esp8266-re.foogod.com/wiki/Boot_ROM
|
|
https://github.com/jcmvbkbc/esp-elf-rom/
|
|
*/
|
|
|
|
PROVIDE ( SPI_sector_erase = 0x400040c0 );
|
|
PROVIDE ( SPI_page_program = 0x40004174 );
|
|
PROVIDE ( SPI_read_data = 0x400042ac );
|
|
PROVIDE ( SPI_read_status = 0x400043c8 );
|
|
PROVIDE ( SPI_write_status = 0x40004400 );
|
|
PROVIDE ( SPI_write_enable = 0x4000443c );
|
|
PROVIDE ( Wait_SPI_Idle = 0x4000448c );
|
|
PROVIDE ( Enable_QMode = 0x400044c0 );
|
|
PROVIDE ( Disable_QMode = 0x40004508 );
|
|
|
|
/* When using OTA, Cache_Read_Enable is defined in extras/rboot-ota so
|
|
the ROM Cache_Read_Enable isn't picked up from here. However we
|
|
also provide access to the ROM function in all cases, via the name
|
|
rom_Cache_Read_Enable */
|
|
PROVIDE ( rom_Cache_Read_Enable = 0x40004678 );
|
|
PROVIDE ( Cache_Read_Enable = rom_Cache_Read_Enable );
|
|
|
|
PROVIDE ( Cache_Read_Disable = 0x400047f0 );
|
|
|
|
PROVIDE ( lldesc_build_chain = 0x40004f40 );
|
|
PROVIDE ( lldesc_num2link = 0x40005050 );
|
|
PROVIDE ( lldesc_set_owner = 0x4000507c );
|
|
|
|
/* TODO: Nearly everything below here is probably provided by the
|
|
libc, so never linked in, and can therefore be removed. */
|
|
|
|
PROVIDE ( __adddf3 = 0x4000c538 );
|
|
PROVIDE ( __addsf3 = 0x4000c180 );
|
|
PROVIDE ( __divdf3 = 0x4000cb94 );
|
|
PROVIDE ( __divdi3 = 0x4000ce60 );
|
|
PROVIDE ( __divsi3 = 0x4000dc88 );
|
|
PROVIDE ( __extendsfdf2 = 0x4000cdfc );
|
|
PROVIDE ( __fixdfsi = 0x4000ccb8 );
|
|
PROVIDE ( __fixunsdfsi = 0x4000cd00 );
|
|
PROVIDE ( __fixunssfsi = 0x4000c4c4 );
|
|
PROVIDE ( __floatsidf = 0x4000e2f0 );
|
|
PROVIDE ( __floatsisf = 0x4000e2ac );
|
|
PROVIDE ( __floatunsidf = 0x4000e2e8 );
|
|
PROVIDE ( __floatunsisf = 0x4000e2a4 );
|
|
PROVIDE ( __muldf3 = 0x4000c8f0 );
|
|
PROVIDE ( __muldi3 = 0x40000650 );
|
|
PROVIDE ( __mulsf3 = 0x4000c3dc );
|
|
PROVIDE ( __subdf3 = 0x4000c688 );
|
|
PROVIDE ( __subsf3 = 0x4000c268 );
|
|
PROVIDE ( __truncdfsf2 = 0x4000cd5c );
|
|
PROVIDE ( __udivdi3 = 0x4000d310 );
|
|
PROVIDE ( __udivsi3 = 0x4000e21c );
|
|
PROVIDE ( __umoddi3 = 0x4000d770 );
|
|
PROVIDE ( __umodsi3 = 0x4000e268 );
|
|
PROVIDE ( __umulsidi3 = 0x4000dcf0 );
|
|
|
|
PROVIDE ( bzero = 0x40002ae8 );
|
|
PROVIDE ( memcmp = 0x400018d4 );
|
|
PROVIDE ( memcpy = 0x400018b4 );
|
|
PROVIDE ( memmove = 0x400018c4 );
|
|
PROVIDE ( memset = 0x400018a4 );
|
|
|
|
PROVIDE ( strcmp = 0x40002aa8 );
|
|
PROVIDE ( strcpy = 0x40002a88 );
|
|
PROVIDE ( strlen = 0x40002ac8 );
|
|
PROVIDE ( strncmp = 0x40002ab8 );
|
|
PROVIDE ( strncpy = 0x40002a98 );
|
|
PROVIDE ( strstr = 0x40002ad8 );
|
|
|
|
PROVIDE ( ETS_INTR_LOCK = 0x40000f74 );
|
|
PROVIDE ( ETS_INTR_UNLOCK = 0x40000f80 );
|