Mercurial > hg > CbC > CbC_gcc
comparison gcc/config/arm/uclinux-elf.h @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children | 1830386684a0 |
comparison
equal
deleted
inserted
replaced
111:04ced10e8804 | 131:84e7813d76e9 |
---|---|
1 /* Definitions for ARM running ucLinux using ELF | 1 /* Definitions for ARM running ucLinux using ELF |
2 Copyright (C) 1999-2017 Free Software Foundation, Inc. | 2 Copyright (C) 1999-2018 Free Software Foundation, Inc. |
3 Contributed by Philip Blundell <pb@nexus.co.uk> | 3 Contributed by Philip Blundell <pb@nexus.co.uk> |
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 |
46 builtin_assert ("system=unix"); \ | 46 builtin_assert ("system=unix"); \ |
47 builtin_assert ("system=posix"); \ | 47 builtin_assert ("system=posix"); \ |
48 } \ | 48 } \ |
49 while (false) | 49 while (false) |
50 | 50 |
51 /* Do not assume anything about header files. */ | |
52 #define NO_IMPLICIT_EXTERN_C | |
53 | |
54 /* The GNU C++ standard library requires that these macros be defined. */ | 51 /* The GNU C++ standard library requires that these macros be defined. */ |
55 #undef CPLUSPLUS_CPP_SPEC | 52 #undef CPLUSPLUS_CPP_SPEC |
56 #define CPLUSPLUS_CPP_SPEC "-D_GNU_SOURCE %(cpp)" | 53 #define CPLUSPLUS_CPP_SPEC "-D_GNU_SOURCE %(cpp)" |
57 | 54 |
58 #undef SUBTARGET_EXTRA_LINK_SPEC | 55 #undef SUBTARGET_EXTRA_LINK_SPEC |
68 #undef CC1_SPEC | 65 #undef CC1_SPEC |
69 #define CC1_SPEC "%{profile:-p}" | 66 #define CC1_SPEC "%{profile:-p}" |
70 | 67 |
71 #undef LINK_GCC_C_SEQUENCE_SPEC | 68 #undef LINK_GCC_C_SEQUENCE_SPEC |
72 #define LINK_GCC_C_SEQUENCE_SPEC \ | 69 #define LINK_GCC_C_SEQUENCE_SPEC \ |
73 "%{static|static-pie:--start-group} %G %L \ | 70 "%{static|static-pie:--start-group} %G %{!nolibc:%L} \ |
74 %{static|static-pie:--end-group}%{!static:%{!static-pie:%G %L}}" | 71 %{static|static-pie:--end-group}%{!static:%{!static-pie:%G %{!nolibc:%L}}}" |
75 | 72 |
76 /* Use --as-needed -lgcc_s for eh support. */ | 73 /* Use --as-needed -lgcc_s for eh support. */ |
77 #ifdef HAVE_LD_AS_NEEDED | 74 #ifdef HAVE_LD_AS_NEEDED |
78 #define USE_LD_AS_NEEDED 1 | 75 #define USE_LD_AS_NEEDED 1 |
79 #endif | 76 #endif |