public inbox for gas2@sourceware.org
 help / color / mirror / Atom feed
* A change to ld in the binutils 2.4 breaks Linux
@ 1994-09-19 20:16 H.J. Lu
  1994-09-20  8:38 ` Ian Lance Taylor
  0 siblings, 1 reply; 3+ messages in thread
From: H.J. Lu @ 1994-09-19 20:16 UTC (permalink / raw)
  To: gas2; +Cc: Eric Youngdale

With ld from binutils 1.9, under linux

gcc foo.c bar.c

won't link. This feature is used by the Linux shared library to make
sure all the necessary libraries are linked in. But with the new
binutils, under Linux

gcc foo.c bar.c

links ok. That breaks the Linux shared library. Eric, we have to either
change our tools or modify the binutils.


-- 
H.J. Lu
NYNEX Science and Technology, Inc.			hjl@nynexst.com
-----foo.c----
main ()
{
  extern int x;
  return x;
}
----bar.c----
int x = 0;

asm (".stabs \"_need_this_one\",0,0,0,0");


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1994-09-20 20:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1994-09-19 20:16 A change to ld in the binutils 2.4 breaks Linux H.J. Lu
1994-09-20  8:38 ` Ian Lance Taylor
1994-09-20 20:38   ` H.J. Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).