[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/24703] objcopy fails --prefix-symbols with no error

From: nickc at redhat dot com
Subject: [Bug binutils/24703] objcopy fails --prefix-symbols with no error
Date: Wed, 26 Jun 2019 15:54:38 +0000


Nick Clifton <nickc at redhat dot com> changed:

           What    |Removed                     |Added
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2019-06-26
                 CC|                            |nickc at redhat dot com
     Ever confirmed|0                           |1

--- Comment #2 from Nick Clifton <nickc at redhat dot com> ---
Hi Raulf,

  Thanks for reporting this bug.  There are actually two problems.
  The first is this message: "gobjcopy: a_enum.o: no error".  That
  is wrong.  That actually was an error, and this error prevented
  the symbol prefixing from happening.

  The second problem is that there is something wrong with the object
  file that you are trying to modify.  The gobjcopy program is unable
  to process the relocs inside it, and this is why an error should
  have been reported.  Actually it is also likely that the file itself
  is fine, but that it contains relocs that the gobjcopy program does
  not recognise.

  I am applying a patch which will add in a more informative error

   % gobjcopy --prefix-symbols rong a_enum.o
   gobjcopy: malformed mach-o ARM reloc pair: invalid length: 3
   gobjcopy: a_enum.o: invalid operation

  This does not resolve the underlying problem of whether or not the
  relocs inside a_enum.o are correct or not, but since I am not a
  Mach-O expert, I cannot make that decision.


You are receiving this mail because:
You are on the CC list for the bug.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]