aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
Diffstat (limited to 'elf')
-rw-r--r--elf/Makefile2
-rw-r--r--elf/dl-minimal.c1
-rw-r--r--elf/do-rel.h2
-rw-r--r--elf/ldd.bash.in2
4 files changed, 3 insertions, 4 deletions
diff --git a/elf/Makefile b/elf/Makefile
index 33d57ed70f..489a565945 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -35,7 +35,7 @@ elide-routines.so = $(dl-routines) dl-support enbl-secure
# interpreter and operating independent of libc.
rtld-routines := rtld $(dl-routines) dl-sysdep dl-minimal
distribute = $(rtld-routines:=.c) dynamic-link.h do-rel.h dl-machine.h \
- soinit.c sofini.c ldd.sh.in ldd.bash.in eval.c
+ dl-hash.h soinit.c sofini.c ldd.sh.in ldd.bash.in eval.c
extra-libs = libdl
extra-libs-others = $(extra-libs)
diff --git a/elf/dl-minimal.c b/elf/dl-minimal.c
index 12d38c9a3a..f5b256808a 100644
--- a/elf/dl-minimal.c
+++ b/elf/dl-minimal.c
@@ -126,7 +126,6 @@ longjmp (jmp_buf env, int val) { __longjmp (env[0].__jmpbuf, val); }
char * weak_function
__dcgettext (const char *domainname, const char *msgid, int category)
{
- assert (domainname == _libc_intl_domainname);
return (char *) msgid;
}
weak_alias (__dcgettext, dcgettext)
diff --git a/elf/do-rel.h b/elf/do-rel.h
index 66f135916c..766e62c219 100644
--- a/elf/do-rel.h
+++ b/elf/do-rel.h
@@ -53,7 +53,7 @@ elf_dynamic_do_rel (struct link_map *map,
const ElfW(Sym) *const symtab =
(const ElfW(Sym) *) (map->l_addr + map->l_info[DT_SYMTAB]->d_un.d_ptr);
- if (map->l_info[VERSYMIDX (DT_VERNEEDNUM)])
+ if (map->l_info[VERSYMIDX (DT_VERSYM)])
{
const ElfW(Half) *const version =
(const ElfW(Half) *) (map->l_addr
diff --git a/elf/ldd.bash.in b/elf/ldd.bash.in
index 809c2717da..32a9405422 100644
--- a/elf/ldd.bash.in
+++ b/elf/ldd.bash.in
@@ -65,7 +65,7 @@ Report bugs using the \`glibcbug' script to <bugs@gnu.ai.mit.edu>."
verbose=yes
shift ;;
--v | --ve | --ver)
- echo >&2 $"ldd: option \`" $1 $"' is ambiguous"
+ echo >&2 $"ldd: option \`$1' is ambiguous"
exit 1 ;;
--) # Stop option processing.
shift; break ;;