projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60f3ce2
)
Fix handling of weak undefined symbols during bootstrapping.
author
Ulrich Drepper
<drepper@redhat.com>
Fri, 27 Nov 1998 10:01:37 +0000
(10:01 +0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Fri, 27 Nov 1998 10:01:37 +0000
(10:01 +0000)
sysdeps/arm/dl-machine.h
patch
|
blob
|
history
diff --git
a/sysdeps/arm/dl-machine.h
b/sysdeps/arm/dl-machine.h
index
66ab4c6
..
53aa806
100644
(file)
--- a/
sysdeps/arm/dl-machine.h
+++ b/
sysdeps/arm/dl-machine.h
@@
-416,7
+416,13
@@
elf_machine_rel (struct link_map *map, const Elf32_Rel *reloc,
break;
case R_ARM_GLOB_DAT:
case R_ARM_JUMP_SLOT:
- *reloc_addr = value;
+#ifdef RTLD_BOOTSTRAP
+ /* Fix weak undefined references. */
+ if (sym != NULL && sym->st_value == 0)
+ *reloc_addr = 0;
+ else
+#endif
+ *reloc_addr = value;
break;
case R_ARM_ABS32:
{