freebsd.h (238472) | freebsd.h (239272) |
---|---|
1/* Definitions for StrongARM running FreeBSD using the ELF format 2 Copyright (C) 2001, 2004 Free Software Foundation, Inc. 3 Contributed by David E. O'Brien <obrien@FreeBSD.org> and BSDi. 4 5 This file is part of GCC. 6 7 GCC is free software; you can redistribute it and/or modify it 8 under the terms of the GNU General Public License as published --- 42 unchanged lines hidden (view full) --- 51 %{!dynamic-linker:-dynamic-linker %(fbsd_dynamic_linker) }} \ 52 %{static:-Bstatic}} \ 53 %{!static:--hash-style=both --enable-new-dtags} \ 54 %{symbolic:-Bsymbolic} \ 55 -X %{mbig-endian:-EB} %{mlittle-endian:-EL}" 56 57/************************[ Target stuff ]***********************************/ 58 | 1/* Definitions for StrongARM running FreeBSD using the ELF format 2 Copyright (C) 2001, 2004 Free Software Foundation, Inc. 3 Contributed by David E. O'Brien <obrien@FreeBSD.org> and BSDi. 4 5 This file is part of GCC. 6 7 GCC is free software; you can redistribute it and/or modify it 8 under the terms of the GNU General Public License as published --- 42 unchanged lines hidden (view full) --- 51 %{!dynamic-linker:-dynamic-linker %(fbsd_dynamic_linker) }} \ 52 %{static:-Bstatic}} \ 53 %{!static:--hash-style=both --enable-new-dtags} \ 54 %{symbolic:-Bsymbolic} \ 55 -X %{mbig-endian:-EB} %{mlittle-endian:-EL}" 56 57/************************[ Target stuff ]***********************************/ 58 |
59#undef TARGET_VERSION 60#define TARGET_VERSION fprintf (stderr, " (FreeBSD/StrongARM ELF)"); | |
61 62#ifndef TARGET_ENDIAN_DEFAULT 63#define TARGET_ENDIAN_DEFAULT 0 64#endif 65 66/* Default it to use ATPCS with soft-VFP. */ 67#undef TARGET_DEFAULT 68#define TARGET_DEFAULT \ --- 13 unchanged lines hidden (view full) --- 82#define SIZE_TYPE "unsigned int" 83 84#undef PTRDIFF_TYPE 85#define PTRDIFF_TYPE "int" 86 87/* We use the GCC defaults here. */ 88#undef WCHAR_TYPE 89 | 59 60#ifndef TARGET_ENDIAN_DEFAULT 61#define TARGET_ENDIAN_DEFAULT 0 62#endif 63 64/* Default it to use ATPCS with soft-VFP. */ 65#undef TARGET_DEFAULT 66#define TARGET_DEFAULT \ --- 13 unchanged lines hidden (view full) --- 80#define SIZE_TYPE "unsigned int" 81 82#undef PTRDIFF_TYPE 83#define PTRDIFF_TYPE "int" 84 85/* We use the GCC defaults here. */ 86#undef WCHAR_TYPE 87 |
88#if defined(FREEBSD_ARCH_armv6) |
|
90#undef SUBTARGET_CPU_DEFAULT | 89#undef SUBTARGET_CPU_DEFAULT |
90#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm1176jzs 91#undef FBSD_TARGET_CPU_CPP_BUILTINS 92#define FBSD_TARGET_CPU_CPP_BUILTINS() \ 93 do { \ 94 builtin_define ("__FreeBSD_ARCH_armv6__"); \ 95 } while (0) 96#undef TARGET_VERSION 97#define TARGET_VERSION fprintf (stderr, " (FreeBSD/armv6 ELF)"); 98#else 99#undef SUBTARGET_CPU_DEFAULT |
|
91#define SUBTARGET_CPU_DEFAULT TARGET_CPU_strongarm | 100#define SUBTARGET_CPU_DEFAULT TARGET_CPU_strongarm |
101#undef TARGET_VERSION 102#define TARGET_VERSION fprintf (stderr, " (FreeBSD/StrongARM ELF)"); 103#endif |
|
92 93/* FreeBSD does its profiling differently to the Acorn compiler. We 94 don't need a word following the mcount call; and to skip it 95 requires either an assembly stub or use of fomit-frame-pointer when 96 compiling the profiling functions. Since we break Acorn CC 97 compatibility below a little more won't hurt. */ 98 99#undef ARM_FUNCTION_PROFILER --- 27 unchanged lines hidden --- | 104 105/* FreeBSD does its profiling differently to the Acorn compiler. We 106 don't need a word following the mcount call; and to skip it 107 requires either an assembly stub or use of fomit-frame-pointer when 108 compiling the profiling functions. Since we break Acorn CC 109 compatibility below a little more won't hurt. */ 110 111#undef ARM_FUNCTION_PROFILER --- 27 unchanged lines hidden --- |