bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/12524] Linking with --oformat=binary discards non-static global


From: amodra at gmail dot com
Subject: [Bug ld/12524] Linking with --oformat=binary discards non-static global variables
Date: Tue, 1 Mar 2011 01:58:08 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=12524

--- Comment #5 from Alan Modra <amodra at gmail dot com> 2011-03-01 01:58:07 
UTC ---
ld --oformat is a misfeature.  Don't use it.  As you have found, it doesn't
work except for the simplest of object files, and only then on a very limited
set of targets.  You are much better off linking to your usual target, then
converting the file with objcopy.

I'll leave this bug open rather than closing as WONTFIX in the hope that the
next person intending to report a problem with --oformat will first look in our
bug database and see this one.  I doubt very much that any of the active
binutils maintainers will do anything to improve ld --oformat support.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- 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]