embeddedartistry / libc

libc targeted for embedded systems usage. Reduced set of functionality (due to embedded nature). Chosen for portability and quick bringup.
MIT License
504 stars 67 forks source link

CRT fixes #148

Closed Vestrel closed 4 years ago

Vestrel commented 4 years ago

Fixes to CRT

Description

Fixed a bug in libc_fini_array, which prevented the first element from being called. Added attribute 'weak' to stack_chk_guard in order to enable possibility of external implementation. Added missing function to test app (otherwise it doesn't compile).

Type of change

Please delete options that are not relevant.

How Has This Been Tested?