From: David O'Brien Date: Thu, 31 Oct 2002 09:32:05 +0000 (+0000) Subject: 2002-10-31 David O'Brien X-Git-Tag: binutils-2_13_1~18 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2a589e8d25ff635be95b8bedafea8a4a3b005194;p=thirdparty%2Fbinutils-gdb.git 2002-10-31 David O'Brien * config/tc-ia64.c: Cast dwarf2_directive_file to int. * config/tc-sparc.c: Likewise. * config/tc-alpha.c: Cast s_alpha_file to int. * config/tc-alpha.h (TC_INIT_FIX_DATA): info is of type struct alpha_reloc_tag. Approved by: Alan Modra Message-ID: <20021012184546.W979@bubble.sa.bigpond.net.au> --- diff --git a/gas/ChangeLog b/gas/ChangeLog index dad9751b114..6aafb0417fc 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,11 @@ +2002-10-31 David O'Brien + + * config/tc-ia64.c: Cast dwarf2_directive_file to int. + * config/tc-sparc.c: Likewise. + * config/tc-alpha.c: Cast s_alpha_file to int. + * config/tc-alpha.h (TC_INIT_FIX_DATA): info is of type struct + alpha_reloc_tag. + 2002-10-30 Daniel Jacobowitz * configure.in: Update ARM CPU patterns. diff --git a/gas/config/tc-alpha.c b/gas/config/tc-alpha.c index 6ebd154e0c9..8940256a5ff 100644 --- a/gas/config/tc-alpha.c +++ b/gas/config/tc-alpha.c @@ -5494,7 +5494,7 @@ const pseudo_typeS md_pseudo_table[] = { {"fmask", s_alpha_mask, 1}, {"frame", s_alpha_frame, 0}, {"prologue", s_alpha_prologue, 0}, - {"file", s_alpha_file, 5}, + {"file", (void (*) PARAMS ((int))) s_alpha_file, 5}, {"loc", s_alpha_loc, 9}, {"stabs", s_alpha_stab, 's'}, {"stabn", s_alpha_stab, 'n'}, diff --git a/gas/config/tc-alpha.h b/gas/config/tc-alpha.h index 247fea6f7a3..4918b204325 100644 --- a/gas/config/tc-alpha.h +++ b/gas/config/tc-alpha.h @@ -152,7 +152,7 @@ struct alpha_fix_tag #define TC_INIT_FIX_DATA(fixP) \ do { \ fixP->tc_fix_data.next_reloc = (struct fix *)0; \ - fixP->tc_fix_data.info = (struct alpha_literal_tag *)0; \ + fixP->tc_fix_data.info = (struct alpha_reloc_tag *)0; \ } while (0) /* Work with DEBUG5 to print fields in tc_fix_type. */ diff --git a/gas/config/tc-ia64.c b/gas/config/tc-ia64.c index ae26adac1fe..a634d809552 100644 --- a/gas/config/tc-ia64.c +++ b/gas/config/tc-ia64.c @@ -4827,7 +4827,7 @@ const pseudo_typeS md_pseudo_table[] = { "body", dot_body, 0 }, { "prologue", dot_prologue, 0 }, { "endp", dot_endp, 0 }, - { "file", dwarf2_directive_file, 0 }, + { "file", (void (*) PARAMS ((int))) dwarf2_directive_file, 0 }, { "loc", dwarf2_directive_loc, 0 }, { "fframe", dot_fframe, 0 }, diff --git a/gas/config/tc-sparc.c b/gas/config/tc-sparc.c index 5c610a9670e..5fa4fe980f3 100644 --- a/gas/config/tc-sparc.c +++ b/gas/config/tc-sparc.c @@ -159,7 +159,7 @@ const pseudo_typeS md_pseudo_table[] = {"uaword", s_uacons, 4}, {"uaxword", s_uacons, 8}, #ifdef OBJ_ELF - {"file", dwarf2_directive_file, 0}, + {"file", (void (*) PARAMS ((int))) dwarf2_directive_file, 0}, {"loc", dwarf2_directive_loc, 0}, /* These are specific to sparc/svr4. */ {"2byte", s_uacons, 2},