This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[PATCH] Fix objdump -R internal error on prelinked binaries
- From: Julien LEMOINE <speedblue at debian dot org>
- To: binutils at sources dot redhat dot com
- Date: Wed, 23 Apr 2003 03:57:44 +0200
- Subject: [PATCH] Fix objdump -R internal error on prelinked binaries
- Reply-to: Julien LEMOINE <speedblue at debian dot org>
Here is a new one, wich does not break RELA targets.
--
Julien LEMOINE / SpeedBlue
--- binutils-2.13.90.0.18.orig/bfd/elf32-i386.c 2003-01-21 19:21:32.000000000 +0100
+++ binutils-2.13.90.0.18/bfd/elf32-i386.c 2003-04-21 20:34:32.000000000 +0200
@@ -378,7 +378,8 @@
arelent *cache_ptr ATTRIBUTE_UNUSED;
Elf_Internal_Rela *dst ATTRIBUTE_UNUSED;
{
- abort ();
+ // Do not abort here, can be here when binary is prelinked.
+ elf_i386_info_to_howto_rel(abfd, cache_ptr, dst);
}
static void