Add atexit function to libc
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: Roberto Vargas <roberto.vargas@arm.com>
1 parent ea7a57a commit 6c3733456706809d5c9fb78a9746bf2fa484fb91
@Roberto Vargas Roberto Vargas authored on 24 May 2018
Showing 3 changed files
View
bl2u/bl2u_main.c
View
drivers/auth/mbedtls/mbedtls_common.c
View
lib/libc/exit.c