diff options
author | midipix <writeonce@midipix.org> | 2015-06-05 02:20:20 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2015-07-18 20:10:16 -0400 |
commit | d0625dc2ccd0f720b225e1f50b618845b5ca9b4b (patch) | |
tree | 816c55e9b36efebfbf053b0c336427cbeaa67e88 /src | |
parent | 4bebc3927ad41d6464894695aee8b6e11c706fb9 (diff) | |
download | mmglue-d0625dc2ccd0f720b225e1f50b618845b5ca9b4b.tar.bz2 mmglue-d0625dc2ccd0f720b225e1f50b618845b5ca9b4b.tar.xz |
weak symbols: remove the previously used workaround, as it is no
longer needed. This change follows corresponding work on, as well
as patches to binutils and cbb-gcc.
Diffstat (limited to 'src')
-rw-r--r-- | src/env/nt64/__environ.s | 11 | ||||
-rw-r--r-- | src/internal/nt32/libc.c | 7 | ||||
-rw-r--r-- | src/internal/nt64/libc.c | 7 | ||||
-rw-r--r-- | src/stdio/nt32/fflush.c | 6 | ||||
-rw-r--r-- | src/stdio/nt64/fflush.c | 6 |
5 files changed, 0 insertions, 37 deletions
diff --git a/src/env/nt64/__environ.s b/src/env/nt64/__environ.s deleted file mode 100644 index 28ac875..0000000 --- a/src/env/nt64/__environ.s +++ /dev/null @@ -1,11 +0,0 @@ -.globl ___environ -.globl __environ -.globl _environ -.globl environ - -.data -___environ: -__environ: -_environ: -environ: - .quad 0 diff --git a/src/internal/nt32/libc.c b/src/internal/nt32/libc.c deleted file mode 100644 index 43face8..0000000 --- a/src/internal/nt32/libc.c +++ /dev/null @@ -1,7 +0,0 @@ -#include "../libc.h" - -/* todo: teach the linker to export weak symbols */ -#undef weak_alias -#define weak_alias(old,new) extern __typeof(old) new __attribute__((alias(#old))) - -#include "../libc.c" diff --git a/src/internal/nt64/libc.c b/src/internal/nt64/libc.c deleted file mode 100644 index 43face8..0000000 --- a/src/internal/nt64/libc.c +++ /dev/null @@ -1,7 +0,0 @@ -#include "../libc.h" - -/* todo: teach the linker to export weak symbols */ -#undef weak_alias -#define weak_alias(old,new) extern __typeof(old) new __attribute__((alias(#old))) - -#include "../libc.c" diff --git a/src/stdio/nt32/fflush.c b/src/stdio/nt32/fflush.c deleted file mode 100644 index 4c88f20..0000000 --- a/src/stdio/nt32/fflush.c +++ /dev/null @@ -1,6 +0,0 @@ -#include "../fflush.c" - -int __fflush_unlocked_impl(FILE *f) -{ - return __fflush_unlocked(f); -} diff --git a/src/stdio/nt64/fflush.c b/src/stdio/nt64/fflush.c deleted file mode 100644 index 4c88f20..0000000 --- a/src/stdio/nt64/fflush.c +++ /dev/null @@ -1,6 +0,0 @@ -#include "../fflush.c" - -int __fflush_unlocked_impl(FILE *f) -{ - return __fflush_unlocked(f); -} |