diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-03-31 01:58:01 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-03-31 01:58:01 -0400 |
commit | 5a394431deb3745c04a74d2a109aca075f79afd6 (patch) | |
tree | 703db77ffdddfa292d7bc4b9a6dd5880a07ba316 /sim/common/cgen-mem.h | |
parent | 2b6ca06237301286016acc4b7bbf5338a27fd5fc (diff) | |
download | gdb-5a394431deb3745c04a74d2a109aca075f79afd6.zip gdb-5a394431deb3745c04a74d2a109aca075f79afd6.tar.gz gdb-5a394431deb3745c04a74d2a109aca075f79afd6.tar.bz2 |
common: cgen-mem/cgen-ops: fix extern inline handling
With newer versions of gcc (5.x), the extern inline we're using with the
cgen-{mem,ops} modules no longer work. Since this code really wants the
gnu inline semantics, use that attribute explicitly.
Diffstat (limited to 'sim/common/cgen-mem.h')
-rw-r--r-- | sim/common/cgen-mem.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sim/common/cgen-mem.h b/sim/common/cgen-mem.h index 3245ca9..5e4d464 100644 --- a/sim/common/cgen-mem.h +++ b/sim/common/cgen-mem.h @@ -20,10 +20,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ #ifndef CGEN_MEM_H #define CGEN_MEM_H +/* TODO: This should get moved into sim-inline.h. */ #ifdef MEMOPS_DEFINE_INLINE #define MEMOPS_INLINE #else -#define MEMOPS_INLINE extern inline +#define MEMOPS_INLINE EXTERN_INLINE #endif /* Integer memory read support. |