Update.
authorUlrich Drepper <drepper@redhat.com>
Sat, 29 Dec 2001 01:02:17 +0000 (01:02 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 29 Dec 2001 01:02:17 +0000 (01:02 +0000)
2001-12-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* sysdeps/unix/sysv/linux/s390/profil-counter.h: Move/copy to ...
* sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h: ... here,
remove high order bit from the program counter.
* sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h: ... and here.

2001-12-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Remove
unnecessary code and add missing reloc types.
* sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Add empty
case for reloc type R_390_NONE.

ChangeLog
linuxthreads_db/ChangeLog
localedata/ChangeLog
localedata/locales/bn_BD [new file with mode: 0644]
sysdeps/s390/s390-64/dl-machine.h
sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h [new file with mode: 0644]
sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h [moved from sysdeps/unix/sysv/linux/s390/profil-counter.h with 100% similarity]

index 8ea3069..912ed55 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,52 +1,23 @@
+2001-12-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>
+
+       * sysdeps/unix/sysv/linux/s390/profil-counter.h: Move/copy to ...
+       * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h: ... here,
+       remove high order bit from the program counter.
+       * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h: ... and here.
+
+2001-12-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>
+
+       * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Remove
+       unnecessary code and add missing reloc types.
+       * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Add empty
+       case for reloc type R_390_NONE.
+
 2001-12-28  Andreas Jaeger  <aj@suse.de>
 
        * io/bug-ftw3.c: Include string.h for prototypes.
 
        * crypt/md5test.c (main): Remove unused variable.
 
-       * linuxthreads_db/td_init.c (td_init): Don't use __FUNCTION__ as
-       literal.
-       * linuxthreads_db/td_log.c (td_log): Likewise.
-       * linuxthreads_db/td_ta_delete.c (td_ta_delete): Likewise.
-       * linuxthreads_db/td_ta_get_nthreads.c (td_ta_get_nthreads): Likewise.
-       * linuxthreads_db/td_ta_get_ph.c (td_ta_get_ph): Likewise.
-       * linuxthreads_db/td_ta_map_id2thr.c (td_ta_map_id2thr): Likewise.
-       * linuxthreads_db/td_ta_map_lwp2thr.c (td_ta_map_lwp2thr): Likewise.
-       * linuxthreads_db/td_ta_new.c (td_ta_new): Likewise.
-       * linuxthreads_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
-       * linuxthreads_db/td_ta_enable_stats.c (td_ta_enable_stats): Likewise.
-       * linuxthreads_db/td_ta_event_addr.c (td_ta_event_addr): Likewise.
-       * linuxthreads_db/td_ta_event_getmsg.c (td_ta_event_getmsg): Likewise.
-       * linuxthreads_db/td_ta_get_stats.c (td_ta_get_stats): Likewise.
-       * linuxthreads_db/td_ta_reset_stats.c (td_ta_reset_stats): Likewise.
-       * linuxthreads_db/td_ta_set_event.c (td_ta_set_event): Likewise.
-       * linuxthreads_db/td_ta_setconcurrency.c (td_ta_setconcurrency):
-       Likewise.
-       * linuxthreads_db/td_ta_thr_iter.c (td_ta_thr_iter): Likewise.
-       * linuxthreads_db/td_ta_tsd_iter.c (td_ta_tsd_iter): Likewise.
-       * linuxthreads_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
-       * linuxthreads_db/td_thr_dbresume.c (td_thr_dbresume): Likewise.
-       * linuxthreads_db/td_thr_dbsuspend.c (td_thr_dbsuspend): Likewise.
-       * linuxthreads_db/td_thr_event_enable.c (td_thr_event_enable):
-       Likewise.
-       * linuxthreads_db/td_thr_event_getmsg.c (td_thr_event_getmsg):
-       Likewise.
-       * linuxthreads_db/td_thr_get_info.c (td_thr_get_info): Likewise.
-       * linuxthreads_db/td_thr_getfpregs.c (td_thr_getfpregs): Likewise.
-       * linuxthreads_db/td_thr_getgregs.c (td_thr_getgregs): Likewise.
-       * linuxthreads_db/td_thr_getxregs.c (td_thr_getxregs): Likewise.
-       * linuxthreads_db/td_thr_getxregsize.c (td_thr_getxregsize): Likewise.
-       * linuxthreads_db/td_thr_set_event.c (td_thr_set_event): Likewise.
-       * linuxthreads_db/td_thr_setfpregs.c (td_thr_setfpregs): Likewise.
-       * linuxthreads_db/td_thr_setgregs.c (td_thr_setgregs): Likewise.
-       * linuxthreads_db/td_thr_setprio.c (td_thr_setprio): Likewise.
-       * linuxthreads_db/td_thr_setsigpending.c (td_thr_setsigpending):
-       Likewise.
-       * linuxthreads_db/td_thr_setxregs.c (td_thr_setxregs): Likewise.
-       * linuxthreads_db/td_thr_sigsetmask.c (td_thr_sigsetmask): Likewise.
-       * linuxthreads_db/td_thr_tsd.c (td_thr_tsd): Likewise.
-       * linuxthreads_db/td_thr_validate.c (td_thr_validate): Likewise.
-
        * dlfcn/modstatic.c: Add prototype to avoid warning.
 
 2001-12-26  Roland McGrath  <roland@frob.com>
index e05a94f..17a391a 100644 (file)
@@ -1,3 +1,43 @@
+2001-12-28  Andreas Jaeger  <aj@suse.de>
+
+       * td_init.c (td_init): Don't use __FUNCTION__ as literal.
+       * td_log.c (td_log): Likewise.
+       * td_ta_delete.c (td_ta_delete): Likewise.
+       * td_ta_get_nthreads.c (td_ta_get_nthreads): Likewise.
+       * td_ta_get_ph.c (td_ta_get_ph): Likewise.
+       * td_ta_map_id2thr.c (td_ta_map_id2thr): Likewise.
+       * td_ta_map_lwp2thr.c (td_ta_map_lwp2thr): Likewise.
+       * td_ta_new.c (td_ta_new): Likewise.
+       * td_ta_clear_event.c (td_ta_clear_event): Likewise.
+       * td_ta_enable_stats.c (td_ta_enable_stats): Likewise.
+       * td_ta_event_addr.c (td_ta_event_addr): Likewise.
+       * td_ta_event_getmsg.c (td_ta_event_getmsg): Likewise.
+       * td_ta_get_stats.c (td_ta_get_stats): Likewise.
+       * td_ta_reset_stats.c (td_ta_reset_stats): Likewise.
+       * td_ta_set_event.c (td_ta_set_event): Likewise.
+       * td_ta_setconcurrency.c (td_ta_setconcurrency): Likewise.
+       * td_ta_thr_iter.c (td_ta_thr_iter): Likewise.
+       * td_ta_tsd_iter.c (td_ta_tsd_iter): Likewise.
+       * td_thr_clear_event.c (td_thr_clear_event): Likewise.
+       * td_thr_dbresume.c (td_thr_dbresume): Likewise.
+       * td_thr_dbsuspend.c (td_thr_dbsuspend): Likewise.
+       * td_thr_event_enable.c (td_thr_event_enable): Likewise.
+       * td_thr_event_getmsg.c (td_thr_event_getmsg): Likewise.
+       * td_thr_get_info.c (td_thr_get_info): Likewise.
+       * td_thr_getfpregs.c (td_thr_getfpregs): Likewise.
+       * td_thr_getgregs.c (td_thr_getgregs): Likewise.
+       * td_thr_getxregs.c (td_thr_getxregs): Likewise.
+       * td_thr_getxregsize.c (td_thr_getxregsize): Likewise.
+       * td_thr_set_event.c (td_thr_set_event): Likewise.
+       * td_thr_setfpregs.c (td_thr_setfpregs): Likewise.
+       * td_thr_setgregs.c (td_thr_setgregs): Likewise.
+       * td_thr_setprio.c (td_thr_setprio): Likewise.
+       * td_thr_setsigpending.c (td_thr_setsigpending): Likewise.
+       * td_thr_setxregs.c (td_thr_setxregs): Likewise.
+       * td_thr_sigsetmask.c (td_thr_sigsetmask): Likewise.
+       * td_thr_tsd.c (td_thr_tsd): Likewise.
+       * td_thr_validate.c (td_thr_validate): Likewise.
+
 2001-04-12  Ulrich Drepper  <drepper@redhat.com>
 
        * td_ta_map_id2thr.c: If thread terminated return TD_NOTHR.
index d0c93fc..207f576 100644 (file)
@@ -1,3 +1,8 @@
+2001-12-28  Ulrich Drepper  <drepper@redhat.com>
+
+       * locales/bn_BD: New file.
+       Contributed by Taneem Ahmed <taneem@eyetap.org>.
+
 2001-12-11  Ulrich Drepper  <drepper@redhat.com>
 
        * SUPPORTED (SUPPORTED-LOCALES): Add vi_VN.TCVN.
diff --git a/localedata/locales/bn_BD b/localedata/locales/bn_BD
new file mode 100644 (file)
index 0000000..fd0ae2c
--- /dev/null
@@ -0,0 +1,179 @@
+escape_char /
+comment_char %
+
+%      This is the locale defination file for Bangladeshi Bengali
+
+LC_IDENTIFICATION
+title "Bengali language locale for Bangladesh"
+source "Bangladesh Linux User Group http://www.bdlug.org"
+address "Dhaka, Bangladesh"
+contact "Taneem Ahmed"
+email "taneem@poribar.org"
+tel ""
+fax ""
+language "Bengali"
+territory "BD"
+revision "0.1"
+date "2001-11-01"
+
+category bn_BD:2001;LC_IDENTIFICATION
+category bn_BD:2001;LC_COLLATE
+category bn_BD:2001;LC_CTYPE
+category bn_BD:2001;LC_MESSAGES
+category bn_BD:2001;LC_MONETARY
+category bn_BD:2001;LC_NUMERIC
+category bn_BD:2001;LC_TIME
+category bn_BD:2001;LC_PAPER
+category bn_BD:2001;LC_MEASUREMENT
+category bn_BD:2001;LC_TELEPHONE
+category bn_BD:2001;LC_ADDRESS
+category bn_BD:2001;LC_NAME
+
+END LC_IDENTIFICATION
+
+LC_COLLATE
+% TODO: Bengali sorting should be added
+copy "iso14651_t1"
+END LC_COLLATE
+
+LC_CTYPE
+copy "i18n"
+END LC_CTYPE
+
+LC_MONETARY
+%this is the rupee sign
+currency_symbol      "<U09F3>"
+%currency_symbol      "<U099F><U09BE><U0995><U09BE>"
+mon_decimal_point    "<U002E>"
+mon_thousands_sep    "<U002C>"
+mon_grouping         3;3
+positive_sign        ""
+negative_sign        "<U002D>"
+int_frac_digits      2
+frac_digits          2
+p_cs_precedes        1
+p_sep_by_space       1
+n_cs_precedes        1
+n_sep_by_space       1
+p_sign_posn          1
+n_sign_posn          1
+END LC_MONETARY
+
+
+LC_NUMERIC
+decimal_point        "<U002E>"
+thousands_sep        "<U002C>"
+grouping             3;3
+END LC_NUMERIC
+
+LC_TIME
+abday       "<U09B0><U09AC><U09BF>"; /
+            "<U09B8><U09CB><U09AE>";/
+            "<U09AE><U0999><U0997><U09B2>";/
+            "<U09AC><U09C1><U09A7>";/
+            "<U09AC><U09C3><U09B9><U09B8><U09CD><U09AA><U09A4><U09BF>";/
+            "<U09B6><U09C1><U0995><U09CD><U09B0>";/
+            "<U09B6><U09A8><U09BF>"
+
+day         "<U09B0><U09AC><U09BF><U09AC><U09BE><U09B0>";/
+            "<U09B8><U09CB><U09AE><U09AC><U09BE><U09B0>";/
+            "<U09AE><U0999><U0997><U09B2><U09AC><U09BE><U09B0>";/
+            "<U09AC><U09C1><U09A7><U09AC><U09BE><U09B0>";/
+            "<U09AC><U09C3><U09B9><U09B8><U09CD><U09AA><U09A4><U09BF><U09AC><U09BE><U09B0>";/
+            "<U09B6><U09C1><U0995><U09CD><U09B0><U09AC><U09BE><U09B0>";/
+            "<U09B6><U09A8><U09BF><U09AC><U09BE><U09B0>"
+
+%jan feb mar apr may jun jul aug sep oct nov dec
+abmon       "<U099C><U09BE><U09A8>";/
+            "<U09AB><U09C7><U09AC>";/
+            "<U09AE><U09BE><U09B0>";/
+            "<U098F><U09AA><U09CD><U09B0>";/
+            "<U09AE><U09C7>";/
+            "<U099C><U09C1><U09A8>";/
+            "<U099C><U09C1><U09B2>";/
+            "<U0986><U0997>";/
+            "<U09B8><U09C7><U09AA>";/
+            "<U0985><U0995><U09CD><U099F><U09CB><U09AC><U09B0>";/
+            "<U09A8><U09AD><U09C7><U09AE><U09CD><U09AC><U09B0>";/
+            "<U09A1><U09BF><U09B8><U09C7><U09AE><U09CD><U09AC><U09B0>"
+
+mon         "<U099C><U09BE><U09A8><U09C1><U09DF><U09BE><U09B0><U09C0>";/
+            "<U09AB><U09C7><U09AC><U09CD><U09B0><U09C1><U09DF><U09BE><U09B0><U09C0>";/
+            "<U09AE><U09BE><U09B0><U09CD><U099A>";/
+            "<U098F><U09AA><U09CD><U09B0><U09BF><U09B2>";/
+            "<U09AE><U09C7>";/
+            "<U099C><U09C1><U09A8>";/
+            "<U099C><U09C1><U09B2><U09BE><U0987>";/
+            "<U0986><U0997><U09B8><U09CD><U099F>";/
+            "<U09B8><U09C7><U09AA><U09CD><U099F><U09C7><U09AE><U09CD><U09AC><U09BE><U09B0>";/
+            "<U0985><U0995><U09CD><U099F><U09CB><U09AC><U09BE><U09B0>";/
+            "<U09A8><U09AD><U09C7><U09AE><U09CD><U09AC><U09BE><U09B0>";/
+            "<U09A1><U09BF><U09B8><U09C7><U09AE><U09CD><U09AC><U09BE><U09B0>"
+
+am_pm       "<U09b8><U0995><U09be><U09b2>";"<U09ac><U09bf><U0995><U09be><U09b2>"
+d_t_fmt     "<U0025><U0041><U0020><U0025><U0064><U0020><U0025><U0062><U0020><U0025><U0059><U0020><U0025><U0049><U003A><U0025><U004D><U003A><U0025><U0053><U0020><U0025><U0070><U0020><U0025><U005A>"
+d_fmt       "<U0025><U0041><U0020><U0025><U0064><U0020><U0025><U0062><U0020><U0025><U0059>"
+t_fmt       "<U0025><U0049><U003A><U0025><U004D><U003A><U0025><U0053><U0020><U0020><U0025><U005A>"
+t_fmt_ampm  "<U0025><U0049><U003A><U0025><U004D><U003A><U0025><U0053><U0020><U0025><U0070><U0020><U0025><U005A>"
+END LC_TIME
+
+LC_MESSAGES
+yesexpr     "<U005B><U09B9><U09CD><U09AF><U09BE><U005D>"
+noexpr      "<U005B><U09A8><U09BE><U005D>"
+yesstr      "<U09B9><U09CD><U09AF><U09BE>"
+nostr        "<U09A8><U09BE>"
+END LC_MESSAGES
+
+LC_MESSAGES
+yesstr      "<U0561><U0575><U0578>"
+nostr       "<U0578><U0579>"
+yesexpr     "<U005B><U0079><U0059><U0073><U0053><U0561><U0531><U005D><U002E><U002A>"
+noexpr      "<U005B><U006E><U004E><U0578><U0548><U005D><U002E><U002A>"
+END LC_MESSAGES
+
+% Metric Measurement system (ISO 1000)
+LC_MEASUREMENT
+measurement 1
+END LC_MEASUREMENT
+
+% Default paper: A4
+LC_PAPER
+height 297
+width 210
+END LC_PAPER
+
+LC_TELEPHONE
+tel_int_fmt   "<U002B><U0025><U0063><U0020><U0025><U0061><U0020><U0025><U006C>"
+tel_dom_fmt   "<U0025><U0061><U0020><U0025><U006C>"
+int_select    "<U0030><U0030>"
+int_prefix    "<U0038><U0038>"
+END LC_TELEPHONE
+
+LC_NAME
+%                      [profession] Given_Name [middle_name] Family_Name
+name_fmt    "<U0025><U0070><U0025><U0074><U0025><U0066><U0025><U0074><U0025><U006D><U0025><U0074><U0025><U0067>"
+name_gen       ""
+%jonab
+name_mr     "<U099c><U09a8><U09be><U09ac>"
+%jonaba
+name_mrs    "<U099c><U09a8><U09be><U09ac><U09be>"
+name_ms     "<U099c><U09a8><U09be><U09ac><U09be>"
+name_miss   "<U099c><U09a8><U09be><U09ac><U09be>"
+END LC_NAME
+
+
+LC_ADDRESS
+postal_fmt   "<U0025><U0061><U0025><U004E><U0025><U0066><U0025><U004E><U0025><U0064><U0025><U004E><U0025><U0062><U0025><U004E><U0025><U0068><U0020><U0025><U0073><U0020><U0025><U0065><U0020><U0025><U0072><U0025><U004E><U0025><U0054><U0020><U0025><U007A><U0025><U004E><U0025><U0063><U0025><U004E>"
+country_name   "<U09AC><U09BE><U0982><U09B2><U09BE><U09A6><U09C7><U09B6>"
+country_ab2     "BD"
+lang_ab         "bn"
+%lang_ab3_term   "ben"
+lang_name       "<U09ac><U09be><U0982><U09b2><U09be>"
+% todo
+%country_post    ""
+%country_num     ""
+%country_car     ""
+%country_isbn    ""
+%lang_term       ""
+%lang_lib        ""
+END LC_ADDRESS
index 4d4c344..25294fc 100644 (file)
@@ -415,6 +415,8 @@ elf_machine_rela (struct link_map *map, const Elf64_Rela *reloc,
          *(unsigned short *) reloc_addr =
            value + reloc->r_addend - (Elf64_Addr) reloc_addr;
          break;
+       case R_390_NONE:
+         break;
 #endif
 #if !defined(RTLD_BOOTSTRAP) || defined(_NDEBUG)
        default:
diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h b/sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
new file mode 100644 (file)
index 0000000..5500adf
--- /dev/null
@@ -0,0 +1,27 @@
+/* Low-level statistical profiling support function.  Linux/s390 version.
+   Copyright (C) 2000, 2001 Free Software Foundation, Inc.
+   This file is part of the GNU C Library.
+
+   The GNU C Library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Lesser General Public
+   License as published by the Free Software Foundation; either
+   version 2.1 of the License, or (at your option) any later version.
+
+   The GNU C Library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with the GNU C Library; if not, write to the Free
+   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+   02111-1307 USA.  */
+
+#include <signal.h>
+#include <sigcontextinfo.h>
+
+static void
+profil_counter (int signo, SIGCONTEXT scp)
+{
+  profile_count((void *) ((unsigned long) GET_PC (scp) & 0x7fffffffUL));
+}