aboutsummaryrefslogtreecommitdiff
path: root/gas/ChangeLog
diff options
context:
space:
mode:
authorTrevor Saunders <tbsaunde+binutils@tbsaunde.org>2016-05-28 22:31:07 -0400
committerTrevor Saunders <tbsaunde+binutils@tbsaunde.org>2016-06-05 23:27:41 -0400
commitc4212e111cdd46d3b7da8b60c5adf39b8654e3c6 (patch)
tree28a0450d38cf8f93ba98c135f9672b93705d283e /gas/ChangeLog
parentb5966800eaa13f4b886f94fed01a7fdfac2b3965 (diff)
downloadgdb-c4212e111cdd46d3b7da8b60c5adf39b8654e3c6.zip
gdb-c4212e111cdd46d3b7da8b60c5adf39b8654e3c6.tar.gz
gdb-c4212e111cdd46d3b7da8b60c5adf39b8654e3c6.tar.bz2
sh{,64}: make arg type enum
The values are always members of the enum, except the two places -1 is assigned only to playcate -Wuninitialized because gcc isn't or at least didn't used to be smart enough to figure out its only used if it was set. gas/ChangeLog: 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org> * config/tc-sh.c (parse_reg): Change type of mode argument to sh_arg_type. (get_operand): Adjust. (insert): Change type of how to bfd_reloc_code_real_type. (insert4): Likewise. * config/tc-sh64.c (shmedia_get_operand): Adjust. (shmedia_parse_reg): Change type of mode to shmedia_arg_type.
Diffstat (limited to 'gas/ChangeLog')
-rw-r--r--gas/ChangeLog10
1 files changed, 10 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index cae94da..c97aa1d 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,15 @@
2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
+ * config/tc-sh.c (parse_reg): Change type of mode argument to
+ sh_arg_type.
+ (get_operand): Adjust.
+ (insert): Change type of how to bfd_reloc_code_real_type.
+ (insert4): Likewise.
+ * config/tc-sh64.c (shmedia_get_operand): Adjust.
+ (shmedia_parse_reg): Change type of mode to shmedia_arg_type.
+
+2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
+
* config/tc-nds32.c (nds32_parse_option): Make the type of ptr_arg
const char *.