tidy binary, ihex and verilog

* binary.c (binary_sizeof_headers): Delete function.  Define
	instead.
	* ihex.c (ihex_sizeof_headers): Likewise.
	(ihex_vec): Use _bfd_nosymbols for BFD_JUMP_TABLE_SYMBOLS.  Delete
	now unused defines.
	* verilog.c: Delete unused defines.
This commit is contained in:
Alan Modra
2025-01-16 14:45:01 +10:30
parent 031ca0cf1f
commit 394a3f4f8d
3 changed files with 3 additions and 62 deletions

View File

@@ -293,15 +293,7 @@ binary_set_section_contents (bfd *abfd,
return _bfd_generic_set_section_contents (abfd, sec, data, offset, size);
}
/* No space is required for header information. */
static int
binary_sizeof_headers (bfd *abfd ATTRIBUTE_UNUSED,
struct bfd_link_info *info ATTRIBUTE_UNUSED)
{
return 0;
}
#define binary_sizeof_headers _bfd_nolink_sizeof_headers
#define binary_bfd_get_relocated_section_contents bfd_generic_get_relocated_section_contents
#define binary_bfd_relax_section bfd_generic_relax_section
#define binary_bfd_gc_sections bfd_generic_gc_sections