diff options
author | Alan Modra <amodra@gmail.com> | 2014-05-24 22:40:11 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2014-05-25 00:54:22 +0930 |
commit | 0ef76c43d739e436ad7f1cccd253cc5713d2d63d (patch) | |
tree | 3fe81553c595098ee6d38e1df9499de6a98f8319 /ld/mri.c | |
parent | 697aa1b7d399d80cf164f190d3743513085f1009 (diff) | |
download | gdb-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/mri.c')
-rw-r--r-- | ld/mri.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |