diff options
author | Rich Felker <dalias@aerifal.cx> | 2016-01-22 00:02:21 +0000 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2016-01-22 00:02:21 +0000 |
commit | e617b9eea9d45b170eabadf5ca96ca0536c538be (patch) | |
tree | a06d433fd4219466e4b27f248e332f9e0482dd5d /src/exit | |
parent | 397f0a6a7d798b0e3f636fe053cad9c483e011fb (diff) | |
download | musl-e617b9eea9d45b170eabadf5ca96ca0536c538be.zip musl-e617b9eea9d45b170eabadf5ca96ca0536c538be.tar.gz musl-e617b9eea9d45b170eabadf5ca96ca0536c538be.tar.bz2 |
move arm-specific translation units out of arch/arm/src, to src/*/arm
this is possible with the new build system that allows src/*/$(ARCH)/*
files which do not shadow a file in the parent directory, and yields a
more logical organization. eventually it will be possible to remove
arch/*/src from the build system.
Diffstat (limited to 'src/exit')
-rw-r--r-- | src/exit/arm/__aeabi_atexit.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/exit/arm/__aeabi_atexit.c b/src/exit/arm/__aeabi_atexit.c new file mode 100644 index 0000000..ce16101 --- /dev/null +++ b/src/exit/arm/__aeabi_atexit.c @@ -0,0 +1,6 @@ +int __cxa_atexit(void (*func)(void *), void *arg, void *dso); + +int __aeabi_atexit (void *obj, void (*func) (void *), void *d) +{ + return __cxa_atexit (func, obj, d); +} |