Remove unused args from bfd_make_debug_symbol

The ptr and size args are unused.  Make the function look the same as
bfd_make_empty_symbol.
This commit is contained in:
Alan Modra
2023-05-03 15:53:29 +09:30
parent 717d4bd6d1
commit a07223191b
9 changed files with 14 additions and 19 deletions

View File

@@ -1991,9 +1991,7 @@ coff_make_empty_symbol (bfd *abfd)
/* Make a debugging symbol. */
asymbol *
coff_bfd_make_debug_symbol (bfd *abfd,
void * ptr ATTRIBUTE_UNUSED,
unsigned long sz ATTRIBUTE_UNUSED)
coff_bfd_make_debug_symbol (bfd *abfd)
{
size_t amt = sizeof (coff_symbol_type);
coff_symbol_type *new_symbol = (coff_symbol_type *) bfd_alloc (abfd, amt);