diff options
author | 2000-04-29 00:56:29 +0000 | |
---|---|---|
committer | 2000-04-29 00:56:29 +0000 | |
commit | a1934524a3fc1e93084d3148ddf590eb78eba875 (patch) | |
tree | 953088caff9e271c09fbfcabddc5d069d368eaf5 /gas | |
parent | * Makefile.am (BFD64_BACKENDS, BFD64_BACKENDS_CFILES): Add (diff) | |
download | binutils-gdb-a1934524a3fc1e93084d3148ddf590eb78eba875.tar.gz binutils-gdb-a1934524a3fc1e93084d3148ddf590eb78eba875.tar.bz2 binutils-gdb-a1934524a3fc1e93084d3148ddf590eb78eba875.zip |
Correctly check gcc version.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 4 | ||||
-rw-r--r-- | gas/as.h | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 7d6e2b9db04..fcc7ed6bb4a 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2000-04-29 Andreas Jaeger <aj@suse.de> + + * as.h: Correctly check GCC version. + Mon Apr 24 15:21:11 2000 Clinton Popetz <cpopetz@cygnus.com> * as.c (parse_args): Allow md_parse_option to override -a listing @@ -112,7 +112,7 @@ extern void *alloca (); #ifdef DEBUG #undef NDEBUG #endif -#if !defined (__GNUC__) || __GNUC_MINOR__ <= 5 +#if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 6) #define __PRETTY_FUNCTION__ ((char*)0) #endif #if 0 @@ -512,7 +512,7 @@ typedef struct _pseudo_type pseudo_typeS; #if (__GNUC__ >= 2) && !defined(VMS) /* for use with -Wformat */ -#if __GNUC_MINOR__ < 6 +#if __GNUC__ == 2 && __GNUC_MINOR__ < 6 /* Support for double underscores in attribute names was added in gcc 2.6, so avoid them if we are using an earlier version. */ #define __printf__ printf |