[Top][All Lists]

[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:54:19 +0000


--- Comment #4 from Alan Modra <amodra at gmail dot com> 2011-03-01 01:54:16 
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 pers

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]