about summary refs log tree commit diff
path: root/elf/dl-symbol.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-05-22 23:42:35 +0000
committerUlrich Drepper <drepper@redhat.com>2001-05-22 23:42:35 +0000
commit80d9c5f0b121a46467a0fc4eab587c055d79e583 (patch)
tree1a511b043bd04d216fb732a3f131ab60c7d64ec8 /elf/dl-symbol.c
parent2373b30ea829ad5dd9599b29902c80101deefc78 (diff)
downloadglibc-80d9c5f0b121a46467a0fc4eab587c055d79e583.tar.gz
glibc-80d9c5f0b121a46467a0fc4eab587c055d79e583.tar.xz
glibc-80d9c5f0b121a46467a0fc4eab587c055d79e583.zip
Update.
2001-05-18  Jakub Jelinek  <jakub@redhat.com>

	* elf/dl-lookup.c (PROTECTED): Remove defines.
	(add_dependency): Mark it with internal_function.
	(_dl_do_lookup, _dl_do_lookup_versioned): New functions.
	(_dl_lookup_symbol, _dl_lookup_symbol_skip,
	_dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip): Use
	it if we don't want do_lookup* inlined.

2001-05-18  Jakub Jelinek  <jakub@redhat.com>

	* include/link.h (struct r_scope_elem): Remove r_duplist and
	r_nduplist fields.
	* elf/dl-load.c (_dl_map_object_from_fd): Don't initialize them.
	* elf/dl-lookup.c (_dl_lookup_symbol_skip): Look in r_list, not
	r_duplist.
	(_dl_lookup_versioned_symbol_skip): Likewise.
	* elf/dl-deps.c (struct list): Remove dup field, rename unique to next.
	(_dl_map_object_deps): Don't compute duplicate list.

	* elf/dl-symbol.c: Removed.
	* elf/Makefile (routines): Remove dl-symbol.

2001-05-22  Ulrich Drepper  <drepper@redhat.com>

	* po/el.po: Update from translation team.
	* po/sv.po: Likewise.
Diffstat (limited to 'elf/dl-symbol.c')
-rw-r--r--elf/dl-symbol.c33
1 files changed, 0 insertions, 33 deletions
diff --git a/elf/dl-symbol.c b/elf/dl-symbol.c
deleted file mode 100644
index 5c12df7bff..0000000000
--- a/elf/dl-symbol.c
+++ /dev/null
@@ -1,33 +0,0 @@
-/* Look up a symbol's run-time value in the scope of a loaded object.
-   Copyright (C) 1995, 96, 98, 99, 2000 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 Library General Public License as
-   published by the Free Software Foundation; either version 2 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
-   Library General Public License for more details.
-
-   You should have received a copy of the GNU Library General Public
-   License along with the GNU C Library; see the file COPYING.LIB.  If not,
-   write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-   Boston, MA 02111-1307, USA.  */
-
-#include <stddef.h>
-#include <ldsodefs.h>
-
-/* Look up symbol NAME in MAP's scope and return its run-time address.  */
-
-ElfW(Addr)
-internal_function
-_dl_symbol_value (struct link_map *map, const char *name)
-{
-  const ElfW(Sym) *ref = NULL;
-  lookup_t result;
-  result = _dl_lookup_symbol (name, map, &ref, map->l_local_scope, 0, 1);
-  return (result ? LOOKUP_VALUE_ADDRESS (result) : 0) + ref->st_value;
-}