From 3a8c4a5b428c1babd941606c2bbe9cf8a041d9d9 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 1 Dec 2015 13:56:09 +1030 Subject: Trim unused params from aout adjust_sizes_and_vmas * aoutx.h (adjust_sizes_and_vmas): Remove unused text_size and text_end parameters. Update callers. * aout-tic30.c: Update adjust_sizes_and_vmas callers. * hp300hpux.c: Likewise. * i386lynx.c: Likewise. * libaout.h: Likewise. * netbsd.h: Likewise. * pdp11.c: Likewise. * riscix.c: Likewise. --- bfd/aout-tic30.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'bfd/aout-tic30.c') diff --git a/bfd/aout-tic30.c b/bfd/aout-tic30.c index 6852c85..6ada4c1 100644 --- a/bfd/aout-tic30.c +++ b/bfd/aout-tic30.c @@ -636,11 +636,8 @@ tic30_aout_write_object_contents (bfd *abfd) obj_reloc_entry_size (abfd) = RELOC_STD_SIZE; { - bfd_size_type text_size; /* Dummy vars. */ - file_ptr text_end; - if (adata (abfd).magic == undecided_magic) - NAME (aout, adjust_sizes_and_vmas) (abfd, &text_size, &text_end); + NAME (aout, adjust_sizes_and_vmas) (abfd); execp->a_syms = bfd_get_symcount (abfd) * EXTERNAL_NLIST_SIZE; execp->a_entry = bfd_get_start_address (abfd); -- cgit v1.1