Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/librumpclient Mark rumphijack_dlsym explicitly as weak t...
details: https://anonhg.NetBSD.org/src/rev/5460a8b3a038
branches: trunk
changeset: 771987:5460a8b3a038
user: joerg <joerg%NetBSD.org@localhost>
date: Mon Dec 12 16:53:53 2011 +0000
description:
Mark rumphijack_dlsym explicitly as weak to prevent optimisations based
on pointer (non-)identity of it and rumpclient__dlsym.
diffstat:
lib/librumpclient/rumpclient.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 1a412e04665f -r 5460a8b3a038 lib/librumpclient/rumpclient.c
--- a/lib/librumpclient/rumpclient.c Mon Dec 12 16:39:16 2011 +0000
+++ b/lib/librumpclient/rumpclient.c Mon Dec 12 16:53:53 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rumpclient.c,v 1.46 2011/12/12 15:21:32 joerg Exp $ */
+/* $NetBSD: rumpclient.c,v 1.47 2011/12/12 16:53:53 joerg Exp $ */
/*
* Copyright (c) 2010, 2011 Antti Kantee. All Rights Reserved.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: rumpclient.c,v 1.46 2011/12/12 15:21:32 joerg Exp $");
+__RCSID("$NetBSD: rumpclient.c,v 1.47 2011/12/12 16:53:53 joerg Exp $");
#include <sys/param.h>
#include <sys/event.h>
@@ -733,7 +733,7 @@
}
void *rumpclient__dlsym(void *, const char *);
-void *rumphijack_dlsym(void *, const char *);
+void *rumphijack_dlsym(void *, const char *) __attribute__((__weak__));
void *
rumpclient__dlsym(void *handle, const char *symbol)
{
Home |
Main Index |
Thread Index |
Old Index