diff options
author | Alan Modra <amodra@gmail.com> | 2015-12-01 13:56:09 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2015-12-01 14:00:33 +1030 |
commit | 3a8c4a5b428c1babd941606c2bbe9cf8a041d9d9 (patch) | |
tree | 8a7428479ed1b88498061505b50f84b2a8c8d2c6 /bfd/riscix.c | |
parent | bbb1afc89b5cfa2f09b6a7c25fbfef745fbdd724 (diff) | |
download | gdb-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/riscix.c')
-rw-r--r-- | bfd/riscix.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/bfd/riscix.c b/bfd/riscix.c index a1f6401..fb780e2 100644 --- a/bfd/riscix.c +++ b/bfd/riscix.c @@ -110,11 +110,8 @@ #define WRITE_HEADERS(abfd, execp) \ { \ - 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); \ |