mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
Update for 3.3.1-prerelease.
This commit is contained in:
parent
aaa8c4b302
commit
e815c3de60
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=117418
@ -22,19 +22,26 @@ Boston, MA 02111-1307, USA. */
|
|||||||
|
|
||||||
/* $FreeBSD$ */
|
/* $FreeBSD$ */
|
||||||
|
|
||||||
|
/* Provide a FBSD_TARGET_CPU_CPP_BUILTINS and CPP_SPEC appropriate for
|
||||||
/* Provide a CPP_SPEC appropriate for FreeBSD/alpha. Besides the dealing with
|
FreeBSD/alpha. Besides the dealing with
|
||||||
the GCC option `-posix', and PIC issues as on all FreeBSD platforms, we must
|
the GCC option `-posix', and PIC issues as on all FreeBSD platforms, we must
|
||||||
deal with the Alpha's FP issues. */
|
deal with the Alpha's FP issues. */
|
||||||
|
|
||||||
#undef CPP_SPEC
|
#undef FBSD_TARGET_CPU_CPP_BUILTINS
|
||||||
#define CPP_SPEC "%(cpp_cpu) %(cpp_subtarget) -D__ELF__ \
|
#define FBSD_TARGET_CPU_CPP_BUILTINS() \
|
||||||
%{fPIC:-D__PIC__ -D__pic__} %{fpic:-D__PIC__ -D__pic__} \
|
do \
|
||||||
%{posix:-D_POSIX_SOURCE} \
|
{ \
|
||||||
%{mieee:-D_IEEE_FP} \
|
if (flag_pic) \
|
||||||
%{mieee-with-inexact:-D_IEEE_FP -D_IEEE_FP_INEXACT}"
|
{ \
|
||||||
|
builtin_define ("__PIC__"); \
|
||||||
|
builtin_define ("__pic__"); \
|
||||||
|
} \
|
||||||
|
} \
|
||||||
|
while (0)
|
||||||
|
|
||||||
|
#undef CPP_SPEC
|
||||||
|
#define CPP_SPEC "%(cpp_subtarget) %{posix:-D_POSIX_SOURCE}"
|
||||||
|
|
||||||
#undef LINK_SPEC
|
|
||||||
#define LINK_SPEC "%{G*} %{relax:-relax} \
|
#define LINK_SPEC "%{G*} %{relax:-relax} \
|
||||||
%{p:%e`-p' not supported; use `-pg' and gprof(1)} \
|
%{p:%e`-p' not supported; use `-pg' and gprof(1)} \
|
||||||
%{Wl,*:%*} \
|
%{Wl,*:%*} \
|
||||||
@ -66,9 +73,6 @@ Boston, MA 02111-1307, USA. */
|
|||||||
/* alpha.h gets this wrong for FreeBSD. We use the GCC defaults instead. */
|
/* alpha.h gets this wrong for FreeBSD. We use the GCC defaults instead. */
|
||||||
#undef WCHAR_TYPE
|
#undef WCHAR_TYPE
|
||||||
|
|
||||||
#undef WCHAR_UNSIGNED
|
|
||||||
#define WCHAR_UNSIGNED 0
|
|
||||||
|
|
||||||
#undef WCHAR_TYPE_SIZE
|
#undef WCHAR_TYPE_SIZE
|
||||||
#define WCHAR_TYPE_SIZE 32
|
#define WCHAR_TYPE_SIZE 32
|
||||||
|
|
||||||
|
@ -46,7 +46,7 @@ Boston, MA 02111-1307, USA. */
|
|||||||
|
|
||||||
#undef LINK_SPEC
|
#undef LINK_SPEC
|
||||||
#define LINK_SPEC "\
|
#define LINK_SPEC "\
|
||||||
%{p:%e`-p' not supported; use `-pg' and gprof(1)} \
|
%{p:%nconsider using `-pg' instead of `-p' with gprof(1) } \
|
||||||
%{Wl,*:%*} \
|
%{Wl,*:%*} \
|
||||||
%{v:-V} \
|
%{v:-V} \
|
||||||
%{assert*} %{R*} %{rpath*} %{defsym*} \
|
%{assert*} %{R*} %{rpath*} %{defsym*} \
|
||||||
@ -99,7 +99,6 @@ Boston, MA 02111-1307, USA. */
|
|||||||
#undef WCHAR_TYPE_SIZE
|
#undef WCHAR_TYPE_SIZE
|
||||||
#define WCHAR_TYPE_SIZE (TARGET_64BIT ? 32 : BITS_PER_WORD)
|
#define WCHAR_TYPE_SIZE (TARGET_64BIT ? 32 : BITS_PER_WORD)
|
||||||
|
|
||||||
#undef TARGET_VERSION
|
|
||||||
#define TARGET_VERSION fprintf (stderr, " (i386 FreeBSD/ELF)");
|
#define TARGET_VERSION fprintf (stderr, " (i386 FreeBSD/ELF)");
|
||||||
|
|
||||||
#define MASK_PROFILER_EPILOGUE 010000000000
|
#define MASK_PROFILER_EPILOGUE 010000000000
|
||||||
@ -125,20 +124,24 @@ Boston, MA 02111-1307, USA. */
|
|||||||
#undef DEFAULT_PCC_STRUCT_RETURN
|
#undef DEFAULT_PCC_STRUCT_RETURN
|
||||||
#define DEFAULT_PCC_STRUCT_RETURN 0
|
#define DEFAULT_PCC_STRUCT_RETURN 0
|
||||||
|
|
||||||
|
/* FreeBSD sets the rounding precision of the FPU to 53 bits. Let the
|
||||||
|
compiler get the contents of <float.h> and std::numeric_limits correct. */
|
||||||
|
#define SUBTARGET_OVERRIDE_OPTIONS \
|
||||||
|
do { \
|
||||||
|
real_format_for_mode[XFmode - QFmode] \
|
||||||
|
= &ieee_extended_intel_96_round_53_format; \
|
||||||
|
real_format_for_mode[TFmode - QFmode] \
|
||||||
|
= &ieee_extended_intel_96_round_53_format; \
|
||||||
|
} while (0)
|
||||||
|
|
||||||
/* Tell final.c that we don't need a label passed to mcount. */
|
/* Tell final.c that we don't need a label passed to mcount. */
|
||||||
#define NO_PROFILE_COUNTERS 1
|
#define NO_PROFILE_COUNTERS 1
|
||||||
|
|
||||||
/* Output assembler code to FILE to begin profiling of the current function.
|
/* Output assembler code to FILE to begin profiling of the current function.
|
||||||
LABELNO is an optional label. */
|
LABELNO is an optional label. */
|
||||||
|
|
||||||
#undef FUNCTION_PROFILER
|
#undef MCOUNT_NAME
|
||||||
#define FUNCTION_PROFILER(FILE, LABELNO) \
|
#define MCOUNT_NAME ".mcount"
|
||||||
do { \
|
|
||||||
if (flag_pic) \
|
|
||||||
fprintf ((FILE), "\tcall *.mcount@GOT(%%ebx)\n"); \
|
|
||||||
else \
|
|
||||||
fprintf ((FILE), "\tcall .mcount\n"); \
|
|
||||||
} while (0)
|
|
||||||
|
|
||||||
/* Output assembler code to FILE to end profiling of the current function. */
|
/* Output assembler code to FILE to end profiling of the current function. */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user