diff options
author | Ulrich Drepper <drepper@redhat.com> | 2006-08-24 20:21:08 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2006-08-24 20:21:08 +0000 |
commit | 93b53ca279865363a3352017c1d4456cc58e7de4 (patch) | |
tree | 24bb024fc5c1d21ec0ed470d17d912eca47f100c /sysdeps | |
parent | 7463d5cb4d42ffa944f05415f9d320b1b64d2bcf (diff) | |
download | glibc-93b53ca279865363a3352017c1d4456cc58e7de4.tar.gz glibc-93b53ca279865363a3352017c1d4456cc58e7de4.tar.xz glibc-93b53ca279865363a3352017c1d4456cc58e7de4.zip |
[BZ #2683]
2006-08-24 Ulrich Drepper <drepper@redhat.com> [BZ #2683] * elf/dl-addr.c (_dl_addr): Don't ignore all undefined symbols. If symbol has a value use it. * elf/tst-dladdr1.c: New file. * elf/Makefile: Add rules to build and run tst-addr1.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/generic/ldsodefs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/generic/ldsodefs.h b/sysdeps/generic/ldsodefs.h index ef2b685393..2c3ce81dd0 100644 --- a/sysdeps/generic/ldsodefs.h +++ b/sysdeps/generic/ldsodefs.h @@ -59,8 +59,8 @@ __BEGIN_DECLS /* Result of the lookup functions and how to retrieve the base address. */ typedef struct link_map *lookup_t; -# define LOOKUP_VALUE(map) map -# define LOOKUP_VALUE_ADDRESS(map) ((map) ? (map)->l_addr : 0) +#define LOOKUP_VALUE(map) map +#define LOOKUP_VALUE_ADDRESS(map) ((map) ? (map)->l_addr : 0) /* On some architectures a pointer to a function is not just a pointer to the actual code of the function but rather an architecture |