diff options
author | Jan Beulich <jbeulich@suse.com> | 2024-10-04 09:38:05 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2024-10-04 09:38:05 +0200 |
commit | d6b42c30358d3f542a11cdf700592e15ee42d86e (patch) | |
tree | 68ef190f8b2e4beb2ac4de501d11c1924cfe6e2d | |
parent | ccaa95c887891e2db6503aaf252d9781a577ec37 (diff) | |
download | gdb-d6b42c30358d3f542a11cdf700592e15ee42d86e.zip gdb-d6b42c30358d3f542a11cdf700592e15ee42d86e.tar.gz gdb-d6b42c30358d3f542a11cdf700592e15ee42d86e.tar.bz2 |
gas: drop generate_asm_lineno emulation hook
It's not wired up, so can't be used.
-rw-r--r-- | gas/config/obj-aout.c | 1 | ||||
-rw-r--r-- | gas/config/obj-coff.c | 1 | ||||
-rw-r--r-- | gas/config/obj-ecoff.c | 1 | ||||
-rw-r--r-- | gas/config/obj-elf.c | 10 | ||||
-rw-r--r-- | gas/obj.h | 1 |
5 files changed, 0 insertions, 14 deletions
diff --git a/gas/config/obj-aout.c b/gas/config/obj-aout.c index d6384d8..8916443 100644 --- a/gas/config/obj-aout.c +++ b/gas/config/obj-aout.c @@ -315,7 +315,6 @@ const struct format_ops aout_format_ops = obj_aout_s_get_type, obj_aout_s_set_type, 0, /* copy_symbol_attributes. */ - 0, /* generate_asm_lineno. */ obj_aout_process_stab, obj_aout_separate_stab_sections, 0, /* init_stab_section. */ diff --git a/gas/config/obj-coff.c b/gas/config/obj-coff.c index 6655241..4f5973a 100644 --- a/gas/config/obj-coff.c +++ b/gas/config/obj-coff.c @@ -1936,7 +1936,6 @@ const struct format_ops coff_format_ops = 0, /* s_get_type */ 0, /* s_set_type */ 0, /* copy_symbol_attributes */ - 0, /* generate_asm_lineno */ 0, /* process_stab */ coff_separate_stab_sections, obj_coff_init_stab_section, diff --git a/gas/config/obj-ecoff.c b/gas/config/obj-ecoff.c index 9dfa0ee..7ef9bb4 100644 --- a/gas/config/obj-ecoff.c +++ b/gas/config/obj-ecoff.c @@ -310,7 +310,6 @@ const struct format_ops ecoff_format_ops = 0, /* s_get_type. */ 0, /* s_set_type. */ 0, /* copy_symbol_attributes. */ - ecoff_generate_asm_lineno, ecoff_stab, ecoff_separate_stab_sections, 0, /* init_stab_section. */ diff --git a/gas/config/obj-elf.c b/gas/config/obj-elf.c index 93a1589..1bed3ff 100644 --- a/gas/config/obj-elf.c +++ b/gas/config/obj-elf.c @@ -3191,15 +3191,6 @@ elf_frob_file_after_relocs (void) } static void -elf_generate_asm_lineno (void) -{ -#ifdef NEED_ECOFF_DEBUG - if (ECOFF_DEBUGGING) - ecoff_generate_asm_lineno (); -#endif -} - -static void elf_process_stab (int what ATTRIBUTE_UNUSED, const char *string ATTRIBUTE_UNUSED, int type ATTRIBUTE_UNUSED, @@ -3297,7 +3288,6 @@ const struct format_ops elf_format_ops = 0, /* s_get_type */ 0, /* s_set_type */ elf_copy_symbol_attributes, - elf_generate_asm_lineno, elf_process_stab, elf_separate_stab_sections, elf_init_stab_section, @@ -63,7 +63,6 @@ struct format_ops { int (*s_get_type) (symbolS *); void (*s_set_type) (symbolS *, int); void (*copy_symbol_attributes) (symbolS *, symbolS *); - void (*generate_asm_lineno) (void); void (*process_stab) (int, const char *, int, int, int); int (*separate_stab_sections) (void); void (*init_stab_section) (segT, segT); |