aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2014-05-24 22:40:11 +0930
committerAlan Modra <amodra@gmail.com>2014-05-25 00:54:22 +0930
commit0ef76c43d739e436ad7f1cccd253cc5713d2d63d (patch)
tree3fe81553c595098ee6d38e1df9499de6a98f8319 /ld/ldlang.c
parent697aa1b7d399d80cf164f190d3743513085f1009 (diff)
downloadgdb-0ef76c43d739e436ad7f1cccd253cc5713d2d63d.zip
gdb-0ef76c43d739e436ad7f1cccd253cc5713d2d63d.tar.gz
gdb-0ef76c43d739e436ad7f1cccd253cc5713d2d63d.tar.bz2
Localize varible to avoid warning
* ldlang.c (base): Move variable to.. * mri.c: ..here, and make static. * ldlang.h (base): Delete declaration.
Diffstat (limited to 'ld/ldlang.c')
-rw-r--r--ld/ldlang.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ld/ldlang.c b/ld/ldlang.c
index 7c076a2..b48a9b3 100644
--- a/ld/ldlang.c
+++ b/ld/ldlang.c
@@ -112,8 +112,6 @@ struct asneeded_minfo **asneeded_list_tail;
DEFINED() need to increment this at the start of the traversal. */
int lang_statement_iteration = 0;
-etree_type *base; /* Relocation base - or null */
-
/* Return TRUE if the PATTERN argument is a wildcard pattern.
Although backslashes are treated specially if a pattern contains
wildcards, we do not consider the mere presence of a backslash to