LD: vfinfo: Remove static NULL initializers
Remove static NULL initializers, moving the respective variables from data to BSS and saving some storage space. ld/ * ldmisc.c (vfinfo) <'H'>: Remove static NULL initializers.
This commit is contained in:
parent
b58a8c0c83
commit
befe814dd9
|
@ -1,3 +1,7 @@
|
|||
2017-02-15 Maciej W. Rozycki <macro@imgtec.com>
|
||||
|
||||
* ldmisc.c (vfinfo) <'H'>: Remove static NULL initializers.
|
||||
|
||||
2017-02-15 Igor Kudrin <ikudrin@accesssoftek.com>
|
||||
|
||||
* testsuite/ld-scripts/sysroot-prefix.exp
|
||||
|
|
|
@ -280,8 +280,8 @@ vfinfo (FILE *fp, const char *fmt, va_list arg, bfd_boolean is_warning)
|
|||
The arguments are a BFD, a section, and an offset. */
|
||||
{
|
||||
static bfd *last_bfd;
|
||||
static char *last_file = NULL;
|
||||
static char *last_function = NULL;
|
||||
static char *last_file;
|
||||
static char *last_function;
|
||||
bfd *abfd;
|
||||
asection *section;
|
||||
bfd_vma offset;
|
||||
|
|
Loading…
Reference in New Issue