Add a dummy atexit(3) to the linker.

This is needed when building the linker against a libc that was built
with coverage information.

Bug: 17553780
Change-Id: If131002e067dd7768fc657c30e62c42a45c05ace
This commit is contained in:
Dan Albert
2014-09-23 10:49:21 -07:00
parent adc01348ee
commit 9a05e3818a

View File

@@ -15,3 +15,7 @@
*/
#include "../libc/arch-common/bionic/__dso_handle.h"
int atexit(void (*function)(void) __attribute__((__unused__))) {
return -1;
}