Localize varible to avoid warning

* ldlang.c (base): Move variable to..
	* mri.c: ..here, and make static.
	* ldlang.h (base): Delete declaration.
This commit is contained in:
Alan Modra
2014-05-24 22:40:11 +09:30
parent 697aa1b7d3
commit 0ef76c43d7
4 changed files with 8 additions and 3 deletions

View File

@@ -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;