diff options
author | Per Fogelstrom <pefo@cvs.openbsd.org> | 1996-09-28 12:37:23 +0000 |
---|---|---|
committer | Per Fogelstrom <pefo@cvs.openbsd.org> | 1996-09-28 12:37:23 +0000 |
commit | e8948b0aca9adf5520d945752ea57f63268966c7 (patch) | |
tree | 4ef1ed48a5c00e75de35e1fe63866bb9e565c6b2 /gnu/usr.bin/binutils/ld/ldctor.c | |
parent | 064b252e0f8f758323c68831a814054ea6a169a7 (diff) |
New fallback alg. added for arc machines. If libxx.so is not found scan for highest
version of libxx.so.n. This is what ldconfig sets as highest. This will make manual
linking of libxx.so to libxx.so.n not requiered any more.
Also some constructor/shared lib fixes. Relocs is placed in the wrong section though.
Hmmm..
Diffstat (limited to 'gnu/usr.bin/binutils/ld/ldctor.c')
-rw-r--r-- | gnu/usr.bin/binutils/ld/ldctor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/binutils/ld/ldctor.c b/gnu/usr.bin/binutils/ld/ldctor.c index d986f321287..c49b4d1fc79 100644 --- a/gnu/usr.bin/binutils/ld/ldctor.c +++ b/gnu/usr.bin/binutils/ld/ldctor.c @@ -161,7 +161,7 @@ ldctor_build_sets () howto = bfd_reloc_type_lookup (output_bfd, p->reloc); if (howto == (reloc_howto_type *) NULL) { - if (link_info.relocateable) + if (link_info.shared || link_info.relocateable) { einfo ("%P%X: %s does not support reloc %s for set %s\n", bfd_get_target (output_bfd), @@ -233,7 +233,7 @@ ldctor_build_sets () minfo ("%G\n", e->section->owner, e->section, e->value); } - if (link_info.relocateable) + if (link_info.shared || link_info.relocateable) lang_add_reloc (p->reloc, howto, e->section, e->name, exp_intop (e->value)); else |