diff options
author | Trevor Saunders <tbsaunde+binutils@tbsaunde.org> | 2016-05-16 18:04:17 -0400 |
---|---|---|
committer | Trevor Saunders <tbsaunde+binutils@tbsaunde.org> | 2016-05-18 06:09:44 -0400 |
commit | b42e9fa8cc214f0fa94598da86aa112713a9b192 (patch) | |
tree | 91d059cbdde8a392aee922e2b26acdc441b43972 /gas | |
parent | d1f70bdcab6cffce423617c6e081a5128d9dabe0 (diff) | |
download | gdb-b42e9fa8cc214f0fa94598da86aa112713a9b192.zip gdb-b42e9fa8cc214f0fa94598da86aa112713a9b192.tar.gz gdb-b42e9fa8cc214f0fa94598da86aa112713a9b192.tar.bz2 |
Change type of v850_target_arch to enum bfd_architecture
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.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/config/tc-v850.c | 2 | ||||
-rw-r--r-- | gas/config/tc-v850.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gas/config/tc-v850.c b/gas/config/tc-v850.c index 929c87d..b0135b3 100644 --- a/gas/config/tc-v850.c +++ b/gas/config/tc-v850.c @@ -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; diff --git a/gas/config/tc-v850.h b/gas/config/tc-v850.h index 7e7db28..c734c60 100644 --- a/gas/config/tc-v850.h +++ b/gas/config/tc-v850.h @@ -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 |