summaryrefslogtreecommitdiffstats
path: root/src/arch/x86_64/include/bits/compiler.h
blob: 98c560e7d2c726a1c323b3d7efe27f8d99926f9f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef _BITS_COMPILER_H
#define _BITS_COMPILER_H

/** Dummy relocation type */
#define RELOC_TYPE_NONE R_X86_64_NONE

#ifndef ASSEMBLY

/** Declare a function with standard calling conventions */
#define __asmcall __attribute__ (( used, regparm(0) ))

/** Declare a function with libgcc implicit linkage */
#define __libgcc

#endif /* ASSEMBLY */

#endif /* _BITS_COMPILER_H */