re PR target/93182 ([avr] Add -nodevicespecs option.)
authorGeorg-Johann Lay <avr@gjlay.de>
Wed, 8 Jan 2020 14:28:56 +0000 (14:28 +0000)
committerGeorg-Johann Lay <gjl@gcc.gnu.org>
Wed, 8 Jan 2020 14:28:56 +0000 (14:28 +0000)
PR target/93182
* doc/invoke.texi (AVR Options) <-nodevicespecs>: Document.

From-SVN: r280005

gcc/ChangeLog
gcc/doc/invoke.texi

index 3defa29..cc897ae 100644 (file)
@@ -1,3 +1,8 @@
+2020-01-08  Georg-Johann Lay  <avr@gjlay.de>
+
+       PR target/93182
+       * doc/invoke.texi (AVR Options) <-nodevicespecs>: Document.
+
 2019-01-08  Richard Biener  <rguenther@suse.de>
 
        PR middle-end/93199
index ea0c42b..53df4b1 100644 (file)
@@ -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<mcu>.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