projects
/
external
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6af245e
)
(elf_machine_rela): Check that the symbol was found.
author
Ulrich Drepper
<drepper@redhat.com>
Sat, 21 Jun 1997 02:08:10 +0000
(
02:08
+0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Sat, 21 Jun 1997 02:08:10 +0000
(
02:08
+0000)
sysdeps/m68k/dl-machine.h
patch
|
blob
|
history
diff --git
a/sysdeps/m68k/dl-machine.h
b/sysdeps/m68k/dl-machine.h
index
1523ddb
..
e50f773
100644
(file)
--- a/
sysdeps/m68k/dl-machine.h
+++ b/
sysdeps/m68k/dl-machine.h
@@
-227,6
+227,10
@@
elf_machine_rela (struct link_map *map, const Elf32_Rela *reloc,
switch (ELF32_R_TYPE (reloc->r_info))
{
case R_68K_COPY:
+ if (sym == NULL)
+ /* This can happen in trace mode if an object could not be
+ found. */
+ break;
if (sym->st_size > refsym->st_size
|| (_dl_verbose && sym->st_size < refsym->st_size))
{