aboutsummaryrefslogtreecommitdiff
path: root/bfd/archures.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-09-12 16:23:25 +0000
committerIan Lance Taylor <ian@airs.com>1995-09-12 16:23:25 +0000
commitae115e5114deb0326333c80f7af9e689b2e7d01f (patch)
tree2c592646411768ec9a95b17070181cb5b068cf9c /bfd/archures.c
parentd8586e35caeb6ffea7058bce844023ec19140cc7 (diff)
downloadfsf-binutils-gdb-ae115e5114deb0326333c80f7af9e689b2e7d01f.zip
fsf-binutils-gdb-ae115e5114deb0326333c80f7af9e689b2e7d01f.tar.gz
fsf-binutils-gdb-ae115e5114deb0326333c80f7af9e689b2e7d01f.tar.bz2
Extensive minor changes to avoid various gcc warnings. Also:
* Makefile.in (BFD32_BACKENDS): Remove coff-arm.o. * archures.c (bfd_arch_info_type): Change mach field from long to unsigned long. (bfd_lookup_arch): Change machine parameter from long to unsigned long.
Diffstat (limited to 'bfd/archures.c')
-rw-r--r--bfd/archures.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bfd/archures.c b/bfd/archures.c
index 1b8f58e..c045061 100644
--- a/bfd/archures.c
+++ b/bfd/archures.c
@@ -151,7 +151,7 @@ DESCRIPTION
. int bits_per_address;
. int bits_per_byte;
. enum bfd_architecture arch;
-. long mach;
+. unsigned long mach;
. char *arch_name;
. CONST char *printable_name;
. unsigned int section_align_power;
@@ -732,7 +732,7 @@ SYNOPSIS
bfd_arch_info_type *bfd_lookup_arch
(enum bfd_architecture
arch,
- long machine);
+ unsigned long machine);
DESCRIPTION
Look for the architecure info structure which matches the
@@ -744,7 +744,7 @@ DESCRIPTION
bfd_arch_info_type *
bfd_lookup_arch (arch, machine)
enum bfd_architecture arch;
- long machine;
+ unsigned long machine;
{
bfd_arch_info_type *ap;
bfd_check_init();