comparison gcc/config/aarch64/aarch64-linux.h @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 84e7813d76e9
children
comparison
equal deleted inserted replaced
131:84e7813d76e9 145:1830386684a0
1 /* Machine description for AArch64 architecture. 1 /* Machine description for AArch64 architecture.
2 Copyright (C) 2009-2018 Free Software Foundation, Inc. 2 Copyright (C) 2009-2020 Free Software Foundation, Inc.
3 Contributed by ARM Ltd. 3 Contributed by ARM Ltd.
4 4
5 This file is part of GCC. 5 This file is part of GCC.
6 6
7 GCC is free software; you can redistribute it and/or modify it 7 GCC is free software; you can redistribute it and/or modify it
44 %{static-pie:-Bstatic -pie --no-dynamic-linker -z text} \ 44 %{static-pie:-Bstatic -pie --no-dynamic-linker -z text} \
45 -X \ 45 -X \
46 %{mbig-endian:-EB} %{mlittle-endian:-EL} \ 46 %{mbig-endian:-EB} %{mlittle-endian:-EL} \
47 -maarch64linux%{mabi=ilp32:32}%{mbig-endian:b}" 47 -maarch64linux%{mabi=ilp32:32}%{mbig-endian:b}"
48 48
49 #if TARGET_FIX_ERR_A53_835769_DEFAULT
50 #define CA53_ERR_835769_SPEC \
51 " %{!mno-fix-cortex-a53-835769:--fix-cortex-a53-835769}"
52 #else
53 #define CA53_ERR_835769_SPEC \
54 " %{mfix-cortex-a53-835769:--fix-cortex-a53-835769}"
55 #endif
56 49
57 #if TARGET_FIX_ERR_A53_843419_DEFAULT 50 #define LINK_SPEC LINUX_TARGET_LINK_SPEC AARCH64_ERRATA_LINK_SPEC
58 #define CA53_ERR_843419_SPEC \
59 " %{!mno-fix-cortex-a53-843419:--fix-cortex-a53-843419}"
60 #else
61 #define CA53_ERR_843419_SPEC \
62 " %{mfix-cortex-a53-843419:--fix-cortex-a53-843419}"
63 #endif
64
65 #define LINK_SPEC LINUX_TARGET_LINK_SPEC \
66 CA53_ERR_835769_SPEC \
67 CA53_ERR_843419_SPEC
68 51
69 #define GNU_USER_TARGET_MATHFILE_SPEC \ 52 #define GNU_USER_TARGET_MATHFILE_SPEC \
70 "%{Ofast|ffast-math|funsafe-math-optimizations:crtfastmath.o%s}" 53 "%{Ofast|ffast-math|funsafe-math-optimizations:crtfastmath.o%s}"
71 54
72 #undef ENDFILE_SPEC 55 #undef ENDFILE_SPEC
79 { \ 62 { \
80 GNU_USER_TARGET_OS_CPP_BUILTINS(); \ 63 GNU_USER_TARGET_OS_CPP_BUILTINS(); \
81 } \ 64 } \
82 while (0) 65 while (0)
83 66
84 #define TARGET_ASM_FILE_END file_end_indicate_exec_stack 67 #define GNU_USER_TARGET_D_CRITSEC_SIZE 48
68
69 #define TARGET_ASM_FILE_END aarch64_file_end_indicate_exec_stack
85 70
86 /* Uninitialized common symbols in non-PIE executables, even with 71 /* Uninitialized common symbols in non-PIE executables, even with
87 strong definitions in dependent shared libraries, will resolve 72 strong definitions in dependent shared libraries, will resolve
88 to COPY relocated symbol in the executable. See PR65780. */ 73 to COPY relocated symbol in the executable. See PR65780. */
89 #undef TARGET_BINDS_LOCAL_P 74 #undef TARGET_BINDS_LOCAL_P