diff options
author | midipix <writeonce@midipix.org> | 2015-03-21 16:17:42 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2015-03-21 16:17:42 -0400 |
commit | 47407cf33ecab9f430fa663cbeb96016f64045f8 (patch) | |
tree | 6af8a30b9ce5e47025077022cc0ac58def2a584c /gcc/config/i386/midipix_winnt_common.h | |
parent | eccacb0b973e23731121e17676e4ffee5c73c4de (diff) | |
download | cbb-gcc-4.6.4-47407cf33ecab9f430fa663cbeb96016f64045f8.tar.bz2 cbb-gcc-4.6.4-47407cf33ecab9f430fa663cbeb96016f64045f8.tar.xz |
midipix target implementation: initial commit.
signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
Diffstat (limited to 'gcc/config/i386/midipix_winnt_common.h')
-rw-r--r-- | gcc/config/i386/midipix_winnt_common.h | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/gcc/config/i386/midipix_winnt_common.h b/gcc/config/i386/midipix_winnt_common.h new file mode 100644 index 000000000..e6eae2014 --- /dev/null +++ b/gcc/config/i386/midipix_winnt_common.h @@ -0,0 +1,54 @@ +/*****************************************************************************/ +/* */ +/* midipix common definitions and source-compatibility layer */ +/* */ +/* Copyright (C) 2014,2015 Z. Gilboa */ +/* */ +/* This program is free software: you can redistribute it and/or modify */ +/* it under the terms of the GNU General Public License as published by */ +/* the Free Software Foundation, either version 3 of the License, or */ +/* (at your option) any later version. */ +/* */ +/* This program is distributed in the hope that it will be useful, */ +/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* GNU General Public License for more details. */ +/* */ +/* You should have received a copy of the GNU General Public License */ +/* along with this program. If not, see <http://www.gnu.org/licenses/>. */ +/* */ +/*****************************************************************************/ + +#ifndef MIDIPIX_WINNT_COMMON_H +#define MIDIPIX_WINNT_COMMON_H + +/* midipix: source-compatibility: fwritable-relocated-rdata */ +#ifndef IN_TARGET_LIBRARY_BUILD + extern const int flag_writable_rel_rdata; +#else + /* always off */ + const int x_flag_writable_rel_rdata = 0; + #define flag_writable_rel_rdata x_flag_writable_rel_rdata +#endif + + +/* midipix: source-compatibility: mpe-aligned-commons */ +#ifndef IN_TARGET_LIBRARY_BUILD + extern const int use_pe_aligned_common; +#else + /* always on */ + const int x_use_pe_aligned_common = 1; + #define use_pe_aligned_common x_use_pe_aligned_common +#endif + + +/* midipix: source-compatibility: mnop-fun-dllimport */ +#ifndef IN_TARGET_LIBRARY_BUILD + extern const int TARGET_NOP_FUN_DLLIMPORT; +#else + /* always off */ + const int x_TARGET_NOP_FUN_DLLIMPORT = 0; + #define TARGET_NOP_FUN_DLLIMPORT x_TARGET_NOP_FUN_DLLIMPORT +#endif + +#endif /* MIDIPIX_WINNT_COMMON_H */ |