mirror of
https://github.com/qemu/qemu.git
synced 2024-11-25 20:03:37 +08:00
OS X port
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1007 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
fbf59244b8
commit
1b039c09fe
@ -276,11 +276,12 @@ static inline uint32_t MASK (uint32_t start, uint32_t end)
|
||||
return ret;
|
||||
}
|
||||
|
||||
#if defined(__linux__)
|
||||
#if defined(__APPLE__)
|
||||
#define OPCODES_SECTION \
|
||||
__attribute__ ((section("__TEXT,__opcodes"), unused, aligned (8) ))
|
||||
#else
|
||||
#define OPCODES_SECTION \
|
||||
__attribute__ ((section(".opcodes"), unused, aligned (8) ))
|
||||
#else
|
||||
#define OPCODES_SECTION
|
||||
#endif
|
||||
|
||||
#define GEN_OPCODE(name, op1, op2, op3, invl, _typ) \
|
||||
|
Loading…
Reference in New Issue
Block a user