commit | 4a6e71100e9c99b90b517be5a8e1c21616772d16 | [log] [tgz] |
---|---|---|
author | Dan Albert <danalbert@google.com> | Wed Sep 24 17:27:37 2014 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed Sep 24 17:27:38 2014 +0000 |
tree | a9e10b6e1b19ad9746e59ee8132d62ee35733b1e | |
parent | fc5a93f7a2ea2be740f2c909e8a6a192fa65adc8 [diff] | |
parent | 9a05e3818ada1304a33d66d53c270b532c9111b8 [diff] |
Merge "Add a dummy atexit(3) to the linker."
diff --git a/linker/linker_libc_support.c b/linker/linker_libc_support.c index 17db6d4..4c49384 100644 --- a/linker/linker_libc_support.c +++ b/linker/linker_libc_support.c
@@ -15,3 +15,7 @@ */ #include "../libc/arch-common/bionic/__dso_handle.h" + +int atexit(void (*function)(void) __attribute__((__unused__))) { + return -1; +}