[PATCH] Fix objdump -R internal error on prelinked binaries
Julien LEMOINE
speedblue@debian.org
Fri Apr 18 23:50:00 GMT 2003
This patch allow objdump to run on prelinked binarie.
The full bug report is available at :
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=180088
Best Regards.
--
Julien LEMOINE / SpeedBlue
-------------- next part --------------
diff -bBdNrw -U5 binutils-2.13.90.0.18.orig/bfd/elfcode.h binutils-2.13.90.0.18/bfd/elfcode.h
--- binutils-2.13.90.0.18.orig/bfd/elfcode.h 2002-12-16 21:22:52.000000000 +0100
+++ binutils-2.13.90.0.18/bfd/elfcode.h 2003-04-16 21:53:08.000000000 +0200
@@ -1363,13 +1363,13 @@
relent->sym_ptr_ptr = s->section->symbol_ptr_ptr;
}
relent->addend = rela.r_addend;
- if (entsize == sizeof (Elf_External_Rela))
- (*ebd->elf_info_to_howto) (abfd, relent, &rela);
- else
+ //if (entsize == sizeof (Elf_External_Rela))
+ // (*ebd->elf_info_to_howto) (abfd, relent, &rela);
+ //else
(*ebd->elf_info_to_howto_rel) (abfd, relent, &rela);
}
if (allocated != NULL)
free (allocated);
More information about the Binutils
mailing list