Skip to content

Commit 1abb0c0

Browse files
committed
Handle R_386_GLOB_DAT properly
It seems elg.c is OK...
1 parent a9796f7 commit 1abb0c0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

el.c

+5
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,11 @@ int main(int argc, char* argv[]) {
261261
}
262262
}
263263
case 6: {
264+
if (val) {
265+
*addr = (int)val;
266+
} else {
267+
fprintf(stderr, "undefined data %s\n", sname);
268+
}
264269
break;
265270
}
266271
case 7: {

0 commit comments

Comments
 (0)