diff options
author | peter <peter@FreeBSD.org> | 1996-10-01 01:22:51 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1996-10-01 01:22:51 +0000 |
commit | 84a69ec571fc69439f49a2a47d5963f49cf6488e (patch) | |
tree | 971c56261cf0f40cf9505ac3c935e0bbc707a2df /gnu/usr.bin/ld/xbits.c | |
parent | 23b2a82332a3d2e5a644b9b9476f24286d0889a3 (diff) | |
download | FreeBSD-src-84a69ec571fc69439f49a2a47d5963f49cf6488e.zip FreeBSD-src-84a69ec571fc69439f49a2a47d5963f49cf6488e.tar.gz |
Support for .weak (in addition to the N_INDR stab) for gcc/g++. Also deal
with the -R option and store the path in the dynamic header when specified.
The $LD_RUN_PATH environment variable is not checked yet.
While here, split up the code a bit more to enable more selective replacing
of GPL'ed components that are linked with ld.so with others.
Obtained from: NetBSD (mostly, the breakup is my fault)
Diffstat (limited to 'gnu/usr.bin/ld/xbits.c')
-rw-r--r-- | gnu/usr.bin/ld/xbits.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/usr.bin/ld/xbits.c b/gnu/usr.bin/ld/xbits.c index 6374beb..edcb16a 100644 --- a/gnu/usr.bin/ld/xbits.c +++ b/gnu/usr.bin/ld/xbits.c @@ -27,7 +27,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: xbits.c,v 1.2 1993/11/09 04:19:08 paul Exp $ + * $Id: xbits.c,v 1.3 1994/02/13 20:41:50 jkh Exp $ */ /* @@ -48,6 +48,7 @@ #include <string.h> #include "ld.h" +#include "dynamic.h" void swap_longs(lp, n) |