diff options
Diffstat (limited to 'src/arch/loong64/include/bits/compiler.h')
| -rw-r--r-- | src/arch/loong64/include/bits/compiler.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/arch/loong64/include/bits/compiler.h b/src/arch/loong64/include/bits/compiler.h new file mode 100644 index 000000000..8bdaf63fe --- /dev/null +++ b/src/arch/loong64/include/bits/compiler.h @@ -0,0 +1,19 @@ +#ifndef _BITS_COMPILER_H +#define _BITS_COMPILER_H + +FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); + +/** Dummy relocation type */ +#define RELOC_TYPE_NONE R_LARCH_NONE + +#ifndef ASSEMBLY + +/** Unprefixed constant operand modifier */ +#define ASM_NO_PREFIX "a" + +#define __asmcall +#define __libgcc + +#endif /* ASSEMBLY */ + +#endif /*_BITS_COMPILER_H */ |
