diff options
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | includes/sys/sdt.h | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -5,7 +5,7 @@ ordinary system functions. - User space marker arguments no longer use volatile if the version of gcc, - which must be at least 4.4.4, supports richer DWARF debuginfo. Use cflags + which must be at least 4.5.0, supports richer DWARF debuginfo. Use cflags -DSTAP_SDT_VOLATILE=volatile or -DSTAP_SDT_VOLATILE= when building the sys/sdt.h application to override this one way or another. diff --git a/includes/sys/sdt.h b/includes/sys/sdt.h index ed4b4af6..6ef961f2 100644 --- a/includes/sys/sdt.h +++ b/includes/sys/sdt.h @@ -86,7 +86,7 @@ #ifndef STAP_SDT_VOLATILE /* allow users to override */ #define GNUC_VERSION (__GNUC__ * 1000000 + __GNUC_MINOR__ * 10000 + __GNUC_PATCHLEVEL__ * 100 + __GNUC_RH_RELEASE__) -#if GNUC_VERSION >= 4040400 +#if GNUC_VERSION >= 4050000 #define STAP_SDT_VOLATILE #else #define STAP_SDT_VOLATILE volatile |