aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2014-01-04 21:47:10 -0700
committerTom Tromey <tromey@redhat.com>2014-01-07 09:17:05 -0700
commit1651e569b457b0cbd6d0a57c09950166c7503f6b (patch)
tree4bf73ade7b5f671433562a1d3d5ad0662ad9843a /gas/config
parentb51f1626f645f272f19105c42cdb436381ee6357 (diff)
downloadgdb-1651e569b457b0cbd6d0a57c09950166c7503f6b.zip
gdb-1651e569b457b0cbd6d0a57c09950166c7503f6b.tar.gz
gdb-1651e569b457b0cbd6d0a57c09950166c7503f6b.tar.bz2
remove VA_* from binutils
This removes the last uses of the obsolete VA_* macros from binutils. All the binutils and bfd changes were tested by rebuilding. I didn't rebuild the gas change but I think it is obviously correct. 2014-01-07 Tom Tromey <tromey@redhat.com> * elf32-xtensa.c (vsprint_msg): Don't use old VA_* compatibility wrappers. 2014-01-07 Tom Tromey <tromey@redhat.com> * bucomm.c (fatal, non_fatal): Replace obsolete VA_* macros with stdarg macros. * dlltool.c (inform): Replace obsolete VA_* macros with stdarg macros. * dllwrap.c (inform, warn): Replace obsolete VA_* macros with stdarg macros. 2014-01-07 Tom Tromey <tromey@redhat.com> * config/tc-tic30.c (debug): Avoid old VA_* compatibility wrappers.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-tic30.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gas/config/tc-tic30.c b/gas/config/tc-tic30.c
index 570c833..5474df5 100644
--- a/gas/config/tc-tic30.c
+++ b/gas/config/tc-tic30.c
@@ -1,5 +1,5 @@
/* tc-c30.c -- Assembly code for the Texas Instruments TMS320C30
- Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006, 2007, 2009
+ Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006, 2007, 2009, 2014
Free Software Foundation, Inc.
Contributed by Steven Haworth (steve@pm.cse.rmit.edu.au)
@@ -85,11 +85,11 @@ debug (const char *string, ...)
if (flag_debug)
{
char str[100];
+ va_list argptr;
- VA_OPEN (argptr, string);
- VA_FIXEDARG (argptr, const char *, string);
+ va_start (argptr, string);
vsprintf (str, string, argptr);
- VA_CLOSE (argptr);
+ va_end (argptr);
if (str[0] == '\0')
return (0);
fputs (str, USE_STDOUT ? stdout : stderr);