From 0ef76c43d739e436ad7f1cccd253cc5713d2d63d Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Sat, 24 May 2014 22:40:11 +0930 Subject: Localize varible to avoid warning * ldlang.c (base): Move variable to.. * mri.c: ..here, and make static. * ldlang.h (base): Delete declaration. --- ld/mri.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ld/mri.c') diff --git a/ld/mri.c b/ld/mri.c index 6db22a6..70d4e02 100644 --- a/ld/mri.c +++ b/ld/mri.c @@ -44,6 +44,8 @@ struct section_name_struct { }; static unsigned int symbol_truncate = 10000; +static etree_type *base; /* Relocation base - or null */ + static struct section_name_struct *order; static struct section_name_struct *only_load; static struct section_name_struct *address; -- cgit v1.1