1 //===- Config.h.in --------------------------------------------------------===//
2 //
3 //                     The MCLinker Project
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 
10 //===----------------------------------------------------------------------===//
11 // Hand-coded for Android build
12 //===----------------------------------------------------------------------===//
13 
14 #ifndef MCLD_CONFIG_H
15 #define MCLD_CONFIG_H
16 
17 #include <llvm/Config/config.h>
18 
19 #ifdef LLVM_ON_UNIX
20 # define MCLD_ON_UNIX 1
21 #else
22 // Assume on Win32 otherwise.
23 # define MCLD_ON_WIN32 1
24 #endif
25 
26 /* Target triple MCLinker will generate code for by default */
27 #define MCLD_DEFAULT_TARGET_TRIPLE "x86_64-unknown-linux-gnu"
28 
29 /* MCLINKER version */
30 #define MCLD_VERSION "2.9.0.dev-"
31 
32 /* Name of package */
33 #define PACKAGE "mclinker"
34 
35 
36 /* Version number of package */
37 #define VERSION "dev"
38 
39 
40 #define MCLD_REGION_CHUNK_SIZE 32
41 #define MCLD_NUM_OF_INPUTS 32
42 #define MCLD_SECTIONS_PER_INPUT 16
43 #define MCLD_SYMBOLS_PER_INPUT 128
44 #define MCLD_RELOCATIONS_PER_INPUT 1024
45 
46 #define MCLD_SEGMENTS_PER_OUTPUT 8
47 
48 #endif
49 
50