Skip to content

Commit 1b34f48

Browse files
author
whitequark
committedAug 7, 2015
libdyld: all ELF relocations may refer to the current object.
1 parent 3cf4667 commit 1b34f48

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

Diff for: ‎software/libdyld/dyld.c

+1-2
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,11 @@ static int fixup_rela(struct dyld_info *info, Elf32_Rela *rela,
2222

2323
case R_OR1K_32:
2424
case R_OR1K_GLOB_DAT:
25+
case R_OR1K_JMP_SLOT:
2526
value = (Elf32_Addr)dyld_lookup(&info->strtab[sym->st_name], info);
2627
if(value != 0)
2728
break;
28-
//fallthrough
2929

30-
case R_OR1K_JMP_SLOT:
3130
value = resolve_import(&info->strtab[sym->st_name]);
3231
if(value == 0) {
3332
static char error[256];

0 commit comments

Comments
 (0)
Please sign in to comment.