aboutsummaryrefslogtreecommitdiff
path: root/bfd/netbsd.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2015-12-01 13:56:09 +1030
committerAlan Modra <amodra@gmail.com>2015-12-01 14:00:33 +1030
commit3a8c4a5b428c1babd941606c2bbe9cf8a041d9d9 (patch)
tree8a7428479ed1b88498061505b50f84b2a8c8d2c6 /bfd/netbsd.h
parentbbb1afc89b5cfa2f09b6a7c25fbfef745fbdd724 (diff)
downloadgdb-3a8c4a5b428c1babd941606c2bbe9cf8a041d9d9.zip
gdb-3a8c4a5b428c1babd941606c2bbe9cf8a041d9d9.tar.gz
gdb-3a8c4a5b428c1babd941606c2bbe9cf8a041d9d9.tar.bz2
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.
Diffstat (limited to 'bfd/netbsd.h')
-rw-r--r--bfd/netbsd.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/bfd/netbsd.h b/bfd/netbsd.h
index abd5fe7..a696b98 100644
--- a/bfd/netbsd.h
+++ b/bfd/netbsd.h
@@ -84,12 +84,7 @@ MY (write_object_contents) (bfd *abfd)
will normally have been done by set_section_contents, but only if
there actually are some section contents. */
if (! abfd->output_has_begun)
- {
- bfd_size_type text_size;
- file_ptr text_end;
-
- NAME (aout, adjust_sizes_and_vmas) (abfd, & text_size, & text_end);
- }
+ NAME (aout, adjust_sizes_and_vmas) (abfd);
obj_reloc_entry_size (abfd) = RELOC_STD_SIZE;