diff options
author | Trevor Saunders <tbsaunde+binutils@tbsaunde.org> | 2016-02-28 17:21:12 -0500 |
---|---|---|
committer | Trevor Saunders <tbsaunde+binutils@tbsaunde.org> | 2016-03-31 07:27:36 -0400 |
commit | e87de5136e9054974b812a362099826fc83e74e9 (patch) | |
tree | 0d12510a4039ec058b9708e894d36aa89be9155d /gas/ChangeLog | |
parent | 47990a6ab563dbbd51b8394dd027071cec459d2e (diff) | |
download | gdb-e87de5136e9054974b812a362099826fc83e74e9.zip gdb-e87de5136e9054974b812a362099826fc83e74e9.tar.gz gdb-e87de5136e9054974b812a362099826fc83e74e9.tar.bz2 |
work around get_symbol_name () in sparc and ia64
get_symbol_name () returns a char * in a out arg, which means we need to cast
to assign a literal to the variable passed to get_symbol_name (). It seems
like better APIs than get_symbol_name () could be provided, but that seems like
a fair amount of work so just casting seems to be the betterthing to do for
now.
gas/ChangeLog:
2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
* config/tc-ia64.c (md_assemble): Add temporary variable to pass to
get_symbol_name ().
* config/tc-sparc.c (s_register): Cast a literal to char * in
assignment.
Diffstat (limited to 'gas/ChangeLog')
-rw-r--r-- | gas/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 9b6d066..4b3127c 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,12 @@ 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org> + * config/tc-ia64.c (md_assemble): Add temporary variable to pass to + get_symbol_name (). + * config/tc-sparc.c (s_register): Cast a literal to char * in + assignment. + +2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org> + * config/tc-i960.c (parse_expr): Cast to char * when assigning to input_line_pointer. * config/tc-m32r.c (expand_debug_syms): Likewise. |