gas: drop generate_asm_lineno emulation hook

It's not wired up, so can't be used.
This commit is contained in:
Jan Beulich 2024-10-04 09:38:05 +02:00
parent ccaa95c887
commit d6b42c3035
5 changed files with 0 additions and 14 deletions

View File

@ -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. */

View File

@ -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,

View File

@ -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. */

View File

@ -3190,15 +3190,6 @@ elf_frob_file_after_relocs (void)
#endif /* NEED_ECOFF_DEBUG */
}
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,
@ -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,

View File

@ -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);