about summary refs log tree commit diff
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
parentb4c98dc445c6c09b00f01f6f098cf12009e12330 (diff)
downloadglibc-1a1fa20034f6d454f8d23e382367def86d92614c.tar.gz
glibc-1a1fa20034f6d454f8d23e382367def86d92614c.tar.xz
glibc-1a1fa20034f6d454f8d23e382367def86d92614c.zip
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.
-rw-r--r--ChangeLog5
-rw-r--r--iconvdata/Makefile6
-rw-r--r--iconvdata/gconv.map7
3 files changed, 16 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 56840096ca..0b0101ad75 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2002-12-12  Ulrich Drepper  <drepper@redhat.com>
 
+	* 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.
+
 	* elf/Makefile: Also check all iconv modules for text relocations.
 
 	* stdlib/Makefile: Remove code to automatically import GMP.
diff --git a/iconvdata/Makefile b/iconvdata/Makefile
index 0978a105e9..9584d4d5ed 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 0000000000..4274073af7
--- /dev/null
+++ b/iconvdata/gconv.map
@@ -0,0 +1,7 @@
+{
+global:
+  gconv;
+  gconv_init;
+local:
+  *;
+};