Quick Search:

Mode

Context

Displaying the whole file. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.16
 
1.17
 
MAIN:ragge:20121228123815
 
ccconfig.h
_>11 /*      $Id$    */
 22 
 33 /*-
 44  * Copyright (c) 2007 David O'Brien <obrien@FreeBSD.org>
 55  * Copyright (c) 2007 Ed Schouten <ed@fxq.nl>
 66  * All rights reserved.
 77  *
 88  * Redistribution and use in source and binary forms, with or without
 99  * modification, are permitted provided that the following conditions
 1010  * are met:
 1111  * 1. Redistributions of source code must retain the above copyright
 1212  *    notice, this list of conditions and the following disclaimer.
 1313  * 2. Redistributions in binary form must reproduce the above copyright
 1414  *    notice, this list of conditions and the following disclaimer in the
 1515  *    documentation and/or other materials provided with the distribution.
 1616  *
 1717  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
 1818  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 1919  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 2020  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
 2121  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 2222  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
 2323  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 2424  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 2525  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 2626  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 2727  * SUCH DAMAGE.
 2828  */
 2929 
 3030 #define CPPADD { "-D__FreeBSD__=" MKS(TARGOSVER), "-D__ELF__", \
 3131         "-D__unix__=1", "-D__unix=1", NULL, }
 3232 
 3333 /* host-dependent */
 3434 #define CRT0            "crt1.o"
 3535 #define GCRT0           "gcrt1.o"
 3636 #define STARTLABEL "_start"
 3737 
 3838 /* host-independent */
 3939 #define DYNLINKER { "-dynamic-linker", "/libexec/ld-elf.so.1", NULL }
 4040 
 4141 #if defined(mach_i386)
 4242 #define CPPMDADD { "-D__i386__", "-D__i386", NULL, }
 4343 #elif defined(mach_amd64)
<>44 -#define CPPMDADD \
 45 -        { "-D__x86_64__", "-D__x86_64", "-D__amd64__", "-D__amd64", \
 46 -          "-D__LP64__=1", "-D_LP64=1", NULL, }
  44+#define AMD64_32_EMUL   "elf_i386_fbsd"
  45+#define AMD64_64_EMUL   "elf_x86_64_fbsd"
  46+#include "../inc/amd64.h"
<_4747 #elif defined(mach_sparc64)
 4848 #define CPPMDADD \
 4949         { "-D__sparc64__", "-D__sparc_v9__", "-D__sparc__", "-D__sparc",\
 5050           "-D__LP64__=1", "-D_LP64=1", NULL, }
 5151 #else
 5252 #error defines for arch missing
 5353 #endif
 5454 
 5555 #ifdef LANG_F77
 5656 #define F77LIBLIST { "-lF77", "-lI77", "-lm", "-lc", NULL };
 5757 #endif
FishEye: Open Source License registered to PCC.
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-12-28 21:47 +0100