summaryrefslogtreecommitdiff
path: root/src/fcserialize.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@neko.keithp.com>2006-09-05 02:24:01 -0700
committerKeith Packard <keithp@neko.keithp.com>2006-09-05 02:24:01 -0700
commit23816bf9acbd6cc5dd942daaba3cc084ea70d99d (patch)
tree8a3eaada0d114322b26e2def7ba8d2809bccc7d8 /src/fcserialize.c
parent323ecd0cd3b8eeb50c4af87d57f2ea7b19f37215 (diff)
downloadfontconfig-23816bf9acbd6cc5dd942daaba3cc084ea70d99d.tar.gz
Eliminate .so PLT entries for local symbols. (thanks to Arjan van de Ven)
Using a simple shell script that processes the public headers, two header files are constructed that map public symbols to hidden internal aliases avoiding the assocated PLT entry for referring to a public symbol. A few mistakes in the FcPrivate/FcPublic annotations were also discovered through this process
Diffstat (limited to 'src/fcserialize.c')
-rw-r--r--src/fcserialize.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fcserialize.c b/src/fcserialize.c
index d0d35e3..a66d388 100644
--- a/src/fcserialize.c
+++ b/src/fcserialize.c
@@ -159,3 +159,6 @@ FcStrSerialize (FcSerialize *serialize, const FcChar8 *str)
strcpy ((char *) str_serialize, (const char *) str);
return str_serialize;
}
+#define __fcserialize__
+#include "fcaliastail.h"
+#undef __fcserialize__