From aa3f24108d1c1119a1a3a86793c73451d85401a9 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 15 Apr 2003 19:42:49 +0000 Subject: [PATCH] Update. 2003-04-15 Jakub Jelinek * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Avoid checking R_PPC_RELATIVE, R_PPC_NONE and whether relocation is against local symbol in conflict processing. --- ChangeLog | 6 ++++++ localedata/ChangeLog | 8 ++++++++ localedata/locales/ar_SD | 2 +- localedata/locales/es_EC | 2 +- sysdeps/powerpc/powerpc32/dl-machine.h | 14 +++++++++----- 5 files changed, 25 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index b067982749..68ca4c181b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-04-15 Jakub Jelinek + + * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Avoid + checking R_PPC_RELATIVE, R_PPC_NONE and whether relocation is + against local symbol in conflict processing. + 2003-04-15 Steven Munroe * sysdeps/powerpc/bits/atomic.h diff --git a/localedata/ChangeLog b/localedata/ChangeLog index 65c55c620b..6b73977cf1 100644 --- a/localedata/ChangeLog +++ b/localedata/ChangeLog @@ -1,3 +1,11 @@ +2003-04-15 Petter Reinholdtsen + + * locales/ar_SD [LC_MONETARY]: Use international currency symbol + 'SDD' for Sudan. + * locales/es_EC [LC_MONETARY]: Use international currency symbol + 'USD' for Ecuador. + Source is CIA World Fact book. + 2003-04-05 Petter Reinholdtsen * locales/sr_YU [LC_MONETARY]: Change int_curr_symbol from 'YUN' diff --git a/localedata/locales/ar_SD b/localedata/locales/ar_SD index beab55ab85..fa322a8040 100644 --- a/localedata/locales/ar_SD +++ b/localedata/locales/ar_SD @@ -47,7 +47,7 @@ LC_MONETARY % These are generated based on XML base Locale difintion file % for IBM Class for Unicode/Java % -int_curr_symbol "" +int_curr_symbol "" currency_symbol "" mon_decimal_point "" mon_thousands_sep "" diff --git a/localedata/locales/es_EC b/localedata/locales/es_EC index 63460ea15d..750ce19eeb 100644 --- a/localedata/locales/es_EC +++ b/localedata/locales/es_EC @@ -61,7 +61,7 @@ noexpr "" END LC_MESSAGES LC_MONETARY -int_curr_symbol "" +int_curr_symbol "" currency_symbol "" mon_decimal_point "" mon_thousands_sep "" diff --git a/sysdeps/powerpc/powerpc32/dl-machine.h b/sysdeps/powerpc/powerpc32/dl-machine.h index 6dfde02196..2f35275af9 100644 --- a/sysdeps/powerpc/powerpc32/dl-machine.h +++ b/sysdeps/powerpc/powerpc32/dl-machine.h @@ -365,6 +365,7 @@ elf_machine_rela (struct link_map *map, const Elf32_Rela *reloc, struct link_map *sym_map; #endif +#ifndef RESOLVE_CONFLICT_FIND_MAP if (r_type == R_PPC_RELATIVE) { *reloc_addr = map->l_addr + reloc->r_addend; @@ -381,18 +382,21 @@ elf_machine_rela (struct link_map *map, const Elf32_Rela *reloc, value = map->l_addr; else { -#if defined USE_TLS && !defined RTLD_BOOTSTRAP +# if defined USE_TLS && !defined RTLD_BOOTSTRAP sym_map = RESOLVE_MAP (&sym, version, r_type); value = sym == NULL ? 0 : sym_map->l_addr + sym->st_value; -#else +# else value = RESOLVE (&sym, version, r_type); -# ifndef RTLD_BOOTSTRAP +# ifndef RTLD_BOOTSTRAP if (sym != NULL) -# endif +# endif value += sym->st_value; -#endif +# endif } value += reloc->r_addend; +#else + value = reloc->r_addend; +#endif /* A small amount of code is duplicated here for speed. In libc, more than 90% of the relocs are R_PPC_RELATIVE; in the X11 shared