diff options
author | Alan Modra <amodra@gmail.com> | 2019-03-20 18:35:16 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2019-03-21 08:50:24 +1030 |
commit | 86b0c8dda0b762fe3af25fb41bb04a63183d58d7 (patch) | |
tree | 08e9a621a099bc1f9caf88376e33d50470c99e45 /gas/emul-target.h | |
parent | 7553c869a9a9af813abd8cb4d445765d1a8a1cac (diff) | |
download | binutils-86b0c8dda0b762fe3af25fb41bb04a63183d58d7.zip binutils-86b0c8dda0b762fe3af25fb41bb04a63183d58d7.tar.gz binutils-86b0c8dda0b762fe3af25fb41bb04a63183d58d7.tar.bz2 |
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.
Diffstat (limited to 'gas/emul-target.h')
-rw-r--r-- | gas/emul-target.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gas/emul-target.h b/gas/emul-target.h index bbc4ad1..92b9b1b 100644 --- a/gas/emul-target.h +++ b/gas/emul-target.h @@ -38,10 +38,6 @@ #define emul_leading_underscore 2 #endif -#ifndef emul_strip_underscore -#define emul_strip_underscore 0 -#endif - #ifndef emul_default_endian #define emul_default_endian 2 #endif @@ -57,7 +53,7 @@ struct emulation emul_struct_name = emul_init, emul_bfd_name, emul_local_labels_fb, emul_local_labels_dollar, - emul_leading_underscore, emul_strip_underscore, + emul_leading_underscore, emul_default_endian, emul_fake_label_name, emul_format, |