You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.2 KiB
50 lines
1.2 KiB
7 months ago
|
//===- Config.h.in --------------------------------------------------------===//
|
||
|
//
|
||
|
// The MCLinker Project
|
||
|
//
|
||
|
// This file is distributed under the University of Illinois Open Source
|
||
|
// License. See LICENSE.TXT for details.
|
||
|
//
|
||
|
//===----------------------------------------------------------------------===//
|
||
|
|
||
|
//===----------------------------------------------------------------------===//
|
||
|
// Hand-coded for Android build
|
||
|
//===----------------------------------------------------------------------===//
|
||
|
|
||
|
#ifndef MCLD_CONFIG_H
|
||
|
#define MCLD_CONFIG_H
|
||
|
|
||
|
#include <llvm/Config/config.h>
|
||
|
|
||
|
#ifdef LLVM_ON_UNIX
|
||
|
# define MCLD_ON_UNIX 1
|
||
|
#else
|
||
|
// Assume on Win32 otherwise.
|
||
|
# define MCLD_ON_WIN32 1
|
||
|
#endif
|
||
|
|
||
|
/* Target triple MCLinker will generate code for by default */
|
||
|
#define MCLD_DEFAULT_TARGET_TRIPLE "x86_64-unknown-linux-gnu"
|
||
|
|
||
|
/* MCLINKER version */
|
||
|
#define MCLD_VERSION "2.9.0.dev-"
|
||
|
|
||
|
/* Name of package */
|
||
|
#define PACKAGE "mclinker"
|
||
|
|
||
|
|
||
|
/* Version number of package */
|
||
|
#define VERSION "dev"
|
||
|
|
||
|
|
||
|
#define MCLD_REGION_CHUNK_SIZE 32
|
||
|
#define MCLD_NUM_OF_INPUTS 32
|
||
|
#define MCLD_SECTIONS_PER_INPUT 16
|
||
|
#define MCLD_SYMBOLS_PER_INPUT 128
|
||
|
#define MCLD_RELOCATIONS_PER_INPUT 1024
|
||
|
|
||
|
#define MCLD_SEGMENTS_PER_OUTPUT 8
|
||
|
|
||
|
#endif
|
||
|
|