[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 |
https://sourceware.org/bugzilla/show_bug.cgi?id=24703
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
message:
% 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.
Cheers
Nick
--
You are receiving this mail because:
You are on the CC list for the bug.