[binutils-gdb/binutils-2_34-branch] include: Sync plugin-api.h with GCC
H.J. Lu
hjl@sourceware.org
Wed Apr 1 09:42:17 GMT 2020
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=3053d7a163cef3a17c199026a2f1b97a24030a4f
commit 3053d7a163cef3a17c199026a2f1b97a24030a4f
Author: Martin Liska <mliska@suse.cz>
Date: Wed Apr 1 02:36:11 2020 -0700
include: Sync plugin-api.h with GCC
Fix typo in a macro usage.
PR lto/94249
* plugin-api.h: Fix a typo.
(cherry picked from commit 40bd13ced9c03c74af9d55a98d6e06ddcf11429c)
Diff:
---
include/ChangeLog | 6 ++++++
include/plugin-api.h | 2 +-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/include/ChangeLog b/include/ChangeLog
index ec64261681e..2cf472a5df6 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,9 @@
+2020-04-01 Martin Liska <mliska@suse.cz>
+ Maciej W. Rozycki <macro@linux-mips.org>
+
+ PR lto/94249
+ * plugin-api.h: Fix a typo.
+
2020-03-25 Martin Liska <mliska@suse.cz>
PR lto/94249
diff --git a/include/plugin-api.h b/include/plugin-api.h
index 864d2bf91ac..e317d784785 100644
--- a/include/plugin-api.h
+++ b/include/plugin-api.h
@@ -51,7 +51,7 @@
/* Older GCC releases (<4.6.0) can make detection from glibc macros. */
#if defined(__GLIBC__) || defined(__GNU_LIBRARY__) || defined(__ANDROID__)
#include <endian.h>
-#ifdef _BYTE_ORDER
+#ifdef __BYTE_ORDER
#if __BYTE_ORDER == __LITTLE_ENDIAN
#define PLUGIN_LITTLE_ENDIAN 1
#elif __BYTE_ORDER == __BIG_ENDIAN
More information about the Binutils-cvs
mailing list