This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Fix objdump -R internal error on prelinked binaries


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]