Fixup previous delta by replacing 'unsigned long' with 'bfd_vma'

This commit is contained in:
Nick Clifton
1998-10-28 18:32:07 +00:00
parent af3711e6b3
commit 7dd47bc8da
2 changed files with 10 additions and 5 deletions

View File

@ -1,3 +1,8 @@
Wed Oct 28 10:31:19 1998 Nick Clifton <nickc@cygnus.com>
* objdump.c (disassemble_data): Replace 'unsigned long' with
'bfd_vma'.
Tue Oct 27 14:39:00 1998 Nick Clifton <nickc@cygnus.com> Tue Oct 27 14:39:00 1998 Nick Clifton <nickc@cygnus.com>
* objdump.c (disassemble_bytes): Applied this patch from Philip * objdump.c (disassemble_bytes): Applied this patch from Philip

View File

@ -178,7 +178,7 @@ show_line PARAMS ((bfd *, asection *, bfd_vma));
static void static void
disassemble_bytes PARAMS ((struct disassemble_info *, disassembler_ftype, disassemble_bytes PARAMS ((struct disassemble_info *, disassembler_ftype,
boolean, bfd_byte *, unsigned long, unsigned long, boolean, bfd_byte *, bfd_vma, bfd_vma,
arelent ***, arelent **)); arelent ***, arelent **));
static void static void
@ -1152,8 +1152,8 @@ disassemble_bytes (info, disassemble_fn, insns, data, start, stop, relppp,
disassembler_ftype disassemble_fn; disassembler_ftype disassemble_fn;
boolean insns; boolean insns;
bfd_byte *data; bfd_byte *data;
unsigned long start; bfd_vma start;
unsigned long stop; bfd_vma stop;
arelent ***relppp; arelent ***relppp;
arelent **relppend; arelent **relppend;
{ {
@ -1162,7 +1162,7 @@ disassemble_bytes (info, disassemble_fn, insns, data, start, stop, relppp,
int bytes_per_line; int bytes_per_line;
boolean done_dot; boolean done_dot;
int skip_addr_chars; int skip_addr_chars;
unsigned long i; bfd_vma i;
aux = (struct objdump_disasm_info *) info->application_data; aux = (struct objdump_disasm_info *) info->application_data;
section = aux->sec; section = aux->sec;
@ -1199,7 +1199,7 @@ disassemble_bytes (info, disassemble_fn, insns, data, start, stop, relppp,
i = start; i = start;
while (i < stop) while (i < stop)
{ {
unsigned long z; bfd_vma z;
int bytes; int bytes;
boolean need_nl = false; boolean need_nl = false;