• Roberto Vargas's avatar
    Add atexit function to libc · 6c373345
    Roberto Vargas authored
    
    
    We had exit but we didn't have atexit, and we were calling panic and
    tf_printf from exit, which generated a dependency from exit to them.
    Having atexit allows to set a different function pointer in every image.
    
    Change-Id: I95b9556d680d96249ed3b14da159b6f417da7661
    Signed-off-by: default avatarRoberto Vargas <roberto.vargas@arm.com>
    6c373345
exit.c 343 Bytes