From 949f00625424f0b95dea8be73f00e6bb5fe90294 Mon Sep 17 00:00:00 2001 From: Georg-Johann Lay Date: Wed, 8 Jan 2020 14:28:56 +0000 Subject: [PATCH] re PR target/93182 ([avr] Add -nodevicespecs option.) PR target/93182 * doc/invoke.texi (AVR Options) <-nodevicespecs>: Document. From-SVN: r280005 --- gcc/ChangeLog | 5 +++++ gcc/doc/invoke.texi | 16 +++++++++++++++- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3defa292b2d..cc897ae0457 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2020-01-08 Georg-Johann Lay + + PR target/93182 + * doc/invoke.texi (AVR Options) <-nodevicespecs>: Document. + 2019-01-08 Richard Biener PR middle-end/93199 diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index ea0c42b29a3..53df4b1fdf9 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -729,7 +729,7 @@ Objective-C and Objective-C++ Dialects}. -mn_flash=@var{size} -mno-interrupts @gol -mmain-is-OS_task -mrelax -mrmw -mstrict-X -mtiny-stack @gol -mfract-convert-truncate @gol --mshort-calls -nodevicelib @gol +-mshort-calls -nodevicelib -nodevicespecs @gol -Waddr-space-convert -Wmisspelled-isr} @emph{Blackfin Options} @@ -18537,6 +18537,20 @@ Allow to use truncation instead of rounding towards zero for fractional fixed-po @opindex nodevicelib Don't link against AVR-LibC's device specific library @code{lib.a}. +@item -nodevicespecs +@opindex nodevicespecs +Don't add @option{-specs=device-specs/specs-@var{mcu}} to the compiler driver's +command line. The user takes responsibility for supplying the sub-processes +like compiler proper, assembler and linker with appropriate command line +options. This means that the user has to supply her private device specs +file by means of @option{-specs=@var{path-to-specs-file}}. There is no +more need for option @option{-mmcu=@var{mcu}}. + +This option can also serve as a replacement for the older way of +specifying custom device-specs files that needed @option{-B @var{some-path}} to point to a directory +which contains a folder named @code{device-specs} which contains a specs file named +@code{specs-@var{mcu}}, where @var{mcu} was specified by @option{-mmcu=@var{mcu}}. + @item -Waddr-space-convert @opindex Waddr-space-convert @opindex Wno-addr-space-convert -- 2.30.2