Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/gnu/usr.bin/ld/ld Remove RELOC_SYMBOLICS_THROUGH_JMPSLOT sin...
details: https://anonhg.NetBSD.org/src/rev/bb896956b121
branches: trunk
changeset: 486740:bb896956b121
user: matt <matt%NetBSD.org@localhost>
date: Sun May 28 01:33:58 2000 +0000
description:
Remove RELOC_SYMBOLICS_THROUGH_JMPSLOT since it isn't required for VAX (and
that's why I added it).
diffstat:
gnu/usr.bin/ld/ld/ld.c | 12 ++----------
1 files changed, 2 insertions(+), 10 deletions(-)
diffs (40 lines):
diff -r b908baf0e650 -r bb896956b121 gnu/usr.bin/ld/ld/ld.c
--- a/gnu/usr.bin/ld/ld/ld.c Sun May 28 01:28:52 2000 +0000
+++ b/gnu/usr.bin/ld/ld/ld.c Sun May 28 01:33:58 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ld.c,v 1.69 2000/04/26 02:49:04 mrg Exp $ */
+/* $NetBSD: ld.c,v 1.70 2000/05/28 01:33:58 matt Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -88,7 +88,7 @@
#ifndef lint
/* from: "@(#)ld.c 6.10 (Berkeley) 5/22/91"; */
-__RCSID("$NetBSD: ld.c,v 1.69 2000/04/26 02:49:04 mrg Exp $");
+__RCSID("$NetBSD: ld.c,v 1.70 2000/05/28 01:33:58 matt Exp $");
#endif /* not lint */
#define GNU_BINUTIL_COMPAT /* forwards compatiblity with binutils 2.x */
@@ -2384,10 +2384,6 @@
if (!RELOC_EXTERN_P(reloc))
continue;
-#if !RELOC_SYMBOLICS_THROUGH_JMPSLOT
- if (link_mode & SYMBOLIC)
- continue;
-#endif
lsp = &entry->symbols[reloc->r_symbolnum];
sp = lsp->symbol;
@@ -3166,10 +3162,6 @@
relocation = addend +
data_relocation - text_relocation;
#endif
-#if !RELOC_SYMBOLICS_THROUGH_JMPSLOT
- } else if (link_mode & SYMBOLIC) {
- relocation = addend + sp->value;
-#endif
} else {
#if defined (__arm32__) && 1 /* XXX MAGIC */
long temp;
Home |
Main Index |
Thread Index |
Old Index