blob: 9932af15353ba6299d7aae210988e02e31a737d0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#ifndef DEFS_H
#define DEFS_H
#ifdef STAGE1
#define BLSEC_TEXT __attribute__((section(".stage1.text")))
#define BLSEC_DATA __attribute__((section(".stage1.data")))
#elif STAGE2
#define BLSEC_DATA __attribute__((section(".stage2.data")))
#define BLSEC_DATA __attribute__((section(".stage2.data")))
#else
#error "You must define a stage to compile the libraries!"
#endif
#endif // DEFS_H
|