aboutsummaryrefslogtreecommitdiff
path: root/iconvdata
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-12-13 02:58:24 +0000
committerUlrich Drepper <drepper@redhat.com>2002-12-13 02:58:24 +0000
commit1a1fa20034f6d454f8d23e382367def86d92614c (patch)
tree4be7a02d793fd3f281f02634f4d565fc633153ea /iconvdata
parentb4c98dc445c6c09b00f01f6f098cf12009e12330 (diff)
downloadglibc-1a1fa20034f6d454f8d23e382367def86d92614c.zip
glibc-1a1fa20034f6d454f8d23e382367def86d92614c.tar.gz
glibc-1a1fa20034f6d454f8d23e382367def86d92614c.tar.bz2
Update.
* iconvdata/Makefile: iconv-rules: Add definition to use gconv.map linker map for all iconv modules. (distribute): Add gconv.map. * iconvdata/gconv.map: New file.
Diffstat (limited to 'iconvdata')
-rw-r--r--iconvdata/Makefile6
-rw-r--r--iconvdata/gconv.map7
2 files changed, 11 insertions, 2 deletions
diff --git a/iconvdata/Makefile b/iconvdata/Makefile
index 0978a10..9584d4d 100644
--- a/iconvdata/Makefile
+++ b/iconvdata/Makefile
@@ -110,7 +110,7 @@ LDFLAGS-libCNS.so = $(LDFLAGS-soname-fname)
LDFLAGS-libISOIR165.so = $(LDFLAGS-soname-fname)
LDFLAGS-libJISX0213.so = $(LDFLAGS-soname-fname)
-distribute := gconv-modules extra-module.mk gap.awk gaptab.awk \
+distribute := gconv-modules extra-module.mk gap.awk gaptab.awk gconv.map \
gen-8bit.sh gen-8bit-gap.sh gen-8bit-gap-1.sh \
TESTS $(filter-out testdata/CVS%, $(wildcard testdata/*)) \
TESTS2 run-iconv-test.sh tst-tables.sh tst-table.sh \
@@ -249,8 +249,10 @@ $(objpfx)iconv-rules: Makefile
echo 8bit $(gen-8bit-modules); \
echo 8bit-gap $(gen-8bit-gap-modules); } | \
$(AWK) 'NR == 1 { \
- for (i = 1; i <= NF; i++) \
+ for (i = 1; i <= NF; i++) { \
printf "%s-routines := %s\n", $$i, tolower($$i); \
+ printf "%s-map := gconv.map\n", $$i; \
+ } \
}; \
NR > 1 { \
for (i = 2; i <= NF; i++) { \
diff --git a/iconvdata/gconv.map b/iconvdata/gconv.map
new file mode 100644
index 0000000..4274073
--- /dev/null
+++ b/iconvdata/gconv.map
@@ -0,0 +1,7 @@
+{
+global:
+ gconv;
+ gconv_init;
+local:
+ *;
+};