From: Tristan Gingold Date: Thu, 3 Sep 2009 12:54:21 +0000 (+0000) Subject: 2009-09-03 Tristan Gingold X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5bc2ed935e6774432692a34f0e2325bbdf57be01;p=binutils-gdb.git 2009-09-03 Tristan Gingold * as.h (__PRETTY_FUNCTION__): Use the same definition as bfd/libbfd.h. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 51384a9cf21..b0763deb893 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2009-09-03 Tristan Gingold + + * as.h (__PRETTY_FUNCTION__): Use the same definition as bfd/libbfd.h. + 2009-09-02 Jie Zhang * config/bfin-parse.y (value_match): Use int instead of long. diff --git a/gas/as.h b/gas/as.h index 9494cd46ef6..7366121b03a 100644 --- a/gas/as.h +++ b/gas/as.h @@ -106,7 +106,7 @@ typedef int * va_list; #undef NDEBUG #endif #if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 6) -#define __PRETTY_FUNCTION__ ((char*)0) +#define __PRETTY_FUNCTION__ ((char *) NULL) #endif #define gas_assert(P) \ ((void) ((P) ? 0 : (as_assert (__FILE__, __LINE__, __PRETTY_FUNCTION__), 0)))