Remove strip_underscore from struct emulation

This field is unused.  I would have liked to also remove
leading_underscore and fake_label_name but in an i386-elf/coff/aout
multi-obj setup those fields are used to select a different
fake_label_name for aout.

	* emul.h (struct emulation): Delete strip_underscore.
	* emul-target.h (emul_strip_underscore): Don't define.
	(emul_struct_name): Update initialization.
This commit is contained in:
Alan Modra
2019-03-20 18:35:16 +10:30
parent 7553c869a9
commit 86b0c8dda0
3 changed files with 7 additions and 6 deletions

View File

@@ -30,7 +30,6 @@ struct emulation
unsigned local_labels_fb : 1;
unsigned local_labels_dollar : 1;
unsigned leading_underscore : 2;
unsigned strip_underscore : 1;
unsigned default_endian : 2;
const char * fake_label_name;
const struct format_ops * format;