summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-07-11 03:47:56 +0000
committerEric Andersen <andersen@codepoet.org>2001-07-11 03:47:56 +0000
commitbcbf416f712a2219d7d1ace67330d3dac0040587 (patch)
tree901cdda3e1b26e287f4e8138dcafe3bab72197cd /include
parentba8a597c04d4a110cdd7a65d2e980a6d18d2bb4f (diff)
Seems weak_alias wasn't working as expected...
Diffstat (limited to 'include')
-rw-r--r--include/features.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/features.h b/include/features.h
index af64066d9..7cb723b00 100644
--- a/include/features.h
+++ b/include/features.h
@@ -115,8 +115,7 @@
asm (".section " ".gnu.warning." #symbol "\n\t.previous"); \
static const char __evoke_link_warning_##symbol[] \
__attribute__ ((section (".gnu.warning." #symbol "\n\t#"))) = msg;
-# define weak_alias(name, aliasname) \
- extern __typeof (name) aliasname __attribute__ ((weak, alias (#name)));
+# define weak_alias(name, aliasname) __asm__(".weak aliasname;aliasname = name");
#else
# define link_warning(symbol, msg) \
asm (".stabs \"" msg "\",30,0,0,0\n\t" \