diff options
author | Jakub Jelinek <jakub@redhat.com> | 2008-05-15 07:57:49 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2008-05-15 07:57:49 +0000 |
commit | 78463734c14d180e4d8e16c6e66fb213fc3479c0 (patch) | |
tree | 718b7357ea9e63d4a951a0a725105619b97d2977 /elf/dl-conflict.c | |
parent | ef73dbc1301bc42c132d15ae6ca866233c0beeb4 (diff) | |
download | glibc-78463734c14d180e4d8e16c6e66fb213fc3479c0.tar glibc-78463734c14d180e4d8e16c6e66fb213fc3479c0.tar.gz glibc-78463734c14d180e4d8e16c6e66fb213fc3479c0.tar.bz2 glibc-78463734c14d180e4d8e16c6e66fb213fc3479c0.zip |
Updated to fedora-glibc-20080515T0735cvs/fedora-glibc-2_8_90-1
Diffstat (limited to 'elf/dl-conflict.c')
-rw-r--r-- | elf/dl-conflict.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/elf/dl-conflict.c b/elf/dl-conflict.c index 9b49e77d28..b730105628 100644 --- a/elf/dl-conflict.c +++ b/elf/dl-conflict.c @@ -1,5 +1,5 @@ /* Resolve conflicts against already prelinked libraries. - Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. + Copyright (C) 2001, 2002, 2003, 2004, 2005, 2008 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Jakub Jelinek <jakub@redhat.com>, 2001. @@ -44,7 +44,6 @@ _dl_resolve_conflicts (struct link_map *l, ElfW(Rela) *conflict, /* This macro is used as a callback from the ELF_DYNAMIC_RELOCATE code. */ #define RESOLVE_MAP(ref, version, flags) (*ref = NULL, NULL) #define RESOLVE(ref, version, flags) (*ref = NULL, 0) -#define CHECK_STATIC_TLS(ref_map, sym_map) ((void) 0) #define RESOLVE_CONFLICT_FIND_MAP(map, r_offset) \ do { \ while ((resolve_conflict_map->l_map_end < (ElfW(Addr)) (r_offset)) \ @@ -61,6 +60,12 @@ _dl_resolve_conflicts (struct link_map *l, ElfW(Rela) *conflict, #include "dynamic-link.h" + /* Override these, defined in dynamic-link.h. */ +#undef CHECK_STATIC_TLS +#define CHECK_STATIC_TLS(ref_map, sym_map) ((void) 0) +#undef TRY_STATIC_TLS +#define TRY_STATIC_TLS(ref_map, sym_map) (0) + GL(dl_num_cache_relocations) += conflictend - conflict; for (; conflict < conflictend; ++conflict) |