https://sourceware.org/bugzilla/show_bug.cgi?id=21505

            Bug ID: 21505
           Summary: objcopy fails --prefix-symbols on armv7
           Product: binutils
           Version: 2.28
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: cocoarui09 at gmail dot com
  Target Milestone: ---

Hi there,

   I've installed binutils 2.28 via homebrew on Mac os sierra 10.12.4, and
changed gobjdump name to objdump, also the objcopy.

   I've checked the .o file by: `lipo -info hmac_md5.o`,
and it print out: 
`Non-fat file: hmac_md5.o is architecture: armv7`. 
then I tried to change symbol prefix name by:
`objcopy --prefix-symbols=hc_ hmac_md5.o`
and it print out:
`gobjcopy: hmac_md5.o: file format error`

and when I typed in console:
`objdump -t hmac_md5.o`
it print out:
`hmac_md5.o:     file format mach-o-arm`

   BTW, I also tried the arm64 hmac_md5.o, it workd well. Please help.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to