summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVivek Das Mohapatra <vivek@collabora.co.uk>2017-07-17 15:19:56 (GMT)
committerVivek Das Mohapatra <vivek@collabora.co.uk>2017-07-17 15:19:56 (GMT)
commitf98aeb3baf975115a805fa952181113ca19470b9 (patch)
tree945e707a40be8a960573974c12bee44eeb565d6e
parent3d6d3d3d501b912d6effb8d7831da124d7681299 (diff)
downloadlibcapsule-f98aeb3baf975115a805fa952181113ca19470b9.tar.gz
libcapsule-f98aeb3baf975115a805fa952181113ca19470b9.tar.xz
Move the shim header file for proxy libraries into ./data
-rw-r--r--data/capsule-shim.h (renamed from capsule-shim.h)8
1 files changed, 3 insertions, 5 deletions
diff --git a/capsule-shim.h b/data/capsule-shim.h
index a7753e8..3283f55 100644
--- a/capsule-shim.h
+++ b/data/capsule-shim.h
@@ -22,7 +22,7 @@
#include <fcntl.h>
#include <stdio.h>
-#include <capsule/capsule.h>
+#include <capsule.h>
#define UNVERSIONED_STUB(name) \
void name (void) { fprintf(stderr, "! SHIM " #name " called\n" ); return; }
@@ -30,9 +30,7 @@
#define VERSIONED_STUB(name,version) \
UNVERSIONED_STUB(name);
-// we used to do the linking here but that actually gets messy
-// since you need the link map anyway to declare the version nodes
-// and it turns out you have to make an extra _name symbol to do
-// versioned symbols via __asm__ directives
+// We don't support versioned symbols properly yet, they need som
+// asm magic that looks like this and I'm not clear on the details:
// __asm__(".symver _" #name "," #name #version)