From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Lance Taylor To: hjl@lucon.org Cc: svivanov@pdmi.ras.ru, egcs@cygnus.com Subject: Re: Why link C with crtstuff? [patch] Date: Tue, 28 Apr 1998 10:26:00 -0000 Message-id: <199804281718.NAA02506@subrogation.cygnus.com> References: X-SW-Source: 1998-04/msg01101.html From: hjl@lucon.org (H.J. Lu) Date: Tue, 28 Apr 1998 10:13:19 -0700 (PDT) 2. Modify the gnu linker to take ld ... --local foo,bar,.... which will make foo, bar .. local to libfoo.so. I believe everything is almost in binutils 2.9. We just need to add the --local option to ld. I don't know if this is the right approach to take. I'll just note that you can already use a version script to force certain symbols to be local to a shared library. Ian