091b8336ae
FreeBSD systems usually implemented this as a third party module and our implementation hasn't played as nicely with the old way as it could have. To that end: * Rename the iconv* symbols in libc.so.7 to have a __bsd_ prefix. * Provide .symver compatability with existing 10.x+ binaries that referenced the iconv symbols. All existing binaries should work. * Like on Linux/glibc systems, add a libc_nonshared.a to the ldscript at /usr/lib/libc.so. * Move the "iconv*" wrapper symbols to libc_nonshared.a This should solve the runtime ambiguity about which symbols resolve to where. If you compile against the iconv in libc, your runtime dependencies will be unambiguous. Old 9.x libraries and binaries will always resolve against their libiconv.so.3 like they did on 9.x. They won't resolve against libc. Old 10.x binaries will be satisified by the .symver helpers. This should allow ports to selectively compile against the libiconv port if needed and it should behave without ambiguity now. Discussed with: kib
105 lines
2.5 KiB
Plaintext
105 lines
2.5 KiB
Plaintext
/*
|
|
* $FreeBSD$
|
|
*/
|
|
|
|
FBSD_1.3 {
|
|
__bsd___iconv;
|
|
__bsd___iconv_free_list;
|
|
__bsd___iconv_get_list;
|
|
__bsd_iconv;
|
|
__bsd_iconv_canonicalize;
|
|
__bsd_iconv_close;
|
|
__bsd_iconv_open;
|
|
__bsd_iconv_open_into;
|
|
__bsd_iconv_set_relocation_prefix;
|
|
__bsd_iconvctl;
|
|
__bsd_iconvlist;
|
|
};
|
|
|
|
FBSDprivate_1.0 {
|
|
_citrus_bcs_convert_to_lower;
|
|
_citrus_bcs_convert_to_upper;
|
|
_citrus_bcs_isalnum;
|
|
_citrus_bcs_isalpha;
|
|
_citrus_bcs_isblank;
|
|
_citrus_bcs_isdigit;
|
|
_citrus_bcs_iseol;
|
|
_citrus_bcs_islower;
|
|
_citrus_bcs_isspace;
|
|
_citrus_bcs_isupper;
|
|
_citrus_bcs_isxdigit;
|
|
_citrus_bcs_skip_nonws;
|
|
_citrus_bcs_skip_nonws_len;
|
|
_citrus_bcs_skip_ws;
|
|
_citrus_bcs_skip_ws_len;
|
|
_citrus_bcs_strcasecmp;
|
|
_citrus_bcs_strncasecmp;
|
|
_citrus_bcs_strtol;
|
|
_citrus_bcs_strtoul;
|
|
_citrus_bcs_tolower;
|
|
_citrus_bcs_toupper;
|
|
_citrus_bcs_trunc_rws_len;
|
|
_citrus_bcs_trunc_ws_len;
|
|
_citrus_csmapper_open;
|
|
_citrus_csmapper_close;
|
|
_citrus_db_factory_add_by_string;
|
|
_citrus_db_factory_add_string_by_string;
|
|
_citrus_db_factory_add32_by_string;
|
|
_citrus_db_factory_calc_size;
|
|
_citrus_db_factory_create;
|
|
_citrus_db_factory_serialize;
|
|
_citrus_db_hash_std;
|
|
_citrus_db_close;
|
|
_citrus_db_get_entry;
|
|
_citrus_db_get_number_of_entries;
|
|
_citrus_db_lookup;
|
|
_citrus_db_lookup_by_string;
|
|
_citrus_db_lookup8_by_string;
|
|
_citrus_db_lookup16_by_string;
|
|
_citrus_db_lookup_string_by_string;
|
|
_citrus_db_open;
|
|
_citrus_esdb_close;
|
|
_citrus_esdb_open;
|
|
_citrus_lookup_factory_convert;
|
|
_citrus_map_file;
|
|
_citrus_mapper_close;
|
|
_citrus_mapper_convert;
|
|
_citrus_mapper_create_area;
|
|
_citrus_mapper_get_dst_max;
|
|
_citrus_mapper_get_src_max;
|
|
_citrus_mapper_get_state_size;
|
|
_citrus_mapper_init_state;
|
|
_citrus_mapper_open;
|
|
_citrus_mapper_open_direct;
|
|
_citrus_mapper_set_persistent;
|
|
_citrus_memory_stream_bind;
|
|
_citrus_memory_stream_chr;
|
|
_citrus_memory_stream_getc;
|
|
_citrus_memory_stream_getln;
|
|
_citrus_memory_stream_getln_region;
|
|
_citrus_memory_stream_getregion;
|
|
_citrus_memory_stream_iseof;
|
|
_citrus_memory_stream_matchline;
|
|
_citrus_memory_stream_peek;
|
|
_citrus_memory_stream_remainder;
|
|
_citrus_memory_stream_rewind;
|
|
_citrus_memory_stream_seek;
|
|
_citrus_memory_stream_skip_ws;
|
|
_citrus_memory_stream_tell;
|
|
_citrus_memory_stream_ungetc;
|
|
_citrus_pivot_factory_convert;
|
|
_citrus_prop_object_init;
|
|
_citrus_prop_object_uninit;
|
|
_citrus_prop_parse_variable;
|
|
_citrus_prop_read_bool;
|
|
_citrus_prop_read_character;
|
|
_citrus_prop_read_character_common;
|
|
_citrus_prop_read_element;
|
|
_citrus_prop_read_num;
|
|
_citrus_prop_read_str;
|
|
_citrus_prop_read_symbol;
|
|
_citrus_stdenc_close;
|
|
_citrus_stdenc_open;
|
|
_citrus_unmap_file;
|
|
};
|