bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/23061] objcopy segfault in coff_mangle_symbols


From: amodra at gmail dot com
Subject: [Bug binutils/23061] objcopy segfault in coff_mangle_symbols
Date: Thu, 23 Aug 2018 23:01:44 +0000

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

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |amodra at gmail dot com

--- Comment #10 from Alan Modra <amodra at gmail dot com> ---
The latest patch regressed i386-darwin.
i386-darwin  +FAIL: objcopy (simple copy)
i386-darwin  +FAIL: strip --strip-unneeded on common symbol

$ ./objdump -t tmpdir/bintest.o tmpdir/copy.o

tmpdir/bintest.o:     file format mach-o-i386

SYMBOL TABLE:
00000000 l       0e SECT   01 0000 [.text] static_text_symbol
00000008 l       0e SECT   02 0000 [.data] static_data_symbol
00000008 g       0f SECT   02 0000 [.data] data_symbol
00000000 g       0f SECT   01 0000 [.text] text_symbol
00000004         01 COM    00 0000 common_symbol
00000000 g       01 UND    00 0000 external_symbol



tmpdir/copy.o:     file format mach-o-i386

SYMBOL TABLE:
00000000 l       0e SECT   01 0000 [.text] static_text_symbol
00000008 l       0e SECT   02 0000 [.data] static_data_symbol
00000004 l       00 COM    00 0000 common_symbol
00000008 g       0f SECT   02 0000 [.data] data_symbol
00000000 g       0f SECT   01 0000 [.text] text_symbol
00000000 g       01 UND    00 0000 external_symbol


Note the common_symbol change.

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