Update.
authorUlrich Drepper <drepper@redhat.com>
Mon, 18 May 1998 11:43:16 +0000 (11:43 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 18 May 1998 11:43:16 +0000 (11:43 +0000)
1998-05-18 11:38  Ulrich Drepper  <drepper@cygnus.com>

* iconvdata/run-iconv-test.sh: Extend library-path by iconvdata
directory.

1998-05-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* rpm/Makefile: Delete inclusion of version.mk.

1998-05-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* libc.map: Add all libio functions needed libstdc++ with version
2.0, sort entries.

1998-05-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* iconvdata/Makefile (generated): Add *.stmp files.

1998-05-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* timezone/Makefile (testdata, build-testdata): New variables, use
them in rules for test data.
($(objpfx)tst-timezone.out): Depend on test data.
($(testdata)/Europe/Berlin, $(testdata)/Universal,
$(testdata)/Australia/Melbourne, $(testdata)/America/Sao_Paulo):
New rules to build test data.
(tst-timezone-ENV): Pass TZDIR to point to test data.

ChangeLog
iconvdata/Makefile
iconvdata/run-iconv-test.sh
libc.map
rpm/Makefile
timezone/Makefile

index c7f585d..a355f6e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,31 @@
+1998-05-18 11:38  Ulrich Drepper  <drepper@cygnus.com>
+
+       * iconvdata/run-iconv-test.sh: Extend library-path by iconvdata
+       directory.
+
+1998-05-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
+
+       * rpm/Makefile: Delete inclusion of version.mk.
+
+1998-05-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
+
+       * libc.map: Add all libio functions needed libstdc++ with version
+       2.0, sort entries.
+
+1998-05-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
+
+       * iconvdata/Makefile (generated): Add *.stmp files.
+
+1998-05-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
+
+       * timezone/Makefile (testdata, build-testdata): New variables, use
+       them in rules for test data.
+       ($(objpfx)tst-timezone.out): Depend on test data.
+       ($(testdata)/Europe/Berlin, $(testdata)/Universal,
+       $(testdata)/Australia/Melbourne, $(testdata)/America/Sao_Paulo):
+       New rules to build test data.
+       (tst-timezone-ENV): Pass TZDIR to point to test data.
+
 1998-05-18  Ulrich Drepper  <drepper@cygnus.com>
 
        * iconvdata/TESTS: ISO-2022-KR has not really ASCII as a subset
index f438b3d..c29a4b0 100644 (file)
@@ -263,7 +263,9 @@ perl-generated-headers := koi8-r.h latin-greek.h latin-greek-1.h     \
                          iso8859-7.h iso8859-8.h iso8859-10.h           \
                          iso8859-7jp.h
 
-generated = $(sed-generated-headers) $(perl-generated-headers) iconv-test.out
+generated = $(sed-generated-headers) $(sed-generated-headers:%.h=%.stmp) \
+           $(perl-generated-headers) $(perl-generated-headers:%.h=%.stmp) \
+           iconv-test.out
 ifdef objpfx
 generated += $(objpfx)gconv-modules
 endif
index 72b566b..c28bb02 100755 (executable)
@@ -32,8 +32,11 @@ trap "rm -f $temp1 $temp2" 1 2 3 15
 GCONV_PATH=$codir/iconvdata
 export GCONV_PATH
 
+# We have to have some directories in the library path.
+LIBPATH=$codir:$codir/iconvdata
+
 # How the start the iconv(1) program.
-ICONV="$codir/elf/ld.so --library-path $codir $codir/iconv/iconv_prog"
+ICONV="$codir/elf/ld.so --library-path $LIBPATH $codir/iconv/iconv_prog"
 
 # We read the file named TESTS.  All non-empty lines not starting with
 # `#' are interpreted as commands.
index 5f50ad4..dff8d6f 100644 (file)
--- a/libc.map
+++ b/libc.map
@@ -78,25 +78,7 @@ GLIBC_2.0 {
     __select; __sched_get_priority_max; __sched_get_priority_min;
     __sched_getparam; __sched_getscheduler; __sched_setscheduler;
     __sched_yield; __on_exit; __gettimeofday; __fork; __clone;
-    __nss_configure_lookup; _dl_open; _dl_close; _dl_addr; _IO_file_setbuf;
-    _IO_file_init; _IO_file_attach; _IO_do_write; _IO_seekoff;
-    _IO_link_in; _IO_file_open; _IO_file_doallocate; _IO_file_fopen;
-    _IO_file_overflow; _IO_file_underflow; _IO_file_sync; _IO_file_seekoff;
-    _IO_file_close_it; _IO_file_read; _IO_file_seek; _IO_file_write;
-    _IO_file_stat; _IO_file_close; _IO_file_xsputn; _IO_sgetn;
-    _IO_seekpos; _IO_padn; _IO_getline; _IO_vfprintf;
-    _IO_proc_open; _IO_proc_close; _IO_vfscanf; _IO_free_backup_area;
-    _IO_un_link; _IO_switch_to_get_mode; _IO_default_uflow;
-    _IO_default_xsputn; _IO_default_xsgetn; _IO_default_pbackfail;
-    _IO_setb; _IO_default_doallocate; _IO_doallocbuf; _IO_init;
-    _IO_default_finish; _IO_sputbackc; _IO_sungetc; _IO_adjust_column;
-    _IO_flush_all; _IO_flush_all_linebuffered; _IO_init_marker;
-    _IO_remove_marker; _IO_marker_difference; _IO_marker_delta;
-    _IO_seekmark; _IO_unsave_markers; _IO_str_overflow;
-    _IO_str_underflow; _IO_str_init_static; _IO_str_init_readonly;
-    _IO_str_seekoff; _IO_str_pbackfail; _IO_file_jumps;
-    _IO_peekc_locked; _IO_flockfile; _IO_funlockfile;
-    _IO_fopen; _IO_fclose; _IO_file_open;
+    __nss_configure_lookup; _dl_open; _dl_close; _dl_addr; 
     __vsscanf; __vfscanf; __vsnprintf;
     _rpc_dtablesize; _null_auth; _seterr_reply;
     __res_randomid;  __getpid;
@@ -106,6 +88,32 @@ GLIBC_2.0 {
     __close; __connect; __fcntl; __lseek; __open; __read; __send; __wait;
     __ieee_get_fp_control; __ieee_set_fp_control;
     __dgettext;
+    # libio
+    _IO_adjust_column; _IO_clearerr; _IO_default_doallocate;
+    _IO_default_finish; _IO_default_pbackfail; _IO_default_uflow;
+    _IO_default_xsgetn; _IO_default_xsputn; _IO_do_write;
+    _IO_doallocbuf; _IO_fclose; _IO_fdopen; _IO_feof; _IO_ferror;
+    _IO_fflush; _IO_fgetc; _IO_fgetpos; _IO_fgets; _IO_file_attach;
+    _IO_file_close; _IO_file_close_it; _IO_file_doallocate;
+    _IO_file_fopen; _IO_file_init; _IO_file_jumps; _IO_file_open;
+    _IO_file_overflow; _IO_file_read; _IO_file_seek; _IO_file_seekoff;
+    _IO_file_setbuf; _IO_file_stat; _IO_file_sync; _IO_file_underflow;
+    _IO_file_write; _IO_file_xsputn; _IO_fileno; _IO_flockfile;
+    _IO_flush_all; _IO_flush_all_linebuffered; _IO_fopen; _IO_fprintf;
+    _IO_fputs; _IO_fread; _IO_free_backup_area; _IO_freopen;
+    _IO_fscanf; _IO_fseek; _IO_fsetpos; _IO_ftell; _IO_funlockfile;
+    _IO_fwrite; _IO_getc; _IO_getline; _IO_getline_info; _IO_gets;
+    _IO_init; _IO_init_marker; _IO_link_in; _IO_marker_delta;
+    _IO_marker_difference; _IO_padn; _IO_pclose; _IO_peekc_locked;
+    _IO_perror; _IO_popen; _IO_printf; _IO_proc_close; _IO_proc_open;
+    _IO_putc; _IO_puts; _IO_remove_marker; _IO_rewind; _IO_scanf;
+    _IO_seekmark; _IO_seekoff; _IO_seekpos; _IO_setb; _IO_setbuf;
+    _IO_setbuffer; _IO_setlinebuf; _IO_setvbuf; _IO_sgetn;
+    _IO_sprintf; _IO_sputbackc; _IO_sscanf; _IO_str_init_readonly;
+    _IO_str_init_static; _IO_str_overflow; _IO_str_pbackfail;
+    _IO_str_seekoff; _IO_str_underflow; _IO_sungetc;
+    _IO_switch_to_get_mode; _IO_un_link; _IO_ungetc;
+    _IO_unsave_markers; _IO_vfprintf; _IO_vfscanf; _IO_vsprintf;
 
     # Exception handling support functions from libgcc
     __register_frame; __register_frame_table; __deregister_frame;
index d6f82d2..8c5a1a3 100644 (file)
@@ -7,7 +7,6 @@ all:
 subdir := rpm
 include ../Makeconfig
 include $(common-objpfx)soversions.mk
-include $(common-objpfx)version.mk
 
 distinfo := $(common-objpfx)distinfo \
            $(wildcard $(subdirs:%=$(common-objpfx)%/distinfo))
index 1b26d1a..3f3f944 100644 (file)
@@ -166,22 +166,39 @@ CFLAGS-ialloc.c = -Wno-strict-prototypes -DNOID
 CFLAGS-scheck.c = -Wno-strict-prototypes -DNOID
 
 # We have to make sure the data for testing the tz functions is available.
-$(objpfx)test-tz.out: $(addprefix $(objpfx)testdata/, America/New_York \
-                                                     Etc/UTC UTC)
-
-$(objpfx)testdata/America/New_York: northamerica $(objpfx)zic \
-                                   $(leapseconds) yearistype
-       $(built-program-cmd) -d $(objpfx)testdata -L $(leapseconds) \
-         -y yearistype northamerica
-$(objpfx)testdata/Etc/UTC: etcetera $(objpfx)zic $(leapseconds) yearistype
-       $(built-program-cmd) -d $(objpfx)testdata -L $(leapseconds) \
-         -y yearistype etcetera
-$(objpfx)testdata/UTC: simplebackw $(objpfx)zic $(objpfx)testdata/Etc/UTC \
-                      $(leapseconds) yearistype
-       $(built-program-cmd) -d $(objpfx)testdata -L $(leapseconds) \
-         -y yearistype simplebackw
+testdata = $(objpfx)testdata
+define build-testdata
+$(built-program-cmd) -d $(testdata) -L $(leapseconds) -y ./yearistype $<
+endef
 
-test-tz-ENV = TZDIR=$(objpfx)testdata
+$(objpfx)test-tz.out: $(addprefix $(testdata)/, America/New_York Etc/UTC UTC)
+$(objpfx)tst-timezone.out: $(addprefix $(testdata)/, \
+                                      Europe/Berlin Universal \
+                                      Australia/Melbourne \
+                                      America/Sao_Paulo)
+
+test-tz-ENV = TZDIR=$(testdata)
+tst-timezone-ENV = TZDIR=$(testdata)
+
+$(testdata)/America/New_York: northamerica $(objpfx)zic $(leapseconds) \
+                             yearistype
+       $(build-testdata)
+$(testdata)/Etc/UTC: etcetera $(objpfx)zic $(leapseconds) yearistype
+       $(build-testdata)
+$(testdata)/UTC: simplebackw $(objpfx)zic $(testdata)/Etc/UTC \
+                $(leapseconds) yearistype
+       $(build-testdata)
+$(testdata)/Europe/Berlin: europe $(objpfx)zic $(leapseconds) yearistype
+       $(build-testdata)
+$(testdata)/Universal: simplebackw $(objpfx)zic $(testdata)/Etc/UTC \
+                      $(leapseconds) yearistype
+       $(build-testdata)
+$(testdata)/Australia/Melbourne: australasia $(objpfx)zic $(leapseconds) \
+                                yearistype
+       $(build-testdata)
+$(testdata)/America/Sao_Paulo: southamerica $(objpfx)zic $(leapseconds) \
+                              yearistype
+       $(build-testdata)
 
 
 $(objpfx)tzselect: tzselect.ksh $(common-objpfx)config.make