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:
344b4b4
)
* sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
author
Andreas Schwab
<schwab@suse.de>
Tue, 22 Sep 1998 01:42:11 +0000
(
01:42
+0000)
committer
Andreas Schwab
<schwab@suse.de>
Tue, 22 Sep 1998 01:42:11 +0000
(
01:42
+0000)
optimized.
sysdeps/m68k/dl-machine.h
patch
|
blob
|
history
diff --git
a/sysdeps/m68k/dl-machine.h
b/sysdeps/m68k/dl-machine.h
index
a4affcc
..
88fcd1f
100644
(file)
--- a/
sysdeps/m68k/dl-machine.h
+++ b/
sysdeps/m68k/dl-machine.h
@@
-324,15
+324,8
@@
static inline void
elf_machine_lazy_rel (Elf32_Addr l_addr, const Elf32_Rela *reloc)
{
Elf32_Addr *const reloc_addr = (void *) (l_addr + reloc->r_offset);
- switch (ELF32_R_TYPE (reloc->r_info))
- {
- case R_68K_JMP_SLOT:
- *reloc_addr += l_addr;
- break;
- default:
- assert (! "unexpected PLT reloc type");
- break;
- }
+ assert (ELF32_R_TYPE (reloc->r_info) == R_68K_JMP_SLOT);
+ *reloc_addr += l_addr;
}
#endif /* RESOLVE */