aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/avr
diff options
context:
space:
mode:
authorOlivier Hainque <hainque@adacore.com>2018-07-31 09:24:41 +0000
committerOlivier Hainque <hainque@gcc.gnu.org>2018-07-31 09:24:41 +0000
commitf37866e818ab839e0db68be23e5a339e5e7c19dc (patch)
treed0e676879f65f348b838125b8e4d9cf763c5e61e /gcc/config/avr
parent1d4a51cf5079c11a44126bf7d5cf63fd9b202fbd (diff)
downloadgcc-f37866e818ab839e0db68be23e5a339e5e7c19dc.zip
gcc-f37866e818ab839e0db68be23e5a339e5e7c19dc.tar.gz
gcc-f37866e818ab839e0db68be23e5a339e5e7c19dc.tar.bz2
Add support for -nolibc
2018-06-07 Olivier Hainque <hainque@adacore.com> * common.opt (nolibc): New option. * doc/invoke.texi (Link Options): Document it. * gcc.c (LINK_GCC_C_SEQUENCE_SPEC): Honor nolibc. * config/alpha/linux.h: Likewise. * config/arc/elf.h: Likewise. * config/arm/uclinux-elf.h: Likewise. * config/arm/unknown-elf.h: Likewise. * config/avr/avrlibc.h: Likewise. * config/bfin/bfin.h: Likewise. * config/bfin/linux.h: Likewise. * config/bfin/uclinux.h: Likewise. * config/darwin.h: Likewise. * config/darwin10.h: Likewise. * config/darwin12.h: Likewise. * config/gnu-user.h: Likewise. * config/lm32/uclinux-elf.h: Likewise. * config/pa/pa-hpux11.h: Likewise. * config/pa/pa64-hpux.h: Likewise. * config/sparc/sparc.h: Likewise. From-SVN: r263083
Diffstat (limited to 'gcc/config/avr')
-rw-r--r--gcc/config/avr/avrlibc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/avr/avrlibc.h b/gcc/config/avr/avrlibc.h
index 95a1d7c..f4a41a1 100644
--- a/gcc/config/avr/avrlibc.h
+++ b/gcc/config/avr/avrlibc.h
@@ -37,4 +37,4 @@ along with GCC; see the file COPYING3. If not see
#undef LINK_GCC_C_SEQUENCE_SPEC
#define LINK_GCC_C_SEQUENCE_SPEC \
- "--start-group %G %L --end-group"
+ "--start-group %G %{!nolibc:%L} --end-group"