From d0625dc2ccd0f720b225e1f50b618845b5ca9b4b Mon Sep 17 00:00:00 2001 From: midipix Date: Fri, 5 Jun 2015 02:20:20 -0400 Subject: 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. --- src/internal/nt32/libc.c | 7 ------- src/internal/nt64/libc.c | 7 ------- 2 files changed, 14 deletions(-) delete mode 100644 src/internal/nt32/libc.c delete mode 100644 src/internal/nt64/libc.c (limited to 'src/internal') 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" -- cgit v1.2.3