summaryrefslogtreecommitdiffstats
path: root/lib/libc/iconv/Symbol.map
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2013-07-01 08:06:26 +0000
committerpeter <peter@FreeBSD.org>2013-07-01 08:06:26 +0000
commitc77016ccdaf40ab136d3fd9db47a6aad98135ae6 (patch)
tree6ccd193339a06c80e18d73d20490bedc798e225c /lib/libc/iconv/Symbol.map
parent75dee8bb5ae9162b5536e80ab4be44936ed4b65a (diff)
downloadFreeBSD-src-c77016ccdaf40ab136d3fd9db47a6aad98135ae6.zip
FreeBSD-src-c77016ccdaf40ab136d3fd9db47a6aad98135ae6.tar.gz
__weak_alias() doesn't exist on FreeBSD. Use __weak_reference();
Expose iconv functions as weak symbols as well as their internal remapped #define names. This is necessary for autoconf compatability - on Linux it appears that #include <iconv.h> isn't a link time prerequisite for their version that's built into glibc. Initialize the pthread rwlock. Note that upstream has three separate locks. The file-local static lock appears intentional. I'm using this as a ports-compatible compile-time substitute for converters/libiconv on one of my personal machines.
Diffstat (limited to 'lib/libc/iconv/Symbol.map')
-rw-r--r--lib/libc/iconv/Symbol.map10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/libc/iconv/Symbol.map b/lib/libc/iconv/Symbol.map
index 73e0e22..82be46f 100644
--- a/lib/libc/iconv/Symbol.map
+++ b/lib/libc/iconv/Symbol.map
@@ -17,6 +17,16 @@ FBSD_1.2 {
libiconvlist;
};
+FBSD_1.3 {
+ iconv;
+ iconv_open;
+ iconv_close;
+ iconv_open_into;
+ iconv_set_relocation_prefix;
+ iconvctl;
+ iconvlist;
+};
+
FBSDprivate_1.0 {
_citrus_bcs_convert_to_lower;
_citrus_bcs_convert_to_upper;
OpenPOWER on IntegriCloud