summaryrefslogtreecommitdiffstats
path: root/userspace/Makefile
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2010-08-09 20:05:22 +0200
committerMiloslav Trmač <mitr@redhat.com>2010-08-23 20:02:00 +0200
commit7687d57b337a16e82d0e70725a83c0e612d16f93 (patch)
tree85624a4b40d50d3eba7a9ca4b26b5f567c4ef334 /userspace/Makefile
parentaac00a3bf423f77344f62d129ef0050fea711756 (diff)
Avoid unnecessary internal relocations
Use __attribute__((visibility("hidden"))) for __ncr_file_descriptor to take advantage of PIC addressing instead of going through the dynamic linker. Add an internal alias for ncr_global_init() for the same reason. Add an internal header file to consolidate the "extern" references in the process.
Diffstat (limited to 'userspace/Makefile')
-rw-r--r--userspace/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/userspace/Makefile b/userspace/Makefile
index 9431327..a2757a4 100644
--- a/userspace/Makefile
+++ b/userspace/Makefile
@@ -17,7 +17,7 @@ libcryptodev.so: ${libobj}
ln -sf libcryptodev.so.0.0 libcryptodev.so.0
ln -sf libcryptodev.so.0.0 libcryptodev.so
-$(libobj): linux/ncr.h
+$(libobj): linux/ncr.h ncrypto_internal.h
linux/ncr.h: ../ncr.h
mkdir -p linux