aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorGeorg-Johann Lay <avr@gjlay.de>2020-01-08 14:28:56 +0000
committerGeorg-Johann Lay <gjl@gcc.gnu.org>2020-01-08 14:28:56 +0000
commit949f00625424f0b95dea8be73f00e6bb5fe90294 (patch)
tree19806800388c3775e5d9fe74ca5d1f3e10c25d0f /gcc
parent0f3072b5c31100caa3519ce1c9bce0aa660eb303 (diff)
downloadgcc-949f00625424f0b95dea8be73f00e6bb5fe90294.zip
gcc-949f00625424f0b95dea8be73f00e6bb5fe90294.tar.gz
gcc-949f00625424f0b95dea8be73f00e6bb5fe90294.tar.bz2
re PR target/93182 ([avr] Add -nodevicespecs option.)
PR target/93182 * doc/invoke.texi (AVR Options) <-nodevicespecs>: Document. From-SVN: r280005
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/doc/invoke.texi16
2 files changed, 20 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3defa29..cc897ae 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index ea0c42b..53df4b1 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<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