Change type of v850_target_arch to enum bfd_architecture
authorTrevor Saunders <tbsaunde+binutils@tbsaunde.org>
Mon, 16 May 2016 22:04:17 +0000 (18:04 -0400)
committerTrevor Saunders <tbsaunde+binutils@tbsaunde.org>
Wed, 18 May 2016 10:09:44 +0000 (06:09 -0400)
gas/ChangeLog:

2016-05-18  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>

* config/tc-v850.c (v850_target_arch): change type to enum
bfd_architecture.
* config/tc-v850.h (v850_target_arch): Likewise.

gas/config/tc-v850.c
gas/config/tc-v850.h

index 929c87d609952798e1b45fbce060cd7570fb2190..b0135b33d3f2cef57542521b13ce82cde75ec6eb 100644 (file)
@@ -39,7 +39,7 @@ static int machine = -1;
 
 
 /* Indiciates the target BFD architecture.  */
-int          v850_target_arch = bfd_arch_v850_rh850;
+enum bfd_architecture v850_target_arch = bfd_arch_v850_rh850;
 const char * v850_target_format = "elf32-v850-rh850";
 static flagword v850_e_flags = 0;
 
index 7e7db28e26c2340f420ded54fa1063d8b27ce68f..c734c604621d5a84612f6a5ce774706b749193aa 100644 (file)
@@ -26,7 +26,7 @@
 
 /* The target BFD architecture.  */
 #define TARGET_ARCH            v850_target_arch
-extern int v850_target_arch;
+extern enum bfd_architecture v850_target_arch;
 
 /* The target BFD format.  */
 #define TARGET_FORMAT          v850_target_format