ports/devel/dwarfdump/files/patch-print_reloc.c
Pav Lucistnik b5701d060b - Update to 20080615
PR:		ports/126987
Submitted by:	Pedro Giffuni <pfgshield-freebsd@yahoo.com>
Approved by:	maintainer timeout (joerg; 3 months)
2008-12-03 23:04:46 +00:00

11 lines
406 B
C

--- print_reloc.c.orig 2008-08-30 21:13:43.000000000 -0500
+++ print_reloc.c 2008-08-30 21:18:48.000000000 -0500
@@ -409,7 +409,7 @@
}
} else if (sym_data_64) {
size_t index = ELF64_R_SYM(p->r_info) - 1;
- if(index < sym_data_entry_count) {
+ if(index < sym_data_64_entry_count) {
name = sym_data_64[index].name;
}
}