bug-binutils
[Top][All Lists]
Advanced

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

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


From: raulftang at gmail dot com
Subject: [Bug binutils/24703] New: objcopy fails --prefix-symbols with no error
Date: Wed, 19 Jun 2019 09:01:09 +0000

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

            Bug ID: 24703
           Summary: objcopy fails --prefix-symbols with no error
           Product: binutils
           Version: 2.31
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: raulftang at gmail dot com
  Target Milestone: ---

Created attachment 11846
  --> https://sourceware.org/bugzilla/attachment.cgi?id=11846&action=edit
obj files

Hi there,

   I've installed binutils 2.31 via homebrew on Mac os Mojave 10.14.2.

   I've checked the .o file by: `lipo -info a_enum.o`,
and it print out: 
`Non-fat file: a_enum.o is architecture: armv7`. 

then I tried to change symbol prefix name by:
`gobjcopy --prefix-symbols rong a_enum.o`
and it print out:
`gobjcopy: a_enum.o: no error`

But symbol table for a_enum.o don't change.

and when I typed in console:
`objdump -t a_enum.o`
it print out:
`a_enum.o:     file format Mach-O arm`

SYMBOL TABLE:
000000b4 g     F __TEXT,__text  _ASN1_ENUMERATED_get
00000000 g     F __TEXT,__text  _ASN1_ENUMERATED_set
000001c4 g     F __TEXT,__text  _ASN1_ENUMERATED_to_BN
00000124 g     F __TEXT,__text  _BN_to_ASN1_ENUMERATED
00000000         *UND*  _ASN1_STRING_free
00000000         *UND*  _ASN1_STRING_type_new
00000000         *UND*  _BN_bin2bn
00000000         *UND*  _BN_bn2bin
00000000         *UND*  _BN_is_negative
00000000         *UND*  _BN_num_bits
00000000         *UND*  _BN_set_negative
00000000         *UND*  _ERR_put_error
00000000         *UND*  _OPENSSL_free
00000000         *UND*  _OPENSSL_malloc
00000000         *UND*  _OPENSSL_realloc
00000000         *UND*  ___stack_chk_fail
00000000         *UND*  ___stack_chk_guard

BTW, I used clang to produce the a_enum.o file and it worked for some .o file,
but didn't for others like a_enum.o.

-- 
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]