Mercurial > hg > CbC > CbC_gcc
comparison gcc/config/lm32/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 LM32 running Linux-based GNU systems using ELF | 1 /* Definitions for LM32 running Linux-based GNU systems using ELF |
2 Copyright (C) 1993-2017 Free Software Foundation, Inc. | 2 Copyright (C) 1993-2018 Free Software Foundation, Inc. |
3 Contributed by Philip Blundell <philb@gnu.org> | 3 Contributed by Philip Blundell <philb@gnu.org> |
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 |
18 along with GCC; see the file COPYING3. If not see | 18 along with GCC; see the file COPYING3. If not see |
19 <http://www.gnu.org/licenses/>. */ | 19 <http://www.gnu.org/licenses/>. */ |
20 | 20 |
21 /* elfos.h should have already been included. Now just override | 21 /* elfos.h should have already been included. Now just override |
22 any conflicting definitions and add any extras. */ | 22 any conflicting definitions and add any extras. */ |
23 | |
24 /* Do not assume anything about header files. */ | |
25 #undef NO_IMPLICIT_EXTERN_C | |
26 #define NO_IMPLICIT_EXTERN_C | |
27 | 23 |
28 /* The GNU C++ standard library requires that these macros be defined. */ | 24 /* The GNU C++ standard library requires that these macros be defined. */ |
29 #undef CPLUSPLUS_CPP_SPEC | 25 #undef CPLUSPLUS_CPP_SPEC |
30 #define CPLUSPLUS_CPP_SPEC "-D_GNU_SOURCE %(cpp)" | 26 #define CPLUSPLUS_CPP_SPEC "-D_GNU_SOURCE %(cpp)" |
31 | 27 |
70 -dynamic-linker /lib/ld-linux.so.2" | 66 -dynamic-linker /lib/ld-linux.so.2" |
71 | 67 |
72 #define TARGET_OS_CPP_BUILTINS() GNU_USER_TARGET_OS_CPP_BUILTINS() | 68 #define TARGET_OS_CPP_BUILTINS() GNU_USER_TARGET_OS_CPP_BUILTINS() |
73 | 69 |
74 #define LINK_GCC_C_SEQUENCE_SPEC \ | 70 #define LINK_GCC_C_SEQUENCE_SPEC \ |
75 "%{static|static-pie:--start-group} %G %L \ | 71 "%{static|static-pie:--start-group} %G %{!nolibc:%L} \ |
76 %{static|static-pie:--end-group}%{!static:%{!static-pie:%G}}" | 72 %{static|static-pie:--end-group}%{!static:%{!static-pie:%G}}" |
77 | 73 |
78 #undef CC1_SPEC | 74 #undef CC1_SPEC |
79 #define CC1_SPEC "%{G*} %{!fno-PIC:-fPIC}" | 75 #define CC1_SPEC "%{G*} %{!fno-PIC:-fPIC}" |