diff --git a/.gitattributes b/.gitattributes index 8218f2e01f53e27a2c49e30e77bf1e9e1c142e02..6ea4062e94dd666ddbdbfeb9cb1bbf0e4f3df261 100644 --- a/.gitattributes +++ b/.gitattributes @@ -150,3 +150,107 @@ hardware/tools/avr/avr/lib/tiny-stack/libc.a filter=lfs diff=lfs merge=lfs -text hardware/tools/avr/bin/arduinoOTA.exe filter=lfs diff=lfs merge=lfs -text hardware/tools/avr/bin/avr-addr2line.exe filter=lfs diff=lfs merge=lfs -text hardware/tools/avr/bin/avr-c++.exe filter=lfs diff=lfs merge=lfs -text +hardware/tools/avr/bin/avr-c++filt.exe filter=lfs diff=lfs merge=lfs -text +hardware/tools/avr/bin/avr-cpp.exe filter=lfs diff=lfs merge=lfs -text +hardware/tools/avr/bin/avr-gcc.exe filter=lfs diff=lfs merge=lfs -text +hardware/tools/avr/bin/avr-gcov-dump.exe filter=lfs diff=lfs merge=lfs -text +hardware/tools/avr/bin/avr-gcov-tool.exe filter=lfs diff=lfs merge=lfs -text +hardware/tools/avr/bin/avr-gcov.exe filter=lfs diff=lfs merge=lfs -text +hardware/tools/avr/bin/avr-gprof.exe filter=lfs diff=lfs merge=lfs -text +hardware/tools/avr/bin/avr-size.exe filter=lfs diff=lfs merge=lfs -text +hardware/tools/avr/bin/avr-strings.exe filter=lfs diff=lfs merge=lfs -text +hardware/tools/avr/bin/avrdude.exe filter=lfs diff=lfs merge=lfs -text +hardware/tools/avr/i686-w64-mingw32/avr/lib/libbfd.a filter=lfs diff=lfs merge=lfs -text +hardware/tools/avr/lib/gcc/avr/7.3.0/avr25/libgcc.a filter=lfs diff=lfs merge=lfs -text +hardware/tools/avr/lib/gcc/avr/7.3.0/avr25/libgcov.a filter=lfs diff=lfs merge=lfs -text +hardware/tools/avr/lib/gcc/avr/7.3.0/avr25/tiny-stack/libgcc.a filter=lfs diff=lfs merge=lfs -text +hardware/tools/avr/lib/gcc/avr/7.3.0/avr25/tiny-stack/libgcov.a filter=lfs diff=lfs merge=lfs -text +hardware/tools/avr/lib/gcc/avr/7.3.0/avr3/libgcc.a filter=lfs diff=lfs merge=lfs -text +hardware/tools/avr/lib/gcc/avr/7.3.0/avr3/libgcov.a filter=lfs diff=lfs merge=lfs -text +hardware/tools/avr/lib/gcc/avr/7.3.0/avr31/libgcc.a filter=lfs diff=lfs merge=lfs -text +hardware/tools/avr/lib/gcc/avr/7.3.0/avr31/libgcov.a filter=lfs diff=lfs merge=lfs -text +hardware/tools/avr/lib/gcc/avr/7.3.0/avr35/libgcc.a filter=lfs diff=lfs merge=lfs -text +hardware/tools/avr/lib/gcc/avr/7.3.0/avr35/libgcov.a filter=lfs diff=lfs merge=lfs -text +hardware/tools/avr/lib/gcc/avr/7.3.0/avr4/libgcc.a filter=lfs diff=lfs merge=lfs -text +hardware/tools/avr/lib/gcc/avr/7.3.0/avr4/libgcov.a filter=lfs diff=lfs merge=lfs -text +hardware/tools/avr/lib/gcc/avr/7.3.0/avr5/libgcc.a filter=lfs diff=lfs merge=lfs -text +hardware/tools/avr/lib/gcc/avr/7.3.0/avr5/libgcov.a filter=lfs diff=lfs merge=lfs -text +hardware/tools/avr/lib/gcc/avr/7.3.0/avr51/libgcc.a filter=lfs diff=lfs merge=lfs -text +hardware/tools/avr/lib/gcc/avr/7.3.0/avr51/libgcov.a filter=lfs diff=lfs merge=lfs -text +hardware/tools/avr/lib/gcc/avr/7.3.0/avr6/libgcc.a filter=lfs diff=lfs merge=lfs -text +hardware/tools/avr/lib/gcc/avr/7.3.0/avr6/libgcov.a filter=lfs diff=lfs merge=lfs -text +hardware/tools/avr/lib/gcc/avr/7.3.0/avrxmega2/libgcc.a filter=lfs diff=lfs merge=lfs -text +hardware/tools/avr/lib/gcc/avr/7.3.0/avrxmega2/libgcov.a filter=lfs diff=lfs merge=lfs -text +hardware/tools/avr/lib/gcc/avr/7.3.0/avrxmega3/libgcc.a filter=lfs diff=lfs merge=lfs -text +hardware/tools/avr/lib/gcc/avr/7.3.0/avrxmega3/libgcov.a filter=lfs diff=lfs merge=lfs -text +hardware/tools/avr/lib/gcc/avr/7.3.0/avrxmega3/short-calls/libgcc.a filter=lfs diff=lfs merge=lfs -text +hardware/tools/avr/lib/gcc/avr/7.3.0/avrxmega3/short-calls/libgcov.a filter=lfs diff=lfs merge=lfs -text +hardware/tools/avr/lib/gcc/avr/7.3.0/avrxmega4/libgcc.a filter=lfs diff=lfs merge=lfs -text +hardware/tools/avr/lib/gcc/avr/7.3.0/avrxmega4/libgcov.a filter=lfs diff=lfs merge=lfs -text +hardware/tools/avr/lib/gcc/avr/7.3.0/avrxmega5/libgcc.a filter=lfs diff=lfs merge=lfs -text +hardware/tools/avr/lib/gcc/avr/7.3.0/avrxmega5/libgcov.a filter=lfs diff=lfs merge=lfs -text +hardware/tools/avr/lib/gcc/avr/7.3.0/avrxmega6/libgcc.a filter=lfs diff=lfs merge=lfs -text +hardware/tools/avr/lib/gcc/avr/7.3.0/avrxmega6/libgcov.a filter=lfs diff=lfs merge=lfs -text +hardware/tools/avr/lib/gcc/avr/7.3.0/libgcc.a filter=lfs diff=lfs merge=lfs -text +hardware/tools/avr/lib/gcc/avr/7.3.0/libgcov.a filter=lfs diff=lfs merge=lfs -text +hardware/tools/avr/lib/gcc/avr/7.3.0/tiny-stack/libgcc.a filter=lfs diff=lfs merge=lfs -text +hardware/tools/avr/lib/gcc/avr/7.3.0/tiny-stack/libgcov.a filter=lfs diff=lfs merge=lfs -text +hardware/tools/avr/lib/libiberty.a filter=lfs diff=lfs merge=lfs -text +hardware/tools/avr/libexec/gcc/avr/7.3.0/cc1.exe filter=lfs diff=lfs merge=lfs -text +hardware/tools/avr/libexec/gcc/avr/7.3.0/cc1plus.exe filter=lfs diff=lfs merge=lfs -text +hardware/tools/avr/libexec/gcc/avr/7.3.0/collect2.exe filter=lfs diff=lfs merge=lfs -text +hardware/tools/avr/libexec/gcc/avr/7.3.0/install-tools/fixincl.exe filter=lfs diff=lfs merge=lfs -text +hardware/tools/avr/libexec/gcc/avr/7.3.0/liblto_plugin-0.dll filter=lfs diff=lfs merge=lfs -text +hardware/tools/avr/libexec/gcc/avr/7.3.0/lto-wrapper.exe filter=lfs diff=lfs merge=lfs -text +hardware/tools/avr/libexec/gcc/avr/7.3.0/lto1.exe filter=lfs diff=lfs merge=lfs -text +java/bin/awt.dll filter=lfs diff=lfs merge=lfs -text +java/bin/client/jvm.dll filter=lfs diff=lfs merge=lfs -text +java/bin/concrt140.dll filter=lfs diff=lfs merge=lfs -text +java/bin/dcpr.dll filter=lfs diff=lfs merge=lfs -text +java/bin/deploy.dll filter=lfs diff=lfs merge=lfs -text +java/bin/dtplugin/deployJava1.dll filter=lfs diff=lfs merge=lfs -text +java/bin/dtplugin/npdeployJava1.dll filter=lfs diff=lfs merge=lfs -text +java/bin/eula.dll filter=lfs diff=lfs merge=lfs -text +java/bin/fontmanager.dll filter=lfs diff=lfs merge=lfs -text +java/bin/fxplugins.dll filter=lfs diff=lfs merge=lfs -text +java/bin/glass.dll filter=lfs diff=lfs merge=lfs -text +java/bin/glib-lite.dll filter=lfs diff=lfs merge=lfs -text +java/bin/gstreamer-lite.dll filter=lfs diff=lfs merge=lfs -text +java/bin/hprof.dll filter=lfs diff=lfs merge=lfs -text +java/bin/instrument.dll filter=lfs diff=lfs merge=lfs -text +java/bin/java.dll filter=lfs diff=lfs merge=lfs -text +java/bin/java.exe filter=lfs diff=lfs merge=lfs -text +java/bin/JavaAccessBridge-32.dll filter=lfs diff=lfs merge=lfs -text +java/bin/JavaAccessBridge.dll filter=lfs diff=lfs merge=lfs -text +java/bin/javacpl.cpl filter=lfs diff=lfs merge=lfs -text +java/bin/javafx_font_t2k.dll filter=lfs diff=lfs merge=lfs -text +java/bin/javafx_iio.dll filter=lfs diff=lfs merge=lfs -text +java/bin/javaw.exe filter=lfs diff=lfs merge=lfs -text +java/bin/javaws.exe filter=lfs diff=lfs merge=lfs -text +java/bin/jdwp.dll filter=lfs diff=lfs merge=lfs -text +java/bin/jfxmedia.dll filter=lfs diff=lfs merge=lfs -text +java/bin/jfxwebkit.dll filter=lfs diff=lfs merge=lfs -text +java/bin/jli.dll filter=lfs diff=lfs merge=lfs -text +java/bin/jp2iexp.dll filter=lfs diff=lfs merge=lfs -text +java/bin/jp2ssv.dll filter=lfs diff=lfs merge=lfs -text +java/bin/jpeg.dll filter=lfs diff=lfs merge=lfs -text +java/bin/kcms.dll filter=lfs diff=lfs merge=lfs -text +java/bin/lcms.dll filter=lfs diff=lfs merge=lfs -text +java/bin/mlib_image.dll filter=lfs diff=lfs merge=lfs -text +java/bin/msvcp140.dll filter=lfs diff=lfs merge=lfs -text +java/bin/msvcr100.dll filter=lfs diff=lfs merge=lfs -text +java/bin/plugin2/npjp2.dll filter=lfs diff=lfs merge=lfs -text +java/bin/prism_d3d.dll filter=lfs diff=lfs merge=lfs -text +java/bin/splashscreen.dll filter=lfs diff=lfs merge=lfs -text +java/bin/ssv.dll filter=lfs diff=lfs merge=lfs -text +java/bin/sunec.dll filter=lfs diff=lfs merge=lfs -text +java/bin/t2k.dll filter=lfs diff=lfs merge=lfs -text +java/bin/ucrtbase.dll filter=lfs diff=lfs merge=lfs -text +java/bin/unpack200.exe filter=lfs diff=lfs merge=lfs -text +java/bin/wsdetect.dll filter=lfs diff=lfs merge=lfs -text +java/lib/charsets.jar filter=lfs diff=lfs merge=lfs -text +java/lib/cmm/PYCC.pf filter=lfs diff=lfs merge=lfs -text +java/lib/deploy.jar filter=lfs diff=lfs merge=lfs -text +java/lib/ext/access-bridge-32.jar filter=lfs diff=lfs merge=lfs -text +java/lib/ext/access-bridge.jar filter=lfs diff=lfs merge=lfs -text +java/lib/ext/cldrdata.jar filter=lfs diff=lfs merge=lfs -text diff --git a/hardware/tools/avr/bin/avr-c++filt.exe b/hardware/tools/avr/bin/avr-c++filt.exe new file mode 100644 index 0000000000000000000000000000000000000000..6d52a61d8e95a9495ef6f1423070412b3c152bda --- /dev/null +++ b/hardware/tools/avr/bin/avr-c++filt.exe @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:de32fc5cd0de072bf358689f35362a05cfd68164b1d5220a2e81b35b64d52bcd +size 605696 diff --git a/hardware/tools/avr/bin/avr-cpp.exe b/hardware/tools/avr/bin/avr-cpp.exe new file mode 100644 index 0000000000000000000000000000000000000000..e5f8f7b5ed71d6115212922321f74471165b2d32 --- /dev/null +++ b/hardware/tools/avr/bin/avr-cpp.exe @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bee5ae89bb60a87dc957ac11cd7169988b66000d68b4d0085a9890d22dc65651 +size 876032 diff --git a/hardware/tools/avr/bin/avr-elfedit.exe b/hardware/tools/avr/bin/avr-elfedit.exe new file mode 100644 index 0000000000000000000000000000000000000000..262b0ec12be16ad9fb4b43467a9f8af0e955c69b Binary files /dev/null and b/hardware/tools/avr/bin/avr-elfedit.exe differ diff --git a/hardware/tools/avr/bin/avr-gcc-ar.exe b/hardware/tools/avr/bin/avr-gcc-ar.exe new file mode 100644 index 0000000000000000000000000000000000000000..4508b9c605031e2ede7d062e6bc66b338704c67c Binary files /dev/null and b/hardware/tools/avr/bin/avr-gcc-ar.exe differ diff --git a/hardware/tools/avr/bin/avr-gcc-nm.exe b/hardware/tools/avr/bin/avr-gcc-nm.exe new file mode 100644 index 0000000000000000000000000000000000000000..cc78eaadb62cab44d0365f30009530b27d4f65a8 Binary files /dev/null and b/hardware/tools/avr/bin/avr-gcc-nm.exe differ diff --git a/hardware/tools/avr/bin/avr-gcc-ranlib.exe b/hardware/tools/avr/bin/avr-gcc-ranlib.exe new file mode 100644 index 0000000000000000000000000000000000000000..3fc46bd50ff5cfa43c2497aa3a2081b639fdc25a Binary files /dev/null and b/hardware/tools/avr/bin/avr-gcc-ranlib.exe differ diff --git a/hardware/tools/avr/bin/avr-gcc.exe b/hardware/tools/avr/bin/avr-gcc.exe new file mode 100644 index 0000000000000000000000000000000000000000..54116412e4bb76bf26fcba8c089d03a490967812 --- /dev/null +++ b/hardware/tools/avr/bin/avr-gcc.exe @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d3a9a093afbd132302e430e4c88bbacccb0490ebf730f626b74662dc2460307b +size 874496 diff --git a/hardware/tools/avr/bin/avr-gcov-dump.exe b/hardware/tools/avr/bin/avr-gcov-dump.exe new file mode 100644 index 0000000000000000000000000000000000000000..828ed15261233fb5efba27473238583b276c7b0d --- /dev/null +++ b/hardware/tools/avr/bin/avr-gcov-dump.exe @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7f058299bdcd287d0bd8990ad9bfbed583738e205c344a93457b0838d0527565 +size 438272 diff --git a/hardware/tools/avr/bin/avr-gcov-tool.exe b/hardware/tools/avr/bin/avr-gcov-tool.exe new file mode 100644 index 0000000000000000000000000000000000000000..bd2feb702b4569bf0ad07cfe35330fc9417a0628 --- /dev/null +++ b/hardware/tools/avr/bin/avr-gcov-tool.exe @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ab0075f4a92b8950cab0dd24da0e48f32e9c32b4eed18a1b251bd58883147da7 +size 483328 diff --git a/hardware/tools/avr/bin/avr-gcov.exe b/hardware/tools/avr/bin/avr-gcov.exe new file mode 100644 index 0000000000000000000000000000000000000000..efc5a1b79a5193d62732e8326feb8a7338f3992b --- /dev/null +++ b/hardware/tools/avr/bin/avr-gcov.exe @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:639cdb3fa5e79f83cbbbafffc2b86c85b15c4d07a22e8274843eeddd902b17bb +size 523776 diff --git a/hardware/tools/avr/bin/avr-gprof.exe b/hardware/tools/avr/bin/avr-gprof.exe new file mode 100644 index 0000000000000000000000000000000000000000..5f66a439a60eace9c370c175918288705833bb55 --- /dev/null +++ b/hardware/tools/avr/bin/avr-gprof.exe @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8c63499172764b35b11f9b03f72eddd514fe20a23f2ec0e02a486d9ff8031740 +size 667648 diff --git a/hardware/tools/avr/bin/avr-man b/hardware/tools/avr/bin/avr-man new file mode 100644 index 0000000000000000000000000000000000000000..60e58bd45d717cebe072cb0937650eccc1fb6565 --- /dev/null +++ b/hardware/tools/avr/bin/avr-man @@ -0,0 +1,37 @@ +#! /bin/sh + +# Copyright (c) 2004, Joerg Wunsch +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# * Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# * Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in +# the documentation and/or other materials provided with the +# distribution. +# * Neither the name of the copyright holders nor the names of +# contributors may be used to endorse or promote products derived +# from this software without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. + +## man(1) replacement to access the avr-libc manual pages + +: ${DESTDIR:-} +prefix=/home/jenkins-mingw32/workspace/avr-gcc-staging/label/Ubuntu14.04x64-mingw32/objdir +datadir=/home/jenkins-mingw32/workspace/avr-gcc-staging/label/Ubuntu14.04x64-mingw32/objdir/share + +exec man -M /home/jenkins-mingw32/workspace/avr-gcc-staging/label/Ubuntu14.04x64-mingw32/objdir/share/doc/avr-libc-2.0.0/man "$@" diff --git a/hardware/tools/avr/bin/avr-size.exe b/hardware/tools/avr/bin/avr-size.exe new file mode 100644 index 0000000000000000000000000000000000000000..2fb8d08d867476d884fbc755e14c22f0a88589c7 --- /dev/null +++ b/hardware/tools/avr/bin/avr-size.exe @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:caf3b7005c4aee1ac99254b62fb5d4be13912c21d9a750745c859e80000a9590 +size 616448 diff --git a/hardware/tools/avr/bin/avr-strings.exe b/hardware/tools/avr/bin/avr-strings.exe new file mode 100644 index 0000000000000000000000000000000000000000..a69c8aff2d65f33195cede70e3604567d68b10ad --- /dev/null +++ b/hardware/tools/avr/bin/avr-strings.exe @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5a9f9427d0f07aa5dfa9cd057cdac39889a40decdc5767b042394689010af411 +size 608256 diff --git a/hardware/tools/avr/bin/avrdude.exe b/hardware/tools/avr/bin/avrdude.exe new file mode 100644 index 0000000000000000000000000000000000000000..00e93cee22e90feef8109f5e51fd4a8e4ff39dea --- /dev/null +++ b/hardware/tools/avr/bin/avrdude.exe @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b77b5409f89090f836427948980862200a88fd7900d65442e43f0c966cd82653 +size 562688 diff --git a/hardware/tools/avr/bin/giveio.sys b/hardware/tools/avr/bin/giveio.sys new file mode 100644 index 0000000000000000000000000000000000000000..62a0cb66ffda02c19a6db878b32f5b4342131258 Binary files /dev/null and b/hardware/tools/avr/bin/giveio.sys differ diff --git a/hardware/tools/avr/bin/install_giveio.bat b/hardware/tools/avr/bin/install_giveio.bat new file mode 100644 index 0000000000000000000000000000000000000000..4a02b093b1ae5528ce2e10be0635bba22a5473df --- /dev/null +++ b/hardware/tools/avr/bin/install_giveio.bat @@ -0,0 +1,34 @@ +@set DIRVERNAME=giveio +@set DIRVERFILE=%DIRVERNAME%.sys + +@echo Copying the driver to the windows directory +@echo target file: %WINDIR%\%DIRVERFILE% +@copy %DIRVERFILE% %WINDIR%\%DIRVERFILE% + +@echo Remove a running service if needed... +@loaddrv stop %DIRVERNAME% >NUL +@if errorlevel 2 goto install + +@loaddrv remove %DIRVERNAME% >NUL +@if errorlevel 1 goto install + +:install +@echo Installing Windows NT/2k/XP driver: %DIRVERNAME% + +@loaddrv install %DIRVERNAME% %WINDIR%\%DIRVERFILE% +@if errorlevel 3 goto error + +@loaddrv start %DIRVERNAME% +@if errorlevel 1 goto error + +@loaddrv starttype %DIRVERNAME% auto +@if errorlevel 1 goto error + +@echo Success +@goto exit + +:error +@echo ERROR: Installation of %DIRVERNAME% failed + +:exit + diff --git a/hardware/tools/avr/bin/libusb0.dll b/hardware/tools/avr/bin/libusb0.dll new file mode 100644 index 0000000000000000000000000000000000000000..6e475b90ac77bbf206e4dfe8239f37dd52e1d215 Binary files /dev/null and b/hardware/tools/avr/bin/libusb0.dll differ diff --git a/hardware/tools/avr/bin/loaddrv.exe b/hardware/tools/avr/bin/loaddrv.exe new file mode 100644 index 0000000000000000000000000000000000000000..abbc64c9efc5e977a85be38cc9efea1d04fb1e54 Binary files /dev/null and b/hardware/tools/avr/bin/loaddrv.exe differ diff --git a/hardware/tools/avr/bin/remove_giveio.bat b/hardware/tools/avr/bin/remove_giveio.bat new file mode 100644 index 0000000000000000000000000000000000000000..024427db820fc75c512235d273790e38f8e1a84e --- /dev/null +++ b/hardware/tools/avr/bin/remove_giveio.bat @@ -0,0 +1,14 @@ +@set DIRVERNAME=giveio + +@loaddrv stop %DIRVERNAME% +@if errorlevel 2 goto error + +@loaddrv remove %DIRVERNAME% +@if errorlevel 1 goto error + +@goto exit + +:error +@echo ERROR: Deinstallation of %DIRVERNAME% failed + +:exit diff --git a/hardware/tools/avr/bin/status_giveio.bat b/hardware/tools/avr/bin/status_giveio.bat new file mode 100644 index 0000000000000000000000000000000000000000..bc82147499f7d5b66ea6ca827f937f40b123cee1 --- /dev/null +++ b/hardware/tools/avr/bin/status_giveio.bat @@ -0,0 +1,12 @@ +@set DIRVERNAME=giveio + +@loaddrv status %DIRVERNAME% +@if errorlevel 1 goto error + +@goto exit + +:error +@echo ERROR: Status querry for %DIRVERNAME% failed + +:exit + diff --git a/hardware/tools/avr/builtin_tools_versions.txt b/hardware/tools/avr/builtin_tools_versions.txt new file mode 100644 index 0000000000000000000000000000000000000000..d517682314bae9e27ca0065cfa250864923bd044 --- /dev/null +++ b/hardware/tools/avr/builtin_tools_versions.txt @@ -0,0 +1,3 @@ +arduino.avrdude=6.3.0-arduino17 +arduino.arduinoOTA=1.3.0 +arduino.avr-gcc=7.3.0-atmel3.6.1-arduino7 diff --git a/hardware/tools/avr/etc/avrdude.conf b/hardware/tools/avr/etc/avrdude.conf new file mode 100644 index 0000000000000000000000000000000000000000..0765c151cd195eba6ebe4692aa9b89ffa24caad2 --- /dev/null +++ b/hardware/tools/avr/etc/avrdude.conf @@ -0,0 +1,16085 @@ +# $Id$ -*- text -*- +# +# AVRDUDE Configuration File +# +# This file contains configuration data used by AVRDUDE which describes +# the programming hardware pinouts and also provides part definitions. +# AVRDUDE's "-C" command line option specifies the location of the +# configuration file. The "-c" option names the programmer configuration +# which must match one of the entry's "id" parameter. The "-p" option +# identifies which part AVRDUDE is going to be programming and must match +# one of the parts' "id" parameter. +# +# DO NOT MODIFY THIS FILE. Modifications will be overwritten the next +# time a "make install" is run. For user-specific additions, use the +# "-C +filename" commandline option. +# +# Possible entry formats are: +# +# programmer +# parent # optional parent +# id = [, [, ] ...] ; # are quoted strings +# desc = ; # quoted string +# type = ; # programmer type, quoted string +# # supported programmer types can be listed by "-c ?type" +# connection_type = parallel | serial | usb +# baudrate = ; # baudrate for avr910-programmer +# vcc = [, ... ] ; # pin number(s) +# buff = [, ... ] ; # pin number(s) +# reset = ; # pin number +# sck = ; # pin number +# mosi = ; # pin number +# miso = ; # pin number +# errled = ; # pin number +# rdyled = ; # pin number +# pgmled = ; # pin number +# vfyled = ; # pin number +# usbvid = ; # USB VID (Vendor ID) +# usbpid = [, ...] # USB PID (Product ID) (1) +# usbdev = ; # USB interface or other device info +# usbvendor = ; # USB Vendor Name +# usbproduct = ; # USB Product Name +# usbsn = ; # USB Serial Number +# +# To invert a bit, use = ~ , the spaces are important. +# For a pin list all pins must be inverted. +# A single pin can be specified as usual = ~ , for lists +# specify it as follows = ~ ( [, ... ] ) . +# +# (1) Not all programmer types can process a list of PIDs. +# ; +# +# part +# id = ; # quoted string +# desc = ; # quoted string +# has_jtag = ; # part has JTAG i/f +# has_debugwire = ; # part has debugWire i/f +# has_pdi = ; # part has PDI i/f +# has_updi = ; # part has UPDI i/f +# has_tpi = ; # part has TPI i/f +# devicecode = ; # deprecated, use stk500_devcode +# stk500_devcode = ; # numeric +# avr910_devcode = ; # numeric +# signature = ; # signature bytes +# usbpid = ; # DFU USB PID +# chip_erase_delay = ; # micro-seconds +# reset = dedicated | io; +# retry_pulse = reset | sck; +# pgm_enable = ; +# chip_erase = ; +# chip_erase_delay = ; # chip erase delay (us) +# # STK500 parameters (parallel programming IO lines) +# pagel = ; # pin name in hex, i.e., 0xD7 +# bs2 = ; # pin name in hex, i.e., 0xA0 +# serial = ; # can use serial downloading +# parallel = ; # can use par. programming +# # STK500v2 parameters, to be taken from Atmel's XML files +# timeout = ; +# stabdelay = ; +# cmdexedelay = ; +# synchloops = ; +# bytedelay = ; +# pollvalue = ; +# pollindex = ; +# predelay = ; +# postdelay = ; +# pollmethod = ; +# mode = ; +# delay = ; +# blocksize = ; +# readsize = ; +# hvspcmdexedelay = ; +# # STK500v2 HV programming parameters, from XML +# pp_controlstack = , , ...; # PP only +# hvsp_controlstack = , , ...; # HVSP only +# hventerstabdelay = ; +# progmodedelay = ; # PP only +# latchcycles = ; +# togglevtg = ; +# poweroffdelay = ; +# resetdelayms = ; +# resetdelayus = ; +# hvleavestabdelay = ; +# resetdelay = ; +# synchcycles = ; # HVSP only +# chiperasepulsewidth = ; # PP only +# chiperasepolltimeout = ; +# chiperasetime = ; # HVSP only +# programfusepulsewidth = ; # PP only +# programfusepolltimeout = ; +# programlockpulsewidth = ; # PP only +# programlockpolltimeout = ; +# # JTAG ICE mkII parameters, also from XML files +# allowfullpagebitstream = ; +# enablepageprogramming = ; +# idr = ; # IO addr of IDR (OCD) reg. +# rampz = ; # IO addr of RAMPZ reg. +# spmcr = ; # mem addr of SPMC[S]R reg. +# eecr = ; # mem addr of EECR reg. +# # (only when != 0x3c) +# is_at90s1200 = ; # AT90S1200 part +# is_avr32 = ; # AVR32 part +# +# memory +# paged = ; # yes / no +# size = ; # bytes +# page_size = ; # bytes +# num_pages = ; # numeric +# min_write_delay = ; # micro-seconds +# max_write_delay = ; # micro-seconds +# readback_p1 = ; # byte value +# readback_p2 = ; # byte value +# pwroff_after_write = ; # yes / no +# read = ; +# write = ; +# read_lo = ; +# read_hi = ; +# write_lo = ; +# write_hi = ; +# loadpage_lo = ; +# loadpage_hi = ; +# writepage = ; +# ; +# ; +# +# If any of the above parameters are not specified, the default value +# of 0 is used for numerics or the empty string ("") for string +# values. If a required parameter is left empty, AVRDUDE will +# complain. +# +# Parts can also inherit parameters from previously defined parts +# using the following syntax. In this case specified integer and +# string values override parameter values from the parent part. New +# memory definitions are added to the definitions inherited from the +# parent. +# +# part parent # quoted string +# id = ; # quoted string +# +# ; +# +# NOTES: +# * 'devicecode' is the device code used by the STK500 (see codes +# listed below) +# * Not all memory types will implement all instructions. +# * AVR Fuse bits and Lock bits are implemented as a type of memory. +# * Example memory types are: +# "flash", "eeprom", "fuse", "lfuse" (low fuse), "hfuse" (high +# fuse), "signature", "calibration", "lock" +# * The memory type specified on the avrdude command line must match +# one of the memory types defined for the specified chip. +# * The pwroff_after_write flag causes avrdude to attempt to +# power the device off and back on after an unsuccessful write to +# the affected memory area if VCC programmer pins are defined. If +# VCC pins are not defined for the programmer, a message +# indicating that the device needs a power-cycle is printed out. +# This flag was added to work around a problem with the +# at90s4433/2333's; see the at90s4433 errata at: +# +# http://www.atmel.com/dyn/resources/prod_documents/doc1280.pdf +# +# INSTRUCTION FORMATS +# +# Instruction formats are specified as a comma seperated list of +# string values containing information (bit specifiers) about each +# of the 32 bits of the instruction. Bit specifiers may be one of +# the following formats: +# +# '1' = the bit is always set on input as well as output +# +# '0' = the bit is always clear on input as well as output +# +# 'x' = the bit is ignored on input and output +# +# 'a' = the bit is an address bit, the bit-number matches this bit +# specifier's position within the current instruction byte +# +# 'aN' = the bit is the Nth address bit, bit-number = N, i.e., a12 +# is address bit 12 on input, a0 is address bit 0. +# +# 'i' = the bit is an input data bit +# +# 'o' = the bit is an output data bit +# +# Each instruction must be composed of 32 bit specifiers. The +# instruction specification closely follows the instruction data +# provided in Atmel's data sheets for their parts. +# +# See below for some examples. +# +# +# The following are STK500 part device codes to use for the +# "devicecode" field of the part. These came from Atmel's software +# section avr061.zip which accompanies the application note +# AVR061 available from: +# +# http://www.atmel.com/dyn/resources/prod_documents/doc2525.pdf +# + +#define ATTINY10 0x10 /* the _old_ one that never existed! */ +#define ATTINY11 0x11 +#define ATTINY12 0x12 +#define ATTINY15 0x13 +#define ATTINY13 0x14 + +#define ATTINY22 0x20 +#define ATTINY26 0x21 +#define ATTINY28 0x22 +#define ATTINY2313 0x23 + +#define AT90S1200 0x33 + +#define AT90S2313 0x40 +#define AT90S2323 0x41 +#define AT90S2333 0x42 +#define AT90S2343 0x43 + +#define AT90S4414 0x50 +#define AT90S4433 0x51 +#define AT90S4434 0x52 +#define ATMEGA48 0x59 + +#define AT90S8515 0x60 +#define AT90S8535 0x61 +#define AT90C8534 0x62 +#define ATMEGA8515 0x63 +#define ATMEGA8535 0x64 + +#define ATMEGA8 0x70 +#define ATMEGA88 0x73 +#define ATMEGA168 0x86 + +#define ATMEGA161 0x80 +#define ATMEGA163 0x81 +#define ATMEGA16 0x82 +#define ATMEGA162 0x83 +#define ATMEGA169 0x84 + +#define ATMEGA323 0x90 +#define ATMEGA32 0x91 + +#define ATMEGA64 0xA0 + +#define ATMEGA103 0xB1 +#define ATMEGA128 0xB2 +#define AT90CAN128 0xB3 +#define AT90CAN64 0xB3 +#define AT90CAN32 0xB3 + +#define AT86RF401 0xD0 + +#define AT89START 0xE0 +#define AT89S51 0xE0 +#define AT89S52 0xE1 + +# The following table lists the devices in the original AVR910 +# appnote: +# |Device |Signature | Code | +# +-------+----------+------+ +# |tiny12 | 1E 90 05 | 0x55 | +# |tiny15 | 1E 90 06 | 0x56 | +# | | | | +# | S1200 | 1E 90 01 | 0x13 | +# | | | | +# | S2313 | 1E 91 01 | 0x20 | +# | S2323 | 1E 91 02 | 0x48 | +# | S2333 | 1E 91 05 | 0x34 | +# | S2343 | 1E 91 03 | 0x4C | +# | | | | +# | S4414 | 1E 92 01 | 0x28 | +# | S4433 | 1E 92 03 | 0x30 | +# | S4434 | 1E 92 02 | 0x6C | +# | | | | +# | S8515 | 1E 93 01 | 0x38 | +# | S8535 | 1E 93 03 | 0x68 | +# | | | | +# |mega32 | 1E 95 01 | 0x72 | +# |mega83 | 1E 93 05 | 0x65 | +# |mega103| 1E 97 01 | 0x41 | +# |mega161| 1E 94 01 | 0x60 | +# |mega163| 1E 94 02 | 0x64 | + +# Appnote AVR109 also has a table of AVR910 device codes, which +# lists: +# dev avr910 signature +# ATmega8 0x77 0x1E 0x93 0x07 +# ATmega8515 0x3B 0x1E 0x93 0x06 +# ATmega8535 0x6A 0x1E 0x93 0x08 +# ATmega16 0x75 0x1E 0x94 0x03 +# ATmega162 0x63 0x1E 0x94 0x04 +# ATmega163 0x66 0x1E 0x94 0x02 +# ATmega169 0x79 0x1E 0x94 0x05 +# ATmega32 0x7F 0x1E 0x95 0x02 +# ATmega323 0x73 0x1E 0x95 0x01 +# ATmega64 0x46 0x1E 0x96 0x02 +# ATmega128 0x44 0x1E 0x97 0x02 +# +# These codes refer to "BOOT" device codes which are apparently +# different than standard device codes, for whatever reasons +# (often one above the standard code). + +# There are several extended versions of AVR910 implementations around +# in the Internet. These add the following codes (only devices that +# actually exist are listed): + +# ATmega8515 0x3A +# ATmega128 0x43 +# ATmega64 0x45 +# ATtiny26 0x5E +# ATmega8535 0x69 +# ATmega32 0x72 +# ATmega16 0x74 +# ATmega8 0x76 +# ATmega169 0x78 + +# +# Overall avrdude defaults; suitable for ~/.avrduderc +# +default_parallel = "lpt1"; +default_serial = "com1"; +# default_bitclock = 2.5; + +# Turn off safemode by default +#default_safemode = no; + + +# +# PROGRAMMER DEFINITIONS +# + +# http://wiring.org.co/ +# Basically STK500v2 protocol, with some glue to trigger the +# bootloader. +programmer + id = "wiring"; + desc = "Wiring"; + type = "wiring"; + connection_type = serial; +; + +programmer + id = "arduino"; + desc = "Arduino"; + type = "arduino"; + connection_type = serial; +; +# this will interface with the chips on these programmers: +# +# http://real.kiev.ua/old/avreal/en/adapters +# http://www.amontec.com/jtagkey.shtml, jtagkey-tiny.shtml +# http://www.olimex.com/dev/arm-usb-ocd.html, arm-usb-tiny.html +# http://www.ethernut.de/en/hardware/turtelizer/index.html +# http://elk.informatik.fh-augsburg.de/hhweb/doc/openocd/usbjtag/usbjtag.html +# http://dangerousprototypes.com/docs/FT2232_breakout_board +# http://www.ftdichip.com/Products/Modules/DLPModules.htm,DLP-2232*,DLP-USB1232H +# http://flashrom.org/FT2232SPI_Programmer +# +# The drivers will look for a specific device and use the first one found. +# If you have mulitple devices, then look for unique information (like SN) +# And fill that in here. +# +# Note that the pin numbers for the main ISP signals (reset, sck, +# mosi, miso) are fixed and cannot be changed, since they must match +# the way the Multi-Protocol Synchronous Serial Engine (MPSSE) of +# these FTDI ICs has been designed. + +programmer + id = "avrftdi"; + desc = "FT2232D based generic programmer"; + type = "avrftdi"; + connection_type = usb; + usbvid = 0x0403; + usbpid = 0x6010; + usbvendor = ""; + usbproduct = ""; + usbdev = "A"; + usbsn = ""; +#ISP-signals - lower ADBUS-Nibble (default) + reset = 3; + sck = 0; + mosi = 1; + miso = 2; +#LED SIGNALs - higher ADBUS-Nibble +# errled = 4; +# rdyled = 5; +# pgmled = 6; +# vfyled = 7; +#Buffer Signal - ACBUS - Nibble +# buff = 8; +; +# This is an implementation of the above with a buffer IC (74AC244) and +# 4 LEDs directly attached, all active low. +programmer + id = "2232HIO"; + desc = "FT2232H based generic programmer"; + type = "avrftdi"; + connection_type = usb; + usbvid = 0x0403; +# Note: This PID is reserved for generic H devices and +# should be programmed into the EEPROM +# usbpid = 0x8A48; + usbpid = 0x6010; + usbdev = "A"; + usbvendor = ""; + usbproduct = ""; + usbsn = ""; +#ISP-signals + reset = 3; + sck = 0; + mosi = 1; + miso = 2; + buff = ~4; +#LED SIGNALs + errled = ~ 11; + rdyled = ~ 14; + pgmled = ~ 13; + vfyled = ~ 12; +; + +#The FT4232H can be treated as FT2232H, but it has a different USB +#device ID of 0x6011. +programmer parent "avrftdi" + id = "4232h"; + desc = "FT4232H based generic programmer"; + usbpid = 0x6011; +; + +programmer + id = "jtagkey"; + desc = "Amontec JTAGKey, JTAGKey-Tiny and JTAGKey2"; + type = "avrftdi"; + connection_type = usb; + usbvid = 0x0403; +# Note: This PID is used in all JTAGKey variants + usbpid = 0xCFF8; + usbdev = "A"; + usbvendor = ""; + usbproduct = ""; + usbsn = ""; +#ISP-signals => 20 - Pin connector on JTAGKey + reset = 3; # TMS 7 violet + sck = 0; # TCK 9 white + mosi = 1; # TDI 5 green + miso = 2; # TDO 13 orange + buff = ~4; +# VTG VREF 1 brown with red tip +# GND GND 20 black +# The colors are on the 20 pin breakout cable +# from Amontec +; + +# UM232H module from FTDI and Glyn.com.au. +# See helix.air.net.au for detailed usage information. +# J1: Connect pin 2 and 3 for USB power. +# J2: Connect pin 2 and 3 for USB power. +# J2: Pin 7 is SCK +# : Pin 8 is MOSI +# : Pin 9 is MISO +# : Pin 11 is RST +# : Pin 6 is ground +# Use the -b flag to set the SPI clock rate eg -b 3750000 is the fastest I could get +# a 16MHz Atmega1280 to program reliably. The 232H is conveniently 5V tolerant. +programmer + id = "UM232H"; + desc = "FT232H based module from FTDI and Glyn.com.au"; + type = "avrftdi"; + usbvid = 0x0403; +# Note: This PID is reserved for generic 232H devices and +# should be programmed into the EEPROM + usbpid = 0x6014; + usbdev = "A"; + usbvendor = ""; + usbproduct = ""; + usbsn = ""; +#ISP-signals + sck = 0; + mosi = 1; + miso = 2; + reset = 3; +; + +# C232HM module from FTDI and Glyn.com.au. +# : Orange is SCK +# : Yellow is MOSI +# : Green is MISO +# : Brown is RST +# : Black is ground +# Use the -b flag to set the SPI clock rate eg -b 3750000 is the fastest I could get +# a 16MHz Atmega1280 to program reliably. The 232H is conveniently 5V tolerant. +programmer + id = "C232HM"; + desc = "FT232H based module from FTDI and Glyn.com.au"; + type = "avrftdi"; + usbvid = 0x0403; +# Note: This PID is reserved for generic 232H devices and +# should be programmed into the EEPROM + usbpid = 0x6014; + usbdev = "A"; + usbvendor = ""; + usbproduct = ""; + usbsn = ""; +#ISP-signals + sck = 0; + mosi = 1; + miso = 2; + reset = 3; +; + + +# On the adapter you can read "O-Link". On the PCB is printed "OpenJTAG v3.1" +# You can find it as "OpenJTAG ARM JTAG USB" in the internet. +# (But there are also several projects called Open JTAG, eg. +# http://www.openjtag.org, which are completely different.) +# http://www.100ask.net/shop/english.html (website seems to be outdated) +# http://item.taobao.com/item.htm?id=1559277013 +# http://www.micro4you.com/store/openjtag-arm-jtag-usb.html (schematics!) +# some other sources which call it O-Link +# http://www.andahammer.com/olink/ +# http://www.developmentboard.net/31-o-link-debugger.html +# http://armwerks.com/catalog/o-link-debugger-copy/ +# or just have a look at ebay ... +# It is basically the same entry as jtagkey with different usb ids. +programmer parent "jtagkey" + id = "o-link"; + desc = "O-Link, OpenJTAG from www.100ask.net"; + usbvid = 0x1457; + usbpid = 0x5118; + usbvendor = "www.100ask.net"; + usbproduct = "USB<=>JTAG&RS232"; +; + +# http://wiki.openmoko.org/wiki/Debug_Board_v3 +programmer + id = "openmoko"; + desc = "Openmoko debug board (v3)"; + type = "avrftdi"; + usbvid = 0x1457; + usbpid = 0x5118; + usbdev = "A"; + usbvendor = ""; + usbproduct = ""; + usbsn = ""; + reset = 3; # TMS 7 + sck = 0; # TCK 9 + mosi = 1; # TDI 5 + miso = 2; # TDO 13 +; + +# Only Rev. A boards. +# Schematic and user manual: http://www.cs.put.poznan.pl/wswitala/download/pdf/811EVBK.pdf +programmer + id = "lm3s811"; + desc = "Luminary Micro LM3S811 Eval Board (Rev. A)"; + type = "avrftdi"; + connection_type = usb; + usbvid = 0x0403; + usbpid = 0xbcd9; + usbvendor = "LMI"; + usbproduct = "LM3S811 Evaluation Board"; + usbdev = "A"; + usbsn = ""; +#ISP-signals - lower ACBUS-Nibble (default) + reset = 3; + sck = 0; + mosi = 1; + miso = 2; +# Enable correct buffers + buff = 7; +; + +# submitted as bug #46020 +programmer + id = "tumpa"; + desc = "TIAO USB Multi-Protocol Adapter"; + type = "avrftdi"; + connection_type = usb; + usbvid = 0x0403; + usbpid = 0x8A98; + usbdev = "A"; + usbvendor = "TIAO"; + usbproduct = ""; + usbsn = ""; + sck = 0; # TCK 9 + mosi = 1; # TDI 5 + miso = 2; # TDO 13 + reset = 3; # TMS 7 +; + +programmer + id = "avrisp"; + desc = "Atmel AVR ISP"; + type = "stk500"; + connection_type = serial; +; + +programmer + id = "avrispv2"; + desc = "Atmel AVR ISP V2"; + type = "stk500v2"; + connection_type = serial; +; + +programmer + id = "avrispmkII"; + desc = "Atmel AVR ISP mkII"; + type = "stk500v2"; + connection_type = usb; +; + +programmer parent "avrispmkII" + id = "avrisp2"; +; + +programmer + id = "buspirate"; + desc = "The Bus Pirate"; + type = "buspirate"; + connection_type = serial; +; + +programmer + id = "buspirate_bb"; + desc = "The Bus Pirate (bitbang interface, supports TPI)"; + type = "buspirate_bb"; + connection_type = serial; + # pins are bits in bitbang byte (numbers are 87654321) + # 1|POWER|PULLUP|AUX|MOSI|CLK|MISO|CS + reset = 1; + sck = 3; + mosi = 4; + miso = 2; + #vcc = 7; This is internally set independent of this setting. +; + +# This is supposed to be the "default" STK500 entry. +# Attempts to select the correct firmware version +# by probing for it. Better use one of the entries +# below instead. +programmer + id = "stk500"; + desc = "Atmel STK500"; + type = "stk500generic"; + connection_type = serial; +; + +programmer + id = "stk500v1"; + desc = "Atmel STK500 Version 1.x firmware"; + type = "stk500"; + connection_type = serial; +; + +programmer + id = "mib510"; + desc = "Crossbow MIB510 programming board"; + type = "stk500"; + connection_type = serial; +; + +programmer + id = "stk500v2"; + desc = "Atmel STK500 Version 2.x firmware"; + type = "stk500v2"; + connection_type = serial; +; + +programmer + id = "stk500pp"; + desc = "Atmel STK500 V2 in parallel programming mode"; + type = "stk500pp"; + connection_type = serial; +; + +programmer + id = "stk500hvsp"; + desc = "Atmel STK500 V2 in high-voltage serial programming mode"; + type = "stk500hvsp"; + connection_type = serial; +; + +programmer + id = "stk600"; + desc = "Atmel STK600"; + type = "stk600"; + connection_type = usb; +; + +programmer + id = "stk600pp"; + desc = "Atmel STK600 in parallel programming mode"; + type = "stk600pp"; + connection_type = usb; +; + +programmer + id = "stk600hvsp"; + desc = "Atmel STK600 in high-voltage serial programming mode"; + type = "stk600hvsp"; + connection_type = usb; +; + +programmer + id = "avr910"; + desc = "Atmel Low Cost Serial Programmer"; + type = "avr910"; + connection_type = serial; +; + +programmer + id = "ft245r"; + desc = "FT245R Synchronous BitBang"; + type = "ftdi_syncbb"; + connection_type = usb; + miso = 1; # D1 + sck = 0; # D0 + mosi = 2; # D2 + reset = 4; # D4 +; + +programmer + id = "ft232r"; + desc = "FT232R Synchronous BitBang"; + type = "ftdi_syncbb"; + connection_type = usb; + miso = 1; # RxD + sck = 0; # TxD + mosi = 2; # RTS + reset = 4; # DTR +; + +# see http://www.bitwizard.nl/wiki/index.php/FTDI_ATmega +programmer + id = "bwmega"; + desc = "BitWizard ftdi_atmega builtin programmer"; + type = "ftdi_syncbb"; + connection_type = usb; + miso = 5; # DSR + sck = 6; # DCD + mosi = 3; # CTS + reset = 7; # RI +; + +# see http://www.geocities.jp/arduino_diecimila/bootloader/index_en.html +# Note: pins are numbered from 1! +programmer + id = "arduino-ft232r"; + desc = "Arduino: FT232R connected to ISP"; + type = "ftdi_syncbb"; + connection_type = usb; + miso = 3; # CTS X3(1) + sck = 5; # DSR X3(2) + mosi = 6; # DCD X3(3) + reset = 7; # RI X3(4) +; + +# website mentioned above uses this id +programmer parent "arduino-ft232r" + id = "diecimila"; + desc = "alias for arduino-ft232r"; +; + +# There is a ATmega328P kit PCB called "uncompatino". +# This board allows ISP via its on-board FT232R. +# This is designed like Arduino Duemilanove but has no standard ICPS header. +# Its 4 pairs of pins are shorted to enable ftdi_syncbb. +# http://akizukidenshi.com/catalog/g/gP-07487/ +# http://akizukidenshi.com/download/ds/akizuki/k6096_manual_20130816.pdf +programmer + id = "uncompatino"; + desc = "uncompatino with all pairs of pins shorted"; + type = "ftdi_syncbb"; + connection_type = usb; + miso = 3; # cts + sck = 5; # dsr + mosi = 6; # dcd + reset = 7; # ri +; + +# FTDI USB to serial cable TTL-232R-5V with a custom adapter for ICSP +# http://www.ftdichip.com/Products/Cables/USBTTLSerial.htm +# http://www.ftdichip.com/Support/Documents/DataSheets/Cables/DS_TTL-232R_CABLES.pdf +# For ICSP pinout see for example http://www.atmel.com/images/doc2562.pdf +# (Figure 1. ISP6PIN header pinout and Table 1. Connections required for ISP ...) +# TTL-232R GND 1 Black -> ICPS GND (pin 6) +# TTL-232R CTS 2 Brown -> ICPS MOSI (pin 4) +# TTL-232R VCC 3 Red -> ICPS VCC (pin 2) +# TTL-232R TXD 4 Orange -> ICPS RESET (pin 5) +# TTL-232R RXD 5 Yellow -> ICPS SCK (pin 3) +# TTL-232R RTS 6 Green -> ICPS MISO (pin 1) +# Except for VCC and GND, you can connect arbitual pairs as long as +# the following table is adjusted. +programmer + id = "ttl232r"; + desc = "FTDI TTL232R-5V with ICSP adapter"; + type = "ftdi_syncbb"; + connection_type = usb; + miso = 2; # rts + sck = 1; # rxd + mosi = 3; # cts + reset = 0; # txd +; + +programmer + id = "usbasp"; + desc = "USBasp, http://www.fischl.de/usbasp/"; + type = "usbasp"; + connection_type = usb; + usbvid = 0x16C0; # VOTI + usbpid = 0x05DC; # Obdev's free shared PID + usbvendor = "www.fischl.de"; + usbproduct = "USBasp"; + + # following variants are autodetected for id "usbasp" + + # original usbasp from fischl.de + # see above "usbasp" + + # old usbasp from fischl.de + #usbvid = 0x03EB; # ATMEL + #usbpid = 0xC7B4; # (unoffical) USBasp + #usbvendor = "www.fischl.de"; + #usbproduct = "USBasp"; + + # NIBObee (only if -P nibobee is given on command line) + # see below "nibobee" +; + +programmer + id = "nibobee"; + desc = "NIBObee"; + type = "usbasp"; + connection_type = usb; + usbvid = 0x16C0; # VOTI + usbpid = 0x092F; # NIBObee PID + usbvendor = "www.nicai-systems.com"; + usbproduct = "NIBObee"; +; + +programmer + id = "usbasp-clone"; + desc = "Any usbasp clone with correct VID/PID"; + type = "usbasp"; + connection_type = usb; + usbvid = 0x16C0; # VOTI + usbpid = 0x05DC; # Obdev's free shared PID + #usbvendor = ""; + #usbproduct = ""; +; + +# USBtiny can also be used for TPI programming. +# In that case, a resistor of 1 kOhm is needed between MISO and MOSI +# pins of the connector, and MISO (pin 1 of the 6-pin connector) +# connects to TPIDATA. +programmer + id = "usbtiny"; + desc = "USBtiny simple USB programmer, https://learn.adafruit.com/usbtinyisp"; + type = "usbtiny"; + connection_type = usb; + usbvid = 0x1781; + usbpid = 0x0c9f; +; + +# commercial version of USBtiny, using a separate VID/PID +programmer + id = "ehajo-isp"; + desc = "avr-isp-programmer from eHaJo, http://www.eHaJo.de"; + type = "usbtiny"; + connection_type = usb; + usbvid = 0x16D0; + usbpid = 0x0BA5; +; + +programmer + id = "arduinoisp"; + desc = "Arduino ISP Programmer"; + type = "usbtiny"; + connection_type = usb; + usbvid = 0x2341; + usbpid = 0x0049; +; + +programmer + id = "arduinoisporg"; + desc = "Arduino ISP Programmer"; + type = "usbtiny"; + connection_type = usb; + usbvid = 0x2A03; + usbpid = 0x0049; +; + +programmer + id = "butterfly"; + desc = "Atmel Butterfly Development Board"; + type = "butterfly"; + connection_type = serial; +; + +programmer + id = "avr109"; + desc = "Atmel AppNote AVR109 Boot Loader"; + type = "butterfly"; + connection_type = serial; +; + +programmer + id = "avr911"; + desc = "Atmel AppNote AVR911 AVROSP"; + type = "butterfly"; + connection_type = serial; +; + +# suggested in http://forum.mikrokopter.de/topic-post48317.html +programmer + id = "mkbutterfly"; + desc = "Mikrokopter.de Butterfly"; + type = "butterfly_mk"; + connection_type = serial; +; + +programmer parent "mkbutterfly" + id = "butterfly_mk"; +; + +programmer + id = "jtagmkI"; + desc = "Atmel JTAG ICE (mkI)"; + baudrate = 115200; # default is 115200 + type = "jtagmki"; + connection_type = serial; +; + +# easier to type +programmer parent "jtagmkI" + id = "jtag1"; +; + +# easier to type +programmer parent "jtag1" + id = "jtag1slow"; + baudrate = 19200; +; + +# The JTAG ICE mkII has both, serial and USB connectivity. As it is +# mostly used through USB these days (AVR Studio 5 only supporting it +# that way), we make connection_type = usb the default. Users are +# still free to use a serial port with the -P option. + +programmer + id = "jtagmkII"; + desc = "Atmel JTAG ICE mkII"; + baudrate = 19200; # default is 19200 + type = "jtagmkii"; + connection_type = usb; +; + +# easier to type +programmer parent "jtagmkII" + id = "jtag2slow"; +; + +# JTAG ICE mkII @ 115200 Bd +programmer parent "jtag2slow" + id = "jtag2fast"; + baudrate = 115200; +; + +# make the fast one the default, people will love that +programmer parent "jtag2fast" + id = "jtag2"; +; + +# JTAG ICE mkII in ISP mode +programmer + id = "jtag2isp"; + desc = "Atmel JTAG ICE mkII in ISP mode"; + baudrate = 115200; + type = "jtagmkii_isp"; + connection_type = usb; +; + +# JTAG ICE mkII in debugWire mode +programmer + id = "jtag2dw"; + desc = "Atmel JTAG ICE mkII in debugWire mode"; + baudrate = 115200; + type = "jtagmkii_dw"; + connection_type = usb; +; + +# JTAG ICE mkII in AVR32 mode +programmer + id = "jtagmkII_avr32"; + desc = "Atmel JTAG ICE mkII im AVR32 mode"; + baudrate = 115200; + type = "jtagmkii_avr32"; + connection_type = usb; +; + +# JTAG ICE mkII in AVR32 mode +programmer + id = "jtag2avr32"; + desc = "Atmel JTAG ICE mkII im AVR32 mode"; + baudrate = 115200; + type = "jtagmkii_avr32"; + connection_type = usb; +; + +# JTAG ICE mkII in PDI mode +programmer + id = "jtag2pdi"; + desc = "Atmel JTAG ICE mkII PDI mode"; + baudrate = 115200; + type = "jtagmkii_pdi"; + connection_type = usb; +; + +# AVR Dragon in JTAG mode +programmer + id = "dragon_jtag"; + desc = "Atmel AVR Dragon in JTAG mode"; + baudrate = 115200; + type = "dragon_jtag"; + connection_type = usb; +; + +# AVR Dragon in ISP mode +programmer + id = "dragon_isp"; + desc = "Atmel AVR Dragon in ISP mode"; + baudrate = 115200; + type = "dragon_isp"; + connection_type = usb; +; + +# AVR Dragon in PP mode +programmer + id = "dragon_pp"; + desc = "Atmel AVR Dragon in PP mode"; + baudrate = 115200; + type = "dragon_pp"; + connection_type = usb; +; + +# AVR Dragon in HVSP mode +programmer + id = "dragon_hvsp"; + desc = "Atmel AVR Dragon in HVSP mode"; + baudrate = 115200; + type = "dragon_hvsp"; + connection_type = usb; +; + +# AVR Dragon in debugWire mode +programmer + id = "dragon_dw"; + desc = "Atmel AVR Dragon in debugWire mode"; + baudrate = 115200; + type = "dragon_dw"; + connection_type = usb; +; + +# AVR Dragon in PDI mode +programmer + id = "dragon_pdi"; + desc = "Atmel AVR Dragon in PDI mode"; + baudrate = 115200; + type = "dragon_pdi"; + connection_type = usb; +; + +programmer + id = "jtag3"; + desc = "Atmel AVR JTAGICE3 in JTAG mode"; + type = "jtagice3"; + connection_type = usb; + usbpid = 0x2110, 0x2140; +; + +programmer + id = "jtag3pdi"; + desc = "Atmel AVR JTAGICE3 in PDI mode"; + type = "jtagice3_pdi"; + connection_type = usb; + usbpid = 0x2110, 0x2140; +; + +programmer + id = "jtag3dw"; + desc = "Atmel AVR JTAGICE3 in debugWIRE mode"; + type = "jtagice3_dw"; + connection_type = usb; + usbpid = 0x2110, 0x2140; +; + +programmer + id = "jtag3isp"; + desc = "Atmel AVR JTAGICE3 in ISP mode"; + type = "jtagice3_isp"; + connection_type = usb; + usbpid = 0x2110, 0x2140; +; + +programmer + id = "xplainedpro"; + desc = "Atmel AVR XplainedPro in JTAG mode"; + type = "jtagice3"; + connection_type = usb; + usbpid = 0x2111; +; + +programmer + id = "xplainedpro_updi"; + desc = "Atmel AVR XplainedPro in UPDI mode"; + type = "jtagice3_updi"; + connection_type = usb; + usbpid = 0x2111; +; + +programmer + id = "xplainedmini"; + desc = "Atmel AVR XplainedMini in ISP mode"; + type = "jtagice3_isp"; + connection_type = usb; + usbpid = 0x2145; +; + +programmer + id = "xplainedmini_dw"; + desc = "Atmel AVR XplainedMini in debugWIRE mode"; + type = "jtagice3_dw"; + connection_type = usb; + usbpid = 0x2145; +; + +programmer + id = "xplainedmini_updi"; + desc = "Atmel AVR XplainedMini in UPDI mode"; + type = "jtagice3_updi"; + connection_type = usb; + usbpid = 0x2145; +; + +programmer + id = "atmelice"; + desc = "Atmel-ICE (ARM/AVR) in JTAG mode"; + type = "jtagice3"; + connection_type = usb; + usbpid = 0x2141; +; + +programmer + id = "atmelice_pdi"; + desc = "Atmel-ICE (ARM/AVR) in PDI mode"; + type = "jtagice3_pdi"; + connection_type = usb; + usbpid = 0x2141; +; + +programmer + id = "atmelice_updi"; + desc = "Atmel-ICE (ARM/AVR) in UPDI mode"; + type = "jtagice3_updi"; + connection_type = usb; + usbpid = 0x2141; +; + +programmer + id = "atmelice_dw"; + desc = "Atmel-ICE (ARM/AVR) in debugWIRE mode"; + type = "jtagice3_dw"; + connection_type = usb; + usbpid = 0x2141; +; + +programmer + id = "atmelice_isp"; + desc = "Atmel-ICE (ARM/AVR) in ISP mode"; + type = "jtagice3_isp"; + connection_type = usb; + usbpid = 0x2141; +; + +programmer + id = "powerdebugger"; + desc = "Atmel PowerDebugger (ARM/AVR) in JTAG mode"; + type = "jtagice3"; + connection_type = usb; + usbpid = 0x2144; +; + +programmer + id = "powerdebugger_pdi"; + desc = "Atmel PowerDebugger (ARM/AVR) in PDI mode"; + type = "jtagice3_pdi"; + connection_type = usb; + usbpid = 0x2144; +; + +programmer + id = "powerdebugger_updi"; + desc = "Atmel PowerDebugger (ARM/AVR) in UPDI mode"; + type = "jtagice3_updi"; + connection_type = usb; + usbpid = 0x2144; +; + +programmer + id = "powerdebugger_dw"; + desc = "Atmel PowerDebugger (ARM/AVR) in debugWire mode"; + type = "jtagice3_dw"; + connection_type = usb; + usbpid = 0x2144; +; + +programmer + id = "powerdebugger_isp"; + desc = "Atmel PowerDebugger (ARM/AVR) in ISP mode"; + type = "jtagice3_isp"; + connection_type = usb; + usbpid = 0x2144; +; + +programmer + id = "pavr"; + desc = "Jason Kyle's pAVR Serial Programmer"; + type = "avr910"; + connection_type = serial; +; + +programmer + id = "pickit2"; + desc = "MicroChip's PICkit2 Programmer"; + type = "pickit2"; + connection_type = usb; +; + +programmer + id = "flip1"; + desc = "FLIP USB DFU protocol version 1 (doc7618)"; + type = "flip1"; + connection_type = usb; +; + +programmer + id = "flip2"; + desc = "FLIP USB DFU protocol version 2 (AVR4023)"; + type = "flip2"; + connection_type = usb; +; + +# Parallel port programmers. + +programmer + id = "bsd"; + desc = "Brian Dean's Programmer, http://www.bsdhome.com/avrdude/"; + type = "par"; + connection_type = parallel; + vcc = 2, 3, 4, 5; + reset = 7; + sck = 8; + mosi = 9; + miso = 10; +; + +programmer + id = "stk200"; + desc = "STK200"; + type = "par"; + connection_type = parallel; + buff = 4, 5; + sck = 6; + mosi = 7; + reset = 9; + miso = 10; +; + +# The programming dongle used by the popular Ponyprog +# utility. It is almost similar to the STK200 one, +# except that there is a LED indicating that the +# programming is currently in progress. + +programmer parent "stk200" + id = "pony-stk200"; + desc = "Pony Prog STK200"; + pgmled = 8; +; + +programmer + id = "dt006"; + desc = "Dontronics DT006"; + type = "par"; + connection_type = parallel; + reset = 4; + sck = 5; + mosi = 2; + miso = 11; +; + +programmer parent "dt006" + id = "bascom"; + desc = "Bascom SAMPLE programming cable"; +; + +programmer + id = "alf"; + desc = "Nightshade ALF-PgmAVR, http://nightshade.homeip.net/"; + type = "par"; + connection_type = parallel; + vcc = 2, 3, 4, 5; + buff = 6; + reset = 7; + sck = 8; + mosi = 9; + miso = 10; + errled = 1; + rdyled = 14; + pgmled = 16; + vfyled = 17; +; + +programmer + id = "sp12"; + desc = "Steve Bolt's Programmer"; + type = "par"; + connection_type = parallel; + vcc = 4,5,6,7,8; + reset = 3; + sck = 2; + mosi = 9; + miso = 11; +; + +programmer + id = "picoweb"; + desc = "Picoweb Programming Cable, http://www.picoweb.net/"; + type = "par"; + connection_type = parallel; + reset = 2; + sck = 3; + mosi = 4; + miso = 13; +; + +programmer + id = "abcmini"; + desc = "ABCmini Board, aka Dick Smith HOTCHIP"; + type = "par"; + connection_type = parallel; + reset = 4; + sck = 3; + mosi = 2; + miso = 10; +; + +programmer + id = "futurlec"; + desc = "Futurlec.com programming cable."; + type = "par"; + connection_type = parallel; + reset = 3; + sck = 2; + mosi = 1; + miso = 10; +; + + +# From the contributor of the "xil" jtag cable: +# The "vcc" definition isn't really vcc (the cable gets its power from +# the programming circuit) but is necessary to switch one of the +# buffer lines (trying to add it to the "buff" lines doesn't work in +# avrdude versions before 5.5j). +# With this, TMS connects to RESET, TDI to MOSI, TDO to MISO and TCK +# to SCK (plus vcc/gnd of course) +programmer + id = "xil"; + desc = "Xilinx JTAG cable"; + type = "par"; + connection_type = parallel; + mosi = 2; + sck = 3; + reset = 4; + buff = 5; + miso = 13; + vcc = 6; +; + + +programmer + id = "dapa"; + desc = "Direct AVR Parallel Access cable"; + type = "par"; + connection_type = parallel; + vcc = 3; + reset = 16; + sck = 1; + mosi = 2; + miso = 11; +; + +programmer + id = "atisp"; + desc = "AT-ISP V1.1 programming cable for AVR-SDK1 from micro-research.co.th"; + type = "par"; + connection_type = parallel; + reset = ~6; + sck = ~8; + mosi = ~7; + miso = ~10; +; + +programmer + id = "ere-isp-avr"; + desc = "ERE ISP-AVR "; + type = "par"; + connection_type = parallel; + reset = ~4; + sck = 3; + mosi = 2; + miso = 10; +; + +programmer + id = "blaster"; + desc = "Altera ByteBlaster"; + type = "par"; + connection_type = parallel; + sck = 2; + miso = 11; + reset = 3; + mosi = 8; + buff = 14; +; + +# It is almost same as pony-stk200, except vcc on pin 5 to auto +# disconnect port (download on http://electropol.free.fr/spip/spip.php?article27) +programmer parent "pony-stk200" + id = "frank-stk200"; + desc = "Frank STK200"; + buff = ; # delete buff pin assignment + vcc = 5; +; + +# The AT98ISP Cable is a simple parallel dongle for AT89 family. +# http://www.atmel.com/dyn/products/tools_card.asp?tool_id=2877 +programmer + id = "89isp"; + desc = "Atmel at89isp cable"; + type = "par"; + connection_type = parallel; + reset = 17; + sck = 1; + mosi = 2; + miso = 10; +; + + +#This programmer bitbangs GPIO lines using the Linux sysfs GPIO interface +# +#To enable it set the configuration below to match the GPIO lines connected to the +#relevant ISP header pins and uncomment the entry definition. In case you don't +#have the required permissions to edit this system wide config file put the +#entry in a separate .conf file and use it with -C+.conf +#on the command line. +# +#To check if your avrdude build has support for the linuxgpio programmer compiled in, +#use -c?type on the command line and look for linuxgpio in the list. If it's not available +#you need pass the --enable-linuxgpio=yes option to configure and recompile avrdude. +# +#programmer +# id = "linuxgpio"; +# desc = "Use the Linux sysfs interface to bitbang GPIO lines"; +# type = "linuxgpio"; +# reset = ?; +# sck = ?; +# mosi = ?; +# miso = ?; +#; + + +#This programmer uses the built in linux SPI bus devices to program an +#attached AVR. A GPIO accessed through the sysfs GPIO interface needs to +#be specified for a reset pin since the linux SPI userspace functions do +#not allow for control over the slave select/chip select signal. +# +programmer + id = "linuxspi"; + desc = "Use Linux SPI device in /dev/spidev*"; + type = "linuxspi"; + reset = 25; +; + +# some ultra cheap programmers use bitbanging on the +# serialport. +# +# PC - DB9 - Pins for RS232: +# +# GND 5 -- |O +# | O| <- 9 RI +# DTR 4 <- |O | +# | O| <- 8 CTS +# TXD 3 <- |O | +# | O| -> 7 RTS +# RXD 2 -> |O | +# | O| <- 6 DSR +# DCD 1 -> |O +# +# Using RXD is currently not supported. +# Using RI is not supported under Win32 but is supported under Posix. + +# serial ponyprog design (dasa2 in uisp) +# reset=!txd sck=rts mosi=dtr miso=cts + +programmer + id = "ponyser"; + desc = "design ponyprog serial, reset=!txd sck=rts mosi=dtr miso=cts"; + type = "serbb"; + connection_type = serial; + reset = ~3; + sck = 7; + mosi = 4; + miso = 8; +; + +# Same as above, different name +# reset=!txd sck=rts mosi=dtr miso=cts + +programmer parent "ponyser" + id = "siprog"; + desc = "Lancos SI-Prog "; +; + +# unknown (dasa in uisp) +# reset=rts sck=dtr mosi=txd miso=cts + +programmer + id = "dasa"; + desc = "serial port banging, reset=rts sck=dtr mosi=txd miso=cts"; + type = "serbb"; + connection_type = serial; + reset = 7; + sck = 4; + mosi = 3; + miso = 8; +; + +# unknown (dasa3 in uisp) +# reset=!dtr sck=rts mosi=txd miso=cts + +programmer + id = "dasa3"; + desc = "serial port banging, reset=!dtr sck=rts mosi=txd miso=cts"; + type = "serbb"; + connection_type = serial; + reset = ~4; + sck = 7; + mosi = 3; + miso = 8; +; + +# C2N232i (jumper configuration "auto") +# reset=dtr sck=!rts mosi=!txd miso=!cts + +programmer + id = "c2n232i"; + desc = "serial port banging, reset=dtr sck=!rts mosi=!txd miso=!cts"; + type = "serbb"; + connection_type = serial; + reset = 4; + sck = ~7; + mosi = ~3; + miso = ~8; +; + +# +# PART DEFINITIONS +# + +#------------------------------------------------------------ +# ATtiny11 +#------------------------------------------------------------ + +# This is an HVSP-only device. + +part + id = "t11"; + desc = "ATtiny11"; + stk500_devcode = 0x11; + signature = 0x1e 0x90 0x04; + chip_erase_delay = 20000; + + timeout = 200; + hvsp_controlstack = + 0x4C, 0x0C, 0x1C, 0x2C, 0x3C, 0x64, 0x74, 0x00, + 0x68, 0x78, 0x68, 0x68, 0x00, 0x00, 0x68, 0x78, + 0x78, 0x00, 0x6D, 0x0C, 0x80, 0x40, 0x20, 0x10, + 0x11, 0x08, 0x04, 0x02, 0x03, 0x08, 0x04, 0x00; + hventerstabdelay = 100; + progmodedelay = 0; + hvspcmdexedelay = 0; + synchcycles = 6; + latchcycles = 1; + togglevtg = 1; + poweroffdelay = 25; + resetdelayms = 0; + resetdelayus = 50; + hvleavestabdelay = 100; + resetdelay = 25; + chiperasepolltimeout = 40; + chiperasetime = 0; + programfusepolltimeout = 25; + programlockpolltimeout = 25; + + memory "eeprom" + size = 64; + blocksize = 64; + readsize = 256; + delay = 5; + ; + + memory "flash" + size = 1024; + blocksize = 128; + readsize = 256; + delay = 3; + ; + + memory "signature" + size = 3; + ; + + memory "lock" + size = 1; + ; + + memory "calibration" + size = 1; + ; + + memory "fuse" + size = 1; + ; +; + +#------------------------------------------------------------ +# ATtiny12 +#------------------------------------------------------------ + +part + id = "t12"; + desc = "ATtiny12"; + stk500_devcode = 0x12; + avr910_devcode = 0x55; + signature = 0x1e 0x90 0x05; + chip_erase_delay = 20000; + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 x x x x x", + "x x x x x x x x x x x x x x x x"; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 0; + + hvsp_controlstack = + 0x4C, 0x0C, 0x1C, 0x2C, 0x3C, 0x64, 0x74, 0x00, + 0x68, 0x78, 0x68, 0x68, 0x00, 0x00, 0x68, 0x78, + 0x78, 0x00, 0x6D, 0x0C, 0x80, 0x40, 0x20, 0x10, + 0x11, 0x08, 0x04, 0x02, 0x03, 0x08, 0x04, 0x00; + hventerstabdelay = 100; + hvspcmdexedelay = 0; + synchcycles = 6; + latchcycles = 1; + togglevtg = 1; + poweroffdelay = 25; + resetdelayms = 0; + resetdelayus = 50; + hvleavestabdelay = 100; + resetdelay = 25; + chiperasepolltimeout = 40; + chiperasetime = 0; + programfusepolltimeout = 25; + programlockpolltimeout = 25; + + memory "eeprom" + size = 64; + min_write_delay = 9000; + max_write_delay = 20000; + readback_p1 = 0xff; + readback_p2 = 0xff; + read = "1 0 1 0 0 0 0 0 x x x x x x x x", + "x x a5 a4 a3 a2 a1 a0 o o o o o o o o"; + + write = "1 1 0 0 0 0 0 0 x x x x x x x x", + "x x a5 a4 a3 a2 a1 a0 i i i i i i i i"; + + mode = 0x04; + delay = 8; + blocksize = 64; + readsize = 256; + ; + + memory "flash" + size = 1024; + min_write_delay = 4500; + max_write_delay = 20000; + readback_p1 = 0xff; + readback_p2 = 0xff; + read_lo = " 0 0 1 0 0 0 0 0", + " x x x x x x x a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + " x x x x x x x a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + write_lo = " 0 1 0 0 0 0 0 0", + " x x x x x x x a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + write_hi = " 0 1 0 0 1 0 0 0", + " x x x x x x x a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + mode = 0x04; + delay = 5; + blocksize = 128; + readsize = 256; + ; + + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 x x x x x x x x", + "0 0 0 0 0 0 a1 a0 o o o o o o o o"; + ; + + memory "lock" + size = 1; + read = "0 1 0 1 1 0 0 0 x x x x x x x x", + "x x x x x x x x x x x x x o o x"; + + write = "1 0 1 0 1 1 0 0 1 1 1 1 1 i i 1", + "x x x x x x x x x x x x x x x x"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "calibration" + size = 1; + read = "0 0 1 1 1 0 0 0 x x x x x x x x", + "0 0 0 0 0 0 0 0 o o o o o o o o"; + ; + + memory "fuse" + size = 1; + read = "0 1 0 1 0 0 0 0 x x x x x x x x", + "x x x x x x x x o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 x x x x x", + "x x x x x x x x i i i i i i i i"; + min_write_delay = 9000; + max_write_delay = 9000; + ; +; + +#------------------------------------------------------------ +# ATtiny13 +#------------------------------------------------------------ + +part + id = "t13"; + desc = "ATtiny13"; + has_debugwire = yes; + flash_instr = 0xB4, 0x0E, 0x1E; + eeprom_instr = 0xBB, 0xFE, 0xBB, 0xEE, 0xBB, 0xCC, 0xB2, 0x0D, + 0xBC, 0x0E, 0xB4, 0x0E, 0xBA, 0x0D, 0xBB, 0xBC, + 0x99, 0xE1, 0xBB, 0xAC; + stk500_devcode = 0x14; + signature = 0x1e 0x90 0x07; + chip_erase_delay = 4000; + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 x x x x x", + "x x x x x x x x x x x x x x x x"; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 1; + + hvsp_controlstack = + 0x4C, 0x0C, 0x1C, 0x2C, 0x3C, 0x64, 0x74, 0x66, + 0x68, 0x78, 0x68, 0x68, 0x7A, 0x6A, 0x68, 0x78, + 0x78, 0x7D, 0x6D, 0x0C, 0x80, 0x40, 0x20, 0x10, + 0x11, 0x08, 0x04, 0x02, 0x03, 0x08, 0x04, 0x00; + hventerstabdelay = 100; + progmodedelay = 0; + hvspcmdexedelay = 0; + synchcycles = 6; + latchcycles = 1; + togglevtg = 1; + poweroffdelay = 25; + resetdelayms = 0; + resetdelayus = 90; + hvleavestabdelay = 100; + resetdelay = 25; + chiperasepolltimeout = 40; + chiperasetime = 0; + programfusepolltimeout = 25; + programlockpolltimeout = 25; + + ocdrev = 0; + + memory "eeprom" + size = 64; + page_size = 4; + min_write_delay = 4000; + max_write_delay = 4000; + readback_p1 = 0xff; + readback_p2 = 0xff; + read = "1 0 1 0 0 0 0 0 0 0 0 x x x x x", + "x x a5 a4 a3 a2 a1 a0 o o o o o o o o"; + + write = "1 1 0 0 0 0 0 0 0 0 0 x x x x x", + "x x a5 a4 a3 a2 a1 a0 i i i i i i i i"; + + loadpage_lo = " 1 1 0 0 0 0 0 1", + " 0 0 0 0 0 0 0 0", + " 0 0 0 0 0 0 a1 a0", + " i i i i i i i i"; + + writepage = " 1 1 0 0 0 0 1 0", + " 0 0 x x x x x x", + " x x a5 a4 a3 a2 0 0", + " x x x x x x x x"; + + mode = 0x41; + delay = 5; + blocksize = 4; + readsize = 256; + ; + + memory "flash" + paged = yes; + size = 1024; + page_size = 32; + num_pages = 32; + min_write_delay = 4500; + max_write_delay = 4500; + readback_p1 = 0xff; + readback_p2 = 0xff; + read_lo = " 0 0 1 0 0 0 0 0", + " 0 0 0 0 0 0 0 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + " 0 0 0 0 0 0 0 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " 0 0 0 x x x x x", + " x x x x a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " 0 0 0 x x x x x", + " x x x x a3 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + " 0 0 0 0 0 0 0 a8", + " a7 a6 a5 a4 x x x x", + " x x x x x x x x"; + + mode = 0x41; + delay = 6; + blocksize = 32; + readsize = 256; + ; + + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 0 0 0 x x x x x", + "x x x x x x a1 a0 o o o o o o o o"; + ; + + memory "lock" + size = 1; + min_write_delay = 4500; + max_write_delay = 4500; + + read = "0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x x x o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 1 1 x x x x x", + "x x x x x x x x 1 1 i i i i i i"; + ; + + memory "calibration" + size = 2; + read = "0 0 1 1 1 0 0 0 0 0 0 x x x x x", + "0 0 0 0 0 0 0 a0 o o o o o o o o"; + ; + + memory "lfuse" + size = 1; + min_write_delay = 4500; + max_write_delay = 4500; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x o o o o o o o o"; + ; + + memory "hfuse" + size = 1; + min_write_delay = 4500; + max_write_delay = 4500; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 1 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + ; + +; + + +#------------------------------------------------------------ +# ATtiny15 +#------------------------------------------------------------ + +part + id = "t15"; + desc = "ATtiny15"; + stk500_devcode = 0x13; + avr910_devcode = 0x56; + signature = 0x1e 0x90 0x06; + chip_erase_delay = 8200; + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 x x x x x", + "x x x x x x x x x x x x x x x x"; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 0; + + hvsp_controlstack = + 0x4C, 0x0C, 0x1C, 0x2C, 0x3C, 0x64, 0x74, 0x00, + 0x68, 0x78, 0x68, 0x68, 0x00, 0x00, 0x68, 0x78, + 0x78, 0x00, 0x6D, 0x0C, 0x80, 0x40, 0x20, 0x10, + 0x11, 0x08, 0x04, 0x02, 0x03, 0x08, 0x04, 0x00; + hventerstabdelay = 100; + hvspcmdexedelay = 5; + synchcycles = 6; + latchcycles = 16; + togglevtg = 1; + poweroffdelay = 25; + resetdelayms = 0; + resetdelayus = 50; + hvleavestabdelay = 100; + resetdelay = 25; + chiperasepolltimeout = 40; + chiperasetime = 0; + programfusepolltimeout = 25; + programlockpolltimeout = 25; + + memory "eeprom" + size = 64; + min_write_delay = 8200; + max_write_delay = 8200; + readback_p1 = 0xff; + readback_p2 = 0xff; + read = "1 0 1 0 0 0 0 0 x x x x x x x x", + "x x a5 a4 a3 a2 a1 a0 o o o o o o o o"; + + write = "1 1 0 0 0 0 0 0 x x x x x x x x", + "x x a5 a4 a3 a2 a1 a0 i i i i i i i i"; + + mode = 0x04; + delay = 10; + blocksize = 64; + readsize = 256; + ; + + memory "flash" + size = 1024; + min_write_delay = 4100; + max_write_delay = 4100; + readback_p1 = 0xff; + readback_p2 = 0xff; + read_lo = " 0 0 1 0 0 0 0 0", + " x x x x x x x a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + " x x x x x x x a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + write_lo = " 0 1 0 0 0 0 0 0", + " x x x x x x x a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + write_hi = " 0 1 0 0 1 0 0 0", + " x x x x x x x a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + mode = 0x04; + delay = 5; + blocksize = 128; + readsize = 256; + ; + + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 x x x x x x x x", + "0 0 0 0 0 0 a1 a0 o o o o o o o o"; + ; + + memory "lock" + size = 1; + read = "0 1 0 1 1 0 0 0 x x x x x x x x", + "x x x x x x x x x x x x x o o x"; + + write = "1 0 1 0 1 1 0 0 1 1 1 1 1 i i 1", + "x x x x x x x x x x x x x x x x"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "calibration" + size = 1; + read = "0 0 1 1 1 0 0 0 x x x x x x x x", + "0 0 0 0 0 0 0 0 o o o o o o o o"; + ; + + memory "fuse" + size = 1; + read = "0 1 0 1 0 0 0 0 x x x x x x x x", + "x x x x x x x x o o o o x x o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 x x x x x", + "x x x x x x x x i i i i 1 1 i i"; + min_write_delay = 9000; + max_write_delay = 9000; + ; +; + +#------------------------------------------------------------ +# AT90s1200 +#------------------------------------------------------------ + +part + id = "1200"; + desc = "AT90S1200"; + is_at90s1200 = yes; + stk500_devcode = 0x33; + avr910_devcode = 0x13; + signature = 0x1e 0x90 0x01; + pagel = 0xd7; + bs2 = 0xa0; + chip_erase_delay = 20000; + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 0 0 0 0 0", + "x x x x x x x x x x x x x x x x"; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 1; + bytedelay = 0; + pollindex = 0; + pollvalue = 0xFF; + predelay = 1; + postdelay = 1; + pollmethod = 0; + + pp_controlstack = + 0x0E, 0x1E, 0x0F, 0x1F, 0x2E, 0x3E, 0x2F, 0x3F, + 0x4E, 0x5E, 0x4F, 0x5F, 0x6E, 0x7E, 0x6F, 0x7F, + 0x66, 0x76, 0x67, 0x77, 0x6A, 0x7A, 0x6B, 0x7B, + 0xBE, 0xFD, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00; + hventerstabdelay = 100; + progmodedelay = 0; + latchcycles = 0; + togglevtg = 0; + poweroffdelay = 0; + resetdelayms = 0; + resetdelayus = 0; + hvleavestabdelay = 15; + chiperasepulsewidth = 15; + chiperasepolltimeout = 0; + programfusepulsewidth = 2; + programfusepolltimeout = 0; + programlockpulsewidth = 0; + programlockpolltimeout = 1; + + memory "eeprom" + size = 64; + min_write_delay = 4000; + max_write_delay = 9000; + readback_p1 = 0x00; + readback_p2 = 0xff; + read = "1 0 1 0 0 0 0 0 x x x x x x x x", + "x x a5 a4 a3 a2 a1 a0 o o o o o o o o"; + + write = "1 1 0 0 0 0 0 0 x x x x x x x x", + "x x a5 a4 a3 a2 a1 a0 i i i i i i i i"; + + mode = 0x04; + delay = 20; + blocksize = 32; + readsize = 256; + ; + memory "flash" + size = 1024; + min_write_delay = 4000; + max_write_delay = 9000; + readback_p1 = 0xff; + readback_p2 = 0xff; + read_lo = " 0 0 1 0 0 0 0 0", + " x x x x x x x a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + " x x x x x x x a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + write_lo = " 0 1 0 0 0 0 0 0", + " x x x x x x x a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + write_hi = " 0 1 0 0 1 0 0 0", + " x x x x x x x a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + mode = 0x02; + delay = 15; + blocksize = 128; + readsize = 256; + ; + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 x x x x x x x x", + "x x x x x x a1 a0 o o o o o o o o"; + ; + memory "fuse" + size = 1; + ; + memory "lock" + size = 1; + min_write_delay = 9000; + max_write_delay = 20000; + write = "1 0 1 0 1 1 0 0 1 1 1 1 1 i i 1", + "x x x x x x x x x x x x x x x x"; + ; + ; + +#------------------------------------------------------------ +# AT90s4414 +#------------------------------------------------------------ + +part + id = "4414"; + desc = "AT90S4414"; + stk500_devcode = 0x50; + avr910_devcode = 0x28; + signature = 0x1e 0x92 0x01; + chip_erase_delay = 20000; + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 0 0 0 0 0", + "x x x x x x x x x x x x x x x x"; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 0; + + pp_controlstack = + 0x0E, 0x1E, 0x0F, 0x1F, 0x2E, 0x3E, 0x2F, 0x3F, + 0x4E, 0x5E, 0x4F, 0x5F, 0x6E, 0x7E, 0x6F, 0x7F, + 0x66, 0x76, 0x67, 0x77, 0x6A, 0x7A, 0x6B, 0x7B, + 0xBE, 0xFD, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01; + hventerstabdelay = 100; + progmodedelay = 0; + latchcycles = 0; + togglevtg = 0; + poweroffdelay = 0; + resetdelayms = 0; + resetdelayus = 0; + hvleavestabdelay = 15; + chiperasepulsewidth = 15; + chiperasepolltimeout = 0; + programfusepulsewidth = 2; + programfusepolltimeout = 0; + programlockpulsewidth = 0; + programlockpolltimeout = 1; + + memory "eeprom" + size = 256; + min_write_delay = 9000; + max_write_delay = 20000; + readback_p1 = 0x80; + readback_p2 = 0x7f; + read = " 1 0 1 0 0 0 0 0 x x x x x x x a8", + "a7 a6 a5 a4 a3 a2 a1 a0 o o o o o o o o"; + + write = " 1 1 0 0 0 0 0 0 x x x x x x x a8", + "a7 a6 a5 a4 a3 a2 a1 a0 i i i i i i i i"; + + mode = 0x04; + delay = 12; + blocksize = 64; + readsize = 256; + ; + memory "flash" + size = 4096; + min_write_delay = 9000; + max_write_delay = 20000; + readback_p1 = 0x7f; + readback_p2 = 0x7f; + read_lo = " 0 0 1 0 0 0 0 0", + " x x x x a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + " x x x x a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + write_lo = " 0 1 0 0 0 0 0 0", + " x x x x a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + write_hi = " 0 1 0 0 1 0 0 0", + " x x x x a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + mode = 0x04; + delay = 12; + blocksize = 64; + readsize = 256; + ; + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 x x x x x x x x", + "x x x x x x a1 a0 o o o o o o o o"; + ; + memory "fuse" + size = 1; + ; + memory "lock" + size = 1; + write = "1 0 1 0 1 1 0 0 1 1 1 1 1 i i 1", + "x x x x x x x x x x x x x x x x"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + ; + +#------------------------------------------------------------ +# AT90s2313 +#------------------------------------------------------------ + +part + id = "2313"; + desc = "AT90S2313"; + stk500_devcode = 0x40; + avr910_devcode = 0x20; + signature = 0x1e 0x91 0x01; + chip_erase_delay = 20000; + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 0 0 0 0 0", + "x x x x x x x x x x x x x x x x"; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 0; + + pp_controlstack = + 0x0E, 0x1E, 0x0F, 0x1F, 0x2E, 0x3E, 0x2F, 0x3F, + 0x4E, 0x5E, 0x4F, 0x5F, 0x6E, 0x7E, 0x6F, 0x7F, + 0x66, 0x76, 0x67, 0x77, 0x6A, 0x7A, 0x6B, 0x7B, + 0xBE, 0xFD, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00; + hventerstabdelay = 100; + progmodedelay = 0; + latchcycles = 0; + togglevtg = 0; + poweroffdelay = 0; + resetdelayms = 0; + resetdelayus = 0; + hvleavestabdelay = 15; + chiperasepulsewidth = 15; + chiperasepolltimeout = 0; + programfusepulsewidth = 2; + programfusepolltimeout = 0; + programlockpulsewidth = 0; + programlockpolltimeout = 1; + + memory "eeprom" + size = 128; + min_write_delay = 4000; + max_write_delay = 9000; + readback_p1 = 0x80; + readback_p2 = 0x7f; + read = "1 0 1 0 0 0 0 0 x x x x x x x x", + "x a6 a5 a4 a3 a2 a1 a0 o o o o o o o o"; + + write = "1 1 0 0 0 0 0 0 x x x x x x x x", + "x a6 a5 a4 a3 a2 a1 a0 i i i i i i i i"; + + mode = 0x04; + delay = 12; + blocksize = 64; + readsize = 256; + ; + memory "flash" + size = 2048; + min_write_delay = 4000; + max_write_delay = 9000; + readback_p1 = 0x7f; + readback_p2 = 0x7f; + read_lo = " 0 0 1 0 0 0 0 0", + " x x x x x x a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + " x x x x x x a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + write_lo = " 0 1 0 0 0 0 0 0", + " x x x x x x a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + write_hi = " 0 1 0 0 1 0 0 0", + " x x x x x x a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + mode = 0x04; + delay = 12; + blocksize = 128; + readsize = 256; + ; + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 x x x x x x x x", + "x x x x x x a1 a0 o o o o o o o o"; + ; + memory "fuse" + size = 1; + ; + memory "lock" + size = 1; + write = "1 0 1 0 1 1 0 0 1 1 1 x x i i x", + "x x x x x x x x x x x x x x x x"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + ; + +#------------------------------------------------------------ +# AT90s2333 +#------------------------------------------------------------ + +part + id = "2333"; +##### WARNING: No XML file for device 'AT90S2333'! ##### + desc = "AT90S2333"; + stk500_devcode = 0x42; + avr910_devcode = 0x34; + signature = 0x1e 0x91 0x05; + chip_erase_delay = 20000; + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 0 0 0 0 0", + "x x x x x x x x x x x x x x x x"; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 0; + + pp_controlstack = + 0x0E, 0x1E, 0x0F, 0x1F, 0x2E, 0x3E, 0x2F, 0x3F, + 0x4E, 0x5E, 0x4F, 0x5F, 0x6E, 0x7E, 0x6F, 0x7F, + 0x66, 0x76, 0x67, 0x77, 0x6A, 0x7A, 0x6B, 0x7B, + 0xBE, 0xFD, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00; + hventerstabdelay = 100; + progmodedelay = 0; + latchcycles = 0; + togglevtg = 0; + poweroffdelay = 0; + resetdelayms = 0; + resetdelayus = 0; + hvleavestabdelay = 15; + chiperasepulsewidth = 15; + chiperasepolltimeout = 0; + programfusepulsewidth = 2; + programfusepolltimeout = 0; + programlockpulsewidth = 0; + programlockpolltimeout = 1; + + memory "eeprom" + size = 128; + min_write_delay = 9000; + max_write_delay = 20000; + readback_p1 = 0x00; + readback_p2 = 0xff; + read = "1 0 1 0 0 0 0 0 x x x x x x x x", + "x a6 a5 a4 a3 a2 a1 a0 o o o o o o o o"; + + write = "1 1 0 0 0 0 0 0 x x x x x x x x", + "x a6 a5 a4 a3 a2 a1 a0 i i i i i i i i"; + + mode = 0x04; + delay = 12; + blocksize = 128; + readsize = 256; + ; + + memory "flash" + size = 2048; + min_write_delay = 9000; + max_write_delay = 20000; + readback_p1 = 0xff; + readback_p2 = 0xff; + read_lo = " 0 0 1 0 0 0 0 0", + " x x x x x x a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + " x x x x x x a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + write_lo = " 0 1 0 0 0 0 0 0", + " x x x x x x a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + write_hi = " 0 1 0 0 1 0 0 0", + " x x x x x x a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + mode = 0x04; + delay = 12; + blocksize = 128; + readsize = 256; + ; + + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 x x x x x x x x", + "x x x x x x a1 a0 o o o o o o o o"; + ; + memory "fuse" + size = 1; + min_write_delay = 9000; + max_write_delay = 20000; + pwroff_after_write = yes; + read = "0 1 0 1 0 0 0 0 x x x x x x x x", + "x x x x x x x x x x o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 i i i i i", + "x x x x x x x x x x x x x x x x"; + ; + memory "lock" + size = 1; + min_write_delay = 9000; + max_write_delay = 20000; + read = "0 1 0 1 1 0 0 0 x x x x x x x x", + "x x x x x x x x x x x x x o o x"; + + write = "1 0 1 0 1 1 0 0 1 1 1 1 1 i i 1", + "x x x x x x x x x x x x x x x x"; + ; + ; + + +#------------------------------------------------------------ +# AT90s2343 (also AT90s2323 and ATtiny22) +#------------------------------------------------------------ + +part + id = "2343"; + desc = "AT90S2343"; + stk500_devcode = 0x43; + avr910_devcode = 0x4c; + signature = 0x1e 0x91 0x03; + chip_erase_delay = 18000; + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 x x x x x", + "x x x x x x x x x x x x x x x x"; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 0; + + hvsp_controlstack = + 0x4C, 0x0C, 0x1C, 0x2C, 0x3C, 0x64, 0x74, 0x00, + 0x68, 0x78, 0x68, 0x68, 0x00, 0x00, 0x68, 0x78, + 0x78, 0x00, 0x6D, 0x0C, 0x80, 0x40, 0x20, 0x10, + 0x11, 0x08, 0x04, 0x02, 0x03, 0x08, 0x04, 0x00; + hventerstabdelay = 100; + hvspcmdexedelay = 0; + synchcycles = 6; + latchcycles = 1; + togglevtg = 0; + poweroffdelay = 25; + resetdelayms = 0; + resetdelayus = 50; + hvleavestabdelay = 100; + resetdelay = 25; + chiperasepolltimeout = 40; + chiperasetime = 0; + programfusepolltimeout = 25; + programlockpolltimeout = 25; + + memory "eeprom" + size = 128; + min_write_delay = 9000; + max_write_delay = 20000; + readback_p1 = 0x00; + readback_p2 = 0xff; + read = "1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0", + "x a6 a5 a4 a3 a2 a1 a0 o o o o o o o o"; + + write = "1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0", + "x a6 a5 a4 a3 a2 a1 a0 i i i i i i i i"; + + mode = 0x04; + delay = 12; + blocksize = 64; + readsize = 256; + ; + memory "flash" + size = 2048; + min_write_delay = 9000; + max_write_delay = 20000; + readback_p1 = 0xff; + readback_p2 = 0xff; + read_lo = " 0 0 1 0 0 0 0 0", + " x x x x x x a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + " x x x x x x a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + write_lo = " 0 1 0 0 0 0 0 0", + " x x x x x x a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + write_hi = " 0 1 0 0 1 0 0 0", + " x x x x x x a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + mode = 0x04; + delay = 12; + blocksize = 128; + readsize = 128; + ; + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 x x x x x x x x", + "x x x x x x a1 a0 o o o o o o o o"; + ; + memory "fuse" + size = 1; + min_write_delay = 9000; + max_write_delay = 20000; + read = "0 1 0 1 1 0 0 0 x x x x x x x x", + "x x x x x x x x o o o x x x x o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 1 1 1 1 i", + "x x x x x x x x x x x x x x x x"; + ; + memory "lock" + size = 1; + min_write_delay = 9000; + max_write_delay = 20000; + read = "0 1 0 1 1 0 0 0 x x x x x x x x", + "x x x x x x x x o o o x x x x o"; + + write = "1 0 1 0 1 1 0 0 1 1 1 1 1 i i 1", + "x x x x x x x x x x x x x x x x"; + ; + ; + + +#------------------------------------------------------------ +# AT90s4433 +#------------------------------------------------------------ + +part + id = "4433"; + desc = "AT90S4433"; + stk500_devcode = 0x51; + avr910_devcode = 0x30; + signature = 0x1e 0x92 0x03; + chip_erase_delay = 20000; + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 0 0 0 0 0", + "x x x x x x x x x x x x x x x x"; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 0; + + pp_controlstack = + 0x0E, 0x1E, 0x0F, 0x1F, 0x2E, 0x3E, 0x2F, 0x3F, + 0x4E, 0x5E, 0x4F, 0x5F, 0x6E, 0x7E, 0x6F, 0x7F, + 0x66, 0x76, 0x67, 0x77, 0x6A, 0x7A, 0x6B, 0x7B, + 0xBE, 0xFD, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00; + hventerstabdelay = 100; + progmodedelay = 0; + latchcycles = 0; + togglevtg = 0; + poweroffdelay = 0; + resetdelayms = 0; + resetdelayus = 0; + hvleavestabdelay = 15; + chiperasepulsewidth = 15; + chiperasepolltimeout = 0; + programfusepulsewidth = 2; + programfusepolltimeout = 0; + programlockpulsewidth = 0; + programlockpolltimeout = 1; + + memory "eeprom" + size = 256; + min_write_delay = 9000; + max_write_delay = 20000; + readback_p1 = 0x00; + readback_p2 = 0xff; + read = " 1 0 1 0 0 0 0 0 x x x x x x x x", + "a7 a6 a5 a4 a3 a2 a1 a0 o o o o o o o o"; + + write = " 1 1 0 0 0 0 0 0 x x x x x x x x", + "a7 a6 a5 a4 a3 a2 a1 a0 i i i i i i i i"; + + mode = 0x04; + delay = 12; + blocksize = 128; + readsize = 256; + ; + memory "flash" + size = 4096; + min_write_delay = 9000; + max_write_delay = 20000; + readback_p1 = 0xff; + readback_p2 = 0xff; + read_lo = " 0 0 1 0 0 0 0 0", + " x x x x x a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + " x x x x x a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + write_lo = " 0 1 0 0 0 0 0 0", + " x x x x x a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + write_hi = " 0 1 0 0 1 0 0 0", + " x x x x x a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + mode = 0x04; + delay = 12; + blocksize = 128; + readsize = 256; + ; + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 x x x x x x x x", + "x x x x x x a1 a0 o o o o o o o o"; + ; + memory "fuse" + size = 1; + min_write_delay = 9000; + max_write_delay = 20000; + pwroff_after_write = yes; + read = "0 1 0 1 0 0 0 0 x x x x x x x x", + "x x x x x x x x x x o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 i i i i i", + "x x x x x x x x x x x x x x x x"; + ; + memory "lock" + size = 1; + min_write_delay = 9000; + max_write_delay = 20000; + read = "0 1 0 1 1 0 0 0 x x x x x x x x", + "x x x x x x x x x x x x x o o x"; + + write = "1 0 1 0 1 1 0 0 1 1 1 1 1 i i 1", + "x x x x x x x x x x x x x x x x"; + ; + ; + +#------------------------------------------------------------ +# AT90s4434 +#------------------------------------------------------------ + +part + id = "4434"; +##### WARNING: No XML file for device 'AT90S4434'! ##### + desc = "AT90S4434"; + stk500_devcode = 0x52; + avr910_devcode = 0x6c; + signature = 0x1e 0x92 0x02; + chip_erase_delay = 20000; + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 0 0 0 0 0", + "x x x x x x x x x x x x x x x x"; + + memory "eeprom" + size = 256; + min_write_delay = 9000; + max_write_delay = 20000; + readback_p1 = 0x00; + readback_p2 = 0xff; + read = " 1 0 1 0 0 0 0 0 x x x x x x x x", + "a7 a6 a5 a4 a3 a2 a1 a0 o o o o o o o o"; + + write = " 1 1 0 0 0 0 0 0 x x x x x x x x", + "a7 a6 a5 a4 a3 a2 a1 a0 i i i i i i i i"; + ; + memory "flash" + size = 4096; + min_write_delay = 9000; + max_write_delay = 20000; + readback_p1 = 0xff; + readback_p2 = 0xff; + read_lo = " 0 0 1 0 0 0 0 0", + " x x x x x a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + " x x x x x a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + write_lo = " 0 1 0 0 0 0 0 0", + " x x x x x a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + write_hi = " 0 1 0 0 1 0 0 0", + " x x x x x a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + ; + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 x x x x x x x x", + "x x x x x x a1 a0 o o o o o o o o"; + ; + memory "fuse" + size = 1; + min_write_delay = 9000; + max_write_delay = 20000; + read = "0 1 0 1 0 0 0 0 x x x x x x x x", + "x x x x x x x x x x o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 i i i i i", + "x x x x x x x x x x x x x x x x"; + ; + memory "lock" + size = 1; + min_write_delay = 9000; + max_write_delay = 20000; + read = "0 1 0 1 1 0 0 0 x x x x x x x x", + "x x x x x x x x x x x x x o o x"; + + write = "1 0 1 0 1 1 0 0 1 1 1 1 1 i i 1", + "x x x x x x x x x x x x x x x x"; + ; + ; + +#------------------------------------------------------------ +# AT90s8515 +#------------------------------------------------------------ + +part + id = "8515"; + desc = "AT90S8515"; + stk500_devcode = 0x60; + avr910_devcode = 0x38; + signature = 0x1e 0x93 0x01; + chip_erase_delay = 20000; + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 x x x x x", + "x x x x x x x x x x x x x x x x"; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 0; + + pp_controlstack = + 0x0E, 0x1E, 0x0F, 0x1F, 0x2E, 0x3E, 0x2F, 0x3F, + 0x4E, 0x5E, 0x4F, 0x5F, 0x6E, 0x7E, 0x6F, 0x7F, + 0x66, 0x76, 0x67, 0x77, 0x6A, 0x7A, 0x6B, 0x7B, + 0xBE, 0xFD, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00; + hventerstabdelay = 100; + progmodedelay = 0; + latchcycles = 0; + togglevtg = 0; + poweroffdelay = 0; + resetdelayms = 0; + resetdelayus = 0; + hvleavestabdelay = 15; + resetdelay = 15; + chiperasepulsewidth = 15; + chiperasepolltimeout = 0; + programfusepulsewidth = 2; + programfusepolltimeout = 0; + programlockpulsewidth = 0; + programlockpolltimeout = 1; + + memory "eeprom" + size = 512; + min_write_delay = 4000; + max_write_delay = 9000; + readback_p1 = 0x80; + readback_p2 = 0x7f; + read = " 1 0 1 0 0 0 0 0 x x x x x x x a8", + "a7 a6 a5 a4 a3 a2 a1 a0 o o o o o o o o"; + + write = " 1 1 0 0 0 0 0 0 x x x x x x x a8", + "a7 a6 a5 a4 a3 a2 a1 a0 i i i i i i i i"; + + mode = 0x04; + delay = 12; + blocksize = 128; + readsize = 256; + ; + memory "flash" + size = 8192; + min_write_delay = 4000; + max_write_delay = 9000; + readback_p1 = 0x7f; + readback_p2 = 0x7f; + read_lo = " 0 0 1 0 0 0 0 0", + " x x x x a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + " x x x x a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + write_lo = " 0 1 0 0 0 0 0 0", + " x x x x a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + write_hi = " 0 1 0 0 1 0 0 0", + " x x x x a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + mode = 0x04; + delay = 12; + blocksize = 128; + readsize = 256; + ; + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 x x x x x x x x", + "x x x x x x a1 a0 o o o o o o o o"; + ; + memory "fuse" + size = 1; + ; + memory "lock" + size = 1; + write = "1 0 1 0 1 1 0 0 1 1 1 1 1 i i 1", + "x x x x x x x x x x x x x x x x"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + ; + +#------------------------------------------------------------ +# AT90s8535 +#------------------------------------------------------------ + +part + id = "8535"; + desc = "AT90S8535"; + stk500_devcode = 0x61; + avr910_devcode = 0x68; + signature = 0x1e 0x93 0x03; + chip_erase_delay = 20000; + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 0 0 0 0 0", + "x x x x x x x x x x x x x x x x"; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 0; + + pp_controlstack = + 0x0E, 0x1E, 0x0F, 0x1F, 0x2E, 0x3E, 0x2F, 0x3F, + 0x4E, 0x5E, 0x4F, 0x5F, 0x6E, 0x7E, 0x6F, 0x7F, + 0x66, 0x76, 0x67, 0x77, 0x6A, 0x7A, 0x6B, 0x7B, + 0xBE, 0xFD, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00; + hventerstabdelay = 100; + progmodedelay = 0; + latchcycles = 0; + togglevtg = 0; + poweroffdelay = 0; + resetdelayms = 0; + resetdelayus = 0; + hvleavestabdelay = 15; + chiperasepulsewidth = 15; + chiperasepolltimeout = 0; + programfusepulsewidth = 2; + programfusepolltimeout = 0; + programlockpulsewidth = 0; + programlockpolltimeout = 1; + + memory "eeprom" + size = 512; + min_write_delay = 9000; + max_write_delay = 20000; + readback_p1 = 0x00; + readback_p2 = 0xff; + read = " 1 0 1 0 0 0 0 0 x x x x x x x a8", + "a7 a6 a5 a4 a3 a2 a1 a0 o o o o o o o o"; + + write = " 1 1 0 0 0 0 0 0 x x x x x x x a8", + "a7 a6 a5 a4 a3 a2 a1 a0 i i i i i i i i"; + + mode = 0x04; + delay = 12; + blocksize = 128; + readsize = 256; + ; + memory "flash" + size = 8192; + min_write_delay = 9000; + max_write_delay = 20000; + readback_p1 = 0xff; + readback_p2 = 0xff; + read_lo = " 0 0 1 0 0 0 0 0", + " x x x x a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + " x x x x a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + write_lo = " 0 1 0 0 0 0 0 0", + " x x x x a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + write_hi = " 0 1 0 0 1 0 0 0", + " x x x x a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + mode = 0x04; + delay = 12; + blocksize = 128; + readsize = 256; + ; + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 x x x x x x x x", + "x x x x x x a1 a0 o o o o o o o o"; + ; + memory "fuse" + size = 1; + read = "0 1 0 1 1 0 0 0 x x x x x x x x", + "x x x x x x x x x x x x x x x o"; + write = "1 0 1 0 1 1 0 0 1 0 1 1 1 1 1 i", + "x x x x x x x x x x x x x x x x"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + memory "lock" + size = 1; + read = "0 1 0 1 1 0 0 0 x x x x x x x x", + "x x x x x x x x o o x x x x x x"; + write = "1 0 1 0 1 1 0 0 1 1 1 1 1 i i 1", + "x x x x x x x x x x x x x x x x"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + ; + +#------------------------------------------------------------ +# ATmega103 +#------------------------------------------------------------ + +part + id = "m103"; + desc = "ATmega103"; + stk500_devcode = 0xB1; + avr910_devcode = 0x41; + signature = 0x1e 0x97 0x01; + chip_erase_delay = 112000; + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 0 0 0 0 0", + "x x x x x x x x x x x x x x x x"; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 0; + + pp_controlstack = + 0x0E, 0x1E, 0x8E, 0x9E, 0x2E, 0x3E, 0xAE, 0xBE, + 0x4E, 0x5E, 0xCE, 0xDE, 0x6E, 0x7E, 0xEE, 0xDE, + 0x66, 0x76, 0xE6, 0xF6, 0x6A, 0x7A, 0xEA, 0x7A, + 0x7F, 0xFD, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00; + hventerstabdelay = 100; + progmodedelay = 0; + latchcycles = 0; + togglevtg = 0; + poweroffdelay = 0; + resetdelayms = 0; + resetdelayus = 0; + hvleavestabdelay = 15; + chiperasepulsewidth = 15; + chiperasepolltimeout = 0; + programfusepulsewidth = 2; + programfusepolltimeout = 0; + programlockpulsewidth = 0; + programlockpolltimeout = 10; + + memory "eeprom" + size = 4096; + min_write_delay = 4000; + max_write_delay = 9000; + readback_p1 = 0x80; + readback_p2 = 0x7f; + read = " 1 0 1 0 0 0 0 0", + " x x x x a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + write = " 1 1 0 0 0 0 0 0", + " x x x x a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + mode = 0x04; + delay = 12; + blocksize = 64; + readsize = 256; + ; + + memory "flash" + paged = yes; + size = 131072; + page_size = 256; + num_pages = 512; + min_write_delay = 22000; + max_write_delay = 56000; + readback_p1 = 0xff; + readback_p2 = 0xff; + read_lo = " 0 0 1 0 0 0 0 0", + "a15 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + "a15 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " x x x x x x x x", + " x a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " x x x x x x x x", + " x a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + "a15 a14 a13 a12 a11 a10 a9 a8", + " a7 x x x x x x x", + " x x x x x x x x"; + + mode = 0x11; + delay = 70; + blocksize = 256; + readsize = 256; + ; + + memory "fuse" + size = 1; + read = "0 1 0 1 0 0 0 0 x x x x x x x x", + "x x x x x x x x x x o x o 1 o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 1 i 1 i i", + "x x x x x x x x x x x x x x x x"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "lock" + size = 1; + read = "0 1 0 1 1 0 0 0 x x x x x x x x", + "x x x x x x x x x x x x x o o x"; + + write = "1 0 1 0 1 1 0 0 1 1 1 1 1 i i 1", + "x x x x x x x x x x x x x x x x"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 x x x x x x x x", + "x x x x x x a1 a0 o o o o o o o o"; + ; + ; + + +#------------------------------------------------------------ +# ATmega64 +#------------------------------------------------------------ + +part + id = "m64"; + desc = "ATmega64"; + has_jtag = yes; + stk500_devcode = 0xA0; + avr910_devcode = 0x45; + signature = 0x1e 0x96 0x02; + chip_erase_delay = 9000; + pagel = 0xD7; + bs2 = 0xA0; + reset = dedicated; + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 0 0 0 0 0", + "x x x x x x x x x x x x x x x x"; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 0; + + pp_controlstack = + 0x0E, 0x1E, 0x0F, 0x1F, 0x2E, 0x3E, 0x2F, 0x3F, + 0x4E, 0x5E, 0x4F, 0x5F, 0x6E, 0x7E, 0x6F, 0x7F, + 0x66, 0x76, 0x67, 0x77, 0x6A, 0x7A, 0x6B, 0x7B, + 0xBE, 0xFD, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00; + hventerstabdelay = 100; + progmodedelay = 0; + latchcycles = 6; + togglevtg = 0; + poweroffdelay = 0; + resetdelayms = 0; + resetdelayus = 0; + hvleavestabdelay = 15; + chiperasepulsewidth = 0; + chiperasepolltimeout = 10; + programfusepulsewidth = 0; + programfusepolltimeout = 5; + programlockpulsewidth = 0; + programlockpolltimeout = 5; + + idr = 0x22; + spmcr = 0x68; + allowfullpagebitstream = yes; + + ocdrev = 2; + + memory "eeprom" + paged = no; /* leave this "no" */ + page_size = 8; /* for parallel programming */ + size = 2048; + min_write_delay = 9000; + max_write_delay = 9000; + readback_p1 = 0xff; + readback_p2 = 0xff; + read = " 1 0 1 0 0 0 0 0", + " x x x x a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + write = " 1 1 0 0 0 0 0 0", + " x x x x a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + mode = 0x04; + delay = 20; + blocksize = 64; + readsize = 256; + ; + + memory "flash" + paged = yes; + size = 65536; + page_size = 256; + num_pages = 256; + min_write_delay = 4500; + max_write_delay = 4500; + readback_p1 = 0xff; + readback_p2 = 0xff; + read_lo = " 0 0 1 0 0 0 0 0", + " x a14 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + " x a14 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " x x x x x x x x", + " x a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " x x x x x x x x", + " x a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + " x a14 a13 a12 a11 a10 a9 a8", + " a7 x x x x x x x", + " x x x x x x x x"; + + mode = 0x21; + delay = 6; + blocksize = 128; + readsize = 256; + ; + + memory "lfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "hfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 1 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "efuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 1 0 0", + "x x x x x x x x x x x x x x i i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "lock" + size = 1; + read = "0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x x x o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 1 1 x x x x x", + "x x x x x x x x 1 1 i i i i i i"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "calibration" + size = 4; + read = "0 0 1 1 1 0 0 0 x x x x x x x x", + "0 0 0 0 0 0 a1 a0 o o o o o o o o"; + ; + + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 x x x x x x x x", + "x x x x x x a1 a0 o o o o o o o o"; + ; + ; + + + + +#------------------------------------------------------------ +# ATmega128 +#------------------------------------------------------------ + +part + id = "m128"; + desc = "ATmega128"; + has_jtag = yes; + stk500_devcode = 0xB2; + avr910_devcode = 0x43; + signature = 0x1e 0x97 0x02; + chip_erase_delay = 9000; + pagel = 0xD7; + bs2 = 0xA0; + reset = dedicated; + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 0 0 0 0 0", + "x x x x x x x x x x x x x x x x"; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 0; + + pp_controlstack = + 0x0E, 0x1E, 0x0F, 0x1F, 0x2E, 0x3E, 0x2F, 0x3F, + 0x4E, 0x5E, 0x4F, 0x5F, 0x6E, 0x7E, 0x6F, 0x7F, + 0x66, 0x76, 0x67, 0x77, 0x6A, 0x7A, 0x6B, 0x7B, + 0xBE, 0xFD, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00; + hventerstabdelay = 100; + progmodedelay = 0; + latchcycles = 6; + togglevtg = 0; + poweroffdelay = 0; + resetdelayms = 0; + resetdelayus = 0; + hvleavestabdelay = 15; + chiperasepulsewidth = 0; + chiperasepolltimeout = 10; + programfusepulsewidth = 0; + programfusepolltimeout = 5; + programlockpulsewidth = 0; + programlockpolltimeout = 5; + + idr = 0x22; + spmcr = 0x68; + rampz = 0x3b; + allowfullpagebitstream = yes; + + ocdrev = 1; + + memory "eeprom" + paged = no; /* leave this "no" */ + page_size = 8; /* for parallel programming */ + size = 4096; + min_write_delay = 9000; + max_write_delay = 9000; + readback_p1 = 0xff; + readback_p2 = 0xff; + read = " 1 0 1 0 0 0 0 0", + " x x x x a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + write = " 1 1 0 0 0 0 0 0", + " x x x x a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + mode = 0x04; + delay = 12; + blocksize = 64; + readsize = 256; + ; + + memory "flash" + paged = yes; + size = 131072; + page_size = 256; + num_pages = 512; + min_write_delay = 4500; + max_write_delay = 4500; + readback_p1 = 0xff; + readback_p2 = 0xff; + read_lo = " 0 0 1 0 0 0 0 0", + "a15 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + "a15 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " x x x x x x x x", + " x a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " x x x x x x x x", + " x a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + "a15 a14 a13 a12 a11 a10 a9 a8", + " a7 x x x x x x x", + " x x x x x x x x"; + + mode = 0x21; + delay = 6; + blocksize = 128; + readsize = 256; + ; + + memory "lfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "hfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 1 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "efuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 1 0 0", + "x x x x x x x x x x x x x x i i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "lock" + size = 1; + read = "0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x x x o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 1 1 x x x x x", + "x x x x x x x x 1 1 i i i i i i"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "calibration" + size = 4; + read = "0 0 1 1 1 0 0 0 x x x x x x x x", + "0 0 0 0 0 0 a1 a0 o o o o o o o o"; + ; + + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 x x x x x x x x", + "x x x x x x a1 a0 o o o o o o o o"; + ; + ; + +#------------------------------------------------------------ +# AT90CAN128 +#------------------------------------------------------------ + +part + id = "c128"; + desc = "AT90CAN128"; + has_jtag = yes; + stk500_devcode = 0xB3; +# avr910_devcode = 0x43; + signature = 0x1e 0x97 0x81; + chip_erase_delay = 9000; + pagel = 0xD7; + bs2 = 0xA0; + reset = dedicated; + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 x x x x x", + "x x x x x x x x x x x x x x x x"; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 1; + + pp_controlstack = + 0x0E, 0x1E, 0x0F, 0x1F, 0x2E, 0x3E, 0x2F, 0x3F, + 0x4E, 0x5E, 0x4F, 0x5F, 0x6E, 0x7E, 0x6F, 0x7F, + 0x66, 0x76, 0x67, 0x77, 0x6A, 0x7A, 0x6B, 0x7B, + 0xBE, 0xFD, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01; + hventerstabdelay = 100; + progmodedelay = 0; + latchcycles = 6; + togglevtg = 0; + poweroffdelay = 0; + resetdelayms = 0; + resetdelayus = 0; + hvleavestabdelay = 15; + chiperasepulsewidth = 0; + chiperasepolltimeout = 10; + programfusepulsewidth = 0; + programfusepolltimeout = 5; + programlockpulsewidth = 0; + programlockpolltimeout = 5; + + idr = 0x31; + spmcr = 0x57; + rampz = 0x3b; + eecr = 0x3f; + allowfullpagebitstream = no; + + ocdrev = 3; + + memory "eeprom" + paged = no; /* leave this "no" */ + page_size = 8; /* for parallel programming */ + size = 4096; + min_write_delay = 9000; + max_write_delay = 9000; + readback_p1 = 0xff; + readback_p2 = 0xff; + read = " 1 0 1 0 0 0 0 0", + " 0 0 0 x a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + write = " 1 1 0 0 0 0 0 0", + " 0 0 0 x a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_lo = " 1 1 0 0 0 0 0 1", + " 0 0 0 0 0 0 0 0", + " 0 0 0 0 0 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 1 1 0 0 0 0 1 0", + " 0 0 x x a11 a10 a9 a8", + " a7 a6 a5 a4 a3 0 0 0", + " x x x x x x x x"; + + + mode = 0x41; + delay = 20; + blocksize = 8; + readsize = 256; + ; + + memory "flash" + paged = yes; + size = 131072; + page_size = 256; + num_pages = 512; + min_write_delay = 4500; + max_write_delay = 4500; + readback_p1 = 0xff; + readback_p2 = 0xff; + read_lo = " 0 0 1 0 0 0 0 0", + "a15 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + "a15 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " 0 0 0 x x x x x", + " x a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " 0 0 0 x x x x x", + " x a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + "a15 a14 a13 a12 a11 a10 a9 a8", + " a7 x x x x x x x", + " x x x x x x x x"; + + mode = 0x41; + delay = 6; + blocksize = 256; + readsize = 256; + ; + + memory "lfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "hfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 1 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "efuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 1 0 0", + "x x x x x x x x x x x x i i i i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "lock" + size = 1; + read = "0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x x x o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 1 1 x x x x x", + "x x x x x x x x 1 1 i i i i i i"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "calibration" + size = 1; + read = "0 0 1 1 1 0 0 0 0 0 0 x x x x x", + "0 0 0 0 0 0 0 0 o o o o o o o o"; + ; + + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 x x x x x x x x", + "x x x x x x a1 a0 o o o o o o o o"; + ; + ; + +#------------------------------------------------------------ +# AT90CAN64 +#------------------------------------------------------------ + +part + id = "c64"; + desc = "AT90CAN64"; + has_jtag = yes; + stk500_devcode = 0xB3; +# avr910_devcode = 0x43; + signature = 0x1e 0x96 0x81; + chip_erase_delay = 9000; + pagel = 0xD7; + bs2 = 0xA0; + reset = dedicated; + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 x x x x x", + "x x x x x x x x x x x x x x x x"; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 1; + + pp_controlstack = + 0x0E, 0x1E, 0x0F, 0x1F, 0x2E, 0x3E, 0x2F, 0x3F, + 0x4E, 0x5E, 0x4F, 0x5F, 0x6E, 0x7E, 0x6F, 0x7F, + 0x66, 0x76, 0x67, 0x77, 0x6A, 0x7A, 0x6B, 0x7B, + 0xBE, 0xFD, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01; + hventerstabdelay = 100; + progmodedelay = 0; + latchcycles = 6; + togglevtg = 0; + poweroffdelay = 0; + resetdelayms = 0; + resetdelayus = 0; + hvleavestabdelay = 15; + chiperasepulsewidth = 0; + chiperasepolltimeout = 10; + programfusepulsewidth = 0; + programfusepolltimeout = 5; + programlockpulsewidth = 0; + programlockpolltimeout = 5; + + idr = 0x31; + spmcr = 0x57; + rampz = 0x3b; + eecr = 0x3f; + allowfullpagebitstream = no; + + ocdrev = 3; + + memory "eeprom" + paged = no; /* leave this "no" */ + page_size = 8; /* for parallel programming */ + size = 2048; + min_write_delay = 9000; + max_write_delay = 9000; + readback_p1 = 0xff; + readback_p2 = 0xff; + read = " 1 0 1 0 0 0 0 0", + " 0 0 0 x x a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + write = " 1 1 0 0 0 0 0 0", + " 0 0 0 x x a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_lo = " 1 1 0 0 0 0 0 1", + " 0 0 0 0 0 0 0 0", + " 0 0 0 0 0 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 1 1 0 0 0 0 1 0", + " 0 0 x x x a10 a9 a8", + " a7 a6 a5 a4 a3 0 0 0", + " x x x x x x x x"; + + + mode = 0x41; + delay = 20; + blocksize = 8; + readsize = 256; + ; + + memory "flash" + paged = yes; + size = 65536; + page_size = 256; + num_pages = 256; + min_write_delay = 4500; + max_write_delay = 4500; + readback_p1 = 0xff; + readback_p2 = 0xff; + read_lo = " 0 0 1 0 0 0 0 0", + "a15 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + "a15 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " 0 0 0 x x x x x", + " x a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " 0 0 0 x x x x x", + " x a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + "a15 a14 a13 a12 a11 a10 a9 a8", + " a7 x x x x x x x", + " x x x x x x x x"; + + mode = 0x41; + delay = 6; + blocksize = 256; + readsize = 256; + ; + + memory "lfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "hfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 1 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "efuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 1 0 0", + "x x x x x x x x x x x x i i i i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "lock" + size = 1; + read = "0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x x x o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 1 1 x x x x x", + "x x x x x x x x 1 1 i i i i i i"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "calibration" + size = 1; + read = "0 0 1 1 1 0 0 0 0 0 0 x x x x x", + "0 0 0 0 0 0 0 0 o o o o o o o o"; + ; + + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 x x x x x x x x", + "x x x x x x a1 a0 o o o o o o o o"; + ; + ; + +#------------------------------------------------------------ +# AT90CAN32 +#------------------------------------------------------------ + +part + id = "c32"; + desc = "AT90CAN32"; + has_jtag = yes; + stk500_devcode = 0xB3; +# avr910_devcode = 0x43; + signature = 0x1e 0x95 0x81; + chip_erase_delay = 9000; + pagel = 0xD7; + bs2 = 0xA0; + reset = dedicated; + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 x x x x x", + "x x x x x x x x x x x x x x x x"; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 1; + + pp_controlstack = + 0x0E, 0x1E, 0x0F, 0x1F, 0x2E, 0x3E, 0x2F, 0x3F, + 0x4E, 0x5E, 0x4F, 0x5F, 0x6E, 0x7E, 0x6F, 0x7F, + 0x66, 0x76, 0x67, 0x77, 0x6A, 0x7A, 0x6B, 0x7B, + 0xBE, 0xFD, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01; + hventerstabdelay = 100; + progmodedelay = 0; + latchcycles = 6; + togglevtg = 0; + poweroffdelay = 0; + resetdelayms = 0; + resetdelayus = 0; + hvleavestabdelay = 15; + chiperasepulsewidth = 0; + chiperasepolltimeout = 10; + programfusepulsewidth = 0; + programfusepolltimeout = 5; + programlockpulsewidth = 0; + programlockpolltimeout = 5; + + idr = 0x31; + spmcr = 0x57; + rampz = 0x3b; + eecr = 0x3f; + allowfullpagebitstream = no; + + ocdrev = 3; + + memory "eeprom" + paged = no; /* leave this "no" */ + page_size = 8; /* for parallel programming */ + size = 1024; + min_write_delay = 9000; + max_write_delay = 9000; + readback_p1 = 0xff; + readback_p2 = 0xff; + read = " 1 0 1 0 0 0 0 0", + " 0 0 0 x x x a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + write = " 1 1 0 0 0 0 0 0", + " 0 0 0 x x x a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_lo = " 1 1 0 0 0 0 0 1", + " 0 0 0 0 0 0 0 0", + " 0 0 0 0 0 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 1 1 0 0 0 0 1 0", + " 0 0 x x x x a9 a8", + " a7 a6 a5 a4 a3 0 0 0", + " x x x x x x x x"; + + + mode = 0x41; + delay = 20; + blocksize = 8; + readsize = 256; + ; + + memory "flash" + paged = yes; + size = 32768; + page_size = 256; + num_pages = 128; + min_write_delay = 4500; + max_write_delay = 4500; + readback_p1 = 0xff; + readback_p2 = 0xff; + read_lo = " 0 0 1 0 0 0 0 0", + "a15 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + "a15 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " 0 0 0 x x x x x", + " x a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " 0 0 0 x x x x x", + " x a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + "a15 a14 a13 a12 a11 a10 a9 a8", + " a7 x x x x x x x", + " x x x x x x x x"; + + mode = 0x41; + delay = 6; + blocksize = 256; + readsize = 256; + ; + + memory "lfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "hfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 1 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "efuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 1 0 0", + "x x x x x x x x x x x x i i i i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "lock" + size = 1; + read = "0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x x x o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 1 1 x x x x x", + "x x x x x x x x 1 1 i i i i i i"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "calibration" + size = 1; + read = "0 0 1 1 1 0 0 0 0 0 0 x x x x x", + "0 0 0 0 0 0 0 0 o o o o o o o o"; + ; + + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 x x x x x x x x", + "x x x x x x a1 a0 o o o o o o o o"; + ; + ; + + +#------------------------------------------------------------ +# ATmega16 +#------------------------------------------------------------ + +part + id = "m16"; + desc = "ATmega16"; + has_jtag = yes; + stk500_devcode = 0x82; + avr910_devcode = 0x74; + signature = 0x1e 0x94 0x03; + pagel = 0xd7; + bs2 = 0xa0; + chip_erase_delay = 9000; + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 x x x x x", + "x x x x x x x x x x x x x x x x"; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 0; + + pp_controlstack = + 0x0E, 0x1E, 0x0F, 0x1F, 0x2E, 0x3E, 0x2F, 0x3F, + 0x4E, 0x5E, 0x4F, 0x5F, 0x6E, 0x7E, 0x6F, 0x7F, + 0x66, 0x76, 0x67, 0x77, 0x6A, 0x7A, 0x6B, 0x7B, + 0xBE, 0xFD, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00; + hventerstabdelay = 100; + progmodedelay = 100; + latchcycles = 6; + togglevtg = 0; + poweroffdelay = 0; + resetdelayms = 0; + resetdelayus = 0; + hvleavestabdelay = 15; + resetdelay = 15; + chiperasepulsewidth = 0; + chiperasepolltimeout = 10; + programfusepulsewidth = 0; + programfusepolltimeout = 5; + programlockpulsewidth = 0; + programlockpolltimeout = 5; + + idr = 0x31; + spmcr = 0x57; + allowfullpagebitstream = yes; + + ocdrev = 2; + + memory "eeprom" + paged = no; /* leave this "no" */ + page_size = 4; /* for parallel programming */ + size = 512; + min_write_delay = 9000; + max_write_delay = 9000; + readback_p1 = 0xff; + readback_p2 = 0xff; + read = " 1 0 1 0 0 0 0 0", + " 0 0 x x x x a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + write = " 1 1 0 0 0 0 0 0", + " 0 0 x x x x a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_lo = " 1 1 0 0 0 0 0 1", + " 0 0 0 0 0 0 0 0", + " 0 0 0 0 0 0 a1 a0", + " i i i i i i i i"; + + writepage = " 1 1 0 0 0 0 1 0", + " 0 0 x x x x a9 a8", + " a7 a6 a5 a4 a3 a2 0 0", + " x x x x x x x x"; + + mode = 0x04; + delay = 10; + blocksize = 128; + readsize = 256; + ; + + memory "flash" + paged = yes; + size = 16384; + page_size = 128; + num_pages = 128; + min_write_delay = 4500; + max_write_delay = 4500; + readback_p1 = 0xff; + readback_p2 = 0xff; + read_lo = " 0 0 1 0 0 0 0 0", + " 0 0 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + " 0 0 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " 0 0 x x x x x x", + " x x a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " 0 0 x x x x x x", + " x x a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + " 0 0 a13 a12 a11 a10 a9 a8", + " a7 a6 x x x x x x", + " x x x x x x x x"; + + mode = 0x21; + delay = 6; + blocksize = 128; + readsize = 256; + ; + + memory "lock" + size = 1; + read = "0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x x x o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 1 1 x x x x x", + "x x x x x x x x 1 1 i i i i i i"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "lfuse" + size = 1; + read = "0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 0 0 0", + "x x x x x x x x i i i i i i i i"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "hfuse" + size = 1; + read = "0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 1 0 0 0", + "x x x x x x x x i i i i i i i i"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 x x x x x x x x", + "x x x x x x a1 a0 o o o o o o o o"; + ; + memory "calibration" + size = 4; + + read = "0 0 1 1 1 0 0 0 0 0 0 x x x x x", + "0 0 0 0 0 0 a1 a0 o o o o o o o o"; + ; + ; + + +#------------------------------------------------------------ +# ATmega164P +#------------------------------------------------------------ + +# close to ATmega16 + +part parent "m16" + id = "m164p"; + desc = "ATmega164P"; + signature = 0x1e 0x94 0x0a; + + progmodedelay = 0; + latchcycles = 5; + togglevtg = 1; + poweroffdelay = 15; + resetdelayms = 1; + allowfullpagebitstream = no; + chip_erase_delay = 55000; + + ocdrev = 3; + ; + + +#------------------------------------------------------------ +# ATmega324P +#------------------------------------------------------------ + +# similar to ATmega164P + +part + id = "m324p"; + desc = "ATmega324P"; + has_jtag = yes; + stk500_devcode = 0x82; # no STK500v1 support, use the ATmega16 one + avr910_devcode = 0x74; + signature = 0x1e 0x95 0x08; + pagel = 0xd7; + bs2 = 0xa0; + chip_erase_delay = 55000; + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 x x x x x", + "x x x x x x x x x x x x x x x x"; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 0; + + pp_controlstack = + 0x0E, 0x1E, 0x0F, 0x1F, 0x2E, 0x3E, 0x2F, 0x3F, + 0x4E, 0x5E, 0x4F, 0x5F, 0x6E, 0x7E, 0x6F, 0x7F, + 0x66, 0x76, 0x67, 0x77, 0x6A, 0x7A, 0x6B, 0x7B, + 0xBE, 0xFD, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00; + hventerstabdelay = 100; + progmodedelay = 0; + latchcycles = 5; + togglevtg = 1; + poweroffdelay = 15; + resetdelayms = 1; + resetdelayus = 0; + hvleavestabdelay = 15; + chiperasepulsewidth = 0; + chiperasepolltimeout = 10; + programfusepulsewidth = 0; + programfusepolltimeout = 5; + programlockpulsewidth = 0; + programlockpolltimeout = 5; + + idr = 0x31; + spmcr = 0x57; + allowfullpagebitstream = no; + + ocdrev = 3; + + memory "eeprom" + paged = no; /* leave this "no" */ + page_size = 4; /* for parallel programming */ + size = 1024; + min_write_delay = 9000; + max_write_delay = 9000; + readback_p1 = 0xff; + readback_p2 = 0xff; + read = " 1 0 1 0 0 0 0 0", + " 0 0 x x x a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + write = " 1 1 0 0 0 0 0 0", + " 0 0 x x x a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_lo = " 1 1 0 0 0 0 0 1", + " 0 0 0 0 0 0 0 0", + " 0 0 0 0 0 0 a1 a0", + " i i i i i i i i"; + + writepage = " 1 1 0 0 0 0 1 0", + " 0 0 x x x a10 a9 a8", + " a7 a6 a5 a4 a3 a2 0 0", + " x x x x x x x x"; + + mode = 0x41; + delay = 10; + blocksize = 128; + readsize = 256; + ; + + memory "flash" + paged = yes; + size = 32768; + page_size = 128; + num_pages = 256; + min_write_delay = 4500; + max_write_delay = 4500; + readback_p1 = 0xff; + readback_p2 = 0xff; + read_lo = " 0 0 1 0 0 0 0 0", + " 0 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + " 0 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " 0 0 x x x x x x", + " x x a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " 0 0 x x x x x x", + " x x a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + " 0 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 x x x x x x", + " x x x x x x x x"; + + mode = 0x21; + delay = 6; + blocksize = 256; + readsize = 256; + ; + + memory "lock" + size = 1; + read = "0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x x x o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 1 1 x x x x x", + "x x x x x x x x 1 1 i i i i i i"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "lfuse" + size = 1; + read = "0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 0 0 0", + "x x x x x x x x i i i i i i i i"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "hfuse" + size = 1; + read = "0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 1 0 0 0", + "x x x x x x x x i i i i i i i i"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "efuse" + size = 1; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 1 0 0", + "x x x x x x x x 1 1 1 1 1 i i i"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 x x x x x x x x", + "x x x x x x a1 a0 o o o o o o o o"; + ; + + memory "calibration" + size = 1; + + read = "0 0 1 1 1 0 0 0 0 0 0 x x x x x", + "0 0 0 0 0 0 0 0 o o o o o o o o"; + ; + ; + + +#------------------------------------------------------------ +# ATmega324PA +#------------------------------------------------------------ + +# similar to ATmega324P + +part parent "m324p" + id = "m324pa"; + desc = "ATmega324PA"; + signature = 0x1e 0x95 0x11; + + ocdrev = 3; + ; + + +#------------------------------------------------------------ +# ATmega644 +#------------------------------------------------------------ + +# similar to ATmega164 + +part + id = "m644"; + desc = "ATmega644"; + has_jtag = yes; + stk500_devcode = 0x82; # no STK500v1 support, use the ATmega16 one + avr910_devcode = 0x74; + signature = 0x1e 0x96 0x09; + pagel = 0xd7; + bs2 = 0xa0; + chip_erase_delay = 55000; + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 x x x x x", + "x x x x x x x x x x x x x x x x"; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 0; + + pp_controlstack = + 0x0E, 0x1E, 0x0F, 0x1F, 0x2E, 0x3E, 0x2F, 0x3F, + 0x4E, 0x5E, 0x4F, 0x5F, 0x6E, 0x7E, 0x6F, 0x7F, + 0x66, 0x76, 0x67, 0x77, 0x6A, 0x7A, 0x6B, 0x7B, + 0xBE, 0xFD, 0x00, 0x01, 0x00, 0x00, 0x00, 0x02; + hventerstabdelay = 100; + progmodedelay = 0; + latchcycles = 6; + togglevtg = 0; + poweroffdelay = 0; + resetdelayms = 0; + resetdelayus = 0; + hvleavestabdelay = 15; + chiperasepulsewidth = 0; + chiperasepolltimeout = 10; + programfusepulsewidth = 0; + programfusepolltimeout = 5; + programlockpulsewidth = 0; + programlockpolltimeout = 5; + + idr = 0x31; + spmcr = 0x57; + allowfullpagebitstream = no; + + ocdrev = 3; + + memory "eeprom" + paged = no; /* leave this "no" */ + page_size = 8; /* for parallel programming */ + size = 2048; + min_write_delay = 9000; + max_write_delay = 9000; + readback_p1 = 0xff; + readback_p2 = 0xff; + read = " 1 0 1 0 0 0 0 0", + " 0 0 x x a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + write = " 1 1 0 0 0 0 0 0", + " 0 0 x x a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_lo = " 1 1 0 0 0 0 0 1", + " 0 0 0 0 0 0 0 0", + " 0 0 0 0 0 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 1 1 0 0 0 0 1 0", + " 0 0 x x a11 a10 a9 a8", + " a7 a6 a5 a4 a3 0 0 0", + " x x x x x x x x"; + + mode = 0x41; + delay = 10; + blocksize = 128; + readsize = 256; + ; + + memory "flash" + paged = yes; + size = 65536; + page_size = 256; + num_pages = 256; + min_write_delay = 4500; + max_write_delay = 4500; + readback_p1 = 0xff; + readback_p2 = 0xff; + read_lo = " 0 0 1 0 0 0 0 0", + "a15 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + "a15 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " 0 0 x x x x x x", + " x a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " 0 0 x x x x x x", + " x a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + "a15 a14 a13 a12 a11 a10 a9 a8", + " a7 x x x x x x x", + " x x x x x x x x"; + + mode = 0x21; + delay = 6; + blocksize = 256; + readsize = 256; + ; + + memory "lock" + size = 1; + read = "0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x x x o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 1 1 x x x x x", + "x x x x x x x x 1 1 i i i i i i"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "lfuse" + size = 1; + read = "0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 0 0 0", + "x x x x x x x x i i i i i i i i"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "hfuse" + size = 1; + read = "0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 1 0 0 0", + "x x x x x x x x i i i i i i i i"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "efuse" + size = 1; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 1 0 0", + "x x x x x x x x 1 1 1 1 1 i i i"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 x x x x x x x x", + "x x x x x x a1 a0 o o o o o o o o"; + ; + + memory "calibration" + size = 1; + + read = "0 0 1 1 1 0 0 0 0 0 0 x x x x x", + "0 0 0 0 0 0 0 0 o o o o o o o o"; + ; + ; + +#------------------------------------------------------------ +# ATmega644P +#------------------------------------------------------------ + +# similar to ATmega164p + +part parent "m644" + id = "m644p"; + desc = "ATmega644P"; + signature = 0x1e 0x96 0x0a; + + ocdrev = 3; + ; + + + +#------------------------------------------------------------ +# ATmega1284 +#------------------------------------------------------------ + +# similar to ATmega164 + +part + id = "m1284"; + desc = "ATmega1284"; + has_jtag = yes; + stk500_devcode = 0x82; # no STK500v1 support, use the ATmega16 one + avr910_devcode = 0x74; + signature = 0x1e 0x97 0x06; + pagel = 0xd7; + bs2 = 0xa0; + chip_erase_delay = 55000; + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 x x x x x", + "x x x x x x x x x x x x x x x x"; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 1; + + pp_controlstack = + 0x0E, 0x1E, 0x0F, 0x1F, 0x2E, 0x3E, 0x2F, 0x3F, + 0x4E, 0x5E, 0x4F, 0x5F, 0x6E, 0x7E, 0x6F, 0x7F, + 0x66, 0x76, 0x67, 0x77, 0x6A, 0x7A, 0x6B, 0x7B, + 0xBE, 0xFD, 0x00, 0x01, 0x00, 0x00, 0x00, 0x02; + hventerstabdelay = 100; + progmodedelay = 0; + latchcycles = 6; + togglevtg = 1; + poweroffdelay = 15; + resetdelayms = 1; + resetdelayus = 0; + hvleavestabdelay = 15; + chiperasepulsewidth = 0; + chiperasepolltimeout = 10; + programfusepulsewidth = 0; + programfusepolltimeout = 5; + programlockpulsewidth = 0; + programlockpolltimeout = 5; + + idr = 0x31; + spmcr = 0x57; + allowfullpagebitstream = no; + + ocdrev = 3; + + memory "eeprom" + paged = no; /* leave this "no" */ + page_size = 8; /* for parallel programming */ + size = 4096; + min_write_delay = 9000; + max_write_delay = 9000; + readback_p1 = 0xff; + readback_p2 = 0xff; + read = " 1 0 1 0 0 0 0 0", + " 0 0 x x a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + write = " 1 1 0 0 0 0 0 0", + " 0 0 x x a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_lo = " 1 1 0 0 0 0 0 1", + " 0 0 0 0 0 0 0 0", + " 0 0 0 0 0 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 1 1 0 0 0 0 1 0", + " 0 0 x x a11 a10 a9 a8", + " a7 a6 a5 a4 a3 0 0 0", + " x x x x x x x x"; + + mode = 0x41; + delay = 10; + blocksize = 128; + readsize = 256; + ; + + memory "flash" + paged = yes; + size = 131072; + page_size = 256; + num_pages = 512; + min_write_delay = 4500; + max_write_delay = 4500; + readback_p1 = 0xff; + readback_p2 = 0xff; + read_lo = " 0 0 1 0 0 0 0 0", + "a15 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + "a15 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " 0 0 x x x x x x", + " x a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " 0 0 x x x x x x", + " x a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + "a15 a14 a13 a12 a11 a10 a9 a8", + " a7 x x x x x x x", + " x x x x x x x x"; + + mode = 0x41; + delay = 10; + blocksize = 256; + readsize = 256; + ; + + memory "lock" + size = 1; + read = "0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x x x o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 1 1 x x x x x", + "x x x x x x x x 1 1 i i i i i i"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "lfuse" + size = 1; + read = "0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 0 0 0", + "x x x x x x x x i i i i i i i i"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "hfuse" + size = 1; + read = "0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 1 0 0 0", + "x x x x x x x x i i i i i i i i"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "efuse" + size = 1; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 1 0 0", + "x x x x x x x x 1 1 1 1 1 i i i"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 x x x x x x x x", + "x x x x x x a1 a0 o o o o o o o o"; + ; + + memory "calibration" + size = 1; + + read = "0 0 1 1 1 0 0 0 0 0 0 x x x x x", + "0 0 0 0 0 0 0 0 o o o o o o o o"; + ; + ; + + + +#------------------------------------------------------------ +# ATmega1284P +#------------------------------------------------------------ + +# similar to ATmega164p + +part + id = "m1284p"; + desc = "ATmega1284P"; + has_jtag = yes; + stk500_devcode = 0x82; # no STK500v1 support, use the ATmega16 one + avr910_devcode = 0x74; + signature = 0x1e 0x97 0x05; + pagel = 0xd7; + bs2 = 0xa0; + chip_erase_delay = 55000; + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 x x x x x", + "x x x x x x x x x x x x x x x x"; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 1; + + pp_controlstack = + 0x0E, 0x1E, 0x0F, 0x1F, 0x2E, 0x3E, 0x2F, 0x3F, + 0x4E, 0x5E, 0x4F, 0x5F, 0x6E, 0x7E, 0x6F, 0x7F, + 0x66, 0x76, 0x67, 0x77, 0x6A, 0x7A, 0x6B, 0x7B, + 0xBE, 0xFD, 0x00, 0x01, 0x00, 0x00, 0x00, 0x02; + hventerstabdelay = 100; + progmodedelay = 0; + latchcycles = 6; + togglevtg = 1; + poweroffdelay = 15; + resetdelayms = 1; + resetdelayus = 0; + hvleavestabdelay = 15; + chiperasepulsewidth = 0; + chiperasepolltimeout = 10; + programfusepulsewidth = 0; + programfusepolltimeout = 5; + programlockpulsewidth = 0; + programlockpolltimeout = 5; + + idr = 0x31; + spmcr = 0x57; + allowfullpagebitstream = no; + + ocdrev = 3; + + memory "eeprom" + paged = no; /* leave this "no" */ + page_size = 8; /* for parallel programming */ + size = 4096; + min_write_delay = 9000; + max_write_delay = 9000; + readback_p1 = 0xff; + readback_p2 = 0xff; + read = " 1 0 1 0 0 0 0 0", + " 0 0 x x a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + write = " 1 1 0 0 0 0 0 0", + " 0 0 x x a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_lo = " 1 1 0 0 0 0 0 1", + " 0 0 0 0 0 0 0 0", + " 0 0 0 0 0 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 1 1 0 0 0 0 1 0", + " 0 0 x x a11 a10 a9 a8", + " a7 a6 a5 a4 a3 0 0 0", + " x x x x x x x x"; + + mode = 0x41; + delay = 10; + blocksize = 128; + readsize = 256; + ; + + memory "flash" + paged = yes; + size = 131072; + page_size = 256; + num_pages = 512; + min_write_delay = 4500; + max_write_delay = 4500; + readback_p1 = 0xff; + readback_p2 = 0xff; + read_lo = " 0 0 1 0 0 0 0 0", + "a15 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + "a15 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " 0 0 x x x x x x", + " x a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " 0 0 x x x x x x", + " x a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + "a15 a14 a13 a12 a11 a10 a9 a8", + " a7 x x x x x x x", + " x x x x x x x x"; + + mode = 0x41; + delay = 10; + blocksize = 256; + readsize = 256; + ; + + memory "lock" + size = 1; + read = "0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x x x o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 1 1 x x x x x", + "x x x x x x x x 1 1 i i i i i i"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "lfuse" + size = 1; + read = "0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 0 0 0", + "x x x x x x x x i i i i i i i i"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "hfuse" + size = 1; + read = "0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 1 0 0 0", + "x x x x x x x x i i i i i i i i"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "efuse" + size = 1; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 1 0 0", + "x x x x x x x x 1 1 1 1 1 i i i"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 x x x x x x x x", + "x x x x x x a1 a0 o o o o o o o o"; + ; + + memory "calibration" + size = 1; + + read = "0 0 1 1 1 0 0 0 0 0 0 x x x x x", + "0 0 0 0 0 0 0 0 o o o o o o o o"; + ; + ; + + + +#------------------------------------------------------------ +# ATmega162 +#------------------------------------------------------------ + +part + id = "m162"; + desc = "ATmega162"; + has_jtag = yes; + stk500_devcode = 0x83; + avr910_devcode = 0x63; + signature = 0x1e 0x94 0x04; + chip_erase_delay = 9000; + pagel = 0xd7; + bs2 = 0xa0; + + idr = 0x04; + spmcr = 0x57; + allowfullpagebitstream = yes; + + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 x x x x x", + "x x x x x x x x x x x x x x x x"; + + ocdrev = 2; + + memory "flash" + paged = yes; + size = 16384; + page_size = 128; + num_pages = 128; + min_write_delay = 4500; + max_write_delay = 4500; + readback_p1 = 0xff; + readback_p2 = 0xff; + + read_lo = " 0 0 1 0 0 0 0 0", + " 0 0 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + " 0 0 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " 0 0 x x x x x x", + " x x a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " 0 0 x x x x x x", + " x x a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + " 0 0 a13 a12 a11 a10 a9 a8", + " a7 a6 x x x x x x", + " x x x x x x x x"; + mode = 0x41; + delay = 10; + blocksize = 128; + readsize = 256; + + ; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 0; + + pp_controlstack = + 0x0E, 0x1E, 0x0F, 0x1F, 0x2E, 0x3E, 0x2F, 0x3F, + 0x4E, 0x5E, 0x4F, 0x5F, 0x6E, 0x7E, 0x6F, 0x7F, + 0x66, 0x76, 0x67, 0x77, 0x6A, 0x7A, 0x6B, 0x7B, + 0xBE, 0xFD, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00; + hventerstabdelay = 100; + progmodedelay = 0; + latchcycles = 6; + togglevtg = 0; + poweroffdelay = 0; + resetdelayms = 0; + resetdelayus = 0; + hvleavestabdelay = 15; + chiperasepulsewidth = 0; + chiperasepolltimeout = 10; + programfusepulsewidth = 0; + programfusepolltimeout = 5; + programlockpulsewidth = 0; + programlockpolltimeout = 5; + + memory "eeprom" + paged = no; /* leave this "no" */ + page_size = 4; /* for parallel programming */ + size = 512; + min_write_delay = 9000; + max_write_delay = 9000; + readback_p1 = 0xff; + readback_p2 = 0xff; + + read = " 1 0 1 0 0 0 0 0", + " 0 0 x x x x a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + write = " 1 1 0 0 0 0 0 0", + " 0 0 x x x x a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_lo = " 1 1 0 0 0 0 0 1", + " 0 0 0 0 0 0 0 0", + " 0 0 0 0 0 0 a1 a0", + " i i i i i i i i"; + + writepage = " 1 1 0 0 0 0 1 0", + " 0 0 x x x x a9 a8", + " a7 a6 a5 a4 a3 a2 0 0", + " x x x x x x x x"; + + mode = 0x41; + delay = 20; + blocksize = 4; + readsize = 256; + ; + + memory "lfuse" + size = 1; + min_write_delay = 16000; + max_write_delay = 16000; + read = "0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 0 0 0", + "x x x x x x x x i i i i i i i i"; + ; + + memory "hfuse" + size = 1; + min_write_delay = 16000; + max_write_delay = 16000; + + read = "0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 1 0 0 0", + "x x x x x x x x i i i i i i i i"; + ; + + memory "efuse" + size = 1; + min_write_delay = 16000; + max_write_delay = 16000; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 1 0 0", + "x x x x x x x x 1 1 1 1 1 i i i"; + ; + + memory "lock" + size = 1; + min_write_delay = 16000; + max_write_delay = 16000; + + read = "0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x x x o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 1 1 x x x x x", + "x x x x x x x x 1 1 i i i i i i"; + ; + + memory "signature" + size = 3; + + read = "0 0 1 1 0 0 0 0 0 0 x x x x x x", + "x x x x x x a1 a0 o o o o o o o o"; + ; + + memory "calibration" + size = 1; + + read = "0 0 1 1 1 0 0 0 0 0 x x x x x x", + "0 0 0 0 0 0 0 0 o o o o o o o o"; + ; +; + + + +#------------------------------------------------------------ +# ATmega163 +#------------------------------------------------------------ + +part + id = "m163"; + desc = "ATmega163"; + stk500_devcode = 0x81; + avr910_devcode = 0x64; + signature = 0x1e 0x94 0x02; + chip_erase_delay = 32000; + pagel = 0xd7; + bs2 = 0xa0; + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 0 0 0 0 0", + "x x x x x x x x x x x x x x x x"; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 0; + + pp_controlstack = + 0x0E, 0x1E, 0x0F, 0x1F, 0x2E, 0x3E, 0x2F, 0x3F, + 0x4E, 0x5E, 0x4F, 0x5F, 0x6E, 0x7E, 0x6F, 0x7F, + 0x66, 0x76, 0x67, 0x77, 0x6A, 0x7A, 0x6B, 0x7B, + 0xBE, 0xFD, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00; + hventerstabdelay = 100; + progmodedelay = 0; + latchcycles = 0; + togglevtg = 0; + poweroffdelay = 0; + resetdelayms = 0; + resetdelayus = 0; + hvleavestabdelay = 15; + chiperasepulsewidth = 0; + chiperasepolltimeout = 30; + programfusepulsewidth = 0; + programfusepolltimeout = 2; + programlockpulsewidth = 0; + programlockpolltimeout = 2; + + + memory "eeprom" + size = 512; + min_write_delay = 4000; + max_write_delay = 4000; + readback_p1 = 0xff; + readback_p2 = 0xff; + read = " 1 0 1 0 0 0 0 0", + " x x x x x x x a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + write = " 1 1 0 0 0 0 0 0", + " x x x x x x x a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + mode = 0x41; + delay = 20; + blocksize = 4; + readsize = 256; + ; + + memory "flash" + paged = yes; + size = 16384; + page_size = 128; + num_pages = 128; + min_write_delay = 16000; + max_write_delay = 16000; + readback_p1 = 0xff; + readback_p2 = 0xff; + read_lo = " 0 0 1 0 0 0 0 0", + " x x x a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + " x x x a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " x x x x x x x x", + " x x a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " x x x x x x x x", + " x x a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + " x x x a12 a11 a10 a9 a8", + " a7 a6 x x x x x x", + " x x x x x x x x"; + + mode = 0x11; + delay = 20; + blocksize = 128; + readsize = 256; + ; + + memory "lfuse" + size = 1; + min_write_delay = 2000; + max_write_delay = 2000; + read = "0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x o o x x o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 0 0 0", + "x x x x x x x x i i 1 1 i i i i"; + ; + + memory "hfuse" + size = 1; + min_write_delay = 2000; + max_write_delay = 2000; + read = "0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x x x x x 1 o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 1 0 0 0", + "x x x x x x x x 1 1 1 1 1 i i i"; + ; + + memory "lock" + size = 1; + min_write_delay = 2000; + max_write_delay = 2000; + read = "0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0", + "x x x x 0 x x x x x o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 1 1 x x x x x", + "x x x x x x x x 1 1 i i i i i i"; + ; + + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 x x x x x x x x", + "x x x x x x a1 a0 o o o o o o o o"; + ; + + memory "calibration" + size = 1; + read = "0 0 1 1 1 0 0 0 x x x x x x x x", + "0 0 0 0 0 0 0 0 o o o o o o o o"; + ; + ; + +#------------------------------------------------------------ +# ATmega169 +#------------------------------------------------------------ + +part + id = "m169"; + desc = "ATmega169"; + has_jtag = yes; + stk500_devcode = 0x85; + avr910_devcode = 0x78; + signature = 0x1e 0x94 0x05; + chip_erase_delay = 9000; + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 0 0 0 0 0", + "x x x x x x x x x x x x x x x x"; + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 1; + + pp_controlstack = + 0x0E, 0x1E, 0x0F, 0x1F, 0x2E, 0x3E, 0x2F, 0x3F, + 0x4E, 0x5E, 0x4F, 0x5F, 0x6E, 0x7E, 0x6F, 0x7F, + 0x66, 0x76, 0x67, 0x77, 0x6A, 0x7A, 0x6B, 0x7B, + 0xBE, 0xFD, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00; + hventerstabdelay = 100; + progmodedelay = 0; + latchcycles = 5; + togglevtg = 1; + poweroffdelay = 15; + resetdelayms = 1; + resetdelayus = 0; + hvleavestabdelay = 15; + chiperasepulsewidth = 0; + chiperasepolltimeout = 10; + programfusepulsewidth = 0; + programfusepolltimeout = 5; + programlockpulsewidth = 0; + programlockpolltimeout = 5; + + idr = 0x31; + spmcr = 0x57; + + ocdrev = 2; + + memory "eeprom" + paged = no; /* leave this "no" */ + page_size = 4; /* for parallel programming */ + size = 512; + min_write_delay = 9000; + max_write_delay = 9000; + readback_p1 = 0xff; + readback_p2 = 0xff; + read = " 1 0 1 0 0 0 0 0", + " x x x x x x x a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + write = " 1 1 0 0 0 0 0 0", + " x x x x x x x a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_lo = " 1 1 0 0 0 0 0 1", + " 0 0 0 0 0 0 0 0", + " 0 0 0 0 0 0 a1 a0", + " i i i i i i i i"; + + writepage = " 1 1 0 0 0 0 1 0", + " 0 0 x x x x x a8", + " a7 a6 a5 a4 a3 a2 0 0", + " x x x x x x x x"; + + mode = 0x41; + delay = 20; + blocksize = 4; + readsize = 256; + ; + + memory "flash" + paged = yes; + size = 16384; + page_size = 128; + num_pages = 128; + min_write_delay = 4500; + max_write_delay = 4500; + readback_p1 = 0xff; + readback_p2 = 0xff; + read_lo = " 0 0 1 0 0 0 0 0", + " x x x a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + " x x x a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " x x x x x x x x", + " x x a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " x x x x x x x x", + " x x a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + " x x x a12 a11 a10 a9 a8", + " a7 a6 x x x x x x", + " x x x x x x x x"; + + mode = 0x41; + delay = 6; + blocksize = 128; + readsize = 256; + ; + + memory "lfuse" + size = 1; + min_write_delay = 2000; + max_write_delay = 2000; + read = "0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 0 0 0", + "x x x x x x x x i i i i i i i i"; + ; + + memory "hfuse" + size = 1; + min_write_delay = 2000; + max_write_delay = 2000; + read = "0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 1 0 0 0", + "x x x x x x x x i i i i i i i i"; + ; + + memory "efuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 1 0 0", + "x x x x x x x x x x x x i i i i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + ; + + memory "lock" + size = 1; + min_write_delay = 2000; + max_write_delay = 2000; + read = "0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x x x o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 1 1 x x x x x", + "x x x x x x x x 1 1 i i i i i i"; + ; + + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 0 0 0 x x x x x", + "x x x x x x a1 a0 o o o o o o o o"; + ; + + memory "calibration" + size = 1; + read = "0 0 1 1 1 0 0 0 0 0 0 x x x x x", + "0 0 0 0 0 0 0 0 o o o o o o o o"; + ; + ; + +#------------------------------------------------------------ +# ATmega329 +#------------------------------------------------------------ + +part + id = "m329"; + desc = "ATmega329"; + has_jtag = yes; +# stk500_devcode = 0x85; # no STK500 support, only STK500v2 +# avr910_devcode = 0x?; # try the ATmega169 one: + avr910_devcode = 0x75; + signature = 0x1e 0x95 0x03; + chip_erase_delay = 9000; + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 0 0 0 0 0", + "x x x x x x x x x x x x x x x x"; + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 1; + + pp_controlstack = + 0x0E, 0x1E, 0x0F, 0x1F, 0x2E, 0x3E, 0x2F, 0x3F, + 0x4E, 0x5E, 0x4F, 0x5F, 0x6E, 0x7E, 0x6F, 0x7F, + 0x66, 0x76, 0x67, 0x77, 0x6A, 0x7A, 0x6B, 0x7B, + 0xBE, 0xFD, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00; + hventerstabdelay = 100; + progmodedelay = 0; + latchcycles = 5; + togglevtg = 1; + poweroffdelay = 15; + resetdelayms = 1; + resetdelayus = 0; + hvleavestabdelay = 15; + chiperasepulsewidth = 0; + chiperasepolltimeout = 10; + programfusepulsewidth = 0; + programfusepolltimeout = 5; + programlockpulsewidth = 0; + programlockpolltimeout = 5; + + idr = 0x31; + spmcr = 0x57; + + ocdrev = 3; + + memory "eeprom" + paged = no; /* leave this "no" */ + page_size = 4; /* for parallel programming */ + size = 1024; + min_write_delay = 9000; + max_write_delay = 9000; + readback_p1 = 0xff; + readback_p2 = 0xff; + read = " 1 0 1 0 0 0 0 0", + " x x x x x x a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + write = " 1 1 0 0 0 0 0 0", + " x x x x x x a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_lo = " 1 1 0 0 0 0 0 1", + " 0 0 0 0 0 0 0 0", + " 0 0 0 0 0 0 a1 a0", + " i i i i i i i i"; + + writepage = " 1 1 0 0 0 0 1 0", + " 0 0 x x x x a9 a8", + " a7 a6 a5 a4 a3 a2 0 0", + " x x x x x x x x"; + + mode = 0x41; + delay = 20; + blocksize = 8; + readsize = 256; + ; + + memory "flash" + paged = yes; + size = 32768; + page_size = 128; + num_pages = 256; + min_write_delay = 4500; + max_write_delay = 4500; + readback_p1 = 0xff; + readback_p2 = 0xff; + read_lo = " 0 0 1 0 0 0 0 0", + " x a14 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + " x a14 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " x x x x x x x x", + " x x a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " x x x x x x x x", + " x x a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + " x x x a12 a11 a10 a9 a8", + " a7 a6 x x x x x x", + " x x x x x x x x"; + + mode = 0x41; + delay = 6; + blocksize = 256; + readsize = 256; + ; + + memory "lfuse" + size = 1; + min_write_delay = 4500; + max_write_delay = 4500; + read = "0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 0 0 0", + "x x x x x x x x i i i i i i i i"; + ; + + memory "hfuse" + size = 1; + min_write_delay = 4500; + max_write_delay = 4500; + read = "0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 1 0 0 0", + "x x x x x x x x i i i i i i i i"; + ; + + memory "efuse" + size = 1; + min_write_delay = 4500; + max_write_delay = 4500; + read = "0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 1 0 0", + "x x x x x x x x x x x x x i i i"; + ; + + memory "lock" + size = 1; + min_write_delay = 4500; + max_write_delay = 4500; + read = "0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x x x o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 1 1 x x x x x", + "x x x x x x x x 1 1 i i i i i i"; + ; + + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 0 0 0 x x x x x", + "x x x x x x a1 a0 o o o o o o o o"; + ; + + memory "calibration" + size = 1; + read = "0 0 1 1 1 0 0 0 0 0 0 x x x x x", + "0 0 0 0 0 0 0 0 o o o o o o o o"; + ; + ; + +#------------------------------------------------------------ +# ATmega329P +#------------------------------------------------------------ +# Identical to ATmega329 except of the signature + +part parent "m329" + id = "m329p"; + desc = "ATmega329P"; + signature = 0x1e 0x95 0x0b; + + ocdrev = 3; + ; + +#------------------------------------------------------------ +# ATmega3290 +#------------------------------------------------------------ + +# identical to ATmega329 + +part parent "m329" + id = "m3290"; + desc = "ATmega3290"; + signature = 0x1e 0x95 0x04; + + ocdrev = 3; + ; + +#------------------------------------------------------------ +# ATmega3290P +#------------------------------------------------------------ + +# identical to ATmega3290 except of the signature + +part parent "m3290" + id = "m3290p"; + desc = "ATmega3290P"; + signature = 0x1e 0x95 0x0c; + + ocdrev = 3; + ; + +#------------------------------------------------------------ +# ATmega649 +#------------------------------------------------------------ + +part + id = "m649"; + desc = "ATmega649"; + has_jtag = yes; +# stk500_devcode = 0x85; # no STK500 support, only STK500v2 +# avr910_devcode = 0x?; # try the ATmega169 one: + avr910_devcode = 0x75; + signature = 0x1e 0x96 0x03; + chip_erase_delay = 9000; + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 0 0 0 0 0", + "x x x x x x x x x x x x x x x x"; + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 1; + + pp_controlstack = + 0x0E, 0x1E, 0x0F, 0x1F, 0x2E, 0x3E, 0x2F, 0x3F, + 0x4E, 0x5E, 0x4F, 0x5F, 0x6E, 0x7E, 0x6F, 0x7F, + 0x66, 0x76, 0x67, 0x77, 0x6A, 0x7A, 0x6B, 0x7B, + 0xBE, 0xFD, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00; + hventerstabdelay = 100; + progmodedelay = 0; + latchcycles = 5; + togglevtg = 1; + poweroffdelay = 15; + resetdelayms = 1; + resetdelayus = 0; + hvleavestabdelay = 15; + chiperasepulsewidth = 0; + chiperasepolltimeout = 10; + programfusepulsewidth = 0; + programfusepolltimeout = 5; + programlockpulsewidth = 0; + programlockpolltimeout = 5; + + idr = 0x31; + spmcr = 0x57; + + ocdrev = 3; + + memory "eeprom" + paged = no; /* leave this "no" */ + page_size = 8; /* for parallel programming */ + size = 2048; + min_write_delay = 9000; + max_write_delay = 9000; + readback_p1 = 0xff; + readback_p2 = 0xff; + read = " 1 0 1 0 0 0 0 0", + " x x x x x a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + write = " 1 1 0 0 0 0 0 0", + " x x x x x a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_lo = " 1 1 0 0 0 0 0 1", + " 0 0 0 0 0 0 0 0", + " 0 0 0 0 0 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 1 1 0 0 0 0 1 0", + " 0 0 x x x a10 a9 a8", + " a7 a6 a5 a4 a3 0 0 0", + " x x x x x x x x"; + + mode = 0x41; + delay = 20; + blocksize = 8; + readsize = 256; + ; + + memory "flash" + paged = yes; + size = 65536; + page_size = 256; + num_pages = 256; + min_write_delay = 4500; + max_write_delay = 4500; + readback_p1 = 0xff; + readback_p2 = 0xff; + read_lo = " 0 0 1 0 0 0 0 0", + "a15 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + "a15 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " x x x x x x x x", + " x a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " x x x x x x x x", + " x a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + " x x x a12 a11 a10 a9 a8", + " a7 x x x x x x x", + " x x x x x x x x"; + + mode = 0x41; + delay = 6; + blocksize = 256; + readsize = 256; + ; + + memory "lfuse" + size = 1; + min_write_delay = 4500; + max_write_delay = 4500; + read = "0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 0 0 0", + "x x x x x x x x i i i i i i i i"; + ; + + memory "hfuse" + size = 1; + min_write_delay = 4500; + max_write_delay = 4500; + read = "0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 1 0 0 0", + "x x x x x x x x i i i i i i i i"; + ; + + memory "efuse" + size = 1; + min_write_delay = 4500; + max_write_delay = 4500; + read = "0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 1 0 0", + "x x x x x x x x x x x x x i i i"; + ; + + memory "lock" + size = 1; + min_write_delay = 4500; + max_write_delay = 4500; + read = "0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x x x o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 1 1 x x x x x", + "x x x x x x x x 1 1 i i i i i i"; + ; + + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 0 0 0 x x x x x", + "x x x x x x a1 a0 o o o o o o o o"; + ; + + memory "calibration" + size = 1; + read = "0 0 1 1 1 0 0 0 0 0 0 x x x x x", + "0 0 0 0 0 0 0 0 o o o o o o o o"; + ; + ; + +#------------------------------------------------------------ +# ATmega6490 +#------------------------------------------------------------ + +# identical to ATmega649 + +part parent "m649" + id = "m6490"; + desc = "ATmega6490"; + signature = 0x1e 0x96 0x04; + + ocdrev = 3; + ; + +#------------------------------------------------------------ +# ATmega32 +#------------------------------------------------------------ + +part + id = "m32"; + desc = "ATmega32"; + has_jtag = yes; + stk500_devcode = 0x91; + avr910_devcode = 0x72; + signature = 0x1e 0x95 0x02; + chip_erase_delay = 9000; + pagel = 0xd7; + bs2 = 0xa0; + reset = dedicated; + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 0 0 0 0 0", + "x x x x x x x x x x x x x x x x"; + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 0; + + pp_controlstack = + 0x0E, 0x1E, 0x0F, 0x1F, 0x2E, 0x3E, 0x2F, 0x3F, + 0x4E, 0x5E, 0x4F, 0x5F, 0x6E, 0x7E, 0x6F, 0x7F, + 0x66, 0x76, 0x67, 0x77, 0x6A, 0x7A, 0x6B, 0x7B, + 0xBE, 0xFD, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00; + hventerstabdelay = 100; + progmodedelay = 0; + latchcycles = 6; + togglevtg = 0; + poweroffdelay = 0; + resetdelayms = 0; + resetdelayus = 0; + hvleavestabdelay = 15; + chiperasepulsewidth = 0; + chiperasepolltimeout = 10; + programfusepulsewidth = 0; + programfusepolltimeout = 5; + programlockpulsewidth = 0; + programlockpolltimeout = 5; + + idr = 0x31; + spmcr = 0x57; + allowfullpagebitstream = yes; + + ocdrev = 2; + + memory "eeprom" + paged = no; /* leave this "no" */ + page_size = 4; /* for parallel programming */ + size = 1024; + min_write_delay = 9000; + max_write_delay = 9000; + readback_p1 = 0xff; + readback_p2 = 0xff; + read = " 1 0 1 0 0 0 0 0", + " 0 0 x x x x a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + write = " 1 1 0 0 0 0 0 0", + " 0 0 x x x x a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_lo = " 1 1 0 0 0 0 0 1", + " 0 0 0 0 0 0 0 0", + " 0 0 0 0 0 0 a1 a0", + " i i i i i i i i"; + + writepage = " 1 1 0 0 0 0 1 0", + " 0 0 x x x x a9 a8", + " a7 a6 a5 a4 a3 a2 0 0", + " x x x x x x x x"; + + mode = 0x04; + delay = 10; + blocksize = 64; + readsize = 256; + ; + + memory "flash" + paged = yes; + size = 32768; + page_size = 128; + num_pages = 256; + min_write_delay = 4500; + max_write_delay = 4500; + readback_p1 = 0xff; + readback_p2 = 0xff; + read_lo = " 0 0 1 0 0 0 0 0", + " 0 0 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + " 0 0 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " 0 0 x x x x x x", + " x x a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " 0 0 x x x x x x", + " x x a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + " 0 0 a13 a12 a11 a10 a9 a8", + " a7 a6 x x x x x x", + " x x x x x x x x"; + + mode = 0x21; + delay = 6; + blocksize = 64; + readsize = 256; + ; + + memory "lfuse" + size = 1; + min_write_delay = 2000; + max_write_delay = 2000; + read = "0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 0 0 0", + "x x x x x x x x i i i i i i i i"; + ; + + memory "hfuse" + size = 1; + min_write_delay = 2000; + max_write_delay = 2000; + read = "0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 1 0 0 0", + "x x x x x x x x i i i i i i i i"; + ; + + memory "lock" + size = 1; + min_write_delay = 2000; + max_write_delay = 2000; + read = "0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x x x o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 1 1 x x x x x", + "x x x x x x x x 1 1 i i i i i i"; + ; + + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 x x x x x x x x", + "x x x x x x a1 a0 o o o o o o o o"; + ; + + memory "calibration" + size = 4; + read = "0 0 1 1 1 0 0 0 0 0 x x x x x x", + "0 0 0 0 0 0 a1 a0 o o o o o o o o"; + ; + ; + +#------------------------------------------------------------ +# ATmega161 +#------------------------------------------------------------ + +part + id = "m161"; + desc = "ATmega161"; + stk500_devcode = 0x80; + avr910_devcode = 0x60; + signature = 0x1e 0x94 0x01; + chip_erase_delay = 28000; + pagel = 0xd7; + bs2 = 0xa0; + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 0 0 0 0 0", + "x x x x x x x x x x x x x x x x"; + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 0; + + pp_controlstack = + 0x0E, 0x1E, 0x0F, 0x1F, 0x2E, 0x3E, 0x2F, 0x3F, + 0x4E, 0x5E, 0x4F, 0x5F, 0x6E, 0x7E, 0x6F, 0x7F, + 0x66, 0x76, 0x67, 0x77, 0x6A, 0x7A, 0x6B, 0x7B, + 0xBE, 0xFD, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00; + hventerstabdelay = 100; + progmodedelay = 0; + latchcycles = 0; + togglevtg = 0; + poweroffdelay = 0; + resetdelayms = 0; + resetdelayus = 0; + hvleavestabdelay = 15; + chiperasepulsewidth = 0; + chiperasepolltimeout = 30; + programfusepulsewidth = 0; + programfusepolltimeout = 2; + programlockpulsewidth = 0; + programlockpolltimeout = 2; + + memory "eeprom" + size = 512; + min_write_delay = 3400; + max_write_delay = 3400; + readback_p1 = 0xff; + readback_p2 = 0xff; + read = " 1 0 1 0 0 0 0 0", + " x x x x x x x a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + write = " 1 1 0 0 0 0 0 0", + " x x x x x x x a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + mode = 0x04; + delay = 5; + blocksize = 128; + readsize = 256; + ; + + memory "flash" + paged = yes; + size = 16384; + page_size = 128; + num_pages = 128; + min_write_delay = 14000; + max_write_delay = 14000; + readback_p1 = 0xff; + readback_p2 = 0xff; + read_lo = " 0 0 1 0 0 0 0 0", + " x x x a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + " x x x a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " x x x x x x x x", + " x x a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " x x x x x x x x", + " x x a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + " x x x a12 a11 a10 a9 a8", + " a7 a6 x x x x x x", + " x x x x x x x x"; + + mode = 0x21; + delay = 16; + blocksize = 128; + readsize = 256; + ; + + memory "fuse" + size = 1; + min_write_delay = 2000; + max_write_delay = 2000; + read = "0 1 0 1 0 0 0 0 x x x x x x x x", + "x x x x x x x x x o x o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 x x x x x", + "x x x x x x x x 1 i 1 i i i i i"; + ; + + memory "lock" + size = 1; + min_write_delay = 2000; + max_write_delay = 2000; + read = "0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x x x o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 1 1 x x x x x", + "x x x x x x x x 1 1 i i i i i i"; + ; + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 x x x x x x x x", + "x x x x x x a1 a0 o o o o o o o o"; + ; + ; + + +#------------------------------------------------------------ +# ATmega8 +#------------------------------------------------------------ + +part + id = "m8"; + desc = "ATmega8"; + stk500_devcode = 0x70; + avr910_devcode = 0x76; + signature = 0x1e 0x93 0x07; + pagel = 0xd7; + bs2 = 0xc2; + chip_erase_delay = 10000; + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 x x x x x", + "x x x x x x x x x x x x x x x x"; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 0; + + pp_controlstack = + 0x0E, 0x1E, 0x0F, 0x1F, 0x2E, 0x3E, 0x2F, 0x3F, + 0x4E, 0x5E, 0x4F, 0x5F, 0x6E, 0x7E, 0x6F, 0x7F, + 0x66, 0x76, 0x67, 0x77, 0x6A, 0x7A, 0x6B, 0x7B, + 0xBE, 0xFD, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00; + hventerstabdelay = 100; + progmodedelay = 0; + latchcycles = 5; + togglevtg = 1; + poweroffdelay = 15; + resetdelayms = 2; + resetdelayus = 0; + hvleavestabdelay = 15; + resetdelay = 15; + chiperasepulsewidth = 0; + chiperasepolltimeout = 10; + programfusepulsewidth = 0; + programfusepolltimeout = 5; + programlockpulsewidth = 0; + programlockpolltimeout = 5; + + memory "eeprom" + size = 512; + page_size = 4; + min_write_delay = 9000; + max_write_delay = 9000; + readback_p1 = 0xff; + readback_p2 = 0xff; + read = " 1 0 1 0 0 0 0 0", + " 0 0 x x x x x a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + write = " 1 1 0 0 0 0 0 0", + " 0 0 x x x x x a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + mode = 0x04; + delay = 20; + blocksize = 128; + readsize = 256; + ; + memory "flash" + paged = yes; + size = 8192; + page_size = 64; + num_pages = 128; + min_write_delay = 4500; + max_write_delay = 4500; + readback_p1 = 0xff; + readback_p2 = 0x00; + read_lo = " 0 0 1 0 0 0 0 0", + " 0 0 0 0 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + " 0 0 0 0 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " 0 0 0 0 x x x x", + " x x x a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " 0 0 0 0 x x x x", + " x x x a4 a3 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + " 0 0 0 0 a11 a10 a9 a8", + " a7 a6 a5 x x x x x", + " x x x x x x x x"; + + mode = 0x21; + delay = 10; + blocksize = 64; + readsize = 256; + ; + + memory "lfuse" + size = 1; + min_write_delay = 2000; + max_write_delay = 2000; + read = "0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 0 0 0", + "x x x x x x x x i i i i i i i i"; + ; + + memory "hfuse" + size = 1; + min_write_delay = 2000; + max_write_delay = 2000; + read = "0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 1 0 0 0", + "x x x x x x x x i i i i i i i i"; + ; + + # Required for Arduino IDE + # see: https://github.com/arduino/Arduino/issues/2075 + # https://github.com/arduino/Arduino/issues/2075#issuecomment-238031689 + memory "efuse" + size = 0; + ; + + memory "lock" + size = 1; + min_write_delay = 2000; + max_write_delay = 2000; + read = "0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x x x o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 1 1 x x x x x", + "x x x x x x x x 1 1 i i i i i i"; + ; + + memory "calibration" + size = 4; + read = "0 0 1 1 1 0 0 0 0 0 x x x x x x", + "0 0 0 0 0 0 a1 a0 o o o o o o o o"; + ; + + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 x x x x x x x x", + "x x x x x x a1 a0 o o o o o o o o"; + ; + ; + + + +#------------------------------------------------------------ +# ATmega8515 +#------------------------------------------------------------ + +part + id = "m8515"; + desc = "ATmega8515"; + stk500_devcode = 0x63; + avr910_devcode = 0x3A; + signature = 0x1e 0x93 0x06; + chip_erase_delay = 9000; + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 x x x x x", + "x x x x x x x x x x x x x x x x"; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 0; + + pp_controlstack = + 0x0E, 0x1E, 0x0F, 0x1F, 0x2E, 0x3E, 0x2F, 0x3F, + 0x4E, 0x5E, 0x4F, 0x5F, 0x6E, 0x7E, 0x6F, 0x7F, + 0x66, 0x76, 0x67, 0x77, 0x6A, 0x7A, 0x6B, 0x7B, + 0xBE, 0xFD, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00; + hventerstabdelay = 100; + progmodedelay = 0; + latchcycles = 6; + togglevtg = 0; + poweroffdelay = 0; + resetdelayms = 0; + resetdelayus = 0; + hvleavestabdelay = 15; + chiperasepulsewidth = 0; + chiperasepolltimeout = 10; + programfusepulsewidth = 0; + programfusepolltimeout = 5; + programlockpulsewidth = 0; + programlockpolltimeout = 5; + + memory "eeprom" + size = 512; + min_write_delay = 9000; + max_write_delay = 9000; + readback_p1 = 0xff; + readback_p2 = 0xff; + read = " 1 0 1 0 0 0 0 0", + " 0 0 x x x x x a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + write = " 1 1 0 0 0 0 0 0", + " 0 0 x x x x x a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + mode = 0x04; + delay = 20; + blocksize = 128; + readsize = 256; + ; + memory "flash" + paged = yes; + size = 8192; + page_size = 64; + num_pages = 128; + min_write_delay = 4500; + max_write_delay = 4500; + readback_p1 = 0xff; + readback_p2 = 0xff; + read_lo = " 0 0 1 0 0 0 0 0", + " 0 0 0 0 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + " 0 0 0 0 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " 0 0 0 0 x x x x", + " x x x a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " 0 0 0 0 x x x x", + " x x x a4 a3 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + " 0 0 0 0 a11 a10 a9 a8", + " a7 a6 a5 x x x x x", + " x x x x x x x x"; + + mode = 0x21; + delay = 6; + blocksize = 64; + readsize = 256; + ; + + memory "lfuse" + size = 1; + min_write_delay = 4500; + max_write_delay = 4500; + read = "0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 0 0 0", + "x x x x x x x x i i i i i i i i"; + ; + + memory "hfuse" + size = 1; + min_write_delay = 4500; + max_write_delay = 4500; + read = "0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 1 0 0 0", + "x x x x x x x x i i i i i i i i"; + ; + + memory "lock" + size = 1; + min_write_delay = 4500; + max_write_delay = 4500; + read = "0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x x x o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 1 1 x x x x x", + "x x x x x x x x 1 1 i i i i i i"; + ; + + memory "calibration" + size = 4; + read = "0 0 1 1 1 0 0 0 0 0 x x x x x x", + "0 0 0 0 0 0 a1 a0 o o o o o o o o"; + ; + + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 x x x x x x x x", + "x x x x x x a1 a0 o o o o o o o o"; + ; + ; + + + + +#------------------------------------------------------------ +# ATmega8535 +#------------------------------------------------------------ + +part + id = "m8535"; + desc = "ATmega8535"; + stk500_devcode = 0x64; + avr910_devcode = 0x69; + signature = 0x1e 0x93 0x08; + pagel = 0xd7; + bs2 = 0xa0; + chip_erase_delay = 9000; + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 x x x x x", + "x x x x x x x x x x x x x x x x"; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 0; + + pp_controlstack = + 0x0E, 0x1E, 0x0F, 0x1F, 0x2E, 0x3E, 0x2F, 0x3F, + 0x4E, 0x5E, 0x4F, 0x5F, 0x6E, 0x7E, 0x6F, 0x7F, + 0x66, 0x76, 0x67, 0x77, 0x6A, 0x7A, 0x6B, 0x7B, + 0xBE, 0xFD, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00; + hventerstabdelay = 100; + progmodedelay = 0; + latchcycles = 6; + togglevtg = 0; + poweroffdelay = 0; + resetdelayms = 0; + resetdelayus = 0; + hvleavestabdelay = 15; + chiperasepulsewidth = 0; + chiperasepolltimeout = 10; + programfusepulsewidth = 0; + programfusepolltimeout = 5; + programlockpulsewidth = 0; + programlockpolltimeout = 5; + + memory "eeprom" + size = 512; + min_write_delay = 9000; + max_write_delay = 9000; + readback_p1 = 0xff; + readback_p2 = 0xff; + read = " 1 0 1 0 0 0 0 0", + " 0 0 x x x x x a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + write = " 1 1 0 0 0 0 0 0", + " 0 0 x x x x x a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + mode = 0x04; + delay = 20; + blocksize = 128; + readsize = 256; + ; + memory "flash" + paged = yes; + size = 8192; + page_size = 64; + num_pages = 128; + min_write_delay = 4500; + max_write_delay = 4500; + readback_p1 = 0xff; + readback_p2 = 0xff; + read_lo = " 0 0 1 0 0 0 0 0", + " 0 0 0 0 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + " 0 0 0 0 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " 0 0 0 0 x x x x", + " x x x a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " 0 0 0 0 x x x x", + " x x x a4 a3 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + " 0 0 0 0 a11 a10 a9 a8", + " a7 a6 a5 x x x x x", + " x x x x x x x x"; + + mode = 0x21; + delay = 6; + blocksize = 64; + readsize = 256; + ; + + memory "lfuse" + size = 1; + min_write_delay = 2000; + max_write_delay = 2000; + read = "0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 0 0 0", + "x x x x x x x x i i i i i i i i"; + ; + + memory "hfuse" + size = 1; + min_write_delay = 2000; + max_write_delay = 2000; + read = "0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 1 0 0 0", + "x x x x x x x x i i i i i i i i"; + ; + + memory "lock" + size = 1; + min_write_delay = 2000; + max_write_delay = 2000; + read = "0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x x x o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 1 1 x x x x x", + "x x x x x x x x 1 1 i i i i i i"; + ; + + memory "calibration" + size = 4; + read = "0 0 1 1 1 0 0 0 0 0 x x x x x x", + "0 0 0 0 0 0 a1 a0 o o o o o o o o"; + ; + + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 x x x x x x x x", + "x x x x x x a1 a0 o o o o o o o o"; + ; + ; + + +#------------------------------------------------------------ +# ATtiny26 +#------------------------------------------------------------ + +part + id = "t26"; + desc = "ATtiny26"; + stk500_devcode = 0x21; + avr910_devcode = 0x5e; + signature = 0x1e 0x91 0x09; + pagel = 0xb3; + bs2 = 0xb2; + chip_erase_delay = 9000; + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 x x x x x", + "x x x x x x x x x x x x x x x x"; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 0; + + pp_controlstack = + 0xC4, 0xE4, 0xC4, 0xE4, 0xCC, 0xEC, 0xCC, 0xEC, + 0xD4, 0xF4, 0xD4, 0xF4, 0xDC, 0xFC, 0xDC, 0xFC, + 0xC8, 0xE8, 0xD8, 0xF8, 0x4C, 0x6C, 0x5C, 0x7C, + 0xEC, 0xBC, 0x00, 0x06, 0x00, 0x00, 0x00, 0x00; + hventerstabdelay = 100; + progmodedelay = 0; + latchcycles = 5; + togglevtg = 1; + poweroffdelay = 15; + resetdelayms = 2; + resetdelayus = 0; + hvleavestabdelay = 15; + chiperasepulsewidth = 0; + chiperasepolltimeout = 10; + programfusepulsewidth = 0; + programfusepolltimeout = 5; + programlockpulsewidth = 0; + programlockpolltimeout = 5; + + memory "eeprom" + size = 128; + min_write_delay = 9000; + max_write_delay = 9000; + readback_p1 = 0xff; + readback_p2 = 0xff; + read = "1 0 1 0 0 0 0 0 x x x x x x x x", + "x a6 a5 a4 a3 a2 a1 a0 o o o o o o o o"; + + write = "1 1 0 0 0 0 0 0 x x x x x x x x", + "x a6 a5 a4 a3 a2 a1 a0 i i i i i i i i"; + + mode = 0x04; + delay = 10; + blocksize = 64; + readsize = 256; + ; + + memory "flash" + paged = yes; + size = 2048; + page_size = 32; + num_pages = 64; + min_write_delay = 4500; + max_write_delay = 4500; + readback_p1 = 0xff; + readback_p2 = 0xff; + read_lo = " 0 0 1 0 0 0 0 0", + " x x x x x x a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + " x x x x x x a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " x x x x x x x x", + " x x x x a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " x x x x x x x x", + " x x x x a3 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + " x x x x x x a9 a8", + " a7 a6 a5 a4 x x x x", + " x x x x x x x x"; + + mode = 0x21; + delay = 6; + blocksize = 16; + readsize = 256; + ; + + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 x x x x x x x x", + "0 0 0 0 0 0 a1 a0 o o o o o o o o"; + ; + + memory "lock" + size = 1; + read = "0 1 0 1 1 0 0 0 x x x x x x x x", + "x x x x x x x x x x x x x x o o"; + + write = "1 0 1 0 1 1 0 0 1 1 1 1 1 1 i i", + "x x x x x x x x x x x x x x x x"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "lfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "hfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 1 0 0 0", + "x x x x x x x x x x x i i i i i"; + + read = "0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "calibration" + size = 4; + read = "0 0 1 1 1 0 0 0 x x x x x x x x", + "0 0 0 0 0 0 a1 a0 o o o o o o o o"; + ; + +; + + +#------------------------------------------------------------ +# ATtiny261 +#------------------------------------------------------------ +# Close to ATtiny26 + +part + id = "t261"; + desc = "ATtiny261"; + has_debugwire = yes; + flash_instr = 0xB4, 0x00, 0x10; + eeprom_instr = 0xBB, 0xFF, 0xBB, 0xEE, 0xBB, 0xCC, 0xB2, 0x0D, + 0xBC, 0x00, 0xB4, 0x00, 0xBA, 0x0D, 0xBB, 0xBC, + 0x99, 0xE1, 0xBB, 0xAC; +# stk500_devcode = 0x21; +# avr910_devcode = 0x5e; + signature = 0x1e 0x91 0x0c; + pagel = 0xb3; + bs2 = 0xb2; + chip_erase_delay = 4000; + + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 x x x x x", + "x x x x x x x x x x x x x x x x"; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 0; + + pp_controlstack = + 0xC4, 0xE4, 0xC4, 0xE4, 0xCC, 0xEC, 0xCC, 0xEC, + 0xD4, 0xF4, 0xD4, 0xF4, 0xDC, 0xFC, 0xDC, 0xFC, + 0xC8, 0xE8, 0xD8, 0xF8, 0x4C, 0x6C, 0x5C, 0x7C, + 0xEC, 0xBC, 0x00, 0x06, 0x00, 0x00, 0x00, 0x00; + hventerstabdelay = 100; + progmodedelay = 0; + latchcycles = 5; + togglevtg = 1; + poweroffdelay = 15; + resetdelayms = 2; + resetdelayus = 0; + hvleavestabdelay = 15; + chiperasepulsewidth = 0; + chiperasepolltimeout = 10; + programfusepulsewidth = 0; + programfusepolltimeout = 5; + programlockpulsewidth = 0; + programlockpolltimeout = 5; + + ocdrev = 1; + + memory "eeprom" + paged = no; + size = 128; + page_size = 4; + num_pages = 32; + min_write_delay = 4000; + max_write_delay = 4000; + readback_p1 = 0xff; + readback_p2 = 0xff; + + read = "1 0 1 0 0 0 0 0 x x x x x x x x", + "x a6 a5 a4 a3 a2 a1 a0 o o o o o o o o"; + + write = "1 1 0 0 0 0 0 0 x x x x x x x x", + "x a6 a5 a4 a3 a2 a1 a0 i i i i i i i i"; + + loadpage_lo = " 1 1 0 0 0 0 0 1", + " 0 0 0 0 0 0 0 0", + " 0 0 0 0 0 0 a1 a0", + " i i i i i i i i"; + + writepage = " 1 1 0 0 0 0 1 0", + " 0 0 x x x x x x", + " x a6 a5 a4 a3 a2 0 0", + " x x x x x x x x"; + + mode = 0x41; + delay = 10; + blocksize = 4; + readsize = 256; + ; + + memory "flash" + paged = yes; + size = 2048; + page_size = 32; + num_pages = 64; + min_write_delay = 4500; + max_write_delay = 4500; + readback_p1 = 0xff; + readback_p2 = 0xff; + + read_lo = " 0 0 1 0 0 0 0 0", + " x x x x x x a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + " x x x x x x a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " x x x x x x x x", + " x x x x a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " x x x x x x x x", + " x x x x a3 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + " x x x x x x a9 a8", + " a7 a6 a5 a4 x x x x", + " x x x x x x x x"; + + mode = 0x41; + delay = 6; + blocksize = 32; + readsize = 256; + ; + + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 x x x x x x x x", + "0 0 0 0 0 0 a1 a0 o o o o o o o o"; + ; + + memory "lock" + size = 1; + read = "0 1 0 1 1 0 0 0 x x x x x x x x", + "x x x x x x x x x x x x x x o o"; + + write = "1 0 1 0 1 1 0 0 1 1 1 1 1 1 i i", + "x x x x x x x x x x x x x x x x"; + min_write_delay = 4500; + max_write_delay = 4500; + ; + + memory "lfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 4500; + max_write_delay = 4500; + ; + + memory "hfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 1 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 4500; + max_write_delay = 4500; + ; + + memory "efuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 1 0 0", + "x x x x x x x x x x x x x x x i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 4500; + max_write_delay = 4500; + ; + + memory "calibration" + size = 1; + read = "0 0 1 1 1 0 0 0 x x x x x x x x", + "0 0 0 0 0 0 0 0 o o o o o o o o"; + ; + +; + + +#------------------------------------------------------------ +# ATtiny461 +#------------------------------------------------------------ +# Close to ATtiny261 + +part + id = "t461"; + desc = "ATtiny461"; + has_debugwire = yes; + flash_instr = 0xB4, 0x00, 0x10; + eeprom_instr = 0xBB, 0xFF, 0xBB, 0xEE, 0xBB, 0xCC, 0xB2, 0x0D, + 0xBC, 0x00, 0xB4, 0x00, 0xBA, 0x0D, 0xBB, 0xBC, + 0x99, 0xE1, 0xBB, 0xAC; +# stk500_devcode = 0x21; +# avr910_devcode = 0x5e; + signature = 0x1e 0x92 0x08; + pagel = 0xb3; + bs2 = 0xb2; + chip_erase_delay = 4000; + + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 x x x x x", + "x x x x x x x x x x x x x x x x"; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 0; + + pp_controlstack = + 0xC4, 0xE4, 0xC4, 0xE4, 0xCC, 0xEC, 0xCC, 0xEC, + 0xD4, 0xF4, 0xD4, 0xF4, 0xDC, 0xFC, 0xDC, 0xFC, + 0xC8, 0xE8, 0xD8, 0xF8, 0x4C, 0x6C, 0x5C, 0x7C, + 0xEC, 0xBC, 0x00, 0x06, 0x00, 0x00, 0x00, 0x00; + hventerstabdelay = 100; + progmodedelay = 0; + latchcycles = 5; + togglevtg = 1; + poweroffdelay = 15; + resetdelayms = 2; + resetdelayus = 0; + hvleavestabdelay = 15; + chiperasepulsewidth = 0; + chiperasepolltimeout = 10; + programfusepulsewidth = 0; + programfusepolltimeout = 5; + programlockpulsewidth = 0; + programlockpolltimeout = 5; + + ocdrev = 1; + + memory "eeprom" + paged = no; + size = 256; + page_size = 4; + num_pages = 64; + min_write_delay = 4000; + max_write_delay = 4000; + readback_p1 = 0xff; + readback_p2 = 0xff; + + read = " 1 0 1 0 0 0 0 0 x x x x x x x x", + "a7 a6 a5 a4 a3 a2 a1 a0 o o o o o o o o"; + + write = " 1 1 0 0 0 0 0 0 x x x x x x x x", + "a7 a6 a5 a4 a3 a2 a1 a0 i i i i i i i i"; + + loadpage_lo = " 1 1 0 0 0 0 0 1", + " 0 0 0 0 0 0 0 0", + " 0 0 0 0 0 0 a1 a0", + " i i i i i i i i"; + + writepage = " 1 1 0 0 0 0 1 0", + " 0 0 x x x x x x", + " a7 a6 a5 a4 a3 a2 0 0", + " x x x x x x x x"; + + mode = 0x41; + delay = 10; + blocksize = 4; + readsize = 256; + ; + + memory "flash" + paged = yes; + size = 4096; + page_size = 64; + num_pages = 64; + min_write_delay = 4500; + max_write_delay = 4500; + readback_p1 = 0xff; + readback_p2 = 0xff; + + read_lo = " 0 0 1 0 0 0 0 0", + " x x x x x a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + " x x x x x a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " x x x x x x x x", + " x x x a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " x x x x x x x x", + " x x x a4 a3 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + " x x x x x a10 a9 a8", + " a7 a6 a5 x x x x x", + " x x x x x x x x"; + + mode = 0x41; + delay = 6; + blocksize = 64; + readsize = 256; + ; + + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 x x x x x x x x", + "0 0 0 0 0 0 a1 a0 o o o o o o o o"; + ; + + memory "lock" + size = 1; + read = "0 1 0 1 1 0 0 0 x x x x x x x x", + "x x x x x x x x x x x x x x o o"; + + write = "1 0 1 0 1 1 0 0 1 1 1 1 1 1 i i", + "x x x x x x x x x x x x x x x x"; + min_write_delay = 4500; + max_write_delay = 4500; + ; + + memory "lfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 4500; + max_write_delay = 4500; + ; + + memory "hfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 1 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 4500; + max_write_delay = 4500; + ; + + memory "efuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 1 0 0", + "x x x x x x x x x x x x x x x i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 4500; + max_write_delay = 4500; + ; + + memory "calibration" + size = 1; + read = "0 0 1 1 1 0 0 0 x x x x x x x x", + "0 0 0 0 0 0 0 0 o o o o o o o o"; + ; + +; + + +#------------------------------------------------------------ +# ATtiny861 +#------------------------------------------------------------ +# Close to ATtiny461 + +part + id = "t861"; + desc = "ATtiny861"; + has_debugwire = yes; + flash_instr = 0xB4, 0x00, 0x10; + eeprom_instr = 0xBB, 0xFF, 0xBB, 0xEE, 0xBB, 0xCC, 0xB2, 0x0D, + 0xBC, 0x00, 0xB4, 0x00, 0xBA, 0x0D, 0xBB, 0xBC, + 0x99, 0xE1, 0xBB, 0xAC; +# stk500_devcode = 0x21; +# avr910_devcode = 0x5e; + signature = 0x1e 0x93 0x0d; + pagel = 0xb3; + bs2 = 0xb2; + chip_erase_delay = 4000; + + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 x x x x x", + "x x x x x x x x x x x x x x x x"; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 0; + + pp_controlstack = + 0xC4, 0xE4, 0xC4, 0xE4, 0xCC, 0xEC, 0xCC, 0xEC, + 0xD4, 0xF4, 0xD4, 0xF4, 0xDC, 0xFC, 0xDC, 0xFC, + 0xC8, 0xE8, 0xD8, 0xF8, 0x4C, 0x6C, 0x5C, 0x7C, + 0xEC, 0xBC, 0x00, 0x06, 0x00, 0x00, 0x00, 0x00; + hventerstabdelay = 100; + progmodedelay = 0; + latchcycles = 5; + togglevtg = 1; + poweroffdelay = 15; + resetdelayms = 2; + resetdelayus = 0; + hvleavestabdelay = 15; + chiperasepulsewidth = 0; + chiperasepolltimeout = 10; + programfusepulsewidth = 0; + programfusepolltimeout = 5; + programlockpulsewidth = 0; + programlockpolltimeout = 5; + + ocdrev = 1; + + memory "eeprom" + paged = no; + size = 512; + num_pages = 128; + page_size = 4; + min_write_delay = 4000; + max_write_delay = 4000; + readback_p1 = 0xff; + readback_p2 = 0xff; + + read = " 1 0 1 0 0 0 0 0 x x x x x x x a8", + "a7 a6 a5 a4 a3 a2 a1 a0 o o o o o o o o"; + + write = " 1 1 0 0 0 0 0 0 x x x x x x x a8", + "a7 a6 a5 a4 a3 a2 a1 a0 i i i i i i i i"; + + loadpage_lo = " 1 1 0 0 0 0 0 1", + " 0 0 0 0 0 0 0 0", + " 0 0 0 0 0 0 a1 a0", + " i i i i i i i i"; + + writepage = " 1 1 0 0 0 0 1 0", + " 0 0 x x x x x a8", + " a7 a6 a5 a4 a3 a2 0 0", + " x x x x x x x x"; + + mode = 0x41; + delay = 10; + blocksize = 4; + readsize = 256; + ; + + memory "flash" + paged = yes; + size = 8192; + page_size = 64; + num_pages = 128; + min_write_delay = 4500; + max_write_delay = 4500; + readback_p1 = 0xff; + readback_p2 = 0xff; + + read_lo = " 0 0 1 0 0 0 0 0", + " x x x x a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + " x x x x a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " x x x x x x x x", + " x x x a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " x x x x x x x x", + " x x x a4 a3 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + " x x x x a11 a10 a9 a8", + " a7 a6 a5 x x x x x", + " x x x x x x x x"; + + mode = 0x41; + delay = 6; + blocksize = 64; + readsize = 256; + ; + + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 x x x x x x x x", + "0 0 0 0 0 0 a1 a0 o o o o o o o o"; + ; + + memory "lock" + size = 1; + read = "0 1 0 1 1 0 0 0 x x x x x x x x", + "x x x x x x x x x x x x x x o o"; + + write = "1 0 1 0 1 1 0 0 1 1 1 1 1 1 i i", + "x x x x x x x x x x x x x x x x"; + min_write_delay = 4500; + max_write_delay = 4500; + ; + + memory "lfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 4500; + max_write_delay = 4500; + ; + + memory "hfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 1 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 4500; + max_write_delay = 4500; + ; + + memory "efuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 1 0 0", + "x x x x x x x x x x x x x x x i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 4500; + max_write_delay = 4500; + ; + + memory "calibration" + size = 1; + read = "0 0 1 1 1 0 0 0 x x x x x x x x", + "0 0 0 0 0 0 0 0 o o o o o o o o"; + ; + +; + + +#------------------------------------------------------------ +# ATtiny28 +#------------------------------------------------------------ + +# This is an HVPP-only device. + +part + id = "t28"; + desc = "ATtiny28"; + stk500_devcode = 0x22; + avr910_devcode = 0x5c; + signature = 0x1e 0x91 0x07; + + pp_controlstack = + 0x0E, 0x1E, 0x0F, 0x1F, 0x2E, 0x3E, 0x2F, 0x3F, + 0x4E, 0x5E, 0x4F, 0x5F, 0x6E, 0x7E, 0x6F, 0x7F, + 0x66, 0x76, 0x67, 0x77, 0x6A, 0x7A, 0x6B, 0x7B, + 0xBE, 0xFD, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00; + hventerstabdelay = 100; + progmodedelay = 0; + latchcycles = 0; + togglevtg = 0; + poweroffdelay = 0; + resetdelayms = 0; + resetdelayus = 0; + hvleavestabdelay = 15; + resetdelay = 15; + chiperasepulsewidth = 0; + chiperasepolltimeout = 10; + programfusepulsewidth = 0; + programfusepolltimeout = 5; + programlockpulsewidth = 0; + programlockpolltimeout = 5; + + memory "flash" + size = 2048; + page_size = 2; + readsize = 256; + delay = 5; + ; + + memory "signature" + size = 3; + ; + + memory "lock" + size = 1; + ; + + memory "calibration" + size = 1; + ; + + memory "fuse" + size = 1; + ; +; + + + +#------------------------------------------------------------ +# ATmega48 +#------------------------------------------------------------ + +part + id = "m48"; + desc = "ATmega48"; + has_debugwire = yes; + flash_instr = 0xB6, 0x01, 0x11; + eeprom_instr = 0xBD, 0xF2, 0xBD, 0xE1, 0xBB, 0xCF, 0xB4, 0x00, + 0xBE, 0x01, 0xB6, 0x01, 0xBC, 0x00, 0xBB, 0xBF, + 0x99, 0xF9, 0xBB, 0xAF; + stk500_devcode = 0x59; +# avr910_devcode = 0x; + signature = 0x1e 0x92 0x05; + pagel = 0xd7; + bs2 = 0xc2; + chip_erase_delay = 45000; + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 x x x x x", + "x x x x x x x x x x x x x x x x"; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 1; + + pp_controlstack = + 0x0E, 0x1E, 0x0F, 0x1F, 0x2E, 0x3E, 0x2F, 0x3F, + 0x4E, 0x5E, 0x4F, 0x5F, 0x6E, 0x7E, 0x6F, 0x7F, + 0x66, 0x76, 0x67, 0x77, 0x6A, 0x7A, 0x6B, 0x7B, + 0xBE, 0xFD, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00; + hventerstabdelay = 100; + progmodedelay = 0; + latchcycles = 5; + togglevtg = 1; + poweroffdelay = 15; + resetdelayms = 1; + resetdelayus = 0; + hvleavestabdelay = 15; + resetdelay = 15; + chiperasepulsewidth = 0; + chiperasepolltimeout = 10; + programfusepulsewidth = 0; + programfusepolltimeout = 5; + programlockpulsewidth = 0; + programlockpolltimeout = 5; + + ocdrev = 1; + + memory "eeprom" + paged = no; + page_size = 4; + size = 256; + min_write_delay = 3600; + max_write_delay = 3600; + readback_p1 = 0xff; + readback_p2 = 0xff; + read = " 1 0 1 0 0 0 0 0", + " 0 0 0 x x x x x", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + write = " 1 1 0 0 0 0 0 0", + " 0 0 0 x x x x x", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_lo = " 1 1 0 0 0 0 0 1", + " 0 0 0 0 0 0 0 0", + " 0 0 0 0 0 0 a1 a0", + " i i i i i i i i"; + + writepage = " 1 1 0 0 0 0 1 0", + " 0 0 x x x x x x", + " a7 a6 a5 a4 a3 a2 0 0", + " x x x x x x x x"; + + mode = 0x41; + delay = 20; + blocksize = 4; + readsize = 256; + ; + memory "flash" + paged = yes; + size = 4096; + page_size = 64; + num_pages = 64; + min_write_delay = 4500; + max_write_delay = 4500; + readback_p1 = 0x00; + readback_p2 = 0x00; + read_lo = " 0 0 1 0 0 0 0 0", + " 0 0 0 0 0 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + " 0 0 0 0 0 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " 0 0 0 x x x x x", + " x x x a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " 0 0 0 x x x x x", + " x x x a4 a3 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + " 0 0 0 0 0 a10 a9 a8", + " a7 a6 a5 x x x x x", + " x x x x x x x x"; + + mode = 0x41; + delay = 6; + blocksize = 64; + readsize = 256; + ; + + memory "lfuse" + size = 1; + min_write_delay = 4500; + max_write_delay = 4500; + read = "0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 0 0 0", + "x x x x x x x x i i i i i i i i"; + ; + + memory "hfuse" + size = 1; + min_write_delay = 4500; + max_write_delay = 4500; + read = "0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 1 0 0 0", + "x x x x x x x x i i i i i i i i"; + ; + + memory "efuse" + size = 1; + min_write_delay = 4500; + max_write_delay = 4500; + read = "0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 1 0 0", + "x x x x x x x x x x x x x x x i"; + ; + + memory "lock" + size = 1; + min_write_delay = 4500; + max_write_delay = 4500; + read = "0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x x x o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 1 1 x x x x x", + "x x x x x x x x 1 1 i i i i i i"; + ; + + memory "calibration" + size = 1; + read = "0 0 1 1 1 0 0 0 0 0 0 x x x x x", + "0 0 0 0 0 0 0 0 o o o o o o o o"; + ; + + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 0 0 0 x x x x x", + "x x x x x x a1 a0 o o o o o o o o"; + ; + ; + +#------------------------------------------------------------ +# ATmega48P +#------------------------------------------------------------ + +part parent "m48" + id = "m48p"; + desc = "ATmega48P"; + signature = 0x1e 0x92 0x0a; + + ocdrev = 1; + ; + +#------------------------------------------------------------ +# ATmega48PB +#------------------------------------------------------------ + +part parent "m48" + id = "m48pb"; + desc = "ATmega48PB"; + signature = 0x1e 0x92 0x10; + + ocdrev = 1; + ; + +#------------------------------------------------------------ +# ATmega88 +#------------------------------------------------------------ + +part + id = "m88"; + desc = "ATmega88"; + has_debugwire = yes; + flash_instr = 0xB6, 0x01, 0x11; + eeprom_instr = 0xBD, 0xF2, 0xBD, 0xE1, 0xBB, 0xCF, 0xB4, 0x00, + 0xBE, 0x01, 0xB6, 0x01, 0xBC, 0x00, 0xBB, 0xBF, + 0x99, 0xF9, 0xBB, 0xAF; + stk500_devcode = 0x73; +# avr910_devcode = 0x; + signature = 0x1e 0x93 0x0a; + pagel = 0xd7; + bs2 = 0xc2; + chip_erase_delay = 9000; + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 x x x x x", + "x x x x x x x x x x x x x x x x"; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 1; + + pp_controlstack = + 0x0E, 0x1E, 0x0F, 0x1F, 0x2E, 0x3E, 0x2F, 0x3F, + 0x4E, 0x5E, 0x4F, 0x5F, 0x6E, 0x7E, 0x6F, 0x7F, + 0x66, 0x76, 0x67, 0x77, 0x6A, 0x7A, 0x6B, 0x7B, + 0xBE, 0xFD, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00; + hventerstabdelay = 100; + progmodedelay = 0; + latchcycles = 5; + togglevtg = 1; + poweroffdelay = 15; + resetdelayms = 1; + resetdelayus = 0; + hvleavestabdelay = 15; + resetdelay = 15; + chiperasepulsewidth = 0; + chiperasepolltimeout = 10; + programfusepulsewidth = 0; + programfusepolltimeout = 5; + programlockpulsewidth = 0; + programlockpolltimeout = 5; + + ocdrev = 1; + + memory "eeprom" + paged = no; + page_size = 4; + size = 512; + min_write_delay = 3600; + max_write_delay = 3600; + readback_p1 = 0xff; + readback_p2 = 0xff; + read = " 1 0 1 0 0 0 0 0", + " 0 0 0 x x x x a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + write = " 1 1 0 0 0 0 0 0", + " 0 0 0 x x x x a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_lo = " 1 1 0 0 0 0 0 1", + " 0 0 0 0 0 0 0 0", + " 0 0 0 0 0 0 a1 a0", + " i i i i i i i i"; + + writepage = " 1 1 0 0 0 0 1 0", + " 0 0 x x x x x a8", + " a7 a6 a5 a4 a3 a2 0 0", + " x x x x x x x x"; + + mode = 0x41; + delay = 20; + blocksize = 4; + readsize = 256; + ; + memory "flash" + paged = yes; + size = 8192; + page_size = 64; + num_pages = 128; + min_write_delay = 4500; + max_write_delay = 4500; + readback_p1 = 0xff; + readback_p2 = 0xff; + read_lo = " 0 0 1 0 0 0 0 0", + " 0 0 0 0 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + " 0 0 0 0 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " 0 0 0 x x x x x", + " x x x a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " 0 0 0 x x x x x", + " x x x a4 a3 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + " 0 0 0 0 a11 a10 a9 a8", + " a7 a6 a5 x x x x x", + " x x x x x x x x"; + + mode = 0x41; + delay = 6; + blocksize = 64; + readsize = 256; + ; + + memory "lfuse" + size = 1; + min_write_delay = 4500; + max_write_delay = 4500; + read = "0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 0 0 0", + "x x x x x x x x i i i i i i i i"; + ; + + memory "hfuse" + size = 1; + min_write_delay = 4500; + max_write_delay = 4500; + read = "0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 1 0 0 0", + "x x x x x x x x i i i i i i i i"; + ; + + memory "efuse" + size = 1; + min_write_delay = 4500; + max_write_delay = 4500; + read = "0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 1 0 0", + "x x x x x x x x x x x x x i i i"; + ; + + memory "lock" + size = 1; + min_write_delay = 4500; + max_write_delay = 4500; + read = "0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x x x o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 1 1 x x x x x", + "x x x x x x x x 1 1 i i i i i i"; + ; + + memory "calibration" + size = 1; + read = "0 0 1 1 1 0 0 0 0 0 0 x x x x x", + "0 0 0 0 0 0 0 0 o o o o o o o o"; + ; + + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 0 0 0 x x x x x", + "x x x x x x a1 a0 o o o o o o o o"; + ; + ; + +#------------------------------------------------------------ +# ATmega88P +#------------------------------------------------------------ + +part parent "m88" + id = "m88p"; + desc = "ATmega88P"; + signature = 0x1e 0x93 0x0f; + + ocdrev = 1; + ; + +#------------------------------------------------------------ +# ATmega88PB +#------------------------------------------------------------ + +part parent "m88" + id = "m88pb"; + desc = "ATmega88PB"; + signature = 0x1e 0x93 0x16; + + ocdrev = 1; + ; + +#------------------------------------------------------------ +# ATmega168 +#------------------------------------------------------------ + +part + id = "m168"; + desc = "ATmega168"; + has_debugwire = yes; + flash_instr = 0xB6, 0x01, 0x11; + eeprom_instr = 0xBD, 0xF2, 0xBD, 0xE1, 0xBB, 0xCF, 0xB4, 0x00, + 0xBE, 0x01, 0xB6, 0x01, 0xBC, 0x00, 0xBB, 0xBF, + 0x99, 0xF9, 0xBB, 0xAF; + stk500_devcode = 0x86; + # avr910_devcode = 0x; + signature = 0x1e 0x94 0x06; + pagel = 0xd7; + bs2 = 0xc2; + chip_erase_delay = 9000; + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 x x x x x", + "x x x x x x x x x x x x x x x x"; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 1; + + pp_controlstack = + 0x0E, 0x1E, 0x0F, 0x1F, 0x2E, 0x3E, 0x2F, 0x3F, + 0x4E, 0x5E, 0x4F, 0x5F, 0x6E, 0x7E, 0x6F, 0x7F, + 0x66, 0x76, 0x67, 0x77, 0x6A, 0x7A, 0x6B, 0x7B, + 0xBE, 0xFD, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00; + hventerstabdelay = 100; + progmodedelay = 0; + latchcycles = 5; + togglevtg = 1; + poweroffdelay = 15; + resetdelayms = 1; + resetdelayus = 0; + hvleavestabdelay = 15; + resetdelay = 15; + chiperasepulsewidth = 0; + chiperasepolltimeout = 10; + programfusepulsewidth = 0; + programfusepolltimeout = 5; + programlockpulsewidth = 0; + programlockpolltimeout = 5; + + ocdrev = 1; + + memory "eeprom" + paged = no; + page_size = 4; + size = 512; + min_write_delay = 3600; + max_write_delay = 3600; + readback_p1 = 0xff; + readback_p2 = 0xff; + read = " 1 0 1 0 0 0 0 0", + " 0 0 0 x x x x a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + write = " 1 1 0 0 0 0 0 0", + " 0 0 0 x x x x a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_lo = " 1 1 0 0 0 0 0 1", + " 0 0 0 0 0 0 0 0", + " 0 0 0 0 0 0 a1 a0", + " i i i i i i i i"; + + writepage = " 1 1 0 0 0 0 1 0", + " 0 0 x x x x x a8", + " a7 a6 a5 a4 a3 a2 0 0", + " x x x x x x x x"; + + mode = 0x41; + delay = 20; + blocksize = 4; + readsize = 256; + ; + + memory "flash" + paged = yes; + size = 16384; + page_size = 128; + num_pages = 128; + min_write_delay = 4500; + max_write_delay = 4500; + readback_p1 = 0xff; + readback_p2 = 0xff; + read_lo = " 0 0 1 0 0 0 0 0", + " 0 0 0 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + " 0 0 0 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " 0 0 0 x x x x x", + " x x a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " 0 0 0 x x x x x", + " x x a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + " 0 0 0 a12 a11 a10 a9 a8", + " a7 a6 x x x x x x", + " x x x x x x x x"; + + mode = 0x41; + delay = 6; + blocksize = 128; + readsize = 256; + + ; + + memory "lfuse" + size = 1; + min_write_delay = 4500; + max_write_delay = 4500; + read = "0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 0 0 0", + "x x x x x x x x i i i i i i i i"; + ; + + memory "hfuse" + size = 1; + min_write_delay = 4500; + max_write_delay = 4500; + read = "0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 1 0 0 0", + "x x x x x x x x i i i i i i i i"; + ; + + memory "efuse" + size = 1; + min_write_delay = 4500; + max_write_delay = 4500; + read = "0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 1 0 0", + "x x x x x x x x x x x x x i i i"; + ; + + memory "lock" + size = 1; + min_write_delay = 4500; + max_write_delay = 4500; + read = "0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x x x o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 1 1 x x x x x", + "x x x x x x x x 1 1 i i i i i i"; + ; + + memory "calibration" + size = 1; + read = "0 0 1 1 1 0 0 0 0 0 0 x x x x x", + "0 0 0 0 0 0 0 0 o o o o o o o o"; + ; + + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 0 0 0 x x x x x", + "x x x x x x a1 a0 o o o o o o o o"; + ; +; + +#------------------------------------------------------------ +# ATmega168P +#------------------------------------------------------------ + +part parent "m168" + id = "m168p"; + desc = "ATmega168P"; + signature = 0x1e 0x94 0x0b; + + ocdrev = 1; +; + +#------------------------------------------------------------ +# ATmega168PB +#------------------------------------------------------------ + +part parent "m168" + id = "m168pb"; + desc = "ATmega168PB"; + signature = 0x1e 0x94 0x15; + + ocdrev = 1; +; + +#------------------------------------------------------------ +# ATtiny88 +#------------------------------------------------------------ + +part + id = "t88"; + desc = "ATtiny88"; + has_debugwire = yes; + flash_instr = 0xB6, 0x01, 0x11; + eeprom_instr = 0xBD, 0xF2, 0xBD, 0xE1, 0xBB, 0xCF, 0xB4, 0x00, + 0xBE, 0x01, 0xB6, 0x01, 0xBC, 0x00, 0xBB, 0xBF, + 0x99, 0xF9, 0xBB, 0xAF; + stk500_devcode = 0x73; +# avr910_devcode = 0x; + signature = 0x1e 0x93 0x11; + pagel = 0xd7; + bs2 = 0xc2; + chip_erase_delay = 9000; + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 x x x x x", + "x x x x x x x x x x x x x x x x"; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 1; + + pp_controlstack = + 0x0E, 0x1E, 0x0F, 0x1F, 0x2E, 0x3E, 0x2F, 0x3F, + 0x4E, 0x5E, 0x4F, 0x5F, 0x6E, 0x7E, 0x6F, 0x7F, + 0x66, 0x76, 0x67, 0x77, 0x6A, 0x7A, 0x6B, 0x7B, + 0xBE, 0xFD, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00; + hventerstabdelay = 100; + progmodedelay = 0; + latchcycles = 5; + togglevtg = 1; + poweroffdelay = 15; + resetdelayms = 1; + resetdelayus = 0; + hvleavestabdelay = 15; + resetdelay = 15; + chiperasepulsewidth = 0; + chiperasepolltimeout = 10; + programfusepulsewidth = 0; + programfusepolltimeout = 5; + programlockpulsewidth = 0; + programlockpolltimeout = 5; + + ocdrev = 1; + + memory "eeprom" + paged = no; + page_size = 4; + size = 64; + min_write_delay = 3600; + max_write_delay = 3600; + readback_p1 = 0xff; + readback_p2 = 0xff; + read = " 1 0 1 0 0 0 0 0", + " 0 0 0 x x x x x", + " x a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + write = " 1 1 0 0 0 0 0 0", + " 0 0 0 x x x x x", + " x a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_lo = " 1 1 0 0 0 0 0 1", + " 0 0 0 0 0 0 0 0", + " 0 0 0 0 0 0 a1 a0", + " i i i i i i i i"; + + writepage = " 1 1 0 0 0 0 1 0", + " 0 0 x x x x x x", + " x a6 a5 a4 a3 a2 0 0", + " x x x x x x x x"; + + mode = 0x41; + delay = 20; + blocksize = 4; + readsize = 64; + ; + memory "flash" + paged = yes; + size = 8192; + page_size = 64; + num_pages = 128; + min_write_delay = 4500; + max_write_delay = 4500; + readback_p1 = 0xff; + readback_p2 = 0xff; + read_lo = " 0 0 1 0 0 0 0 0", + " 0 0 0 0 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + " 0 0 0 0 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " 0 0 0 x x x x x", + " x x x a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " 0 0 0 x x x x x", + " x x x a4 a3 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + " 0 0 0 0 a11 a10 a9 a8", + " a7 a6 a5 x x x x x", + " x x x x x x x x"; + + mode = 0x41; + delay = 6; + blocksize = 64; + readsize = 256; + ; + + memory "lfuse" + size = 1; + min_write_delay = 4500; + max_write_delay = 4500; + read = "0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 0 0 0", + "x x x x x x x x i i i i i i i i"; + ; + + memory "hfuse" + size = 1; + min_write_delay = 4500; + max_write_delay = 4500; + read = "0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 1 0 0 0", + "x x x x x x x x i i i i i i i i"; + ; + + memory "efuse" + size = 1; + min_write_delay = 4500; + max_write_delay = 4500; + read = "0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 1 0 0", + "x x x x x x x x x x x x x x x i"; + ; + + memory "lock" + size = 1; + min_write_delay = 4500; + max_write_delay = 4500; + read = "0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x x x o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 1 1 x x x x x", + "x x x x x x x x 1 1 i i i i i i"; + ; + + memory "calibration" + size = 1; + read = "0 0 1 1 1 0 0 0 0 0 0 x x x x x", + "0 0 0 0 0 0 0 0 o o o o o o o o"; + ; + + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 0 0 0 x x x x x", + "x x x x x x a1 a0 o o o o o o o o"; + ; + ; + +#------------------------------------------------------------ +# ATmega328 +#------------------------------------------------------------ + +part + id = "m328"; + desc = "ATmega328"; + has_debugwire = yes; + flash_instr = 0xB6, 0x01, 0x11; + eeprom_instr = 0xBD, 0xF2, 0xBD, 0xE1, 0xBB, 0xCF, 0xB4, 0x00, + 0xBE, 0x01, 0xB6, 0x01, 0xBC, 0x00, 0xBB, 0xBF, + 0x99, 0xF9, 0xBB, 0xAF; + stk500_devcode = 0x86; + # avr910_devcode = 0x; + signature = 0x1e 0x95 0x14; + pagel = 0xd7; + bs2 = 0xc2; + chip_erase_delay = 9000; + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 x x x x x", + "x x x x x x x x x x x x x x x x"; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 1; + + pp_controlstack = + 0x0E, 0x1E, 0x0F, 0x1F, 0x2E, 0x3E, 0x2F, 0x3F, + 0x4E, 0x5E, 0x4F, 0x5F, 0x6E, 0x7E, 0x6F, 0x7F, + 0x66, 0x76, 0x67, 0x77, 0x6A, 0x7A, 0x6B, 0x7B, + 0xBE, 0xFD, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00; + hventerstabdelay = 100; + progmodedelay = 0; + latchcycles = 5; + togglevtg = 1; + poweroffdelay = 15; + resetdelayms = 1; + resetdelayus = 0; + hvleavestabdelay = 15; + resetdelay = 15; + chiperasepulsewidth = 0; + chiperasepolltimeout = 10; + programfusepulsewidth = 0; + programfusepolltimeout = 5; + programlockpulsewidth = 0; + programlockpolltimeout = 5; + + ocdrev = 1; + + memory "eeprom" + paged = no; + page_size = 4; + size = 1024; + min_write_delay = 3600; + max_write_delay = 3600; + readback_p1 = 0xff; + readback_p2 = 0xff; + read = " 1 0 1 0 0 0 0 0", + " 0 0 0 x x x a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + write = " 1 1 0 0 0 0 0 0", + " 0 0 0 x x x a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_lo = " 1 1 0 0 0 0 0 1", + " 0 0 0 0 0 0 0 0", + " 0 0 0 0 0 0 a1 a0", + " i i i i i i i i"; + + writepage = " 1 1 0 0 0 0 1 0", + " 0 0 x x x x a9 a8", + " a7 a6 a5 a4 a3 a2 0 0", + " x x x x x x x x"; + + mode = 0x41; + delay = 20; + blocksize = 4; + readsize = 256; + ; + + memory "flash" + paged = yes; + size = 32768; + page_size = 128; + num_pages = 256; + min_write_delay = 4500; + max_write_delay = 4500; + readback_p1 = 0xff; + readback_p2 = 0xff; + read_lo = " 0 0 1 0 0 0 0 0", + " 0 0 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + " 0 0 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " 0 0 0 x x x x x", + " x x a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " 0 0 0 x x x x x", + " x x a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + " 0 0 a13 a12 a11 a10 a9 a8", + " a7 a6 x x x x x x", + " x x x x x x x x"; + + mode = 0x41; + delay = 6; + blocksize = 128; + readsize = 256; + + ; + + memory "lfuse" + size = 1; + min_write_delay = 4500; + max_write_delay = 4500; + read = "0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 0 0 0", + "x x x x x x x x i i i i i i i i"; + ; + + memory "hfuse" + size = 1; + min_write_delay = 4500; + max_write_delay = 4500; + read = "0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 1 0 0 0", + "x x x x x x x x i i i i i i i i"; + ; + + memory "efuse" + size = 1; + min_write_delay = 4500; + max_write_delay = 4500; + read = "0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 1 0 0", + "x x x x x x x x x x x x x i i i"; + ; + + memory "lock" + size = 1; + min_write_delay = 4500; + max_write_delay = 4500; + read = "0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x x x o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 1 1 x x x x x", + "x x x x x x x x 1 1 i i i i i i"; + ; + + memory "calibration" + size = 1; + read = "0 0 1 1 1 0 0 0 0 0 0 x x x x x", + "0 0 0 0 0 0 0 0 o o o o o o o o"; + ; + + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 0 0 0 x x x x x", + "x x x x x x a1 a0 o o o o o o o o"; + ; +; + +part parent "m328" + id = "m328p"; + desc = "ATmega328P"; + signature = 0x1e 0x95 0x0F; + + ocdrev = 1; +; + +part parent "m328" + id = "m328pb"; + desc = "ATmega328PB"; + signature = 0x1e 0x95 0x16; + + ocdrev = 1; +; + +#------------------------------------------------------------ +# ATmega32m1 +#------------------------------------------------------------ + +part parent "m328" + id = "m32m1"; + desc = "ATmega32M1"; + # stk500_devcode = 0x; + # avr910_devcode = 0x; + signature = 0x1e 0x95 0x84; + bs2 = 0xe2; + + memory "efuse" + read = "0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 1 0 0", + "x x x x x x x x x x i i i i i i"; + ; +; + +#------------------------------------------------------------ +# ATmega64m1 +#------------------------------------------------------------ + +part parent "m328" + id = "m64m1"; + desc = "ATmega64M1"; + # stk500_devcode = 0x; + # avr910_devcode = 0x; + signature = 0x1e 0x96 0x84; + bs2 = 0xe2; + + memory "efuse" + size = 1; + min_write_delay = 4500; + max_write_delay = 4500; + read = "0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 1 0 0", + "x x x x x x x x x x i i i i i i"; + ; +; + +#------------------------------------------------------------ +# ATtiny2313 +#------------------------------------------------------------ + +part + id = "t2313"; + desc = "ATtiny2313"; + has_debugwire = yes; + flash_instr = 0xB2, 0x0F, 0x1F; + eeprom_instr = 0xBB, 0xFE, 0xBB, 0xEE, 0xBB, 0xCC, 0xB2, 0x0D, + 0xBA, 0x0F, 0xB2, 0x0F, 0xBA, 0x0D, 0xBB, 0xBC, + 0x99, 0xE1, 0xBB, 0xAC; + stk500_devcode = 0x23; +## Use the ATtiny26 devcode: + avr910_devcode = 0x5e; + signature = 0x1e 0x91 0x0a; + pagel = 0xD4; + bs2 = 0xD6; + reset = io; + chip_erase_delay = 9000; + + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 x x x x x", + "x x x x x x x x x x x x x x x x"; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 1; + + pp_controlstack = + 0x0E, 0x1E, 0x0E, 0x1E, 0x2E, 0x3E, 0x2E, 0x3E, + 0x4E, 0x5E, 0x4E, 0x5E, 0x6E, 0x7E, 0x6E, 0x7E, + 0x26, 0x36, 0x66, 0x76, 0x2A, 0x3A, 0x6A, 0x7A, + 0x2E, 0xFD, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00; + hventerstabdelay = 100; + progmodedelay = 0; + latchcycles = 5; + togglevtg = 1; + poweroffdelay = 15; + resetdelayms = 1; + resetdelayus = 0; + hvleavestabdelay = 15; + chiperasepulsewidth = 0; + chiperasepolltimeout = 10; + programfusepulsewidth = 0; + programfusepolltimeout = 5; + programlockpulsewidth = 0; + programlockpolltimeout = 5; + + ocdrev = 0; + + memory "eeprom" + size = 128; + paged = no; + page_size = 4; + min_write_delay = 4000; + max_write_delay = 4500; + readback_p1 = 0xff; + readback_p2 = 0xff; + read = "1 0 1 0 0 0 0 0 0 0 0 x x x x x", + "x a6 a5 a4 a3 a2 a1 a0 o o o o o o o o"; + + write = "1 1 0 0 0 0 0 0 0 0 0 x x x x x", + "x a6 a5 a4 a3 a2 a1 a0 i i i i i i i i"; + + loadpage_lo = " 1 1 0 0 0 0 0 1", + " 0 0 0 0 0 0 0 0", + " 0 0 0 0 0 0 a1 a0", + " i i i i i i i i"; + + writepage = " 1 1 0 0 0 0 1 0", + " 0 0 x x x x x x", + " x a6 a5 a4 a3 a2 0 0", + " x x x x x x x x"; + + mode = 0x41; + delay = 6; + blocksize = 4; + readsize = 256; + ; + memory "flash" + paged = yes; + size = 2048; + page_size = 32; + num_pages = 64; + min_write_delay = 4500; + max_write_delay = 4500; + readback_p1 = 0xff; + readback_p2 = 0xff; + read_lo = " 0 0 1 0 0 0 0 0", + " 0 0 0 0 0 0 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + " 0 0 0 0 0 0 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + +# The information in the data sheet of April/2004 is wrong, this works: + loadpage_lo = " 0 1 0 0 0 0 0 0", + " 0 0 0 x x x x x", + " x x x x a3 a2 a1 a0", + " i i i i i i i i"; + +# The information in the data sheet of April/2004 is wrong, this works: + loadpage_hi = " 0 1 0 0 1 0 0 0", + " 0 0 0 x x x x x", + " x x x x a3 a2 a1 a0", + " i i i i i i i i"; + +# The information in the data sheet of April/2004 is wrong, this works: + writepage = " 0 1 0 0 1 1 0 0", + " 0 0 0 0 0 0 a9 a8", + " a7 a6 a5 a4 x x x x", + " x x x x x x x x"; + + mode = 0x41; + delay = 6; + blocksize = 32; + readsize = 256; + ; +# ATtiny2313 has Signature Bytes: 0x1E 0x91 0x0A. + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 0 0 0 x x x x x", + "x x x x x x a1 a0 o o o o o o o o"; + ; + memory "lock" + size = 1; + write = "1 0 1 0 1 1 0 0 1 1 1 x x x x x", + "x x x x x x x x 1 1 i i i i i i"; + read = "0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x x x o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "lfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "hfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 1 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "efuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 1 0 0", + "x x x x x x x x x x x x x x x i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; +# The Tiny2313 has calibration data for both 4 MHz and 8 MHz. +# The information in the data sheet of April/2004 is wrong, this works: + + memory "calibration" + size = 2; + read = "0 0 1 1 1 0 0 0 0 0 0 x x x x x", + "0 0 0 0 0 0 0 a0 o o o o o o o o"; + ; + ; + +#------------------------------------------------------------ +# ATtiny4313 +#------------------------------------------------------------ + +part + id = "t4313"; + desc = "ATtiny4313"; + has_debugwire = yes; + flash_instr = 0xB2, 0x0F, 0x1F; + eeprom_instr = 0xBB, 0xFE, 0xBB, 0xEE, 0xBB, 0xCC, 0xB2, 0x0D, + 0xBA, 0x0F, 0xB2, 0x0F, 0xBA, 0x0D, 0xBB, 0xBC, + 0x99, 0xE1, 0xBB, 0xAC; + stk500_devcode = 0x23; +## Use the ATtiny26 devcode: + avr910_devcode = 0x5e; + signature = 0x1e 0x92 0x0d; + pagel = 0xD4; + bs2 = 0xD6; + reset = io; + chip_erase_delay = 9000; + + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 x x x x x", + "x x x x x x x x x x x x x x x x"; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 1; + + pp_controlstack = + 0x0E, 0x1E, 0x0E, 0x1E, 0x2E, 0x3E, 0x2E, 0x3E, + 0x4E, 0x5E, 0x4E, 0x5E, 0x6E, 0x7E, 0x6E, 0x7E, + 0x26, 0x36, 0x66, 0x76, 0x2A, 0x3A, 0x6A, 0x7A, + 0x2E, 0xFD, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00; + hventerstabdelay = 100; + progmodedelay = 0; + latchcycles = 5; + togglevtg = 1; + poweroffdelay = 15; + resetdelayms = 1; + resetdelayus = 0; + hvleavestabdelay = 15; + chiperasepulsewidth = 0; + chiperasepolltimeout = 10; + programfusepulsewidth = 0; + programfusepolltimeout = 5; + programlockpulsewidth = 0; + programlockpolltimeout = 5; + + ocdrev = 0; + + memory "eeprom" + size = 256; + paged = no; + page_size = 4; + min_write_delay = 4000; + max_write_delay = 4500; + readback_p1 = 0xff; + readback_p2 = 0xff; + read = "1 0 1 0 0 0 0 0 0 0 0 x x x x x", + "a7 a6 a5 a4 a3 a2 a1 a0 o o o o o o o o"; + + write = "1 1 0 0 0 0 0 0 0 0 0 x x x x x", + "a7 a6 a5 a4 a3 a2 a1 a0 i i i i i i i i"; + + loadpage_lo = " 1 1 0 0 0 0 0 1", + " 0 0 0 0 0 0 0 0", + " 0 0 0 0 0 0 a1 a0", + " i i i i i i i i"; + + writepage = " 1 1 0 0 0 0 1 0", + " 0 0 x x x x x x", + " a7 a6 a5 a4 a3 a2 0 0", + " x x x x x x x x"; + + mode = 0x41; + delay = 6; + blocksize = 4; + readsize = 256; + ; + memory "flash" + paged = yes; + size = 4096; + page_size = 64; + num_pages = 64; + min_write_delay = 4500; + max_write_delay = 4500; + readback_p1 = 0xff; + readback_p2 = 0xff; + read_lo = " 0 0 1 0 0 0 0 0", + " 0 0 0 0 0 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + " 0 0 0 0 0 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " 0 0 0 x x x x x", + " x x x a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " 0 0 0 x x x x x", + " x x x a4 a3 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + " 0 0 0 0 0 a10 a9 a8", + " a7 a6 a5 x x x x x", + " x x x x x x x x"; + + mode = 0x41; + delay = 6; + blocksize = 32; + readsize = 256; + ; +# ATtiny4313 has Signature Bytes: 0x1E 0x92 0x0D. + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 0 0 0 x x x x x", + "x x x x x x a1 a0 o o o o o o o o"; + ; + memory "lock" + size = 1; + write = "1 0 1 0 1 1 0 0 1 1 1 x x x x x", + "x x x x x x x x 1 1 i i i i i i"; + read = "0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x x x o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "lfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "hfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 1 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "efuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 1 0 0", + "x x x x x x x x x x x x x x x i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "calibration" + size = 2; + read = "0 0 1 1 1 0 0 0 0 0 0 x x x x x", + "0 0 0 0 0 0 0 a0 o o o o o o o o"; + ; + ; + +#------------------------------------------------------------ +# AT90PWM2 +#------------------------------------------------------------ + +part + id = "pwm2"; + desc = "AT90PWM2"; + has_debugwire = yes; + flash_instr = 0xB6, 0x01, 0x11; + eeprom_instr = 0xBD, 0xF2, 0xBD, 0xE1, 0xBB, 0xCF, 0xB4, 0x00, + 0xBE, 0x01, 0xB6, 0x01, 0xBC, 0x00, 0xBB, 0xBF, + 0x99, 0xF9, 0xBB, 0xAF; + stk500_devcode = 0x65; +## avr910_devcode = ?; + signature = 0x1e 0x93 0x81; + pagel = 0xD8; + bs2 = 0xE2; + reset = io; + chip_erase_delay = 9000; + + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 x x x x x", + "x x x x x x x x x x x x x x x x"; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 1; + + pp_controlstack = + 0x0E, 0x1E, 0x0F, 0x1F, 0x2E, 0x3E, 0x2F, 0x3F, + 0x4E, 0x5E, 0x4F, 0x5F, 0x6E, 0x7E, 0x6F, 0x7F, + 0x66, 0x76, 0x67, 0x77, 0x6A, 0x7A, 0x6B, 0x7B, + 0xBE, 0xFD, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00; + hventerstabdelay = 100; + progmodedelay = 0; + latchcycles = 5; + togglevtg = 1; + poweroffdelay = 15; + resetdelayms = 1; + resetdelayus = 0; + hvleavestabdelay = 15; + chiperasepulsewidth = 0; + chiperasepolltimeout = 10; + programfusepulsewidth = 0; + programfusepolltimeout = 5; + programlockpulsewidth = 0; + programlockpolltimeout = 5; + + memory "eeprom" + size = 512; + paged = no; + page_size = 4; + min_write_delay = 4000; + max_write_delay = 4500; + readback_p1 = 0xff; + readback_p2 = 0xff; + read = "1 0 1 0 0 0 0 0 0 0 0 x x x x a8", + "a7 a6 a5 a4 a3 a2 a1 a0 o o o o o o o o"; + + write = "1 1 0 0 0 0 0 0 0 0 0 x x x x a8", + "a7 a6 a5 a4 a3 a2 a1 a0 i i i i i i i i"; + + loadpage_lo = " 1 1 0 0 0 0 0 1", + " 0 0 0 0 0 0 0 0", + " 0 0 0 0 0 0 a1 a0", + " i i i i i i i i"; + + writepage = " 1 1 0 0 0 0 1 0", + " 0 0 x x x x x x", + " a7 a6 a5 a4 a3 a2 0 0", + " x x x x x x x x"; + + mode = 0x41; + delay = 6; + blocksize = 4; + readsize = 256; + ; + memory "flash" + paged = yes; + size = 8192; + page_size = 64; + num_pages = 128; + min_write_delay = 4500; + max_write_delay = 4500; + readback_p1 = 0xff; + readback_p2 = 0xff; + read_lo = " 0 0 1 0 0 0 0 0", + " 0 0 0 0 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + " 0 0 0 0 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " 0 0 0 x x x x x", + " x x x a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " 0 0 0 x x x x x", + " x x x a4 a3 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + " 0 0 0 0 a11 a10 a9 a8", + " a7 a6 a5 x x x x x", + " x x x x x x x x"; + + mode = 0x41; + delay = 6; + blocksize = 64; + readsize = 256; + ; +# AT90PWM2 has Signature Bytes: 0x1E 0x93 0x81. + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 0 0 x x x x x x", + "x x x x x x a1 a0 o o o o o o o o"; + ; + memory "lock" + size = 1; + write = "1 0 1 0 1 1 0 0 1 1 1 x x x x x", + "x x x x x x x x 1 1 i i i i i i"; + + read = "0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x x x o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "lfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "hfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 1 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "efuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 1 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "calibration" + size = 1; + read = "0 0 1 1 1 0 0 0 0 0 0 x x x x x", + "0 0 0 0 0 0 0 0 o o o o o o o o"; + ; + ; + +#------------------------------------------------------------ +# AT90PWM3 +#------------------------------------------------------------ + +# Completely identical to AT90PWM2 (including the signature!) + +part parent "pwm2" + id = "pwm3"; + desc = "AT90PWM3"; + ; + +#------------------------------------------------------------ +# AT90PWM2B +#------------------------------------------------------------ +# Same as AT90PWM2 but different signature. + +part parent "pwm2" + id = "pwm2b"; + desc = "AT90PWM2B"; + signature = 0x1e 0x93 0x83; + + ocdrev = 1; + ; + +#------------------------------------------------------------ +# AT90PWM3B +#------------------------------------------------------------ + +# Completely identical to AT90PWM2B (including the signature!) + +part parent "pwm2b" + id = "pwm3b"; + desc = "AT90PWM3B"; + + ocdrev = 1; + ; + +#------------------------------------------------------------ +# AT90PWM316 +#------------------------------------------------------------ + +# Similar to AT90PWM3B, but with 16 kiB flash, 512 B EEPROM, and 1024 B SRAM. + +part parent "pwm3b" + id = "pwm316"; + desc = "AT90PWM316"; + signature = 0x1e 0x94 0x83; + + ocdrev = 1; + + memory "flash" + paged = yes; + size = 16384; + page_size = 128; + num_pages = 128; + min_write_delay = 4500; + max_write_delay = 4500; + readback_p1 = 0xff; + readback_p2 = 0xff; + read_lo = " 0 0 1 0 0 0 0 0", + " 0 0 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + " 0 0 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " 0 0 x x x x x x", + " x x a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " 0 0 x x x x x x", + " x x a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + " 0 0 a13 a12 a11 a10 a9 a8", + " a7 a6 x x x x x x", + " x x x x x x x x"; + + mode = 0x21; + delay = 6; + blocksize = 128; + readsize = 256; + ; + ; + +#------------------------------------------------------------ +# AT90PWM216 +#------------------------------------------------------------ +# Completely identical to AT90PWM316 (including the signature!) + +part parent "pwm316" + id = "pwm216"; + desc = "AT90PWM216"; + ; + +#------------------------------------------------------------ +# ATtiny25 +#------------------------------------------------------------ + +part + id = "t25"; + desc = "ATtiny25"; + has_debugwire = yes; + flash_instr = 0xB4, 0x02, 0x12; + eeprom_instr = 0xBB, 0xFF, 0xBB, 0xEE, 0xBB, 0xCC, 0xB2, 0x0D, + 0xBC, 0x02, 0xB4, 0x02, 0xBA, 0x0D, 0xBB, 0xBC, + 0x99, 0xE1, 0xBB, 0xAC; +## no STK500 devcode in XML file, use the ATtiny45 one + stk500_devcode = 0x14; +## avr910_devcode = ?; +## Try the AT90S2313 devcode: + avr910_devcode = 0x20; + signature = 0x1e 0x91 0x08; + reset = io; + chip_erase_delay = 4500; + + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 x x x x x", + "x x x x x x x x x x x x x x x x"; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 1; + + hvsp_controlstack = + 0x4C, 0x0C, 0x1C, 0x2C, 0x3C, 0x64, 0x74, 0x66, + 0x68, 0x78, 0x68, 0x68, 0x7A, 0x6A, 0x68, 0x78, + 0x78, 0x7D, 0x6D, 0x0C, 0x80, 0x40, 0x20, 0x10, + 0x11, 0x08, 0x04, 0x02, 0x03, 0x08, 0x04, 0x00; + hventerstabdelay = 100; + hvspcmdexedelay = 0; + synchcycles = 6; + latchcycles = 1; + togglevtg = 1; + poweroffdelay = 25; + resetdelayms = 1; + resetdelayus = 0; + hvleavestabdelay = 100; + resetdelay = 25; + chiperasepolltimeout = 40; + chiperasetime = 0; + programfusepolltimeout = 25; + programlockpolltimeout = 25; + + ocdrev = 1; + + memory "eeprom" + size = 128; + paged = no; + page_size = 4; + min_write_delay = 4000; + max_write_delay = 4500; + readback_p1 = 0xff; + readback_p2 = 0xff; + read = "1 0 1 0 0 0 0 0 0 0 0 x x x x x", + "x a6 a5 a4 a3 a2 a1 a0 o o o o o o o o"; + + write = "1 1 0 0 0 0 0 0 0 0 0 x x x x x", + "x a6 a5 a4 a3 a2 a1 a0 i i i i i i i i"; + + loadpage_lo = " 1 1 0 0 0 0 0 1", + " 0 0 0 0 0 0 0 0", + " 0 0 0 0 0 0 a1 a0", + " i i i i i i i i"; + + writepage = " 1 1 0 0 0 0 1 0", + " 0 0 x x x x x x", + " x a6 a5 a4 a3 a2 0 0", + " x x x x x x x x"; + + mode = 0x41; + delay = 6; + blocksize = 4; + readsize = 256; + ; + memory "flash" + paged = yes; + size = 2048; + page_size = 32; + num_pages = 64; + min_write_delay = 4500; + max_write_delay = 4500; + readback_p1 = 0xff; + readback_p2 = 0xff; + read_lo = " 0 0 1 0 0 0 0 0", + " 0 0 0 0 0 0 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + " 0 0 0 0 0 0 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " 0 0 0 x x x x x", + " x x x x a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " 0 0 0 x x x x x", + " x x x x a3 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + " 0 0 0 0 0 0 a9 a8", + " a7 a6 a5 a4 x x x x", + " x x x x x x x x"; + + mode = 0x41; + delay = 6; + blocksize = 32; + readsize = 256; + ; +# ATtiny25 has Signature Bytes: 0x1E 0x91 0x08. + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 0 0 0 x x x x x", + "x x x x x x a1 a0 o o o o o o o o"; + ; + memory "lock" + size = 1; + write = "1 0 1 0 1 1 0 0 1 1 1 x x x x x", + "x x x x x x x x 1 1 i i i i i i"; + read = "0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0", + "0 0 0 0 0 0 0 0 o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "lfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "hfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 1 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "efuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 1 0 0", + "x x x x x x x x x x x x x x x i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "calibration" + size = 1; + read = "0 0 1 1 1 0 0 0 0 0 0 x x x x x", + "0 0 0 0 0 0 0 a0 o o o o o o o o"; + ; + ; + +#------------------------------------------------------------ +# ATtiny45 +#------------------------------------------------------------ + +part + id = "t45"; + desc = "ATtiny45"; + has_debugwire = yes; + flash_instr = 0xB4, 0x02, 0x12; + eeprom_instr = 0xBB, 0xFF, 0xBB, 0xEE, 0xBB, 0xCC, 0xB2, 0x0D, + 0xBC, 0x02, 0xB4, 0x02, 0xBA, 0x0D, 0xBB, 0xBC, + 0x99, 0xE1, 0xBB, 0xAC; + stk500_devcode = 0x14; +## avr910_devcode = ?; +## Try the AT90S2313 devcode: + avr910_devcode = 0x20; + signature = 0x1e 0x92 0x06; + reset = io; + chip_erase_delay = 4500; + + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 x x x x x", + "x x x x x x x x x x x x x x x x"; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 1; + + hvsp_controlstack = + 0x4C, 0x0C, 0x1C, 0x2C, 0x3C, 0x64, 0x74, 0x66, + 0x68, 0x78, 0x68, 0x68, 0x7A, 0x6A, 0x68, 0x78, + 0x78, 0x7D, 0x6D, 0x0C, 0x80, 0x40, 0x20, 0x10, + 0x11, 0x08, 0x04, 0x02, 0x03, 0x08, 0x04, 0x00; + hventerstabdelay = 100; + progmodedelay = 0; + hvspcmdexedelay = 0; + synchcycles = 6; + latchcycles = 1; + togglevtg = 1; + poweroffdelay = 25; + resetdelayms = 1; + resetdelayus = 0; + hvleavestabdelay = 100; + resetdelay = 25; + chiperasepolltimeout = 40; + chiperasetime = 0; + programfusepolltimeout = 25; + programlockpolltimeout = 25; + + ocdrev = 1; + + memory "eeprom" + size = 256; + page_size = 4; + min_write_delay = 4000; + max_write_delay = 4500; + readback_p1 = 0xff; + readback_p2 = 0xff; + read = "1 0 1 0 0 0 0 0 0 0 0 x x x x x", + "a7 a6 a5 a4 a3 a2 a1 a0 o o o o o o o o"; + + write = "1 1 0 0 0 0 0 0 0 0 0 x x x x x", + "a7 a6 a5 a4 a3 a2 a1 a0 i i i i i i i i"; + + loadpage_lo = " 1 1 0 0 0 0 0 1", + " 0 0 0 0 0 0 0 0", + " 0 0 0 0 0 0 a1 a0", + " i i i i i i i i"; + + writepage = " 1 1 0 0 0 0 1 0", + " 0 0 x x x x x x", + " a7 a6 a5 a4 a3 a2 0 0", + " x x x x x x x x"; + + mode = 0x41; + delay = 6; + blocksize = 4; + readsize = 256; + ; + memory "flash" + paged = yes; + size = 4096; + page_size = 64; + num_pages = 64; + min_write_delay = 4500; + max_write_delay = 4500; + readback_p1 = 0xff; + readback_p2 = 0xff; + read_lo = " 0 0 1 0 0 0 0 0", + " 0 0 0 0 0 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + " 0 0 0 0 0 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " 0 0 0 x x x x x", + " x x x a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " 0 0 0 x x x x x", + " x x x a4 a3 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + " 0 0 0 0 0 a10 a9 a8", + " a7 a6 a5 x x x x x", + " x x x x x x x x"; + + mode = 0x41; + delay = 6; + blocksize = 32; + readsize = 256; + ; +# ATtiny45 has Signature Bytes: 0x1E 0x92 0x08. (Data sheet 2586C-AVR-06/05 (doc2586.pdf) indicates otherwise!) + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 0 0 0 x x x x x", + "x x x x x x a1 a0 o o o o o o o o"; + ; + memory "lock" + size = 1; + write = "1 0 1 0 1 1 0 0 1 1 1 x x x x x", + "x x x x x x x x 1 1 i i i i i i"; + read = "0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0", + "0 0 0 0 0 0 0 0 o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "lfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "hfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 1 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "efuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 1 0 0", + "x x x x x x x x x x x x x x x i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "calibration" + size = 1; + read = "0 0 1 1 1 0 0 0 0 0 0 x x x x x", + "0 0 0 0 0 0 0 a0 o o o o o o o o"; + ; + ; + +#------------------------------------------------------------ +# ATtiny85 +#------------------------------------------------------------ + +part + id = "t85"; + desc = "ATtiny85"; + has_debugwire = yes; + flash_instr = 0xB4, 0x02, 0x12; + eeprom_instr = 0xBB, 0xFF, 0xBB, 0xEE, 0xBB, 0xCC, 0xB2, 0x0D, + 0xBC, 0x02, 0xB4, 0x02, 0xBA, 0x0D, 0xBB, 0xBC, + 0x99, 0xE1, 0xBB, 0xAC; +## no STK500 devcode in XML file, use the ATtiny45 one + stk500_devcode = 0x14; +## avr910_devcode = ?; +## Try the AT90S2313 devcode: + avr910_devcode = 0x20; + signature = 0x1e 0x93 0x0b; + reset = io; + chip_erase_delay = 400000; + + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 x x x x x", + "x x x x x x x x x x x x x x x x"; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 1; + + hvsp_controlstack = + 0x4C, 0x0C, 0x1C, 0x2C, 0x3C, 0x64, 0x74, 0x66, + 0x68, 0x78, 0x68, 0x68, 0x7A, 0x6A, 0x68, 0x78, + 0x78, 0x7D, 0x6D, 0x0C, 0x80, 0x40, 0x20, 0x10, + 0x11, 0x08, 0x04, 0x02, 0x03, 0x08, 0x04, 0x00; + hventerstabdelay = 100; + hvspcmdexedelay = 0; + synchcycles = 6; + latchcycles = 1; + togglevtg = 1; + poweroffdelay = 25; + resetdelayms = 1; + resetdelayus = 0; + hvleavestabdelay = 100; + resetdelay = 25; + chiperasepolltimeout = 40; + chiperasetime = 0; + programfusepolltimeout = 25; + programlockpolltimeout = 25; + + ocdrev = 1; + + memory "eeprom" + size = 512; + paged = no; + page_size = 4; + min_write_delay = 4000; + max_write_delay = 4500; + readback_p1 = 0xff; + readback_p2 = 0xff; + read = "1 0 1 0 0 0 0 0 0 0 0 x x x x a8", + "a7 a6 a5 a4 a3 a2 a1 a0 o o o o o o o o"; + + write = "1 1 0 0 0 0 0 0 0 0 0 x x x x a8", + "a7 a6 a5 a4 a3 a2 a1 a0 i i i i i i i i"; + + loadpage_lo = " 1 1 0 0 0 0 0 1", + " 0 0 0 0 0 0 0 0", + " 0 0 0 0 0 0 a1 a0", + " i i i i i i i i"; + + writepage = " 1 1 0 0 0 0 1 0", + " 0 0 x x x x x a8", + " a7 a6 a5 a4 a3 a2 0 0", + " x x x x x x x x"; + + mode = 0x41; + delay = 12; + blocksize = 4; + readsize = 256; + ; + memory "flash" + paged = yes; + size = 8192; + page_size = 64; + num_pages = 128; + min_write_delay = 30000; + max_write_delay = 30000; + readback_p1 = 0xff; + readback_p2 = 0xff; + read_lo = " 0 0 1 0 0 0 0 0", + " 0 0 0 0 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + " 0 0 0 0 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " 0 0 0 x x x x x", + " x x x a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " 0 0 0 x x x x x", + " x x x a4 a3 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + " 0 0 0 0 a11 a10 a9 a8", + " a7 a6 a5 x x x x x", + " x x x x x x x x"; + + mode = 0x41; + delay = 6; + blocksize = 32; + readsize = 256; + ; +# ATtiny85 has Signature Bytes: 0x1E 0x93 0x08. + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 0 0 0 x x x x x", + "x x x x x x a1 a0 o o o o o o o o"; + ; + memory "lock" + size = 1; + write = "1 0 1 0 1 1 0 0 1 1 1 x x x x x", + "x x x x x x x x 1 1 i i i i i i"; + read = "0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0", + "0 0 0 0 0 0 0 0 o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "lfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "hfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 1 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "efuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 1 0 0", + "x x x x x x x x x x x x x x x i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "calibration" + size = 1; + read = "0 0 1 1 1 0 0 0 0 0 0 x x x x x", + "0 0 0 0 0 0 0 a0 o o o o o o o o"; + ; + ; + +#------------------------------------------------------------ +# ATmega640 +#------------------------------------------------------------ +# Almost same as ATmega1280, except for different memory sizes + +part + id = "m640"; + desc = "ATmega640"; + signature = 0x1e 0x96 0x08; + has_jtag = yes; +# stk500_devcode = 0xB2; +# avr910_devcode = 0x43; + chip_erase_delay = 9000; + pagel = 0xD7; + bs2 = 0xA0; + reset = dedicated; + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 0 0 0 0 0", + "x x x x x x x x x x x x x x x x"; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 1; + + pp_controlstack = + 0x0E, 0x1E, 0x0F, 0x1F, 0x2E, 0x3E, 0x2F, 0x3F, + 0x4E, 0x5E, 0x4F, 0x5F, 0x6E, 0x7E, 0x6F, 0x7F, + 0x66, 0x76, 0x67, 0x77, 0x6A, 0x7A, 0x6B, 0x7B, + 0xBE, 0xFD, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00; + hventerstabdelay = 100; + progmodedelay = 0; + latchcycles = 5; + togglevtg = 1; + poweroffdelay = 15; + resetdelayms = 1; + resetdelayus = 0; + hvleavestabdelay = 15; + chiperasepulsewidth = 0; + chiperasepolltimeout = 10; + programfusepulsewidth = 0; + programfusepolltimeout = 5; + programlockpulsewidth = 0; + programlockpolltimeout = 5; + + idr = 0x31; + spmcr = 0x57; + rampz = 0x3b; + allowfullpagebitstream = no; + + ocdrev = 3; + + memory "eeprom" + paged = no; /* leave this "no" */ + page_size = 8; /* for parallel programming */ + size = 4096; + min_write_delay = 9000; + max_write_delay = 9000; + readback_p1 = 0x00; + readback_p2 = 0x00; + read = " 1 0 1 0 0 0 0 0", + " x x x x a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + write = " 1 1 0 0 0 0 0 0", + " x x x x a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_lo = " 1 1 0 0 0 0 0 1", + " 0 0 0 0 0 0 0 0", + " 0 0 0 0 0 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 1 1 0 0 0 0 1 0", + " 0 0 x x a11 a10 a9 a8", + " a7 a6 a5 a4 a3 0 0 0", + " x x x x x x x x"; + + mode = 0x41; + delay = 10; + blocksize = 8; + readsize = 256; + ; + + memory "flash" + paged = yes; + size = 65536; + page_size = 256; + num_pages = 256; + min_write_delay = 4500; + max_write_delay = 4500; + readback_p1 = 0x00; + readback_p2 = 0x00; + read_lo = " 0 0 1 0 0 0 0 0", + " 0 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + " 0 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " x x x x x x x x", + " x a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " x x x x x x x x", + " x a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + " 0 a14 a13 a12 a11 a10 a9 a8", + " a7 x x x x x x x", + " x x x x x x x x"; + + mode = 0x41; + delay = 10; + blocksize = 256; + readsize = 256; + ; + + memory "lfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "hfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 1 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "efuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 1 0 0", + "x x x x x x x x x x x x x i i i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "lock" + size = 1; + read = "0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x x x o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 1 1 x x x x x", + "x x x x x x x x 1 1 i i i i i i"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "calibration" + size = 1; + read = "0 0 1 1 1 0 0 0 x x x x x x x x", + "0 0 0 0 0 0 0 0 o o o o o o o o"; + ; + + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 x x x x x x x x", + "x x x x x x a1 a0 o o o o o o o o"; + ; + ; + +#------------------------------------------------------------ +# ATmega1280 +#------------------------------------------------------------ + +part + id = "m1280"; + desc = "ATmega1280"; + signature = 0x1e 0x97 0x03; + has_jtag = yes; +# stk500_devcode = 0xB2; +# avr910_devcode = 0x43; + chip_erase_delay = 9000; + pagel = 0xD7; + bs2 = 0xA0; + reset = dedicated; + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 0 0 0 0 0", + "x x x x x x x x x x x x x x x x"; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 1; + + pp_controlstack = + 0x0E, 0x1E, 0x0F, 0x1F, 0x2E, 0x3E, 0x2F, 0x3F, + 0x4E, 0x5E, 0x4F, 0x5F, 0x6E, 0x7E, 0x6F, 0x7F, + 0x66, 0x76, 0x67, 0x77, 0x6A, 0x7A, 0x6B, 0x7B, + 0xBE, 0xFD, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00; + hventerstabdelay = 100; + progmodedelay = 0; + latchcycles = 5; + togglevtg = 1; + poweroffdelay = 15; + resetdelayms = 1; + resetdelayus = 0; + hvleavestabdelay = 15; + chiperasepulsewidth = 0; + chiperasepolltimeout = 10; + programfusepulsewidth = 0; + programfusepolltimeout = 5; + programlockpulsewidth = 0; + programlockpolltimeout = 5; + + idr = 0x31; + spmcr = 0x57; + rampz = 0x3b; + allowfullpagebitstream = no; + + ocdrev = 3; + + memory "eeprom" + paged = no; /* leave this "no" */ + page_size = 8; /* for parallel programming */ + size = 4096; + min_write_delay = 9000; + max_write_delay = 9000; + readback_p1 = 0x00; + readback_p2 = 0x00; + read = " 1 0 1 0 0 0 0 0", + " x x x x a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + write = " 1 1 0 0 0 0 0 0", + " x x x x a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_lo = " 1 1 0 0 0 0 0 1", + " 0 0 0 0 0 0 0 0", + " 0 0 0 0 0 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 1 1 0 0 0 0 1 0", + " 0 0 x x a11 a10 a9 a8", + " a7 a6 a5 a4 a3 0 0 0", + " x x x x x x x x"; + + mode = 0x41; + delay = 10; + blocksize = 8; + readsize = 256; + ; + + memory "flash" + paged = yes; + size = 131072; + page_size = 256; + num_pages = 512; + min_write_delay = 4500; + max_write_delay = 4500; + readback_p1 = 0x00; + readback_p2 = 0x00; + read_lo = " 0 0 1 0 0 0 0 0", + "a15 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + "a15 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " x x x x x x x x", + " x a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " x x x x x x x x", + " x a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + "a15 a14 a13 a12 a11 a10 a9 a8", + " a7 x x x x x x x", + " x x x x x x x x"; + + mode = 0x41; + delay = 10; + blocksize = 256; + readsize = 256; + ; + + memory "lfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "hfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 1 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "efuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 1 0 0", + "x x x x x x x x x x x x x i i i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "lock" + size = 1; + read = "0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x x x o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 1 1 x x x x x", + "x x x x x x x x 1 1 i i i i i i"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "calibration" + size = 1; + read = "0 0 1 1 1 0 0 0 x x x x x x x x", + "0 0 0 0 0 0 0 0 o o o o o o o o"; + ; + + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 x x x x x x x x", + "x x x x x x a1 a0 o o o o o o o o"; + ; + ; + +#------------------------------------------------------------ +# ATmega1281 +#------------------------------------------------------------ +# Identical to ATmega1280 + +part parent "m1280" + id = "m1281"; + desc = "ATmega1281"; + signature = 0x1e 0x97 0x04; + + ocdrev = 3; + ; + +#------------------------------------------------------------ +# ATmega2560 +#------------------------------------------------------------ + +part + id = "m2560"; + desc = "ATmega2560"; + signature = 0x1e 0x98 0x01; + has_jtag = yes; + stk500_devcode = 0xB2; +# avr910_devcode = 0x43; + chip_erase_delay = 9000; + pagel = 0xD7; + bs2 = 0xA0; + reset = dedicated; + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 0 0 0 0 0", + "x x x x x x x x x x x x x x x x"; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 1; + + pp_controlstack = + 0x0E, 0x1E, 0x0F, 0x1F, 0x2E, 0x3E, 0x2F, 0x3F, + 0x4E, 0x5E, 0x4F, 0x5F, 0x6E, 0x7E, 0x6F, 0x7F, + 0x66, 0x76, 0x67, 0x77, 0x6A, 0x7A, 0x6B, 0x7B, + 0xBE, 0xFD, 0x00, 0x01, 0x00, 0x00, 0x00, 0x02; + hventerstabdelay = 100; + progmodedelay = 0; + latchcycles = 5; + togglevtg = 1; + poweroffdelay = 15; + resetdelayms = 1; + resetdelayus = 0; + hvleavestabdelay = 15; + chiperasepulsewidth = 0; + chiperasepolltimeout = 10; + programfusepulsewidth = 0; + programfusepolltimeout = 5; + programlockpulsewidth = 0; + programlockpolltimeout = 5; + + idr = 0x31; + spmcr = 0x57; + rampz = 0x3b; + allowfullpagebitstream = no; + + ocdrev = 4; + + memory "eeprom" + paged = no; /* leave this "no" */ + page_size = 8; /* for parallel programming */ + size = 4096; + min_write_delay = 9000; + max_write_delay = 9000; + readback_p1 = 0x00; + readback_p2 = 0x00; + read = " 1 0 1 0 0 0 0 0", + " x x x x a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + write = " 1 1 0 0 0 0 0 0", + " x x x x a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_lo = " 1 1 0 0 0 0 0 1", + " 0 0 0 0 0 0 0 0", + " 0 0 0 0 0 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 1 1 0 0 0 0 1 0", + " 0 0 x x a11 a10 a9 a8", + " a7 a6 a5 a4 a3 0 0 0", + " x x x x x x x x"; + + mode = 0x41; + delay = 10; + blocksize = 8; + readsize = 256; + ; + + memory "flash" + paged = yes; + size = 262144; + page_size = 256; + num_pages = 1024; + min_write_delay = 4500; + max_write_delay = 4500; + readback_p1 = 0x00; + readback_p2 = 0x00; + read_lo = " 0 0 1 0 0 0 0 0", + "a15 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + "a15 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " x x x x x x x x", + " x a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " x x x x x x x x", + " x a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + "a15 a14 a13 a12 a11 a10 a9 a8", + " a7 x x x x x x x", + " x x x x x x x x"; + + load_ext_addr = " 0 1 0 0 1 1 0 1", + " 0 0 0 0 0 0 0 0", + " 0 0 0 0 0 0 0 a16", + " 0 0 0 0 0 0 0 0"; + + mode = 0x41; + delay = 10; + blocksize = 256; + readsize = 256; + ; + + memory "lfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "hfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 1 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "efuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 1 0 0", + "x x x x x x x x x x x x x i i i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "lock" + size = 1; + read = "0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x x x o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 1 1 x x x x x", + "x x x x x x x x 1 1 i i i i i i"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "calibration" + size = 1; + read = "0 0 1 1 1 0 0 0 x x x x x x x x", + "0 0 0 0 0 0 0 0 o o o o o o o o"; + ; + + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 x x x x x x x x", + "x x x x x x a1 a0 o o o o o o o o"; + ; + ; + +#------------------------------------------------------------ +# ATmega2561 +#------------------------------------------------------------ + +part parent "m2560" + id = "m2561"; + desc = "ATmega2561"; + signature = 0x1e 0x98 0x02; + + ocdrev = 4; + ; + +#------------------------------------------------------------ +# ATmega128RFA1 +#------------------------------------------------------------ +# Identical to ATmega2561 but half the ROM + +part parent "m2561" + id = "m128rfa1"; + desc = "ATmega128RFA1"; + signature = 0x1e 0xa7 0x01; + chip_erase_delay = 55000; + bs2 = 0xE2; + + ocdrev = 3; + + memory "flash" + paged = yes; + size = 131072; + page_size = 256; + num_pages = 512; + min_write_delay = 50000; + max_write_delay = 50000; + readback_p1 = 0x00; + readback_p2 = 0x00; + read_lo = " 0 0 1 0 0 0 0 0", + "a15 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + "a15 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " x x x x x x x x", + " x a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " x x x x x x x x", + " x a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + "a15 a14 a13 a12 a11 a10 a9 a8", + " a7 x x x x x x x", + " x x x x x x x x"; + + mode = 0x41; + delay = 20; + blocksize = 256; + readsize = 256; + ; + ; + +#------------------------------------------------------------ +# ATmega256RFR2 +#------------------------------------------------------------ + +part parent "m2561" + id = "m256rfr2"; + desc = "ATmega256RFR2"; + signature = 0x1e 0xa8 0x02; + chip_erase_delay = 18500; + bs2 = 0xE2; + + memory "eeprom" + paged = no; /* leave this "no" */ + page_size = 8; /* for parallel programming */ + size = 8192; + min_write_delay = 13000; + max_write_delay = 13000; + readback_p1 = 0x00; + readback_p2 = 0x00; + read = " 1 0 1 0 0 0 0 0", + " x x x a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + write = " 1 1 0 0 0 0 0 0", + " x x x a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_lo = " 1 1 0 0 0 0 0 1", + " 0 0 0 0 0 0 0 0", + " 0 0 0 0 0 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 1 1 0 0 0 0 1 0", + " 0 0 x a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 0 0 0", + " x x x x x x x x"; + + mode = 0x41; + delay = 10; + blocksize = 8; + readsize = 256; + ; + + + ocdrev = 4; + ; + +#------------------------------------------------------------ +# ATmega128RFR2 +#------------------------------------------------------------ + +part parent "m128rfa1" + id = "m128rfr2"; + desc = "ATmega128RFR2"; + signature = 0x1e 0xa7 0x02; + + + ocdrev = 3; + ; + +#------------------------------------------------------------ +# ATmega64RFR2 +#------------------------------------------------------------ + +part parent "m128rfa1" + id = "m64rfr2"; + desc = "ATmega64RFR2"; + signature = 0x1e 0xa6 0x02; + + + ocdrev = 3; + + memory "flash" + paged = yes; + size = 65536; + page_size = 256; + num_pages = 256; + min_write_delay = 50000; + max_write_delay = 50000; + readback_p1 = 0x00; + readback_p2 = 0x00; + read_lo = " 0 0 1 0 0 0 0 0", + " 0 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + " 0 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " x x x x x x x x", + " x a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " x x x x x x x x", + " x a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + " 0 a14 a13 a12 a11 a10 a9 a8", + " a7 x x x x x x x", + " x x x x x x x x"; + + mode = 0x41; + delay = 20; + blocksize = 256; + readsize = 256; + ; + + memory "eeprom" + paged = no; /* leave this "no" */ + page_size = 8; /* for parallel programming */ + size = 2048; + min_write_delay = 13000; + max_write_delay = 13000; + readback_p1 = 0x00; + readback_p2 = 0x00; + read = " 1 0 1 0 0 0 0 0", + " x x x x x a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + write = " 1 1 0 0 0 0 0 0", + " x x x x x a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_lo = " 1 1 0 0 0 0 0 1", + " 0 0 0 0 0 0 0 0", + " 0 0 0 0 0 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 1 1 0 0 0 0 1 0", + " 0 0 x x x a10 a9 a8", + " a7 a6 a5 a4 a3 0 0 0", + " x x x x x x x x"; + + mode = 0x41; + delay = 10; + blocksize = 8; + readsize = 256; + ; + + + ; + +#------------------------------------------------------------ +# ATmega2564RFR2 +#------------------------------------------------------------ + +part parent "m256rfr2" + id = "m2564rfr2"; + desc = "ATmega2564RFR2"; + signature = 0x1e 0xa8 0x03; + ; + +#------------------------------------------------------------ +# ATmega1284RFR2 +#------------------------------------------------------------ + +part parent "m128rfr2" + id = "m1284rfr2"; + desc = "ATmega1284RFR2"; + signature = 0x1e 0xa7 0x03; + ; + +#------------------------------------------------------------ +# ATmega644RFR2 +#------------------------------------------------------------ + +part parent "m64rfr2" + id = "m644rfr2"; + desc = "ATmega644RFR2"; + signature = 0x1e 0xa6 0x03; + ; + +#------------------------------------------------------------ +# ATtiny24 +#------------------------------------------------------------ + +part + id = "t24"; + desc = "ATtiny24"; + has_debugwire = yes; + flash_instr = 0xB4, 0x07, 0x17; + eeprom_instr = 0xBB, 0xFF, 0xBB, 0xEE, 0xBB, 0xCC, 0xB2, 0x0D, + 0xBC, 0x07, 0xB4, 0x07, 0xBA, 0x0D, 0xBB, 0xBC, + 0x99, 0xE1, 0xBB, 0xAC; +## no STK500 devcode in XML file, use the ATtiny45 one + stk500_devcode = 0x14; +## avr910_devcode = ?; +## Try the AT90S2313 devcode: + avr910_devcode = 0x20; + signature = 0x1e 0x91 0x0b; + reset = io; + chip_erase_delay = 4500; + + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 x x x x x", + "x x x x x x x x x x x x x x x x"; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 1; + + hvsp_controlstack = + 0x4C, 0x0C, 0x1C, 0x2C, 0x3C, 0x64, 0x74, 0x66, + 0x68, 0x78, 0x68, 0x68, 0x7A, 0x6A, 0x68, 0x78, + 0x78, 0x7D, 0x6D, 0x0C, 0x80, 0x40, 0x20, 0x10, + 0x11, 0x08, 0x04, 0x02, 0x03, 0x08, 0x04, 0x0F; + hventerstabdelay = 100; + hvspcmdexedelay = 0; + synchcycles = 6; + latchcycles = 1; + togglevtg = 1; + poweroffdelay = 25; + resetdelayms = 0; + resetdelayus = 70; + hvleavestabdelay = 100; + resetdelay = 25; + chiperasepolltimeout = 40; + chiperasetime = 0; + programfusepolltimeout = 25; + programlockpolltimeout = 25; + + ocdrev = 1; + + memory "eeprom" + size = 128; + paged = no; + page_size = 4; + min_write_delay = 4000; + max_write_delay = 4500; + readback_p1 = 0xff; + readback_p2 = 0xff; + read = "1 0 1 0 0 0 0 0 0 0 0 x x x x x", + "x a6 a5 a4 a3 a2 a1 a0 o o o o o o o o"; + + write = "1 1 0 0 0 0 0 0 0 0 0 x x x x x", + "x a6 a5 a4 a3 a2 a1 a0 i i i i i i i i"; + + loadpage_lo = " 1 1 0 0 0 0 0 1", + " 0 0 0 0 0 0 0 0", + " 0 0 0 0 0 0 a1 a0", + " i i i i i i i i"; + + writepage = " 1 1 0 0 0 0 1 0", + " 0 0 x x x x x x", + " x a6 a5 a4 a3 a2 0 0", + " x x x x x x x x"; + + mode = 0x41; + delay = 6; + blocksize = 4; + readsize = 256; + ; + memory "flash" + paged = yes; + size = 2048; + page_size = 32; + num_pages = 64; + min_write_delay = 4500; + max_write_delay = 4500; + readback_p1 = 0xff; + readback_p2 = 0xff; + read_lo = " 0 0 1 0 0 0 0 0", + " 0 0 0 0 0 0 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + " 0 0 0 0 0 0 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " 0 0 0 x x x x x", + " x x x x a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " 0 0 0 x x x x x", + " x x x x a3 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + " 0 0 0 0 0 0 a9 a8", + " a7 a6 a5 a4 x x x x", + " x x x x x x x x"; + + mode = 0x41; + delay = 6; + blocksize = 32; + readsize = 256; + ; +# ATtiny24 has Signature Bytes: 0x1E 0x91 0x0B. + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 0 0 0 x x x x x", + "x x x x x x a1 a0 o o o o o o o o"; + ; + memory "lock" + size = 1; + write = "1 0 1 0 1 1 0 0 1 1 1 x x x x x", + "x x x x x x x x x x x x x x i i"; + read = "0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0", + "0 0 0 0 0 0 0 0 o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "lfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "hfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 1 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "efuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 1 0 0", + "x x x x x x x x x x x x x x x i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "calibration" + size = 1; + read = "0 0 1 1 1 0 0 0 0 0 0 x x x x x", + "0 0 0 0 0 0 0 a0 o o o o o o o o"; + ; + ; + +#------------------------------------------------------------ +# ATtiny44 +#------------------------------------------------------------ + +part + id = "t44"; + desc = "ATtiny44"; + has_debugwire = yes; + flash_instr = 0xB4, 0x07, 0x17; + eeprom_instr = 0xBB, 0xFF, 0xBB, 0xEE, 0xBB, 0xCC, 0xB2, 0x0D, + 0xBC, 0x07, 0xB4, 0x07, 0xBA, 0x0D, 0xBB, 0xBC, + 0x99, 0xE1, 0xBB, 0xAC; +## no STK500 devcode in XML file, use the ATtiny45 one + stk500_devcode = 0x14; +## avr910_devcode = ?; +## Try the AT90S2313 devcode: + avr910_devcode = 0x20; + signature = 0x1e 0x92 0x07; + reset = io; + chip_erase_delay = 4500; + + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 x x x x x", + "x x x x x x x x x x x x x x x x"; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 1; + + hvsp_controlstack = + 0x4C, 0x0C, 0x1C, 0x2C, 0x3C, 0x64, 0x74, 0x66, + 0x68, 0x78, 0x68, 0x68, 0x7A, 0x6A, 0x68, 0x78, + 0x78, 0x7D, 0x6D, 0x0C, 0x80, 0x40, 0x20, 0x10, + 0x11, 0x08, 0x04, 0x02, 0x03, 0x08, 0x04, 0x0F; + hventerstabdelay = 100; + hvspcmdexedelay = 0; + synchcycles = 6; + latchcycles = 1; + togglevtg = 1; + poweroffdelay = 25; + resetdelayms = 0; + resetdelayus = 70; + hvleavestabdelay = 100; + resetdelay = 25; + chiperasepolltimeout = 40; + chiperasetime = 0; + programfusepolltimeout = 25; + programlockpolltimeout = 25; + + ocdrev = 1; + + memory "eeprom" + size = 256; + paged = no; + page_size = 4; + min_write_delay = 4000; + max_write_delay = 4500; + readback_p1 = 0xff; + readback_p2 = 0xff; + read = "1 0 1 0 0 0 0 0 0 0 0 x x x x x", + "a7 a6 a5 a4 a3 a2 a1 a0 o o o o o o o o"; + + write = "1 1 0 0 0 0 0 0 0 0 0 x x x x x", + "a7 a6 a5 a4 a3 a2 a1 a0 i i i i i i i i"; + + loadpage_lo = " 1 1 0 0 0 0 0 1", + " 0 0 0 0 0 0 0 0", + " 0 0 0 0 0 0 a1 a0", + " i i i i i i i i"; + + writepage = " 1 1 0 0 0 0 1 0", + " 0 0 x x x x x x", + " x a6 a5 a4 a3 a2 0 0", + " x x x x x x x x"; + + mode = 0x41; + delay = 6; + blocksize = 4; + readsize = 256; + ; + memory "flash" + paged = yes; + size = 4096; + page_size = 64; + num_pages = 64; + min_write_delay = 4500; + max_write_delay = 4500; + readback_p1 = 0xff; + readback_p2 = 0xff; + read_lo = " 0 0 1 0 0 0 0 0", + " 0 0 0 0 0 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + " 0 0 0 0 0 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " 0 0 0 x x x x x", + " x x x a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " 0 0 0 x x x x x", + " x x x a4 a3 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + " 0 0 0 0 0 a10 a9 a8", + " a7 a6 a5 x x x x x", + " x x x x x x x x"; + + mode = 0x41; + delay = 6; + blocksize = 32; + readsize = 256; + ; +# ATtiny44 has Signature Bytes: 0x1E 0x92 0x07. + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 0 0 0 x x x x x", + "x x x x x x a1 a0 o o o o o o o o"; + ; + memory "lock" + size = 1; + write = "1 0 1 0 1 1 0 0 1 1 1 x x x x x", + "x x x x x x x x x x x x x x i i"; + read = "0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0", + "0 0 0 0 0 0 0 0 o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "lfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "hfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 1 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "efuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 1 0 0", + "x x x x x x x x x x x x x x x i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "calibration" + size = 1; + read = "0 0 1 1 1 0 0 0 0 0 0 x x x x x", + "0 0 0 0 0 0 0 a0 o o o o o o o o"; + ; + ; + +#------------------------------------------------------------ +# ATtiny84 +#------------------------------------------------------------ + +part + id = "t84"; + desc = "ATtiny84"; + has_debugwire = yes; + flash_instr = 0xB4, 0x07, 0x17; + eeprom_instr = 0xBB, 0xFF, 0xBB, 0xEE, 0xBB, 0xCC, 0xB2, 0x0D, + 0xBC, 0x07, 0xB4, 0x07, 0xBA, 0x0D, 0xBB, 0xBC, + 0x99, 0xE1, 0xBB, 0xAC; +## no STK500 devcode in XML file, use the ATtiny45 one + stk500_devcode = 0x14; +## avr910_devcode = ?; +## Try the AT90S2313 devcode: + avr910_devcode = 0x20; + signature = 0x1e 0x93 0x0c; + reset = io; + chip_erase_delay = 4500; + + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 x x x x x", + "x x x x x x x x x x x x x x x x"; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 1; + + hvsp_controlstack = + 0x4C, 0x0C, 0x1C, 0x2C, 0x3C, 0x64, 0x74, 0x66, + 0x68, 0x78, 0x68, 0x68, 0x7A, 0x6A, 0x68, 0x78, + 0x78, 0x7D, 0x6D, 0x0C, 0x80, 0x40, 0x20, 0x10, + 0x11, 0x08, 0x04, 0x02, 0x03, 0x08, 0x04, 0x0F; + hventerstabdelay = 100; + hvspcmdexedelay = 0; + synchcycles = 6; + latchcycles = 1; + togglevtg = 1; + poweroffdelay = 25; + resetdelayms = 0; + resetdelayus = 70; + hvleavestabdelay = 100; + resetdelay = 25; + chiperasepolltimeout = 40; + chiperasetime = 0; + programfusepolltimeout = 25; + programlockpolltimeout = 25; + + ocdrev = 1; + + memory "eeprom" + size = 512; + paged = no; + page_size = 4; + min_write_delay = 4000; + max_write_delay = 4500; + readback_p1 = 0xff; + readback_p2 = 0xff; + read = "1 0 1 0 0 0 0 0 0 0 0 x x x x a8", + "a7 a6 a5 a4 a3 a2 a1 a0 o o o o o o o o"; + + write = "1 1 0 0 0 0 0 0 0 0 0 x x x x a8", + "a7 a6 a5 a4 a3 a2 a1 a0 i i i i i i i i"; + + loadpage_lo = " 1 1 0 0 0 0 0 1", + " 0 0 0 0 0 0 0 0", + " 0 0 0 0 0 0 a1 a0", + " i i i i i i i i"; + + writepage = " 1 1 0 0 0 0 1 0", + " 0 0 x x x x x x", + " x a6 a5 a4 a3 a2 0 0", + " x x x x x x x x"; + + mode = 0x41; + delay = 6; + blocksize = 4; + readsize = 256; + ; + memory "flash" + paged = yes; + size = 8192; + page_size = 64; + num_pages = 128; + min_write_delay = 4500; + max_write_delay = 4500; + readback_p1 = 0xff; + readback_p2 = 0xff; + read_lo = " 0 0 1 0 0 0 0 0", + " 0 0 0 0 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + " 0 0 0 0 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " 0 0 0 x x x x x", + " x x x a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " 0 0 0 x x x x x", + " x x x a4 a3 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + " 0 0 0 0 a11 a10 a9 a8", + " a7 a6 a5 x x x x x", + " x x x x x x x x"; + + mode = 0x41; + delay = 6; + blocksize = 32; + readsize = 256; + ; +# ATtiny84 has Signature Bytes: 0x1E 0x93 0x0C. + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 0 0 0 x x x x x", + "x x x x x x a1 a0 o o o o o o o o"; + ; + + memory "lock" + size = 1; + write = "1 0 1 0 1 1 0 0 1 1 1 x x x x x", + "x x x x x x x x x x x x x x i i"; + read = "0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0", + "0 0 0 0 0 0 0 0 o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "lfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "hfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 1 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "efuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 1 0 0", + "x x x x x x x x x x x x x x x i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "calibration" + size = 1; + read = "0 0 1 1 1 0 0 0 0 0 0 x x x x x", + "0 0 0 0 0 0 0 a0 o o o o o o o o"; + ; + ; + +#------------------------------------------------------------ +# ATtiny441 +#------------------------------------------------------------ + +part parent "t44" + id = "t441"; + desc = "ATtiny441"; + signature = 0x1e 0x92 0x15; + + memory "flash" + paged = yes; + size = 4096; + page_size = 16; + num_pages = 256; + min_write_delay = 4500; + max_write_delay = 4500; + readback_p1 = 0xff; + readback_p2 = 0xff; + read_lo = " 0 0 1 0 0 0 0 0", + " 0 0 0 0 0 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + " 0 0 0 0 0 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " 0 0 0 x x x x x", + " x x x x x a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " 0 0 0 x x x x x", + " x x x x x a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + " 0 0 0 0 0 a10 a9 a8", + " a7 a6 a5 a4 a3 x x x", + " x x x x x x x x"; + + mode = 0x41; + delay = 6; + blocksize = 16; + readsize = 256; + ; + + memory "efuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 1 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; +; + +#------------------------------------------------------------ +# ATtiny841 +#------------------------------------------------------------ + +part parent "t84" + id = "t841"; + desc = "ATtiny841"; + signature = 0x1e 0x93 0x15; + + memory "flash" + paged = yes; + size = 8192; + page_size = 16; + num_pages = 512; + min_write_delay = 4500; + max_write_delay = 4500; + readback_p1 = 0xff; + readback_p2 = 0xff; + read_lo = " 0 0 1 0 0 0 0 0", + " 0 0 0 0 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + " 0 0 0 0 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " 0 0 0 x x x x x", + " x x x x x a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " 0 0 0 x x x x x", + " x x x x x a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + " 0 0 0 0 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 x x x", + " x x x x x x x x"; + + mode = 0x41; + delay = 6; + blocksize = 16; + readsize = 256; + ; + + memory "efuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 1 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; +; + +#------------------------------------------------------------ +# ATtiny43U +#------------------------------------------------------------ + +part + id = "t43u"; + desc = "ATtiny43u"; + has_debugwire = yes; + flash_instr = 0xB4, 0x07, 0x17; + eeprom_instr = 0xBB, 0xFF, 0xBB, 0xEE, 0xBB, 0xCC, 0xB2, 0x0D, + 0xBC, 0x07, 0xB4, 0x07, 0xBA, 0x0D, 0xBB, 0xBC, + 0x99, 0xE1, 0xBB, 0xAC; + stk500_devcode = 0x14; +## avr910_devcode = ?; +## Try the AT90S2313 devcode: + avr910_devcode = 0x20; + signature = 0x1e 0x92 0x0C; + reset = io; + chip_erase_delay = 1000; + + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 x x x x x", + "x x x x x x x x x x x x x x x x"; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 1; + pp_controlstack = 0x0E, 0x1E, 0x0E, 0x1E, 0x2E, 0x3E, 0x2E, 0x3E, 0x4E, 0x5E, + 0x4E, 0x5E, 0x6E, 0x7E, 0x6E, 0x7E, 0x06, 0x16, 0x46, 0x56, + 0x0A, 0x1A, 0x4A, 0x5A, 0x1E, 0x7C, 0x00, 0x01, 0x00, 0x00, + 0x00, 0x00; + hventerstabdelay = 100; + progmodedelay = 0; + hvspcmdexedelay = 0; + latchcycles = 5; + togglevtg = 1; + poweroffdelay = 20; + resetdelayms = 1; + resetdelayus = 0; + hvleavestabdelay = 15; + resetdelay = 15; + chiperasepulsewidth = 0; + chiperasepolltimeout = 10; + programfusepulsewidth = 0; + programfusepolltimeout = 5; + programlockpulsewidth = 0; + programlockpolltimeout = 5; + memory "eeprom" + size = 64; + paged = yes; + page_size = 4; + num_pages = 16; + min_write_delay = 4000; + max_write_delay = 4500; + readback_p1 = 0xff; + readback_p2 = 0xff; + read = "1 0 1 0 0 0 0 0 0 0 0 x x x x x", + "0 0 a4 a3 a2 a1 a0 o o o o o o o o"; + + write = "1 1 0 0 0 0 0 0 0 0 0 x x x x x", + "0 0 a5 a4 a3 a2 a1 a0 i i i i i i i i"; + + loadpage_lo = " 1 1 0 0 0 0 0 1", + " 0 0 0 0 0 0 0 0", + " 0 0 0 0 0 0 a1 a0", + " i i i i i i i i"; + + writepage = " 1 1 0 0 0 0 1 0", + " 0 0 x x x x x x", + " 0 0 a5 a4 a3 a2 0 0", + " x x x x x x x x"; + + mode = 0x41; + delay = 5; + blocksize = 4; + readsize = 256; + ; + memory "flash" + paged = yes; + size = 4096; + page_size = 64; + num_pages = 64; + min_write_delay = 4500; + max_write_delay = 4500; + readback_p1 = 0xff; + readback_p2 = 0xff; + + read_lo = " 0 0 1 0 0 0 0 0", + " 0 0 0 0 0 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + " 0 0 0 0 0 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " 0 0 0 x x x x x", + " x x x a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " 0 0 0 x x x x x", + " x x x a4 a3 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + " 0 0 0 0 0 a10 a9 a8", + " a7 a6 a5 x x x x x", + " x x x x x x x x"; + + mode = 0x41; + delay = 10; + blocksize = 64; + readsize = 256; + ; + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 0 0 0 x x x x x", + "x x x x x x a1 a0 o o o o o o o o"; + ; + memory "lock" + size = 1; + write = "1 0 1 0 1 1 0 0 1 1 1 x x x x x", + "x x x x x x x x 1 1 i i i i i i"; + min_write_delay = 4500; + max_write_delay = 4500; + ; + + memory "lfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 4500; + max_write_delay = 4500; + ; + + memory "hfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 1 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 4500; + max_write_delay = 4500; + ; + + memory "efuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 1 0 0", + "x x x x x x x x x x x x x x x i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 4500; + max_write_delay = 4500; + ; + + memory "calibration" + size = 2; + read = "0 0 1 1 1 0 0 0 0 0 0 x x x x x", + "0 0 0 0 0 0 0 a0 o o o o o o o o"; + ; +; + +#------------------------------------------------------------ +# ATmega32u4 +#------------------------------------------------------------ + +part + id = "m32u4"; + desc = "ATmega32U4"; + signature = 0x1e 0x95 0x87; + usbpid = 0x2ff4; + has_jtag = yes; +# stk500_devcode = 0xB2; +# avr910_devcode = 0x43; + chip_erase_delay = 9000; + pagel = 0xD7; + bs2 = 0xA0; + reset = dedicated; + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 0 0 0 0 0", + "x x x x x x x x x x x x x x x x"; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 1; + + pp_controlstack = + 0x0E, 0x1E, 0x0F, 0x1F, 0x2E, 0x3E, 0x2F, 0x3F, + 0x4E, 0x5E, 0x4F, 0x5F, 0x6E, 0x7E, 0x6F, 0x7F, + 0x66, 0x76, 0x67, 0x77, 0x6A, 0x7A, 0x6B, 0x7B, + 0xBE, 0xFD, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00; + hventerstabdelay = 100; + progmodedelay = 0; + latchcycles = 5; + togglevtg = 1; + poweroffdelay = 15; + resetdelayms = 1; + resetdelayus = 0; + hvleavestabdelay = 15; + chiperasepulsewidth = 0; + chiperasepolltimeout = 10; + programfusepulsewidth = 0; + programfusepolltimeout = 5; + programlockpulsewidth = 0; + programlockpolltimeout = 5; + + idr = 0x31; + spmcr = 0x57; + rampz = 0x3b; + allowfullpagebitstream = no; + + ocdrev = 3; + + memory "eeprom" + paged = no; /* leave this "no" */ + page_size = 4; /* for parallel programming */ + size = 1024; + min_write_delay = 9000; + max_write_delay = 9000; + readback_p1 = 0x00; + readback_p2 = 0x00; + read = " 1 0 1 0 0 0 0 0", + " x x x x x a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + write = " 1 1 0 0 0 0 0 0", + " x x x x x a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_lo = " 1 1 0 0 0 0 0 1", + " 0 0 0 0 0 0 0 0", + " 0 0 0 0 0 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 1 1 0 0 0 0 1 0", + " 0 0 x x x a10 a9 a8", + " a7 a6 a5 a4 a3 0 0 0", + " x x x x x x x x"; + + mode = 0x41; + delay = 20; + blocksize = 4; + readsize = 256; + ; + + memory "flash" + paged = yes; + size = 32768; + page_size = 128; + num_pages = 256; + min_write_delay = 4500; + max_write_delay = 4500; + readback_p1 = 0x00; + readback_p2 = 0x00; + read_lo = " 0 0 1 0 0 0 0 0", + " 0 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + " 0 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " x x x x x x x x", + " x x a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " x x x x x x x x", + " x x a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + " a15 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 x x x x x x", + " x x x x x x x x"; + + mode = 0x41; + delay = 6; + blocksize = 128; + readsize = 256; + ; + + memory "lfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "hfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 1 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "efuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 1 0 0", + "x x x x x x x x x x x x i i i i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "lock" + size = 1; + read = "0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x x x o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 1 1 x x x x x", + "x x x x x x x x 1 1 i i i i i i"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "calibration" + size = 1; + read = "0 0 1 1 1 0 0 0 x x x x x x x x", + "0 0 0 0 0 0 0 0 o o o o o o o o"; + ; + + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 x x x x x x x x", + "x x x x x x a1 a0 o o o o o o o o"; + ; + ; + +#------------------------------------------------------------ +# AT90USB646 +#------------------------------------------------------------ + +part + id = "usb646"; + desc = "AT90USB646"; + signature = 0x1e 0x96 0x82; + usbpid = 0x2ff9; + has_jtag = yes; +# stk500_devcode = 0xB2; +# avr910_devcode = 0x43; + chip_erase_delay = 9000; + pagel = 0xD7; + bs2 = 0xA0; + reset = dedicated; + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 0 0 0 0 0", + "x x x x x x x x x x x x x x x x"; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 1; + + pp_controlstack = + 0x0E, 0x1E, 0x0F, 0x1F, 0x2E, 0x3E, 0x2F, 0x3F, + 0x4E, 0x5E, 0x4F, 0x5F, 0x6E, 0x7E, 0x6F, 0x7F, + 0x66, 0x76, 0x67, 0x77, 0x6A, 0x7A, 0x6B, 0x7B, + 0xBE, 0xFD, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00; + hventerstabdelay = 100; + progmodedelay = 0; + latchcycles = 5; + togglevtg = 1; + poweroffdelay = 15; + resetdelayms = 1; + resetdelayus = 0; + hvleavestabdelay = 15; + chiperasepulsewidth = 0; + chiperasepolltimeout = 10; + programfusepulsewidth = 0; + programfusepolltimeout = 5; + programlockpulsewidth = 0; + programlockpolltimeout = 5; + + idr = 0x31; + spmcr = 0x57; + rampz = 0x3b; + allowfullpagebitstream = no; + + ocdrev = 3; + + memory "eeprom" + paged = no; /* leave this "no" */ + page_size = 8; /* for parallel programming */ + size = 2048; + min_write_delay = 9000; + max_write_delay = 9000; + readback_p1 = 0x00; + readback_p2 = 0x00; + read = " 1 0 1 0 0 0 0 0", + " x x x x x a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + write = " 1 1 0 0 0 0 0 0", + " x x x x x a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_lo = " 1 1 0 0 0 0 0 1", + " 0 0 0 0 0 0 0 0", + " 0 0 0 0 0 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 1 1 0 0 0 0 1 0", + " 0 0 x x x a10 a9 a8", + " a7 a6 a5 a4 a3 0 0 0", + " x x x x x x x x"; + + mode = 0x41; + delay = 10; + blocksize = 8; + readsize = 256; + ; + + memory "flash" + paged = yes; + size = 65536; + page_size = 256; + num_pages = 256; + min_write_delay = 4500; + max_write_delay = 4500; + readback_p1 = 0x00; + readback_p2 = 0x00; + read_lo = " 0 0 1 0 0 0 0 0", + " 0 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + " 0 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " x x x x x x x x", + " x a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " x x x x x x x x", + " x a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + " 0 a14 a13 a12 a11 a10 a9 a8", + " a7 x x x x x x x", + " x x x x x x x x"; + + mode = 0x41; + delay = 6; + blocksize = 256; + readsize = 256; + ; + + memory "lfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "hfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 1 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "efuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 1 0 0", + "x x x x x x x x x x x x i i i i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "lock" + size = 1; + read = "0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x x x o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 1 1 x x x x x", + "x x x x x x x x 1 1 i i i i i i"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "calibration" + size = 1; + read = "0 0 1 1 1 0 0 0 x x x x x x x x", + "0 0 0 0 0 0 0 0 o o o o o o o o"; + ; + + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 x x x x x x x x", + "x x x x x x a1 a0 o o o o o o o o"; + ; + ; + +#------------------------------------------------------------ +# AT90USB647 +#------------------------------------------------------------ +# identical to AT90USB646 + +part parent "usb646" + id = "usb647"; + desc = "AT90USB647"; + signature = 0x1e 0x96 0x82; + + ocdrev = 3; + ; + +#------------------------------------------------------------ +# AT90USB1286 +#------------------------------------------------------------ + +part + id = "usb1286"; + desc = "AT90USB1286"; + signature = 0x1e 0x97 0x82; + usbpid = 0x2ffb; + has_jtag = yes; +# stk500_devcode = 0xB2; +# avr910_devcode = 0x43; + chip_erase_delay = 9000; + pagel = 0xD7; + bs2 = 0xA0; + reset = dedicated; + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 0 0 0 0 0", + "x x x x x x x x x x x x x x x x"; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 1; + + pp_controlstack = + 0x0E, 0x1E, 0x0F, 0x1F, 0x2E, 0x3E, 0x2F, 0x3F, + 0x4E, 0x5E, 0x4F, 0x5F, 0x6E, 0x7E, 0x6F, 0x7F, + 0x66, 0x76, 0x67, 0x77, 0x6A, 0x7A, 0x6B, 0x7B, + 0xBE, 0xFD, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00; + hventerstabdelay = 100; + progmodedelay = 0; + latchcycles = 5; + togglevtg = 1; + poweroffdelay = 15; + resetdelayms = 1; + resetdelayus = 0; + hvleavestabdelay = 15; + chiperasepulsewidth = 0; + chiperasepolltimeout = 10; + programfusepulsewidth = 0; + programfusepolltimeout = 5; + programlockpulsewidth = 0; + programlockpolltimeout = 5; + + idr = 0x31; + spmcr = 0x57; + rampz = 0x3b; + allowfullpagebitstream = no; + + ocdrev = 3; + + memory "eeprom" + paged = no; /* leave this "no" */ + page_size = 8; /* for parallel programming */ + size = 4096; + min_write_delay = 9000; + max_write_delay = 9000; + readback_p1 = 0x00; + readback_p2 = 0x00; + read = " 1 0 1 0 0 0 0 0", + " x x x x a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + write = " 1 1 0 0 0 0 0 0", + " x x x x a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_lo = " 1 1 0 0 0 0 0 1", + " 0 0 0 0 0 0 0 0", + " 0 0 0 0 0 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 1 1 0 0 0 0 1 0", + " 0 0 x x x a10 a9 a8", + " a7 a6 a5 a4 a3 0 0 0", + " x x x x x x x x"; + + mode = 0x41; + delay = 10; + blocksize = 8; + readsize = 256; + ; + + memory "flash" + paged = yes; + size = 131072; + page_size = 256; + num_pages = 512; + min_write_delay = 4500; + max_write_delay = 4500; + readback_p1 = 0x00; + readback_p2 = 0x00; + read_lo = " 0 0 1 0 0 0 0 0", + "a15 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + "a15 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " x x x x x x x x", + " x a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " x x x x x x x x", + " x a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + "a15 a14 a13 a12 a11 a10 a9 a8", + " a7 x x x x x x x", + " x x x x x x x x"; + + mode = 0x41; + delay = 6; + blocksize = 256; + readsize = 256; + ; + + memory "lfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "hfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 1 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "efuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 1 0 0", + "x x x x x x x x x x x x i i i i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "lock" + size = 1; + read = "0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x x x o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 1 1 x x x x x", + "x x x x x x x x 1 1 i i i i i i"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "calibration" + size = 1; + read = "0 0 1 1 1 0 0 0 x x x x x x x x", + "0 0 0 0 0 0 0 0 o o o o o o o o"; + ; + + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 x x x x x x x x", + "x x x x x x a1 a0 o o o o o o o o"; + ; + ; + +#------------------------------------------------------------ +# AT90USB1287 +#------------------------------------------------------------ +# identical to AT90USB1286 + +part parent "usb1286" + id = "usb1287"; + desc = "AT90USB1287"; + signature = 0x1e 0x97 0x82; + + ocdrev = 3; + ; + +#------------------------------------------------------------ +# AT90USB162 +#------------------------------------------------------------ + +part + id = "usb162"; + desc = "AT90USB162"; + has_jtag = no; + has_debugwire = yes; + signature = 0x1e 0x94 0x82; + usbpid = 0x2ffa; + chip_erase_delay = 9000; + reset = io; + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 x x x x x", + "x x x x x x x x x x x x x x x x"; + pagel = 0xD7; + bs2 = 0xC6; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 1; + pp_controlstack = + 0x0E, 0x1E, 0x0F, 0x1F, 0x2E, 0x3E, 0x2F, 0x3F, + 0x4E, 0x5E, 0x4F, 0x5F, 0x6E, 0x7E, 0x6F, 0x7F, + 0x66, 0x76, 0x67, 0x77, 0x6A, 0x7A, 0x6B, 0x7B, + 0xBE, 0xFD, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00; + hventerstabdelay = 100; + progmodedelay = 0; + latchcycles = 5; + togglevtg = 1; + poweroffdelay = 15; + resetdelayms = 1; + resetdelayus = 0; + hvleavestabdelay = 15; + chiperasepulsewidth = 0; + chiperasepolltimeout = 10; + programfusepulsewidth = 0; + programfusepolltimeout = 5; + programlockpulsewidth = 0; + programlockpolltimeout = 5; + + ocdrev = 1; + + memory "eeprom" + paged = no; /* leave this "no" */ + page_size = 4; /* for parallel programming */ + size = 512; + num_pages = 128; + min_write_delay = 9000; + max_write_delay = 9000; + readback_p1 = 0x00; + readback_p2 = 0x00; + read = " 1 0 1 0 0 0 0 0", + " 0 0 0 0 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + write = " 1 1 0 0 0 0 0 0", + " 0 0 0 0 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_lo = " 1 1 0 0 0 0 0 1", + " 0 0 0 0 0 0 0 0", + " 0 0 0 0 0 0 a1 a0", + " i i i i i i i i"; + + writepage = " 1 1 0 0 0 0 1 0", + " 0 0 0 0 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 0 0", + " x x x x x x x x"; + + mode = 0x41; + delay = 20; + blocksize = 4; + readsize = 256; + ; + + memory "flash" + paged = yes; + size = 16384; + page_size = 128; + num_pages = 128; + min_write_delay = 4500; + max_write_delay = 4500; + readback_p1 = 0x00; + readback_p2 = 0x00; + read_lo = " 0 0 1 0 0 0 0 0", + "a15 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + "a15 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " x x x x x x x x", + " x x a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " x x x x x x x x", + " x x a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + "a15 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 x x x x x x", + " x x x x x x x x"; + + mode = 0x41; + delay = 6; + blocksize = 128; + readsize = 256; + ; + + memory "lfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "hfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 1 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "efuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 1 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "lock" + size = 1; + read = "0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x x x o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 1 1 x x x x x", + "x x x x x x x x 1 1 i i i i i i"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "calibration" + size = 1; + read = "0 0 1 1 1 0 0 0 0 0 0 x x x x x", + "0 0 0 0 0 0 0 0 o o o o o o o o"; + ; + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 0 0 0 x x x x x", + "x x x x x x a1 a0 o o o o o o o o"; + ; + ; + +#------------------------------------------------------------ +# AT90USB82 +#------------------------------------------------------------ +# Changes against AT90USB162 (beside IDs) +# memory "flash" +# size = 8192; +# num_pages = 64; + +part + id = "usb82"; + desc = "AT90USB82"; + has_jtag = no; + has_debugwire = yes; + signature = 0x1e 0x93 0x82; + usbpid = 0x2ff7; + chip_erase_delay = 9000; + reset = io; + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 x x x x x", + "x x x x x x x x x x x x x x x x"; + pagel = 0xD7; + bs2 = 0xC6; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 1; + pp_controlstack = + 0x0E, 0x1E, 0x0F, 0x1F, 0x2E, 0x3E, 0x2F, 0x3F, + 0x4E, 0x5E, 0x4F, 0x5F, 0x6E, 0x7E, 0x6F, 0x7F, + 0x66, 0x76, 0x67, 0x77, 0x6A, 0x7A, 0x6B, 0x7B, + 0xBE, 0xFD, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00; + hventerstabdelay = 100; + progmodedelay = 0; + latchcycles = 5; + togglevtg = 1; + poweroffdelay = 15; + resetdelayms = 1; + resetdelayus = 0; + hvleavestabdelay = 15; + chiperasepulsewidth = 0; + chiperasepolltimeout = 10; + programfusepulsewidth = 0; + programfusepolltimeout = 5; + programlockpulsewidth = 0; + programlockpolltimeout = 5; + + ocdrev = 1; + + memory "eeprom" + paged = no; /* leave this "no" */ + page_size = 4; /* for parallel programming */ + size = 512; + num_pages = 128; + min_write_delay = 9000; + max_write_delay = 9000; + readback_p1 = 0x00; + readback_p2 = 0x00; + read = " 1 0 1 0 0 0 0 0", + " 0 0 0 0 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + write = " 1 1 0 0 0 0 0 0", + " 0 0 0 0 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_lo = " 1 1 0 0 0 0 0 1", + " 0 0 0 0 0 0 0 0", + " 0 0 0 0 0 0 a1 a0", + " i i i i i i i i"; + + writepage = " 1 1 0 0 0 0 1 0", + " 0 0 0 0 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 0 0", + " x x x x x x x x"; + + mode = 0x41; + delay = 20; + blocksize = 4; + readsize = 256; + ; + + memory "flash" + paged = yes; + size = 8192; + page_size = 128; + num_pages = 64; + min_write_delay = 4500; + max_write_delay = 4500; + readback_p1 = 0x00; + readback_p2 = 0x00; + read_lo = " 0 0 1 0 0 0 0 0", + "a15 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + "a15 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " x x x x x x x x", + " x x a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " x x x x x x x x", + " x x a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + "a15 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 x x x x x x", + " x x x x x x x x"; + + mode = 0x41; + delay = 6; + blocksize = 128; + readsize = 256; + ; + + memory "lfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "hfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 1 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "efuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 1 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "lock" + size = 1; + read = "0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x x x o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 1 1 x x x x x", + "x x x x x x x x 1 1 i i i i i i"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "calibration" + size = 1; + read = "0 0 1 1 1 0 0 0 0 0 0 x x x x x", + "0 0 0 0 0 0 0 0 o o o o o o o o"; + ; + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 0 0 0 x x x x x", + "x x x x x x a1 a0 o o o o o o o o"; + ; + ; + +#------------------------------------------------------------ +# ATmega32U2 +#------------------------------------------------------------ +# Changes against AT90USB162 (beside IDs) +# memory "flash" +# size = 32768; +# num_pages = 256; +# memory "eeprom" +# size = 1024; +# num_pages = 256; +part + id = "m32u2"; + desc = "ATmega32U2"; + has_jtag = no; + has_debugwire = yes; + signature = 0x1e 0x95 0x8a; + usbpid = 0x2ff0; + chip_erase_delay = 9000; + reset = io; + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 x x x x x", + "x x x x x x x x x x x x x x x x"; + pagel = 0xD7; + bs2 = 0xC6; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 1; + pp_controlstack = + 0x0E, 0x1E, 0x0F, 0x1F, 0x2E, 0x3E, 0x2F, 0x3F, + 0x4E, 0x5E, 0x4F, 0x5F, 0x6E, 0x7E, 0x6F, 0x7F, + 0x66, 0x76, 0x67, 0x77, 0x6A, 0x7A, 0x6B, 0x7B, + 0xBE, 0xFD, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00; + hventerstabdelay = 100; + progmodedelay = 0; + latchcycles = 5; + togglevtg = 1; + poweroffdelay = 15; + resetdelayms = 1; + resetdelayus = 0; + hvleavestabdelay = 15; + chiperasepulsewidth = 0; + chiperasepolltimeout = 10; + programfusepulsewidth = 0; + programfusepolltimeout = 5; + programlockpulsewidth = 0; + programlockpolltimeout = 5; + + ocdrev = 1; + + memory "eeprom" + paged = no; /* leave this "no" */ + page_size = 4; /* for parallel programming */ + size = 1024; + num_pages = 256; + min_write_delay = 9000; + max_write_delay = 9000; + readback_p1 = 0x00; + readback_p2 = 0x00; + read = " 1 0 1 0 0 0 0 0", + " 0 0 0 0 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + write = " 1 1 0 0 0 0 0 0", + " 0 0 0 0 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_lo = " 1 1 0 0 0 0 0 1", + " 0 0 0 0 0 0 0 0", + " 0 0 0 0 0 0 a1 a0", + " i i i i i i i i"; + + writepage = " 1 1 0 0 0 0 1 0", + " 0 0 0 0 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 0 0", + " x x x x x x x x"; + + mode = 0x41; + delay = 20; + blocksize = 4; + readsize = 256; + ; + + memory "flash" + paged = yes; + size = 32768; + page_size = 128; + num_pages = 256; + min_write_delay = 4500; + max_write_delay = 4500; + readback_p1 = 0x00; + readback_p2 = 0x00; + read_lo = " 0 0 1 0 0 0 0 0", + "a15 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + "a15 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " x x x x x x x x", + " x x a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " x x x x x x x x", + " x x a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + "a15 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 x x x x x x", + " x x x x x x x x"; + + mode = 0x41; + delay = 6; + blocksize = 128; + readsize = 256; + ; + + memory "lfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "hfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 1 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "efuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 1 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "lock" + size = 1; + read = "0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x x x o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 1 1 x x x x x", + "x x x x x x x x 1 1 i i i i i i"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "calibration" + size = 1; + read = "0 0 1 1 1 0 0 0 0 0 0 x x x x x", + "0 0 0 0 0 0 0 0 o o o o o o o o"; + ; + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 0 0 0 x x x x x", + "x x x x x x a1 a0 o o o o o o o o"; + ; + ; +#------------------------------------------------------------ +# ATmega16U2 +#------------------------------------------------------------ +# Changes against ATmega32U2 (beside IDs) +# memory "flash" +# size = 16384; +# num_pages = 128; +# memory "eeprom" +# size = 512; +# num_pages = 128; +part + id = "m16u2"; + desc = "ATmega16U2"; + has_jtag = no; + has_debugwire = yes; + signature = 0x1e 0x94 0x89; + usbpid = 0x2fef; + chip_erase_delay = 9000; + reset = io; + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 x x x x x", + "x x x x x x x x x x x x x x x x"; + pagel = 0xD7; + bs2 = 0xC6; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 1; + pp_controlstack = + 0x0E, 0x1E, 0x0F, 0x1F, 0x2E, 0x3E, 0x2F, 0x3F, + 0x4E, 0x5E, 0x4F, 0x5F, 0x6E, 0x7E, 0x6F, 0x7F, + 0x66, 0x76, 0x67, 0x77, 0x6A, 0x7A, 0x6B, 0x7B, + 0xBE, 0xFD, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00; + hventerstabdelay = 100; + progmodedelay = 0; + latchcycles = 5; + togglevtg = 1; + poweroffdelay = 15; + resetdelayms = 1; + resetdelayus = 0; + hvleavestabdelay = 15; + chiperasepulsewidth = 0; + chiperasepolltimeout = 10; + programfusepulsewidth = 0; + programfusepolltimeout = 5; + programlockpulsewidth = 0; + programlockpolltimeout = 5; + + ocdrev = 1; + + memory "eeprom" + paged = no; /* leave this "no" */ + page_size = 4; /* for parallel programming */ + size = 512; + num_pages = 128; + min_write_delay = 9000; + max_write_delay = 9000; + readback_p1 = 0x00; + readback_p2 = 0x00; + read = " 1 0 1 0 0 0 0 0", + " 0 0 0 0 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + write = " 1 1 0 0 0 0 0 0", + " 0 0 0 0 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_lo = " 1 1 0 0 0 0 0 1", + " 0 0 0 0 0 0 0 0", + " 0 0 0 0 0 0 a1 a0", + " i i i i i i i i"; + + writepage = " 1 1 0 0 0 0 1 0", + " 0 0 0 0 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 0 0", + " x x x x x x x x"; + + mode = 0x41; + delay = 20; + blocksize = 4; + readsize = 256; + ; + + memory "flash" + paged = yes; + size = 16384; + page_size = 128; + num_pages = 128; + min_write_delay = 4500; + max_write_delay = 4500; + readback_p1 = 0x00; + readback_p2 = 0x00; + read_lo = " 0 0 1 0 0 0 0 0", + "a15 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + "a15 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " x x x x x x x x", + " x x a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " x x x x x x x x", + " x x a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + "a15 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 x x x x x x", + " x x x x x x x x"; + + mode = 0x41; + delay = 6; + blocksize = 128; + readsize = 256; + ; + + memory "lfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "hfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 1 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "efuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 1 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "lock" + size = 1; + read = "0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x x x o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 1 1 x x x x x", + "x x x x x x x x 1 1 i i i i i i"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "calibration" + size = 1; + read = "0 0 1 1 1 0 0 0 0 0 0 x x x x x", + "0 0 0 0 0 0 0 0 o o o o o o o o"; + ; + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 0 0 0 x x x x x", + "x x x x x x a1 a0 o o o o o o o o"; + ; + ; + +#------------------------------------------------------------ +# ATmega8U2 +#------------------------------------------------------------ +# Changes against ATmega16U2 (beside IDs) +# memory "flash" +# size = 8192; +# page_size = 64; +# blocksize = 64; + +part + id = "m8u2"; + desc = "ATmega8U2"; + has_jtag = no; + has_debugwire = yes; + signature = 0x1e 0x93 0x89; + usbpid = 0x2fee; + chip_erase_delay = 9000; + reset = io; + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 x x x x x", + "x x x x x x x x x x x x x x x x"; + pagel = 0xD7; + bs2 = 0xC6; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 1; + pp_controlstack = + 0x0E, 0x1E, 0x0F, 0x1F, 0x2E, 0x3E, 0x2F, 0x3F, + 0x4E, 0x5E, 0x4F, 0x5F, 0x6E, 0x7E, 0x6F, 0x7F, + 0x66, 0x76, 0x67, 0x77, 0x6A, 0x7A, 0x6B, 0x7B, + 0xBE, 0xFD, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00; + hventerstabdelay = 100; + progmodedelay = 0; + latchcycles = 5; + togglevtg = 1; + poweroffdelay = 15; + resetdelayms = 1; + resetdelayus = 0; + hvleavestabdelay = 15; + chiperasepulsewidth = 0; + chiperasepolltimeout = 10; + programfusepulsewidth = 0; + programfusepolltimeout = 5; + programlockpulsewidth = 0; + programlockpolltimeout = 5; + + ocdrev = 1; + + memory "eeprom" + paged = no; /* leave this "no" */ + page_size = 4; /* for parallel programming */ + size = 512; + num_pages = 128; + min_write_delay = 9000; + max_write_delay = 9000; + readback_p1 = 0x00; + readback_p2 = 0x00; + read = " 1 0 1 0 0 0 0 0", + " 0 0 0 0 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + write = " 1 1 0 0 0 0 0 0", + " 0 0 0 0 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_lo = " 1 1 0 0 0 0 0 1", + " 0 0 0 0 0 0 0 0", + " 0 0 0 0 0 0 a1 a0", + " i i i i i i i i"; + + writepage = " 1 1 0 0 0 0 1 0", + " 0 0 0 0 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 0 0", + " x x x x x x x x"; + + mode = 0x41; + delay = 20; + blocksize = 4; + readsize = 256; + ; + + memory "flash" + paged = yes; + size = 8192; + page_size = 128; + num_pages = 64; + min_write_delay = 4500; + max_write_delay = 4500; + readback_p1 = 0x00; + readback_p2 = 0x00; + read_lo = " 0 0 1 0 0 0 0 0", + "a15 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + "a15 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " x x x x x x x x", + " x x a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " x x x x x x x x", + " x x a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + "a15 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 x x x x x x", + " x x x x x x x x"; + + mode = 0x41; + delay = 6; + blocksize = 128; + readsize = 256; + ; + + memory "lfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "hfuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 1 0 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "efuse" + size = 1; + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 1 0 0", + "x x x x x x x x i i i i i i i i"; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "lock" + size = 1; + read = "0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x x x o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 1 1 x x x x x", + "x x x x x x x x 1 1 i i i i i i"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "calibration" + size = 1; + read = "0 0 1 1 1 0 0 0 0 0 0 x x x x x", + "0 0 0 0 0 0 0 0 o o o o o o o o"; + ; + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 0 0 0 x x x x x", + "x x x x x x a1 a0 o o o o o o o o"; + ; + ; +#------------------------------------------------------------ +# ATmega325 +#------------------------------------------------------------ + +part + id = "m325"; + desc = "ATmega325"; + signature = 0x1e 0x95 0x05; + has_jtag = yes; +# stk500_devcode = 0x??; # No STK500v1 support? +# avr910_devcode = 0x??; # Try the ATmega16 one + avr910_devcode = 0x74; + pagel = 0xd7; + bs2 = 0xa0; + chip_erase_delay = 9000; + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 0 0 0 0 0", + "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0"; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 1; + + pp_controlstack = + 0x0E, 0x1E, 0x0F, 0x1F, 0x2E, 0x3E, 0x2F, 0x3F, + 0x4E, 0x5E, 0x4F, 0x5F, 0x6E, 0x7E, 0x6F, 0x7F, + 0x66, 0x76, 0x67, 0x77, 0x6A, 0x7A, 0x6B, 0x7B, + 0xBE, 0xFD, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00; + hventerstabdelay = 100; + progmodedelay = 0; + latchcycles = 5; + togglevtg = 1; + poweroffdelay = 15; + resetdelayms = 1; + resetdelayus = 0; + hvleavestabdelay = 15; + chiperasepulsewidth = 0; + chiperasepolltimeout = 10; + programfusepulsewidth = 0; + programfusepolltimeout = 5; + programlockpulsewidth = 0; + programlockpolltimeout = 5; + + idr = 0x31; + spmcr = 0x57; + allowfullpagebitstream = no; + + ocdrev = 3; + + memory "eeprom" + paged = no; /* leave this "no" */ + page_size = 4; /* for parallel programming */ + size = 1024; + min_write_delay = 9000; + max_write_delay = 9000; + readback_p1 = 0xff; + readback_p2 = 0xff; + read = " 1 0 1 0 0 0 0 0", + " 0 0 0 0 0 0 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + write = " 1 1 0 0 0 0 0 0", + " 0 0 0 0 0 0 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_lo = " 1 1 0 0 0 0 0 1", + " 0 0 0 0 0 0 0 0", + " 0 0 0 0 0 0 a1 a0", + " i i i i i i i i"; + + writepage = " 1 1 0 0 0 0 1 0", + " 0 0 0 0 0 0 a9 a8", + " a7 a6 a5 a4 a3 a2 0 0", + " x x x x x x x x"; + + mode = 0x41; + delay = 10; + blocksize = 4; + readsize = 256; + ; + + memory "flash" + paged = yes; + size = 32768; + page_size = 128; + num_pages = 256; + min_write_delay = 4500; + max_write_delay = 4500; + readback_p1 = 0xff; + readback_p2 = 0xff; + read_lo = " 0 0 1 0 0 0 0 0", + " 0 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + " 0 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " 0 0 0 0 0 0 0 0", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " 0 0 0 0 0 0 0 0", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + " 0 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " x x x x x x x x"; + + mode = 0x41; + delay = 10; + blocksize = 128; + readsize = 256; + ; + + memory "lock" + size = 1; + read = "0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x x x o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 1 1 0 0 0 0 0", + "0 0 0 0 0 0 0 0 1 1 i i i i i i"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "lfuse" + size = 1; + read = "0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0", + "0 0 0 0 0 0 0 0 o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 0 0 0", + "0 0 0 0 0 0 0 0 i i i i i i i i"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "hfuse" + size = 1; + read = "0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0", + "0 0 0 0 0 0 0 0 o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 1 0 0 0", + "0 0 0 0 0 0 0 0 i i i i i i i i"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "efuse" + size = 1; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0", + "0 0 0 0 0 0 0 0 o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 1 0 0", + "0 0 0 0 0 0 0 0 1 1 1 1 1 i i i"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0", + "0 0 0 0 0 0 a1 a0 o o o o o o o o"; + ; + + memory "calibration" + size = 1; + + read = "0 0 1 1 1 0 0 0 0 0 0 0 0 0 0 0", + "0 0 0 0 0 0 0 0 o o o o o o o o"; + ; + ; + +#------------------------------------------------------------ +# ATmega645 +#------------------------------------------------------------ + +part + id = "m645"; + desc = "ATmega645"; + signature = 0x1E 0x96 0x05; + has_jtag = yes; +# stk500_devcode = 0x??; # No STK500v1 support? +# avr910_devcode = 0x??; # Try the ATmega16 one + avr910_devcode = 0x74; + pagel = 0xd7; + bs2 = 0xa0; + chip_erase_delay = 9000; + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 0 0 0 0 0", + "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0"; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 1; + + pp_controlstack = + 0x0E, 0x1E, 0x0F, 0x1F, 0x2E, 0x3E, 0x2F, 0x3F, + 0x4E, 0x5E, 0x4F, 0x5F, 0x6E, 0x7E, 0x6F, 0x7F, + 0x66, 0x76, 0x67, 0x77, 0x6A, 0x7A, 0x6B, 0x7B, + 0xBE, 0xFD, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00; + hventerstabdelay = 100; + progmodedelay = 0; + latchcycles = 5; + togglevtg = 1; + poweroffdelay = 15; + resetdelayms = 1; + resetdelayus = 0; + hvleavestabdelay = 15; + chiperasepulsewidth = 0; + chiperasepolltimeout = 10; + programfusepulsewidth = 0; + programfusepolltimeout = 5; + programlockpulsewidth = 0; + programlockpolltimeout = 5; + + idr = 0x31; + spmcr = 0x57; + allowfullpagebitstream = no; + + ocdrev = 3; + + memory "eeprom" + paged = no; /* leave this "no" */ + page_size = 8; /* for parallel programming */ + size = 2048; + min_write_delay = 9000; + max_write_delay = 9000; + readback_p1 = 0xff; + readback_p2 = 0xff; + read = " 1 0 1 0 0 0 0 0", + " 0 0 0 0 0 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + write = " 1 1 0 0 0 0 0 0", + " 0 0 0 0 0 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_lo = " 1 1 0 0 0 0 0 1", + " 0 0 0 0 0 0 0 0", + " 0 0 0 0 0 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 1 1 0 0 0 0 1 0", + " 0 0 0 0 0 a10 a9 a8", + " a7 a6 a5 a4 a3 0 0 0", + " x x x x x x x x"; + + mode = 0x41; + delay = 10; + blocksize = 8; + readsize = 256; + ; + + memory "flash" + paged = yes; + size = 65536; + page_size = 256; + num_pages = 256; + min_write_delay = 4500; + max_write_delay = 4500; + readback_p1 = 0xff; + readback_p2 = 0xff; + read_lo = " 0 0 1 0 0 0 0 0", + " a15 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + " a15 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " 0 0 0 0 0 0 0 0", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " 0 0 0 0 0 0 0 0", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + " a15 a14 a13 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " 0 0 0 0 0 0 0 0"; + + mode = 0x41; + delay = 10; + blocksize = 128; + readsize = 256; + ; + + memory "lock" + size = 1; + read = "0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x x x o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 1 1 0 0 0 0 0", + "0 0 0 0 0 0 0 0 1 1 i i i i i i"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "lfuse" + size = 1; + read = "0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0", + "0 0 0 0 0 0 0 0 o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 0 0 0", + "0 0 0 0 0 0 0 0 i i i i i i i i"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "hfuse" + size = 1; + read = "0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0", + "0 0 0 0 0 0 0 0 o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 1 0 0 0", + "0 0 0 0 0 0 0 0 i i i i i i i i"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "efuse" + size = 1; + + read = "0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0", + "0 0 0 0 0 0 0 0 o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 1 0 0", + "0 0 0 0 0 0 0 0 1 1 1 1 1 i i i"; + min_write_delay = 9000; + max_write_delay = 9000; + ; + + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0", + "0 0 0 0 0 0 a1 a0 o o o o o o o o"; + ; + + memory "calibration" + size = 1; + + read = "0 0 1 1 1 0 0 0 0 0 0 0 0 0 0 0", + "0 0 0 0 0 0 0 0 o o o o o o o o"; + ; + ; + +#------------------------------------------------------------ +# ATmega3250 +#------------------------------------------------------------ + +part parent "m325" + id = "m3250"; + desc = "ATmega3250"; + signature = 0x1E 0x95 0x06; + + ocdrev = 3; + ; + +#------------------------------------------------------------ +# ATmega6450 +#------------------------------------------------------------ + +part parent "m645" + id = "m6450"; + desc = "ATmega6450"; + signature = 0x1E 0x96 0x06; + + ocdrev = 3; + ; + +#------------------------------------------------------------ +# AVR XMEGA family common values +#------------------------------------------------------------ + +part + id = ".xmega"; + desc = "AVR XMEGA family common values"; + has_pdi = yes; + nvm_base = 0x01c0; + mcu_base = 0x0090; + + memory "signature" + size = 3; + offset = 0x1000090; + ; + + memory "prodsig" + size = 0x32; + offset = 0x8e0200; + page_size = 0x32; + readsize = 0x32; + ; + + memory "fuse1" + size = 1; + offset = 0x8f0021; + ; + + memory "fuse2" + size = 1; + offset = 0x8f0022; + ; + + memory "fuse4" + size = 1; + offset = 0x8f0024; + ; + + memory "fuse5" + size = 1; + offset = 0x8f0025; + ; + + memory "lock" + size = 1; + offset = 0x8f0027; + ; + + memory "data" + # SRAM, only used to supply the offset + offset = 0x1000000; + ; +; + +#------------------------------------------------------------ +# ATxmega16A4U +#------------------------------------------------------------ + +part parent ".xmega" + id = "x16a4u"; + desc = "ATxmega16A4U"; + signature = 0x1e 0x94 0x41; + usbpid = 0x2fe3; + + memory "eeprom" + size = 0x400; + offset = 0x8c0000; + page_size = 0x20; + readsize = 0x100; + ; + + memory "application" + size = 0x4000; + offset = 0x800000; + page_size = 0x100; + readsize = 0x100; + ; + + memory "apptable" + size = 0x1000; + offset = 0x803000; + page_size = 0x100; + readsize = 0x100; + ; + + memory "boot" + size = 0x1000; + offset = 0x804000; + page_size = 0x100; + readsize = 0x100; + ; + + memory "flash" + size = 0x5000; + offset = 0x800000; + page_size = 0x100; + readsize = 0x100; + ; + + memory "usersig" + size = 0x100; + offset = 0x8e0400; + page_size = 0x100; + readsize = 0x100; + ; +; + +#------------------------------------------------------------ +# ATxmega16C4 +#------------------------------------------------------------ + +part parent "x16a4u" + id = "x16c4"; + desc = "ATxmega16C4"; + signature = 0x1e 0x94 0x43; +; + +#------------------------------------------------------------ +# ATxmega16D4 +#------------------------------------------------------------ + +part parent "x16a4u" + id = "x16d4"; + desc = "ATxmega16D4"; + signature = 0x1e 0x94 0x42; +; + +#------------------------------------------------------------ +# ATxmega16A4 +#------------------------------------------------------------ + +part parent "x16a4u" + id = "x16a4"; + desc = "ATxmega16A4"; + signature = 0x1e 0x94 0x41; + has_jtag = yes; + + memory "fuse0" + size = 1; + offset = 0x8f0020; + ; +; + +#------------------------------------------------------------ +# ATxmega32A4U +#------------------------------------------------------------ + +part parent ".xmega" + id = "x32a4u"; + desc = "ATxmega32A4U"; + signature = 0x1e 0x95 0x41; + usbpid = 0x2fe4; + + memory "eeprom" + size = 0x400; + offset = 0x8c0000; + page_size = 0x20; + readsize = 0x100; + ; + + memory "application" + size = 0x8000; + offset = 0x800000; + page_size = 0x100; + readsize = 0x100; + ; + + memory "apptable" + size = 0x1000; + offset = 0x807000; + page_size = 0x100; + readsize = 0x100; + ; + + memory "boot" + size = 0x1000; + offset = 0x808000; + page_size = 0x100; + readsize = 0x100; + ; + + memory "flash" + size = 0x9000; + offset = 0x800000; + page_size = 0x100; + readsize = 0x100; + ; + + memory "usersig" + size = 0x100; + offset = 0x8e0400; + page_size = 0x100; + readsize = 0x100; + ; +; + +#------------------------------------------------------------ +# ATxmega32C4 +#------------------------------------------------------------ + +part parent "x32a4u" + id = "x32c4"; + desc = "ATxmega32C4"; + signature = 0x1e 0x95 0x44; +; + +#------------------------------------------------------------ +# ATxmega32D4 +#------------------------------------------------------------ + +part parent "x32a4u" + id = "x32d4"; + desc = "ATxmega32D4"; + signature = 0x1e 0x95 0x42; +; + +#------------------------------------------------------------ +# ATxmega32A4 +#------------------------------------------------------------ + +part parent "x32a4u" + id = "x32a4"; + desc = "ATxmega32A4"; + signature = 0x1e 0x95 0x41; + has_jtag = yes; + + memory "fuse0" + size = 1; + offset = 0x8f0020; + ; +; + +#------------------------------------------------------------ +# ATxmega64A4U +#------------------------------------------------------------ + +part parent ".xmega" + id = "x64a4u"; + desc = "ATxmega64A4U"; + signature = 0x1e 0x96 0x46; + usbpid = 0x2fe5; + + memory "eeprom" + size = 0x800; + offset = 0x8c0000; + page_size = 0x20; + readsize = 0x100; + ; + + memory "application" + size = 0x10000; + offset = 0x800000; + page_size = 0x100; + readsize = 0x100; + ; + + memory "apptable" + size = 0x1000; + offset = 0x80f000; + page_size = 0x100; + readsize = 0x100; + ; + + memory "boot" + size = 0x1000; + offset = 0x810000; + page_size = 0x100; + readsize = 0x100; + ; + + memory "flash" + size = 0x11000; + offset = 0x800000; + page_size = 0x100; + readsize = 0x100; + ; + + memory "usersig" + size = 0x100; + offset = 0x8e0400; + page_size = 0x100; + readsize = 0x100; + ; +; + +#------------------------------------------------------------ +# ATxmega64C3 +#------------------------------------------------------------ + +part parent "x64a4u" + id = "x64c3"; + desc = "ATxmega64C3"; + signature = 0x1e 0x96 0x49; + usbpid = 0x2fd6; +; + +#------------------------------------------------------------ +# ATxmega64D3 +#------------------------------------------------------------ + +part parent "x64a4u" + id = "x64d3"; + desc = "ATxmega64D3"; + signature = 0x1e 0x96 0x4a; +; + +#------------------------------------------------------------ +# ATxmega64D4 +#------------------------------------------------------------ + +part parent "x64a4u" + id = "x64d4"; + desc = "ATxmega64D4"; + signature = 0x1e 0x96 0x47; +; + +#------------------------------------------------------------ +# ATxmega64A1 +#------------------------------------------------------------ + +part parent "x64a4u" + id = "x64a1"; + desc = "ATxmega64A1"; + signature = 0x1e 0x96 0x4e; + has_jtag = yes; + + memory "fuse0" + size = 1; + offset = 0x8f0020; + ; +; + +#------------------------------------------------------------ +# ATxmega64A1U +#------------------------------------------------------------ + +part parent "x64a1" + id = "x64a1u"; + desc = "ATxmega64A1U"; + signature = 0x1e 0x96 0x4e; + usbpid = 0x2fe8; +; + +#------------------------------------------------------------ +# ATxmega64A3 +#------------------------------------------------------------ + +part parent "x64a1" + id = "x64a3"; + desc = "ATxmega64A3"; + signature = 0x1e 0x96 0x42; +; + +#------------------------------------------------------------ +# ATxmega64A3U +#------------------------------------------------------------ + +part parent "x64a1" + id = "x64a3u"; + desc = "ATxmega64A3U"; + signature = 0x1e 0x96 0x42; + usbpid = 0x2fe5; +; + +#------------------------------------------------------------ +# ATxmega64A4 +#------------------------------------------------------------ + +part parent "x64a1" + id = "x64a4"; + desc = "ATxmega64A4"; + signature = 0x1e 0x96 0x46; +; + +#------------------------------------------------------------ +# ATxmega64B1 +#------------------------------------------------------------ + +part parent "x64a1" + id = "x64b1"; + desc = "ATxmega64B1"; + signature = 0x1e 0x96 0x52; + usbpid = 0x2fe1; +; + +#------------------------------------------------------------ +# ATxmega64B3 +#------------------------------------------------------------ + +part parent "x64a1" + id = "x64b3"; + desc = "ATxmega64B3"; + signature = 0x1e 0x96 0x51; + usbpid = 0x2fdf; +; + +#------------------------------------------------------------ +# ATxmega128C3 +#------------------------------------------------------------ + +part parent ".xmega" + id = "x128c3"; + desc = "ATxmega128C3"; + signature = 0x1e 0x97 0x52; + usbpid = 0x2fd7; + + memory "eeprom" + size = 0x800; + offset = 0x8c0000; + page_size = 0x20; + readsize = 0x100; + ; + + memory "application" + size = 0x20000; + offset = 0x800000; + page_size = 0x200; + readsize = 0x100; + ; + + memory "apptable" + size = 0x2000; + offset = 0x81e000; + page_size = 0x200; + readsize = 0x100; + ; + + memory "boot" + size = 0x2000; + offset = 0x820000; + page_size = 0x200; + readsize = 0x100; + ; + + memory "flash" + size = 0x22000; + offset = 0x800000; + page_size = 0x200; + readsize = 0x100; + ; + + memory "usersig" + size = 0x200; + offset = 0x8e0400; + page_size = 0x200; + readsize = 0x100; + ; +; + +#------------------------------------------------------------ +# ATxmega128D3 +#------------------------------------------------------------ + +part parent "x128c3" + id = "x128d3"; + desc = "ATxmega128D3"; + signature = 0x1e 0x97 0x48; +; + +#------------------------------------------------------------ +# ATxmega128D4 +#------------------------------------------------------------ + +part parent "x128c3" + id = "x128d4"; + desc = "ATxmega128D4"; + signature = 0x1e 0x97 0x47; +; + +#------------------------------------------------------------ +# ATxmega128A1 +#------------------------------------------------------------ + +part parent "x128c3" + id = "x128a1"; + desc = "ATxmega128A1"; + signature = 0x1e 0x97 0x4c; + has_jtag = yes; + + memory "fuse0" + size = 1; + offset = 0x8f0020; + ; +; + +#------------------------------------------------------------ +# ATxmega128A1 revision D +#------------------------------------------------------------ + +part parent "x128a1" + id = "x128a1d"; + desc = "ATxmega128A1revD"; + signature = 0x1e 0x97 0x41; +; + +#------------------------------------------------------------ +# ATxmega128A1U +#------------------------------------------------------------ + +part parent "x128a1" + id = "x128a1u"; + desc = "ATxmega128A1U"; + signature = 0x1e 0x97 0x4c; + usbpid = 0x2fed; +; + +#------------------------------------------------------------ +# ATxmega128A3 +#------------------------------------------------------------ + +part parent "x128a1" + id = "x128a3"; + desc = "ATxmega128A3"; + signature = 0x1e 0x97 0x42; +; + +#------------------------------------------------------------ +# ATxmega128A3U +#------------------------------------------------------------ + +part parent "x128a1" + id = "x128a3u"; + desc = "ATxmega128A3U"; + signature = 0x1e 0x97 0x42; + usbpid = 0x2fe6; +; + +#------------------------------------------------------------ +# ATxmega128A4 +#------------------------------------------------------------ + +part parent ".xmega" + id = "x128a4"; + desc = "ATxmega128A4"; + signature = 0x1e 0x97 0x46; + has_jtag = yes; + + memory "eeprom" + size = 0x800; + offset = 0x8c0000; + page_size = 0x20; + readsize = 0x100; + ; + + memory "application" + size = 0x20000; + offset = 0x800000; + page_size = 0x200; + readsize = 0x100; + ; + + memory "apptable" + size = 0x1000; + offset = 0x81f000; + page_size = 0x200; + readsize = 0x100; + ; + + memory "boot" + size = 0x2000; + offset = 0x820000; + page_size = 0x200; + readsize = 0x100; + ; + + memory "flash" + size = 0x22000; + offset = 0x800000; + page_size = 0x200; + readsize = 0x100; + ; + + memory "usersig" + size = 0x200; + offset = 0x8e0400; + page_size = 0x200; + readsize = 0x100; + ; + + memory "fuse0" + size = 1; + offset = 0x8f0020; + ; +; + +#------------------------------------------------------------ +# ATxmega128A4U +#------------------------------------------------------------ + +part parent ".xmega" + id = "x128a4u"; + desc = "ATxmega128A4U"; + signature = 0x1e 0x97 0x46; + usbpid = 0x2fde; + + memory "eeprom" + size = 0x800; + offset = 0x8c0000; + page_size = 0x20; + readsize = 0x100; + ; + + memory "application" + size = 0x20000; + offset = 0x800000; + page_size = 0x100; + readsize = 0x100; + ; + + memory "apptable" + size = 0x1000; + offset = 0x81f000; + page_size = 0x100; + readsize = 0x100; + ; + + memory "boot" + size = 0x2000; + offset = 0x820000; + page_size = 0x100; + readsize = 0x100; + ; + + memory "flash" + size = 0x22000; + offset = 0x800000; + page_size = 0x100; + readsize = 0x100; + ; + + memory "usersig" + size = 0x100; + offset = 0x8e0400; + page_size = 0x100; + readsize = 0x100; + ; +; + +#------------------------------------------------------------ +# ATxmega128B1 +#------------------------------------------------------------ + +part parent ".xmega" + id = "x128b1"; + desc = "ATxmega128B1"; + signature = 0x1e 0x97 0x4d; + usbpid = 0x2fea; + has_jtag = yes; + + memory "eeprom" + size = 0x800; + offset = 0x8c0000; + page_size = 0x20; + readsize = 0x100; + ; + + memory "application" + size = 0x20000; + offset = 0x800000; + page_size = 0x100; + readsize = 0x100; + ; + + memory "apptable" + size = 0x2000; + offset = 0x81e000; + page_size = 0x100; + readsize = 0x100; + ; + + memory "boot" + size = 0x2000; + offset = 0x820000; + page_size = 0x100; + readsize = 0x100; + ; + + memory "flash" + size = 0x22000; + offset = 0x800000; + page_size = 0x100; + readsize = 0x100; + ; + + memory "usersig" + size = 0x100; + offset = 0x8e0400; + page_size = 0x100; + readsize = 0x100; + ; + + memory "fuse0" + size = 1; + offset = 0x8f0020; + ; +; + +#------------------------------------------------------------ +# ATxmega128B3 +#------------------------------------------------------------ + +part parent "x128b1" + id = "x128b3"; + desc = "ATxmega128B3"; + signature = 0x1e 0x97 0x4b; + usbpid = 0x2fe0; +; + +#------------------------------------------------------------ +# ATxmega192C3 +#------------------------------------------------------------ + +part parent ".xmega" + id = "x192c3"; + desc = "ATxmega192C3"; + signature = 0x1e 0x97 0x51; + # usbpid = 0x2f??; + + memory "eeprom" + size = 0x800; + offset = 0x8c0000; + page_size = 0x20; + readsize = 0x100; + ; + + memory "application" + size = 0x30000; + offset = 0x800000; + page_size = 0x200; + readsize = 0x100; + ; + + memory "apptable" + size = 0x2000; + offset = 0x82e000; + page_size = 0x200; + readsize = 0x100; + ; + + memory "boot" + size = 0x2000; + offset = 0x830000; + page_size = 0x200; + readsize = 0x100; + ; + + memory "flash" + size = 0x32000; + offset = 0x800000; + page_size = 0x200; + readsize = 0x100; + ; + + memory "usersig" + size = 0x200; + offset = 0x8e0400; + page_size = 0x200; + readsize = 0x100; + ; +; + +#------------------------------------------------------------ +# ATxmega192D3 +#------------------------------------------------------------ + +part parent "x192c3" + id = "x192d3"; + desc = "ATxmega192D3"; + signature = 0x1e 0x97 0x49; +; + +#------------------------------------------------------------ +# ATxmega192A1 +#------------------------------------------------------------ + +part parent "x192c3" + id = "x192a1"; + desc = "ATxmega192A1"; + signature = 0x1e 0x97 0x4e; + has_jtag = yes; + + memory "fuse0" + size = 1; + offset = 0x8f0020; + ; +; + +#------------------------------------------------------------ +# ATxmega192A3 +#------------------------------------------------------------ + +part parent "x192a1" + id = "x192a3"; + desc = "ATxmega192A3"; + signature = 0x1e 0x97 0x44; +; + +#------------------------------------------------------------ +# ATxmega192A3U +#------------------------------------------------------------ + +part parent "x192a1" + id = "x192a3u"; + desc = "ATxmega192A3U"; + signature = 0x1e 0x97 0x44; + usbpid = 0x2fe7; +; + +#------------------------------------------------------------ +# ATxmega256C3 +#------------------------------------------------------------ + +part parent ".xmega" + id = "x256c3"; + desc = "ATxmega256C3"; + signature = 0x1e 0x98 0x46; + usbpid = 0x2fda; + + memory "eeprom" + size = 0x1000; + offset = 0x8c0000; + page_size = 0x20; + readsize = 0x100; + ; + + memory "application" + size = 0x40000; + offset = 0x800000; + page_size = 0x200; + readsize = 0x100; + ; + + memory "apptable" + size = 0x2000; + offset = 0x83e000; + page_size = 0x200; + readsize = 0x100; + ; + + memory "boot" + size = 0x2000; + offset = 0x840000; + page_size = 0x200; + readsize = 0x100; + ; + + memory "flash" + size = 0x42000; + offset = 0x800000; + page_size = 0x200; + readsize = 0x100; + ; + + memory "usersig" + size = 0x200; + offset = 0x8e0400; + page_size = 0x200; + readsize = 0x100; + ; +; + +#------------------------------------------------------------ +# ATxmega256D3 +#------------------------------------------------------------ + +part parent "x256c3" + id = "x256d3"; + desc = "ATxmega256D3"; + signature = 0x1e 0x98 0x44; +; + +#------------------------------------------------------------ +# ATxmega256A1 +#------------------------------------------------------------ + +part parent "x256c3" + id = "x256a1"; + desc = "ATxmega256A1"; + signature = 0x1e 0x98 0x46; + has_jtag = yes; + + memory "fuse0" + size = 1; + offset = 0x8f0020; + ; +; + +#------------------------------------------------------------ +# ATxmega256A3 +#------------------------------------------------------------ + +part parent "x256a1" + id = "x256a3"; + desc = "ATxmega256A3"; + signature = 0x1e 0x98 0x42; +; + +#------------------------------------------------------------ +# ATxmega256A3U +#------------------------------------------------------------ + +part parent "x256a1" + id = "x256a3u"; + desc = "ATxmega256A3U"; + signature = 0x1e 0x98 0x42; + usbpid = 0x2fec; +; + +#------------------------------------------------------------ +# ATxmega256A3B +#------------------------------------------------------------ + +part parent "x256a1" + id = "x256a3b"; + desc = "ATxmega256A3B"; + signature = 0x1e 0x98 0x43; +; + +#------------------------------------------------------------ +# ATxmega256A3BU +#------------------------------------------------------------ + +part parent "x256a1" + id = "x256a3bu"; + desc = "ATxmega256A3BU"; + signature = 0x1e 0x98 0x43; + usbpid = 0x2fe2; +; + +#------------------------------------------------------------ +# ATxmega384C3 +#------------------------------------------------------------ + +part parent ".xmega" + id = "x384c3"; + desc = "ATxmega384C3"; + signature = 0x1e 0x98 0x45; + usbpid = 0x2fdb; + + memory "eeprom" + size = 0x1000; + offset = 0x8c0000; + page_size = 0x20; + readsize = 0x100; + ; + + memory "application" + size = 0x60000; + offset = 0x800000; + page_size = 0x200; + readsize = 0x100; + ; + + memory "apptable" + size = 0x2000; + offset = 0x85e000; + page_size = 0x200; + readsize = 0x100; + ; + + memory "boot" + size = 0x2000; + offset = 0x860000; + page_size = 0x200; + readsize = 0x100; + ; + + memory "flash" + size = 0x62000; + offset = 0x800000; + page_size = 0x200; + readsize = 0x100; + ; + + memory "usersig" + size = 0x200; + offset = 0x8e0400; + page_size = 0x200; + readsize = 0x100; + ; +; + +#------------------------------------------------------------ +# ATxmega384D3 +#------------------------------------------------------------ + +part parent "x384c3" + id = "x384d3"; + desc = "ATxmega384D3"; + signature = 0x1e 0x98 0x47; +; + +#------------------------------------------------------------ +# ATxmega8E5 +#------------------------------------------------------------ + +part parent ".xmega" + id = "x8e5"; + desc = "ATxmega8E5"; + signature = 0x1e 0x93 0x41; + + memory "eeprom" + size = 0x0200; + offset = 0x08c0000; + page_size = 0x20; + readsize = 0x100; + ; + + memory "application" + size = 0x2000; + offset = 0x0800000; + page_size = 0x80; + readsize = 0x100; + ; + + memory "apptable" + size = 0x800; + offset = 0x00801800; + page_size = 0x80; + readsize = 0x100; + ; + + memory "boot" + size = 0x800; + offset = 0x00802000; + page_size = 0x80; + readsize = 0x100; + ; + + memory "flash" + size = 0x2800; + offset = 0x0800000; + page_size = 0x80; + readsize = 0x100; + ; + + memory "usersig" + size = 0x80; + offset = 0x8e0400; + page_size = 0x80; + readsize = 0x100; + ; +; + +#------------------------------------------------------------ +# ATxmega16E5 +#------------------------------------------------------------ + +part parent ".xmega" + id = "x16e5"; + desc = "ATxmega16E5"; + signature = 0x1e 0x94 0x45; + + memory "eeprom" + size = 0x0200; + offset = 0x08c0000; + page_size = 0x20; + readsize = 0x100; + ; + + memory "application" + size = 0x4000; + offset = 0x0800000; + page_size = 0x80; + readsize = 0x100; + ; + + memory "apptable" + size = 0x1000; + offset = 0x00803000; + page_size = 0x80; + readsize = 0x100; + ; + + memory "boot" + size = 0x1000; + offset = 0x00804000; + page_size = 0x80; + readsize = 0x100; + ; + + memory "flash" + size = 0x5000; + offset = 0x0800000; + page_size = 0x80; + readsize = 0x100; + ; + + memory "usersig" + size = 0x80; + offset = 0x8e0400; + page_size = 0x80; + readsize = 0x100; + ; +; + +#------------------------------------------------------------ +# ATxmega32E5 +#------------------------------------------------------------ + +part parent ".xmega" + id = "x32e5"; + desc = "ATxmega32E5"; + signature = 0x1e 0x95 0x4c; + + memory "eeprom" + size = 0x0400; + offset = 0x08c0000; + page_size = 0x20; + readsize = 0x100; + ; + + memory "application" + size = 0x8000; + offset = 0x0800000; + page_size = 0x80; + readsize = 0x100; + ; + + memory "apptable" + size = 0x1000; + offset = 0x00807000; + page_size = 0x80; + readsize = 0x100; + ; + + memory "boot" + size = 0x1000; + offset = 0x00808000; + page_size = 0x80; + readsize = 0x100; + ; + + memory "flash" + size = 0x9000; + offset = 0x0800000; + page_size = 0x80; + readsize = 0x100; + ; + + memory "usersig" + size = 0x80; + offset = 0x8e0400; + page_size = 0x80; + readsize = 0x100; + ; +; + +#------------------------------------------------------------ +# AVR32UC3A0512 +#------------------------------------------------------------ + +part + id = "uc3a0512"; + desc = "AT32UC3A0512"; + signature = 0xED 0xC0 0x3F; + has_jtag = yes; + is_avr32 = yes; + + memory "flash" + paged = yes; + page_size = 512; # bytes + readsize = 512; # bytes + num_pages = 1024; # could be set dynamicly + size = 0x00080000; # could be set dynamicly + offset = 0x80000000; + ; +; + +part parent "uc3a0512" + id = "ucr2"; + desc = "deprecated, use 'uc3a0512'"; +; + +#------------------------------------------------------------ +# ATtiny1634. +#------------------------------------------------------------ + +part + id = "t1634"; + desc = "ATtiny1634"; + has_debugwire = yes; + flash_instr = 0xB6, 0x01, 0x11; + eeprom_instr = 0xBD, 0xF2, 0xBD, 0xE1, 0xBB, 0xCF, 0xB4, 0x00, + 0xBE, 0x01, 0xB6, 0x01, 0xBC, 0x00, 0xBB, 0xBF, + 0x99, 0xF9, 0xBB, 0xAF; + stk500_devcode = 0x86; + # avr910_devcode = 0x; + signature = 0x1e 0x94 0x12; + pagel = 0xB3; + bs2 = 0xB1; + reset = io; + chip_erase_delay = 9000; + pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", + "x x x x x x x x x x x x x x x x"; + + chip_erase = "1 0 1 0 1 1 0 0 1 0 0 x x x x x", + "x x x x x x x x x x x x x x x x"; + + timeout = 200; + stabdelay = 100; + cmdexedelay = 25; + synchloops = 32; + bytedelay = 0; + pollindex = 3; + pollvalue = 0x53; + predelay = 1; + postdelay = 1; + pollmethod = 1; + + pp_controlstack = + 0x0E, 0x1E, 0x0E, 0x1E, 0x2E, 0x3E, 0x2E, 0x3E, + 0x4E, 0x5E, 0x4E, 0x5E, 0x6E, 0x7E, 0x6E, 0x7E, + 0x26, 0x36, 0x66, 0x76, 0x2A, 0x3A, 0x6A, 0x7A, + 0x2E, 0xFD, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00; + hventerstabdelay = 100; + progmodedelay = 0; + latchcycles = 0; + togglevtg = 1; + poweroffdelay = 15; + resetdelayms = 1; + resetdelayus = 0; + hvleavestabdelay = 15; + resetdelay = 15; + chiperasepulsewidth = 0; + chiperasepolltimeout = 10; + programfusepulsewidth = 0; + programfusepolltimeout = 5; + programlockpulsewidth = 0; + programlockpolltimeout = 5; + + memory "eeprom" + paged = no; + page_size = 4; + size = 256; + min_write_delay = 3600; + max_write_delay = 3600; + readback_p1 = 0xff; + readback_p2 = 0xff; + read = " 1 0 1 0 0 0 0 0", + " 0 0 0 x x x x a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + write = " 1 1 0 0 0 0 0 0", + " 0 0 0 x x x x a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_lo = " 1 1 0 0 0 0 0 1", + " 0 0 0 0 0 0 0 0", + " 0 0 0 0 0 0 a1 a0", + " i i i i i i i i"; + + writepage = " 1 1 0 0 0 0 1 0", + " 0 0 x x x x x a8", + " a7 a6 a5 a4 a3 a2 0 0", + " x x x x x x x x"; + + mode = 0x41; + delay = 5; + blocksize = 4; + readsize = 256; + ; + + memory "flash" + paged = yes; + size = 16384; + page_size = 32; + num_pages = 512; + min_write_delay = 4500; + max_write_delay = 4500; + readback_p1 = 0xff; + readback_p2 = 0xff; + read_lo = " 0 0 1 0 0 0 0 0", + " 0 0 0 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + read_hi = " 0 0 1 0 1 0 0 0", + " 0 0 0 a12 a11 a10 a9 a8", + " a7 a6 a5 a4 a3 a2 a1 a0", + " o o o o o o o o"; + + loadpage_lo = " 0 1 0 0 0 0 0 0", + " 0 0 0 x x x x x", + " x x a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + loadpage_hi = " 0 1 0 0 1 0 0 0", + " 0 0 0 x x x x x", + " x x a5 a4 a3 a2 a1 a0", + " i i i i i i i i"; + + writepage = " 0 1 0 0 1 1 0 0", + " 0 0 0 a12 a11 a10 a9 a8", + " a7 a6 x x x x x x", + " x x x x x x x x"; + + mode = 0x41; + delay = 6; + blocksize = 128; + readsize = 256; + + ; + + memory "lfuse" + size = 1; + min_write_delay = 4500; + max_write_delay = 4500; + read = "0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 0 0 0", + "x x x x x x x x i i i i i i i i"; + ; + + memory "hfuse" + size = 1; + min_write_delay = 4500; + max_write_delay = 4500; + read = "0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 1 0 0 0", + "x x x x x x x x i i i i i i i i"; + ; + + memory "efuse" + size = 1; + min_write_delay = 4500; + max_write_delay = 4500; + read = "0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0", + "x x x x x x x x o o o o o o o o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 0 0 1 0 0", + "x x x x x x x x x x x i i i i i"; + ; + + memory "lock" + size = 1; + min_write_delay = 4500; + max_write_delay = 4500; + read = "0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0", + "x x x x x x x x x x x x x x o o"; + + write = "1 0 1 0 1 1 0 0 1 1 1 x x x x x", + "x x x x x x x x 1 1 1 1 1 1 i i"; + ; + + memory "calibration" + size = 1; + read = "0 0 1 1 1 0 0 0 0 0 0 x x x x x", + "0 0 0 0 0 0 0 0 o o o o o o o o"; + ; + + memory "signature" + size = 3; + read = "0 0 1 1 0 0 0 0 0 0 0 x x x x x", + "x x x x x x a1 a0 o o o o o o o o"; + ; +; + +#------------------------------------------------------------ +# Common values for reduced core tinys (4/5/9/10/20/40) +#------------------------------------------------------------ + +part + id = ".reduced_core_tiny"; + desc = "Common values for reduced core tinys"; + has_tpi = yes; + + memory "signature" + size = 3; + offset = 0x3fc0; + page_size = 16; + ; + + memory "fuse" + size = 1; + offset = 0x3f40; + page_size = 16; + blocksize = 4; + ; + + memory "calibration" + size = 1; + offset = 0x3f80; + page_size = 16; + ; + + memory "lockbits" + size = 1; + offset = 0x3f00; + page_size = 16; + ; +; + +#------------------------------------------------------------ +# ATtiny4 +#------------------------------------------------------------ + +part parent ".reduced_core_tiny" + id = "t4"; + desc = "ATtiny4"; + signature = 0x1e 0x8f 0x0a; + + memory "flash" + size = 512; + offset = 0x4000; + page_size = 16; + blocksize = 128; + ; +; + +#------------------------------------------------------------ +# ATtiny5 +#------------------------------------------------------------ + +part parent "t4" + id = "t5"; + desc = "ATtiny5"; + signature = 0x1e 0x8f 0x09; +; + +#------------------------------------------------------------ +# ATtiny9 +#------------------------------------------------------------ + +part parent ".reduced_core_tiny" + id = "t9"; + desc = "ATtiny9"; + signature = 0x1e 0x90 0x08; + + memory "flash" + size = 1024; + offset = 0x4000; + page_size = 16; + blocksize = 128; + ; +; + +#------------------------------------------------------------ +# ATtiny10 +#------------------------------------------------------------ + +part parent "t9" + id = "t10"; + desc = "ATtiny10"; + signature = 0x1e 0x90 0x03; +; + +#------------------------------------------------------------ +# ATtiny20 +#------------------------------------------------------------ + +part parent ".reduced_core_tiny" + id = "t20"; + desc = "ATtiny20"; + signature = 0x1e 0x91 0x0F; + + memory "flash" + size = 2048; + offset = 0x4000; + page_size = 16; + blocksize = 128; + ; +; + +#------------------------------------------------------------ +# ATtiny40 +#------------------------------------------------------------ + +part parent ".reduced_core_tiny" + id = "t40"; + desc = "ATtiny40"; + signature = 0x1e 0x92 0x0E; + + memory "flash" + size = 4096; + offset = 0x4000; + page_size = 64; + blocksize = 128; + ; +; + +#------------------------------------------------------------ +# ATmega406 +#------------------------------------------------------------ + +part + id = "m406"; + desc = "ATMEGA406"; + has_jtag = yes; + signature = 0x1e 0x95 0x07; + + # STK500 parameters (parallel programming IO lines) + pagel = 0xa7; + bs2 = 0xa0; + serial = no; + parallel = yes; + + # STK500v2 HV programming parameters, from XML + pp_controlstack = 0x0e, 0x1e, 0x0f, 0x1f, 0x2e, 0x3e, 0x2f, 0x3f, + 0x4e, 0x5e, 0x4f, 0x5f, 0x6e, 0x7e, 0x6f, 0x7f, + 0x66, 0x76, 0x67, 0x77, 0x6a, 0x7a, 0x6b, 0x7b, + 0xbe, 0xfd, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00; + + # JTAG ICE mkII parameters, also from XML files + allowfullpagebitstream = no; + enablepageprogramming = yes; + idr = 0x51; + rampz = 0x00; + spmcr = 0x57; + eecr = 0x3f; + + memory "eeprom" + paged = no; + size = 512; + page_size = 4; + blocksize = 4; + readsize = 4; + num_pages = 128; + ; + + memory "flash" + paged = yes; + size = 40960; + page_size = 128; + blocksize = 128; + readsize = 128; + num_pages = 320; + ; + + memory "hfuse" + size = 1; + ; + + memory "lfuse" + size = 1; + ; + + memory "lockbits" + size = 1; + ; + + memory "signature" + size = 3; + ; +; + +#------------------------------------------------------------ +# AVR8X family common values +#------------------------------------------------------------ + +part + id = ".avr8x"; + desc = "AVR8X family common values"; + has_updi = yes; + nvm_base = 0x1000; + ocd_base = 0x0F80; + + memory "signature" + size = 3; + offset = 0x1100; + ; + + memory "prodsig" + size = 0x3D; + offset = 0x1103; + page_size = 0x3D; + readsize = 0x3D; + ; + + memory "fuses" + size = 9; + offset = 0x1280; + ; + + memory "fuse0" + size = 1; + offset = 0x1280; + ; + + memory "fuse1" + size = 1; + offset = 0x1281; + ; + + memory "fuse2" + size = 1; + offset = 0x1282; + ; + + memory "fuse4" + size = 1; + offset = 0x1284; + ; + + memory "fuse5" + size = 1; + offset = 0x1285; + ; + + memory "fuse6" + size = 1; + offset = 0x1286; + ; + + memory "fuse7" + size = 1; + offset = 0x1287; + ; + + memory "fuse8" + size = 1; + offset = 0x1288; + ; + + memory "lock" + size = 1; + offset = 0x128a; + ; + + memory "data" + # SRAM, only used to supply the offset + offset = 0x1000000; + ; +; + +#------------------------------------------------------------ +# AVR8X tiny family common values +#------------------------------------------------------------ + +part parent ".avr8x" + id = ".avr8x_tiny"; + desc = "AVR8X tiny family common values"; + family_id = "tinyAVR"; + + memory "usersig" + size = 0x20; + offset = 0x1300; + page_size = 0x20; + readsize = 0x100; + ; +; + +#------------------------------------------------------------ +# AVR8X mega family common values +#------------------------------------------------------------ + +part parent ".avr8x" + id = ".avr8x_mega"; + desc = "AVR8X mega family common values"; + family_id = "megaAVR"; + + memory "usersig" + size = 0x40; + offset = 0x1300; + page_size = 0x40; + readsize = 0x100; + ; +; + +#------------------------------------------------------------ +# ATtiny202 +#------------------------------------------------------------ + +part parent ".avr8x_tiny" + id = "t202"; + desc = "ATtiny202"; + signature = 0x1E 0x91 0x23; + + memory "flash" + size = 0x800; + offset = 0x8000; + page_size = 0x40; + readsize = 0x100; + ; + + memory "eeprom" + size = 0x40; + offset = 0x1400; + page_size = 0x20; + readsize = 0x100; + ; +; + +#------------------------------------------------------------ +# ATtiny204 +#------------------------------------------------------------ + +part parent ".avr8x_tiny" + id = "t204"; + desc = "ATtiny204"; + signature = 0x1E 0x91 0x22; + + memory "flash" + size = 0x800; + offset = 0x8000; + page_size = 0x40; + readsize = 0x100; + ; + + memory "eeprom" + size = 0x40; + offset = 0x1400; + page_size = 0x20; + readsize = 0x100; + ; +; + +#------------------------------------------------------------ +# ATtiny402 +#------------------------------------------------------------ + +part parent ".avr8x_tiny" + id = "t402"; + desc = "ATtiny402"; + signature = 0x1E 0x92 0x23; + + memory "flash" + size = 0x1000; + offset = 0x8000; + page_size = 0x40; + readsize = 0x100; + ; + + memory "eeprom" + size = 0x80; + offset = 0x1400; + page_size = 0x20; + readsize = 0x100; + ; +; + +#------------------------------------------------------------ +# ATtiny404 +#------------------------------------------------------------ + +part parent ".avr8x_tiny" + id = "t404"; + desc = "ATtiny404"; + signature = 0x1E 0x92 0x26; + + memory "flash" + size = 0x1000; + offset = 0x8000; + page_size = 0x40; + readsize = 0x100; + ; + + memory "eeprom" + size = 0x80; + offset = 0x1400; + page_size = 0x20; + readsize = 0x100; + ; +; + +#------------------------------------------------------------ +# ATtiny406 +#------------------------------------------------------------ + +part parent ".avr8x_tiny" + id = "t406"; + desc = "ATtiny406"; + signature = 0x1E 0x92 0x25; + + memory "flash" + size = 0x1000; + offset = 0x8000; + page_size = 0x40; + readsize = 0x100; + ; + + memory "eeprom" + size = 0x80; + offset = 0x1400; + page_size = 0x20; + readsize = 0x100; + ; +; + +#------------------------------------------------------------ +# ATtiny804 +#------------------------------------------------------------ + +part parent ".avr8x_tiny" + id = "t804"; + desc = "ATtiny804"; + signature = 0x1E 0x93 0x25; + + memory "flash" + size = 0x2000; + offset = 0x8000; + page_size = 0x40; + readsize = 0x100; + ; + + memory "eeprom" + size = 0x80; + offset = 0x1400; + page_size = 0x20; + readsize = 0x100; + ; +; + +#------------------------------------------------------------ +# ATtiny806 +#------------------------------------------------------------ + +part parent ".avr8x_tiny" + id = "t806"; + desc = "ATtiny806"; + signature = 0x1E 0x93 0x24; + + memory "flash" + size = 0x2000; + offset = 0x8000; + page_size = 0x40; + readsize = 0x100; + ; + + memory "eeprom" + size = 0x80; + offset = 0x1400; + page_size = 0x20; + readsize = 0x100; + ; +; + +#------------------------------------------------------------ +# ATtiny807 +#------------------------------------------------------------ + +part parent ".avr8x_tiny" + id = "t807"; + desc = "ATtiny807"; + signature = 0x1E 0x93 0x23; + + memory "flash" + size = 0x2000; + offset = 0x8000; + page_size = 0x40; + readsize = 0x100; + ; + + memory "eeprom" + size = 0x80; + offset = 0x1400; + page_size = 0x20; + readsize = 0x100; + ; +; + +#------------------------------------------------------------ +# ATtiny1604 +#------------------------------------------------------------ + +part parent ".avr8x_tiny" + id = "t1604"; + desc = "ATtiny1604"; + signature = 0x1E 0x94 0x25; + + memory "flash" + size = 0x4000; + offset = 0x8000; + page_size = 0x40; + readsize = 0x100; + ; + + memory "eeprom" + size = 0x100; + offset = 0x1400; + page_size = 0x20; + readsize = 0x100; + ; +; + +#------------------------------------------------------------ +# ATtiny1606 +#------------------------------------------------------------ + +part parent ".avr8x_tiny" + id = "t1606"; + desc = "ATtiny1606"; + signature = 0x1E 0x94 0x24; + + memory "flash" + size = 0x4000; + offset = 0x8000; + page_size = 0x40; + readsize = 0x100; + ; + + memory "eeprom" + size = 0x100; + offset = 0x1400; + page_size = 0x20; + readsize = 0x100; + ; +; + +#------------------------------------------------------------ +# ATtiny1607 +#------------------------------------------------------------ + +part parent ".avr8x_tiny" + id = "t1607"; + desc = "ATtiny1607"; + signature = 0x1E 0x94 0x23; + + memory "flash" + size = 0x4000; + offset = 0x8000; + page_size = 0x40; + readsize = 0x100; + ; + + memory "eeprom" + size = 0x100; + offset = 0x1400; + page_size = 0x20; + readsize = 0x100; + ; +; + +#------------------------------------------------------------ +# ATtiny212 +#------------------------------------------------------------ + +part parent ".avr8x_tiny" + id = "t212"; + desc = "ATtiny212"; + signature = 0x1E 0x91 0x21; + + memory "flash" + size = 0x800; + offset = 0x8000; + page_size = 0x40; + readsize = 0x100; + ; + + memory "eeprom" + size = 0x40; + offset = 0x1400; + page_size = 0x20; + readsize = 0x100; + ; +; + +#------------------------------------------------------------ +# ATtiny214 +#------------------------------------------------------------ + +part parent ".avr8x_tiny" + id = "t214"; + desc = "ATtiny214"; + signature = 0x1E 0x91 0x20; + + memory "flash" + size = 0x800; + offset = 0x8000; + page_size = 0x40; + readsize = 0x100; + ; + + memory "eeprom" + size = 0x40; + offset = 0x1400; + page_size = 0x20; + readsize = 0x100; + ; +; + +#------------------------------------------------------------ +# ATtiny412 +#------------------------------------------------------------ + +part parent ".avr8x_tiny" + id = "t412"; + desc = "ATtiny412"; + signature = 0x1E 0x92 0x23; + + memory "flash" + size = 0x1000; + offset = 0x8000; + page_size = 0x40; + readsize = 0x100; + ; + + memory "eeprom" + size = 0x80; + offset = 0x1400; + page_size = 0x20; + readsize = 0x100; + ; +; + + +#------------------------------------------------------------ +# ATtiny414 +#------------------------------------------------------------ + +part parent ".avr8x_tiny" + id = "t414"; + desc = "ATtiny414"; + signature = 0x1E 0x92 0x22; + + memory "flash" + size = 0x1000; + offset = 0x8000; + page_size = 0x40; + readsize = 0x100; + ; + + memory "eeprom" + size = 0x80; + offset = 0x1400; + page_size = 0x20; + readsize = 0x100; + ; +; + +#------------------------------------------------------------ +# ATtiny416 +#------------------------------------------------------------ + +part parent ".avr8x_tiny" + id = "t416"; + desc = "ATtiny416"; + signature = 0x1E 0x92 0x21; + + memory "flash" + size = 0x1000; + offset = 0x8000; + page_size = 0x40; + readsize = 0x100; + ; + + memory "eeprom" + size = 0x80; + offset = 0x1400; + page_size = 0x20; + readsize = 0x100; + ; +; + + +#------------------------------------------------------------ +# ATtiny417 +#------------------------------------------------------------ + +part parent ".avr8x_tiny" + id = "t417"; + desc = "ATtiny417"; + signature = 0x1E 0x92 0x20; + + memory "flash" + size = 0x1000; + offset = 0x8000; + page_size = 0x40; + readsize = 0x100; + ; + + memory "eeprom" + size = 0x80; + offset = 0x1400; + page_size = 0x20; + readsize = 0x100; + ; +; + + +#------------------------------------------------------------ +# ATtiny814 +#------------------------------------------------------------ + +part parent ".avr8x_tiny" + id = "t814"; + desc = "ATtiny814"; + signature = 0x1E 0x93 0x22; + + memory "flash" + size = 0x2000; + offset = 0x8000; + page_size = 0x40; + readsize = 0x100; + ; + + memory "eeprom" + size = 0x80; + offset = 0x1400; + page_size = 0x20; + readsize = 0x100; + ; +; + + +#------------------------------------------------------------ +# ATtiny816 +#------------------------------------------------------------ + +part parent ".avr8x_tiny" + id = "t816"; + desc = "ATtiny816"; + signature = 0x1E 0x93 0x21; + + memory "flash" + size = 0x2000; + offset = 0x8000; + page_size = 0x40; + readsize = 0x100; + ; + + memory "eeprom" + size = 0x80; + offset = 0x1400; + page_size = 0x20; + readsize = 0x100; + ; +; + +#------------------------------------------------------------ +# ATtiny817 +#------------------------------------------------------------ + +part parent ".avr8x_tiny" + id = "t817"; + desc = "ATtiny817"; + signature = 0x1E 0x93 0x20; + + memory "flash" + size = 0x2000; + offset = 0x8000; + page_size = 0x40; + readsize = 0x100; + ; + + memory "eeprom" + size = 0x80; + offset = 0x1400; + page_size = 0x20; + readsize = 0x100; + ; +; + +#------------------------------------------------------------ +# ATtiny1614 +#------------------------------------------------------------ + +part parent ".avr8x_tiny" + id = "t1614"; + desc = "ATtiny1614"; + signature = 0x1E 0x94 0x22; + + memory "flash" + size = 0x4000; + offset = 0x8000; + page_size = 0x40; + readsize = 0x100; + ; + + memory "eeprom" + size = 0x100; + offset = 0x1400; + page_size = 0x20; + readsize = 0x100; + ; +; + +#------------------------------------------------------------ +# ATtiny1616 +#------------------------------------------------------------ + +part parent ".avr8x_tiny" + id = "t1616"; + desc = "ATtiny1616"; + signature = 0x1E 0x94 0x21; + + memory "flash" + size = 0x4000; + offset = 0x8000; + page_size = 0x40; + readsize = 0x100; + ; + + memory "eeprom" + size = 0x100; + offset = 0x1400; + page_size = 0x20; + readsize = 0x100; + ; +; + +#------------------------------------------------------------ +# ATtiny1617 +#------------------------------------------------------------ + +part parent ".avr8x_tiny" + id = "t1617"; + desc = "ATtiny1617"; + signature = 0x1E 0x94 0x20; + + memory "flash" + size = 0x4000; + offset = 0x8000; + page_size = 0x40; + readsize = 0x100; + ; + + memory "eeprom" + size = 0x100; + offset = 0x1400; + page_size = 0x20; + readsize = 0x100; + ; +; + +#------------------------------------------------------------ +# ATtiny3214 +#------------------------------------------------------------ + +part parent ".avr8x_tiny" + id = "t3214"; + desc = "ATtiny3214"; + signature = 0x1E 0x95 0x20; + + memory "flash" + size = 0x8000; + offset = 0x8000; + page_size = 0x80; + readsize = 0x100; + ; + + memory "eeprom" + size = 0x100; + offset = 0x1400; + page_size = 0x40; + readsize = 0x100; + ; +; + +#------------------------------------------------------------ +# ATtiny3216 +#------------------------------------------------------------ + +part parent ".avr8x_tiny" + id = "t3216"; + desc = "ATtiny3216"; + signature = 0x1E 0x95 0x21; + + memory "flash" + size = 0x8000; + offset = 0x8000; + page_size = 0x80; + readsize = 0x100; + ; + + memory "eeprom" + size = 0x100; + offset = 0x1400; + page_size = 0x40; + readsize = 0x100; + ; +; + +#------------------------------------------------------------ +# ATtiny3217 +#------------------------------------------------------------ + +part parent ".avr8x_tiny" + id = "t3217"; + desc = "ATtiny3217"; + signature = 0x1E 0x95 0x22; + + memory "flash" + size = 0x8000; + offset = 0x8000; + page_size = 0x80; + readsize = 0x100; + ; + + memory "eeprom" + size = 0x100; + offset = 0x1400; + page_size = 0x40; + readsize = 0x100; + ; +; + +#------------------------------------------------------------ +# ATmega3208 +#------------------------------------------------------------ + +part parent ".avr8x_mega" + id = "m3208"; + desc = "ATmega3208"; + signature = 0x1E 0x95 0x52; + + memory "flash" + size = 0x8000; + offset = 0x4000; + page_size = 0x80; + readsize = 0x100; + ; + + memory "eeprom" + size = 0x100; + offset = 0x1400; + page_size = 0x40; + readsize = 0x100; + ; +; + +#------------------------------------------------------------ +# ATmega3209 +#------------------------------------------------------------ + +part parent ".avr8x_mega" + id = "m3209"; + desc = "ATmega3209"; + signature = 0x1E 0x95 0x53; + + memory "flash" + size = 0x8000; + offset = 0x4000; + page_size = 0x80; + readsize = 0x100; + ; + + memory "eeprom" + size = 0x100; + offset = 0x1400; + page_size = 0x40; + readsize = 0x100; + ; +; + +#------------------------------------------------------------ +# ATmega4808 +#------------------------------------------------------------ + +part parent ".avr8x_mega" + id = "m4808"; + desc = "ATmega4808"; + signature = 0x1E 0x96 0x50; + + memory "flash" + size = 0xC000; + offset = 0x4000; + page_size = 0x80; + readsize = 0x100; + ; + + memory "eeprom" + size = 0x100; + offset = 0x1400; + page_size = 0x40; + readsize = 0x100; + ; +; + +#------------------------------------------------------------ +# ATmega4809 +#------------------------------------------------------------ + +part parent ".avr8x_mega" + id = "m4809"; + desc = "ATmega4809"; + signature = 0x1E 0x96 0x51; + + memory "flash" + size = 0xC000; + offset = 0x4000; + page_size = 0x80; + readsize = 0x100; + ; + + memory "eeprom" + size = 0x100; + offset = 0x1400; + page_size = 0x40; + readsize = 0x100; + ; +; + +programmer + id = "jtag2updi"; + desc = "JTAGv2 to UPDI bridge"; + type = "jtagmkii_pdi"; + connection_type = serial; + baudrate = 115200; +; diff --git a/hardware/tools/avr/i686-w64-mingw32/avr/include/ansidecl.h b/hardware/tools/avr/i686-w64-mingw32/avr/include/ansidecl.h new file mode 100644 index 0000000000000000000000000000000000000000..6e4bfc21f25fba689eeb896486328f45cdc537b4 --- /dev/null +++ b/hardware/tools/avr/i686-w64-mingw32/avr/include/ansidecl.h @@ -0,0 +1,329 @@ +/* ANSI and traditional C compatability macros + Copyright (C) 1991-2015 Free Software Foundation, Inc. + This file is part of the GNU C Library. + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ + +/* ANSI and traditional C compatibility macros + + ANSI C is assumed if __STDC__ is #defined. + + Macro ANSI C definition Traditional C definition + ----- ---- - ---------- ----------- - ---------- + PTR `void *' `char *' + const not defined `' + volatile not defined `' + signed not defined `' + + For ease of writing code which uses GCC extensions but needs to be + portable to other compilers, we provide the GCC_VERSION macro that + simplifies testing __GNUC__ and __GNUC_MINOR__ together, and various + wrappers around __attribute__. Also, __extension__ will be #defined + to nothing if it doesn't work. See below. */ + +#ifndef _ANSIDECL_H +#define _ANSIDECL_H 1 + +#ifdef __cplusplus +extern "C" { +#endif + +/* Every source file includes this file, + so they will all get the switch for lint. */ +/* LINTLIBRARY */ + +/* Using MACRO(x,y) in cpp #if conditionals does not work with some + older preprocessors. Thus we can't define something like this: + +#define HAVE_GCC_VERSION(MAJOR, MINOR) \ + (__GNUC__ > (MAJOR) || (__GNUC__ == (MAJOR) && __GNUC_MINOR__ >= (MINOR))) + +and then test "#if HAVE_GCC_VERSION(2,7)". + +So instead we use the macro below and test it against specific values. */ + +/* This macro simplifies testing whether we are using gcc, and if it + is of a particular minimum version. (Both major & minor numbers are + significant.) This macro will evaluate to 0 if we are not using + gcc at all. */ +#ifndef GCC_VERSION +#define GCC_VERSION (__GNUC__ * 1000 + __GNUC_MINOR__) +#endif /* GCC_VERSION */ + +#if defined (__STDC__) || defined(__cplusplus) || defined (_AIX) || (defined (__mips) && defined (_SYSTYPE_SVR4)) || defined(_WIN32) +/* All known AIX compilers implement these things (but don't always + define __STDC__). The RISC/OS MIPS compiler defines these things + in SVR4 mode, but does not define __STDC__. */ +/* eraxxon@alumni.rice.edu: The Compaq C++ compiler, unlike many other + C++ compilers, does not define __STDC__, though it acts as if this + was so. (Verified versions: 5.7, 6.2, 6.3, 6.5) */ + +#define PTR void * + +#undef const +#undef volatile +#undef signed + +/* inline requires special treatment; it's in C99, and GCC >=2.7 supports + it too, but it's not in C89. */ +#undef inline +#if __STDC_VERSION__ >= 199901L || defined(__cplusplus) || (defined(__SUNPRO_C) && defined(__C99FEATURES__)) +/* it's a keyword */ +#else +# if GCC_VERSION >= 2007 +# define inline __inline__ /* __inline__ prevents -pedantic warnings */ +# else +# define inline /* nothing */ +# endif +#endif + +#else /* Not ANSI C. */ + +#define PTR char * + +/* some systems define these in header files for non-ansi mode */ +#undef const +#undef volatile +#undef signed +#undef inline +#define const +#define volatile +#define signed +#define inline + +#endif /* ANSI C. */ + +/* Define macros for some gcc attributes. This permits us to use the + macros freely, and know that they will come into play for the + version of gcc in which they are supported. */ + +#if (GCC_VERSION < 2007) +# define __attribute__(x) +#endif + +/* Attribute __malloc__ on functions was valid as of gcc 2.96. */ +#ifndef ATTRIBUTE_MALLOC +# if (GCC_VERSION >= 2096) +# define ATTRIBUTE_MALLOC __attribute__ ((__malloc__)) +# else +# define ATTRIBUTE_MALLOC +# endif /* GNUC >= 2.96 */ +#endif /* ATTRIBUTE_MALLOC */ + +/* Attributes on labels were valid as of gcc 2.93 and g++ 4.5. For + g++ an attribute on a label must be followed by a semicolon. */ +#ifndef ATTRIBUTE_UNUSED_LABEL +# ifndef __cplusplus +# if GCC_VERSION >= 2093 +# define ATTRIBUTE_UNUSED_LABEL ATTRIBUTE_UNUSED +# else +# define ATTRIBUTE_UNUSED_LABEL +# endif +# else +# if GCC_VERSION >= 4005 +# define ATTRIBUTE_UNUSED_LABEL ATTRIBUTE_UNUSED ; +# else +# define ATTRIBUTE_UNUSED_LABEL +# endif +# endif +#endif + +/* Similarly to ARG_UNUSED below. Prior to GCC 3.4, the C++ frontend + couldn't parse attributes placed after the identifier name, and now + the entire compiler is built with C++. */ +#ifndef ATTRIBUTE_UNUSED +#if GCC_VERSION >= 3004 +# define ATTRIBUTE_UNUSED __attribute__ ((__unused__)) +#else +#define ATTRIBUTE_UNUSED +#endif +#endif /* ATTRIBUTE_UNUSED */ + +/* Before GCC 3.4, the C++ frontend couldn't parse attributes placed after the + identifier name. */ +#if ! defined(__cplusplus) || (GCC_VERSION >= 3004) +# define ARG_UNUSED(NAME) NAME ATTRIBUTE_UNUSED +#else /* !__cplusplus || GNUC >= 3.4 */ +# define ARG_UNUSED(NAME) NAME +#endif /* !__cplusplus || GNUC >= 3.4 */ + +#ifndef ATTRIBUTE_NORETURN +#define ATTRIBUTE_NORETURN __attribute__ ((__noreturn__)) +#endif /* ATTRIBUTE_NORETURN */ + +/* Attribute `nonnull' was valid as of gcc 3.3. */ +#ifndef ATTRIBUTE_NONNULL +# if (GCC_VERSION >= 3003) +# define ATTRIBUTE_NONNULL(m) __attribute__ ((__nonnull__ (m))) +# else +# define ATTRIBUTE_NONNULL(m) +# endif /* GNUC >= 3.3 */ +#endif /* ATTRIBUTE_NONNULL */ + +/* Attribute `returns_nonnull' was valid as of gcc 4.9. */ +#ifndef ATTRIBUTE_RETURNS_NONNULL +# if (GCC_VERSION >= 4009) +# define ATTRIBUTE_RETURNS_NONNULL __attribute__ ((__returns_nonnull__)) +# else +# define ATTRIBUTE_RETURNS_NONNULL +# endif /* GNUC >= 4.9 */ +#endif /* ATTRIBUTE_RETURNS_NONNULL */ + +/* Attribute `pure' was valid as of gcc 3.0. */ +#ifndef ATTRIBUTE_PURE +# if (GCC_VERSION >= 3000) +# define ATTRIBUTE_PURE __attribute__ ((__pure__)) +# else +# define ATTRIBUTE_PURE +# endif /* GNUC >= 3.0 */ +#endif /* ATTRIBUTE_PURE */ + +/* Use ATTRIBUTE_PRINTF when the format specifier must not be NULL. + This was the case for the `printf' format attribute by itself + before GCC 3.3, but as of 3.3 we need to add the `nonnull' + attribute to retain this behavior. */ +#ifndef ATTRIBUTE_PRINTF +#define ATTRIBUTE_PRINTF(m, n) __attribute__ ((__format__ (__printf__, m, n))) ATTRIBUTE_NONNULL(m) +#define ATTRIBUTE_PRINTF_1 ATTRIBUTE_PRINTF(1, 2) +#define ATTRIBUTE_PRINTF_2 ATTRIBUTE_PRINTF(2, 3) +#define ATTRIBUTE_PRINTF_3 ATTRIBUTE_PRINTF(3, 4) +#define ATTRIBUTE_PRINTF_4 ATTRIBUTE_PRINTF(4, 5) +#define ATTRIBUTE_PRINTF_5 ATTRIBUTE_PRINTF(5, 6) +#endif /* ATTRIBUTE_PRINTF */ + +/* Use ATTRIBUTE_FPTR_PRINTF when the format attribute is to be set on + a function pointer. Format attributes were allowed on function + pointers as of gcc 3.1. */ +#ifndef ATTRIBUTE_FPTR_PRINTF +# if (GCC_VERSION >= 3001) +# define ATTRIBUTE_FPTR_PRINTF(m, n) ATTRIBUTE_PRINTF(m, n) +# else +# define ATTRIBUTE_FPTR_PRINTF(m, n) +# endif /* GNUC >= 3.1 */ +# define ATTRIBUTE_FPTR_PRINTF_1 ATTRIBUTE_FPTR_PRINTF(1, 2) +# define ATTRIBUTE_FPTR_PRINTF_2 ATTRIBUTE_FPTR_PRINTF(2, 3) +# define ATTRIBUTE_FPTR_PRINTF_3 ATTRIBUTE_FPTR_PRINTF(3, 4) +# define ATTRIBUTE_FPTR_PRINTF_4 ATTRIBUTE_FPTR_PRINTF(4, 5) +# define ATTRIBUTE_FPTR_PRINTF_5 ATTRIBUTE_FPTR_PRINTF(5, 6) +#endif /* ATTRIBUTE_FPTR_PRINTF */ + +/* Use ATTRIBUTE_NULL_PRINTF when the format specifier may be NULL. A + NULL format specifier was allowed as of gcc 3.3. */ +#ifndef ATTRIBUTE_NULL_PRINTF +# if (GCC_VERSION >= 3003) +# define ATTRIBUTE_NULL_PRINTF(m, n) __attribute__ ((__format__ (__printf__, m, n))) +# else +# define ATTRIBUTE_NULL_PRINTF(m, n) +# endif /* GNUC >= 3.3 */ +# define ATTRIBUTE_NULL_PRINTF_1 ATTRIBUTE_NULL_PRINTF(1, 2) +# define ATTRIBUTE_NULL_PRINTF_2 ATTRIBUTE_NULL_PRINTF(2, 3) +# define ATTRIBUTE_NULL_PRINTF_3 ATTRIBUTE_NULL_PRINTF(3, 4) +# define ATTRIBUTE_NULL_PRINTF_4 ATTRIBUTE_NULL_PRINTF(4, 5) +# define ATTRIBUTE_NULL_PRINTF_5 ATTRIBUTE_NULL_PRINTF(5, 6) +#endif /* ATTRIBUTE_NULL_PRINTF */ + +/* Attribute `sentinel' was valid as of gcc 3.5. */ +#ifndef ATTRIBUTE_SENTINEL +# if (GCC_VERSION >= 3005) +# define ATTRIBUTE_SENTINEL __attribute__ ((__sentinel__)) +# else +# define ATTRIBUTE_SENTINEL +# endif /* GNUC >= 3.5 */ +#endif /* ATTRIBUTE_SENTINEL */ + + +#ifndef ATTRIBUTE_ALIGNED_ALIGNOF +# if (GCC_VERSION >= 3000) +# define ATTRIBUTE_ALIGNED_ALIGNOF(m) __attribute__ ((__aligned__ (__alignof__ (m)))) +# else +# define ATTRIBUTE_ALIGNED_ALIGNOF(m) +# endif /* GNUC >= 3.0 */ +#endif /* ATTRIBUTE_ALIGNED_ALIGNOF */ + +/* Useful for structures whose layout must much some binary specification + regardless of the alignment and padding qualities of the compiler. */ +#ifndef ATTRIBUTE_PACKED +# define ATTRIBUTE_PACKED __attribute__ ((packed)) +#endif + +/* Attribute `hot' and `cold' was valid as of gcc 4.3. */ +#ifndef ATTRIBUTE_COLD +# if (GCC_VERSION >= 4003) +# define ATTRIBUTE_COLD __attribute__ ((__cold__)) +# else +# define ATTRIBUTE_COLD +# endif /* GNUC >= 4.3 */ +#endif /* ATTRIBUTE_COLD */ +#ifndef ATTRIBUTE_HOT +# if (GCC_VERSION >= 4003) +# define ATTRIBUTE_HOT __attribute__ ((__hot__)) +# else +# define ATTRIBUTE_HOT +# endif /* GNUC >= 4.3 */ +#endif /* ATTRIBUTE_HOT */ + +/* Attribute 'no_sanitize_undefined' was valid as of gcc 4.9. */ +#ifndef ATTRIBUTE_NO_SANITIZE_UNDEFINED +# if (GCC_VERSION >= 4009) +# define ATTRIBUTE_NO_SANITIZE_UNDEFINED __attribute__ ((no_sanitize_undefined)) +# else +# define ATTRIBUTE_NO_SANITIZE_UNDEFINED +# endif /* GNUC >= 4.9 */ +#endif /* ATTRIBUTE_NO_SANITIZE_UNDEFINED */ + +/* We use __extension__ in some places to suppress -pedantic warnings + about GCC extensions. This feature didn't work properly before + gcc 2.8. */ +#if GCC_VERSION < 2008 +#define __extension__ +#endif + +/* This is used to declare a const variable which should be visible + outside of the current compilation unit. Use it as + EXPORTED_CONST int i = 1; + This is because the semantics of const are different in C and C++. + "extern const" is permitted in C but it looks strange, and gcc + warns about it when -Wc++-compat is not used. */ +#ifdef __cplusplus +#define EXPORTED_CONST extern const +#else +#define EXPORTED_CONST const +#endif + +/* Be conservative and only use enum bitfields with C++ or GCC. + FIXME: provide a complete autoconf test for buggy enum bitfields. */ + +#ifdef __cplusplus +#define ENUM_BITFIELD(TYPE) enum TYPE +#elif (GCC_VERSION > 2000) +#define ENUM_BITFIELD(TYPE) __extension__ enum TYPE +#else +#define ENUM_BITFIELD(TYPE) unsigned int +#endif + + /* This is used to mark a class or virtual function as final. */ +#if __cplusplus >= 201103L +#define GCC_FINAL final +#elif GCC_VERSION >= 4007 +#define GCC_FINAL __final +#else +#define GCC_FINAL +#endif + +#ifdef __cplusplus +} +#endif + +#endif /* ansidecl.h */ diff --git a/hardware/tools/avr/i686-w64-mingw32/avr/include/bfd.h b/hardware/tools/avr/i686-w64-mingw32/avr/include/bfd.h new file mode 100644 index 0000000000000000000000000000000000000000..b212b6f9d9f36985126878f4728104cfd3adaf0a --- /dev/null +++ b/hardware/tools/avr/i686-w64-mingw32/avr/include/bfd.h @@ -0,0 +1,7569 @@ +/* DO NOT EDIT! -*- buffer-read-only: t -*- This file is automatically + generated from "bfd-in.h", "init.c", "opncls.c", "libbfd.c", + "bfdio.c", "bfdwin.c", "section.c", "archures.c", "reloc.c", + "syms.c", "bfd.c", "archive.c", "corefile.c", "targets.c", "format.c", + "linker.c", "simple.c" and "compress.c". + Run "make headers" in your build bfd/ to regenerate. */ + +/* Main header file for the bfd library -- portable access to object files. + + Copyright (C) 1990-2015 Free Software Foundation, Inc. + + Contributed by Cygnus Support. + + This file is part of BFD, the Binary File Descriptor library. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ + +#ifndef __BFD_H_SEEN__ +#define __BFD_H_SEEN__ + +/* PR 14072: Ensure that config.h is included first. */ +#if !defined PACKAGE && !defined PACKAGE_VERSION +#error config.h must be included before this header +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +#include "ansidecl.h" +#include "symcat.h" +#include + +#if defined (__STDC__) || defined (ALMOST_STDC) || defined (HAVE_STRINGIZE) +#ifndef SABER +/* This hack is to avoid a problem with some strict ANSI C preprocessors. + The problem is, "32_" is not a valid preprocessing token, and we don't + want extra underscores (e.g., "nlm_32_"). The XCONCAT2 macro will + cause the inner CONCAT2 macros to be evaluated first, producing + still-valid pp-tokens. Then the final concatenation can be done. */ +#undef CONCAT4 +#define CONCAT4(a,b,c,d) XCONCAT2(CONCAT2(a,b),CONCAT2(c,d)) +#endif +#endif + +/* This is a utility macro to handle the situation where the code + wants to place a constant string into the code, followed by a + comma and then the length of the string. Doing this by hand + is error prone, so using this macro is safer. */ +#define STRING_COMMA_LEN(STR) (STR), (sizeof (STR) - 1) +/* Unfortunately it is not possible to use the STRING_COMMA_LEN macro + to create the arguments to another macro, since the preprocessor + will mis-count the number of arguments to the outer macro (by not + evaluating STRING_COMMA_LEN and so missing the comma). This is a + problem for example when trying to use STRING_COMMA_LEN to build + the arguments to the strncmp() macro. Hence this alternative + definition of strncmp is provided here. + + Note - these macros do NOT work if STR2 is not a constant string. */ +#define CONST_STRNEQ(STR1,STR2) (strncmp ((STR1), (STR2), sizeof (STR2) - 1) == 0) + /* strcpy() can have a similar problem, but since we know we are + copying a constant string, we can use memcpy which will be faster + since there is no need to check for a NUL byte inside STR. We + can also save time if we do not need to copy the terminating NUL. */ +#define LITMEMCPY(DEST,STR2) memcpy ((DEST), (STR2), sizeof (STR2) - 1) +#define LITSTRCPY(DEST,STR2) memcpy ((DEST), (STR2), sizeof (STR2)) + + +#define BFD_SUPPORTS_PLUGINS 1 + +/* The word size used by BFD on the host. This may be 64 with a 32 + bit target if the host is 64 bit, or if other 64 bit targets have + been selected with --enable-targets, or if --enable-64-bit-bfd. */ +#define BFD_ARCH_SIZE 32 + +/* The word size of the default bfd target. */ +#define BFD_DEFAULT_TARGET_SIZE 32 + +#define BFD_HOST_64BIT_LONG 0 +#define BFD_HOST_64BIT_LONG_LONG 1 +#if 1 +#define BFD_HOST_64_BIT long long +#define BFD_HOST_U_64_BIT unsigned long long +typedef BFD_HOST_64_BIT bfd_int64_t; +typedef BFD_HOST_U_64_BIT bfd_uint64_t; +#endif + +#if BFD_ARCH_SIZE >= 64 +#define BFD64 +#endif + +#ifndef INLINE +#if __GNUC__ >= 2 +#define INLINE __inline__ +#else +#define INLINE +#endif +#endif + +/* Declaring a type wide enough to hold a host long and a host pointer. */ +#define BFD_HOSTPTR_T unsigned long +typedef BFD_HOSTPTR_T bfd_hostptr_t; + +/* Forward declaration. */ +typedef struct bfd bfd; + +/* Boolean type used in bfd. Too many systems define their own + versions of "boolean" for us to safely typedef a "boolean" of + our own. Using an enum for "bfd_boolean" has its own set of + problems, with strange looking casts required to avoid warnings + on some older compilers. Thus we just use an int. + + General rule: Functions which are bfd_boolean return TRUE on + success and FALSE on failure (unless they're a predicate). */ + +typedef int bfd_boolean; +#undef FALSE +#undef TRUE +#define FALSE 0 +#define TRUE 1 + +#ifdef BFD64 + +#ifndef BFD_HOST_64_BIT + #error No 64 bit integer type available +#endif /* ! defined (BFD_HOST_64_BIT) */ + +typedef BFD_HOST_U_64_BIT bfd_vma; +typedef BFD_HOST_64_BIT bfd_signed_vma; +typedef BFD_HOST_U_64_BIT bfd_size_type; +typedef BFD_HOST_U_64_BIT symvalue; + +#if BFD_HOST_64BIT_LONG +#define BFD_VMA_FMT "l" +#elif defined (__MSVCRT__) +#define BFD_VMA_FMT "I64" +#else +#define BFD_VMA_FMT "ll" +#endif + +#ifndef fprintf_vma +#define sprintf_vma(s,x) sprintf (s, "%016" BFD_VMA_FMT "x", x) +#define fprintf_vma(f,x) fprintf (f, "%016" BFD_VMA_FMT "x", x) +#endif + +#else /* not BFD64 */ + +/* Represent a target address. Also used as a generic unsigned type + which is guaranteed to be big enough to hold any arithmetic types + we need to deal with. */ +typedef unsigned long bfd_vma; + +/* A generic signed type which is guaranteed to be big enough to hold any + arithmetic types we need to deal with. Can be assumed to be compatible + with bfd_vma in the same way that signed and unsigned ints are compatible + (as parameters, in assignment, etc). */ +typedef long bfd_signed_vma; + +typedef unsigned long symvalue; +typedef unsigned long bfd_size_type; + +/* Print a bfd_vma x on stream s. */ +#define BFD_VMA_FMT "l" +#define fprintf_vma(s,x) fprintf (s, "%08" BFD_VMA_FMT "x", x) +#define sprintf_vma(s,x) sprintf (s, "%08" BFD_VMA_FMT "x", x) + +#endif /* not BFD64 */ + +#define HALF_BFD_SIZE_TYPE \ + (((bfd_size_type) 1) << (8 * sizeof (bfd_size_type) / 2)) + +#ifndef BFD_HOST_64_BIT +/* Fall back on a 32 bit type. The idea is to make these types always + available for function return types, but in the case that + BFD_HOST_64_BIT is undefined such a function should abort or + otherwise signal an error. */ +typedef bfd_signed_vma bfd_int64_t; +typedef bfd_vma bfd_uint64_t; +#endif + +/* An offset into a file. BFD always uses the largest possible offset + based on the build time availability of fseek, fseeko, or fseeko64. */ +typedef BFD_HOST_64_BIT file_ptr; +typedef unsigned BFD_HOST_64_BIT ufile_ptr; + +extern void bfd_sprintf_vma (bfd *, char *, bfd_vma); +extern void bfd_fprintf_vma (bfd *, void *, bfd_vma); + +#define printf_vma(x) fprintf_vma(stdout,x) +#define bfd_printf_vma(abfd,x) bfd_fprintf_vma (abfd,stdout,x) + +typedef unsigned int flagword; /* 32 bits of flags */ +typedef unsigned char bfd_byte; + +/* File formats. */ + +typedef enum bfd_format +{ + bfd_unknown = 0, /* File format is unknown. */ + bfd_object, /* Linker/assembler/compiler output. */ + bfd_archive, /* Object archive file. */ + bfd_core, /* Core dump. */ + bfd_type_end /* Marks the end; don't use it! */ +} +bfd_format; + +/* Symbols and relocation. */ + +/* A count of carsyms (canonical archive symbols). */ +typedef unsigned long symindex; + +/* How to perform a relocation. */ +typedef const struct reloc_howto_struct reloc_howto_type; + +#define BFD_NO_MORE_SYMBOLS ((symindex) ~0) + +/* General purpose part of a symbol X; + target specific parts are in libcoff.h, libaout.h, etc. */ + +#define bfd_get_section(x) ((x)->section) +#define bfd_get_output_section(x) ((x)->section->output_section) +#define bfd_set_section(x,y) ((x)->section) = (y) +#define bfd_asymbol_base(x) ((x)->section->vma) +#define bfd_asymbol_value(x) (bfd_asymbol_base(x) + (x)->value) +#define bfd_asymbol_name(x) ((x)->name) +/*Perhaps future: #define bfd_asymbol_bfd(x) ((x)->section->owner)*/ +#define bfd_asymbol_bfd(x) ((x)->the_bfd) +#define bfd_asymbol_flavour(x) \ + (((x)->flags & BSF_SYNTHETIC) != 0 \ + ? bfd_target_unknown_flavour \ + : bfd_asymbol_bfd (x)->xvec->flavour) + +/* A canonical archive symbol. */ +/* This is a type pun with struct ranlib on purpose! */ +typedef struct carsym +{ + char *name; + file_ptr file_offset; /* Look here to find the file. */ +} +carsym; /* To make these you call a carsymogen. */ + +/* Used in generating armaps (archive tables of contents). + Perhaps just a forward definition would do? */ +struct orl /* Output ranlib. */ +{ + char **name; /* Symbol name. */ + union + { + file_ptr pos; + bfd *abfd; + } u; /* bfd* or file position. */ + int namidx; /* Index into string table. */ +}; + +/* Linenumber stuff. */ +typedef struct lineno_cache_entry +{ + unsigned int line_number; /* Linenumber from start of function. */ + union + { + struct bfd_symbol *sym; /* Function name. */ + bfd_vma offset; /* Offset into section. */ + } u; +} +alent; + +/* Object and core file sections. */ + +#define align_power(addr, align) \ + (((addr) + ((bfd_vma) 1 << (align)) - 1) & (-((bfd_vma) 1 << (align)))) + +typedef struct bfd_section *sec_ptr; + +#define bfd_get_section_name(bfd, ptr) ((void) bfd, (ptr)->name) +#define bfd_get_section_vma(bfd, ptr) ((void) bfd, (ptr)->vma) +#define bfd_get_section_lma(bfd, ptr) ((void) bfd, (ptr)->lma) +#define bfd_get_section_alignment(bfd, ptr) ((void) bfd, \ + (ptr)->alignment_power) +#define bfd_section_name(bfd, ptr) ((ptr)->name) +#define bfd_section_size(bfd, ptr) ((ptr)->size) +#define bfd_get_section_size(ptr) ((ptr)->size) +#define bfd_section_vma(bfd, ptr) ((ptr)->vma) +#define bfd_section_lma(bfd, ptr) ((ptr)->lma) +#define bfd_section_alignment(bfd, ptr) ((ptr)->alignment_power) +#define bfd_get_section_flags(bfd, ptr) ((void) bfd, (ptr)->flags) +#define bfd_get_section_userdata(bfd, ptr) ((void) bfd, (ptr)->userdata) + +#define bfd_is_com_section(ptr) (((ptr)->flags & SEC_IS_COMMON) != 0) + +#define bfd_get_section_limit_octets(bfd, sec) \ + ((bfd)->direction != write_direction && (sec)->rawsize != 0 \ + ? (sec)->rawsize : (sec)->size) + +/* Find the address one past the end of SEC. */ +#define bfd_get_section_limit(bfd, sec) \ + (bfd_get_section_limit_octets(bfd, sec) / bfd_octets_per_byte (bfd)) + +/* Return TRUE if input section SEC has been discarded. */ +#define discarded_section(sec) \ + (!bfd_is_abs_section (sec) \ + && bfd_is_abs_section ((sec)->output_section) \ + && (sec)->sec_info_type != SEC_INFO_TYPE_MERGE \ + && (sec)->sec_info_type != SEC_INFO_TYPE_JUST_SYMS) + +typedef enum bfd_print_symbol +{ + bfd_print_symbol_name, + bfd_print_symbol_more, + bfd_print_symbol_all +} bfd_print_symbol_type; + +/* Information about a symbol that nm needs. */ + +typedef struct _symbol_info +{ + symvalue value; + char type; + const char *name; /* Symbol name. */ + unsigned char stab_type; /* Stab type. */ + char stab_other; /* Stab other. */ + short stab_desc; /* Stab desc. */ + const char *stab_name; /* String for stab type. */ +} symbol_info; + +/* Get the name of a stabs type code. */ + +extern const char *bfd_get_stab_name (int); + +/* Hash table routines. There is no way to free up a hash table. */ + +/* An element in the hash table. Most uses will actually use a larger + structure, and an instance of this will be the first field. */ + +struct bfd_hash_entry +{ + /* Next entry for this hash code. */ + struct bfd_hash_entry *next; + /* String being hashed. */ + const char *string; + /* Hash code. This is the full hash code, not the index into the + table. */ + unsigned long hash; +}; + +/* A hash table. */ + +struct bfd_hash_table +{ + /* The hash array. */ + struct bfd_hash_entry **table; + /* A function used to create new elements in the hash table. The + first entry is itself a pointer to an element. When this + function is first invoked, this pointer will be NULL. However, + having the pointer permits a hierarchy of method functions to be + built each of which calls the function in the superclass. Thus + each function should be written to allocate a new block of memory + only if the argument is NULL. */ + struct bfd_hash_entry *(*newfunc) + (struct bfd_hash_entry *, struct bfd_hash_table *, const char *); + /* An objalloc for this hash table. This is a struct objalloc *, + but we use void * to avoid requiring the inclusion of objalloc.h. */ + void *memory; + /* The number of slots in the hash table. */ + unsigned int size; + /* The number of entries in the hash table. */ + unsigned int count; + /* The size of elements. */ + unsigned int entsize; + /* If non-zero, don't grow the hash table. */ + unsigned int frozen:1; +}; + +/* Initialize a hash table. */ +extern bfd_boolean bfd_hash_table_init + (struct bfd_hash_table *, + struct bfd_hash_entry *(*) (struct bfd_hash_entry *, + struct bfd_hash_table *, + const char *), + unsigned int); + +/* Initialize a hash table specifying a size. */ +extern bfd_boolean bfd_hash_table_init_n + (struct bfd_hash_table *, + struct bfd_hash_entry *(*) (struct bfd_hash_entry *, + struct bfd_hash_table *, + const char *), + unsigned int, unsigned int); + +/* Free up a hash table. */ +extern void bfd_hash_table_free + (struct bfd_hash_table *); + +/* Look up a string in a hash table. If CREATE is TRUE, a new entry + will be created for this string if one does not already exist. The + COPY argument must be TRUE if this routine should copy the string + into newly allocated memory when adding an entry. */ +extern struct bfd_hash_entry *bfd_hash_lookup + (struct bfd_hash_table *, const char *, bfd_boolean create, + bfd_boolean copy); + +/* Insert an entry in a hash table. */ +extern struct bfd_hash_entry *bfd_hash_insert + (struct bfd_hash_table *, const char *, unsigned long); + +/* Rename an entry in a hash table. */ +extern void bfd_hash_rename + (struct bfd_hash_table *, const char *, struct bfd_hash_entry *); + +/* Replace an entry in a hash table. */ +extern void bfd_hash_replace + (struct bfd_hash_table *, struct bfd_hash_entry *old, + struct bfd_hash_entry *nw); + +/* Base method for creating a hash table entry. */ +extern struct bfd_hash_entry *bfd_hash_newfunc + (struct bfd_hash_entry *, struct bfd_hash_table *, const char *); + +/* Grab some space for a hash table entry. */ +extern void *bfd_hash_allocate + (struct bfd_hash_table *, unsigned int); + +/* Traverse a hash table in a random order, calling a function on each + element. If the function returns FALSE, the traversal stops. The + INFO argument is passed to the function. */ +extern void bfd_hash_traverse + (struct bfd_hash_table *, + bfd_boolean (*) (struct bfd_hash_entry *, void *), + void *info); + +/* Allows the default size of a hash table to be configured. New hash + tables allocated using bfd_hash_table_init will be created with + this size. */ +extern unsigned long bfd_hash_set_default_size (unsigned long); + +/* Types of compressed DWARF debug sections. We currently support + zlib. */ +enum compressed_debug_section_type +{ + COMPRESS_DEBUG_NONE = 0, + COMPRESS_DEBUG = 1 << 0, + COMPRESS_DEBUG_GNU_ZLIB = COMPRESS_DEBUG | 1 << 1, + COMPRESS_DEBUG_GABI_ZLIB = COMPRESS_DEBUG | 1 << 2 +}; + +/* This structure is used to keep track of stabs in sections + information while linking. */ + +struct stab_info +{ + /* A hash table used to hold stabs strings. */ + struct bfd_strtab_hash *strings; + /* The header file hash table. */ + struct bfd_hash_table includes; + /* The first .stabstr section. */ + struct bfd_section *stabstr; +}; + +#define COFF_SWAP_TABLE (void *) &bfd_coff_std_swap_table + +/* User program access to BFD facilities. */ + +/* Direct I/O routines, for programs which know more about the object + file than BFD does. Use higher level routines if possible. */ + +extern bfd_size_type bfd_bread (void *, bfd_size_type, bfd *); +extern bfd_size_type bfd_bwrite (const void *, bfd_size_type, bfd *); +extern int bfd_seek (bfd *, file_ptr, int); +extern file_ptr bfd_tell (bfd *); +extern int bfd_flush (bfd *); +extern int bfd_stat (bfd *, struct stat *); + +/* Deprecated old routines. */ +#if __GNUC__ +#define bfd_read(BUF, ELTSIZE, NITEMS, ABFD) \ + (warn_deprecated ("bfd_read", __FILE__, __LINE__, __FUNCTION__), \ + bfd_bread ((BUF), (ELTSIZE) * (NITEMS), (ABFD))) +#define bfd_write(BUF, ELTSIZE, NITEMS, ABFD) \ + (warn_deprecated ("bfd_write", __FILE__, __LINE__, __FUNCTION__), \ + bfd_bwrite ((BUF), (ELTSIZE) * (NITEMS), (ABFD))) +#else +#define bfd_read(BUF, ELTSIZE, NITEMS, ABFD) \ + (warn_deprecated ("bfd_read", (const char *) 0, 0, (const char *) 0), \ + bfd_bread ((BUF), (ELTSIZE) * (NITEMS), (ABFD))) +#define bfd_write(BUF, ELTSIZE, NITEMS, ABFD) \ + (warn_deprecated ("bfd_write", (const char *) 0, 0, (const char *) 0),\ + bfd_bwrite ((BUF), (ELTSIZE) * (NITEMS), (ABFD))) +#endif +extern void warn_deprecated (const char *, const char *, int, const char *); + +/* Cast from const char * to char * so that caller can assign to + a char * without a warning. */ +#define bfd_get_filename(abfd) ((char *) (abfd)->filename) +#define bfd_get_cacheable(abfd) ((abfd)->cacheable) +#define bfd_get_format(abfd) ((abfd)->format) +#define bfd_get_target(abfd) ((abfd)->xvec->name) +#define bfd_get_flavour(abfd) ((abfd)->xvec->flavour) +#define bfd_family_coff(abfd) \ + (bfd_get_flavour (abfd) == bfd_target_coff_flavour || \ + bfd_get_flavour (abfd) == bfd_target_xcoff_flavour) +#define bfd_big_endian(abfd) ((abfd)->xvec->byteorder == BFD_ENDIAN_BIG) +#define bfd_little_endian(abfd) ((abfd)->xvec->byteorder == BFD_ENDIAN_LITTLE) +#define bfd_header_big_endian(abfd) \ + ((abfd)->xvec->header_byteorder == BFD_ENDIAN_BIG) +#define bfd_header_little_endian(abfd) \ + ((abfd)->xvec->header_byteorder == BFD_ENDIAN_LITTLE) +#define bfd_get_file_flags(abfd) ((abfd)->flags) +#define bfd_applicable_file_flags(abfd) ((abfd)->xvec->object_flags) +#define bfd_applicable_section_flags(abfd) ((abfd)->xvec->section_flags) +#define bfd_my_archive(abfd) ((abfd)->my_archive) +#define bfd_has_map(abfd) ((abfd)->has_armap) +#define bfd_is_thin_archive(abfd) ((abfd)->is_thin_archive) + +#define bfd_valid_reloc_types(abfd) ((abfd)->xvec->valid_reloc_types) +#define bfd_usrdata(abfd) ((abfd)->usrdata) + +#define bfd_get_start_address(abfd) ((abfd)->start_address) +#define bfd_get_symcount(abfd) ((abfd)->symcount) +#define bfd_get_outsymbols(abfd) ((abfd)->outsymbols) +#define bfd_count_sections(abfd) ((abfd)->section_count) + +#define bfd_get_dynamic_symcount(abfd) ((abfd)->dynsymcount) + +#define bfd_get_symbol_leading_char(abfd) ((abfd)->xvec->symbol_leading_char) + +extern bfd_boolean bfd_cache_close + (bfd *abfd); +/* NB: This declaration should match the autogenerated one in libbfd.h. */ + +extern bfd_boolean bfd_cache_close_all (void); + +extern bfd_boolean bfd_record_phdr + (bfd *, unsigned long, bfd_boolean, flagword, bfd_boolean, bfd_vma, + bfd_boolean, bfd_boolean, unsigned int, struct bfd_section **); + +/* Byte swapping routines. */ + +bfd_uint64_t bfd_getb64 (const void *); +bfd_uint64_t bfd_getl64 (const void *); +bfd_int64_t bfd_getb_signed_64 (const void *); +bfd_int64_t bfd_getl_signed_64 (const void *); +bfd_vma bfd_getb32 (const void *); +bfd_vma bfd_getl32 (const void *); +bfd_signed_vma bfd_getb_signed_32 (const void *); +bfd_signed_vma bfd_getl_signed_32 (const void *); +bfd_vma bfd_getb16 (const void *); +bfd_vma bfd_getl16 (const void *); +bfd_signed_vma bfd_getb_signed_16 (const void *); +bfd_signed_vma bfd_getl_signed_16 (const void *); +void bfd_putb64 (bfd_uint64_t, void *); +void bfd_putl64 (bfd_uint64_t, void *); +void bfd_putb32 (bfd_vma, void *); +void bfd_putl32 (bfd_vma, void *); +void bfd_putb16 (bfd_vma, void *); +void bfd_putl16 (bfd_vma, void *); + +/* Byte swapping routines which take size and endiannes as arguments. */ + +bfd_uint64_t bfd_get_bits (const void *, int, bfd_boolean); +void bfd_put_bits (bfd_uint64_t, void *, int, bfd_boolean); + +#if defined(__STDC__) || defined(ALMOST_STDC) +struct ecoff_debug_info; +struct ecoff_debug_swap; +struct ecoff_extr; +struct bfd_symbol; +struct bfd_link_info; +struct bfd_link_hash_entry; +struct bfd_section_already_linked; +struct bfd_elf_version_tree; +#endif + +extern bfd_boolean bfd_section_already_linked_table_init (void); +extern void bfd_section_already_linked_table_free (void); +extern bfd_boolean _bfd_handle_already_linked + (struct bfd_section *, struct bfd_section_already_linked *, + struct bfd_link_info *); + +/* Externally visible ECOFF routines. */ + +extern bfd_vma bfd_ecoff_get_gp_value + (bfd * abfd); +extern bfd_boolean bfd_ecoff_set_gp_value + (bfd *abfd, bfd_vma gp_value); +extern bfd_boolean bfd_ecoff_set_regmasks + (bfd *abfd, unsigned long gprmask, unsigned long fprmask, + unsigned long *cprmask); +extern void *bfd_ecoff_debug_init + (bfd *output_bfd, struct ecoff_debug_info *output_debug, + const struct ecoff_debug_swap *output_swap, struct bfd_link_info *); +extern void bfd_ecoff_debug_free + (void *handle, bfd *output_bfd, struct ecoff_debug_info *output_debug, + const struct ecoff_debug_swap *output_swap, struct bfd_link_info *); +extern bfd_boolean bfd_ecoff_debug_accumulate + (void *handle, bfd *output_bfd, struct ecoff_debug_info *output_debug, + const struct ecoff_debug_swap *output_swap, bfd *input_bfd, + struct ecoff_debug_info *input_debug, + const struct ecoff_debug_swap *input_swap, struct bfd_link_info *); +extern bfd_boolean bfd_ecoff_debug_accumulate_other + (void *handle, bfd *output_bfd, struct ecoff_debug_info *output_debug, + const struct ecoff_debug_swap *output_swap, bfd *input_bfd, + struct bfd_link_info *); +extern bfd_boolean bfd_ecoff_debug_externals + (bfd *abfd, struct ecoff_debug_info *debug, + const struct ecoff_debug_swap *swap, bfd_boolean relocatable, + bfd_boolean (*get_extr) (struct bfd_symbol *, struct ecoff_extr *), + void (*set_index) (struct bfd_symbol *, bfd_size_type)); +extern bfd_boolean bfd_ecoff_debug_one_external + (bfd *abfd, struct ecoff_debug_info *debug, + const struct ecoff_debug_swap *swap, const char *name, + struct ecoff_extr *esym); +extern bfd_size_type bfd_ecoff_debug_size + (bfd *abfd, struct ecoff_debug_info *debug, + const struct ecoff_debug_swap *swap); +extern bfd_boolean bfd_ecoff_write_debug + (bfd *abfd, struct ecoff_debug_info *debug, + const struct ecoff_debug_swap *swap, file_ptr where); +extern bfd_boolean bfd_ecoff_write_accumulated_debug + (void *handle, bfd *abfd, struct ecoff_debug_info *debug, + const struct ecoff_debug_swap *swap, + struct bfd_link_info *info, file_ptr where); + +/* Externally visible ELF routines. */ + +struct bfd_link_needed_list +{ + struct bfd_link_needed_list *next; + bfd *by; + const char *name; +}; + +enum dynamic_lib_link_class { + DYN_NORMAL = 0, + DYN_AS_NEEDED = 1, + DYN_DT_NEEDED = 2, + DYN_NO_ADD_NEEDED = 4, + DYN_NO_NEEDED = 8 +}; + +enum notice_asneeded_action { + notice_as_needed, + notice_not_needed, + notice_needed +}; + +extern bfd_boolean bfd_elf_record_link_assignment + (bfd *, struct bfd_link_info *, const char *, bfd_boolean, + bfd_boolean); +extern struct bfd_link_needed_list *bfd_elf_get_needed_list + (bfd *, struct bfd_link_info *); +extern bfd_boolean bfd_elf_get_bfd_needed_list + (bfd *, struct bfd_link_needed_list **); +extern bfd_boolean bfd_elf_stack_segment_size (bfd *, struct bfd_link_info *, + const char *, bfd_vma); +extern bfd_boolean bfd_elf_size_dynamic_sections + (bfd *, const char *, const char *, const char *, const char *, const char *, + const char * const *, struct bfd_link_info *, struct bfd_section **); +extern bfd_boolean bfd_elf_size_dynsym_hash_dynstr + (bfd *, struct bfd_link_info *); +extern void bfd_elf_set_dt_needed_name + (bfd *, const char *); +extern const char *bfd_elf_get_dt_soname + (bfd *); +extern void bfd_elf_set_dyn_lib_class + (bfd *, enum dynamic_lib_link_class); +extern int bfd_elf_get_dyn_lib_class + (bfd *); +extern struct bfd_link_needed_list *bfd_elf_get_runpath_list + (bfd *, struct bfd_link_info *); +extern int bfd_elf_discard_info + (bfd *, struct bfd_link_info *); +extern unsigned int _bfd_elf_default_action_discarded + (struct bfd_section *); + +/* Return an upper bound on the number of bytes required to store a + copy of ABFD's program header table entries. Return -1 if an error + occurs; bfd_get_error will return an appropriate code. */ +extern long bfd_get_elf_phdr_upper_bound + (bfd *abfd); + +/* Copy ABFD's program header table entries to *PHDRS. The entries + will be stored as an array of Elf_Internal_Phdr structures, as + defined in include/elf/internal.h. To find out how large the + buffer needs to be, call bfd_get_elf_phdr_upper_bound. + + Return the number of program header table entries read, or -1 if an + error occurs; bfd_get_error will return an appropriate code. */ +extern int bfd_get_elf_phdrs + (bfd *abfd, void *phdrs); + +/* Create a new BFD as if by bfd_openr. Rather than opening a file, + reconstruct an ELF file by reading the segments out of remote + memory based on the ELF file header at EHDR_VMA and the ELF program + headers it points to. If non-zero, SIZE is the known extent of the + object. If not null, *LOADBASEP is filled in with the difference + between the VMAs from which the segments were read, and the VMAs + the file headers (and hence BFD's idea of each section's VMA) put + them at. + + The function TARGET_READ_MEMORY is called to copy LEN bytes from + the remote memory at target address VMA into the local buffer at + MYADDR; it should return zero on success or an `errno' code on + failure. TEMPL must be a BFD for a target with the word size and + byte order found in the remote memory. */ +extern bfd *bfd_elf_bfd_from_remote_memory + (bfd *templ, bfd_vma ehdr_vma, bfd_size_type size, bfd_vma *loadbasep, + int (*target_read_memory) (bfd_vma vma, bfd_byte *myaddr, + bfd_size_type len)); + +extern struct bfd_section *_bfd_elf_tls_setup + (bfd *, struct bfd_link_info *); + +extern struct bfd_section * +_bfd_nearby_section (bfd *, struct bfd_section *, bfd_vma); + +extern void _bfd_fix_excluded_sec_syms + (bfd *, struct bfd_link_info *); + +extern unsigned bfd_m68k_mach_to_features (int); + +extern int bfd_m68k_features_to_mach (unsigned); + +extern bfd_boolean bfd_m68k_elf32_create_embedded_relocs + (bfd *, struct bfd_link_info *, struct bfd_section *, struct bfd_section *, + char **); + +extern void bfd_elf_m68k_set_target_options (struct bfd_link_info *, int); + +extern bfd_boolean bfd_bfin_elf32_create_embedded_relocs + (bfd *, struct bfd_link_info *, struct bfd_section *, struct bfd_section *, + char **); + +extern bfd_boolean bfd_cr16_elf32_create_embedded_relocs + (bfd *, struct bfd_link_info *, struct bfd_section *, struct bfd_section *, + char **); + +/* SunOS shared library support routines for the linker. */ + +extern struct bfd_link_needed_list *bfd_sunos_get_needed_list + (bfd *, struct bfd_link_info *); +extern bfd_boolean bfd_sunos_record_link_assignment + (bfd *, struct bfd_link_info *, const char *); +extern bfd_boolean bfd_sunos_size_dynamic_sections + (bfd *, struct bfd_link_info *, struct bfd_section **, + struct bfd_section **, struct bfd_section **); + +/* Linux shared library support routines for the linker. */ + +extern bfd_boolean bfd_i386linux_size_dynamic_sections + (bfd *, struct bfd_link_info *); +extern bfd_boolean bfd_m68klinux_size_dynamic_sections + (bfd *, struct bfd_link_info *); +extern bfd_boolean bfd_sparclinux_size_dynamic_sections + (bfd *, struct bfd_link_info *); + +/* mmap hacks */ + +struct _bfd_window_internal; +typedef struct _bfd_window_internal bfd_window_internal; + +typedef struct _bfd_window +{ + /* What the user asked for. */ + void *data; + bfd_size_type size; + /* The actual window used by BFD. Small user-requested read-only + regions sharing a page may share a single window into the object + file. Read-write versions shouldn't until I've fixed things to + keep track of which portions have been claimed by the + application; don't want to give the same region back when the + application wants two writable copies! */ + struct _bfd_window_internal *i; +} +bfd_window; + +extern void bfd_init_window + (bfd_window *); +extern void bfd_free_window + (bfd_window *); +extern bfd_boolean bfd_get_file_window + (bfd *, file_ptr, bfd_size_type, bfd_window *, bfd_boolean); + +/* XCOFF support routines for the linker. */ + +extern bfd_boolean bfd_xcoff_split_import_path + (bfd *, const char *, const char **, const char **); +extern bfd_boolean bfd_xcoff_set_archive_import_path + (struct bfd_link_info *, bfd *, const char *); +extern bfd_boolean bfd_xcoff_link_record_set + (bfd *, struct bfd_link_info *, struct bfd_link_hash_entry *, bfd_size_type); +extern bfd_boolean bfd_xcoff_import_symbol + (bfd *, struct bfd_link_info *, struct bfd_link_hash_entry *, bfd_vma, + const char *, const char *, const char *, unsigned int); +extern bfd_boolean bfd_xcoff_export_symbol + (bfd *, struct bfd_link_info *, struct bfd_link_hash_entry *); +extern bfd_boolean bfd_xcoff_link_count_reloc + (bfd *, struct bfd_link_info *, const char *); +extern bfd_boolean bfd_xcoff_record_link_assignment + (bfd *, struct bfd_link_info *, const char *); +extern bfd_boolean bfd_xcoff_size_dynamic_sections + (bfd *, struct bfd_link_info *, const char *, const char *, + unsigned long, unsigned long, unsigned long, bfd_boolean, + int, bfd_boolean, unsigned int, struct bfd_section **, bfd_boolean); +extern bfd_boolean bfd_xcoff_link_generate_rtinit + (bfd *, const char *, const char *, bfd_boolean); + +/* XCOFF support routines for ar. */ +extern bfd_boolean bfd_xcoff_ar_archive_set_magic + (bfd *, char *); + +/* Externally visible COFF routines. */ + +#if defined(__STDC__) || defined(ALMOST_STDC) +struct internal_syment; +union internal_auxent; +#endif + +extern bfd_boolean bfd_coff_set_symbol_class + (bfd *, struct bfd_symbol *, unsigned int); + +extern bfd_boolean bfd_m68k_coff_create_embedded_relocs + (bfd *, struct bfd_link_info *, struct bfd_section *, struct bfd_section *, char **); + +/* ARM VFP11 erratum workaround support. */ +typedef enum +{ + BFD_ARM_VFP11_FIX_DEFAULT, + BFD_ARM_VFP11_FIX_NONE, + BFD_ARM_VFP11_FIX_SCALAR, + BFD_ARM_VFP11_FIX_VECTOR +} bfd_arm_vfp11_fix; + +extern void bfd_elf32_arm_init_maps + (bfd *); + +extern void bfd_elf32_arm_set_vfp11_fix + (bfd *, struct bfd_link_info *); + +extern void bfd_elf32_arm_set_cortex_a8_fix + (bfd *, struct bfd_link_info *); + +extern bfd_boolean bfd_elf32_arm_vfp11_erratum_scan + (bfd *, struct bfd_link_info *); + +extern void bfd_elf32_arm_vfp11_fix_veneer_locations + (bfd *, struct bfd_link_info *); + +/* ARM STM STM32L4XX erratum workaround support. */ +typedef enum +{ + BFD_ARM_STM32L4XX_FIX_NONE, + BFD_ARM_STM32L4XX_FIX_DEFAULT, + BFD_ARM_STM32L4XX_FIX_ALL +} bfd_arm_stm32l4xx_fix; + +extern void bfd_elf32_arm_set_stm32l4xx_fix + (bfd *, struct bfd_link_info *); + +extern bfd_boolean bfd_elf32_arm_stm32l4xx_erratum_scan + (bfd *, struct bfd_link_info *); + +extern void bfd_elf32_arm_stm32l4xx_fix_veneer_locations + (bfd *, struct bfd_link_info *); + +/* ARM Interworking support. Called from linker. */ +extern bfd_boolean bfd_arm_allocate_interworking_sections + (struct bfd_link_info *); + +extern bfd_boolean bfd_arm_process_before_allocation + (bfd *, struct bfd_link_info *, int); + +extern bfd_boolean bfd_arm_get_bfd_for_interworking + (bfd *, struct bfd_link_info *); + +/* PE ARM Interworking support. Called from linker. */ +extern bfd_boolean bfd_arm_pe_allocate_interworking_sections + (struct bfd_link_info *); + +extern bfd_boolean bfd_arm_pe_process_before_allocation + (bfd *, struct bfd_link_info *, int); + +extern bfd_boolean bfd_arm_pe_get_bfd_for_interworking + (bfd *, struct bfd_link_info *); + +/* ELF ARM Interworking support. Called from linker. */ +extern bfd_boolean bfd_elf32_arm_allocate_interworking_sections + (struct bfd_link_info *); + +extern bfd_boolean bfd_elf32_arm_process_before_allocation + (bfd *, struct bfd_link_info *); + +void bfd_elf32_arm_set_target_relocs + (bfd *, struct bfd_link_info *, int, char *, int, int, bfd_arm_vfp11_fix, + bfd_arm_stm32l4xx_fix, int, int, int, int, int); + +extern bfd_boolean bfd_elf32_arm_get_bfd_for_interworking + (bfd *, struct bfd_link_info *); + +extern bfd_boolean bfd_elf32_arm_add_glue_sections_to_bfd + (bfd *, struct bfd_link_info *); + +/* ELF ARM mapping symbol support. */ +#define BFD_ARM_SPECIAL_SYM_TYPE_MAP (1 << 0) +#define BFD_ARM_SPECIAL_SYM_TYPE_TAG (1 << 1) +#define BFD_ARM_SPECIAL_SYM_TYPE_OTHER (1 << 2) +#define BFD_ARM_SPECIAL_SYM_TYPE_ANY (~0) + +extern bfd_boolean bfd_is_arm_special_symbol_name + (const char *, int); + +extern void bfd_elf32_arm_set_byteswap_code + (struct bfd_link_info *, int); + +extern void bfd_elf32_arm_use_long_plt (void); + +/* ARM Note section processing. */ +extern bfd_boolean bfd_arm_merge_machines + (bfd *, bfd *); + +extern bfd_boolean bfd_arm_update_notes + (bfd *, const char *); + +extern unsigned int bfd_arm_get_mach_from_notes + (bfd *, const char *); + +/* ARM stub generation support. Called from the linker. */ +extern int elf32_arm_setup_section_lists + (bfd *, struct bfd_link_info *); +extern void elf32_arm_next_input_section + (struct bfd_link_info *, struct bfd_section *); +extern bfd_boolean elf32_arm_size_stubs + (bfd *, bfd *, struct bfd_link_info *, bfd_signed_vma, + struct bfd_section * (*) (const char *, struct bfd_section *, unsigned int), + void (*) (void)); +extern bfd_boolean elf32_arm_build_stubs + (struct bfd_link_info *); + +/* ARM unwind section editing support. */ +extern bfd_boolean elf32_arm_fix_exidx_coverage +(struct bfd_section **, unsigned int, struct bfd_link_info *, bfd_boolean); + +/* C6x unwind section editing support. */ +extern bfd_boolean elf32_tic6x_fix_exidx_coverage +(struct bfd_section **, unsigned int, struct bfd_link_info *, bfd_boolean); + +/* PowerPC @tls opcode transform/validate. */ +extern unsigned int _bfd_elf_ppc_at_tls_transform + (unsigned int, unsigned int); +/* PowerPC @tprel opcode transform/validate. */ +extern unsigned int _bfd_elf_ppc_at_tprel_transform + (unsigned int, unsigned int); + +extern void bfd_elf64_aarch64_init_maps + (bfd *); + +extern void bfd_elf32_aarch64_init_maps + (bfd *); + +extern void bfd_elf64_aarch64_set_options + (bfd *, struct bfd_link_info *, int, int, int, int, int); + +extern void bfd_elf32_aarch64_set_options + (bfd *, struct bfd_link_info *, int, int, int, int, int); + +/* ELF AArch64 mapping symbol support. */ +#define BFD_AARCH64_SPECIAL_SYM_TYPE_MAP (1 << 0) +#define BFD_AARCH64_SPECIAL_SYM_TYPE_TAG (1 << 1) +#define BFD_AARCH64_SPECIAL_SYM_TYPE_OTHER (1 << 2) +#define BFD_AARCH64_SPECIAL_SYM_TYPE_ANY (~0) +extern bfd_boolean bfd_is_aarch64_special_symbol_name + (const char * name, int type); + +/* AArch64 stub generation support for ELF64. Called from the linker. */ +extern int elf64_aarch64_setup_section_lists + (bfd *, struct bfd_link_info *); +extern void elf64_aarch64_next_input_section + (struct bfd_link_info *, struct bfd_section *); +extern bfd_boolean elf64_aarch64_size_stubs + (bfd *, bfd *, struct bfd_link_info *, bfd_signed_vma, + struct bfd_section * (*) (const char *, struct bfd_section *), + void (*) (void)); +extern bfd_boolean elf64_aarch64_build_stubs + (struct bfd_link_info *); +/* AArch64 stub generation support for ELF32. Called from the linker. */ +extern int elf32_aarch64_setup_section_lists + (bfd *, struct bfd_link_info *); +extern void elf32_aarch64_next_input_section + (struct bfd_link_info *, struct bfd_section *); +extern bfd_boolean elf32_aarch64_size_stubs + (bfd *, bfd *, struct bfd_link_info *, bfd_signed_vma, + struct bfd_section * (*) (const char *, struct bfd_section *), + void (*) (void)); +extern bfd_boolean elf32_aarch64_build_stubs + (struct bfd_link_info *); + + +/* TI COFF load page support. */ +extern void bfd_ticoff_set_section_load_page + (struct bfd_section *, int); + +extern int bfd_ticoff_get_section_load_page + (struct bfd_section *); + +/* H8/300 functions. */ +extern bfd_vma bfd_h8300_pad_address + (bfd *, bfd_vma); + +/* IA64 Itanium code generation. Called from linker. */ +extern void bfd_elf32_ia64_after_parse + (int); + +extern void bfd_elf64_ia64_after_parse + (int); + +/* V850 Note manipulation routines. */ +extern bfd_boolean v850_elf_create_sections + (struct bfd_link_info *); + +extern bfd_boolean v850_elf_set_note + (bfd *, unsigned int, unsigned int); +/* Extracted from init.c. */ +void bfd_init (void); + +/* Extracted from opncls.c. */ +/* Set to N to open the next N BFDs using an alternate id space. */ +extern unsigned int bfd_use_reserved_id; +bfd *bfd_fopen (const char *filename, const char *target, + const char *mode, int fd); + +bfd *bfd_openr (const char *filename, const char *target); + +bfd *bfd_fdopenr (const char *filename, const char *target, int fd); + +bfd *bfd_openstreamr (const char * filename, const char * target, void * stream); + +bfd *bfd_openr_iovec (const char *filename, const char *target, + void *(*open_func) (struct bfd *nbfd, + void *open_closure), + void *open_closure, + file_ptr (*pread_func) (struct bfd *nbfd, + void *stream, + void *buf, + file_ptr nbytes, + file_ptr offset), + int (*close_func) (struct bfd *nbfd, + void *stream), + int (*stat_func) (struct bfd *abfd, + void *stream, + struct stat *sb)); + +bfd *bfd_openw (const char *filename, const char *target); + +bfd_boolean bfd_close (bfd *abfd); + +bfd_boolean bfd_close_all_done (bfd *); + +bfd *bfd_create (const char *filename, bfd *templ); + +bfd_boolean bfd_make_writable (bfd *abfd); + +bfd_boolean bfd_make_readable (bfd *abfd); + +void *bfd_alloc (bfd *abfd, bfd_size_type wanted); + +void *bfd_zalloc (bfd *abfd, bfd_size_type wanted); + +unsigned long bfd_calc_gnu_debuglink_crc32 + (unsigned long crc, const unsigned char *buf, bfd_size_type len); + +char *bfd_get_debug_link_info (bfd *abfd, unsigned long *crc32_out); + +char *bfd_get_alt_debug_link_info (bfd * abfd, + bfd_size_type *buildid_len, + bfd_byte **buildid_out); + +char *bfd_follow_gnu_debuglink (bfd *abfd, const char *dir); + +char *bfd_follow_gnu_debugaltlink (bfd *abfd, const char *dir); + +struct bfd_section *bfd_create_gnu_debuglink_section + (bfd *abfd, const char *filename); + +bfd_boolean bfd_fill_in_gnu_debuglink_section + (bfd *abfd, struct bfd_section *sect, const char *filename); + +/* Extracted from libbfd.c. */ + +/* Byte swapping macros for user section data. */ + +#define bfd_put_8(abfd, val, ptr) \ + ((void) (*((unsigned char *) (ptr)) = (val) & 0xff)) +#define bfd_put_signed_8 \ + bfd_put_8 +#define bfd_get_8(abfd, ptr) \ + (*(const unsigned char *) (ptr) & 0xff) +#define bfd_get_signed_8(abfd, ptr) \ + (((*(const unsigned char *) (ptr) & 0xff) ^ 0x80) - 0x80) + +#define bfd_put_16(abfd, val, ptr) \ + BFD_SEND (abfd, bfd_putx16, ((val),(ptr))) +#define bfd_put_signed_16 \ + bfd_put_16 +#define bfd_get_16(abfd, ptr) \ + BFD_SEND (abfd, bfd_getx16, (ptr)) +#define bfd_get_signed_16(abfd, ptr) \ + BFD_SEND (abfd, bfd_getx_signed_16, (ptr)) + +#define bfd_put_32(abfd, val, ptr) \ + BFD_SEND (abfd, bfd_putx32, ((val),(ptr))) +#define bfd_put_signed_32 \ + bfd_put_32 +#define bfd_get_32(abfd, ptr) \ + BFD_SEND (abfd, bfd_getx32, (ptr)) +#define bfd_get_signed_32(abfd, ptr) \ + BFD_SEND (abfd, bfd_getx_signed_32, (ptr)) + +#define bfd_put_64(abfd, val, ptr) \ + BFD_SEND (abfd, bfd_putx64, ((val), (ptr))) +#define bfd_put_signed_64 \ + bfd_put_64 +#define bfd_get_64(abfd, ptr) \ + BFD_SEND (abfd, bfd_getx64, (ptr)) +#define bfd_get_signed_64(abfd, ptr) \ + BFD_SEND (abfd, bfd_getx_signed_64, (ptr)) + +#define bfd_get(bits, abfd, ptr) \ + ((bits) == 8 ? (bfd_vma) bfd_get_8 (abfd, ptr) \ + : (bits) == 16 ? bfd_get_16 (abfd, ptr) \ + : (bits) == 32 ? bfd_get_32 (abfd, ptr) \ + : (bits) == 64 ? bfd_get_64 (abfd, ptr) \ + : (abort (), (bfd_vma) - 1)) + +#define bfd_put(bits, abfd, val, ptr) \ + ((bits) == 8 ? bfd_put_8 (abfd, val, ptr) \ + : (bits) == 16 ? bfd_put_16 (abfd, val, ptr) \ + : (bits) == 32 ? bfd_put_32 (abfd, val, ptr) \ + : (bits) == 64 ? bfd_put_64 (abfd, val, ptr) \ + : (abort (), (void) 0)) + + +/* Byte swapping macros for file header data. */ + +#define bfd_h_put_8(abfd, val, ptr) \ + bfd_put_8 (abfd, val, ptr) +#define bfd_h_put_signed_8(abfd, val, ptr) \ + bfd_put_8 (abfd, val, ptr) +#define bfd_h_get_8(abfd, ptr) \ + bfd_get_8 (abfd, ptr) +#define bfd_h_get_signed_8(abfd, ptr) \ + bfd_get_signed_8 (abfd, ptr) + +#define bfd_h_put_16(abfd, val, ptr) \ + BFD_SEND (abfd, bfd_h_putx16, (val, ptr)) +#define bfd_h_put_signed_16 \ + bfd_h_put_16 +#define bfd_h_get_16(abfd, ptr) \ + BFD_SEND (abfd, bfd_h_getx16, (ptr)) +#define bfd_h_get_signed_16(abfd, ptr) \ + BFD_SEND (abfd, bfd_h_getx_signed_16, (ptr)) + +#define bfd_h_put_32(abfd, val, ptr) \ + BFD_SEND (abfd, bfd_h_putx32, (val, ptr)) +#define bfd_h_put_signed_32 \ + bfd_h_put_32 +#define bfd_h_get_32(abfd, ptr) \ + BFD_SEND (abfd, bfd_h_getx32, (ptr)) +#define bfd_h_get_signed_32(abfd, ptr) \ + BFD_SEND (abfd, bfd_h_getx_signed_32, (ptr)) + +#define bfd_h_put_64(abfd, val, ptr) \ + BFD_SEND (abfd, bfd_h_putx64, (val, ptr)) +#define bfd_h_put_signed_64 \ + bfd_h_put_64 +#define bfd_h_get_64(abfd, ptr) \ + BFD_SEND (abfd, bfd_h_getx64, (ptr)) +#define bfd_h_get_signed_64(abfd, ptr) \ + BFD_SEND (abfd, bfd_h_getx_signed_64, (ptr)) + +/* Aliases for the above, which should eventually go away. */ + +#define H_PUT_64 bfd_h_put_64 +#define H_PUT_32 bfd_h_put_32 +#define H_PUT_16 bfd_h_put_16 +#define H_PUT_8 bfd_h_put_8 +#define H_PUT_S64 bfd_h_put_signed_64 +#define H_PUT_S32 bfd_h_put_signed_32 +#define H_PUT_S16 bfd_h_put_signed_16 +#define H_PUT_S8 bfd_h_put_signed_8 +#define H_GET_64 bfd_h_get_64 +#define H_GET_32 bfd_h_get_32 +#define H_GET_16 bfd_h_get_16 +#define H_GET_8 bfd_h_get_8 +#define H_GET_S64 bfd_h_get_signed_64 +#define H_GET_S32 bfd_h_get_signed_32 +#define H_GET_S16 bfd_h_get_signed_16 +#define H_GET_S8 bfd_h_get_signed_8 + + +/* Extracted from bfdio.c. */ +long bfd_get_mtime (bfd *abfd); + +file_ptr bfd_get_size (bfd *abfd); + +void *bfd_mmap (bfd *abfd, void *addr, bfd_size_type len, + int prot, int flags, file_ptr offset, + void **map_addr, bfd_size_type *map_len); + +/* Extracted from bfdwin.c. */ +/* Extracted from section.c. */ + +typedef struct bfd_section +{ + /* The name of the section; the name isn't a copy, the pointer is + the same as that passed to bfd_make_section. */ + const char *name; + + /* A unique sequence number. */ + unsigned int id; + + /* Which section in the bfd; 0..n-1 as sections are created in a bfd. */ + unsigned int index; + + /* The next section in the list belonging to the BFD, or NULL. */ + struct bfd_section *next; + + /* The previous section in the list belonging to the BFD, or NULL. */ + struct bfd_section *prev; + + /* The field flags contains attributes of the section. Some + flags are read in from the object file, and some are + synthesized from other information. */ + flagword flags; + +#define SEC_NO_FLAGS 0x000 + + /* Tells the OS to allocate space for this section when loading. + This is clear for a section containing debug information only. */ +#define SEC_ALLOC 0x001 + + /* Tells the OS to load the section from the file when loading. + This is clear for a .bss section. */ +#define SEC_LOAD 0x002 + + /* The section contains data still to be relocated, so there is + some relocation information too. */ +#define SEC_RELOC 0x004 + + /* A signal to the OS that the section contains read only data. */ +#define SEC_READONLY 0x008 + + /* The section contains code only. */ +#define SEC_CODE 0x010 + + /* The section contains data only. */ +#define SEC_DATA 0x020 + + /* The section will reside in ROM. */ +#define SEC_ROM 0x040 + + /* The section contains constructor information. This section + type is used by the linker to create lists of constructors and + destructors used by <>. When a back end sees a symbol + which should be used in a constructor list, it creates a new + section for the type of name (e.g., <<__CTOR_LIST__>>), attaches + the symbol to it, and builds a relocation. To build the lists + of constructors, all the linker has to do is catenate all the + sections called <<__CTOR_LIST__>> and relocate the data + contained within - exactly the operations it would peform on + standard data. */ +#define SEC_CONSTRUCTOR 0x080 + + /* The section has contents - a data section could be + <> | <>; a debug section could be + <> */ +#define SEC_HAS_CONTENTS 0x100 + + /* An instruction to the linker to not output the section + even if it has information which would normally be written. */ +#define SEC_NEVER_LOAD 0x200 + + /* The section contains thread local data. */ +#define SEC_THREAD_LOCAL 0x400 + + /* The section has GOT references. This flag is only for the + linker, and is currently only used by the elf32-hppa back end. + It will be set if global offset table references were detected + in this section, which indicate to the linker that the section + contains PIC code, and must be handled specially when doing a + static link. */ +#define SEC_HAS_GOT_REF 0x800 + + /* The section contains common symbols (symbols may be defined + multiple times, the value of a symbol is the amount of + space it requires, and the largest symbol value is the one + used). Most targets have exactly one of these (which we + translate to bfd_com_section_ptr), but ECOFF has two. */ +#define SEC_IS_COMMON 0x1000 + + /* The section contains only debugging information. For + example, this is set for ELF .debug and .stab sections. + strip tests this flag to see if a section can be + discarded. */ +#define SEC_DEBUGGING 0x2000 + + /* The contents of this section are held in memory pointed to + by the contents field. This is checked by bfd_get_section_contents, + and the data is retrieved from memory if appropriate. */ +#define SEC_IN_MEMORY 0x4000 + + /* The contents of this section are to be excluded by the + linker for executable and shared objects unless those + objects are to be further relocated. */ +#define SEC_EXCLUDE 0x8000 + + /* The contents of this section are to be sorted based on the sum of + the symbol and addend values specified by the associated relocation + entries. Entries without associated relocation entries will be + appended to the end of the section in an unspecified order. */ +#define SEC_SORT_ENTRIES 0x10000 + + /* When linking, duplicate sections of the same name should be + discarded, rather than being combined into a single section as + is usually done. This is similar to how common symbols are + handled. See SEC_LINK_DUPLICATES below. */ +#define SEC_LINK_ONCE 0x20000 + + /* If SEC_LINK_ONCE is set, this bitfield describes how the linker + should handle duplicate sections. */ +#define SEC_LINK_DUPLICATES 0xc0000 + + /* This value for SEC_LINK_DUPLICATES means that duplicate + sections with the same name should simply be discarded. */ +#define SEC_LINK_DUPLICATES_DISCARD 0x0 + + /* This value for SEC_LINK_DUPLICATES means that the linker + should warn if there are any duplicate sections, although + it should still only link one copy. */ +#define SEC_LINK_DUPLICATES_ONE_ONLY 0x40000 + + /* This value for SEC_LINK_DUPLICATES means that the linker + should warn if any duplicate sections are a different size. */ +#define SEC_LINK_DUPLICATES_SAME_SIZE 0x80000 + + /* This value for SEC_LINK_DUPLICATES means that the linker + should warn if any duplicate sections contain different + contents. */ +#define SEC_LINK_DUPLICATES_SAME_CONTENTS \ + (SEC_LINK_DUPLICATES_ONE_ONLY | SEC_LINK_DUPLICATES_SAME_SIZE) + + /* This section was created by the linker as part of dynamic + relocation or other arcane processing. It is skipped when + going through the first-pass output, trusting that someone + else up the line will take care of it later. */ +#define SEC_LINKER_CREATED 0x100000 + + /* This section should not be subject to garbage collection. + Also set to inform the linker that this section should not be + listed in the link map as discarded. */ +#define SEC_KEEP 0x200000 + + /* This section contains "short" data, and should be placed + "near" the GP. */ +#define SEC_SMALL_DATA 0x400000 + + /* Attempt to merge identical entities in the section. + Entity size is given in the entsize field. */ +#define SEC_MERGE 0x800000 + + /* If given with SEC_MERGE, entities to merge are zero terminated + strings where entsize specifies character size instead of fixed + size entries. */ +#define SEC_STRINGS 0x1000000 + + /* This section contains data about section groups. */ +#define SEC_GROUP 0x2000000 + + /* The section is a COFF shared library section. This flag is + only for the linker. If this type of section appears in + the input file, the linker must copy it to the output file + without changing the vma or size. FIXME: Although this + was originally intended to be general, it really is COFF + specific (and the flag was renamed to indicate this). It + might be cleaner to have some more general mechanism to + allow the back end to control what the linker does with + sections. */ +#define SEC_COFF_SHARED_LIBRARY 0x4000000 + + /* This input section should be copied to output in reverse order + as an array of pointers. This is for ELF linker internal use + only. */ +#define SEC_ELF_REVERSE_COPY 0x4000000 + + /* This section contains data which may be shared with other + executables or shared objects. This is for COFF only. */ +#define SEC_COFF_SHARED 0x8000000 + + /* This section should be compressed. This is for ELF linker + internal use only. */ +#define SEC_ELF_COMPRESS 0x8000000 + + /* When a section with this flag is being linked, then if the size of + the input section is less than a page, it should not cross a page + boundary. If the size of the input section is one page or more, + it should be aligned on a page boundary. This is for TI + TMS320C54X only. */ +#define SEC_TIC54X_BLOCK 0x10000000 + + /* This section should be renamed. This is for ELF linker + internal use only. */ +#define SEC_ELF_RENAME 0x10000000 + + /* Conditionally link this section; do not link if there are no + references found to any symbol in the section. This is for TI + TMS320C54X only. */ +#define SEC_TIC54X_CLINK 0x20000000 + + /* This section contains vliw code. This is for Toshiba MeP only. */ +#define SEC_MEP_VLIW 0x20000000 + + /* Indicate that section has the no read flag set. This happens + when memory read flag isn't set. */ +#define SEC_COFF_NOREAD 0x40000000 + + /* End of section flags. */ + + /* Some internal packed boolean fields. */ + + /* See the vma field. */ + unsigned int user_set_vma : 1; + + /* A mark flag used by some of the linker backends. */ + unsigned int linker_mark : 1; + + /* Another mark flag used by some of the linker backends. Set for + output sections that have an input section. */ + unsigned int linker_has_input : 1; + + /* Mark flag used by some linker backends for garbage collection. */ + unsigned int gc_mark : 1; + + /* Section compression status. */ + unsigned int compress_status : 2; +#define COMPRESS_SECTION_NONE 0 +#define COMPRESS_SECTION_DONE 1 +#define DECOMPRESS_SECTION_SIZED 2 + + /* The following flags are used by the ELF linker. */ + + /* Mark sections which have been allocated to segments. */ + unsigned int segment_mark : 1; + + /* Type of sec_info information. */ + unsigned int sec_info_type:3; +#define SEC_INFO_TYPE_NONE 0 +#define SEC_INFO_TYPE_STABS 1 +#define SEC_INFO_TYPE_MERGE 2 +#define SEC_INFO_TYPE_EH_FRAME 3 +#define SEC_INFO_TYPE_JUST_SYMS 4 +#define SEC_INFO_TYPE_TARGET 5 +#define SEC_INFO_TYPE_EH_FRAME_ENTRY 6 + + /* Nonzero if this section uses RELA relocations, rather than REL. */ + unsigned int use_rela_p:1; + + /* Bits used by various backends. The generic code doesn't touch + these fields. */ + + unsigned int sec_flg0:1; + unsigned int sec_flg1:1; + unsigned int sec_flg2:1; + unsigned int sec_flg3:1; + unsigned int sec_flg4:1; + unsigned int sec_flg5:1; + + /* End of internal packed boolean fields. */ + + /* The virtual memory address of the section - where it will be + at run time. The symbols are relocated against this. The + user_set_vma flag is maintained by bfd; if it's not set, the + backend can assign addresses (for example, in <>, where + the default address for <<.data>> is dependent on the specific + target and various flags). */ + bfd_vma vma; + + /* The load address of the section - where it would be in a + rom image; really only used for writing section header + information. */ + bfd_vma lma; + + /* The size of the section in octets, as it will be output. + Contains a value even if the section has no contents (e.g., the + size of <<.bss>>). */ + bfd_size_type size; + + /* For input sections, the original size on disk of the section, in + octets. This field should be set for any section whose size is + changed by linker relaxation. It is required for sections where + the linker relaxation scheme doesn't cache altered section and + reloc contents (stabs, eh_frame, SEC_MERGE, some coff relaxing + targets), and thus the original size needs to be kept to read the + section multiple times. For output sections, rawsize holds the + section size calculated on a previous linker relaxation pass. */ + bfd_size_type rawsize; + + /* The compressed size of the section in octets. */ + bfd_size_type compressed_size; + + /* Relaxation table. */ + struct relax_table *relax; + + /* Count of used relaxation table entries. */ + int relax_count; + + + /* If this section is going to be output, then this value is the + offset in *bytes* into the output section of the first byte in the + input section (byte ==> smallest addressable unit on the + target). In most cases, if this was going to start at the + 100th octet (8-bit quantity) in the output section, this value + would be 100. However, if the target byte size is 16 bits + (bfd_octets_per_byte is "2"), this value would be 50. */ + bfd_vma output_offset; + + /* The output section through which to map on output. */ + struct bfd_section *output_section; + + /* The alignment requirement of the section, as an exponent of 2 - + e.g., 3 aligns to 2^3 (or 8). */ + unsigned int alignment_power; + + /* If an input section, a pointer to a vector of relocation + records for the data in this section. */ + struct reloc_cache_entry *relocation; + + /* If an output section, a pointer to a vector of pointers to + relocation records for the data in this section. */ + struct reloc_cache_entry **orelocation; + + /* The number of relocation records in one of the above. */ + unsigned reloc_count; + + /* Information below is back end specific - and not always used + or updated. */ + + /* File position of section data. */ + file_ptr filepos; + + /* File position of relocation info. */ + file_ptr rel_filepos; + + /* File position of line data. */ + file_ptr line_filepos; + + /* Pointer to data for applications. */ + void *userdata; + + /* If the SEC_IN_MEMORY flag is set, this points to the actual + contents. */ + unsigned char *contents; + + /* Attached line number information. */ + alent *lineno; + + /* Number of line number records. */ + unsigned int lineno_count; + + /* Entity size for merging purposes. */ + unsigned int entsize; + + /* Points to the kept section if this section is a link-once section, + and is discarded. */ + struct bfd_section *kept_section; + + /* When a section is being output, this value changes as more + linenumbers are written out. */ + file_ptr moving_line_filepos; + + /* What the section number is in the target world. */ + int target_index; + + void *used_by_bfd; + + /* If this is a constructor section then here is a list of the + relocations created to relocate items within it. */ + struct relent_chain *constructor_chain; + + /* The BFD which owns the section. */ + bfd *owner; + + /* A symbol which points at this section only. */ + struct bfd_symbol *symbol; + struct bfd_symbol **symbol_ptr_ptr; + + /* Early in the link process, map_head and map_tail are used to build + a list of input sections attached to an output section. Later, + output sections use these fields for a list of bfd_link_order + structs. */ + union { + struct bfd_link_order *link_order; + struct bfd_section *s; + } map_head, map_tail; +} asection; + +/* Relax table contains information about instructions which can + be removed by relaxation -- replacing a long address with a + short address. */ +struct relax_table { + /* Address where bytes may be deleted. */ + bfd_vma addr; + + /* Number of bytes to be deleted. */ + int size; +}; + +/* Note: the following are provided as inline functions rather than macros + because not all callers use the return value. A macro implementation + would use a comma expression, eg: "((ptr)->foo = val, TRUE)" and some + compilers will complain about comma expressions that have no effect. */ +static inline bfd_boolean +bfd_set_section_userdata (bfd * abfd ATTRIBUTE_UNUSED, asection * ptr, void * val) +{ + ptr->userdata = val; + return TRUE; +} + +static inline bfd_boolean +bfd_set_section_vma (bfd * abfd ATTRIBUTE_UNUSED, asection * ptr, bfd_vma val) +{ + ptr->vma = ptr->lma = val; + ptr->user_set_vma = TRUE; + return TRUE; +} + +static inline bfd_boolean +bfd_set_section_alignment (bfd * abfd ATTRIBUTE_UNUSED, asection * ptr, unsigned int val) +{ + ptr->alignment_power = val; + return TRUE; +} + +/* These sections are global, and are managed by BFD. The application + and target back end are not permitted to change the values in + these sections. */ +extern asection _bfd_std_section[4]; + +#define BFD_ABS_SECTION_NAME "*ABS*" +#define BFD_UND_SECTION_NAME "*UND*" +#define BFD_COM_SECTION_NAME "*COM*" +#define BFD_IND_SECTION_NAME "*IND*" + +/* Pointer to the common section. */ +#define bfd_com_section_ptr (&_bfd_std_section[0]) +/* Pointer to the undefined section. */ +#define bfd_und_section_ptr (&_bfd_std_section[1]) +/* Pointer to the absolute section. */ +#define bfd_abs_section_ptr (&_bfd_std_section[2]) +/* Pointer to the indirect section. */ +#define bfd_ind_section_ptr (&_bfd_std_section[3]) + +#define bfd_is_und_section(sec) ((sec) == bfd_und_section_ptr) +#define bfd_is_abs_section(sec) ((sec) == bfd_abs_section_ptr) +#define bfd_is_ind_section(sec) ((sec) == bfd_ind_section_ptr) + +#define bfd_is_const_section(SEC) \ + ( ((SEC) == bfd_abs_section_ptr) \ + || ((SEC) == bfd_und_section_ptr) \ + || ((SEC) == bfd_com_section_ptr) \ + || ((SEC) == bfd_ind_section_ptr)) + +/* Macros to handle insertion and deletion of a bfd's sections. These + only handle the list pointers, ie. do not adjust section_count, + target_index etc. */ +#define bfd_section_list_remove(ABFD, S) \ + do \ + { \ + asection *_s = S; \ + asection *_next = _s->next; \ + asection *_prev = _s->prev; \ + if (_prev) \ + _prev->next = _next; \ + else \ + (ABFD)->sections = _next; \ + if (_next) \ + _next->prev = _prev; \ + else \ + (ABFD)->section_last = _prev; \ + } \ + while (0) +#define bfd_section_list_append(ABFD, S) \ + do \ + { \ + asection *_s = S; \ + bfd *_abfd = ABFD; \ + _s->next = NULL; \ + if (_abfd->section_last) \ + { \ + _s->prev = _abfd->section_last; \ + _abfd->section_last->next = _s; \ + } \ + else \ + { \ + _s->prev = NULL; \ + _abfd->sections = _s; \ + } \ + _abfd->section_last = _s; \ + } \ + while (0) +#define bfd_section_list_prepend(ABFD, S) \ + do \ + { \ + asection *_s = S; \ + bfd *_abfd = ABFD; \ + _s->prev = NULL; \ + if (_abfd->sections) \ + { \ + _s->next = _abfd->sections; \ + _abfd->sections->prev = _s; \ + } \ + else \ + { \ + _s->next = NULL; \ + _abfd->section_last = _s; \ + } \ + _abfd->sections = _s; \ + } \ + while (0) +#define bfd_section_list_insert_after(ABFD, A, S) \ + do \ + { \ + asection *_a = A; \ + asection *_s = S; \ + asection *_next = _a->next; \ + _s->next = _next; \ + _s->prev = _a; \ + _a->next = _s; \ + if (_next) \ + _next->prev = _s; \ + else \ + (ABFD)->section_last = _s; \ + } \ + while (0) +#define bfd_section_list_insert_before(ABFD, B, S) \ + do \ + { \ + asection *_b = B; \ + asection *_s = S; \ + asection *_prev = _b->prev; \ + _s->prev = _prev; \ + _s->next = _b; \ + _b->prev = _s; \ + if (_prev) \ + _prev->next = _s; \ + else \ + (ABFD)->sections = _s; \ + } \ + while (0) +#define bfd_section_removed_from_list(ABFD, S) \ + ((S)->next == NULL ? (ABFD)->section_last != (S) : (S)->next->prev != (S)) + +#define BFD_FAKE_SECTION(SEC, FLAGS, SYM, NAME, IDX) \ + /* name, id, index, next, prev, flags, user_set_vma, */ \ + { NAME, IDX, 0, NULL, NULL, FLAGS, 0, \ + \ + /* linker_mark, linker_has_input, gc_mark, decompress_status, */ \ + 0, 0, 1, 0, \ + \ + /* segment_mark, sec_info_type, use_rela_p, */ \ + 0, 0, 0, \ + \ + /* sec_flg0, sec_flg1, sec_flg2, sec_flg3, sec_flg4, sec_flg5, */ \ + 0, 0, 0, 0, 0, 0, \ + \ + /* vma, lma, size, rawsize, compressed_size, relax, relax_count, */ \ + 0, 0, 0, 0, 0, 0, 0, \ + \ + /* output_offset, output_section, alignment_power, */ \ + 0, &SEC, 0, \ + \ + /* relocation, orelocation, reloc_count, filepos, rel_filepos, */ \ + NULL, NULL, 0, 0, 0, \ + \ + /* line_filepos, userdata, contents, lineno, lineno_count, */ \ + 0, NULL, NULL, NULL, 0, \ + \ + /* entsize, kept_section, moving_line_filepos, */ \ + 0, NULL, 0, \ + \ + /* target_index, used_by_bfd, constructor_chain, owner, */ \ + 0, NULL, NULL, NULL, \ + \ + /* symbol, symbol_ptr_ptr, */ \ + (struct bfd_symbol *) SYM, &SEC.symbol, \ + \ + /* map_head, map_tail */ \ + { NULL }, { NULL } \ + } + +void bfd_section_list_clear (bfd *); + +asection *bfd_get_section_by_name (bfd *abfd, const char *name); + +asection *bfd_get_next_section_by_name (bfd *ibfd, asection *sec); + +asection *bfd_get_linker_section (bfd *abfd, const char *name); + +asection *bfd_get_section_by_name_if + (bfd *abfd, + const char *name, + bfd_boolean (*func) (bfd *abfd, asection *sect, void *obj), + void *obj); + +char *bfd_get_unique_section_name + (bfd *abfd, const char *templat, int *count); + +asection *bfd_make_section_old_way (bfd *abfd, const char *name); + +asection *bfd_make_section_anyway_with_flags + (bfd *abfd, const char *name, flagword flags); + +asection *bfd_make_section_anyway (bfd *abfd, const char *name); + +asection *bfd_make_section_with_flags + (bfd *, const char *name, flagword flags); + +asection *bfd_make_section (bfd *, const char *name); + +int bfd_get_next_section_id (void); + +bfd_boolean bfd_set_section_flags + (bfd *abfd, asection *sec, flagword flags); + +void bfd_rename_section + (bfd *abfd, asection *sec, const char *newname); + +void bfd_map_over_sections + (bfd *abfd, + void (*func) (bfd *abfd, asection *sect, void *obj), + void *obj); + +asection *bfd_sections_find_if + (bfd *abfd, + bfd_boolean (*operation) (bfd *abfd, asection *sect, void *obj), + void *obj); + +bfd_boolean bfd_set_section_size + (bfd *abfd, asection *sec, bfd_size_type val); + +bfd_boolean bfd_set_section_contents + (bfd *abfd, asection *section, const void *data, + file_ptr offset, bfd_size_type count); + +bfd_boolean bfd_get_section_contents + (bfd *abfd, asection *section, void *location, file_ptr offset, + bfd_size_type count); + +bfd_boolean bfd_malloc_and_get_section + (bfd *abfd, asection *section, bfd_byte **buf); + +bfd_boolean bfd_copy_private_section_data + (bfd *ibfd, asection *isec, bfd *obfd, asection *osec); + +#define bfd_copy_private_section_data(ibfd, isection, obfd, osection) \ + BFD_SEND (obfd, _bfd_copy_private_section_data, \ + (ibfd, isection, obfd, osection)) +bfd_boolean bfd_generic_is_group_section (bfd *, const asection *sec); + +bfd_boolean bfd_generic_discard_group (bfd *abfd, asection *group); + +/* Extracted from archures.c. */ +enum bfd_architecture +{ + bfd_arch_unknown, /* File arch not known. */ + bfd_arch_obscure, /* Arch known, not one of these. */ + bfd_arch_m68k, /* Motorola 68xxx */ +#define bfd_mach_m68000 1 +#define bfd_mach_m68008 2 +#define bfd_mach_m68010 3 +#define bfd_mach_m68020 4 +#define bfd_mach_m68030 5 +#define bfd_mach_m68040 6 +#define bfd_mach_m68060 7 +#define bfd_mach_cpu32 8 +#define bfd_mach_fido 9 +#define bfd_mach_mcf_isa_a_nodiv 10 +#define bfd_mach_mcf_isa_a 11 +#define bfd_mach_mcf_isa_a_mac 12 +#define bfd_mach_mcf_isa_a_emac 13 +#define bfd_mach_mcf_isa_aplus 14 +#define bfd_mach_mcf_isa_aplus_mac 15 +#define bfd_mach_mcf_isa_aplus_emac 16 +#define bfd_mach_mcf_isa_b_nousp 17 +#define bfd_mach_mcf_isa_b_nousp_mac 18 +#define bfd_mach_mcf_isa_b_nousp_emac 19 +#define bfd_mach_mcf_isa_b 20 +#define bfd_mach_mcf_isa_b_mac 21 +#define bfd_mach_mcf_isa_b_emac 22 +#define bfd_mach_mcf_isa_b_float 23 +#define bfd_mach_mcf_isa_b_float_mac 24 +#define bfd_mach_mcf_isa_b_float_emac 25 +#define bfd_mach_mcf_isa_c 26 +#define bfd_mach_mcf_isa_c_mac 27 +#define bfd_mach_mcf_isa_c_emac 28 +#define bfd_mach_mcf_isa_c_nodiv 29 +#define bfd_mach_mcf_isa_c_nodiv_mac 30 +#define bfd_mach_mcf_isa_c_nodiv_emac 31 + bfd_arch_vax, /* DEC Vax */ + bfd_arch_i960, /* Intel 960 */ + /* The order of the following is important. + lower number indicates a machine type that + only accepts a subset of the instructions + available to machines with higher numbers. + The exception is the "ca", which is + incompatible with all other machines except + "core". */ + +#define bfd_mach_i960_core 1 +#define bfd_mach_i960_ka_sa 2 +#define bfd_mach_i960_kb_sb 3 +#define bfd_mach_i960_mc 4 +#define bfd_mach_i960_xa 5 +#define bfd_mach_i960_ca 6 +#define bfd_mach_i960_jx 7 +#define bfd_mach_i960_hx 8 + + bfd_arch_or1k, /* OpenRISC 1000 */ +#define bfd_mach_or1k 1 +#define bfd_mach_or1knd 2 + + bfd_arch_sparc, /* SPARC */ +#define bfd_mach_sparc 1 +/* The difference between v8plus and v9 is that v9 is a true 64 bit env. */ +#define bfd_mach_sparc_sparclet 2 +#define bfd_mach_sparc_sparclite 3 +#define bfd_mach_sparc_v8plus 4 +#define bfd_mach_sparc_v8plusa 5 /* with ultrasparc add'ns. */ +#define bfd_mach_sparc_sparclite_le 6 +#define bfd_mach_sparc_v9 7 +#define bfd_mach_sparc_v9a 8 /* with ultrasparc add'ns. */ +#define bfd_mach_sparc_v8plusb 9 /* with cheetah add'ns. */ +#define bfd_mach_sparc_v9b 10 /* with cheetah add'ns. */ +/* Nonzero if MACH has the v9 instruction set. */ +#define bfd_mach_sparc_v9_p(mach) \ + ((mach) >= bfd_mach_sparc_v8plus && (mach) <= bfd_mach_sparc_v9b \ + && (mach) != bfd_mach_sparc_sparclite_le) +/* Nonzero if MACH is a 64 bit sparc architecture. */ +#define bfd_mach_sparc_64bit_p(mach) \ + ((mach) >= bfd_mach_sparc_v9 && (mach) != bfd_mach_sparc_v8plusb) + bfd_arch_spu, /* PowerPC SPU */ +#define bfd_mach_spu 256 + bfd_arch_mips, /* MIPS Rxxxx */ +#define bfd_mach_mips3000 3000 +#define bfd_mach_mips3900 3900 +#define bfd_mach_mips4000 4000 +#define bfd_mach_mips4010 4010 +#define bfd_mach_mips4100 4100 +#define bfd_mach_mips4111 4111 +#define bfd_mach_mips4120 4120 +#define bfd_mach_mips4300 4300 +#define bfd_mach_mips4400 4400 +#define bfd_mach_mips4600 4600 +#define bfd_mach_mips4650 4650 +#define bfd_mach_mips5000 5000 +#define bfd_mach_mips5400 5400 +#define bfd_mach_mips5500 5500 +#define bfd_mach_mips5900 5900 +#define bfd_mach_mips6000 6000 +#define bfd_mach_mips7000 7000 +#define bfd_mach_mips8000 8000 +#define bfd_mach_mips9000 9000 +#define bfd_mach_mips10000 10000 +#define bfd_mach_mips12000 12000 +#define bfd_mach_mips14000 14000 +#define bfd_mach_mips16000 16000 +#define bfd_mach_mips16 16 +#define bfd_mach_mips5 5 +#define bfd_mach_mips_loongson_2e 3001 +#define bfd_mach_mips_loongson_2f 3002 +#define bfd_mach_mips_loongson_3a 3003 +#define bfd_mach_mips_sb1 12310201 /* octal 'SB', 01 */ +#define bfd_mach_mips_octeon 6501 +#define bfd_mach_mips_octeonp 6601 +#define bfd_mach_mips_octeon2 6502 +#define bfd_mach_mips_octeon3 6503 +#define bfd_mach_mips_xlr 887682 /* decimal 'XLR' */ +#define bfd_mach_mipsisa32 32 +#define bfd_mach_mipsisa32r2 33 +#define bfd_mach_mipsisa32r3 34 +#define bfd_mach_mipsisa32r5 36 +#define bfd_mach_mipsisa32r6 37 +#define bfd_mach_mipsisa64 64 +#define bfd_mach_mipsisa64r2 65 +#define bfd_mach_mipsisa64r3 66 +#define bfd_mach_mipsisa64r5 68 +#define bfd_mach_mipsisa64r6 69 +#define bfd_mach_mips_micromips 96 + bfd_arch_i386, /* Intel 386 */ +#define bfd_mach_i386_intel_syntax (1 << 0) +#define bfd_mach_i386_i8086 (1 << 1) +#define bfd_mach_i386_i386 (1 << 2) +#define bfd_mach_x86_64 (1 << 3) +#define bfd_mach_x64_32 (1 << 4) +#define bfd_mach_i386_i386_intel_syntax (bfd_mach_i386_i386 | bfd_mach_i386_intel_syntax) +#define bfd_mach_x86_64_intel_syntax (bfd_mach_x86_64 | bfd_mach_i386_intel_syntax) +#define bfd_mach_x64_32_intel_syntax (bfd_mach_x64_32 | bfd_mach_i386_intel_syntax) + bfd_arch_l1om, /* Intel L1OM */ +#define bfd_mach_l1om (1 << 5) +#define bfd_mach_l1om_intel_syntax (bfd_mach_l1om | bfd_mach_i386_intel_syntax) + bfd_arch_k1om, /* Intel K1OM */ +#define bfd_mach_k1om (1 << 6) +#define bfd_mach_k1om_intel_syntax (bfd_mach_k1om | bfd_mach_i386_intel_syntax) +#define bfd_mach_i386_nacl (1 << 7) +#define bfd_mach_i386_i386_nacl (bfd_mach_i386_i386 | bfd_mach_i386_nacl) +#define bfd_mach_x86_64_nacl (bfd_mach_x86_64 | bfd_mach_i386_nacl) +#define bfd_mach_x64_32_nacl (bfd_mach_x64_32 | bfd_mach_i386_nacl) + bfd_arch_iamcu, /* Intel MCU */ +#define bfd_mach_iamcu (1 << 8) +#define bfd_mach_i386_iamcu (bfd_mach_i386_i386 | bfd_mach_iamcu) +#define bfd_mach_i386_iamcu_intel_syntax (bfd_mach_i386_iamcu | bfd_mach_i386_intel_syntax) + bfd_arch_we32k, /* AT&T WE32xxx */ + bfd_arch_tahoe, /* CCI/Harris Tahoe */ + bfd_arch_i860, /* Intel 860 */ + bfd_arch_i370, /* IBM 360/370 Mainframes */ + bfd_arch_romp, /* IBM ROMP PC/RT */ + bfd_arch_convex, /* Convex */ + bfd_arch_m88k, /* Motorola 88xxx */ + bfd_arch_m98k, /* Motorola 98xxx */ + bfd_arch_pyramid, /* Pyramid Technology */ + bfd_arch_h8300, /* Renesas H8/300 (formerly Hitachi H8/300) */ +#define bfd_mach_h8300 1 +#define bfd_mach_h8300h 2 +#define bfd_mach_h8300s 3 +#define bfd_mach_h8300hn 4 +#define bfd_mach_h8300sn 5 +#define bfd_mach_h8300sx 6 +#define bfd_mach_h8300sxn 7 + bfd_arch_pdp11, /* DEC PDP-11 */ + bfd_arch_plugin, + bfd_arch_powerpc, /* PowerPC */ +#define bfd_mach_ppc 32 +#define bfd_mach_ppc64 64 +#define bfd_mach_ppc_403 403 +#define bfd_mach_ppc_403gc 4030 +#define bfd_mach_ppc_405 405 +#define bfd_mach_ppc_505 505 +#define bfd_mach_ppc_601 601 +#define bfd_mach_ppc_602 602 +#define bfd_mach_ppc_603 603 +#define bfd_mach_ppc_ec603e 6031 +#define bfd_mach_ppc_604 604 +#define bfd_mach_ppc_620 620 +#define bfd_mach_ppc_630 630 +#define bfd_mach_ppc_750 750 +#define bfd_mach_ppc_860 860 +#define bfd_mach_ppc_a35 35 +#define bfd_mach_ppc_rs64ii 642 +#define bfd_mach_ppc_rs64iii 643 +#define bfd_mach_ppc_7400 7400 +#define bfd_mach_ppc_e500 500 +#define bfd_mach_ppc_e500mc 5001 +#define bfd_mach_ppc_e500mc64 5005 +#define bfd_mach_ppc_e5500 5006 +#define bfd_mach_ppc_e6500 5007 +#define bfd_mach_ppc_titan 83 +#define bfd_mach_ppc_vle 84 + bfd_arch_rs6000, /* IBM RS/6000 */ +#define bfd_mach_rs6k 6000 +#define bfd_mach_rs6k_rs1 6001 +#define bfd_mach_rs6k_rsc 6003 +#define bfd_mach_rs6k_rs2 6002 + bfd_arch_hppa, /* HP PA RISC */ +#define bfd_mach_hppa10 10 +#define bfd_mach_hppa11 11 +#define bfd_mach_hppa20 20 +#define bfd_mach_hppa20w 25 + bfd_arch_d10v, /* Mitsubishi D10V */ +#define bfd_mach_d10v 1 +#define bfd_mach_d10v_ts2 2 +#define bfd_mach_d10v_ts3 3 + bfd_arch_d30v, /* Mitsubishi D30V */ + bfd_arch_dlx, /* DLX */ + bfd_arch_m68hc11, /* Motorola 68HC11 */ + bfd_arch_m68hc12, /* Motorola 68HC12 */ +#define bfd_mach_m6812_default 0 +#define bfd_mach_m6812 1 +#define bfd_mach_m6812s 2 + bfd_arch_m9s12x, /* Freescale S12X */ + bfd_arch_m9s12xg, /* Freescale XGATE */ + bfd_arch_z8k, /* Zilog Z8000 */ +#define bfd_mach_z8001 1 +#define bfd_mach_z8002 2 + bfd_arch_h8500, /* Renesas H8/500 (formerly Hitachi H8/500) */ + bfd_arch_sh, /* Renesas / SuperH SH (formerly Hitachi SH) */ +#define bfd_mach_sh 1 +#define bfd_mach_sh2 0x20 +#define bfd_mach_sh_dsp 0x2d +#define bfd_mach_sh2a 0x2a +#define bfd_mach_sh2a_nofpu 0x2b +#define bfd_mach_sh2a_nofpu_or_sh4_nommu_nofpu 0x2a1 +#define bfd_mach_sh2a_nofpu_or_sh3_nommu 0x2a2 +#define bfd_mach_sh2a_or_sh4 0x2a3 +#define bfd_mach_sh2a_or_sh3e 0x2a4 +#define bfd_mach_sh2e 0x2e +#define bfd_mach_sh3 0x30 +#define bfd_mach_sh3_nommu 0x31 +#define bfd_mach_sh3_dsp 0x3d +#define bfd_mach_sh3e 0x3e +#define bfd_mach_sh4 0x40 +#define bfd_mach_sh4_nofpu 0x41 +#define bfd_mach_sh4_nommu_nofpu 0x42 +#define bfd_mach_sh4a 0x4a +#define bfd_mach_sh4a_nofpu 0x4b +#define bfd_mach_sh4al_dsp 0x4d +#define bfd_mach_sh5 0x50 + bfd_arch_alpha, /* Dec Alpha */ +#define bfd_mach_alpha_ev4 0x10 +#define bfd_mach_alpha_ev5 0x20 +#define bfd_mach_alpha_ev6 0x30 + bfd_arch_arm, /* Advanced Risc Machines ARM. */ +#define bfd_mach_arm_unknown 0 +#define bfd_mach_arm_2 1 +#define bfd_mach_arm_2a 2 +#define bfd_mach_arm_3 3 +#define bfd_mach_arm_3M 4 +#define bfd_mach_arm_4 5 +#define bfd_mach_arm_4T 6 +#define bfd_mach_arm_5 7 +#define bfd_mach_arm_5T 8 +#define bfd_mach_arm_5TE 9 +#define bfd_mach_arm_XScale 10 +#define bfd_mach_arm_ep9312 11 +#define bfd_mach_arm_iWMMXt 12 +#define bfd_mach_arm_iWMMXt2 13 + bfd_arch_nds32, /* Andes NDS32 */ +#define bfd_mach_n1 1 +#define bfd_mach_n1h 2 +#define bfd_mach_n1h_v2 3 +#define bfd_mach_n1h_v3 4 +#define bfd_mach_n1h_v3m 5 + bfd_arch_ns32k, /* National Semiconductors ns32000 */ + bfd_arch_w65, /* WDC 65816 */ + bfd_arch_tic30, /* Texas Instruments TMS320C30 */ + bfd_arch_tic4x, /* Texas Instruments TMS320C3X/4X */ +#define bfd_mach_tic3x 30 +#define bfd_mach_tic4x 40 + bfd_arch_tic54x, /* Texas Instruments TMS320C54X */ + bfd_arch_tic6x, /* Texas Instruments TMS320C6X */ + bfd_arch_tic80, /* TI TMS320c80 (MVP) */ + bfd_arch_v850, /* NEC V850 */ + bfd_arch_v850_rh850,/* NEC V850 (using RH850 ABI) */ +#define bfd_mach_v850 1 +#define bfd_mach_v850e 'E' +#define bfd_mach_v850e1 '1' +#define bfd_mach_v850e2 0x4532 +#define bfd_mach_v850e2v3 0x45325633 +#define bfd_mach_v850e3v5 0x45335635 /* ('E'|'3'|'V'|'5') */ + bfd_arch_arc, /* ARC Cores */ +#define bfd_mach_arc_a4 0 +#define bfd_mach_arc_a5 1 +#define bfd_mach_arc_arc600 2 +#define bfd_mach_arc_arc601 4 +#define bfd_mach_arc_arc700 3 +#define bfd_mach_arc_arcv2 5 + bfd_arch_m32c, /* Renesas M16C/M32C. */ +#define bfd_mach_m16c 0x75 +#define bfd_mach_m32c 0x78 + bfd_arch_m32r, /* Renesas M32R (formerly Mitsubishi M32R/D) */ +#define bfd_mach_m32r 1 /* For backwards compatibility. */ +#define bfd_mach_m32rx 'x' +#define bfd_mach_m32r2 '2' + bfd_arch_mn10200, /* Matsushita MN10200 */ + bfd_arch_mn10300, /* Matsushita MN10300 */ +#define bfd_mach_mn10300 300 +#define bfd_mach_am33 330 +#define bfd_mach_am33_2 332 + bfd_arch_fr30, +#define bfd_mach_fr30 0x46523330 + bfd_arch_frv, +#define bfd_mach_frv 1 +#define bfd_mach_frvsimple 2 +#define bfd_mach_fr300 300 +#define bfd_mach_fr400 400 +#define bfd_mach_fr450 450 +#define bfd_mach_frvtomcat 499 /* fr500 prototype */ +#define bfd_mach_fr500 500 +#define bfd_mach_fr550 550 + bfd_arch_moxie, /* The moxie processor */ +#define bfd_mach_moxie 1 + bfd_arch_ft32, /* The ft32 processor */ +#define bfd_mach_ft32 1 + bfd_arch_mcore, + bfd_arch_mep, +#define bfd_mach_mep 1 +#define bfd_mach_mep_h1 0x6831 +#define bfd_mach_mep_c5 0x6335 + bfd_arch_metag, +#define bfd_mach_metag 1 + bfd_arch_ia64, /* HP/Intel ia64 */ +#define bfd_mach_ia64_elf64 64 +#define bfd_mach_ia64_elf32 32 + bfd_arch_ip2k, /* Ubicom IP2K microcontrollers. */ +#define bfd_mach_ip2022 1 +#define bfd_mach_ip2022ext 2 + bfd_arch_iq2000, /* Vitesse IQ2000. */ +#define bfd_mach_iq2000 1 +#define bfd_mach_iq10 2 + bfd_arch_epiphany, /* Adapteva EPIPHANY */ +#define bfd_mach_epiphany16 1 +#define bfd_mach_epiphany32 2 + bfd_arch_mt, +#define bfd_mach_ms1 1 +#define bfd_mach_mrisc2 2 +#define bfd_mach_ms2 3 + bfd_arch_pj, + bfd_arch_avr, /* Atmel AVR microcontrollers. */ +#define bfd_mach_avr1 1 +#define bfd_mach_avr2 2 +#define bfd_mach_avr25 25 +#define bfd_mach_avr3 3 +#define bfd_mach_avr31 31 +#define bfd_mach_avr35 35 +#define bfd_mach_avr4 4 +#define bfd_mach_avr5 5 +#define bfd_mach_avr51 51 +#define bfd_mach_avr6 6 +#define bfd_mach_avrtiny 100 +#define bfd_mach_avrxmega1 101 +#define bfd_mach_avrxmega2 102 +#define bfd_mach_avrxmega3 103 +#define bfd_mach_avrxmega4 104 +#define bfd_mach_avrxmega5 105 +#define bfd_mach_avrxmega6 106 +#define bfd_mach_avrxmega7 107 + bfd_arch_bfin, /* ADI Blackfin */ +#define bfd_mach_bfin 1 + bfd_arch_cr16, /* National Semiconductor CompactRISC (ie CR16). */ +#define bfd_mach_cr16 1 + bfd_arch_cr16c, /* National Semiconductor CompactRISC. */ +#define bfd_mach_cr16c 1 + bfd_arch_crx, /* National Semiconductor CRX. */ +#define bfd_mach_crx 1 + bfd_arch_cris, /* Axis CRIS */ +#define bfd_mach_cris_v0_v10 255 +#define bfd_mach_cris_v32 32 +#define bfd_mach_cris_v10_v32 1032 + bfd_arch_rl78, +#define bfd_mach_rl78 0x75 + bfd_arch_rx, /* Renesas RX. */ +#define bfd_mach_rx 0x75 + bfd_arch_s390, /* IBM s390 */ +#define bfd_mach_s390_31 31 +#define bfd_mach_s390_64 64 + bfd_arch_score, /* Sunplus score */ +#define bfd_mach_score3 3 +#define bfd_mach_score7 7 + bfd_arch_mmix, /* Donald Knuth's educational processor. */ + bfd_arch_xstormy16, +#define bfd_mach_xstormy16 1 + bfd_arch_msp430, /* Texas Instruments MSP430 architecture. */ +#define bfd_mach_msp11 11 +#define bfd_mach_msp110 110 +#define bfd_mach_msp12 12 +#define bfd_mach_msp13 13 +#define bfd_mach_msp14 14 +#define bfd_mach_msp15 15 +#define bfd_mach_msp16 16 +#define bfd_mach_msp20 20 +#define bfd_mach_msp21 21 +#define bfd_mach_msp22 22 +#define bfd_mach_msp23 23 +#define bfd_mach_msp24 24 +#define bfd_mach_msp26 26 +#define bfd_mach_msp31 31 +#define bfd_mach_msp32 32 +#define bfd_mach_msp33 33 +#define bfd_mach_msp41 41 +#define bfd_mach_msp42 42 +#define bfd_mach_msp43 43 +#define bfd_mach_msp44 44 +#define bfd_mach_msp430x 45 +#define bfd_mach_msp46 46 +#define bfd_mach_msp47 47 +#define bfd_mach_msp54 54 + bfd_arch_xc16x, /* Infineon's XC16X Series. */ +#define bfd_mach_xc16x 1 +#define bfd_mach_xc16xl 2 +#define bfd_mach_xc16xs 3 + bfd_arch_xgate, /* Freescale XGATE */ +#define bfd_mach_xgate 1 + bfd_arch_xtensa, /* Tensilica's Xtensa cores. */ +#define bfd_mach_xtensa 1 + bfd_arch_z80, +#define bfd_mach_z80strict 1 /* No undocumented opcodes. */ +#define bfd_mach_z80 3 /* With ixl, ixh, iyl, and iyh. */ +#define bfd_mach_z80full 7 /* All undocumented instructions. */ +#define bfd_mach_r800 11 /* R800: successor with multiplication. */ + bfd_arch_lm32, /* Lattice Mico32 */ +#define bfd_mach_lm32 1 + bfd_arch_microblaze,/* Xilinx MicroBlaze. */ + bfd_arch_tilepro, /* Tilera TILEPro */ + bfd_arch_tilegx, /* Tilera TILE-Gx */ +#define bfd_mach_tilepro 1 +#define bfd_mach_tilegx 1 +#define bfd_mach_tilegx32 2 + bfd_arch_aarch64, /* AArch64 */ +#define bfd_mach_aarch64 0 +#define bfd_mach_aarch64_ilp32 32 + bfd_arch_nios2, /* Nios II */ +#define bfd_mach_nios2 0 +#define bfd_mach_nios2r1 1 +#define bfd_mach_nios2r2 2 + bfd_arch_visium, /* Visium */ +#define bfd_mach_visium 1 + bfd_arch_last + }; + +typedef struct bfd_arch_info +{ + int bits_per_word; + int bits_per_address; + int bits_per_byte; + enum bfd_architecture arch; + unsigned long mach; + const char *arch_name; + const char *printable_name; + unsigned int section_align_power; + /* TRUE if this is the default machine for the architecture. + The default arch should be the first entry for an arch so that + all the entries for that arch can be accessed via <>. */ + bfd_boolean the_default; + const struct bfd_arch_info * (*compatible) + (const struct bfd_arch_info *a, const struct bfd_arch_info *b); + + bfd_boolean (*scan) (const struct bfd_arch_info *, const char *); + + /* Allocate via bfd_malloc and return a fill buffer of size COUNT. If + IS_BIGENDIAN is TRUE, the order of bytes is big endian. If CODE is + TRUE, the buffer contains code. */ + void *(*fill) (bfd_size_type count, bfd_boolean is_bigendian, + bfd_boolean code); + + const struct bfd_arch_info *next; +} +bfd_arch_info_type; + +const char *bfd_printable_name (bfd *abfd); + +const bfd_arch_info_type *bfd_scan_arch (const char *string); + +const char **bfd_arch_list (void); + +const bfd_arch_info_type *bfd_arch_get_compatible + (const bfd *abfd, const bfd *bbfd, bfd_boolean accept_unknowns); + +void bfd_set_arch_info (bfd *abfd, const bfd_arch_info_type *arg); + +enum bfd_architecture bfd_get_arch (bfd *abfd); + +unsigned long bfd_get_mach (bfd *abfd); + +unsigned int bfd_arch_bits_per_byte (bfd *abfd); + +unsigned int bfd_arch_bits_per_address (bfd *abfd); + +const bfd_arch_info_type *bfd_get_arch_info (bfd *abfd); + +const bfd_arch_info_type *bfd_lookup_arch + (enum bfd_architecture arch, unsigned long machine); + +const char *bfd_printable_arch_mach + (enum bfd_architecture arch, unsigned long machine); + +unsigned int bfd_octets_per_byte (bfd *abfd); + +unsigned int bfd_arch_mach_octets_per_byte + (enum bfd_architecture arch, unsigned long machine); + +/* Extracted from reloc.c. */ + +typedef enum bfd_reloc_status +{ + /* No errors detected. */ + bfd_reloc_ok, + + /* The relocation was performed, but there was an overflow. */ + bfd_reloc_overflow, + + /* The address to relocate was not within the section supplied. */ + bfd_reloc_outofrange, + + /* Used by special functions. */ + bfd_reloc_continue, + + /* Unsupported relocation size requested. */ + bfd_reloc_notsupported, + + /* Unused. */ + bfd_reloc_other, + + /* The symbol to relocate against was undefined. */ + bfd_reloc_undefined, + + /* The relocation was performed, but may not be ok - presently + generated only when linking i960 coff files with i960 b.out + symbols. If this type is returned, the error_message argument + to bfd_perform_relocation will be set. */ + bfd_reloc_dangerous + } + bfd_reloc_status_type; + + +typedef struct reloc_cache_entry +{ + /* A pointer into the canonical table of pointers. */ + struct bfd_symbol **sym_ptr_ptr; + + /* offset in section. */ + bfd_size_type address; + + /* addend for relocation value. */ + bfd_vma addend; + + /* Pointer to how to perform the required relocation. */ + reloc_howto_type *howto; + +} +arelent; + + +enum complain_overflow +{ + /* Do not complain on overflow. */ + complain_overflow_dont, + + /* Complain if the value overflows when considered as a signed + number one bit larger than the field. ie. A bitfield of N bits + is allowed to represent -2**n to 2**n-1. */ + complain_overflow_bitfield, + + /* Complain if the value overflows when considered as a signed + number. */ + complain_overflow_signed, + + /* Complain if the value overflows when considered as an + unsigned number. */ + complain_overflow_unsigned +}; +struct bfd_symbol; /* Forward declaration. */ + +struct reloc_howto_struct +{ + /* The type field has mainly a documentary use - the back end can + do what it wants with it, though normally the back end's + external idea of what a reloc number is stored + in this field. For example, a PC relative word relocation + in a coff environment has the type 023 - because that's + what the outside world calls a R_PCRWORD reloc. */ + unsigned int type; + + /* The value the final relocation is shifted right by. This drops + unwanted data from the relocation. */ + unsigned int rightshift; + + /* The size of the item to be relocated. This is *not* a + power-of-two measure. To get the number of bytes operated + on by a type of relocation, use bfd_get_reloc_size. */ + int size; + + /* The number of bits in the item to be relocated. This is used + when doing overflow checking. */ + unsigned int bitsize; + + /* The relocation is relative to the field being relocated. */ + bfd_boolean pc_relative; + + /* The bit position of the reloc value in the destination. + The relocated value is left shifted by this amount. */ + unsigned int bitpos; + + /* What type of overflow error should be checked for when + relocating. */ + enum complain_overflow complain_on_overflow; + + /* If this field is non null, then the supplied function is + called rather than the normal function. This allows really + strange relocation methods to be accommodated (e.g., i960 callj + instructions). */ + bfd_reloc_status_type (*special_function) + (bfd *, arelent *, struct bfd_symbol *, void *, asection *, + bfd *, char **); + + /* The textual name of the relocation type. */ + char *name; + + /* Some formats record a relocation addend in the section contents + rather than with the relocation. For ELF formats this is the + distinction between USE_REL and USE_RELA (though the code checks + for USE_REL == 1/0). The value of this field is TRUE if the + addend is recorded with the section contents; when performing a + partial link (ld -r) the section contents (the data) will be + modified. The value of this field is FALSE if addends are + recorded with the relocation (in arelent.addend); when performing + a partial link the relocation will be modified. + All relocations for all ELF USE_RELA targets should set this field + to FALSE (values of TRUE should be looked on with suspicion). + However, the converse is not true: not all relocations of all ELF + USE_REL targets set this field to TRUE. Why this is so is peculiar + to each particular target. For relocs that aren't used in partial + links (e.g. GOT stuff) it doesn't matter what this is set to. */ + bfd_boolean partial_inplace; + + /* src_mask selects the part of the instruction (or data) to be used + in the relocation sum. If the target relocations don't have an + addend in the reloc, eg. ELF USE_REL, src_mask will normally equal + dst_mask to extract the addend from the section contents. If + relocations do have an addend in the reloc, eg. ELF USE_RELA, this + field should be zero. Non-zero values for ELF USE_RELA targets are + bogus as in those cases the value in the dst_mask part of the + section contents should be treated as garbage. */ + bfd_vma src_mask; + + /* dst_mask selects which parts of the instruction (or data) are + replaced with a relocated value. */ + bfd_vma dst_mask; + + /* When some formats create PC relative instructions, they leave + the value of the pc of the place being relocated in the offset + slot of the instruction, so that a PC relative relocation can + be made just by adding in an ordinary offset (e.g., sun3 a.out). + Some formats leave the displacement part of an instruction + empty (e.g., m88k bcs); this flag signals the fact. */ + bfd_boolean pcrel_offset; +}; + +#define HOWTO(C, R, S, B, P, BI, O, SF, NAME, INPLACE, MASKSRC, MASKDST, PC) \ + { (unsigned) C, R, S, B, P, BI, O, SF, NAME, INPLACE, MASKSRC, MASKDST, PC } +#define NEWHOWTO(FUNCTION, NAME, SIZE, REL, IN) \ + HOWTO (0, 0, SIZE, 0, REL, 0, complain_overflow_dont, FUNCTION, \ + NAME, FALSE, 0, 0, IN) + +#define EMPTY_HOWTO(C) \ + HOWTO ((C), 0, 0, 0, FALSE, 0, complain_overflow_dont, NULL, \ + NULL, FALSE, 0, 0, FALSE) + +#define HOWTO_PREPARE(relocation, symbol) \ + { \ + if (symbol != NULL) \ + { \ + if (bfd_is_com_section (symbol->section)) \ + { \ + relocation = 0; \ + } \ + else \ + { \ + relocation = symbol->value; \ + } \ + } \ + } + +unsigned int bfd_get_reloc_size (reloc_howto_type *); + +typedef struct relent_chain +{ + arelent relent; + struct relent_chain *next; +} +arelent_chain; + +bfd_reloc_status_type bfd_check_overflow + (enum complain_overflow how, + unsigned int bitsize, + unsigned int rightshift, + unsigned int addrsize, + bfd_vma relocation); + +bfd_reloc_status_type bfd_perform_relocation + (bfd *abfd, + arelent *reloc_entry, + void *data, + asection *input_section, + bfd *output_bfd, + char **error_message); + +bfd_reloc_status_type bfd_install_relocation + (bfd *abfd, + arelent *reloc_entry, + void *data, bfd_vma data_start, + asection *input_section, + char **error_message); + +enum bfd_reloc_code_real { + _dummy_first_bfd_reloc_code_real, + + +/* Basic absolute relocations of N bits. */ + BFD_RELOC_64, + BFD_RELOC_32, + BFD_RELOC_26, + BFD_RELOC_24, + BFD_RELOC_16, + BFD_RELOC_14, + BFD_RELOC_8, + +/* PC-relative relocations. Sometimes these are relative to the address +of the relocation itself; sometimes they are relative to the start of +the section containing the relocation. It depends on the specific target. + +The 24-bit relocation is used in some Intel 960 configurations. */ + BFD_RELOC_64_PCREL, + BFD_RELOC_32_PCREL, + BFD_RELOC_24_PCREL, + BFD_RELOC_16_PCREL, + BFD_RELOC_12_PCREL, + BFD_RELOC_8_PCREL, + +/* Section relative relocations. Some targets need this for DWARF2. */ + BFD_RELOC_32_SECREL, + +/* For ELF. */ + BFD_RELOC_32_GOT_PCREL, + BFD_RELOC_16_GOT_PCREL, + BFD_RELOC_8_GOT_PCREL, + BFD_RELOC_32_GOTOFF, + BFD_RELOC_16_GOTOFF, + BFD_RELOC_LO16_GOTOFF, + BFD_RELOC_HI16_GOTOFF, + BFD_RELOC_HI16_S_GOTOFF, + BFD_RELOC_8_GOTOFF, + BFD_RELOC_64_PLT_PCREL, + BFD_RELOC_32_PLT_PCREL, + BFD_RELOC_24_PLT_PCREL, + BFD_RELOC_16_PLT_PCREL, + BFD_RELOC_8_PLT_PCREL, + BFD_RELOC_64_PLTOFF, + BFD_RELOC_32_PLTOFF, + BFD_RELOC_16_PLTOFF, + BFD_RELOC_LO16_PLTOFF, + BFD_RELOC_HI16_PLTOFF, + BFD_RELOC_HI16_S_PLTOFF, + BFD_RELOC_8_PLTOFF, + +/* Size relocations. */ + BFD_RELOC_SIZE32, + BFD_RELOC_SIZE64, + +/* Relocations used by 68K ELF. */ + BFD_RELOC_68K_GLOB_DAT, + BFD_RELOC_68K_JMP_SLOT, + BFD_RELOC_68K_RELATIVE, + BFD_RELOC_68K_TLS_GD32, + BFD_RELOC_68K_TLS_GD16, + BFD_RELOC_68K_TLS_GD8, + BFD_RELOC_68K_TLS_LDM32, + BFD_RELOC_68K_TLS_LDM16, + BFD_RELOC_68K_TLS_LDM8, + BFD_RELOC_68K_TLS_LDO32, + BFD_RELOC_68K_TLS_LDO16, + BFD_RELOC_68K_TLS_LDO8, + BFD_RELOC_68K_TLS_IE32, + BFD_RELOC_68K_TLS_IE16, + BFD_RELOC_68K_TLS_IE8, + BFD_RELOC_68K_TLS_LE32, + BFD_RELOC_68K_TLS_LE16, + BFD_RELOC_68K_TLS_LE8, + +/* Linkage-table relative. */ + BFD_RELOC_32_BASEREL, + BFD_RELOC_16_BASEREL, + BFD_RELOC_LO16_BASEREL, + BFD_RELOC_HI16_BASEREL, + BFD_RELOC_HI16_S_BASEREL, + BFD_RELOC_8_BASEREL, + BFD_RELOC_RVA, + +/* Absolute 8-bit relocation, but used to form an address like 0xFFnn. */ + BFD_RELOC_8_FFnn, + +/* These PC-relative relocations are stored as word displacements -- +i.e., byte displacements shifted right two bits. The 30-bit word +displacement (<<32_PCREL_S2>> -- 32 bits, shifted 2) is used on the +SPARC. (SPARC tools generally refer to this as <>.) The +signed 16-bit displacement is used on the MIPS, and the 23-bit +displacement is used on the Alpha. */ + BFD_RELOC_32_PCREL_S2, + BFD_RELOC_16_PCREL_S2, + BFD_RELOC_23_PCREL_S2, + +/* High 22 bits and low 10 bits of 32-bit value, placed into lower bits of +the target word. These are used on the SPARC. */ + BFD_RELOC_HI22, + BFD_RELOC_LO10, + +/* For systems that allocate a Global Pointer register, these are +displacements off that register. These relocation types are +handled specially, because the value the register will have is +decided relatively late. */ + BFD_RELOC_GPREL16, + BFD_RELOC_GPREL32, + +/* Reloc types used for i960/b.out. */ + BFD_RELOC_I960_CALLJ, + +/* SPARC ELF relocations. There is probably some overlap with other +relocation types already defined. */ + BFD_RELOC_NONE, + BFD_RELOC_SPARC_WDISP22, + BFD_RELOC_SPARC22, + BFD_RELOC_SPARC13, + BFD_RELOC_SPARC_GOT10, + BFD_RELOC_SPARC_GOT13, + BFD_RELOC_SPARC_GOT22, + BFD_RELOC_SPARC_PC10, + BFD_RELOC_SPARC_PC22, + BFD_RELOC_SPARC_WPLT30, + BFD_RELOC_SPARC_COPY, + BFD_RELOC_SPARC_GLOB_DAT, + BFD_RELOC_SPARC_JMP_SLOT, + BFD_RELOC_SPARC_RELATIVE, + BFD_RELOC_SPARC_UA16, + BFD_RELOC_SPARC_UA32, + BFD_RELOC_SPARC_UA64, + BFD_RELOC_SPARC_GOTDATA_HIX22, + BFD_RELOC_SPARC_GOTDATA_LOX10, + BFD_RELOC_SPARC_GOTDATA_OP_HIX22, + BFD_RELOC_SPARC_GOTDATA_OP_LOX10, + BFD_RELOC_SPARC_GOTDATA_OP, + BFD_RELOC_SPARC_JMP_IREL, + BFD_RELOC_SPARC_IRELATIVE, + +/* I think these are specific to SPARC a.out (e.g., Sun 4). */ + BFD_RELOC_SPARC_BASE13, + BFD_RELOC_SPARC_BASE22, + +/* SPARC64 relocations */ +#define BFD_RELOC_SPARC_64 BFD_RELOC_64 + BFD_RELOC_SPARC_10, + BFD_RELOC_SPARC_11, + BFD_RELOC_SPARC_OLO10, + BFD_RELOC_SPARC_HH22, + BFD_RELOC_SPARC_HM10, + BFD_RELOC_SPARC_LM22, + BFD_RELOC_SPARC_PC_HH22, + BFD_RELOC_SPARC_PC_HM10, + BFD_RELOC_SPARC_PC_LM22, + BFD_RELOC_SPARC_WDISP16, + BFD_RELOC_SPARC_WDISP19, + BFD_RELOC_SPARC_7, + BFD_RELOC_SPARC_6, + BFD_RELOC_SPARC_5, +#define BFD_RELOC_SPARC_DISP64 BFD_RELOC_64_PCREL + BFD_RELOC_SPARC_PLT32, + BFD_RELOC_SPARC_PLT64, + BFD_RELOC_SPARC_HIX22, + BFD_RELOC_SPARC_LOX10, + BFD_RELOC_SPARC_H44, + BFD_RELOC_SPARC_M44, + BFD_RELOC_SPARC_L44, + BFD_RELOC_SPARC_REGISTER, + BFD_RELOC_SPARC_H34, + BFD_RELOC_SPARC_SIZE32, + BFD_RELOC_SPARC_SIZE64, + BFD_RELOC_SPARC_WDISP10, + +/* SPARC little endian relocation */ + BFD_RELOC_SPARC_REV32, + +/* SPARC TLS relocations */ + BFD_RELOC_SPARC_TLS_GD_HI22, + BFD_RELOC_SPARC_TLS_GD_LO10, + BFD_RELOC_SPARC_TLS_GD_ADD, + BFD_RELOC_SPARC_TLS_GD_CALL, + BFD_RELOC_SPARC_TLS_LDM_HI22, + BFD_RELOC_SPARC_TLS_LDM_LO10, + BFD_RELOC_SPARC_TLS_LDM_ADD, + BFD_RELOC_SPARC_TLS_LDM_CALL, + BFD_RELOC_SPARC_TLS_LDO_HIX22, + BFD_RELOC_SPARC_TLS_LDO_LOX10, + BFD_RELOC_SPARC_TLS_LDO_ADD, + BFD_RELOC_SPARC_TLS_IE_HI22, + BFD_RELOC_SPARC_TLS_IE_LO10, + BFD_RELOC_SPARC_TLS_IE_LD, + BFD_RELOC_SPARC_TLS_IE_LDX, + BFD_RELOC_SPARC_TLS_IE_ADD, + BFD_RELOC_SPARC_TLS_LE_HIX22, + BFD_RELOC_SPARC_TLS_LE_LOX10, + BFD_RELOC_SPARC_TLS_DTPMOD32, + BFD_RELOC_SPARC_TLS_DTPMOD64, + BFD_RELOC_SPARC_TLS_DTPOFF32, + BFD_RELOC_SPARC_TLS_DTPOFF64, + BFD_RELOC_SPARC_TLS_TPOFF32, + BFD_RELOC_SPARC_TLS_TPOFF64, + +/* SPU Relocations. */ + BFD_RELOC_SPU_IMM7, + BFD_RELOC_SPU_IMM8, + BFD_RELOC_SPU_IMM10, + BFD_RELOC_SPU_IMM10W, + BFD_RELOC_SPU_IMM16, + BFD_RELOC_SPU_IMM16W, + BFD_RELOC_SPU_IMM18, + BFD_RELOC_SPU_PCREL9a, + BFD_RELOC_SPU_PCREL9b, + BFD_RELOC_SPU_PCREL16, + BFD_RELOC_SPU_LO16, + BFD_RELOC_SPU_HI16, + BFD_RELOC_SPU_PPU32, + BFD_RELOC_SPU_PPU64, + BFD_RELOC_SPU_ADD_PIC, + +/* Alpha ECOFF and ELF relocations. Some of these treat the symbol or +"addend" in some special way. +For GPDISP_HI16 ("gpdisp") relocations, the symbol is ignored when +writing; when reading, it will be the absolute section symbol. The +addend is the displacement in bytes of the "lda" instruction from +the "ldah" instruction (which is at the address of this reloc). */ + BFD_RELOC_ALPHA_GPDISP_HI16, + +/* For GPDISP_LO16 ("ignore") relocations, the symbol is handled as +with GPDISP_HI16 relocs. The addend is ignored when writing the +relocations out, and is filled in with the file's GP value on +reading, for convenience. */ + BFD_RELOC_ALPHA_GPDISP_LO16, + +/* The ELF GPDISP relocation is exactly the same as the GPDISP_HI16 +relocation except that there is no accompanying GPDISP_LO16 +relocation. */ + BFD_RELOC_ALPHA_GPDISP, + +/* The Alpha LITERAL/LITUSE relocs are produced by a symbol reference; +the assembler turns it into a LDQ instruction to load the address of +the symbol, and then fills in a register in the real instruction. + +The LITERAL reloc, at the LDQ instruction, refers to the .lita +section symbol. The addend is ignored when writing, but is filled +in with the file's GP value on reading, for convenience, as with the +GPDISP_LO16 reloc. + +The ELF_LITERAL reloc is somewhere between 16_GOTOFF and GPDISP_LO16. +It should refer to the symbol to be referenced, as with 16_GOTOFF, +but it generates output not based on the position within the .got +section, but relative to the GP value chosen for the file during the +final link stage. + +The LITUSE reloc, on the instruction using the loaded address, gives +information to the linker that it might be able to use to optimize +away some literal section references. The symbol is ignored (read +as the absolute section symbol), and the "addend" indicates the type +of instruction using the register: +1 - "memory" fmt insn +2 - byte-manipulation (byte offset reg) +3 - jsr (target of branch) */ + BFD_RELOC_ALPHA_LITERAL, + BFD_RELOC_ALPHA_ELF_LITERAL, + BFD_RELOC_ALPHA_LITUSE, + +/* The HINT relocation indicates a value that should be filled into the +"hint" field of a jmp/jsr/ret instruction, for possible branch- +prediction logic which may be provided on some processors. */ + BFD_RELOC_ALPHA_HINT, + +/* The LINKAGE relocation outputs a linkage pair in the object file, +which is filled by the linker. */ + BFD_RELOC_ALPHA_LINKAGE, + +/* The CODEADDR relocation outputs a STO_CA in the object file, +which is filled by the linker. */ + BFD_RELOC_ALPHA_CODEADDR, + +/* The GPREL_HI/LO relocations together form a 32-bit offset from the +GP register. */ + BFD_RELOC_ALPHA_GPREL_HI16, + BFD_RELOC_ALPHA_GPREL_LO16, + +/* Like BFD_RELOC_23_PCREL_S2, except that the source and target must +share a common GP, and the target address is adjusted for +STO_ALPHA_STD_GPLOAD. */ + BFD_RELOC_ALPHA_BRSGP, + +/* The NOP relocation outputs a NOP if the longword displacement +between two procedure entry points is < 2^21. */ + BFD_RELOC_ALPHA_NOP, + +/* The BSR relocation outputs a BSR if the longword displacement +between two procedure entry points is < 2^21. */ + BFD_RELOC_ALPHA_BSR, + +/* The LDA relocation outputs a LDA if the longword displacement +between two procedure entry points is < 2^16. */ + BFD_RELOC_ALPHA_LDA, + +/* The BOH relocation outputs a BSR if the longword displacement +between two procedure entry points is < 2^21, or else a hint. */ + BFD_RELOC_ALPHA_BOH, + +/* Alpha thread-local storage relocations. */ + BFD_RELOC_ALPHA_TLSGD, + BFD_RELOC_ALPHA_TLSLDM, + BFD_RELOC_ALPHA_DTPMOD64, + BFD_RELOC_ALPHA_GOTDTPREL16, + BFD_RELOC_ALPHA_DTPREL64, + BFD_RELOC_ALPHA_DTPREL_HI16, + BFD_RELOC_ALPHA_DTPREL_LO16, + BFD_RELOC_ALPHA_DTPREL16, + BFD_RELOC_ALPHA_GOTTPREL16, + BFD_RELOC_ALPHA_TPREL64, + BFD_RELOC_ALPHA_TPREL_HI16, + BFD_RELOC_ALPHA_TPREL_LO16, + BFD_RELOC_ALPHA_TPREL16, + +/* The MIPS jump instruction. */ + BFD_RELOC_MIPS_JMP, + BFD_RELOC_MICROMIPS_JMP, + +/* The MIPS16 jump instruction. */ + BFD_RELOC_MIPS16_JMP, + +/* MIPS16 GP relative reloc. */ + BFD_RELOC_MIPS16_GPREL, + +/* High 16 bits of 32-bit value; simple reloc. */ + BFD_RELOC_HI16, + +/* High 16 bits of 32-bit value but the low 16 bits will be sign +extended and added to form the final result. If the low 16 +bits form a negative number, we need to add one to the high value +to compensate for the borrow when the low bits are added. */ + BFD_RELOC_HI16_S, + +/* Low 16 bits. */ + BFD_RELOC_LO16, + +/* High 16 bits of 32-bit pc-relative value */ + BFD_RELOC_HI16_PCREL, + +/* High 16 bits of 32-bit pc-relative value, adjusted */ + BFD_RELOC_HI16_S_PCREL, + +/* Low 16 bits of pc-relative value */ + BFD_RELOC_LO16_PCREL, + +/* Equivalent of BFD_RELOC_MIPS_*, but with the MIPS16 layout of +16-bit immediate fields */ + BFD_RELOC_MIPS16_GOT16, + BFD_RELOC_MIPS16_CALL16, + +/* MIPS16 high 16 bits of 32-bit value. */ + BFD_RELOC_MIPS16_HI16, + +/* MIPS16 high 16 bits of 32-bit value but the low 16 bits will be sign +extended and added to form the final result. If the low 16 +bits form a negative number, we need to add one to the high value +to compensate for the borrow when the low bits are added. */ + BFD_RELOC_MIPS16_HI16_S, + +/* MIPS16 low 16 bits. */ + BFD_RELOC_MIPS16_LO16, + +/* MIPS16 TLS relocations */ + BFD_RELOC_MIPS16_TLS_GD, + BFD_RELOC_MIPS16_TLS_LDM, + BFD_RELOC_MIPS16_TLS_DTPREL_HI16, + BFD_RELOC_MIPS16_TLS_DTPREL_LO16, + BFD_RELOC_MIPS16_TLS_GOTTPREL, + BFD_RELOC_MIPS16_TLS_TPREL_HI16, + BFD_RELOC_MIPS16_TLS_TPREL_LO16, + +/* Relocation against a MIPS literal section. */ + BFD_RELOC_MIPS_LITERAL, + BFD_RELOC_MICROMIPS_LITERAL, + +/* microMIPS PC-relative relocations. */ + BFD_RELOC_MICROMIPS_7_PCREL_S1, + BFD_RELOC_MICROMIPS_10_PCREL_S1, + BFD_RELOC_MICROMIPS_16_PCREL_S1, + +/* MIPS PC-relative relocations. */ + BFD_RELOC_MIPS_21_PCREL_S2, + BFD_RELOC_MIPS_26_PCREL_S2, + BFD_RELOC_MIPS_18_PCREL_S3, + BFD_RELOC_MIPS_19_PCREL_S2, + +/* microMIPS versions of generic BFD relocs. */ + BFD_RELOC_MICROMIPS_GPREL16, + BFD_RELOC_MICROMIPS_HI16, + BFD_RELOC_MICROMIPS_HI16_S, + BFD_RELOC_MICROMIPS_LO16, + +/* MIPS ELF relocations. */ + BFD_RELOC_MIPS_GOT16, + BFD_RELOC_MICROMIPS_GOT16, + BFD_RELOC_MIPS_CALL16, + BFD_RELOC_MICROMIPS_CALL16, + BFD_RELOC_MIPS_GOT_HI16, + BFD_RELOC_MICROMIPS_GOT_HI16, + BFD_RELOC_MIPS_GOT_LO16, + BFD_RELOC_MICROMIPS_GOT_LO16, + BFD_RELOC_MIPS_CALL_HI16, + BFD_RELOC_MICROMIPS_CALL_HI16, + BFD_RELOC_MIPS_CALL_LO16, + BFD_RELOC_MICROMIPS_CALL_LO16, + BFD_RELOC_MIPS_SUB, + BFD_RELOC_MICROMIPS_SUB, + BFD_RELOC_MIPS_GOT_PAGE, + BFD_RELOC_MICROMIPS_GOT_PAGE, + BFD_RELOC_MIPS_GOT_OFST, + BFD_RELOC_MICROMIPS_GOT_OFST, + BFD_RELOC_MIPS_GOT_DISP, + BFD_RELOC_MICROMIPS_GOT_DISP, + BFD_RELOC_MIPS_SHIFT5, + BFD_RELOC_MIPS_SHIFT6, + BFD_RELOC_MIPS_INSERT_A, + BFD_RELOC_MIPS_INSERT_B, + BFD_RELOC_MIPS_DELETE, + BFD_RELOC_MIPS_HIGHEST, + BFD_RELOC_MICROMIPS_HIGHEST, + BFD_RELOC_MIPS_HIGHER, + BFD_RELOC_MICROMIPS_HIGHER, + BFD_RELOC_MIPS_SCN_DISP, + BFD_RELOC_MICROMIPS_SCN_DISP, + BFD_RELOC_MIPS_REL16, + BFD_RELOC_MIPS_RELGOT, + BFD_RELOC_MIPS_JALR, + BFD_RELOC_MICROMIPS_JALR, + BFD_RELOC_MIPS_TLS_DTPMOD32, + BFD_RELOC_MIPS_TLS_DTPREL32, + BFD_RELOC_MIPS_TLS_DTPMOD64, + BFD_RELOC_MIPS_TLS_DTPREL64, + BFD_RELOC_MIPS_TLS_GD, + BFD_RELOC_MICROMIPS_TLS_GD, + BFD_RELOC_MIPS_TLS_LDM, + BFD_RELOC_MICROMIPS_TLS_LDM, + BFD_RELOC_MIPS_TLS_DTPREL_HI16, + BFD_RELOC_MICROMIPS_TLS_DTPREL_HI16, + BFD_RELOC_MIPS_TLS_DTPREL_LO16, + BFD_RELOC_MICROMIPS_TLS_DTPREL_LO16, + BFD_RELOC_MIPS_TLS_GOTTPREL, + BFD_RELOC_MICROMIPS_TLS_GOTTPREL, + BFD_RELOC_MIPS_TLS_TPREL32, + BFD_RELOC_MIPS_TLS_TPREL64, + BFD_RELOC_MIPS_TLS_TPREL_HI16, + BFD_RELOC_MICROMIPS_TLS_TPREL_HI16, + BFD_RELOC_MIPS_TLS_TPREL_LO16, + BFD_RELOC_MICROMIPS_TLS_TPREL_LO16, + BFD_RELOC_MIPS_EH, + + +/* MIPS ELF relocations (VxWorks and PLT extensions). */ + BFD_RELOC_MIPS_COPY, + BFD_RELOC_MIPS_JUMP_SLOT, + + +/* Moxie ELF relocations. */ + BFD_RELOC_MOXIE_10_PCREL, + + +/* FT32 ELF relocations. */ + BFD_RELOC_FT32_10, + BFD_RELOC_FT32_20, + BFD_RELOC_FT32_17, + BFD_RELOC_FT32_18, + + +/* Fujitsu Frv Relocations. */ + BFD_RELOC_FRV_LABEL16, + BFD_RELOC_FRV_LABEL24, + BFD_RELOC_FRV_LO16, + BFD_RELOC_FRV_HI16, + BFD_RELOC_FRV_GPREL12, + BFD_RELOC_FRV_GPRELU12, + BFD_RELOC_FRV_GPREL32, + BFD_RELOC_FRV_GPRELHI, + BFD_RELOC_FRV_GPRELLO, + BFD_RELOC_FRV_GOT12, + BFD_RELOC_FRV_GOTHI, + BFD_RELOC_FRV_GOTLO, + BFD_RELOC_FRV_FUNCDESC, + BFD_RELOC_FRV_FUNCDESC_GOT12, + BFD_RELOC_FRV_FUNCDESC_GOTHI, + BFD_RELOC_FRV_FUNCDESC_GOTLO, + BFD_RELOC_FRV_FUNCDESC_VALUE, + BFD_RELOC_FRV_FUNCDESC_GOTOFF12, + BFD_RELOC_FRV_FUNCDESC_GOTOFFHI, + BFD_RELOC_FRV_FUNCDESC_GOTOFFLO, + BFD_RELOC_FRV_GOTOFF12, + BFD_RELOC_FRV_GOTOFFHI, + BFD_RELOC_FRV_GOTOFFLO, + BFD_RELOC_FRV_GETTLSOFF, + BFD_RELOC_FRV_TLSDESC_VALUE, + BFD_RELOC_FRV_GOTTLSDESC12, + BFD_RELOC_FRV_GOTTLSDESCHI, + BFD_RELOC_FRV_GOTTLSDESCLO, + BFD_RELOC_FRV_TLSMOFF12, + BFD_RELOC_FRV_TLSMOFFHI, + BFD_RELOC_FRV_TLSMOFFLO, + BFD_RELOC_FRV_GOTTLSOFF12, + BFD_RELOC_FRV_GOTTLSOFFHI, + BFD_RELOC_FRV_GOTTLSOFFLO, + BFD_RELOC_FRV_TLSOFF, + BFD_RELOC_FRV_TLSDESC_RELAX, + BFD_RELOC_FRV_GETTLSOFF_RELAX, + BFD_RELOC_FRV_TLSOFF_RELAX, + BFD_RELOC_FRV_TLSMOFF, + + +/* This is a 24bit GOT-relative reloc for the mn10300. */ + BFD_RELOC_MN10300_GOTOFF24, + +/* This is a 32bit GOT-relative reloc for the mn10300, offset by two bytes +in the instruction. */ + BFD_RELOC_MN10300_GOT32, + +/* This is a 24bit GOT-relative reloc for the mn10300, offset by two bytes +in the instruction. */ + BFD_RELOC_MN10300_GOT24, + +/* This is a 16bit GOT-relative reloc for the mn10300, offset by two bytes +in the instruction. */ + BFD_RELOC_MN10300_GOT16, + +/* Copy symbol at runtime. */ + BFD_RELOC_MN10300_COPY, + +/* Create GOT entry. */ + BFD_RELOC_MN10300_GLOB_DAT, + +/* Create PLT entry. */ + BFD_RELOC_MN10300_JMP_SLOT, + +/* Adjust by program base. */ + BFD_RELOC_MN10300_RELATIVE, + +/* Together with another reloc targeted at the same location, +allows for a value that is the difference of two symbols +in the same section. */ + BFD_RELOC_MN10300_SYM_DIFF, + +/* The addend of this reloc is an alignment power that must +be honoured at the offset's location, regardless of linker +relaxation. */ + BFD_RELOC_MN10300_ALIGN, + +/* Various TLS-related relocations. */ + BFD_RELOC_MN10300_TLS_GD, + BFD_RELOC_MN10300_TLS_LD, + BFD_RELOC_MN10300_TLS_LDO, + BFD_RELOC_MN10300_TLS_GOTIE, + BFD_RELOC_MN10300_TLS_IE, + BFD_RELOC_MN10300_TLS_LE, + BFD_RELOC_MN10300_TLS_DTPMOD, + BFD_RELOC_MN10300_TLS_DTPOFF, + BFD_RELOC_MN10300_TLS_TPOFF, + +/* This is a 32bit pcrel reloc for the mn10300, offset by two bytes in the +instruction. */ + BFD_RELOC_MN10300_32_PCREL, + +/* This is a 16bit pcrel reloc for the mn10300, offset by two bytes in the +instruction. */ + BFD_RELOC_MN10300_16_PCREL, + + +/* i386/elf relocations */ + BFD_RELOC_386_GOT32, + BFD_RELOC_386_PLT32, + BFD_RELOC_386_COPY, + BFD_RELOC_386_GLOB_DAT, + BFD_RELOC_386_JUMP_SLOT, + BFD_RELOC_386_RELATIVE, + BFD_RELOC_386_GOTOFF, + BFD_RELOC_386_GOTPC, + BFD_RELOC_386_TLS_TPOFF, + BFD_RELOC_386_TLS_IE, + BFD_RELOC_386_TLS_GOTIE, + BFD_RELOC_386_TLS_LE, + BFD_RELOC_386_TLS_GD, + BFD_RELOC_386_TLS_LDM, + BFD_RELOC_386_TLS_LDO_32, + BFD_RELOC_386_TLS_IE_32, + BFD_RELOC_386_TLS_LE_32, + BFD_RELOC_386_TLS_DTPMOD32, + BFD_RELOC_386_TLS_DTPOFF32, + BFD_RELOC_386_TLS_TPOFF32, + BFD_RELOC_386_TLS_GOTDESC, + BFD_RELOC_386_TLS_DESC_CALL, + BFD_RELOC_386_TLS_DESC, + BFD_RELOC_386_IRELATIVE, + BFD_RELOC_386_GOT32X, + +/* x86-64/elf relocations */ + BFD_RELOC_X86_64_GOT32, + BFD_RELOC_X86_64_PLT32, + BFD_RELOC_X86_64_COPY, + BFD_RELOC_X86_64_GLOB_DAT, + BFD_RELOC_X86_64_JUMP_SLOT, + BFD_RELOC_X86_64_RELATIVE, + BFD_RELOC_X86_64_GOTPCREL, + BFD_RELOC_X86_64_32S, + BFD_RELOC_X86_64_DTPMOD64, + BFD_RELOC_X86_64_DTPOFF64, + BFD_RELOC_X86_64_TPOFF64, + BFD_RELOC_X86_64_TLSGD, + BFD_RELOC_X86_64_TLSLD, + BFD_RELOC_X86_64_DTPOFF32, + BFD_RELOC_X86_64_GOTTPOFF, + BFD_RELOC_X86_64_TPOFF32, + BFD_RELOC_X86_64_GOTOFF64, + BFD_RELOC_X86_64_GOTPC32, + BFD_RELOC_X86_64_GOT64, + BFD_RELOC_X86_64_GOTPCREL64, + BFD_RELOC_X86_64_GOTPC64, + BFD_RELOC_X86_64_GOTPLT64, + BFD_RELOC_X86_64_PLTOFF64, + BFD_RELOC_X86_64_GOTPC32_TLSDESC, + BFD_RELOC_X86_64_TLSDESC_CALL, + BFD_RELOC_X86_64_TLSDESC, + BFD_RELOC_X86_64_IRELATIVE, + BFD_RELOC_X86_64_PC32_BND, + BFD_RELOC_X86_64_PLT32_BND, + BFD_RELOC_X86_64_GOTPCRELX, + BFD_RELOC_X86_64_REX_GOTPCRELX, + +/* ns32k relocations */ + BFD_RELOC_NS32K_IMM_8, + BFD_RELOC_NS32K_IMM_16, + BFD_RELOC_NS32K_IMM_32, + BFD_RELOC_NS32K_IMM_8_PCREL, + BFD_RELOC_NS32K_IMM_16_PCREL, + BFD_RELOC_NS32K_IMM_32_PCREL, + BFD_RELOC_NS32K_DISP_8, + BFD_RELOC_NS32K_DISP_16, + BFD_RELOC_NS32K_DISP_32, + BFD_RELOC_NS32K_DISP_8_PCREL, + BFD_RELOC_NS32K_DISP_16_PCREL, + BFD_RELOC_NS32K_DISP_32_PCREL, + +/* PDP11 relocations */ + BFD_RELOC_PDP11_DISP_8_PCREL, + BFD_RELOC_PDP11_DISP_6_PCREL, + +/* Picojava relocs. Not all of these appear in object files. */ + BFD_RELOC_PJ_CODE_HI16, + BFD_RELOC_PJ_CODE_LO16, + BFD_RELOC_PJ_CODE_DIR16, + BFD_RELOC_PJ_CODE_DIR32, + BFD_RELOC_PJ_CODE_REL16, + BFD_RELOC_PJ_CODE_REL32, + +/* Power(rs6000) and PowerPC relocations. */ + BFD_RELOC_PPC_B26, + BFD_RELOC_PPC_BA26, + BFD_RELOC_PPC_TOC16, + BFD_RELOC_PPC_B16, + BFD_RELOC_PPC_B16_BRTAKEN, + BFD_RELOC_PPC_B16_BRNTAKEN, + BFD_RELOC_PPC_BA16, + BFD_RELOC_PPC_BA16_BRTAKEN, + BFD_RELOC_PPC_BA16_BRNTAKEN, + BFD_RELOC_PPC_COPY, + BFD_RELOC_PPC_GLOB_DAT, + BFD_RELOC_PPC_JMP_SLOT, + BFD_RELOC_PPC_RELATIVE, + BFD_RELOC_PPC_LOCAL24PC, + BFD_RELOC_PPC_EMB_NADDR32, + BFD_RELOC_PPC_EMB_NADDR16, + BFD_RELOC_PPC_EMB_NADDR16_LO, + BFD_RELOC_PPC_EMB_NADDR16_HI, + BFD_RELOC_PPC_EMB_NADDR16_HA, + BFD_RELOC_PPC_EMB_SDAI16, + BFD_RELOC_PPC_EMB_SDA2I16, + BFD_RELOC_PPC_EMB_SDA2REL, + BFD_RELOC_PPC_EMB_SDA21, + BFD_RELOC_PPC_EMB_MRKREF, + BFD_RELOC_PPC_EMB_RELSEC16, + BFD_RELOC_PPC_EMB_RELST_LO, + BFD_RELOC_PPC_EMB_RELST_HI, + BFD_RELOC_PPC_EMB_RELST_HA, + BFD_RELOC_PPC_EMB_BIT_FLD, + BFD_RELOC_PPC_EMB_RELSDA, + BFD_RELOC_PPC_VLE_REL8, + BFD_RELOC_PPC_VLE_REL15, + BFD_RELOC_PPC_VLE_REL24, + BFD_RELOC_PPC_VLE_LO16A, + BFD_RELOC_PPC_VLE_LO16D, + BFD_RELOC_PPC_VLE_HI16A, + BFD_RELOC_PPC_VLE_HI16D, + BFD_RELOC_PPC_VLE_HA16A, + BFD_RELOC_PPC_VLE_HA16D, + BFD_RELOC_PPC_VLE_SDA21, + BFD_RELOC_PPC_VLE_SDA21_LO, + BFD_RELOC_PPC_VLE_SDAREL_LO16A, + BFD_RELOC_PPC_VLE_SDAREL_LO16D, + BFD_RELOC_PPC_VLE_SDAREL_HI16A, + BFD_RELOC_PPC_VLE_SDAREL_HI16D, + BFD_RELOC_PPC_VLE_SDAREL_HA16A, + BFD_RELOC_PPC_VLE_SDAREL_HA16D, + BFD_RELOC_PPC_REL16DX_HA, + BFD_RELOC_PPC64_HIGHER, + BFD_RELOC_PPC64_HIGHER_S, + BFD_RELOC_PPC64_HIGHEST, + BFD_RELOC_PPC64_HIGHEST_S, + BFD_RELOC_PPC64_TOC16_LO, + BFD_RELOC_PPC64_TOC16_HI, + BFD_RELOC_PPC64_TOC16_HA, + BFD_RELOC_PPC64_TOC, + BFD_RELOC_PPC64_PLTGOT16, + BFD_RELOC_PPC64_PLTGOT16_LO, + BFD_RELOC_PPC64_PLTGOT16_HI, + BFD_RELOC_PPC64_PLTGOT16_HA, + BFD_RELOC_PPC64_ADDR16_DS, + BFD_RELOC_PPC64_ADDR16_LO_DS, + BFD_RELOC_PPC64_GOT16_DS, + BFD_RELOC_PPC64_GOT16_LO_DS, + BFD_RELOC_PPC64_PLT16_LO_DS, + BFD_RELOC_PPC64_SECTOFF_DS, + BFD_RELOC_PPC64_SECTOFF_LO_DS, + BFD_RELOC_PPC64_TOC16_DS, + BFD_RELOC_PPC64_TOC16_LO_DS, + BFD_RELOC_PPC64_PLTGOT16_DS, + BFD_RELOC_PPC64_PLTGOT16_LO_DS, + BFD_RELOC_PPC64_ADDR16_HIGH, + BFD_RELOC_PPC64_ADDR16_HIGHA, + BFD_RELOC_PPC64_ADDR64_LOCAL, + BFD_RELOC_PPC64_ENTRY, + +/* PowerPC and PowerPC64 thread-local storage relocations. */ + BFD_RELOC_PPC_TLS, + BFD_RELOC_PPC_TLSGD, + BFD_RELOC_PPC_TLSLD, + BFD_RELOC_PPC_DTPMOD, + BFD_RELOC_PPC_TPREL16, + BFD_RELOC_PPC_TPREL16_LO, + BFD_RELOC_PPC_TPREL16_HI, + BFD_RELOC_PPC_TPREL16_HA, + BFD_RELOC_PPC_TPREL, + BFD_RELOC_PPC_DTPREL16, + BFD_RELOC_PPC_DTPREL16_LO, + BFD_RELOC_PPC_DTPREL16_HI, + BFD_RELOC_PPC_DTPREL16_HA, + BFD_RELOC_PPC_DTPREL, + BFD_RELOC_PPC_GOT_TLSGD16, + BFD_RELOC_PPC_GOT_TLSGD16_LO, + BFD_RELOC_PPC_GOT_TLSGD16_HI, + BFD_RELOC_PPC_GOT_TLSGD16_HA, + BFD_RELOC_PPC_GOT_TLSLD16, + BFD_RELOC_PPC_GOT_TLSLD16_LO, + BFD_RELOC_PPC_GOT_TLSLD16_HI, + BFD_RELOC_PPC_GOT_TLSLD16_HA, + BFD_RELOC_PPC_GOT_TPREL16, + BFD_RELOC_PPC_GOT_TPREL16_LO, + BFD_RELOC_PPC_GOT_TPREL16_HI, + BFD_RELOC_PPC_GOT_TPREL16_HA, + BFD_RELOC_PPC_GOT_DTPREL16, + BFD_RELOC_PPC_GOT_DTPREL16_LO, + BFD_RELOC_PPC_GOT_DTPREL16_HI, + BFD_RELOC_PPC_GOT_DTPREL16_HA, + BFD_RELOC_PPC64_TPREL16_DS, + BFD_RELOC_PPC64_TPREL16_LO_DS, + BFD_RELOC_PPC64_TPREL16_HIGHER, + BFD_RELOC_PPC64_TPREL16_HIGHERA, + BFD_RELOC_PPC64_TPREL16_HIGHEST, + BFD_RELOC_PPC64_TPREL16_HIGHESTA, + BFD_RELOC_PPC64_DTPREL16_DS, + BFD_RELOC_PPC64_DTPREL16_LO_DS, + BFD_RELOC_PPC64_DTPREL16_HIGHER, + BFD_RELOC_PPC64_DTPREL16_HIGHERA, + BFD_RELOC_PPC64_DTPREL16_HIGHEST, + BFD_RELOC_PPC64_DTPREL16_HIGHESTA, + BFD_RELOC_PPC64_TPREL16_HIGH, + BFD_RELOC_PPC64_TPREL16_HIGHA, + BFD_RELOC_PPC64_DTPREL16_HIGH, + BFD_RELOC_PPC64_DTPREL16_HIGHA, + +/* IBM 370/390 relocations */ + BFD_RELOC_I370_D12, + +/* The type of reloc used to build a constructor table - at the moment +probably a 32 bit wide absolute relocation, but the target can choose. +It generally does map to one of the other relocation types. */ + BFD_RELOC_CTOR, + +/* ARM 26 bit pc-relative branch. The lowest two bits must be zero and are +not stored in the instruction. */ + BFD_RELOC_ARM_PCREL_BRANCH, + +/* ARM 26 bit pc-relative branch. The lowest bit must be zero and is +not stored in the instruction. The 2nd lowest bit comes from a 1 bit +field in the instruction. */ + BFD_RELOC_ARM_PCREL_BLX, + +/* Thumb 22 bit pc-relative branch. The lowest bit must be zero and is +not stored in the instruction. The 2nd lowest bit comes from a 1 bit +field in the instruction. */ + BFD_RELOC_THUMB_PCREL_BLX, + +/* ARM 26-bit pc-relative branch for an unconditional BL or BLX instruction. */ + BFD_RELOC_ARM_PCREL_CALL, + +/* ARM 26-bit pc-relative branch for B or conditional BL instruction. */ + BFD_RELOC_ARM_PCREL_JUMP, + +/* Thumb 7-, 9-, 12-, 20-, 23-, and 25-bit pc-relative branches. +The lowest bit must be zero and is not stored in the instruction. +Note that the corresponding ELF R_ARM_THM_JUMPnn constant has an +"nn" one smaller in all cases. Note further that BRANCH23 +corresponds to R_ARM_THM_CALL. */ + BFD_RELOC_THUMB_PCREL_BRANCH7, + BFD_RELOC_THUMB_PCREL_BRANCH9, + BFD_RELOC_THUMB_PCREL_BRANCH12, + BFD_RELOC_THUMB_PCREL_BRANCH20, + BFD_RELOC_THUMB_PCREL_BRANCH23, + BFD_RELOC_THUMB_PCREL_BRANCH25, + +/* 12-bit immediate offset, used in ARM-format ldr and str instructions. */ + BFD_RELOC_ARM_OFFSET_IMM, + +/* 5-bit immediate offset, used in Thumb-format ldr and str instructions. */ + BFD_RELOC_ARM_THUMB_OFFSET, + +/* Pc-relative or absolute relocation depending on target. Used for +entries in .init_array sections. */ + BFD_RELOC_ARM_TARGET1, + +/* Read-only segment base relative address. */ + BFD_RELOC_ARM_ROSEGREL32, + +/* Data segment base relative address. */ + BFD_RELOC_ARM_SBREL32, + +/* This reloc is used for references to RTTI data from exception handling +tables. The actual definition depends on the target. It may be a +pc-relative or some form of GOT-indirect relocation. */ + BFD_RELOC_ARM_TARGET2, + +/* 31-bit PC relative address. */ + BFD_RELOC_ARM_PREL31, + +/* Low and High halfword relocations for MOVW and MOVT instructions. */ + BFD_RELOC_ARM_MOVW, + BFD_RELOC_ARM_MOVT, + BFD_RELOC_ARM_MOVW_PCREL, + BFD_RELOC_ARM_MOVT_PCREL, + BFD_RELOC_ARM_THUMB_MOVW, + BFD_RELOC_ARM_THUMB_MOVT, + BFD_RELOC_ARM_THUMB_MOVW_PCREL, + BFD_RELOC_ARM_THUMB_MOVT_PCREL, + +/* Relocations for setting up GOTs and PLTs for shared libraries. */ + BFD_RELOC_ARM_JUMP_SLOT, + BFD_RELOC_ARM_GLOB_DAT, + BFD_RELOC_ARM_GOT32, + BFD_RELOC_ARM_PLT32, + BFD_RELOC_ARM_RELATIVE, + BFD_RELOC_ARM_GOTOFF, + BFD_RELOC_ARM_GOTPC, + BFD_RELOC_ARM_GOT_PREL, + +/* ARM thread-local storage relocations. */ + BFD_RELOC_ARM_TLS_GD32, + BFD_RELOC_ARM_TLS_LDO32, + BFD_RELOC_ARM_TLS_LDM32, + BFD_RELOC_ARM_TLS_DTPOFF32, + BFD_RELOC_ARM_TLS_DTPMOD32, + BFD_RELOC_ARM_TLS_TPOFF32, + BFD_RELOC_ARM_TLS_IE32, + BFD_RELOC_ARM_TLS_LE32, + BFD_RELOC_ARM_TLS_GOTDESC, + BFD_RELOC_ARM_TLS_CALL, + BFD_RELOC_ARM_THM_TLS_CALL, + BFD_RELOC_ARM_TLS_DESCSEQ, + BFD_RELOC_ARM_THM_TLS_DESCSEQ, + BFD_RELOC_ARM_TLS_DESC, + +/* ARM group relocations. */ + BFD_RELOC_ARM_ALU_PC_G0_NC, + BFD_RELOC_ARM_ALU_PC_G0, + BFD_RELOC_ARM_ALU_PC_G1_NC, + BFD_RELOC_ARM_ALU_PC_G1, + BFD_RELOC_ARM_ALU_PC_G2, + BFD_RELOC_ARM_LDR_PC_G0, + BFD_RELOC_ARM_LDR_PC_G1, + BFD_RELOC_ARM_LDR_PC_G2, + BFD_RELOC_ARM_LDRS_PC_G0, + BFD_RELOC_ARM_LDRS_PC_G1, + BFD_RELOC_ARM_LDRS_PC_G2, + BFD_RELOC_ARM_LDC_PC_G0, + BFD_RELOC_ARM_LDC_PC_G1, + BFD_RELOC_ARM_LDC_PC_G2, + BFD_RELOC_ARM_ALU_SB_G0_NC, + BFD_RELOC_ARM_ALU_SB_G0, + BFD_RELOC_ARM_ALU_SB_G1_NC, + BFD_RELOC_ARM_ALU_SB_G1, + BFD_RELOC_ARM_ALU_SB_G2, + BFD_RELOC_ARM_LDR_SB_G0, + BFD_RELOC_ARM_LDR_SB_G1, + BFD_RELOC_ARM_LDR_SB_G2, + BFD_RELOC_ARM_LDRS_SB_G0, + BFD_RELOC_ARM_LDRS_SB_G1, + BFD_RELOC_ARM_LDRS_SB_G2, + BFD_RELOC_ARM_LDC_SB_G0, + BFD_RELOC_ARM_LDC_SB_G1, + BFD_RELOC_ARM_LDC_SB_G2, + +/* Annotation of BX instructions. */ + BFD_RELOC_ARM_V4BX, + +/* ARM support for STT_GNU_IFUNC. */ + BFD_RELOC_ARM_IRELATIVE, + +/* These relocs are only used within the ARM assembler. They are not +(at present) written to any object files. */ + BFD_RELOC_ARM_IMMEDIATE, + BFD_RELOC_ARM_ADRL_IMMEDIATE, + BFD_RELOC_ARM_T32_IMMEDIATE, + BFD_RELOC_ARM_T32_ADD_IMM, + BFD_RELOC_ARM_T32_IMM12, + BFD_RELOC_ARM_T32_ADD_PC12, + BFD_RELOC_ARM_SHIFT_IMM, + BFD_RELOC_ARM_SMC, + BFD_RELOC_ARM_HVC, + BFD_RELOC_ARM_SWI, + BFD_RELOC_ARM_MULTI, + BFD_RELOC_ARM_CP_OFF_IMM, + BFD_RELOC_ARM_CP_OFF_IMM_S2, + BFD_RELOC_ARM_T32_CP_OFF_IMM, + BFD_RELOC_ARM_T32_CP_OFF_IMM_S2, + BFD_RELOC_ARM_ADR_IMM, + BFD_RELOC_ARM_LDR_IMM, + BFD_RELOC_ARM_LITERAL, + BFD_RELOC_ARM_IN_POOL, + BFD_RELOC_ARM_OFFSET_IMM8, + BFD_RELOC_ARM_T32_OFFSET_U8, + BFD_RELOC_ARM_T32_OFFSET_IMM, + BFD_RELOC_ARM_HWLITERAL, + BFD_RELOC_ARM_THUMB_ADD, + BFD_RELOC_ARM_THUMB_IMM, + BFD_RELOC_ARM_THUMB_SHIFT, + +/* Renesas / SuperH SH relocs. Not all of these appear in object files. */ + BFD_RELOC_SH_PCDISP8BY2, + BFD_RELOC_SH_PCDISP12BY2, + BFD_RELOC_SH_IMM3, + BFD_RELOC_SH_IMM3U, + BFD_RELOC_SH_DISP12, + BFD_RELOC_SH_DISP12BY2, + BFD_RELOC_SH_DISP12BY4, + BFD_RELOC_SH_DISP12BY8, + BFD_RELOC_SH_DISP20, + BFD_RELOC_SH_DISP20BY8, + BFD_RELOC_SH_IMM4, + BFD_RELOC_SH_IMM4BY2, + BFD_RELOC_SH_IMM4BY4, + BFD_RELOC_SH_IMM8, + BFD_RELOC_SH_IMM8BY2, + BFD_RELOC_SH_IMM8BY4, + BFD_RELOC_SH_PCRELIMM8BY2, + BFD_RELOC_SH_PCRELIMM8BY4, + BFD_RELOC_SH_SWITCH16, + BFD_RELOC_SH_SWITCH32, + BFD_RELOC_SH_USES, + BFD_RELOC_SH_COUNT, + BFD_RELOC_SH_ALIGN, + BFD_RELOC_SH_CODE, + BFD_RELOC_SH_DATA, + BFD_RELOC_SH_LABEL, + BFD_RELOC_SH_LOOP_START, + BFD_RELOC_SH_LOOP_END, + BFD_RELOC_SH_COPY, + BFD_RELOC_SH_GLOB_DAT, + BFD_RELOC_SH_JMP_SLOT, + BFD_RELOC_SH_RELATIVE, + BFD_RELOC_SH_GOTPC, + BFD_RELOC_SH_GOT_LOW16, + BFD_RELOC_SH_GOT_MEDLOW16, + BFD_RELOC_SH_GOT_MEDHI16, + BFD_RELOC_SH_GOT_HI16, + BFD_RELOC_SH_GOTPLT_LOW16, + BFD_RELOC_SH_GOTPLT_MEDLOW16, + BFD_RELOC_SH_GOTPLT_MEDHI16, + BFD_RELOC_SH_GOTPLT_HI16, + BFD_RELOC_SH_PLT_LOW16, + BFD_RELOC_SH_PLT_MEDLOW16, + BFD_RELOC_SH_PLT_MEDHI16, + BFD_RELOC_SH_PLT_HI16, + BFD_RELOC_SH_GOTOFF_LOW16, + BFD_RELOC_SH_GOTOFF_MEDLOW16, + BFD_RELOC_SH_GOTOFF_MEDHI16, + BFD_RELOC_SH_GOTOFF_HI16, + BFD_RELOC_SH_GOTPC_LOW16, + BFD_RELOC_SH_GOTPC_MEDLOW16, + BFD_RELOC_SH_GOTPC_MEDHI16, + BFD_RELOC_SH_GOTPC_HI16, + BFD_RELOC_SH_COPY64, + BFD_RELOC_SH_GLOB_DAT64, + BFD_RELOC_SH_JMP_SLOT64, + BFD_RELOC_SH_RELATIVE64, + BFD_RELOC_SH_GOT10BY4, + BFD_RELOC_SH_GOT10BY8, + BFD_RELOC_SH_GOTPLT10BY4, + BFD_RELOC_SH_GOTPLT10BY8, + BFD_RELOC_SH_GOTPLT32, + BFD_RELOC_SH_SHMEDIA_CODE, + BFD_RELOC_SH_IMMU5, + BFD_RELOC_SH_IMMS6, + BFD_RELOC_SH_IMMS6BY32, + BFD_RELOC_SH_IMMU6, + BFD_RELOC_SH_IMMS10, + BFD_RELOC_SH_IMMS10BY2, + BFD_RELOC_SH_IMMS10BY4, + BFD_RELOC_SH_IMMS10BY8, + BFD_RELOC_SH_IMMS16, + BFD_RELOC_SH_IMMU16, + BFD_RELOC_SH_IMM_LOW16, + BFD_RELOC_SH_IMM_LOW16_PCREL, + BFD_RELOC_SH_IMM_MEDLOW16, + BFD_RELOC_SH_IMM_MEDLOW16_PCREL, + BFD_RELOC_SH_IMM_MEDHI16, + BFD_RELOC_SH_IMM_MEDHI16_PCREL, + BFD_RELOC_SH_IMM_HI16, + BFD_RELOC_SH_IMM_HI16_PCREL, + BFD_RELOC_SH_PT_16, + BFD_RELOC_SH_TLS_GD_32, + BFD_RELOC_SH_TLS_LD_32, + BFD_RELOC_SH_TLS_LDO_32, + BFD_RELOC_SH_TLS_IE_32, + BFD_RELOC_SH_TLS_LE_32, + BFD_RELOC_SH_TLS_DTPMOD32, + BFD_RELOC_SH_TLS_DTPOFF32, + BFD_RELOC_SH_TLS_TPOFF32, + BFD_RELOC_SH_GOT20, + BFD_RELOC_SH_GOTOFF20, + BFD_RELOC_SH_GOTFUNCDESC, + BFD_RELOC_SH_GOTFUNCDESC20, + BFD_RELOC_SH_GOTOFFFUNCDESC, + BFD_RELOC_SH_GOTOFFFUNCDESC20, + BFD_RELOC_SH_FUNCDESC, + +/* ARC relocs. */ + BFD_RELOC_ARC_NONE, + BFD_RELOC_ARC_8, + BFD_RELOC_ARC_16, + BFD_RELOC_ARC_24, + BFD_RELOC_ARC_32, + BFD_RELOC_ARC_N8, + BFD_RELOC_ARC_N16, + BFD_RELOC_ARC_N24, + BFD_RELOC_ARC_N32, + BFD_RELOC_ARC_SDA, + BFD_RELOC_ARC_SECTOFF, + BFD_RELOC_ARC_S21H_PCREL, + BFD_RELOC_ARC_S21W_PCREL, + BFD_RELOC_ARC_S25H_PCREL, + BFD_RELOC_ARC_S25W_PCREL, + BFD_RELOC_ARC_SDA32, + BFD_RELOC_ARC_SDA_LDST, + BFD_RELOC_ARC_SDA_LDST1, + BFD_RELOC_ARC_SDA_LDST2, + BFD_RELOC_ARC_SDA16_LD, + BFD_RELOC_ARC_SDA16_LD1, + BFD_RELOC_ARC_SDA16_LD2, + BFD_RELOC_ARC_S13_PCREL, + BFD_RELOC_ARC_W, + BFD_RELOC_ARC_32_ME, + BFD_RELOC_ARC_32_ME_S, + BFD_RELOC_ARC_N32_ME, + BFD_RELOC_ARC_SECTOFF_ME, + BFD_RELOC_ARC_SDA32_ME, + BFD_RELOC_ARC_W_ME, + BFD_RELOC_AC_SECTOFF_U8, + BFD_RELOC_AC_SECTOFF_U8_1, + BFD_RELOC_AC_SECTOFF_U8_2, + BFD_RELOC_AC_SECTFOFF_S9, + BFD_RELOC_AC_SECTFOFF_S9_1, + BFD_RELOC_AC_SECTFOFF_S9_2, + BFD_RELOC_ARC_SECTOFF_ME_1, + BFD_RELOC_ARC_SECTOFF_ME_2, + BFD_RELOC_ARC_SECTOFF_1, + BFD_RELOC_ARC_SECTOFF_2, + BFD_RELOC_ARC_SDA16_ST2, + BFD_RELOC_ARC_32_PCREL, + BFD_RELOC_ARC_PC32, + BFD_RELOC_ARC_GOT32, + BFD_RELOC_ARC_GOTPC32, + BFD_RELOC_ARC_PLT32, + BFD_RELOC_ARC_COPY, + BFD_RELOC_ARC_GLOB_DAT, + BFD_RELOC_ARC_JMP_SLOT, + BFD_RELOC_ARC_RELATIVE, + BFD_RELOC_ARC_GOTOFF, + BFD_RELOC_ARC_GOTPC, + BFD_RELOC_ARC_S21W_PCREL_PLT, + BFD_RELOC_ARC_S25H_PCREL_PLT, + BFD_RELOC_ARC_TLS_DTPMOD, + BFD_RELOC_ARC_TLS_TPOFF, + BFD_RELOC_ARC_TLS_GD_GOT, + BFD_RELOC_ARC_TLS_GD_LD, + BFD_RELOC_ARC_TLS_GD_CALL, + BFD_RELOC_ARC_TLS_IE_GOT, + BFD_RELOC_ARC_TLS_DTPOFF, + BFD_RELOC_ARC_TLS_DTPOFF_S9, + BFD_RELOC_ARC_TLS_LE_S9, + BFD_RELOC_ARC_TLS_LE_32, + BFD_RELOC_ARC_S25W_PCREL_PLT, + BFD_RELOC_ARC_S21H_PCREL_PLT, + +/* ADI Blackfin 16 bit immediate absolute reloc. */ + BFD_RELOC_BFIN_16_IMM, + +/* ADI Blackfin 16 bit immediate absolute reloc higher 16 bits. */ + BFD_RELOC_BFIN_16_HIGH, + +/* ADI Blackfin 'a' part of LSETUP. */ + BFD_RELOC_BFIN_4_PCREL, + +/* ADI Blackfin. */ + BFD_RELOC_BFIN_5_PCREL, + +/* ADI Blackfin 16 bit immediate absolute reloc lower 16 bits. */ + BFD_RELOC_BFIN_16_LOW, + +/* ADI Blackfin. */ + BFD_RELOC_BFIN_10_PCREL, + +/* ADI Blackfin 'b' part of LSETUP. */ + BFD_RELOC_BFIN_11_PCREL, + +/* ADI Blackfin. */ + BFD_RELOC_BFIN_12_PCREL_JUMP, + +/* ADI Blackfin Short jump, pcrel. */ + BFD_RELOC_BFIN_12_PCREL_JUMP_S, + +/* ADI Blackfin Call.x not implemented. */ + BFD_RELOC_BFIN_24_PCREL_CALL_X, + +/* ADI Blackfin Long Jump pcrel. */ + BFD_RELOC_BFIN_24_PCREL_JUMP_L, + +/* ADI Blackfin FD-PIC relocations. */ + BFD_RELOC_BFIN_GOT17M4, + BFD_RELOC_BFIN_GOTHI, + BFD_RELOC_BFIN_GOTLO, + BFD_RELOC_BFIN_FUNCDESC, + BFD_RELOC_BFIN_FUNCDESC_GOT17M4, + BFD_RELOC_BFIN_FUNCDESC_GOTHI, + BFD_RELOC_BFIN_FUNCDESC_GOTLO, + BFD_RELOC_BFIN_FUNCDESC_VALUE, + BFD_RELOC_BFIN_FUNCDESC_GOTOFF17M4, + BFD_RELOC_BFIN_FUNCDESC_GOTOFFHI, + BFD_RELOC_BFIN_FUNCDESC_GOTOFFLO, + BFD_RELOC_BFIN_GOTOFF17M4, + BFD_RELOC_BFIN_GOTOFFHI, + BFD_RELOC_BFIN_GOTOFFLO, + +/* ADI Blackfin GOT relocation. */ + BFD_RELOC_BFIN_GOT, + +/* ADI Blackfin PLTPC relocation. */ + BFD_RELOC_BFIN_PLTPC, + +/* ADI Blackfin arithmetic relocation. */ + BFD_ARELOC_BFIN_PUSH, + +/* ADI Blackfin arithmetic relocation. */ + BFD_ARELOC_BFIN_CONST, + +/* ADI Blackfin arithmetic relocation. */ + BFD_ARELOC_BFIN_ADD, + +/* ADI Blackfin arithmetic relocation. */ + BFD_ARELOC_BFIN_SUB, + +/* ADI Blackfin arithmetic relocation. */ + BFD_ARELOC_BFIN_MULT, + +/* ADI Blackfin arithmetic relocation. */ + BFD_ARELOC_BFIN_DIV, + +/* ADI Blackfin arithmetic relocation. */ + BFD_ARELOC_BFIN_MOD, + +/* ADI Blackfin arithmetic relocation. */ + BFD_ARELOC_BFIN_LSHIFT, + +/* ADI Blackfin arithmetic relocation. */ + BFD_ARELOC_BFIN_RSHIFT, + +/* ADI Blackfin arithmetic relocation. */ + BFD_ARELOC_BFIN_AND, + +/* ADI Blackfin arithmetic relocation. */ + BFD_ARELOC_BFIN_OR, + +/* ADI Blackfin arithmetic relocation. */ + BFD_ARELOC_BFIN_XOR, + +/* ADI Blackfin arithmetic relocation. */ + BFD_ARELOC_BFIN_LAND, + +/* ADI Blackfin arithmetic relocation. */ + BFD_ARELOC_BFIN_LOR, + +/* ADI Blackfin arithmetic relocation. */ + BFD_ARELOC_BFIN_LEN, + +/* ADI Blackfin arithmetic relocation. */ + BFD_ARELOC_BFIN_NEG, + +/* ADI Blackfin arithmetic relocation. */ + BFD_ARELOC_BFIN_COMP, + +/* ADI Blackfin arithmetic relocation. */ + BFD_ARELOC_BFIN_PAGE, + +/* ADI Blackfin arithmetic relocation. */ + BFD_ARELOC_BFIN_HWPAGE, + +/* ADI Blackfin arithmetic relocation. */ + BFD_ARELOC_BFIN_ADDR, + +/* Mitsubishi D10V relocs. +This is a 10-bit reloc with the right 2 bits +assumed to be 0. */ + BFD_RELOC_D10V_10_PCREL_R, + +/* Mitsubishi D10V relocs. +This is a 10-bit reloc with the right 2 bits +assumed to be 0. This is the same as the previous reloc +except it is in the left container, i.e., +shifted left 15 bits. */ + BFD_RELOC_D10V_10_PCREL_L, + +/* This is an 18-bit reloc with the right 2 bits +assumed to be 0. */ + BFD_RELOC_D10V_18, + +/* This is an 18-bit reloc with the right 2 bits +assumed to be 0. */ + BFD_RELOC_D10V_18_PCREL, + +/* Mitsubishi D30V relocs. +This is a 6-bit absolute reloc. */ + BFD_RELOC_D30V_6, + +/* This is a 6-bit pc-relative reloc with +the right 3 bits assumed to be 0. */ + BFD_RELOC_D30V_9_PCREL, + +/* This is a 6-bit pc-relative reloc with +the right 3 bits assumed to be 0. Same +as the previous reloc but on the right side +of the container. */ + BFD_RELOC_D30V_9_PCREL_R, + +/* This is a 12-bit absolute reloc with the +right 3 bitsassumed to be 0. */ + BFD_RELOC_D30V_15, + +/* This is a 12-bit pc-relative reloc with +the right 3 bits assumed to be 0. */ + BFD_RELOC_D30V_15_PCREL, + +/* This is a 12-bit pc-relative reloc with +the right 3 bits assumed to be 0. Same +as the previous reloc but on the right side +of the container. */ + BFD_RELOC_D30V_15_PCREL_R, + +/* This is an 18-bit absolute reloc with +the right 3 bits assumed to be 0. */ + BFD_RELOC_D30V_21, + +/* This is an 18-bit pc-relative reloc with +the right 3 bits assumed to be 0. */ + BFD_RELOC_D30V_21_PCREL, + +/* This is an 18-bit pc-relative reloc with +the right 3 bits assumed to be 0. Same +as the previous reloc but on the right side +of the container. */ + BFD_RELOC_D30V_21_PCREL_R, + +/* This is a 32-bit absolute reloc. */ + BFD_RELOC_D30V_32, + +/* This is a 32-bit pc-relative reloc. */ + BFD_RELOC_D30V_32_PCREL, + +/* DLX relocs */ + BFD_RELOC_DLX_HI16_S, + +/* DLX relocs */ + BFD_RELOC_DLX_LO16, + +/* DLX relocs */ + BFD_RELOC_DLX_JMP26, + +/* Renesas M16C/M32C Relocations. */ + BFD_RELOC_M32C_HI8, + BFD_RELOC_M32C_RL_JUMP, + BFD_RELOC_M32C_RL_1ADDR, + BFD_RELOC_M32C_RL_2ADDR, + +/* Renesas M32R (formerly Mitsubishi M32R) relocs. +This is a 24 bit absolute address. */ + BFD_RELOC_M32R_24, + +/* This is a 10-bit pc-relative reloc with the right 2 bits assumed to be 0. */ + BFD_RELOC_M32R_10_PCREL, + +/* This is an 18-bit reloc with the right 2 bits assumed to be 0. */ + BFD_RELOC_M32R_18_PCREL, + +/* This is a 26-bit reloc with the right 2 bits assumed to be 0. */ + BFD_RELOC_M32R_26_PCREL, + +/* This is a 16-bit reloc containing the high 16 bits of an address +used when the lower 16 bits are treated as unsigned. */ + BFD_RELOC_M32R_HI16_ULO, + +/* This is a 16-bit reloc containing the high 16 bits of an address +used when the lower 16 bits are treated as signed. */ + BFD_RELOC_M32R_HI16_SLO, + +/* This is a 16-bit reloc containing the lower 16 bits of an address. */ + BFD_RELOC_M32R_LO16, + +/* This is a 16-bit reloc containing the small data area offset for use in +add3, load, and store instructions. */ + BFD_RELOC_M32R_SDA16, + +/* For PIC. */ + BFD_RELOC_M32R_GOT24, + BFD_RELOC_M32R_26_PLTREL, + BFD_RELOC_M32R_COPY, + BFD_RELOC_M32R_GLOB_DAT, + BFD_RELOC_M32R_JMP_SLOT, + BFD_RELOC_M32R_RELATIVE, + BFD_RELOC_M32R_GOTOFF, + BFD_RELOC_M32R_GOTOFF_HI_ULO, + BFD_RELOC_M32R_GOTOFF_HI_SLO, + BFD_RELOC_M32R_GOTOFF_LO, + BFD_RELOC_M32R_GOTPC24, + BFD_RELOC_M32R_GOT16_HI_ULO, + BFD_RELOC_M32R_GOT16_HI_SLO, + BFD_RELOC_M32R_GOT16_LO, + BFD_RELOC_M32R_GOTPC_HI_ULO, + BFD_RELOC_M32R_GOTPC_HI_SLO, + BFD_RELOC_M32R_GOTPC_LO, + +/* NDS32 relocs. +This is a 20 bit absolute address. */ + BFD_RELOC_NDS32_20, + +/* This is a 9-bit pc-relative reloc with the right 1 bit assumed to be 0. */ + BFD_RELOC_NDS32_9_PCREL, + +/* This is a 9-bit pc-relative reloc with the right 1 bit assumed to be 0. */ + BFD_RELOC_NDS32_WORD_9_PCREL, + +/* This is an 15-bit reloc with the right 1 bit assumed to be 0. */ + BFD_RELOC_NDS32_15_PCREL, + +/* This is an 17-bit reloc with the right 1 bit assumed to be 0. */ + BFD_RELOC_NDS32_17_PCREL, + +/* This is a 25-bit reloc with the right 1 bit assumed to be 0. */ + BFD_RELOC_NDS32_25_PCREL, + +/* This is a 20-bit reloc containing the high 20 bits of an address +used with the lower 12 bits */ + BFD_RELOC_NDS32_HI20, + +/* This is a 12-bit reloc containing the lower 12 bits of an address +then shift right by 3. This is used with ldi,sdi... */ + BFD_RELOC_NDS32_LO12S3, + +/* This is a 12-bit reloc containing the lower 12 bits of an address +then shift left by 2. This is used with lwi,swi... */ + BFD_RELOC_NDS32_LO12S2, + +/* This is a 12-bit reloc containing the lower 12 bits of an address +then shift left by 1. This is used with lhi,shi... */ + BFD_RELOC_NDS32_LO12S1, + +/* This is a 12-bit reloc containing the lower 12 bits of an address +then shift left by 0. This is used with lbisbi... */ + BFD_RELOC_NDS32_LO12S0, + +/* This is a 12-bit reloc containing the lower 12 bits of an address +then shift left by 0. This is only used with branch relaxations */ + BFD_RELOC_NDS32_LO12S0_ORI, + +/* This is a 15-bit reloc containing the small data area 18-bit signed offset +and shift left by 3 for use in ldi, sdi... */ + BFD_RELOC_NDS32_SDA15S3, + +/* This is a 15-bit reloc containing the small data area 17-bit signed offset +and shift left by 2 for use in lwi, swi... */ + BFD_RELOC_NDS32_SDA15S2, + +/* This is a 15-bit reloc containing the small data area 16-bit signed offset +and shift left by 1 for use in lhi, shi... */ + BFD_RELOC_NDS32_SDA15S1, + +/* This is a 15-bit reloc containing the small data area 15-bit signed offset +and shift left by 0 for use in lbi, sbi... */ + BFD_RELOC_NDS32_SDA15S0, + +/* This is a 16-bit reloc containing the small data area 16-bit signed offset +and shift left by 3 */ + BFD_RELOC_NDS32_SDA16S3, + +/* This is a 17-bit reloc containing the small data area 17-bit signed offset +and shift left by 2 for use in lwi.gp, swi.gp... */ + BFD_RELOC_NDS32_SDA17S2, + +/* This is a 18-bit reloc containing the small data area 18-bit signed offset +and shift left by 1 for use in lhi.gp, shi.gp... */ + BFD_RELOC_NDS32_SDA18S1, + +/* This is a 19-bit reloc containing the small data area 19-bit signed offset +and shift left by 0 for use in lbi.gp, sbi.gp... */ + BFD_RELOC_NDS32_SDA19S0, + +/* for PIC */ + BFD_RELOC_NDS32_GOT20, + BFD_RELOC_NDS32_9_PLTREL, + BFD_RELOC_NDS32_25_PLTREL, + BFD_RELOC_NDS32_COPY, + BFD_RELOC_NDS32_GLOB_DAT, + BFD_RELOC_NDS32_JMP_SLOT, + BFD_RELOC_NDS32_RELATIVE, + BFD_RELOC_NDS32_GOTOFF, + BFD_RELOC_NDS32_GOTOFF_HI20, + BFD_RELOC_NDS32_GOTOFF_LO12, + BFD_RELOC_NDS32_GOTPC20, + BFD_RELOC_NDS32_GOT_HI20, + BFD_RELOC_NDS32_GOT_LO12, + BFD_RELOC_NDS32_GOTPC_HI20, + BFD_RELOC_NDS32_GOTPC_LO12, + +/* for relax */ + BFD_RELOC_NDS32_INSN16, + BFD_RELOC_NDS32_LABEL, + BFD_RELOC_NDS32_LONGCALL1, + BFD_RELOC_NDS32_LONGCALL2, + BFD_RELOC_NDS32_LONGCALL3, + BFD_RELOC_NDS32_LONGJUMP1, + BFD_RELOC_NDS32_LONGJUMP2, + BFD_RELOC_NDS32_LONGJUMP3, + BFD_RELOC_NDS32_LOADSTORE, + BFD_RELOC_NDS32_9_FIXED, + BFD_RELOC_NDS32_15_FIXED, + BFD_RELOC_NDS32_17_FIXED, + BFD_RELOC_NDS32_25_FIXED, + BFD_RELOC_NDS32_LONGCALL4, + BFD_RELOC_NDS32_LONGCALL5, + BFD_RELOC_NDS32_LONGCALL6, + BFD_RELOC_NDS32_LONGJUMP4, + BFD_RELOC_NDS32_LONGJUMP5, + BFD_RELOC_NDS32_LONGJUMP6, + BFD_RELOC_NDS32_LONGJUMP7, + +/* for PIC */ + BFD_RELOC_NDS32_PLTREL_HI20, + BFD_RELOC_NDS32_PLTREL_LO12, + BFD_RELOC_NDS32_PLT_GOTREL_HI20, + BFD_RELOC_NDS32_PLT_GOTREL_LO12, + +/* for floating point */ + BFD_RELOC_NDS32_SDA12S2_DP, + BFD_RELOC_NDS32_SDA12S2_SP, + BFD_RELOC_NDS32_LO12S2_DP, + BFD_RELOC_NDS32_LO12S2_SP, + +/* for dwarf2 debug_line. */ + BFD_RELOC_NDS32_DWARF2_OP1, + BFD_RELOC_NDS32_DWARF2_OP2, + BFD_RELOC_NDS32_DWARF2_LEB, + +/* for eliminate 16-bit instructions */ + BFD_RELOC_NDS32_UPDATE_TA, + +/* for PIC object relaxation */ + BFD_RELOC_NDS32_PLT_GOTREL_LO20, + BFD_RELOC_NDS32_PLT_GOTREL_LO15, + BFD_RELOC_NDS32_PLT_GOTREL_LO19, + BFD_RELOC_NDS32_GOT_LO15, + BFD_RELOC_NDS32_GOT_LO19, + BFD_RELOC_NDS32_GOTOFF_LO15, + BFD_RELOC_NDS32_GOTOFF_LO19, + BFD_RELOC_NDS32_GOT15S2, + BFD_RELOC_NDS32_GOT17S2, + +/* NDS32 relocs. +This is a 5 bit absolute address. */ + BFD_RELOC_NDS32_5, + +/* This is a 10-bit unsigned pc-relative reloc with the right 1 bit assumed to be 0. */ + BFD_RELOC_NDS32_10_UPCREL, + +/* If fp were omitted, fp can used as another gp. */ + BFD_RELOC_NDS32_SDA_FP7U2_RELA, + +/* relaxation relative relocation types */ + BFD_RELOC_NDS32_RELAX_ENTRY, + BFD_RELOC_NDS32_GOT_SUFF, + BFD_RELOC_NDS32_GOTOFF_SUFF, + BFD_RELOC_NDS32_PLT_GOT_SUFF, + BFD_RELOC_NDS32_MULCALL_SUFF, + BFD_RELOC_NDS32_PTR, + BFD_RELOC_NDS32_PTR_COUNT, + BFD_RELOC_NDS32_PTR_RESOLVED, + BFD_RELOC_NDS32_PLTBLOCK, + BFD_RELOC_NDS32_RELAX_REGION_BEGIN, + BFD_RELOC_NDS32_RELAX_REGION_END, + BFD_RELOC_NDS32_MINUEND, + BFD_RELOC_NDS32_SUBTRAHEND, + BFD_RELOC_NDS32_DIFF8, + BFD_RELOC_NDS32_DIFF16, + BFD_RELOC_NDS32_DIFF32, + BFD_RELOC_NDS32_DIFF_ULEB128, + BFD_RELOC_NDS32_EMPTY, + +/* This is a 25 bit absolute address. */ + BFD_RELOC_NDS32_25_ABS, + +/* For ex9 and ifc using. */ + BFD_RELOC_NDS32_DATA, + BFD_RELOC_NDS32_TRAN, + BFD_RELOC_NDS32_17IFC_PCREL, + BFD_RELOC_NDS32_10IFCU_PCREL, + +/* For TLS. */ + BFD_RELOC_NDS32_TPOFF, + BFD_RELOC_NDS32_TLS_LE_HI20, + BFD_RELOC_NDS32_TLS_LE_LO12, + BFD_RELOC_NDS32_TLS_LE_ADD, + BFD_RELOC_NDS32_TLS_LE_LS, + BFD_RELOC_NDS32_GOTTPOFF, + BFD_RELOC_NDS32_TLS_IE_HI20, + BFD_RELOC_NDS32_TLS_IE_LO12S2, + BFD_RELOC_NDS32_TLS_TPOFF, + BFD_RELOC_NDS32_TLS_LE_20, + BFD_RELOC_NDS32_TLS_LE_15S0, + BFD_RELOC_NDS32_TLS_LE_15S1, + BFD_RELOC_NDS32_TLS_LE_15S2, + +/* This is a 9-bit reloc */ + BFD_RELOC_V850_9_PCREL, + +/* This is a 22-bit reloc */ + BFD_RELOC_V850_22_PCREL, + +/* This is a 16 bit offset from the short data area pointer. */ + BFD_RELOC_V850_SDA_16_16_OFFSET, + +/* This is a 16 bit offset (of which only 15 bits are used) from the +short data area pointer. */ + BFD_RELOC_V850_SDA_15_16_OFFSET, + +/* This is a 16 bit offset from the zero data area pointer. */ + BFD_RELOC_V850_ZDA_16_16_OFFSET, + +/* This is a 16 bit offset (of which only 15 bits are used) from the +zero data area pointer. */ + BFD_RELOC_V850_ZDA_15_16_OFFSET, + +/* This is an 8 bit offset (of which only 6 bits are used) from the +tiny data area pointer. */ + BFD_RELOC_V850_TDA_6_8_OFFSET, + +/* This is an 8bit offset (of which only 7 bits are used) from the tiny +data area pointer. */ + BFD_RELOC_V850_TDA_7_8_OFFSET, + +/* This is a 7 bit offset from the tiny data area pointer. */ + BFD_RELOC_V850_TDA_7_7_OFFSET, + +/* This is a 16 bit offset from the tiny data area pointer. */ + BFD_RELOC_V850_TDA_16_16_OFFSET, + +/* This is a 5 bit offset (of which only 4 bits are used) from the tiny +data area pointer. */ + BFD_RELOC_V850_TDA_4_5_OFFSET, + +/* This is a 4 bit offset from the tiny data area pointer. */ + BFD_RELOC_V850_TDA_4_4_OFFSET, + +/* This is a 16 bit offset from the short data area pointer, with the +bits placed non-contiguously in the instruction. */ + BFD_RELOC_V850_SDA_16_16_SPLIT_OFFSET, + +/* This is a 16 bit offset from the zero data area pointer, with the +bits placed non-contiguously in the instruction. */ + BFD_RELOC_V850_ZDA_16_16_SPLIT_OFFSET, + +/* This is a 6 bit offset from the call table base pointer. */ + BFD_RELOC_V850_CALLT_6_7_OFFSET, + +/* This is a 16 bit offset from the call table base pointer. */ + BFD_RELOC_V850_CALLT_16_16_OFFSET, + +/* Used for relaxing indirect function calls. */ + BFD_RELOC_V850_LONGCALL, + +/* Used for relaxing indirect jumps. */ + BFD_RELOC_V850_LONGJUMP, + +/* Used to maintain alignment whilst relaxing. */ + BFD_RELOC_V850_ALIGN, + +/* This is a variation of BFD_RELOC_LO16 that can be used in v850e ld.bu +instructions. */ + BFD_RELOC_V850_LO16_SPLIT_OFFSET, + +/* This is a 16-bit reloc. */ + BFD_RELOC_V850_16_PCREL, + +/* This is a 17-bit reloc. */ + BFD_RELOC_V850_17_PCREL, + +/* This is a 23-bit reloc. */ + BFD_RELOC_V850_23, + +/* This is a 32-bit reloc. */ + BFD_RELOC_V850_32_PCREL, + +/* This is a 32-bit reloc. */ + BFD_RELOC_V850_32_ABS, + +/* This is a 16-bit reloc. */ + BFD_RELOC_V850_16_SPLIT_OFFSET, + +/* This is a 16-bit reloc. */ + BFD_RELOC_V850_16_S1, + +/* Low 16 bits. 16 bit shifted by 1. */ + BFD_RELOC_V850_LO16_S1, + +/* This is a 16 bit offset from the call table base pointer. */ + BFD_RELOC_V850_CALLT_15_16_OFFSET, + +/* DSO relocations. */ + BFD_RELOC_V850_32_GOTPCREL, + +/* DSO relocations. */ + BFD_RELOC_V850_16_GOT, + +/* DSO relocations. */ + BFD_RELOC_V850_32_GOT, + +/* DSO relocations. */ + BFD_RELOC_V850_22_PLT_PCREL, + +/* DSO relocations. */ + BFD_RELOC_V850_32_PLT_PCREL, + +/* DSO relocations. */ + BFD_RELOC_V850_COPY, + +/* DSO relocations. */ + BFD_RELOC_V850_GLOB_DAT, + +/* DSO relocations. */ + BFD_RELOC_V850_JMP_SLOT, + +/* DSO relocations. */ + BFD_RELOC_V850_RELATIVE, + +/* DSO relocations. */ + BFD_RELOC_V850_16_GOTOFF, + +/* DSO relocations. */ + BFD_RELOC_V850_32_GOTOFF, + +/* start code. */ + BFD_RELOC_V850_CODE, + +/* start data in text. */ + BFD_RELOC_V850_DATA, + +/* This is a 8bit DP reloc for the tms320c30, where the most +significant 8 bits of a 24 bit word are placed into the least +significant 8 bits of the opcode. */ + BFD_RELOC_TIC30_LDP, + +/* This is a 7bit reloc for the tms320c54x, where the least +significant 7 bits of a 16 bit word are placed into the least +significant 7 bits of the opcode. */ + BFD_RELOC_TIC54X_PARTLS7, + +/* This is a 9bit DP reloc for the tms320c54x, where the most +significant 9 bits of a 16 bit word are placed into the least +significant 9 bits of the opcode. */ + BFD_RELOC_TIC54X_PARTMS9, + +/* This is an extended address 23-bit reloc for the tms320c54x. */ + BFD_RELOC_TIC54X_23, + +/* This is a 16-bit reloc for the tms320c54x, where the least +significant 16 bits of a 23-bit extended address are placed into +the opcode. */ + BFD_RELOC_TIC54X_16_OF_23, + +/* This is a reloc for the tms320c54x, where the most +significant 7 bits of a 23-bit extended address are placed into +the opcode. */ + BFD_RELOC_TIC54X_MS7_OF_23, + +/* TMS320C6000 relocations. */ + BFD_RELOC_C6000_PCR_S21, + BFD_RELOC_C6000_PCR_S12, + BFD_RELOC_C6000_PCR_S10, + BFD_RELOC_C6000_PCR_S7, + BFD_RELOC_C6000_ABS_S16, + BFD_RELOC_C6000_ABS_L16, + BFD_RELOC_C6000_ABS_H16, + BFD_RELOC_C6000_SBR_U15_B, + BFD_RELOC_C6000_SBR_U15_H, + BFD_RELOC_C6000_SBR_U15_W, + BFD_RELOC_C6000_SBR_S16, + BFD_RELOC_C6000_SBR_L16_B, + BFD_RELOC_C6000_SBR_L16_H, + BFD_RELOC_C6000_SBR_L16_W, + BFD_RELOC_C6000_SBR_H16_B, + BFD_RELOC_C6000_SBR_H16_H, + BFD_RELOC_C6000_SBR_H16_W, + BFD_RELOC_C6000_SBR_GOT_U15_W, + BFD_RELOC_C6000_SBR_GOT_L16_W, + BFD_RELOC_C6000_SBR_GOT_H16_W, + BFD_RELOC_C6000_DSBT_INDEX, + BFD_RELOC_C6000_PREL31, + BFD_RELOC_C6000_COPY, + BFD_RELOC_C6000_JUMP_SLOT, + BFD_RELOC_C6000_EHTYPE, + BFD_RELOC_C6000_PCR_H16, + BFD_RELOC_C6000_PCR_L16, + BFD_RELOC_C6000_ALIGN, + BFD_RELOC_C6000_FPHEAD, + BFD_RELOC_C6000_NOCMP, + +/* This is a 48 bit reloc for the FR30 that stores 32 bits. */ + BFD_RELOC_FR30_48, + +/* This is a 32 bit reloc for the FR30 that stores 20 bits split up into +two sections. */ + BFD_RELOC_FR30_20, + +/* This is a 16 bit reloc for the FR30 that stores a 6 bit word offset in +4 bits. */ + BFD_RELOC_FR30_6_IN_4, + +/* This is a 16 bit reloc for the FR30 that stores an 8 bit byte offset +into 8 bits. */ + BFD_RELOC_FR30_8_IN_8, + +/* This is a 16 bit reloc for the FR30 that stores a 9 bit short offset +into 8 bits. */ + BFD_RELOC_FR30_9_IN_8, + +/* This is a 16 bit reloc for the FR30 that stores a 10 bit word offset +into 8 bits. */ + BFD_RELOC_FR30_10_IN_8, + +/* This is a 16 bit reloc for the FR30 that stores a 9 bit pc relative +short offset into 8 bits. */ + BFD_RELOC_FR30_9_PCREL, + +/* This is a 16 bit reloc for the FR30 that stores a 12 bit pc relative +short offset into 11 bits. */ + BFD_RELOC_FR30_12_PCREL, + +/* Motorola Mcore relocations. */ + BFD_RELOC_MCORE_PCREL_IMM8BY4, + BFD_RELOC_MCORE_PCREL_IMM11BY2, + BFD_RELOC_MCORE_PCREL_IMM4BY2, + BFD_RELOC_MCORE_PCREL_32, + BFD_RELOC_MCORE_PCREL_JSR_IMM11BY2, + BFD_RELOC_MCORE_RVA, + +/* Toshiba Media Processor Relocations. */ + BFD_RELOC_MEP_8, + BFD_RELOC_MEP_16, + BFD_RELOC_MEP_32, + BFD_RELOC_MEP_PCREL8A2, + BFD_RELOC_MEP_PCREL12A2, + BFD_RELOC_MEP_PCREL17A2, + BFD_RELOC_MEP_PCREL24A2, + BFD_RELOC_MEP_PCABS24A2, + BFD_RELOC_MEP_LOW16, + BFD_RELOC_MEP_HI16U, + BFD_RELOC_MEP_HI16S, + BFD_RELOC_MEP_GPREL, + BFD_RELOC_MEP_TPREL, + BFD_RELOC_MEP_TPREL7, + BFD_RELOC_MEP_TPREL7A2, + BFD_RELOC_MEP_TPREL7A4, + BFD_RELOC_MEP_UIMM24, + BFD_RELOC_MEP_ADDR24A4, + BFD_RELOC_MEP_GNU_VTINHERIT, + BFD_RELOC_MEP_GNU_VTENTRY, + + +/* Imagination Technologies Meta relocations. */ + BFD_RELOC_METAG_HIADDR16, + BFD_RELOC_METAG_LOADDR16, + BFD_RELOC_METAG_RELBRANCH, + BFD_RELOC_METAG_GETSETOFF, + BFD_RELOC_METAG_HIOG, + BFD_RELOC_METAG_LOOG, + BFD_RELOC_METAG_REL8, + BFD_RELOC_METAG_REL16, + BFD_RELOC_METAG_HI16_GOTOFF, + BFD_RELOC_METAG_LO16_GOTOFF, + BFD_RELOC_METAG_GETSET_GOTOFF, + BFD_RELOC_METAG_GETSET_GOT, + BFD_RELOC_METAG_HI16_GOTPC, + BFD_RELOC_METAG_LO16_GOTPC, + BFD_RELOC_METAG_HI16_PLT, + BFD_RELOC_METAG_LO16_PLT, + BFD_RELOC_METAG_RELBRANCH_PLT, + BFD_RELOC_METAG_GOTOFF, + BFD_RELOC_METAG_PLT, + BFD_RELOC_METAG_COPY, + BFD_RELOC_METAG_JMP_SLOT, + BFD_RELOC_METAG_RELATIVE, + BFD_RELOC_METAG_GLOB_DAT, + BFD_RELOC_METAG_TLS_GD, + BFD_RELOC_METAG_TLS_LDM, + BFD_RELOC_METAG_TLS_LDO_HI16, + BFD_RELOC_METAG_TLS_LDO_LO16, + BFD_RELOC_METAG_TLS_LDO, + BFD_RELOC_METAG_TLS_IE, + BFD_RELOC_METAG_TLS_IENONPIC, + BFD_RELOC_METAG_TLS_IENONPIC_HI16, + BFD_RELOC_METAG_TLS_IENONPIC_LO16, + BFD_RELOC_METAG_TLS_TPOFF, + BFD_RELOC_METAG_TLS_DTPMOD, + BFD_RELOC_METAG_TLS_DTPOFF, + BFD_RELOC_METAG_TLS_LE, + BFD_RELOC_METAG_TLS_LE_HI16, + BFD_RELOC_METAG_TLS_LE_LO16, + +/* These are relocations for the GETA instruction. */ + BFD_RELOC_MMIX_GETA, + BFD_RELOC_MMIX_GETA_1, + BFD_RELOC_MMIX_GETA_2, + BFD_RELOC_MMIX_GETA_3, + +/* These are relocations for a conditional branch instruction. */ + BFD_RELOC_MMIX_CBRANCH, + BFD_RELOC_MMIX_CBRANCH_J, + BFD_RELOC_MMIX_CBRANCH_1, + BFD_RELOC_MMIX_CBRANCH_2, + BFD_RELOC_MMIX_CBRANCH_3, + +/* These are relocations for the PUSHJ instruction. */ + BFD_RELOC_MMIX_PUSHJ, + BFD_RELOC_MMIX_PUSHJ_1, + BFD_RELOC_MMIX_PUSHJ_2, + BFD_RELOC_MMIX_PUSHJ_3, + BFD_RELOC_MMIX_PUSHJ_STUBBABLE, + +/* These are relocations for the JMP instruction. */ + BFD_RELOC_MMIX_JMP, + BFD_RELOC_MMIX_JMP_1, + BFD_RELOC_MMIX_JMP_2, + BFD_RELOC_MMIX_JMP_3, + +/* This is a relocation for a relative address as in a GETA instruction or +a branch. */ + BFD_RELOC_MMIX_ADDR19, + +/* This is a relocation for a relative address as in a JMP instruction. */ + BFD_RELOC_MMIX_ADDR27, + +/* This is a relocation for an instruction field that may be a general +register or a value 0..255. */ + BFD_RELOC_MMIX_REG_OR_BYTE, + +/* This is a relocation for an instruction field that may be a general +register. */ + BFD_RELOC_MMIX_REG, + +/* This is a relocation for two instruction fields holding a register and +an offset, the equivalent of the relocation. */ + BFD_RELOC_MMIX_BASE_PLUS_OFFSET, + +/* This relocation is an assertion that the expression is not allocated as +a global register. It does not modify contents. */ + BFD_RELOC_MMIX_LOCAL, + +/* This is a 16 bit reloc for the AVR that stores 8 bit pc relative +short offset into 7 bits. */ + BFD_RELOC_AVR_7_PCREL, + +/* This is a 16 bit reloc for the AVR that stores 13 bit pc relative +short offset into 12 bits. */ + BFD_RELOC_AVR_13_PCREL, + +/* This is a 16 bit reloc for the AVR that stores 17 bit value (usually +program memory address) into 16 bits. */ + BFD_RELOC_AVR_16_PM, + +/* This is a 16 bit reloc for the AVR that stores 8 bit value (usually +data memory address) into 8 bit immediate value of LDI insn. */ + BFD_RELOC_AVR_LO8_LDI, + +/* This is a 16 bit reloc for the AVR that stores 8 bit value (high 8 bit +of data memory address) into 8 bit immediate value of LDI insn. */ + BFD_RELOC_AVR_HI8_LDI, + +/* This is a 16 bit reloc for the AVR that stores 8 bit value (most high 8 bit +of program memory address) into 8 bit immediate value of LDI insn. */ + BFD_RELOC_AVR_HH8_LDI, + +/* This is a 16 bit reloc for the AVR that stores 8 bit value (most high 8 bit +of 32 bit value) into 8 bit immediate value of LDI insn. */ + BFD_RELOC_AVR_MS8_LDI, + +/* This is a 16 bit reloc for the AVR that stores negated 8 bit value +(usually data memory address) into 8 bit immediate value of SUBI insn. */ + BFD_RELOC_AVR_LO8_LDI_NEG, + +/* This is a 16 bit reloc for the AVR that stores negated 8 bit value +(high 8 bit of data memory address) into 8 bit immediate value of +SUBI insn. */ + BFD_RELOC_AVR_HI8_LDI_NEG, + +/* This is a 16 bit reloc for the AVR that stores negated 8 bit value +(most high 8 bit of program memory address) into 8 bit immediate value +of LDI or SUBI insn. */ + BFD_RELOC_AVR_HH8_LDI_NEG, + +/* This is a 16 bit reloc for the AVR that stores negated 8 bit value (msb +of 32 bit value) into 8 bit immediate value of LDI insn. */ + BFD_RELOC_AVR_MS8_LDI_NEG, + +/* This is a 16 bit reloc for the AVR that stores 8 bit value (usually +command address) into 8 bit immediate value of LDI insn. */ + BFD_RELOC_AVR_LO8_LDI_PM, + +/* This is a 16 bit reloc for the AVR that stores 8 bit value +(command address) into 8 bit immediate value of LDI insn. If the address +is beyond the 128k boundary, the linker inserts a jump stub for this reloc +in the lower 128k. */ + BFD_RELOC_AVR_LO8_LDI_GS, + +/* This is a 16 bit reloc for the AVR that stores 8 bit value (high 8 bit +of command address) into 8 bit immediate value of LDI insn. */ + BFD_RELOC_AVR_HI8_LDI_PM, + +/* This is a 16 bit reloc for the AVR that stores 8 bit value (high 8 bit +of command address) into 8 bit immediate value of LDI insn. If the address +is beyond the 128k boundary, the linker inserts a jump stub for this reloc +below 128k. */ + BFD_RELOC_AVR_HI8_LDI_GS, + +/* This is a 16 bit reloc for the AVR that stores 8 bit value (most high 8 bit +of command address) into 8 bit immediate value of LDI insn. */ + BFD_RELOC_AVR_HH8_LDI_PM, + +/* This is a 16 bit reloc for the AVR that stores negated 8 bit value +(usually command address) into 8 bit immediate value of SUBI insn. */ + BFD_RELOC_AVR_LO8_LDI_PM_NEG, + +/* This is a 16 bit reloc for the AVR that stores negated 8 bit value +(high 8 bit of 16 bit command address) into 8 bit immediate value +of SUBI insn. */ + BFD_RELOC_AVR_HI8_LDI_PM_NEG, + +/* This is a 16 bit reloc for the AVR that stores negated 8 bit value +(high 6 bit of 22 bit command address) into 8 bit immediate +value of SUBI insn. */ + BFD_RELOC_AVR_HH8_LDI_PM_NEG, + +/* This is a 32 bit reloc for the AVR that stores 23 bit value +into 22 bits. */ + BFD_RELOC_AVR_CALL, + +/* This is a 16 bit reloc for the AVR that stores all needed bits +for absolute addressing with ldi with overflow check to linktime */ + BFD_RELOC_AVR_LDI, + +/* This is a 6 bit reloc for the AVR that stores offset for ldd/std +instructions */ + BFD_RELOC_AVR_6, + +/* This is a 6 bit reloc for the AVR that stores offset for adiw/sbiw +instructions */ + BFD_RELOC_AVR_6_ADIW, + +/* This is a 8 bit reloc for the AVR that stores bits 0..7 of a symbol +in .byte lo8(symbol) */ + BFD_RELOC_AVR_8_LO, + +/* This is a 8 bit reloc for the AVR that stores bits 8..15 of a symbol +in .byte hi8(symbol) */ + BFD_RELOC_AVR_8_HI, + +/* This is a 8 bit reloc for the AVR that stores bits 16..23 of a symbol +in .byte hlo8(symbol) */ + BFD_RELOC_AVR_8_HLO, + +/* AVR relocations to mark the difference of two local symbols. +These are only needed to support linker relaxation and can be ignored +when not relaxing. The field is set to the value of the difference +assuming no relaxation. The relocation encodes the position of the +second symbol so the linker can determine whether to adjust the field +value. */ + BFD_RELOC_AVR_DIFF8, + BFD_RELOC_AVR_DIFF16, + BFD_RELOC_AVR_DIFF32, + +/* This is a 7 bit reloc for the AVR that stores SRAM address for 16bit +lds and sts instructions supported only tiny core. */ + BFD_RELOC_AVR_LDS_STS_16, + +/* This is a 6 bit reloc for the AVR that stores an I/O register +number for the IN and OUT instructions */ + BFD_RELOC_AVR_PORT6, + +/* This is a 5 bit reloc for the AVR that stores an I/O register +number for the SBIC, SBIS, SBI and CBI instructions */ + BFD_RELOC_AVR_PORT5, + +/* Renesas RL78 Relocations. */ + BFD_RELOC_RL78_NEG8, + BFD_RELOC_RL78_NEG16, + BFD_RELOC_RL78_NEG24, + BFD_RELOC_RL78_NEG32, + BFD_RELOC_RL78_16_OP, + BFD_RELOC_RL78_24_OP, + BFD_RELOC_RL78_32_OP, + BFD_RELOC_RL78_8U, + BFD_RELOC_RL78_16U, + BFD_RELOC_RL78_24U, + BFD_RELOC_RL78_DIR3U_PCREL, + BFD_RELOC_RL78_DIFF, + BFD_RELOC_RL78_GPRELB, + BFD_RELOC_RL78_GPRELW, + BFD_RELOC_RL78_GPRELL, + BFD_RELOC_RL78_SYM, + BFD_RELOC_RL78_OP_SUBTRACT, + BFD_RELOC_RL78_OP_NEG, + BFD_RELOC_RL78_OP_AND, + BFD_RELOC_RL78_OP_SHRA, + BFD_RELOC_RL78_ABS8, + BFD_RELOC_RL78_ABS16, + BFD_RELOC_RL78_ABS16_REV, + BFD_RELOC_RL78_ABS32, + BFD_RELOC_RL78_ABS32_REV, + BFD_RELOC_RL78_ABS16U, + BFD_RELOC_RL78_ABS16UW, + BFD_RELOC_RL78_ABS16UL, + BFD_RELOC_RL78_RELAX, + BFD_RELOC_RL78_HI16, + BFD_RELOC_RL78_HI8, + BFD_RELOC_RL78_LO16, + BFD_RELOC_RL78_CODE, + BFD_RELOC_RL78_SADDR, + +/* Renesas RX Relocations. */ + BFD_RELOC_RX_NEG8, + BFD_RELOC_RX_NEG16, + BFD_RELOC_RX_NEG24, + BFD_RELOC_RX_NEG32, + BFD_RELOC_RX_16_OP, + BFD_RELOC_RX_24_OP, + BFD_RELOC_RX_32_OP, + BFD_RELOC_RX_8U, + BFD_RELOC_RX_16U, + BFD_RELOC_RX_24U, + BFD_RELOC_RX_DIR3U_PCREL, + BFD_RELOC_RX_DIFF, + BFD_RELOC_RX_GPRELB, + BFD_RELOC_RX_GPRELW, + BFD_RELOC_RX_GPRELL, + BFD_RELOC_RX_SYM, + BFD_RELOC_RX_OP_SUBTRACT, + BFD_RELOC_RX_OP_NEG, + BFD_RELOC_RX_ABS8, + BFD_RELOC_RX_ABS16, + BFD_RELOC_RX_ABS16_REV, + BFD_RELOC_RX_ABS32, + BFD_RELOC_RX_ABS32_REV, + BFD_RELOC_RX_ABS16U, + BFD_RELOC_RX_ABS16UW, + BFD_RELOC_RX_ABS16UL, + BFD_RELOC_RX_RELAX, + +/* Direct 12 bit. */ + BFD_RELOC_390_12, + +/* 12 bit GOT offset. */ + BFD_RELOC_390_GOT12, + +/* 32 bit PC relative PLT address. */ + BFD_RELOC_390_PLT32, + +/* Copy symbol at runtime. */ + BFD_RELOC_390_COPY, + +/* Create GOT entry. */ + BFD_RELOC_390_GLOB_DAT, + +/* Create PLT entry. */ + BFD_RELOC_390_JMP_SLOT, + +/* Adjust by program base. */ + BFD_RELOC_390_RELATIVE, + +/* 32 bit PC relative offset to GOT. */ + BFD_RELOC_390_GOTPC, + +/* 16 bit GOT offset. */ + BFD_RELOC_390_GOT16, + +/* PC relative 12 bit shifted by 1. */ + BFD_RELOC_390_PC12DBL, + +/* 12 bit PC rel. PLT shifted by 1. */ + BFD_RELOC_390_PLT12DBL, + +/* PC relative 16 bit shifted by 1. */ + BFD_RELOC_390_PC16DBL, + +/* 16 bit PC rel. PLT shifted by 1. */ + BFD_RELOC_390_PLT16DBL, + +/* PC relative 24 bit shifted by 1. */ + BFD_RELOC_390_PC24DBL, + +/* 24 bit PC rel. PLT shifted by 1. */ + BFD_RELOC_390_PLT24DBL, + +/* PC relative 32 bit shifted by 1. */ + BFD_RELOC_390_PC32DBL, + +/* 32 bit PC rel. PLT shifted by 1. */ + BFD_RELOC_390_PLT32DBL, + +/* 32 bit PC rel. GOT shifted by 1. */ + BFD_RELOC_390_GOTPCDBL, + +/* 64 bit GOT offset. */ + BFD_RELOC_390_GOT64, + +/* 64 bit PC relative PLT address. */ + BFD_RELOC_390_PLT64, + +/* 32 bit rel. offset to GOT entry. */ + BFD_RELOC_390_GOTENT, + +/* 64 bit offset to GOT. */ + BFD_RELOC_390_GOTOFF64, + +/* 12-bit offset to symbol-entry within GOT, with PLT handling. */ + BFD_RELOC_390_GOTPLT12, + +/* 16-bit offset to symbol-entry within GOT, with PLT handling. */ + BFD_RELOC_390_GOTPLT16, + +/* 32-bit offset to symbol-entry within GOT, with PLT handling. */ + BFD_RELOC_390_GOTPLT32, + +/* 64-bit offset to symbol-entry within GOT, with PLT handling. */ + BFD_RELOC_390_GOTPLT64, + +/* 32-bit rel. offset to symbol-entry within GOT, with PLT handling. */ + BFD_RELOC_390_GOTPLTENT, + +/* 16-bit rel. offset from the GOT to a PLT entry. */ + BFD_RELOC_390_PLTOFF16, + +/* 32-bit rel. offset from the GOT to a PLT entry. */ + BFD_RELOC_390_PLTOFF32, + +/* 64-bit rel. offset from the GOT to a PLT entry. */ + BFD_RELOC_390_PLTOFF64, + +/* s390 tls relocations. */ + BFD_RELOC_390_TLS_LOAD, + BFD_RELOC_390_TLS_GDCALL, + BFD_RELOC_390_TLS_LDCALL, + BFD_RELOC_390_TLS_GD32, + BFD_RELOC_390_TLS_GD64, + BFD_RELOC_390_TLS_GOTIE12, + BFD_RELOC_390_TLS_GOTIE32, + BFD_RELOC_390_TLS_GOTIE64, + BFD_RELOC_390_TLS_LDM32, + BFD_RELOC_390_TLS_LDM64, + BFD_RELOC_390_TLS_IE32, + BFD_RELOC_390_TLS_IE64, + BFD_RELOC_390_TLS_IEENT, + BFD_RELOC_390_TLS_LE32, + BFD_RELOC_390_TLS_LE64, + BFD_RELOC_390_TLS_LDO32, + BFD_RELOC_390_TLS_LDO64, + BFD_RELOC_390_TLS_DTPMOD, + BFD_RELOC_390_TLS_DTPOFF, + BFD_RELOC_390_TLS_TPOFF, + +/* Long displacement extension. */ + BFD_RELOC_390_20, + BFD_RELOC_390_GOT20, + BFD_RELOC_390_GOTPLT20, + BFD_RELOC_390_TLS_GOTIE20, + +/* STT_GNU_IFUNC relocation. */ + BFD_RELOC_390_IRELATIVE, + +/* Score relocations +Low 16 bit for load/store */ + BFD_RELOC_SCORE_GPREL15, + +/* This is a 24-bit reloc with the right 1 bit assumed to be 0 */ + BFD_RELOC_SCORE_DUMMY2, + BFD_RELOC_SCORE_JMP, + +/* This is a 19-bit reloc with the right 1 bit assumed to be 0 */ + BFD_RELOC_SCORE_BRANCH, + +/* This is a 32-bit reloc for 48-bit instructions. */ + BFD_RELOC_SCORE_IMM30, + +/* This is a 32-bit reloc for 48-bit instructions. */ + BFD_RELOC_SCORE_IMM32, + +/* This is a 11-bit reloc with the right 1 bit assumed to be 0 */ + BFD_RELOC_SCORE16_JMP, + +/* This is a 8-bit reloc with the right 1 bit assumed to be 0 */ + BFD_RELOC_SCORE16_BRANCH, + +/* This is a 9-bit reloc with the right 1 bit assumed to be 0 */ + BFD_RELOC_SCORE_BCMP, + +/* Undocumented Score relocs */ + BFD_RELOC_SCORE_GOT15, + BFD_RELOC_SCORE_GOT_LO16, + BFD_RELOC_SCORE_CALL15, + BFD_RELOC_SCORE_DUMMY_HI16, + +/* Scenix IP2K - 9-bit register number / data address */ + BFD_RELOC_IP2K_FR9, + +/* Scenix IP2K - 4-bit register/data bank number */ + BFD_RELOC_IP2K_BANK, + +/* Scenix IP2K - low 13 bits of instruction word address */ + BFD_RELOC_IP2K_ADDR16CJP, + +/* Scenix IP2K - high 3 bits of instruction word address */ + BFD_RELOC_IP2K_PAGE3, + +/* Scenix IP2K - ext/low/high 8 bits of data address */ + BFD_RELOC_IP2K_LO8DATA, + BFD_RELOC_IP2K_HI8DATA, + BFD_RELOC_IP2K_EX8DATA, + +/* Scenix IP2K - low/high 8 bits of instruction word address */ + BFD_RELOC_IP2K_LO8INSN, + BFD_RELOC_IP2K_HI8INSN, + +/* Scenix IP2K - even/odd PC modifier to modify snb pcl.0 */ + BFD_RELOC_IP2K_PC_SKIP, + +/* Scenix IP2K - 16 bit word address in text section. */ + BFD_RELOC_IP2K_TEXT, + +/* Scenix IP2K - 7-bit sp or dp offset */ + BFD_RELOC_IP2K_FR_OFFSET, + +/* Scenix VPE4K coprocessor - data/insn-space addressing */ + BFD_RELOC_VPE4KMATH_DATA, + BFD_RELOC_VPE4KMATH_INSN, + +/* These two relocations are used by the linker to determine which of +the entries in a C++ virtual function table are actually used. When +the --gc-sections option is given, the linker will zero out the entries +that are not used, so that the code for those functions need not be +included in the output. + +VTABLE_INHERIT is a zero-space relocation used to describe to the +linker the inheritance tree of a C++ virtual function table. The +relocation's symbol should be the parent class' vtable, and the +relocation should be located at the child vtable. + +VTABLE_ENTRY is a zero-space relocation that describes the use of a +virtual function table entry. The reloc's symbol should refer to the +table of the class mentioned in the code. Off of that base, an offset +describes the entry that is being used. For Rela hosts, this offset +is stored in the reloc's addend. For Rel hosts, we are forced to put +this offset in the reloc's section offset. */ + BFD_RELOC_VTABLE_INHERIT, + BFD_RELOC_VTABLE_ENTRY, + +/* Intel IA64 Relocations. */ + BFD_RELOC_IA64_IMM14, + BFD_RELOC_IA64_IMM22, + BFD_RELOC_IA64_IMM64, + BFD_RELOC_IA64_DIR32MSB, + BFD_RELOC_IA64_DIR32LSB, + BFD_RELOC_IA64_DIR64MSB, + BFD_RELOC_IA64_DIR64LSB, + BFD_RELOC_IA64_GPREL22, + BFD_RELOC_IA64_GPREL64I, + BFD_RELOC_IA64_GPREL32MSB, + BFD_RELOC_IA64_GPREL32LSB, + BFD_RELOC_IA64_GPREL64MSB, + BFD_RELOC_IA64_GPREL64LSB, + BFD_RELOC_IA64_LTOFF22, + BFD_RELOC_IA64_LTOFF64I, + BFD_RELOC_IA64_PLTOFF22, + BFD_RELOC_IA64_PLTOFF64I, + BFD_RELOC_IA64_PLTOFF64MSB, + BFD_RELOC_IA64_PLTOFF64LSB, + BFD_RELOC_IA64_FPTR64I, + BFD_RELOC_IA64_FPTR32MSB, + BFD_RELOC_IA64_FPTR32LSB, + BFD_RELOC_IA64_FPTR64MSB, + BFD_RELOC_IA64_FPTR64LSB, + BFD_RELOC_IA64_PCREL21B, + BFD_RELOC_IA64_PCREL21BI, + BFD_RELOC_IA64_PCREL21M, + BFD_RELOC_IA64_PCREL21F, + BFD_RELOC_IA64_PCREL22, + BFD_RELOC_IA64_PCREL60B, + BFD_RELOC_IA64_PCREL64I, + BFD_RELOC_IA64_PCREL32MSB, + BFD_RELOC_IA64_PCREL32LSB, + BFD_RELOC_IA64_PCREL64MSB, + BFD_RELOC_IA64_PCREL64LSB, + BFD_RELOC_IA64_LTOFF_FPTR22, + BFD_RELOC_IA64_LTOFF_FPTR64I, + BFD_RELOC_IA64_LTOFF_FPTR32MSB, + BFD_RELOC_IA64_LTOFF_FPTR32LSB, + BFD_RELOC_IA64_LTOFF_FPTR64MSB, + BFD_RELOC_IA64_LTOFF_FPTR64LSB, + BFD_RELOC_IA64_SEGREL32MSB, + BFD_RELOC_IA64_SEGREL32LSB, + BFD_RELOC_IA64_SEGREL64MSB, + BFD_RELOC_IA64_SEGREL64LSB, + BFD_RELOC_IA64_SECREL32MSB, + BFD_RELOC_IA64_SECREL32LSB, + BFD_RELOC_IA64_SECREL64MSB, + BFD_RELOC_IA64_SECREL64LSB, + BFD_RELOC_IA64_REL32MSB, + BFD_RELOC_IA64_REL32LSB, + BFD_RELOC_IA64_REL64MSB, + BFD_RELOC_IA64_REL64LSB, + BFD_RELOC_IA64_LTV32MSB, + BFD_RELOC_IA64_LTV32LSB, + BFD_RELOC_IA64_LTV64MSB, + BFD_RELOC_IA64_LTV64LSB, + BFD_RELOC_IA64_IPLTMSB, + BFD_RELOC_IA64_IPLTLSB, + BFD_RELOC_IA64_COPY, + BFD_RELOC_IA64_LTOFF22X, + BFD_RELOC_IA64_LDXMOV, + BFD_RELOC_IA64_TPREL14, + BFD_RELOC_IA64_TPREL22, + BFD_RELOC_IA64_TPREL64I, + BFD_RELOC_IA64_TPREL64MSB, + BFD_RELOC_IA64_TPREL64LSB, + BFD_RELOC_IA64_LTOFF_TPREL22, + BFD_RELOC_IA64_DTPMOD64MSB, + BFD_RELOC_IA64_DTPMOD64LSB, + BFD_RELOC_IA64_LTOFF_DTPMOD22, + BFD_RELOC_IA64_DTPREL14, + BFD_RELOC_IA64_DTPREL22, + BFD_RELOC_IA64_DTPREL64I, + BFD_RELOC_IA64_DTPREL32MSB, + BFD_RELOC_IA64_DTPREL32LSB, + BFD_RELOC_IA64_DTPREL64MSB, + BFD_RELOC_IA64_DTPREL64LSB, + BFD_RELOC_IA64_LTOFF_DTPREL22, + +/* Motorola 68HC11 reloc. +This is the 8 bit high part of an absolute address. */ + BFD_RELOC_M68HC11_HI8, + +/* Motorola 68HC11 reloc. +This is the 8 bit low part of an absolute address. */ + BFD_RELOC_M68HC11_LO8, + +/* Motorola 68HC11 reloc. +This is the 3 bit of a value. */ + BFD_RELOC_M68HC11_3B, + +/* Motorola 68HC11 reloc. +This reloc marks the beginning of a jump/call instruction. +It is used for linker relaxation to correctly identify beginning +of instruction and change some branches to use PC-relative +addressing mode. */ + BFD_RELOC_M68HC11_RL_JUMP, + +/* Motorola 68HC11 reloc. +This reloc marks a group of several instructions that gcc generates +and for which the linker relaxation pass can modify and/or remove +some of them. */ + BFD_RELOC_M68HC11_RL_GROUP, + +/* Motorola 68HC11 reloc. +This is the 16-bit lower part of an address. It is used for 'call' +instruction to specify the symbol address without any special +transformation (due to memory bank window). */ + BFD_RELOC_M68HC11_LO16, + +/* Motorola 68HC11 reloc. +This is a 8-bit reloc that specifies the page number of an address. +It is used by 'call' instruction to specify the page number of +the symbol. */ + BFD_RELOC_M68HC11_PAGE, + +/* Motorola 68HC11 reloc. +This is a 24-bit reloc that represents the address with a 16-bit +value and a 8-bit page number. The symbol address is transformed +to follow the 16K memory bank of 68HC12 (seen as mapped in the window). */ + BFD_RELOC_M68HC11_24, + +/* Motorola 68HC12 reloc. +This is the 5 bits of a value. */ + BFD_RELOC_M68HC12_5B, + +/* Freescale XGATE reloc. +This reloc marks the beginning of a bra/jal instruction. */ + BFD_RELOC_XGATE_RL_JUMP, + +/* Freescale XGATE reloc. +This reloc marks a group of several instructions that gcc generates +and for which the linker relaxation pass can modify and/or remove +some of them. */ + BFD_RELOC_XGATE_RL_GROUP, + +/* Freescale XGATE reloc. +This is the 16-bit lower part of an address. It is used for the '16-bit' +instructions. */ + BFD_RELOC_XGATE_LO16, + +/* Freescale XGATE reloc. */ + BFD_RELOC_XGATE_GPAGE, + +/* Freescale XGATE reloc. */ + BFD_RELOC_XGATE_24, + +/* Freescale XGATE reloc. +This is a 9-bit pc-relative reloc. */ + BFD_RELOC_XGATE_PCREL_9, + +/* Freescale XGATE reloc. +This is a 10-bit pc-relative reloc. */ + BFD_RELOC_XGATE_PCREL_10, + +/* Freescale XGATE reloc. +This is the 16-bit lower part of an address. It is used for the '16-bit' +instructions. */ + BFD_RELOC_XGATE_IMM8_LO, + +/* Freescale XGATE reloc. +This is the 16-bit higher part of an address. It is used for the '16-bit' +instructions. */ + BFD_RELOC_XGATE_IMM8_HI, + +/* Freescale XGATE reloc. +This is a 3-bit pc-relative reloc. */ + BFD_RELOC_XGATE_IMM3, + +/* Freescale XGATE reloc. +This is a 4-bit pc-relative reloc. */ + BFD_RELOC_XGATE_IMM4, + +/* Freescale XGATE reloc. +This is a 5-bit pc-relative reloc. */ + BFD_RELOC_XGATE_IMM5, + +/* Motorola 68HC12 reloc. +This is the 9 bits of a value. */ + BFD_RELOC_M68HC12_9B, + +/* Motorola 68HC12 reloc. +This is the 16 bits of a value. */ + BFD_RELOC_M68HC12_16B, + +/* Motorola 68HC12/XGATE reloc. +This is a PCREL9 branch. */ + BFD_RELOC_M68HC12_9_PCREL, + +/* Motorola 68HC12/XGATE reloc. +This is a PCREL10 branch. */ + BFD_RELOC_M68HC12_10_PCREL, + +/* Motorola 68HC12/XGATE reloc. +This is the 8 bit low part of an absolute address and immediately precedes +a matching HI8XG part. */ + BFD_RELOC_M68HC12_LO8XG, + +/* Motorola 68HC12/XGATE reloc. +This is the 8 bit high part of an absolute address and immediately follows +a matching LO8XG part. */ + BFD_RELOC_M68HC12_HI8XG, + +/* NS CR16C Relocations. */ + BFD_RELOC_16C_NUM08, + BFD_RELOC_16C_NUM08_C, + BFD_RELOC_16C_NUM16, + BFD_RELOC_16C_NUM16_C, + BFD_RELOC_16C_NUM32, + BFD_RELOC_16C_NUM32_C, + BFD_RELOC_16C_DISP04, + BFD_RELOC_16C_DISP04_C, + BFD_RELOC_16C_DISP08, + BFD_RELOC_16C_DISP08_C, + BFD_RELOC_16C_DISP16, + BFD_RELOC_16C_DISP16_C, + BFD_RELOC_16C_DISP24, + BFD_RELOC_16C_DISP24_C, + BFD_RELOC_16C_DISP24a, + BFD_RELOC_16C_DISP24a_C, + BFD_RELOC_16C_REG04, + BFD_RELOC_16C_REG04_C, + BFD_RELOC_16C_REG04a, + BFD_RELOC_16C_REG04a_C, + BFD_RELOC_16C_REG14, + BFD_RELOC_16C_REG14_C, + BFD_RELOC_16C_REG16, + BFD_RELOC_16C_REG16_C, + BFD_RELOC_16C_REG20, + BFD_RELOC_16C_REG20_C, + BFD_RELOC_16C_ABS20, + BFD_RELOC_16C_ABS20_C, + BFD_RELOC_16C_ABS24, + BFD_RELOC_16C_ABS24_C, + BFD_RELOC_16C_IMM04, + BFD_RELOC_16C_IMM04_C, + BFD_RELOC_16C_IMM16, + BFD_RELOC_16C_IMM16_C, + BFD_RELOC_16C_IMM20, + BFD_RELOC_16C_IMM20_C, + BFD_RELOC_16C_IMM24, + BFD_RELOC_16C_IMM24_C, + BFD_RELOC_16C_IMM32, + BFD_RELOC_16C_IMM32_C, + +/* NS CR16 Relocations. */ + BFD_RELOC_CR16_NUM8, + BFD_RELOC_CR16_NUM16, + BFD_RELOC_CR16_NUM32, + BFD_RELOC_CR16_NUM32a, + BFD_RELOC_CR16_REGREL0, + BFD_RELOC_CR16_REGREL4, + BFD_RELOC_CR16_REGREL4a, + BFD_RELOC_CR16_REGREL14, + BFD_RELOC_CR16_REGREL14a, + BFD_RELOC_CR16_REGREL16, + BFD_RELOC_CR16_REGREL20, + BFD_RELOC_CR16_REGREL20a, + BFD_RELOC_CR16_ABS20, + BFD_RELOC_CR16_ABS24, + BFD_RELOC_CR16_IMM4, + BFD_RELOC_CR16_IMM8, + BFD_RELOC_CR16_IMM16, + BFD_RELOC_CR16_IMM20, + BFD_RELOC_CR16_IMM24, + BFD_RELOC_CR16_IMM32, + BFD_RELOC_CR16_IMM32a, + BFD_RELOC_CR16_DISP4, + BFD_RELOC_CR16_DISP8, + BFD_RELOC_CR16_DISP16, + BFD_RELOC_CR16_DISP20, + BFD_RELOC_CR16_DISP24, + BFD_RELOC_CR16_DISP24a, + BFD_RELOC_CR16_SWITCH8, + BFD_RELOC_CR16_SWITCH16, + BFD_RELOC_CR16_SWITCH32, + BFD_RELOC_CR16_GOT_REGREL20, + BFD_RELOC_CR16_GOTC_REGREL20, + BFD_RELOC_CR16_GLOB_DAT, + +/* NS CRX Relocations. */ + BFD_RELOC_CRX_REL4, + BFD_RELOC_CRX_REL8, + BFD_RELOC_CRX_REL8_CMP, + BFD_RELOC_CRX_REL16, + BFD_RELOC_CRX_REL24, + BFD_RELOC_CRX_REL32, + BFD_RELOC_CRX_REGREL12, + BFD_RELOC_CRX_REGREL22, + BFD_RELOC_CRX_REGREL28, + BFD_RELOC_CRX_REGREL32, + BFD_RELOC_CRX_ABS16, + BFD_RELOC_CRX_ABS32, + BFD_RELOC_CRX_NUM8, + BFD_RELOC_CRX_NUM16, + BFD_RELOC_CRX_NUM32, + BFD_RELOC_CRX_IMM16, + BFD_RELOC_CRX_IMM32, + BFD_RELOC_CRX_SWITCH8, + BFD_RELOC_CRX_SWITCH16, + BFD_RELOC_CRX_SWITCH32, + +/* These relocs are only used within the CRIS assembler. They are not +(at present) written to any object files. */ + BFD_RELOC_CRIS_BDISP8, + BFD_RELOC_CRIS_UNSIGNED_5, + BFD_RELOC_CRIS_SIGNED_6, + BFD_RELOC_CRIS_UNSIGNED_6, + BFD_RELOC_CRIS_SIGNED_8, + BFD_RELOC_CRIS_UNSIGNED_8, + BFD_RELOC_CRIS_SIGNED_16, + BFD_RELOC_CRIS_UNSIGNED_16, + BFD_RELOC_CRIS_LAPCQ_OFFSET, + BFD_RELOC_CRIS_UNSIGNED_4, + +/* Relocs used in ELF shared libraries for CRIS. */ + BFD_RELOC_CRIS_COPY, + BFD_RELOC_CRIS_GLOB_DAT, + BFD_RELOC_CRIS_JUMP_SLOT, + BFD_RELOC_CRIS_RELATIVE, + +/* 32-bit offset to symbol-entry within GOT. */ + BFD_RELOC_CRIS_32_GOT, + +/* 16-bit offset to symbol-entry within GOT. */ + BFD_RELOC_CRIS_16_GOT, + +/* 32-bit offset to symbol-entry within GOT, with PLT handling. */ + BFD_RELOC_CRIS_32_GOTPLT, + +/* 16-bit offset to symbol-entry within GOT, with PLT handling. */ + BFD_RELOC_CRIS_16_GOTPLT, + +/* 32-bit offset to symbol, relative to GOT. */ + BFD_RELOC_CRIS_32_GOTREL, + +/* 32-bit offset to symbol with PLT entry, relative to GOT. */ + BFD_RELOC_CRIS_32_PLT_GOTREL, + +/* 32-bit offset to symbol with PLT entry, relative to this relocation. */ + BFD_RELOC_CRIS_32_PLT_PCREL, + +/* Relocs used in TLS code for CRIS. */ + BFD_RELOC_CRIS_32_GOT_GD, + BFD_RELOC_CRIS_16_GOT_GD, + BFD_RELOC_CRIS_32_GD, + BFD_RELOC_CRIS_DTP, + BFD_RELOC_CRIS_32_DTPREL, + BFD_RELOC_CRIS_16_DTPREL, + BFD_RELOC_CRIS_32_GOT_TPREL, + BFD_RELOC_CRIS_16_GOT_TPREL, + BFD_RELOC_CRIS_32_TPREL, + BFD_RELOC_CRIS_16_TPREL, + BFD_RELOC_CRIS_DTPMOD, + BFD_RELOC_CRIS_32_IE, + +/* Intel i860 Relocations. */ + BFD_RELOC_860_COPY, + BFD_RELOC_860_GLOB_DAT, + BFD_RELOC_860_JUMP_SLOT, + BFD_RELOC_860_RELATIVE, + BFD_RELOC_860_PC26, + BFD_RELOC_860_PLT26, + BFD_RELOC_860_PC16, + BFD_RELOC_860_LOW0, + BFD_RELOC_860_SPLIT0, + BFD_RELOC_860_LOW1, + BFD_RELOC_860_SPLIT1, + BFD_RELOC_860_LOW2, + BFD_RELOC_860_SPLIT2, + BFD_RELOC_860_LOW3, + BFD_RELOC_860_LOGOT0, + BFD_RELOC_860_SPGOT0, + BFD_RELOC_860_LOGOT1, + BFD_RELOC_860_SPGOT1, + BFD_RELOC_860_LOGOTOFF0, + BFD_RELOC_860_SPGOTOFF0, + BFD_RELOC_860_LOGOTOFF1, + BFD_RELOC_860_SPGOTOFF1, + BFD_RELOC_860_LOGOTOFF2, + BFD_RELOC_860_LOGOTOFF3, + BFD_RELOC_860_LOPC, + BFD_RELOC_860_HIGHADJ, + BFD_RELOC_860_HAGOT, + BFD_RELOC_860_HAGOTOFF, + BFD_RELOC_860_HAPC, + BFD_RELOC_860_HIGH, + BFD_RELOC_860_HIGOT, + BFD_RELOC_860_HIGOTOFF, + +/* OpenRISC 1000 Relocations. */ + BFD_RELOC_OR1K_REL_26, + BFD_RELOC_OR1K_GOTPC_HI16, + BFD_RELOC_OR1K_GOTPC_LO16, + BFD_RELOC_OR1K_GOT16, + BFD_RELOC_OR1K_PLT26, + BFD_RELOC_OR1K_GOTOFF_HI16, + BFD_RELOC_OR1K_GOTOFF_LO16, + BFD_RELOC_OR1K_COPY, + BFD_RELOC_OR1K_GLOB_DAT, + BFD_RELOC_OR1K_JMP_SLOT, + BFD_RELOC_OR1K_RELATIVE, + BFD_RELOC_OR1K_TLS_GD_HI16, + BFD_RELOC_OR1K_TLS_GD_LO16, + BFD_RELOC_OR1K_TLS_LDM_HI16, + BFD_RELOC_OR1K_TLS_LDM_LO16, + BFD_RELOC_OR1K_TLS_LDO_HI16, + BFD_RELOC_OR1K_TLS_LDO_LO16, + BFD_RELOC_OR1K_TLS_IE_HI16, + BFD_RELOC_OR1K_TLS_IE_LO16, + BFD_RELOC_OR1K_TLS_LE_HI16, + BFD_RELOC_OR1K_TLS_LE_LO16, + BFD_RELOC_OR1K_TLS_TPOFF, + BFD_RELOC_OR1K_TLS_DTPOFF, + BFD_RELOC_OR1K_TLS_DTPMOD, + +/* H8 elf Relocations. */ + BFD_RELOC_H8_DIR16A8, + BFD_RELOC_H8_DIR16R8, + BFD_RELOC_H8_DIR24A8, + BFD_RELOC_H8_DIR24R8, + BFD_RELOC_H8_DIR32A16, + BFD_RELOC_H8_DISP32A16, + +/* Sony Xstormy16 Relocations. */ + BFD_RELOC_XSTORMY16_REL_12, + BFD_RELOC_XSTORMY16_12, + BFD_RELOC_XSTORMY16_24, + BFD_RELOC_XSTORMY16_FPTR16, + +/* Self-describing complex relocations. */ + BFD_RELOC_RELC, + + +/* Infineon Relocations. */ + BFD_RELOC_XC16X_PAG, + BFD_RELOC_XC16X_POF, + BFD_RELOC_XC16X_SEG, + BFD_RELOC_XC16X_SOF, + +/* Relocations used by VAX ELF. */ + BFD_RELOC_VAX_GLOB_DAT, + BFD_RELOC_VAX_JMP_SLOT, + BFD_RELOC_VAX_RELATIVE, + +/* Morpho MT - 16 bit immediate relocation. */ + BFD_RELOC_MT_PC16, + +/* Morpho MT - Hi 16 bits of an address. */ + BFD_RELOC_MT_HI16, + +/* Morpho MT - Low 16 bits of an address. */ + BFD_RELOC_MT_LO16, + +/* Morpho MT - Used to tell the linker which vtable entries are used. */ + BFD_RELOC_MT_GNU_VTINHERIT, + +/* Morpho MT - Used to tell the linker which vtable entries are used. */ + BFD_RELOC_MT_GNU_VTENTRY, + +/* Morpho MT - 8 bit immediate relocation. */ + BFD_RELOC_MT_PCINSN8, + +/* msp430 specific relocation codes */ + BFD_RELOC_MSP430_10_PCREL, + BFD_RELOC_MSP430_16_PCREL, + BFD_RELOC_MSP430_16, + BFD_RELOC_MSP430_16_PCREL_BYTE, + BFD_RELOC_MSP430_16_BYTE, + BFD_RELOC_MSP430_2X_PCREL, + BFD_RELOC_MSP430_RL_PCREL, + BFD_RELOC_MSP430_ABS8, + BFD_RELOC_MSP430X_PCR20_EXT_SRC, + BFD_RELOC_MSP430X_PCR20_EXT_DST, + BFD_RELOC_MSP430X_PCR20_EXT_ODST, + BFD_RELOC_MSP430X_ABS20_EXT_SRC, + BFD_RELOC_MSP430X_ABS20_EXT_DST, + BFD_RELOC_MSP430X_ABS20_EXT_ODST, + BFD_RELOC_MSP430X_ABS20_ADR_SRC, + BFD_RELOC_MSP430X_ABS20_ADR_DST, + BFD_RELOC_MSP430X_PCR16, + BFD_RELOC_MSP430X_PCR20_CALL, + BFD_RELOC_MSP430X_ABS16, + BFD_RELOC_MSP430_ABS_HI16, + BFD_RELOC_MSP430_PREL31, + BFD_RELOC_MSP430_SYM_DIFF, + +/* Relocations used by the Altera Nios II core. */ + BFD_RELOC_NIOS2_S16, + BFD_RELOC_NIOS2_U16, + BFD_RELOC_NIOS2_CALL26, + BFD_RELOC_NIOS2_IMM5, + BFD_RELOC_NIOS2_CACHE_OPX, + BFD_RELOC_NIOS2_IMM6, + BFD_RELOC_NIOS2_IMM8, + BFD_RELOC_NIOS2_HI16, + BFD_RELOC_NIOS2_LO16, + BFD_RELOC_NIOS2_HIADJ16, + BFD_RELOC_NIOS2_GPREL, + BFD_RELOC_NIOS2_UJMP, + BFD_RELOC_NIOS2_CJMP, + BFD_RELOC_NIOS2_CALLR, + BFD_RELOC_NIOS2_ALIGN, + BFD_RELOC_NIOS2_GOT16, + BFD_RELOC_NIOS2_CALL16, + BFD_RELOC_NIOS2_GOTOFF_LO, + BFD_RELOC_NIOS2_GOTOFF_HA, + BFD_RELOC_NIOS2_PCREL_LO, + BFD_RELOC_NIOS2_PCREL_HA, + BFD_RELOC_NIOS2_TLS_GD16, + BFD_RELOC_NIOS2_TLS_LDM16, + BFD_RELOC_NIOS2_TLS_LDO16, + BFD_RELOC_NIOS2_TLS_IE16, + BFD_RELOC_NIOS2_TLS_LE16, + BFD_RELOC_NIOS2_TLS_DTPMOD, + BFD_RELOC_NIOS2_TLS_DTPREL, + BFD_RELOC_NIOS2_TLS_TPREL, + BFD_RELOC_NIOS2_COPY, + BFD_RELOC_NIOS2_GLOB_DAT, + BFD_RELOC_NIOS2_JUMP_SLOT, + BFD_RELOC_NIOS2_RELATIVE, + BFD_RELOC_NIOS2_GOTOFF, + BFD_RELOC_NIOS2_CALL26_NOAT, + BFD_RELOC_NIOS2_GOT_LO, + BFD_RELOC_NIOS2_GOT_HA, + BFD_RELOC_NIOS2_CALL_LO, + BFD_RELOC_NIOS2_CALL_HA, + BFD_RELOC_NIOS2_R2_S12, + BFD_RELOC_NIOS2_R2_I10_1_PCREL, + BFD_RELOC_NIOS2_R2_T1I7_1_PCREL, + BFD_RELOC_NIOS2_R2_T1I7_2, + BFD_RELOC_NIOS2_R2_T2I4, + BFD_RELOC_NIOS2_R2_T2I4_1, + BFD_RELOC_NIOS2_R2_T2I4_2, + BFD_RELOC_NIOS2_R2_X1I7_2, + BFD_RELOC_NIOS2_R2_X2L5, + BFD_RELOC_NIOS2_R2_F1I5_2, + BFD_RELOC_NIOS2_R2_L5I4X1, + BFD_RELOC_NIOS2_R2_T1X1I6, + BFD_RELOC_NIOS2_R2_T1X1I6_2, + +/* IQ2000 Relocations. */ + BFD_RELOC_IQ2000_OFFSET_16, + BFD_RELOC_IQ2000_OFFSET_21, + BFD_RELOC_IQ2000_UHI16, + +/* Special Xtensa relocation used only by PLT entries in ELF shared +objects to indicate that the runtime linker should set the value +to one of its own internal functions or data structures. */ + BFD_RELOC_XTENSA_RTLD, + +/* Xtensa relocations for ELF shared objects. */ + BFD_RELOC_XTENSA_GLOB_DAT, + BFD_RELOC_XTENSA_JMP_SLOT, + BFD_RELOC_XTENSA_RELATIVE, + +/* Xtensa relocation used in ELF object files for symbols that may require +PLT entries. Otherwise, this is just a generic 32-bit relocation. */ + BFD_RELOC_XTENSA_PLT, + +/* Xtensa relocations to mark the difference of two local symbols. +These are only needed to support linker relaxation and can be ignored +when not relaxing. The field is set to the value of the difference +assuming no relaxation. The relocation encodes the position of the +first symbol so the linker can determine whether to adjust the field +value. */ + BFD_RELOC_XTENSA_DIFF8, + BFD_RELOC_XTENSA_DIFF16, + BFD_RELOC_XTENSA_DIFF32, + +/* Generic Xtensa relocations for instruction operands. Only the slot +number is encoded in the relocation. The relocation applies to the +last PC-relative immediate operand, or if there are no PC-relative +immediates, to the last immediate operand. */ + BFD_RELOC_XTENSA_SLOT0_OP, + BFD_RELOC_XTENSA_SLOT1_OP, + BFD_RELOC_XTENSA_SLOT2_OP, + BFD_RELOC_XTENSA_SLOT3_OP, + BFD_RELOC_XTENSA_SLOT4_OP, + BFD_RELOC_XTENSA_SLOT5_OP, + BFD_RELOC_XTENSA_SLOT6_OP, + BFD_RELOC_XTENSA_SLOT7_OP, + BFD_RELOC_XTENSA_SLOT8_OP, + BFD_RELOC_XTENSA_SLOT9_OP, + BFD_RELOC_XTENSA_SLOT10_OP, + BFD_RELOC_XTENSA_SLOT11_OP, + BFD_RELOC_XTENSA_SLOT12_OP, + BFD_RELOC_XTENSA_SLOT13_OP, + BFD_RELOC_XTENSA_SLOT14_OP, + +/* Alternate Xtensa relocations. Only the slot is encoded in the +relocation. The meaning of these relocations is opcode-specific. */ + BFD_RELOC_XTENSA_SLOT0_ALT, + BFD_RELOC_XTENSA_SLOT1_ALT, + BFD_RELOC_XTENSA_SLOT2_ALT, + BFD_RELOC_XTENSA_SLOT3_ALT, + BFD_RELOC_XTENSA_SLOT4_ALT, + BFD_RELOC_XTENSA_SLOT5_ALT, + BFD_RELOC_XTENSA_SLOT6_ALT, + BFD_RELOC_XTENSA_SLOT7_ALT, + BFD_RELOC_XTENSA_SLOT8_ALT, + BFD_RELOC_XTENSA_SLOT9_ALT, + BFD_RELOC_XTENSA_SLOT10_ALT, + BFD_RELOC_XTENSA_SLOT11_ALT, + BFD_RELOC_XTENSA_SLOT12_ALT, + BFD_RELOC_XTENSA_SLOT13_ALT, + BFD_RELOC_XTENSA_SLOT14_ALT, + +/* Xtensa relocations for backward compatibility. These have all been +replaced by BFD_RELOC_XTENSA_SLOT0_OP. */ + BFD_RELOC_XTENSA_OP0, + BFD_RELOC_XTENSA_OP1, + BFD_RELOC_XTENSA_OP2, + +/* Xtensa relocation to mark that the assembler expanded the +instructions from an original target. The expansion size is +encoded in the reloc size. */ + BFD_RELOC_XTENSA_ASM_EXPAND, + +/* Xtensa relocation to mark that the linker should simplify +assembler-expanded instructions. This is commonly used +internally by the linker after analysis of a +BFD_RELOC_XTENSA_ASM_EXPAND. */ + BFD_RELOC_XTENSA_ASM_SIMPLIFY, + +/* Xtensa TLS relocations. */ + BFD_RELOC_XTENSA_TLSDESC_FN, + BFD_RELOC_XTENSA_TLSDESC_ARG, + BFD_RELOC_XTENSA_TLS_DTPOFF, + BFD_RELOC_XTENSA_TLS_TPOFF, + BFD_RELOC_XTENSA_TLS_FUNC, + BFD_RELOC_XTENSA_TLS_ARG, + BFD_RELOC_XTENSA_TLS_CALL, + +/* 8 bit signed offset in (ix+d) or (iy+d). */ + BFD_RELOC_Z80_DISP8, + +/* DJNZ offset. */ + BFD_RELOC_Z8K_DISP7, + +/* CALR offset. */ + BFD_RELOC_Z8K_CALLR, + +/* 4 bit value. */ + BFD_RELOC_Z8K_IMM4L, + +/* Lattice Mico32 relocations. */ + BFD_RELOC_LM32_CALL, + BFD_RELOC_LM32_BRANCH, + BFD_RELOC_LM32_16_GOT, + BFD_RELOC_LM32_GOTOFF_HI16, + BFD_RELOC_LM32_GOTOFF_LO16, + BFD_RELOC_LM32_COPY, + BFD_RELOC_LM32_GLOB_DAT, + BFD_RELOC_LM32_JMP_SLOT, + BFD_RELOC_LM32_RELATIVE, + +/* Difference between two section addreses. Must be followed by a +BFD_RELOC_MACH_O_PAIR. */ + BFD_RELOC_MACH_O_SECTDIFF, + +/* Like BFD_RELOC_MACH_O_SECTDIFF but with a local symbol. */ + BFD_RELOC_MACH_O_LOCAL_SECTDIFF, + +/* Pair of relocation. Contains the first symbol. */ + BFD_RELOC_MACH_O_PAIR, + +/* PCREL relocations. They are marked as branch to create PLT entry if +required. */ + BFD_RELOC_MACH_O_X86_64_BRANCH32, + BFD_RELOC_MACH_O_X86_64_BRANCH8, + +/* Used when referencing a GOT entry. */ + BFD_RELOC_MACH_O_X86_64_GOT, + +/* Used when loading a GOT entry with movq. It is specially marked so that +the linker could optimize the movq to a leaq if possible. */ + BFD_RELOC_MACH_O_X86_64_GOT_LOAD, + +/* Symbol will be substracted. Must be followed by a BFD_RELOC_64. */ + BFD_RELOC_MACH_O_X86_64_SUBTRACTOR32, + +/* Symbol will be substracted. Must be followed by a BFD_RELOC_64. */ + BFD_RELOC_MACH_O_X86_64_SUBTRACTOR64, + +/* Same as BFD_RELOC_32_PCREL but with an implicit -1 addend. */ + BFD_RELOC_MACH_O_X86_64_PCREL32_1, + +/* Same as BFD_RELOC_32_PCREL but with an implicit -2 addend. */ + BFD_RELOC_MACH_O_X86_64_PCREL32_2, + +/* Same as BFD_RELOC_32_PCREL but with an implicit -4 addend. */ + BFD_RELOC_MACH_O_X86_64_PCREL32_4, + +/* This is a 32 bit reloc for the microblaze that stores the +low 16 bits of a value */ + BFD_RELOC_MICROBLAZE_32_LO, + +/* This is a 32 bit pc-relative reloc for the microblaze that +stores the low 16 bits of a value */ + BFD_RELOC_MICROBLAZE_32_LO_PCREL, + +/* This is a 32 bit reloc for the microblaze that stores a +value relative to the read-only small data area anchor */ + BFD_RELOC_MICROBLAZE_32_ROSDA, + +/* This is a 32 bit reloc for the microblaze that stores a +value relative to the read-write small data area anchor */ + BFD_RELOC_MICROBLAZE_32_RWSDA, + +/* This is a 32 bit reloc for the microblaze to handle +expressions of the form "Symbol Op Symbol" */ + BFD_RELOC_MICROBLAZE_32_SYM_OP_SYM, + +/* This is a 64 bit reloc that stores the 32 bit pc relative +value in two words (with an imm instruction). No relocation is +done here - only used for relaxing */ + BFD_RELOC_MICROBLAZE_64_NONE, + +/* This is a 64 bit reloc that stores the 32 bit pc relative +value in two words (with an imm instruction). The relocation is +PC-relative GOT offset */ + BFD_RELOC_MICROBLAZE_64_GOTPC, + +/* This is a 64 bit reloc that stores the 32 bit pc relative +value in two words (with an imm instruction). The relocation is +GOT offset */ + BFD_RELOC_MICROBLAZE_64_GOT, + +/* This is a 64 bit reloc that stores the 32 bit pc relative +value in two words (with an imm instruction). The relocation is +PC-relative offset into PLT */ + BFD_RELOC_MICROBLAZE_64_PLT, + +/* This is a 64 bit reloc that stores the 32 bit GOT relative +value in two words (with an imm instruction). The relocation is +relative offset from _GLOBAL_OFFSET_TABLE_ */ + BFD_RELOC_MICROBLAZE_64_GOTOFF, + +/* This is a 32 bit reloc that stores the 32 bit GOT relative +value in a word. The relocation is relative offset from */ + BFD_RELOC_MICROBLAZE_32_GOTOFF, + +/* This is used to tell the dynamic linker to copy the value out of +the dynamic object into the runtime process image. */ + BFD_RELOC_MICROBLAZE_COPY, + +/* Unused Reloc */ + BFD_RELOC_MICROBLAZE_64_TLS, + +/* This is a 64 bit reloc that stores the 32 bit GOT relative value +of the GOT TLS GD info entry in two words (with an imm instruction). The +relocation is GOT offset. */ + BFD_RELOC_MICROBLAZE_64_TLSGD, + +/* This is a 64 bit reloc that stores the 32 bit GOT relative value +of the GOT TLS LD info entry in two words (with an imm instruction). The +relocation is GOT offset. */ + BFD_RELOC_MICROBLAZE_64_TLSLD, + +/* This is a 32 bit reloc that stores the Module ID to GOT(n). */ + BFD_RELOC_MICROBLAZE_32_TLSDTPMOD, + +/* This is a 32 bit reloc that stores TLS offset to GOT(n+1). */ + BFD_RELOC_MICROBLAZE_32_TLSDTPREL, + +/* This is a 32 bit reloc for storing TLS offset to two words (uses imm +instruction) */ + BFD_RELOC_MICROBLAZE_64_TLSDTPREL, + +/* This is a 64 bit reloc that stores 32-bit thread pointer relative offset +to two words (uses imm instruction). */ + BFD_RELOC_MICROBLAZE_64_TLSGOTTPREL, + +/* This is a 64 bit reloc that stores 32-bit thread pointer relative offset +to two words (uses imm instruction). */ + BFD_RELOC_MICROBLAZE_64_TLSTPREL, + +/* AArch64 pseudo relocation code to mark the start of the AArch64 +relocation enumerators. N.B. the order of the enumerators is +important as several tables in the AArch64 bfd backend are indexed +by these enumerators; make sure they are all synced. */ + BFD_RELOC_AARCH64_RELOC_START, + +/* AArch64 null relocation code. */ + BFD_RELOC_AARCH64_NONE, + +/* Basic absolute relocations of N bits. These are equivalent to +BFD_RELOC_N and they were added to assist the indexing of the howto +table. */ + BFD_RELOC_AARCH64_64, + BFD_RELOC_AARCH64_32, + BFD_RELOC_AARCH64_16, + +/* PC-relative relocations. These are equivalent to BFD_RELOC_N_PCREL +and they were added to assist the indexing of the howto table. */ + BFD_RELOC_AARCH64_64_PCREL, + BFD_RELOC_AARCH64_32_PCREL, + BFD_RELOC_AARCH64_16_PCREL, + +/* AArch64 MOV[NZK] instruction with most significant bits 0 to 15 +of an unsigned address/value. */ + BFD_RELOC_AARCH64_MOVW_G0, + +/* AArch64 MOV[NZK] instruction with less significant bits 0 to 15 of +an address/value. No overflow checking. */ + BFD_RELOC_AARCH64_MOVW_G0_NC, + +/* AArch64 MOV[NZK] instruction with most significant bits 16 to 31 +of an unsigned address/value. */ + BFD_RELOC_AARCH64_MOVW_G1, + +/* AArch64 MOV[NZK] instruction with less significant bits 16 to 31 +of an address/value. No overflow checking. */ + BFD_RELOC_AARCH64_MOVW_G1_NC, + +/* AArch64 MOV[NZK] instruction with most significant bits 32 to 47 +of an unsigned address/value. */ + BFD_RELOC_AARCH64_MOVW_G2, + +/* AArch64 MOV[NZK] instruction with less significant bits 32 to 47 +of an address/value. No overflow checking. */ + BFD_RELOC_AARCH64_MOVW_G2_NC, + +/* AArch64 MOV[NZK] instruction with most signficant bits 48 to 64 +of a signed or unsigned address/value. */ + BFD_RELOC_AARCH64_MOVW_G3, + +/* AArch64 MOV[NZ] instruction with most significant bits 0 to 15 +of a signed value. Changes instruction to MOVZ or MOVN depending on the +value's sign. */ + BFD_RELOC_AARCH64_MOVW_G0_S, + +/* AArch64 MOV[NZ] instruction with most significant bits 16 to 31 +of a signed value. Changes instruction to MOVZ or MOVN depending on the +value's sign. */ + BFD_RELOC_AARCH64_MOVW_G1_S, + +/* AArch64 MOV[NZ] instruction with most significant bits 32 to 47 +of a signed value. Changes instruction to MOVZ or MOVN depending on the +value's sign. */ + BFD_RELOC_AARCH64_MOVW_G2_S, + +/* AArch64 Load Literal instruction, holding a 19 bit pc-relative word +offset. The lowest two bits must be zero and are not stored in the +instruction, giving a 21 bit signed byte offset. */ + BFD_RELOC_AARCH64_LD_LO19_PCREL, + +/* AArch64 ADR instruction, holding a simple 21 bit pc-relative byte offset. */ + BFD_RELOC_AARCH64_ADR_LO21_PCREL, + +/* AArch64 ADRP instruction, with bits 12 to 32 of a pc-relative page +offset, giving a 4KB aligned page base address. */ + BFD_RELOC_AARCH64_ADR_HI21_PCREL, + +/* AArch64 ADRP instruction, with bits 12 to 32 of a pc-relative page +offset, giving a 4KB aligned page base address, but with no overflow +checking. */ + BFD_RELOC_AARCH64_ADR_HI21_NC_PCREL, + +/* AArch64 ADD immediate instruction, holding bits 0 to 11 of the address. +Used in conjunction with BFD_RELOC_AARCH64_ADR_HI21_PCREL. */ + BFD_RELOC_AARCH64_ADD_LO12, + +/* AArch64 8-bit load/store instruction, holding bits 0 to 11 of the +address. Used in conjunction with BFD_RELOC_AARCH64_ADR_HI21_PCREL. */ + BFD_RELOC_AARCH64_LDST8_LO12, + +/* AArch64 14 bit pc-relative test bit and branch. +The lowest two bits must be zero and are not stored in the instruction, +giving a 16 bit signed byte offset. */ + BFD_RELOC_AARCH64_TSTBR14, + +/* AArch64 19 bit pc-relative conditional branch and compare & branch. +The lowest two bits must be zero and are not stored in the instruction, +giving a 21 bit signed byte offset. */ + BFD_RELOC_AARCH64_BRANCH19, + +/* AArch64 26 bit pc-relative unconditional branch. +The lowest two bits must be zero and are not stored in the instruction, +giving a 28 bit signed byte offset. */ + BFD_RELOC_AARCH64_JUMP26, + +/* AArch64 26 bit pc-relative unconditional branch and link. +The lowest two bits must be zero and are not stored in the instruction, +giving a 28 bit signed byte offset. */ + BFD_RELOC_AARCH64_CALL26, + +/* AArch64 16-bit load/store instruction, holding bits 0 to 11 of the +address. Used in conjunction with BFD_RELOC_AARCH64_ADR_HI21_PCREL. */ + BFD_RELOC_AARCH64_LDST16_LO12, + +/* AArch64 32-bit load/store instruction, holding bits 0 to 11 of the +address. Used in conjunction with BFD_RELOC_AARCH64_ADR_HI21_PCREL. */ + BFD_RELOC_AARCH64_LDST32_LO12, + +/* AArch64 64-bit load/store instruction, holding bits 0 to 11 of the +address. Used in conjunction with BFD_RELOC_AARCH64_ADR_HI21_PCREL. */ + BFD_RELOC_AARCH64_LDST64_LO12, + +/* AArch64 128-bit load/store instruction, holding bits 0 to 11 of the +address. Used in conjunction with BFD_RELOC_AARCH64_ADR_HI21_PCREL. */ + BFD_RELOC_AARCH64_LDST128_LO12, + +/* AArch64 Load Literal instruction, holding a 19 bit PC relative word +offset of the global offset table entry for a symbol. The lowest two +bits must be zero and are not stored in the instruction, giving a 21 +bit signed byte offset. This relocation type requires signed overflow +checking. */ + BFD_RELOC_AARCH64_GOT_LD_PREL19, + +/* Get to the page base of the global offset table entry for a symbol as +part of an ADRP instruction using a 21 bit PC relative value.Used in +conjunction with BFD_RELOC_AARCH64_LD64_GOT_LO12_NC. */ + BFD_RELOC_AARCH64_ADR_GOT_PAGE, + +/* Unsigned 12 bit byte offset for 64 bit load/store from the page of +the GOT entry for this symbol. Used in conjunction with +BFD_RELOC_AARCH64_ADR_GOTPAGE. Valid in LP64 ABI only. */ + BFD_RELOC_AARCH64_LD64_GOT_LO12_NC, + +/* Unsigned 12 bit byte offset for 32 bit load/store from the page of +the GOT entry for this symbol. Used in conjunction with +BFD_RELOC_AARCH64_ADR_GOTPAGE. Valid in ILP32 ABI only. */ + BFD_RELOC_AARCH64_LD32_GOT_LO12_NC, + +/* Unsigned 16 bit byte offset for 64 bit load/store from the GOT entry +for this symbol. Valid in LP64 ABI only. */ + BFD_RELOC_AARCH64_MOVW_GOTOFF_G0_NC, + +/* Unsigned 16 bit byte higher offset for 64 bit load/store from the GOT entry +for this symbol. Valid in LP64 ABI only. */ + BFD_RELOC_AARCH64_MOVW_GOTOFF_G1, + +/* Unsigned 15 bit byte offset for 64 bit load/store from the page of +the GOT entry for this symbol. Valid in LP64 ABI only. */ + BFD_RELOC_AARCH64_LD64_GOTOFF_LO15, + +/* Scaled 14 bit byte offset to the page base of the global offset table. */ + BFD_RELOC_AARCH64_LD32_GOTPAGE_LO14, + +/* Scaled 15 bit byte offset to the page base of the global offset table. */ + BFD_RELOC_AARCH64_LD64_GOTPAGE_LO15, + +/* Get to the page base of the global offset table entry for a symbols +tls_index structure as part of an adrp instruction using a 21 bit PC +relative value. Used in conjunction with +BFD_RELOC_AARCH64_TLSGD_ADD_LO12_NC. */ + BFD_RELOC_AARCH64_TLSGD_ADR_PAGE21, + +/* AArch64 TLS General Dynamic */ + BFD_RELOC_AARCH64_TLSGD_ADR_PREL21, + +/* Unsigned 12 bit byte offset to global offset table entry for a symbols +tls_index structure. Used in conjunction with +BFD_RELOC_AARCH64_TLSGD_ADR_PAGE21. */ + BFD_RELOC_AARCH64_TLSGD_ADD_LO12_NC, + +/* AArch64 TLS General Dynamic relocation. */ + BFD_RELOC_AARCH64_TLSGD_MOVW_G0_NC, + +/* AArch64 TLS General Dynamic relocation. */ + BFD_RELOC_AARCH64_TLSGD_MOVW_G1, + +/* AArch64 TLS INITIAL EXEC relocation. */ + BFD_RELOC_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21, + +/* AArch64 TLS INITIAL EXEC relocation. */ + BFD_RELOC_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC, + +/* AArch64 TLS INITIAL EXEC relocation. */ + BFD_RELOC_AARCH64_TLSIE_LD32_GOTTPREL_LO12_NC, + +/* AArch64 TLS INITIAL EXEC relocation. */ + BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19, + +/* AArch64 TLS INITIAL EXEC relocation. */ + BFD_RELOC_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC, + +/* AArch64 TLS INITIAL EXEC relocation. */ + BFD_RELOC_AARCH64_TLSIE_MOVW_GOTTPREL_G1, + +/* bit[23:12] of byte offset to module TLS base address. */ + BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_HI12, + +/* Unsigned 12 bit byte offset to module TLS base address. */ + BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12, + +/* No overflow check version of BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12. */ + BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12_NC, + +/* Unsigned 12 bit byte offset to global offset table entry for a symbols +tls_index structure. Used in conjunction with +BFD_RELOC_AARCH64_TLSLD_ADR_PAGE21. */ + BFD_RELOC_AARCH64_TLSLD_ADD_LO12_NC, + +/* GOT entry page address for AArch64 TLS Local Dynamic, used with ADRP +instruction. */ + BFD_RELOC_AARCH64_TLSLD_ADR_PAGE21, + +/* GOT entry address for AArch64 TLS Local Dynamic, used with ADR instruction. */ + BFD_RELOC_AARCH64_TLSLD_ADR_PREL21, + +/* bit[11:1] of byte offset to module TLS base address, encoded in ldst +instructions. */ + BFD_RELOC_AARCH64_TLSLD_LDST16_DTPREL_LO12, + +/* Similar as BFD_RELOC_AARCH64_TLSLD_LDST16_DTPREL_LO12, but no overflow check. */ + BFD_RELOC_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC, + +/* bit[11:2] of byte offset to module TLS base address, encoded in ldst +instructions. */ + BFD_RELOC_AARCH64_TLSLD_LDST32_DTPREL_LO12, + +/* Similar as BFD_RELOC_AARCH64_TLSLD_LDST32_DTPREL_LO12, but no overflow check. */ + BFD_RELOC_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC, + +/* bit[11:3] of byte offset to module TLS base address, encoded in ldst +instructions. */ + BFD_RELOC_AARCH64_TLSLD_LDST64_DTPREL_LO12, + +/* Similar as BFD_RELOC_AARCH64_TLSLD_LDST64_DTPREL_LO12, but no overflow check. */ + BFD_RELOC_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC, + +/* bit[11:0] of byte offset to module TLS base address, encoded in ldst +instructions. */ + BFD_RELOC_AARCH64_TLSLD_LDST8_DTPREL_LO12, + +/* Similar as BFD_RELOC_AARCH64_TLSLD_LDST8_DTPREL_LO12, but no overflow check. */ + BFD_RELOC_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC, + +/* bit[15:0] of byte offset to module TLS base address. */ + BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G0, + +/* No overflow check version of BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G0 */ + BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G0_NC, + +/* bit[31:16] of byte offset to module TLS base address. */ + BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G1, + +/* No overflow check version of BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G1 */ + BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G1_NC, + +/* bit[47:32] of byte offset to module TLS base address. */ + BFD_RELOC_AARCH64_TLSLD_MOVW_DTPREL_G2, + +/* AArch64 TLS LOCAL EXEC relocation. */ + BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G2, + +/* AArch64 TLS LOCAL EXEC relocation. */ + BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G1, + +/* AArch64 TLS LOCAL EXEC relocation. */ + BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G1_NC, + +/* AArch64 TLS LOCAL EXEC relocation. */ + BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G0, + +/* AArch64 TLS LOCAL EXEC relocation. */ + BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G0_NC, + +/* AArch64 TLS LOCAL EXEC relocation. */ + BFD_RELOC_AARCH64_TLSLE_ADD_TPREL_HI12, + +/* AArch64 TLS LOCAL EXEC relocation. */ + BFD_RELOC_AARCH64_TLSLE_ADD_TPREL_LO12, + +/* AArch64 TLS LOCAL EXEC relocation. */ + BFD_RELOC_AARCH64_TLSLE_ADD_TPREL_LO12_NC, + +/* AArch64 TLS DESC relocation. */ + BFD_RELOC_AARCH64_TLSDESC_LD_PREL19, + +/* AArch64 TLS DESC relocation. */ + BFD_RELOC_AARCH64_TLSDESC_ADR_PREL21, + +/* AArch64 TLS DESC relocation. */ + BFD_RELOC_AARCH64_TLSDESC_ADR_PAGE21, + +/* AArch64 TLS DESC relocation. */ + BFD_RELOC_AARCH64_TLSDESC_LD64_LO12_NC, + +/* AArch64 TLS DESC relocation. */ + BFD_RELOC_AARCH64_TLSDESC_LD32_LO12_NC, + +/* AArch64 TLS DESC relocation. */ + BFD_RELOC_AARCH64_TLSDESC_ADD_LO12_NC, + +/* AArch64 TLS DESC relocation. */ + BFD_RELOC_AARCH64_TLSDESC_OFF_G1, + +/* AArch64 TLS DESC relocation. */ + BFD_RELOC_AARCH64_TLSDESC_OFF_G0_NC, + +/* AArch64 TLS DESC relocation. */ + BFD_RELOC_AARCH64_TLSDESC_LDR, + +/* AArch64 TLS DESC relocation. */ + BFD_RELOC_AARCH64_TLSDESC_ADD, + +/* AArch64 TLS DESC relocation. */ + BFD_RELOC_AARCH64_TLSDESC_CALL, + +/* AArch64 TLS relocation. */ + BFD_RELOC_AARCH64_COPY, + +/* AArch64 TLS relocation. */ + BFD_RELOC_AARCH64_GLOB_DAT, + +/* AArch64 TLS relocation. */ + BFD_RELOC_AARCH64_JUMP_SLOT, + +/* AArch64 TLS relocation. */ + BFD_RELOC_AARCH64_RELATIVE, + +/* AArch64 TLS relocation. */ + BFD_RELOC_AARCH64_TLS_DTPMOD, + +/* AArch64 TLS relocation. */ + BFD_RELOC_AARCH64_TLS_DTPREL, + +/* AArch64 TLS relocation. */ + BFD_RELOC_AARCH64_TLS_TPREL, + +/* AArch64 TLS relocation. */ + BFD_RELOC_AARCH64_TLSDESC, + +/* AArch64 support for STT_GNU_IFUNC. */ + BFD_RELOC_AARCH64_IRELATIVE, + +/* AArch64 pseudo relocation code to mark the end of the AArch64 +relocation enumerators that have direct mapping to ELF reloc codes. +There are a few more enumerators after this one; those are mainly +used by the AArch64 assembler for the internal fixup or to select +one of the above enumerators. */ + BFD_RELOC_AARCH64_RELOC_END, + +/* AArch64 pseudo relocation code to be used internally by the AArch64 +assembler and not (currently) written to any object files. */ + BFD_RELOC_AARCH64_GAS_INTERNAL_FIXUP, + +/* AArch64 unspecified load/store instruction, holding bits 0 to 11 of the +address. Used in conjunction with BFD_RELOC_AARCH64_ADR_HI21_PCREL. */ + BFD_RELOC_AARCH64_LDST_LO12, + +/* AArch64 pseudo relocation code for TLS local dynamic mode. It's to be +used internally by the AArch64 assembler and not (currently) written to +any object files. */ + BFD_RELOC_AARCH64_TLSLD_LDST_DTPREL_LO12, + +/* Similar as BFD_RELOC_AARCH64_TLSLD_LDST_DTPREL_LO12, but no overflow check. */ + BFD_RELOC_AARCH64_TLSLD_LDST_DTPREL_LO12_NC, + +/* AArch64 pseudo relocation code to be used internally by the AArch64 +assembler and not (currently) written to any object files. */ + BFD_RELOC_AARCH64_LD_GOT_LO12_NC, + +/* AArch64 pseudo relocation code to be used internally by the AArch64 +assembler and not (currently) written to any object files. */ + BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_LO12_NC, + +/* AArch64 pseudo relocation code to be used internally by the AArch64 +assembler and not (currently) written to any object files. */ + BFD_RELOC_AARCH64_TLSDESC_LD_LO12_NC, + +/* Tilera TILEPro Relocations. */ + BFD_RELOC_TILEPRO_COPY, + BFD_RELOC_TILEPRO_GLOB_DAT, + BFD_RELOC_TILEPRO_JMP_SLOT, + BFD_RELOC_TILEPRO_RELATIVE, + BFD_RELOC_TILEPRO_BROFF_X1, + BFD_RELOC_TILEPRO_JOFFLONG_X1, + BFD_RELOC_TILEPRO_JOFFLONG_X1_PLT, + BFD_RELOC_TILEPRO_IMM8_X0, + BFD_RELOC_TILEPRO_IMM8_Y0, + BFD_RELOC_TILEPRO_IMM8_X1, + BFD_RELOC_TILEPRO_IMM8_Y1, + BFD_RELOC_TILEPRO_DEST_IMM8_X1, + BFD_RELOC_TILEPRO_MT_IMM15_X1, + BFD_RELOC_TILEPRO_MF_IMM15_X1, + BFD_RELOC_TILEPRO_IMM16_X0, + BFD_RELOC_TILEPRO_IMM16_X1, + BFD_RELOC_TILEPRO_IMM16_X0_LO, + BFD_RELOC_TILEPRO_IMM16_X1_LO, + BFD_RELOC_TILEPRO_IMM16_X0_HI, + BFD_RELOC_TILEPRO_IMM16_X1_HI, + BFD_RELOC_TILEPRO_IMM16_X0_HA, + BFD_RELOC_TILEPRO_IMM16_X1_HA, + BFD_RELOC_TILEPRO_IMM16_X0_PCREL, + BFD_RELOC_TILEPRO_IMM16_X1_PCREL, + BFD_RELOC_TILEPRO_IMM16_X0_LO_PCREL, + BFD_RELOC_TILEPRO_IMM16_X1_LO_PCREL, + BFD_RELOC_TILEPRO_IMM16_X0_HI_PCREL, + BFD_RELOC_TILEPRO_IMM16_X1_HI_PCREL, + BFD_RELOC_TILEPRO_IMM16_X0_HA_PCREL, + BFD_RELOC_TILEPRO_IMM16_X1_HA_PCREL, + BFD_RELOC_TILEPRO_IMM16_X0_GOT, + BFD_RELOC_TILEPRO_IMM16_X1_GOT, + BFD_RELOC_TILEPRO_IMM16_X0_GOT_LO, + BFD_RELOC_TILEPRO_IMM16_X1_GOT_LO, + BFD_RELOC_TILEPRO_IMM16_X0_GOT_HI, + BFD_RELOC_TILEPRO_IMM16_X1_GOT_HI, + BFD_RELOC_TILEPRO_IMM16_X0_GOT_HA, + BFD_RELOC_TILEPRO_IMM16_X1_GOT_HA, + BFD_RELOC_TILEPRO_MMSTART_X0, + BFD_RELOC_TILEPRO_MMEND_X0, + BFD_RELOC_TILEPRO_MMSTART_X1, + BFD_RELOC_TILEPRO_MMEND_X1, + BFD_RELOC_TILEPRO_SHAMT_X0, + BFD_RELOC_TILEPRO_SHAMT_X1, + BFD_RELOC_TILEPRO_SHAMT_Y0, + BFD_RELOC_TILEPRO_SHAMT_Y1, + BFD_RELOC_TILEPRO_TLS_GD_CALL, + BFD_RELOC_TILEPRO_IMM8_X0_TLS_GD_ADD, + BFD_RELOC_TILEPRO_IMM8_X1_TLS_GD_ADD, + BFD_RELOC_TILEPRO_IMM8_Y0_TLS_GD_ADD, + BFD_RELOC_TILEPRO_IMM8_Y1_TLS_GD_ADD, + BFD_RELOC_TILEPRO_TLS_IE_LOAD, + BFD_RELOC_TILEPRO_IMM16_X0_TLS_GD, + BFD_RELOC_TILEPRO_IMM16_X1_TLS_GD, + BFD_RELOC_TILEPRO_IMM16_X0_TLS_GD_LO, + BFD_RELOC_TILEPRO_IMM16_X1_TLS_GD_LO, + BFD_RELOC_TILEPRO_IMM16_X0_TLS_GD_HI, + BFD_RELOC_TILEPRO_IMM16_X1_TLS_GD_HI, + BFD_RELOC_TILEPRO_IMM16_X0_TLS_GD_HA, + BFD_RELOC_TILEPRO_IMM16_X1_TLS_GD_HA, + BFD_RELOC_TILEPRO_IMM16_X0_TLS_IE, + BFD_RELOC_TILEPRO_IMM16_X1_TLS_IE, + BFD_RELOC_TILEPRO_IMM16_X0_TLS_IE_LO, + BFD_RELOC_TILEPRO_IMM16_X1_TLS_IE_LO, + BFD_RELOC_TILEPRO_IMM16_X0_TLS_IE_HI, + BFD_RELOC_TILEPRO_IMM16_X1_TLS_IE_HI, + BFD_RELOC_TILEPRO_IMM16_X0_TLS_IE_HA, + BFD_RELOC_TILEPRO_IMM16_X1_TLS_IE_HA, + BFD_RELOC_TILEPRO_TLS_DTPMOD32, + BFD_RELOC_TILEPRO_TLS_DTPOFF32, + BFD_RELOC_TILEPRO_TLS_TPOFF32, + BFD_RELOC_TILEPRO_IMM16_X0_TLS_LE, + BFD_RELOC_TILEPRO_IMM16_X1_TLS_LE, + BFD_RELOC_TILEPRO_IMM16_X0_TLS_LE_LO, + BFD_RELOC_TILEPRO_IMM16_X1_TLS_LE_LO, + BFD_RELOC_TILEPRO_IMM16_X0_TLS_LE_HI, + BFD_RELOC_TILEPRO_IMM16_X1_TLS_LE_HI, + BFD_RELOC_TILEPRO_IMM16_X0_TLS_LE_HA, + BFD_RELOC_TILEPRO_IMM16_X1_TLS_LE_HA, + +/* Tilera TILE-Gx Relocations. */ + BFD_RELOC_TILEGX_HW0, + BFD_RELOC_TILEGX_HW1, + BFD_RELOC_TILEGX_HW2, + BFD_RELOC_TILEGX_HW3, + BFD_RELOC_TILEGX_HW0_LAST, + BFD_RELOC_TILEGX_HW1_LAST, + BFD_RELOC_TILEGX_HW2_LAST, + BFD_RELOC_TILEGX_COPY, + BFD_RELOC_TILEGX_GLOB_DAT, + BFD_RELOC_TILEGX_JMP_SLOT, + BFD_RELOC_TILEGX_RELATIVE, + BFD_RELOC_TILEGX_BROFF_X1, + BFD_RELOC_TILEGX_JUMPOFF_X1, + BFD_RELOC_TILEGX_JUMPOFF_X1_PLT, + BFD_RELOC_TILEGX_IMM8_X0, + BFD_RELOC_TILEGX_IMM8_Y0, + BFD_RELOC_TILEGX_IMM8_X1, + BFD_RELOC_TILEGX_IMM8_Y1, + BFD_RELOC_TILEGX_DEST_IMM8_X1, + BFD_RELOC_TILEGX_MT_IMM14_X1, + BFD_RELOC_TILEGX_MF_IMM14_X1, + BFD_RELOC_TILEGX_MMSTART_X0, + BFD_RELOC_TILEGX_MMEND_X0, + BFD_RELOC_TILEGX_SHAMT_X0, + BFD_RELOC_TILEGX_SHAMT_X1, + BFD_RELOC_TILEGX_SHAMT_Y0, + BFD_RELOC_TILEGX_SHAMT_Y1, + BFD_RELOC_TILEGX_IMM16_X0_HW0, + BFD_RELOC_TILEGX_IMM16_X1_HW0, + BFD_RELOC_TILEGX_IMM16_X0_HW1, + BFD_RELOC_TILEGX_IMM16_X1_HW1, + BFD_RELOC_TILEGX_IMM16_X0_HW2, + BFD_RELOC_TILEGX_IMM16_X1_HW2, + BFD_RELOC_TILEGX_IMM16_X0_HW3, + BFD_RELOC_TILEGX_IMM16_X1_HW3, + BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST, + BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST, + BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST, + BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST, + BFD_RELOC_TILEGX_IMM16_X0_HW2_LAST, + BFD_RELOC_TILEGX_IMM16_X1_HW2_LAST, + BFD_RELOC_TILEGX_IMM16_X0_HW0_PCREL, + BFD_RELOC_TILEGX_IMM16_X1_HW0_PCREL, + BFD_RELOC_TILEGX_IMM16_X0_HW1_PCREL, + BFD_RELOC_TILEGX_IMM16_X1_HW1_PCREL, + BFD_RELOC_TILEGX_IMM16_X0_HW2_PCREL, + BFD_RELOC_TILEGX_IMM16_X1_HW2_PCREL, + BFD_RELOC_TILEGX_IMM16_X0_HW3_PCREL, + BFD_RELOC_TILEGX_IMM16_X1_HW3_PCREL, + BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST_PCREL, + BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST_PCREL, + BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_PCREL, + BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_PCREL, + BFD_RELOC_TILEGX_IMM16_X0_HW2_LAST_PCREL, + BFD_RELOC_TILEGX_IMM16_X1_HW2_LAST_PCREL, + BFD_RELOC_TILEGX_IMM16_X0_HW0_GOT, + BFD_RELOC_TILEGX_IMM16_X1_HW0_GOT, + BFD_RELOC_TILEGX_IMM16_X0_HW0_PLT_PCREL, + BFD_RELOC_TILEGX_IMM16_X1_HW0_PLT_PCREL, + BFD_RELOC_TILEGX_IMM16_X0_HW1_PLT_PCREL, + BFD_RELOC_TILEGX_IMM16_X1_HW1_PLT_PCREL, + BFD_RELOC_TILEGX_IMM16_X0_HW2_PLT_PCREL, + BFD_RELOC_TILEGX_IMM16_X1_HW2_PLT_PCREL, + BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST_GOT, + BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST_GOT, + BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_GOT, + BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_GOT, + BFD_RELOC_TILEGX_IMM16_X0_HW3_PLT_PCREL, + BFD_RELOC_TILEGX_IMM16_X1_HW3_PLT_PCREL, + BFD_RELOC_TILEGX_IMM16_X0_HW0_TLS_GD, + BFD_RELOC_TILEGX_IMM16_X1_HW0_TLS_GD, + BFD_RELOC_TILEGX_IMM16_X0_HW0_TLS_LE, + BFD_RELOC_TILEGX_IMM16_X1_HW0_TLS_LE, + BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST_TLS_LE, + BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST_TLS_LE, + BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_TLS_LE, + BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_TLS_LE, + BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST_TLS_GD, + BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST_TLS_GD, + BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_TLS_GD, + BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_TLS_GD, + BFD_RELOC_TILEGX_IMM16_X0_HW0_TLS_IE, + BFD_RELOC_TILEGX_IMM16_X1_HW0_TLS_IE, + BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST_PLT_PCREL, + BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST_PLT_PCREL, + BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_PLT_PCREL, + BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_PLT_PCREL, + BFD_RELOC_TILEGX_IMM16_X0_HW2_LAST_PLT_PCREL, + BFD_RELOC_TILEGX_IMM16_X1_HW2_LAST_PLT_PCREL, + BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST_TLS_IE, + BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST_TLS_IE, + BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_TLS_IE, + BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_TLS_IE, + BFD_RELOC_TILEGX_TLS_DTPMOD64, + BFD_RELOC_TILEGX_TLS_DTPOFF64, + BFD_RELOC_TILEGX_TLS_TPOFF64, + BFD_RELOC_TILEGX_TLS_DTPMOD32, + BFD_RELOC_TILEGX_TLS_DTPOFF32, + BFD_RELOC_TILEGX_TLS_TPOFF32, + BFD_RELOC_TILEGX_TLS_GD_CALL, + BFD_RELOC_TILEGX_IMM8_X0_TLS_GD_ADD, + BFD_RELOC_TILEGX_IMM8_X1_TLS_GD_ADD, + BFD_RELOC_TILEGX_IMM8_Y0_TLS_GD_ADD, + BFD_RELOC_TILEGX_IMM8_Y1_TLS_GD_ADD, + BFD_RELOC_TILEGX_TLS_IE_LOAD, + BFD_RELOC_TILEGX_IMM8_X0_TLS_ADD, + BFD_RELOC_TILEGX_IMM8_X1_TLS_ADD, + BFD_RELOC_TILEGX_IMM8_Y0_TLS_ADD, + BFD_RELOC_TILEGX_IMM8_Y1_TLS_ADD, + +/* Adapteva EPIPHANY - 8 bit signed pc-relative displacement */ + BFD_RELOC_EPIPHANY_SIMM8, + +/* Adapteva EPIPHANY - 24 bit signed pc-relative displacement */ + BFD_RELOC_EPIPHANY_SIMM24, + +/* Adapteva EPIPHANY - 16 most-significant bits of absolute address */ + BFD_RELOC_EPIPHANY_HIGH, + +/* Adapteva EPIPHANY - 16 least-significant bits of absolute address */ + BFD_RELOC_EPIPHANY_LOW, + +/* Adapteva EPIPHANY - 11 bit signed number - add/sub immediate */ + BFD_RELOC_EPIPHANY_SIMM11, + +/* Adapteva EPIPHANY - 11 bit sign-magnitude number (ld/st displacement) */ + BFD_RELOC_EPIPHANY_IMM11, + +/* Adapteva EPIPHANY - 8 bit immediate for 16 bit mov instruction. */ + BFD_RELOC_EPIPHANY_IMM8, + +/* Visium Relocations. */ + BFD_RELOC_VISIUM_HI16, + BFD_RELOC_VISIUM_LO16, + BFD_RELOC_VISIUM_IM16, + BFD_RELOC_VISIUM_REL16, + BFD_RELOC_VISIUM_HI16_PCREL, + BFD_RELOC_VISIUM_LO16_PCREL, + BFD_RELOC_VISIUM_IM16_PCREL, + BFD_RELOC_UNUSED }; + +typedef enum bfd_reloc_code_real bfd_reloc_code_real_type; +reloc_howto_type *bfd_reloc_type_lookup + (bfd *abfd, bfd_reloc_code_real_type code); +reloc_howto_type *bfd_reloc_name_lookup + (bfd *abfd, const char *reloc_name); + +const char *bfd_get_reloc_code_name (bfd_reloc_code_real_type code); + +/* Extracted from syms.c. */ + +typedef struct bfd_symbol +{ + /* A pointer to the BFD which owns the symbol. This information + is necessary so that a back end can work out what additional + information (invisible to the application writer) is carried + with the symbol. + + This field is *almost* redundant, since you can use section->owner + instead, except that some symbols point to the global sections + bfd_{abs,com,und}_section. This could be fixed by making + these globals be per-bfd (or per-target-flavor). FIXME. */ + struct bfd *the_bfd; /* Use bfd_asymbol_bfd(sym) to access this field. */ + + /* The text of the symbol. The name is left alone, and not copied; the + application may not alter it. */ + const char *name; + + /* The value of the symbol. This really should be a union of a + numeric value with a pointer, since some flags indicate that + a pointer to another symbol is stored here. */ + symvalue value; + + /* Attributes of a symbol. */ +#define BSF_NO_FLAGS 0x00 + + /* The symbol has local scope; <> in <>. The value + is the offset into the section of the data. */ +#define BSF_LOCAL (1 << 0) + + /* The symbol has global scope; initialized data in <>. The + value is the offset into the section of the data. */ +#define BSF_GLOBAL (1 << 1) + + /* The symbol has global scope and is exported. The value is + the offset into the section of the data. */ +#define BSF_EXPORT BSF_GLOBAL /* No real difference. */ + + /* A normal C symbol would be one of: + <>, <>, <> or + <>. */ + + /* The symbol is a debugging record. The value has an arbitrary + meaning, unless BSF_DEBUGGING_RELOC is also set. */ +#define BSF_DEBUGGING (1 << 2) + + /* The symbol denotes a function entry point. Used in ELF, + perhaps others someday. */ +#define BSF_FUNCTION (1 << 3) + + /* Used by the linker. */ +#define BSF_KEEP (1 << 5) +#define BSF_KEEP_G (1 << 6) + + /* A weak global symbol, overridable without warnings by + a regular global symbol of the same name. */ +#define BSF_WEAK (1 << 7) + + /* This symbol was created to point to a section, e.g. ELF's + STT_SECTION symbols. */ +#define BSF_SECTION_SYM (1 << 8) + + /* The symbol used to be a common symbol, but now it is + allocated. */ +#define BSF_OLD_COMMON (1 << 9) + + /* In some files the type of a symbol sometimes alters its + location in an output file - ie in coff a <> symbol + which is also <> symbol appears where it was + declared and not at the end of a section. This bit is set + by the target BFD part to convey this information. */ +#define BSF_NOT_AT_END (1 << 10) + + /* Signal that the symbol is the label of constructor section. */ +#define BSF_CONSTRUCTOR (1 << 11) + + /* Signal that the symbol is a warning symbol. The name is a + warning. The name of the next symbol is the one to warn about; + if a reference is made to a symbol with the same name as the next + symbol, a warning is issued by the linker. */ +#define BSF_WARNING (1 << 12) + + /* Signal that the symbol is indirect. This symbol is an indirect + pointer to the symbol with the same name as the next symbol. */ +#define BSF_INDIRECT (1 << 13) + + /* BSF_FILE marks symbols that contain a file name. This is used + for ELF STT_FILE symbols. */ +#define BSF_FILE (1 << 14) + + /* Symbol is from dynamic linking information. */ +#define BSF_DYNAMIC (1 << 15) + + /* The symbol denotes a data object. Used in ELF, and perhaps + others someday. */ +#define BSF_OBJECT (1 << 16) + + /* This symbol is a debugging symbol. The value is the offset + into the section of the data. BSF_DEBUGGING should be set + as well. */ +#define BSF_DEBUGGING_RELOC (1 << 17) + + /* This symbol is thread local. Used in ELF. */ +#define BSF_THREAD_LOCAL (1 << 18) + + /* This symbol represents a complex relocation expression, + with the expression tree serialized in the symbol name. */ +#define BSF_RELC (1 << 19) + + /* This symbol represents a signed complex relocation expression, + with the expression tree serialized in the symbol name. */ +#define BSF_SRELC (1 << 20) + + /* This symbol was created by bfd_get_synthetic_symtab. */ +#define BSF_SYNTHETIC (1 << 21) + + /* This symbol is an indirect code object. Unrelated to BSF_INDIRECT. + The dynamic linker will compute the value of this symbol by + calling the function that it points to. BSF_FUNCTION must + also be also set. */ +#define BSF_GNU_INDIRECT_FUNCTION (1 << 22) + /* This symbol is a globally unique data object. The dynamic linker + will make sure that in the entire process there is just one symbol + with this name and type in use. BSF_OBJECT must also be set. */ +#define BSF_GNU_UNIQUE (1 << 23) + + flagword flags; + + /* A pointer to the section to which this symbol is + relative. This will always be non NULL, there are special + sections for undefined and absolute symbols. */ + struct bfd_section *section; + + /* Back end special data. */ + union + { + void *p; + bfd_vma i; + } + udata; +} +asymbol; + +#define bfd_get_symtab_upper_bound(abfd) \ + BFD_SEND (abfd, _bfd_get_symtab_upper_bound, (abfd)) + +bfd_boolean bfd_is_local_label (bfd *abfd, asymbol *sym); + +bfd_boolean bfd_is_local_label_name (bfd *abfd, const char *name); + +#define bfd_is_local_label_name(abfd, name) \ + BFD_SEND (abfd, _bfd_is_local_label_name, (abfd, name)) + +bfd_boolean bfd_is_target_special_symbol (bfd *abfd, asymbol *sym); + +#define bfd_is_target_special_symbol(abfd, sym) \ + BFD_SEND (abfd, _bfd_is_target_special_symbol, (abfd, sym)) + +#define bfd_canonicalize_symtab(abfd, location) \ + BFD_SEND (abfd, _bfd_canonicalize_symtab, (abfd, location)) + +bfd_boolean bfd_set_symtab + (bfd *abfd, asymbol **location, unsigned int count); + +void bfd_print_symbol_vandf (bfd *abfd, void *file, asymbol *symbol); + +#define bfd_make_empty_symbol(abfd) \ + BFD_SEND (abfd, _bfd_make_empty_symbol, (abfd)) + +asymbol *_bfd_generic_make_empty_symbol (bfd *); + +#define bfd_make_debug_symbol(abfd,ptr,size) \ + BFD_SEND (abfd, _bfd_make_debug_symbol, (abfd, ptr, size)) + +int bfd_decode_symclass (asymbol *symbol); + +bfd_boolean bfd_is_undefined_symclass (int symclass); + +void bfd_symbol_info (asymbol *symbol, symbol_info *ret); + +bfd_boolean bfd_copy_private_symbol_data + (bfd *ibfd, asymbol *isym, bfd *obfd, asymbol *osym); + +#define bfd_copy_private_symbol_data(ibfd, isymbol, obfd, osymbol) \ + BFD_SEND (obfd, _bfd_copy_private_symbol_data, \ + (ibfd, isymbol, obfd, osymbol)) + +/* Extracted from bfd.c. */ + +enum bfd_direction + { + no_direction = 0, + read_direction = 1, + write_direction = 2, + both_direction = 3 + }; + +enum bfd_plugin_format + { + bfd_plugin_uknown = 0, + bfd_plugin_yes = 1, + bfd_plugin_no = 2 + }; + +struct bfd_build_id + { + bfd_size_type size; + bfd_byte data[1]; + }; + +struct bfd +{ + /* The filename the application opened the BFD with. */ + const char *filename; + + /* A pointer to the target jump table. */ + const struct bfd_target *xvec; + + /* The IOSTREAM, and corresponding IO vector that provide access + to the file backing the BFD. */ + void *iostream; + const struct bfd_iovec *iovec; + + /* The caching routines use these to maintain a + least-recently-used list of BFDs. */ + struct bfd *lru_prev, *lru_next; + + /* When a file is closed by the caching routines, BFD retains + state information on the file here... */ + ufile_ptr where; + + /* File modified time, if mtime_set is TRUE. */ + long mtime; + + /* A unique identifier of the BFD */ + unsigned int id; + + /* The format which belongs to the BFD. (object, core, etc.) */ + ENUM_BITFIELD (bfd_format) format : 3; + + /* The direction with which the BFD was opened. */ + ENUM_BITFIELD (bfd_direction) direction : 2; + + /* Format_specific flags. */ + flagword flags : 18; + + /* Values that may appear in the flags field of a BFD. These also + appear in the object_flags field of the bfd_target structure, where + they indicate the set of flags used by that backend (not all flags + are meaningful for all object file formats) (FIXME: at the moment, + the object_flags values have mostly just been copied from backend + to another, and are not necessarily correct). */ + +#define BFD_NO_FLAGS 0x00 + + /* BFD contains relocation entries. */ +#define HAS_RELOC 0x01 + + /* BFD is directly executable. */ +#define EXEC_P 0x02 + + /* BFD has line number information (basically used for F_LNNO in a + COFF header). */ +#define HAS_LINENO 0x04 + + /* BFD has debugging information. */ +#define HAS_DEBUG 0x08 + + /* BFD has symbols. */ +#define HAS_SYMS 0x10 + + /* BFD has local symbols (basically used for F_LSYMS in a COFF + header). */ +#define HAS_LOCALS 0x20 + + /* BFD is a dynamic object. */ +#define DYNAMIC 0x40 + + /* Text section is write protected (if D_PAGED is not set, this is + like an a.out NMAGIC file) (the linker sets this by default, but + clears it for -r or -N). */ +#define WP_TEXT 0x80 + + /* BFD is dynamically paged (this is like an a.out ZMAGIC file) (the + linker sets this by default, but clears it for -r or -n or -N). */ +#define D_PAGED 0x100 + + /* BFD is relaxable (this means that bfd_relax_section may be able to + do something) (sometimes bfd_relax_section can do something even if + this is not set). */ +#define BFD_IS_RELAXABLE 0x200 + + /* This may be set before writing out a BFD to request using a + traditional format. For example, this is used to request that when + writing out an a.out object the symbols not be hashed to eliminate + duplicates. */ +#define BFD_TRADITIONAL_FORMAT 0x400 + + /* This flag indicates that the BFD contents are actually cached + in memory. If this is set, iostream points to a bfd_in_memory + struct. */ +#define BFD_IN_MEMORY 0x800 + + /* This BFD has been created by the linker and doesn't correspond + to any input file. */ +#define BFD_LINKER_CREATED 0x1000 + + /* This may be set before writing out a BFD to request that it + be written using values for UIDs, GIDs, timestamps, etc. that + will be consistent from run to run. */ +#define BFD_DETERMINISTIC_OUTPUT 0x2000 + + /* Compress sections in this BFD. */ +#define BFD_COMPRESS 0x4000 + + /* Decompress sections in this BFD. */ +#define BFD_DECOMPRESS 0x8000 + + /* BFD is a dummy, for plugins. */ +#define BFD_PLUGIN 0x10000 + + /* Compress sections in this BFD with SHF_COMPRESSED from gABI. */ +#define BFD_COMPRESS_GABI 0x20000 + + /* Flags bits to be saved in bfd_preserve_save. */ +#define BFD_FLAGS_SAVED \ + (BFD_IN_MEMORY | BFD_COMPRESS | BFD_DECOMPRESS | BFD_PLUGIN \ + | BFD_COMPRESS_GABI) + + /* Flags bits which are for BFD use only. */ +#define BFD_FLAGS_FOR_BFD_USE_MASK \ + (BFD_IN_MEMORY | BFD_COMPRESS | BFD_DECOMPRESS | BFD_LINKER_CREATED \ + | BFD_PLUGIN | BFD_TRADITIONAL_FORMAT | BFD_DETERMINISTIC_OUTPUT \ + | BFD_COMPRESS_GABI) + + /* Is the file descriptor being cached? That is, can it be closed as + needed, and re-opened when accessed later? */ + unsigned int cacheable : 1; + + /* Marks whether there was a default target specified when the + BFD was opened. This is used to select which matching algorithm + to use to choose the back end. */ + unsigned int target_defaulted : 1; + + /* ... and here: (``once'' means at least once). */ + unsigned int opened_once : 1; + + /* Set if we have a locally maintained mtime value, rather than + getting it from the file each time. */ + unsigned int mtime_set : 1; + + /* Flag set if symbols from this BFD should not be exported. */ + unsigned int no_export : 1; + + /* Remember when output has begun, to stop strange things + from happening. */ + unsigned int output_has_begun : 1; + + /* Have archive map. */ + unsigned int has_armap : 1; + + /* Set if this is a thin archive. */ + unsigned int is_thin_archive : 1; + + /* Set if only required symbols should be added in the link hash table for + this object. Used by VMS linkers. */ + unsigned int selective_search : 1; + + /* Set if this is the linker output BFD. */ + unsigned int is_linker_output : 1; + + /* Set if this is the linker input BFD. */ + unsigned int is_linker_input : 1; + + /* If this is an input for a compiler plug-in library. */ + ENUM_BITFIELD (bfd_plugin_format) plugin_format : 2; + + /* Set if this is a plugin output file. */ + unsigned int lto_output : 1; + + /* Set to dummy BFD created when claimed by a compiler plug-in + library. */ + bfd *plugin_dummy_bfd; + + /* Currently my_archive is tested before adding origin to + anything. I believe that this can become always an add of + origin, with origin set to 0 for non archive files. */ + ufile_ptr origin; + + /* The origin in the archive of the proxy entry. This will + normally be the same as origin, except for thin archives, + when it will contain the current offset of the proxy in the + thin archive rather than the offset of the bfd in its actual + container. */ + ufile_ptr proxy_origin; + + /* A hash table for section names. */ + struct bfd_hash_table section_htab; + + /* Pointer to linked list of sections. */ + struct bfd_section *sections; + + /* The last section on the section list. */ + struct bfd_section *section_last; + + /* The number of sections. */ + unsigned int section_count; + + /* A field used by _bfd_generic_link_add_archive_symbols. This will + be used only for archive elements. */ + int archive_pass; + + /* Stuff only useful for object files: + The start address. */ + bfd_vma start_address; + + /* Symbol table for output BFD (with symcount entries). + Also used by the linker to cache input BFD symbols. */ + struct bfd_symbol **outsymbols; + + /* Used for input and output. */ + unsigned int symcount; + + /* Used for slurped dynamic symbol tables. */ + unsigned int dynsymcount; + + /* Pointer to structure which contains architecture information. */ + const struct bfd_arch_info *arch_info; + + /* Stuff only useful for archives. */ + void *arelt_data; + struct bfd *my_archive; /* The containing archive BFD. */ + struct bfd *archive_next; /* The next BFD in the archive. */ + struct bfd *archive_head; /* The first BFD in the archive. */ + struct bfd *nested_archives; /* List of nested archive in a flattened + thin archive. */ + + union { + /* For input BFDs, a chain of BFDs involved in a link. */ + struct bfd *next; + /* For output BFD, the linker hash table. */ + struct bfd_link_hash_table *hash; + } link; + + /* Used by the back end to hold private data. */ + union + { + struct aout_data_struct *aout_data; + struct artdata *aout_ar_data; + struct _oasys_data *oasys_obj_data; + struct _oasys_ar_data *oasys_ar_data; + struct coff_tdata *coff_obj_data; + struct pe_tdata *pe_obj_data; + struct xcoff_tdata *xcoff_obj_data; + struct ecoff_tdata *ecoff_obj_data; + struct ieee_data_struct *ieee_data; + struct ieee_ar_data_struct *ieee_ar_data; + struct srec_data_struct *srec_data; + struct verilog_data_struct *verilog_data; + struct ihex_data_struct *ihex_data; + struct tekhex_data_struct *tekhex_data; + struct elf_obj_tdata *elf_obj_data; + struct nlm_obj_tdata *nlm_obj_data; + struct bout_data_struct *bout_data; + struct mmo_data_struct *mmo_data; + struct sun_core_struct *sun_core_data; + struct sco5_core_struct *sco5_core_data; + struct trad_core_struct *trad_core_data; + struct som_data_struct *som_data; + struct hpux_core_struct *hpux_core_data; + struct hppabsd_core_struct *hppabsd_core_data; + struct sgi_core_struct *sgi_core_data; + struct lynx_core_struct *lynx_core_data; + struct osf_core_struct *osf_core_data; + struct cisco_core_struct *cisco_core_data; + struct versados_data_struct *versados_data; + struct netbsd_core_struct *netbsd_core_data; + struct mach_o_data_struct *mach_o_data; + struct mach_o_fat_data_struct *mach_o_fat_data; + struct plugin_data_struct *plugin_data; + struct bfd_pef_data_struct *pef_data; + struct bfd_pef_xlib_data_struct *pef_xlib_data; + struct bfd_sym_data_struct *sym_data; + void *any; + } + tdata; + + /* Used by the application to hold private data. */ + void *usrdata; + + /* Where all the allocated stuff under this BFD goes. This is a + struct objalloc *, but we use void * to avoid requiring the inclusion + of objalloc.h. */ + void *memory; + + /* For input BFDs, the build ID, if the object has one. */ + const struct bfd_build_id *build_id; +}; + +/* See note beside bfd_set_section_userdata. */ +static inline bfd_boolean +bfd_set_cacheable (bfd * abfd, bfd_boolean val) +{ + abfd->cacheable = val; + return TRUE; +} + + +typedef enum bfd_error +{ + bfd_error_no_error = 0, + bfd_error_system_call, + bfd_error_invalid_target, + bfd_error_wrong_format, + bfd_error_wrong_object_format, + bfd_error_invalid_operation, + bfd_error_no_memory, + bfd_error_no_symbols, + bfd_error_no_armap, + bfd_error_no_more_archived_files, + bfd_error_malformed_archive, + bfd_error_missing_dso, + bfd_error_file_not_recognized, + bfd_error_file_ambiguously_recognized, + bfd_error_no_contents, + bfd_error_nonrepresentable_section, + bfd_error_no_debug_section, + bfd_error_bad_value, + bfd_error_file_truncated, + bfd_error_file_too_big, + bfd_error_on_input, + bfd_error_invalid_error_code +} +bfd_error_type; + +bfd_error_type bfd_get_error (void); + +void bfd_set_error (bfd_error_type error_tag, ...); + +const char *bfd_errmsg (bfd_error_type error_tag); + +void bfd_perror (const char *message); + + +typedef void (*bfd_error_handler_type) (const char *, ...); + +bfd_error_handler_type bfd_set_error_handler (bfd_error_handler_type); + +void bfd_set_error_program_name (const char *); + +bfd_error_handler_type bfd_get_error_handler (void); + + +typedef void (*bfd_assert_handler_type) (const char *bfd_formatmsg, + const char *bfd_version, + const char *bfd_file, + int bfd_line); + +bfd_assert_handler_type bfd_set_assert_handler (bfd_assert_handler_type); + +bfd_assert_handler_type bfd_get_assert_handler (void); + +long bfd_get_reloc_upper_bound (bfd *abfd, asection *sect); + +long bfd_canonicalize_reloc + (bfd *abfd, asection *sec, arelent **loc, asymbol **syms); + +void bfd_set_reloc + (bfd *abfd, asection *sec, arelent **rel, unsigned int count); + +bfd_boolean bfd_set_file_flags (bfd *abfd, flagword flags); + +int bfd_get_arch_size (bfd *abfd); + +int bfd_get_sign_extend_vma (bfd *abfd); + +bfd_boolean bfd_set_start_address (bfd *abfd, bfd_vma vma); + +unsigned int bfd_get_gp_size (bfd *abfd); + +void bfd_set_gp_size (bfd *abfd, unsigned int i); + +bfd_vma bfd_scan_vma (const char *string, const char **end, int base); + +bfd_boolean bfd_copy_private_header_data (bfd *ibfd, bfd *obfd); + +#define bfd_copy_private_header_data(ibfd, obfd) \ + BFD_SEND (obfd, _bfd_copy_private_header_data, \ + (ibfd, obfd)) +bfd_boolean bfd_copy_private_bfd_data (bfd *ibfd, bfd *obfd); + +#define bfd_copy_private_bfd_data(ibfd, obfd) \ + BFD_SEND (obfd, _bfd_copy_private_bfd_data, \ + (ibfd, obfd)) +bfd_boolean bfd_merge_private_bfd_data (bfd *ibfd, bfd *obfd); + +#define bfd_merge_private_bfd_data(ibfd, obfd) \ + BFD_SEND (obfd, _bfd_merge_private_bfd_data, \ + (ibfd, obfd)) +bfd_boolean bfd_set_private_flags (bfd *abfd, flagword flags); + +#define bfd_set_private_flags(abfd, flags) \ + BFD_SEND (abfd, _bfd_set_private_flags, (abfd, flags)) +#define bfd_sizeof_headers(abfd, info) \ + BFD_SEND (abfd, _bfd_sizeof_headers, (abfd, info)) + +#define bfd_find_nearest_line(abfd, sec, syms, off, file, func, line) \ + BFD_SEND (abfd, _bfd_find_nearest_line, \ + (abfd, syms, sec, off, file, func, line, NULL)) + +#define bfd_find_nearest_line_discriminator(abfd, sec, syms, off, file, func, \ + line, disc) \ + BFD_SEND (abfd, _bfd_find_nearest_line, \ + (abfd, syms, sec, off, file, func, line, disc)) + +#define bfd_find_line(abfd, syms, sym, file, line) \ + BFD_SEND (abfd, _bfd_find_line, \ + (abfd, syms, sym, file, line)) + +#define bfd_find_inliner_info(abfd, file, func, line) \ + BFD_SEND (abfd, _bfd_find_inliner_info, \ + (abfd, file, func, line)) + +#define bfd_debug_info_start(abfd) \ + BFD_SEND (abfd, _bfd_debug_info_start, (abfd)) + +#define bfd_debug_info_end(abfd) \ + BFD_SEND (abfd, _bfd_debug_info_end, (abfd)) + +#define bfd_debug_info_accumulate(abfd, section) \ + BFD_SEND (abfd, _bfd_debug_info_accumulate, (abfd, section)) + +#define bfd_stat_arch_elt(abfd, stat) \ + BFD_SEND (abfd, _bfd_stat_arch_elt,(abfd, stat)) + +#define bfd_update_armap_timestamp(abfd) \ + BFD_SEND (abfd, _bfd_update_armap_timestamp, (abfd)) + +#define bfd_set_arch_mach(abfd, arch, mach)\ + BFD_SEND ( abfd, _bfd_set_arch_mach, (abfd, arch, mach)) + +#define bfd_relax_section(abfd, section, link_info, again) \ + BFD_SEND (abfd, _bfd_relax_section, (abfd, section, link_info, again)) + +#define bfd_gc_sections(abfd, link_info) \ + BFD_SEND (abfd, _bfd_gc_sections, (abfd, link_info)) + +#define bfd_lookup_section_flags(link_info, flag_info, section) \ + BFD_SEND (abfd, _bfd_lookup_section_flags, (link_info, flag_info, section)) + +#define bfd_merge_sections(abfd, link_info) \ + BFD_SEND (abfd, _bfd_merge_sections, (abfd, link_info)) + +#define bfd_is_group_section(abfd, sec) \ + BFD_SEND (abfd, _bfd_is_group_section, (abfd, sec)) + +#define bfd_discard_group(abfd, sec) \ + BFD_SEND (abfd, _bfd_discard_group, (abfd, sec)) + +#define bfd_link_hash_table_create(abfd) \ + BFD_SEND (abfd, _bfd_link_hash_table_create, (abfd)) + +#define bfd_link_add_symbols(abfd, info) \ + BFD_SEND (abfd, _bfd_link_add_symbols, (abfd, info)) + +#define bfd_link_just_syms(abfd, sec, info) \ + BFD_SEND (abfd, _bfd_link_just_syms, (sec, info)) + +#define bfd_final_link(abfd, info) \ + BFD_SEND (abfd, _bfd_final_link, (abfd, info)) + +#define bfd_free_cached_info(abfd) \ + BFD_SEND (abfd, _bfd_free_cached_info, (abfd)) + +#define bfd_get_dynamic_symtab_upper_bound(abfd) \ + BFD_SEND (abfd, _bfd_get_dynamic_symtab_upper_bound, (abfd)) + +#define bfd_print_private_bfd_data(abfd, file)\ + BFD_SEND (abfd, _bfd_print_private_bfd_data, (abfd, file)) + +#define bfd_canonicalize_dynamic_symtab(abfd, asymbols) \ + BFD_SEND (abfd, _bfd_canonicalize_dynamic_symtab, (abfd, asymbols)) + +#define bfd_get_synthetic_symtab(abfd, count, syms, dyncount, dynsyms, ret) \ + BFD_SEND (abfd, _bfd_get_synthetic_symtab, (abfd, count, syms, \ + dyncount, dynsyms, ret)) + +#define bfd_get_dynamic_reloc_upper_bound(abfd) \ + BFD_SEND (abfd, _bfd_get_dynamic_reloc_upper_bound, (abfd)) + +#define bfd_canonicalize_dynamic_reloc(abfd, arels, asyms) \ + BFD_SEND (abfd, _bfd_canonicalize_dynamic_reloc, (abfd, arels, asyms)) + +extern bfd_byte *bfd_get_relocated_section_contents + (bfd *, struct bfd_link_info *, struct bfd_link_order *, bfd_byte *, + bfd_boolean, asymbol **); + +bfd_boolean bfd_alt_mach_code (bfd *abfd, int alternative); + +bfd_vma bfd_emul_get_maxpagesize (const char *); + +void bfd_emul_set_maxpagesize (const char *, bfd_vma); + +bfd_vma bfd_emul_get_commonpagesize (const char *); + +void bfd_emul_set_commonpagesize (const char *, bfd_vma); + +char *bfd_demangle (bfd *, const char *, int); + +void bfd_update_compression_header + (bfd *abfd, bfd_byte *contents, asection *sec); + +bfd_boolean bfd_check_compression_header + (bfd *abfd, bfd_byte *contents, asection *sec, + bfd_size_type *uncompressed_size); + +int bfd_get_compression_header_size (bfd *abfd, asection *sec); + +bfd_size_type bfd_convert_section_size + (bfd *ibfd, asection *isec, bfd *obfd, bfd_size_type size); + +bfd_boolean bfd_convert_section_contents + (bfd *ibfd, asection *isec, bfd *obfd, + bfd_byte **ptr, bfd_size_type *ptr_size); + +/* Extracted from archive.c. */ +symindex bfd_get_next_mapent + (bfd *abfd, symindex previous, carsym **sym); + +bfd_boolean bfd_set_archive_head (bfd *output, bfd *new_head); + +bfd *bfd_openr_next_archived_file (bfd *archive, bfd *previous); + +/* Extracted from corefile.c. */ +const char *bfd_core_file_failing_command (bfd *abfd); + +int bfd_core_file_failing_signal (bfd *abfd); + +int bfd_core_file_pid (bfd *abfd); + +bfd_boolean core_file_matches_executable_p + (bfd *core_bfd, bfd *exec_bfd); + +bfd_boolean generic_core_file_matches_executable_p + (bfd *core_bfd, bfd *exec_bfd); + +/* Extracted from targets.c. */ +#define BFD_SEND(bfd, message, arglist) \ + ((*((bfd)->xvec->message)) arglist) + +#ifdef DEBUG_BFD_SEND +#undef BFD_SEND +#define BFD_SEND(bfd, message, arglist) \ + (((bfd) && (bfd)->xvec && (bfd)->xvec->message) ? \ + ((*((bfd)->xvec->message)) arglist) : \ + (bfd_assert (__FILE__,__LINE__), NULL)) +#endif +#define BFD_SEND_FMT(bfd, message, arglist) \ + (((bfd)->xvec->message[(int) ((bfd)->format)]) arglist) + +#ifdef DEBUG_BFD_SEND +#undef BFD_SEND_FMT +#define BFD_SEND_FMT(bfd, message, arglist) \ + (((bfd) && (bfd)->xvec && (bfd)->xvec->message) ? \ + (((bfd)->xvec->message[(int) ((bfd)->format)]) arglist) : \ + (bfd_assert (__FILE__,__LINE__), NULL)) +#endif + +enum bfd_flavour +{ + /* N.B. Update bfd_flavour_name if you change this. */ + bfd_target_unknown_flavour, + bfd_target_aout_flavour, + bfd_target_coff_flavour, + bfd_target_ecoff_flavour, + bfd_target_xcoff_flavour, + bfd_target_elf_flavour, + bfd_target_ieee_flavour, + bfd_target_nlm_flavour, + bfd_target_oasys_flavour, + bfd_target_tekhex_flavour, + bfd_target_srec_flavour, + bfd_target_verilog_flavour, + bfd_target_ihex_flavour, + bfd_target_som_flavour, + bfd_target_os9k_flavour, + bfd_target_versados_flavour, + bfd_target_msdos_flavour, + bfd_target_ovax_flavour, + bfd_target_evax_flavour, + bfd_target_mmo_flavour, + bfd_target_mach_o_flavour, + bfd_target_pef_flavour, + bfd_target_pef_xlib_flavour, + bfd_target_sym_flavour +}; + +enum bfd_endian { BFD_ENDIAN_BIG, BFD_ENDIAN_LITTLE, BFD_ENDIAN_UNKNOWN }; + +/* Forward declaration. */ +typedef struct bfd_link_info _bfd_link_info; + +/* Forward declaration. */ +typedef struct flag_info flag_info; + +typedef struct bfd_target +{ + /* Identifies the kind of target, e.g., SunOS4, Ultrix, etc. */ + char *name; + + /* The "flavour" of a back end is a general indication about + the contents of a file. */ + enum bfd_flavour flavour; + + /* The order of bytes within the data area of a file. */ + enum bfd_endian byteorder; + + /* The order of bytes within the header parts of a file. */ + enum bfd_endian header_byteorder; + + /* A mask of all the flags which an executable may have set - + from the set <>, <>, ...<>. */ + flagword object_flags; + + /* A mask of all the flags which a section may have set - from + the set <>, <>, ...<>. */ + flagword section_flags; + + /* The character normally found at the front of a symbol. + (if any), perhaps `_'. */ + char symbol_leading_char; + + /* The pad character for file names within an archive header. */ + char ar_pad_char; + + /* The maximum number of characters in an archive header. */ + unsigned char ar_max_namelen; + + /* How well this target matches, used to select between various + possible targets when more than one target matches. */ + unsigned char match_priority; + + /* Entries for byte swapping for data. These are different from the + other entry points, since they don't take a BFD as the first argument. + Certain other handlers could do the same. */ + bfd_uint64_t (*bfd_getx64) (const void *); + bfd_int64_t (*bfd_getx_signed_64) (const void *); + void (*bfd_putx64) (bfd_uint64_t, void *); + bfd_vma (*bfd_getx32) (const void *); + bfd_signed_vma (*bfd_getx_signed_32) (const void *); + void (*bfd_putx32) (bfd_vma, void *); + bfd_vma (*bfd_getx16) (const void *); + bfd_signed_vma (*bfd_getx_signed_16) (const void *); + void (*bfd_putx16) (bfd_vma, void *); + + /* Byte swapping for the headers. */ + bfd_uint64_t (*bfd_h_getx64) (const void *); + bfd_int64_t (*bfd_h_getx_signed_64) (const void *); + void (*bfd_h_putx64) (bfd_uint64_t, void *); + bfd_vma (*bfd_h_getx32) (const void *); + bfd_signed_vma (*bfd_h_getx_signed_32) (const void *); + void (*bfd_h_putx32) (bfd_vma, void *); + bfd_vma (*bfd_h_getx16) (const void *); + bfd_signed_vma (*bfd_h_getx_signed_16) (const void *); + void (*bfd_h_putx16) (bfd_vma, void *); + + /* Format dependent routines: these are vectors of entry points + within the target vector structure, one for each format to check. */ + + /* Check the format of a file being read. Return a <> or zero. */ + const struct bfd_target *(*_bfd_check_format[bfd_type_end]) (bfd *); + + /* Set the format of a file being written. */ + bfd_boolean (*_bfd_set_format[bfd_type_end]) (bfd *); + + /* Write cached information into a file being written, at <>. */ + bfd_boolean (*_bfd_write_contents[bfd_type_end]) (bfd *); + + + /* Generic entry points. */ +#define BFD_JUMP_TABLE_GENERIC(NAME) \ + NAME##_close_and_cleanup, \ + NAME##_bfd_free_cached_info, \ + NAME##_new_section_hook, \ + NAME##_get_section_contents, \ + NAME##_get_section_contents_in_window + + /* Called when the BFD is being closed to do any necessary cleanup. */ + bfd_boolean (*_close_and_cleanup) (bfd *); + /* Ask the BFD to free all cached information. */ + bfd_boolean (*_bfd_free_cached_info) (bfd *); + /* Called when a new section is created. */ + bfd_boolean (*_new_section_hook) (bfd *, sec_ptr); + /* Read the contents of a section. */ + bfd_boolean (*_bfd_get_section_contents) + (bfd *, sec_ptr, void *, file_ptr, bfd_size_type); + bfd_boolean (*_bfd_get_section_contents_in_window) + (bfd *, sec_ptr, bfd_window *, file_ptr, bfd_size_type); + + /* Entry points to copy private data. */ +#define BFD_JUMP_TABLE_COPY(NAME) \ + NAME##_bfd_copy_private_bfd_data, \ + NAME##_bfd_merge_private_bfd_data, \ + _bfd_generic_init_private_section_data, \ + NAME##_bfd_copy_private_section_data, \ + NAME##_bfd_copy_private_symbol_data, \ + NAME##_bfd_copy_private_header_data, \ + NAME##_bfd_set_private_flags, \ + NAME##_bfd_print_private_bfd_data + + /* Called to copy BFD general private data from one object file + to another. */ + bfd_boolean (*_bfd_copy_private_bfd_data) (bfd *, bfd *); + /* Called to merge BFD general private data from one object file + to a common output file when linking. */ + bfd_boolean (*_bfd_merge_private_bfd_data) (bfd *, bfd *); + /* Called to initialize BFD private section data from one object file + to another. */ +#define bfd_init_private_section_data(ibfd, isec, obfd, osec, link_info) \ + BFD_SEND (obfd, _bfd_init_private_section_data, (ibfd, isec, obfd, osec, link_info)) + bfd_boolean (*_bfd_init_private_section_data) + (bfd *, sec_ptr, bfd *, sec_ptr, struct bfd_link_info *); + /* Called to copy BFD private section data from one object file + to another. */ + bfd_boolean (*_bfd_copy_private_section_data) + (bfd *, sec_ptr, bfd *, sec_ptr); + /* Called to copy BFD private symbol data from one symbol + to another. */ + bfd_boolean (*_bfd_copy_private_symbol_data) + (bfd *, asymbol *, bfd *, asymbol *); + /* Called to copy BFD private header data from one object file + to another. */ + bfd_boolean (*_bfd_copy_private_header_data) + (bfd *, bfd *); + /* Called to set private backend flags. */ + bfd_boolean (*_bfd_set_private_flags) (bfd *, flagword); + + /* Called to print private BFD data. */ + bfd_boolean (*_bfd_print_private_bfd_data) (bfd *, void *); + + /* Core file entry points. */ +#define BFD_JUMP_TABLE_CORE(NAME) \ + NAME##_core_file_failing_command, \ + NAME##_core_file_failing_signal, \ + NAME##_core_file_matches_executable_p, \ + NAME##_core_file_pid + + char * (*_core_file_failing_command) (bfd *); + int (*_core_file_failing_signal) (bfd *); + bfd_boolean (*_core_file_matches_executable_p) (bfd *, bfd *); + int (*_core_file_pid) (bfd *); + + /* Archive entry points. */ +#define BFD_JUMP_TABLE_ARCHIVE(NAME) \ + NAME##_slurp_armap, \ + NAME##_slurp_extended_name_table, \ + NAME##_construct_extended_name_table, \ + NAME##_truncate_arname, \ + NAME##_write_armap, \ + NAME##_read_ar_hdr, \ + NAME##_write_ar_hdr, \ + NAME##_openr_next_archived_file, \ + NAME##_get_elt_at_index, \ + NAME##_generic_stat_arch_elt, \ + NAME##_update_armap_timestamp + + bfd_boolean (*_bfd_slurp_armap) (bfd *); + bfd_boolean (*_bfd_slurp_extended_name_table) (bfd *); + bfd_boolean (*_bfd_construct_extended_name_table) + (bfd *, char **, bfd_size_type *, const char **); + void (*_bfd_truncate_arname) (bfd *, const char *, char *); + bfd_boolean (*write_armap) + (bfd *, unsigned int, struct orl *, unsigned int, int); + void * (*_bfd_read_ar_hdr_fn) (bfd *); + bfd_boolean (*_bfd_write_ar_hdr_fn) (bfd *, bfd *); + bfd * (*openr_next_archived_file) (bfd *, bfd *); +#define bfd_get_elt_at_index(b,i) BFD_SEND (b, _bfd_get_elt_at_index, (b,i)) + bfd * (*_bfd_get_elt_at_index) (bfd *, symindex); + int (*_bfd_stat_arch_elt) (bfd *, struct stat *); + bfd_boolean (*_bfd_update_armap_timestamp) (bfd *); + + /* Entry points used for symbols. */ +#define BFD_JUMP_TABLE_SYMBOLS(NAME) \ + NAME##_get_symtab_upper_bound, \ + NAME##_canonicalize_symtab, \ + NAME##_make_empty_symbol, \ + NAME##_print_symbol, \ + NAME##_get_symbol_info, \ + NAME##_get_symbol_version_string, \ + NAME##_bfd_is_local_label_name, \ + NAME##_bfd_is_target_special_symbol, \ + NAME##_get_lineno, \ + NAME##_find_nearest_line, \ + NAME##_find_line, \ + NAME##_find_inliner_info, \ + NAME##_bfd_make_debug_symbol, \ + NAME##_read_minisymbols, \ + NAME##_minisymbol_to_symbol + + long (*_bfd_get_symtab_upper_bound) (bfd *); + long (*_bfd_canonicalize_symtab) + (bfd *, struct bfd_symbol **); + struct bfd_symbol * + (*_bfd_make_empty_symbol) (bfd *); + void (*_bfd_print_symbol) + (bfd *, void *, struct bfd_symbol *, bfd_print_symbol_type); +#define bfd_print_symbol(b,p,s,e) BFD_SEND (b, _bfd_print_symbol, (b,p,s,e)) + void (*_bfd_get_symbol_info) + (bfd *, struct bfd_symbol *, symbol_info *); +#define bfd_get_symbol_info(b,p,e) BFD_SEND (b, _bfd_get_symbol_info, (b,p,e)) + const char *(*_bfd_get_symbol_version_string) + (bfd *, struct bfd_symbol *, bfd_boolean *); +#define bfd_get_symbol_version_string(b,s,h) BFD_SEND (b, _bfd_get_symbol_version_string, (b,s,h)) + bfd_boolean (*_bfd_is_local_label_name) (bfd *, const char *); + bfd_boolean (*_bfd_is_target_special_symbol) (bfd *, asymbol *); + alent * (*_get_lineno) (bfd *, struct bfd_symbol *); + bfd_boolean (*_bfd_find_nearest_line) + (bfd *, struct bfd_symbol **, struct bfd_section *, bfd_vma, + const char **, const char **, unsigned int *, unsigned int *); + bfd_boolean (*_bfd_find_line) + (bfd *, struct bfd_symbol **, struct bfd_symbol *, + const char **, unsigned int *); + bfd_boolean (*_bfd_find_inliner_info) + (bfd *, const char **, const char **, unsigned int *); + /* Back-door to allow format-aware applications to create debug symbols + while using BFD for everything else. Currently used by the assembler + when creating COFF files. */ + asymbol * (*_bfd_make_debug_symbol) + (bfd *, void *, unsigned long size); +#define bfd_read_minisymbols(b, d, m, s) \ + BFD_SEND (b, _read_minisymbols, (b, d, m, s)) + long (*_read_minisymbols) + (bfd *, bfd_boolean, void **, unsigned int *); +#define bfd_minisymbol_to_symbol(b, d, m, f) \ + BFD_SEND (b, _minisymbol_to_symbol, (b, d, m, f)) + asymbol * (*_minisymbol_to_symbol) + (bfd *, bfd_boolean, const void *, asymbol *); + + /* Routines for relocs. */ +#define BFD_JUMP_TABLE_RELOCS(NAME) \ + NAME##_get_reloc_upper_bound, \ + NAME##_canonicalize_reloc, \ + NAME##_bfd_reloc_type_lookup, \ + NAME##_bfd_reloc_name_lookup + + long (*_get_reloc_upper_bound) (bfd *, sec_ptr); + long (*_bfd_canonicalize_reloc) + (bfd *, sec_ptr, arelent **, struct bfd_symbol **); + /* See documentation on reloc types. */ + reloc_howto_type * + (*reloc_type_lookup) (bfd *, bfd_reloc_code_real_type); + reloc_howto_type * + (*reloc_name_lookup) (bfd *, const char *); + + + /* Routines used when writing an object file. */ +#define BFD_JUMP_TABLE_WRITE(NAME) \ + NAME##_set_arch_mach, \ + NAME##_set_section_contents + + bfd_boolean (*_bfd_set_arch_mach) + (bfd *, enum bfd_architecture, unsigned long); + bfd_boolean (*_bfd_set_section_contents) + (bfd *, sec_ptr, const void *, file_ptr, bfd_size_type); + + /* Routines used by the linker. */ +#define BFD_JUMP_TABLE_LINK(NAME) \ + NAME##_sizeof_headers, \ + NAME##_bfd_get_relocated_section_contents, \ + NAME##_bfd_relax_section, \ + NAME##_bfd_link_hash_table_create, \ + NAME##_bfd_link_add_symbols, \ + NAME##_bfd_link_just_syms, \ + NAME##_bfd_copy_link_hash_symbol_type, \ + NAME##_bfd_final_link, \ + NAME##_bfd_link_split_section, \ + NAME##_bfd_gc_sections, \ + NAME##_bfd_lookup_section_flags, \ + NAME##_bfd_merge_sections, \ + NAME##_bfd_is_group_section, \ + NAME##_bfd_discard_group, \ + NAME##_section_already_linked, \ + NAME##_bfd_define_common_symbol + + int (*_bfd_sizeof_headers) (bfd *, struct bfd_link_info *); + bfd_byte * (*_bfd_get_relocated_section_contents) + (bfd *, struct bfd_link_info *, struct bfd_link_order *, + bfd_byte *, bfd_boolean, struct bfd_symbol **); + + bfd_boolean (*_bfd_relax_section) + (bfd *, struct bfd_section *, struct bfd_link_info *, bfd_boolean *); + + /* Create a hash table for the linker. Different backends store + different information in this table. */ + struct bfd_link_hash_table * + (*_bfd_link_hash_table_create) (bfd *); + + /* Add symbols from this object file into the hash table. */ + bfd_boolean (*_bfd_link_add_symbols) (bfd *, struct bfd_link_info *); + + /* Indicate that we are only retrieving symbol values from this section. */ + void (*_bfd_link_just_syms) (asection *, struct bfd_link_info *); + + /* Copy the symbol type and other attributes for a linker script + assignment of one symbol to another. */ +#define bfd_copy_link_hash_symbol_type(b, t, f) \ + BFD_SEND (b, _bfd_copy_link_hash_symbol_type, (b, t, f)) + void (*_bfd_copy_link_hash_symbol_type) + (bfd *, struct bfd_link_hash_entry *, struct bfd_link_hash_entry *); + + /* Do a link based on the link_order structures attached to each + section of the BFD. */ + bfd_boolean (*_bfd_final_link) (bfd *, struct bfd_link_info *); + + /* Should this section be split up into smaller pieces during linking. */ + bfd_boolean (*_bfd_link_split_section) (bfd *, struct bfd_section *); + + /* Remove sections that are not referenced from the output. */ + bfd_boolean (*_bfd_gc_sections) (bfd *, struct bfd_link_info *); + + /* Sets the bitmask of allowed and disallowed section flags. */ + bfd_boolean (*_bfd_lookup_section_flags) (struct bfd_link_info *, + struct flag_info *, + asection *); + + /* Attempt to merge SEC_MERGE sections. */ + bfd_boolean (*_bfd_merge_sections) (bfd *, struct bfd_link_info *); + + /* Is this section a member of a group? */ + bfd_boolean (*_bfd_is_group_section) (bfd *, const struct bfd_section *); + + /* Discard members of a group. */ + bfd_boolean (*_bfd_discard_group) (bfd *, struct bfd_section *); + + /* Check if SEC has been already linked during a reloceatable or + final link. */ + bfd_boolean (*_section_already_linked) (bfd *, asection *, + struct bfd_link_info *); + + /* Define a common symbol. */ + bfd_boolean (*_bfd_define_common_symbol) (bfd *, struct bfd_link_info *, + struct bfd_link_hash_entry *); + + /* Routines to handle dynamic symbols and relocs. */ +#define BFD_JUMP_TABLE_DYNAMIC(NAME) \ + NAME##_get_dynamic_symtab_upper_bound, \ + NAME##_canonicalize_dynamic_symtab, \ + NAME##_get_synthetic_symtab, \ + NAME##_get_dynamic_reloc_upper_bound, \ + NAME##_canonicalize_dynamic_reloc + + /* Get the amount of memory required to hold the dynamic symbols. */ + long (*_bfd_get_dynamic_symtab_upper_bound) (bfd *); + /* Read in the dynamic symbols. */ + long (*_bfd_canonicalize_dynamic_symtab) + (bfd *, struct bfd_symbol **); + /* Create synthetized symbols. */ + long (*_bfd_get_synthetic_symtab) + (bfd *, long, struct bfd_symbol **, long, struct bfd_symbol **, + struct bfd_symbol **); + /* Get the amount of memory required to hold the dynamic relocs. */ + long (*_bfd_get_dynamic_reloc_upper_bound) (bfd *); + /* Read in the dynamic relocs. */ + long (*_bfd_canonicalize_dynamic_reloc) + (bfd *, arelent **, struct bfd_symbol **); + + /* Opposite endian version of this target. */ + const struct bfd_target * alternative_target; + + /* Data for use by back-end routines, which isn't + generic enough to belong in this structure. */ + const void *backend_data; + +} bfd_target; + +bfd_boolean bfd_set_default_target (const char *name); + +const bfd_target *bfd_find_target (const char *target_name, bfd *abfd); + +const bfd_target *bfd_get_target_info (const char *target_name, + bfd *abfd, + bfd_boolean *is_bigendian, + int *underscoring, + const char **def_target_arch); +const char ** bfd_target_list (void); + +const bfd_target *bfd_search_for_target + (int (*search_func) (const bfd_target *, void *), + void *); + +const char *bfd_flavour_name (enum bfd_flavour flavour); + +/* Extracted from format.c. */ +bfd_boolean bfd_check_format (bfd *abfd, bfd_format format); + +bfd_boolean bfd_check_format_matches + (bfd *abfd, bfd_format format, char ***matching); + +bfd_boolean bfd_set_format (bfd *abfd, bfd_format format); + +const char *bfd_format_string (bfd_format format); + +/* Extracted from linker.c. */ +bfd_boolean bfd_link_split_section (bfd *abfd, asection *sec); + +#define bfd_link_split_section(abfd, sec) \ + BFD_SEND (abfd, _bfd_link_split_section, (abfd, sec)) + +bfd_boolean bfd_section_already_linked (bfd *abfd, + asection *sec, + struct bfd_link_info *info); + +#define bfd_section_already_linked(abfd, sec, info) \ + BFD_SEND (abfd, _section_already_linked, (abfd, sec, info)) + +bfd_boolean bfd_generic_define_common_symbol + (bfd *output_bfd, struct bfd_link_info *info, + struct bfd_link_hash_entry *h); + +#define bfd_define_common_symbol(output_bfd, info, h) \ + BFD_SEND (output_bfd, _bfd_define_common_symbol, (output_bfd, info, h)) + +struct bfd_elf_version_tree * bfd_find_version_for_sym + (struct bfd_elf_version_tree *verdefs, + const char *sym_name, bfd_boolean *hide); + +bfd_boolean bfd_hide_sym_by_version + (struct bfd_elf_version_tree *verdefs, const char *sym_name); + +/* Extracted from simple.c. */ +bfd_byte *bfd_simple_get_relocated_section_contents + (bfd *abfd, asection *sec, bfd_byte *outbuf, asymbol **symbol_table); + +/* Extracted from compress.c. */ +bfd_boolean bfd_get_full_section_contents + (bfd *abfd, asection *section, bfd_byte **ptr); + +void bfd_cache_section_contents + (asection *sec, void *contents); + +bfd_boolean bfd_is_section_compressed_with_header + (bfd *abfd, asection *section, + int *compression_header_size_p, + bfd_size_type *uncompressed_size_p); + +bfd_boolean bfd_is_section_compressed + (bfd *abfd, asection *section); + +bfd_boolean bfd_init_section_decompress_status + (bfd *abfd, asection *section); + +bfd_boolean bfd_init_section_compress_status + (bfd *abfd, asection *section); + +bfd_boolean bfd_compress_section + (bfd *abfd, asection *section, bfd_byte *uncompressed_buffer); + +#ifdef __cplusplus +} +#endif +#endif diff --git a/hardware/tools/avr/i686-w64-mingw32/avr/include/bfdlink.h b/hardware/tools/avr/i686-w64-mingw32/avr/include/bfdlink.h new file mode 100644 index 0000000000000000000000000000000000000000..93abab1c04e48af4a258e25adb00b618b6d03808 --- /dev/null +++ b/hardware/tools/avr/i686-w64-mingw32/avr/include/bfdlink.h @@ -0,0 +1,881 @@ +/* bfdlink.h -- header file for BFD link routines + Copyright (C) 1993-2015 Free Software Foundation, Inc. + Written by Steve Chamberlain and Ian Lance Taylor, Cygnus Support. + + This file is part of BFD, the Binary File Descriptor library. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, + MA 02110-1301, USA. */ + +#ifndef BFDLINK_H +#define BFDLINK_H + +/* Which symbols to strip during a link. */ +enum bfd_link_strip +{ + strip_none, /* Don't strip any symbols. */ + strip_debugger, /* Strip debugging symbols. */ + strip_some, /* keep_hash is the list of symbols to keep. */ + strip_all /* Strip all symbols. */ +}; + +/* Which local symbols to discard during a link. This is irrelevant + if strip_all is used. */ +enum bfd_link_discard +{ + discard_sec_merge, /* Discard local temporary symbols in SEC_MERGE + sections. */ + discard_none, /* Don't discard any locals. */ + discard_l, /* Discard local temporary symbols. */ + discard_all /* Discard all locals. */ +}; + +/* Describes the type of hash table entry structure being used. + Different hash table structure have different fields and so + support different linking features. */ +enum bfd_link_hash_table_type + { + bfd_link_generic_hash_table, + bfd_link_elf_hash_table + }; + +/* These are the possible types of an entry in the BFD link hash + table. */ + +enum bfd_link_hash_type +{ + bfd_link_hash_new, /* Symbol is new. */ + bfd_link_hash_undefined, /* Symbol seen before, but undefined. */ + bfd_link_hash_undefweak, /* Symbol is weak and undefined. */ + bfd_link_hash_defined, /* Symbol is defined. */ + bfd_link_hash_defweak, /* Symbol is weak and defined. */ + bfd_link_hash_common, /* Symbol is common. */ + bfd_link_hash_indirect, /* Symbol is an indirect link. */ + bfd_link_hash_warning /* Like indirect, but warn if referenced. */ +}; + +enum bfd_link_common_skip_ar_symbols +{ + bfd_link_common_skip_none, + bfd_link_common_skip_text, + bfd_link_common_skip_data, + bfd_link_common_skip_all +}; + +struct bfd_link_hash_common_entry + { + unsigned int alignment_power; /* Alignment. */ + asection *section; /* Symbol section. */ + }; + +/* The linking routines use a hash table which uses this structure for + its elements. */ + +struct bfd_link_hash_entry +{ + /* Base hash table entry structure. */ + struct bfd_hash_entry root; + + /* Type of this entry. */ + ENUM_BITFIELD (bfd_link_hash_type) type : 8; + + /* Symbol is referenced in a normal object file, as distict from a LTO + IR object file. */ + unsigned int non_ir_ref : 1; + + /* Symbol is a built-in define. These will be overridden by PROVIDE + in a linker script. */ + unsigned int linker_def : 1; + + /* A union of information depending upon the type. */ + union + { + /* Nothing is kept for bfd_hash_new. */ + /* bfd_link_hash_undefined, bfd_link_hash_undefweak. */ + struct + { + /* Undefined and common symbols are kept in a linked list through + this field. This field is present in all of the union element + so that we don't need to remove entries from the list when we + change their type. Removing entries would either require the + list to be doubly linked, which would waste more memory, or + require a traversal. When an undefined or common symbol is + created, it should be added to this list, the head of which is in + the link hash table itself. As symbols are defined, they need + not be removed from the list; anything which reads the list must + doublecheck the symbol type. + + Weak symbols are not kept on this list. + + Defined and defweak symbols use this field as a reference marker. + If the field is not NULL, or this structure is the tail of the + undefined symbol list, the symbol has been referenced. If the + symbol is undefined and becomes defined, this field will + automatically be non-NULL since the symbol will have been on the + undefined symbol list. */ + struct bfd_link_hash_entry *next; + bfd *abfd; /* BFD symbol was found in. */ + } undef; + /* bfd_link_hash_defined, bfd_link_hash_defweak. */ + struct + { + struct bfd_link_hash_entry *next; + asection *section; /* Symbol section. */ + bfd_vma value; /* Symbol value. */ + } def; + /* bfd_link_hash_indirect, bfd_link_hash_warning. */ + struct + { + struct bfd_link_hash_entry *next; + struct bfd_link_hash_entry *link; /* Real symbol. */ + const char *warning; /* Warning (bfd_link_hash_warning only). */ + } i; + /* bfd_link_hash_common. */ + struct + { + struct bfd_link_hash_entry *next; + /* The linker needs to know three things about common + symbols: the size, the alignment, and the section in + which the symbol should be placed. We store the size + here, and we allocate a small structure to hold the + section and the alignment. The alignment is stored as a + power of two. We don't store all the information + directly because we don't want to increase the size of + the union; this structure is a major space user in the + linker. */ + struct bfd_link_hash_common_entry *p; + bfd_size_type size; /* Common symbol size. */ + } c; + } u; +}; + +/* This is the link hash table. It is a derived class of + bfd_hash_table. */ + +struct bfd_link_hash_table +{ + /* The hash table itself. */ + struct bfd_hash_table table; + /* A linked list of undefined and common symbols, linked through the + next field in the bfd_link_hash_entry structure. */ + struct bfd_link_hash_entry *undefs; + /* Entries are added to the tail of the undefs list. */ + struct bfd_link_hash_entry *undefs_tail; + /* Function to free the hash table on closing BFD. */ + void (*hash_table_free) (bfd *); + /* The type of the link hash table. */ + enum bfd_link_hash_table_type type; +}; + +/* Look up an entry in a link hash table. If FOLLOW is TRUE, this + follows bfd_link_hash_indirect and bfd_link_hash_warning links to + the real symbol. */ +extern struct bfd_link_hash_entry *bfd_link_hash_lookup + (struct bfd_link_hash_table *, const char *, bfd_boolean create, + bfd_boolean copy, bfd_boolean follow); + +/* Look up an entry in the main linker hash table if the symbol might + be wrapped. This should only be used for references to an + undefined symbol, not for definitions of a symbol. */ + +extern struct bfd_link_hash_entry *bfd_wrapped_link_hash_lookup + (bfd *, struct bfd_link_info *, const char *, bfd_boolean, + bfd_boolean, bfd_boolean); + +/* If H is a wrapped symbol, ie. the symbol name starts with "__wrap_" + and the remainder is found in wrap_hash, return the real symbol. */ + +extern struct bfd_link_hash_entry *unwrap_hash_lookup + (struct bfd_link_info *, bfd *, struct bfd_link_hash_entry *); + +/* Traverse a link hash table. */ +extern void bfd_link_hash_traverse + (struct bfd_link_hash_table *, + bfd_boolean (*) (struct bfd_link_hash_entry *, void *), + void *); + +/* Add an entry to the undefs list. */ +extern void bfd_link_add_undef + (struct bfd_link_hash_table *, struct bfd_link_hash_entry *); + +/* Remove symbols from the undefs list that don't belong there. */ +extern void bfd_link_repair_undef_list + (struct bfd_link_hash_table *table); + +/* Read symbols and cache symbol pointer array in outsymbols. */ +extern bfd_boolean bfd_generic_link_read_symbols (bfd *); + +struct bfd_sym_chain +{ + struct bfd_sym_chain *next; + const char *name; +}; + +/* How to handle unresolved symbols. + There are four possibilities which are enumerated below: */ +enum report_method +{ + /* This is the initial value when then link_info structure is created. + It allows the various stages of the linker to determine whether they + allowed to set the value. */ + RM_NOT_YET_SET = 0, + RM_IGNORE, + RM_GENERATE_WARNING, + RM_GENERATE_ERROR +}; + +typedef enum {with_flags, without_flags} flag_type; + +/* A section flag list. */ +struct flag_info_list +{ + flag_type with; + const char *name; + bfd_boolean valid; + struct flag_info_list *next; +}; + +/* Section flag info. */ +struct flag_info +{ + flagword only_with_flags; + flagword not_with_flags; + struct flag_info_list *flag_list; + bfd_boolean flags_initialized; +}; + +struct bfd_elf_dynamic_list; +struct bfd_elf_version_tree; + +/* Types of output. */ + +enum output_type +{ + type_pde, + type_pie, + type_relocatable, + type_dll, +}; + +#define bfd_link_pde(info) ((info)->type == type_pde) +#define bfd_link_dll(info) ((info)->type == type_dll) +#define bfd_link_relocatable(info) ((info)->type == type_relocatable) +#define bfd_link_pie(info) ((info)->type == type_pie) +#define bfd_link_executable(info) (bfd_link_pde (info) || bfd_link_pie (info)) +#define bfd_link_pic(info) (bfd_link_dll (info) || bfd_link_pie (info)) + +/* This structure holds all the information needed to communicate + between BFD and the linker when doing a link. */ + +struct bfd_link_info +{ + /* Output type. */ + ENUM_BITFIELD (output_type) type : 2; + + /* TRUE if BFD should pre-bind symbols in a shared object. */ + unsigned int symbolic: 1; + + /* TRUE if executable should not contain copy relocs. + Setting this true may result in a non-sharable text segment. */ + unsigned int nocopyreloc: 1; + + /* TRUE if BFD should export all symbols in the dynamic symbol table + of an executable, rather than only those used. */ + unsigned int export_dynamic: 1; + + /* TRUE if a default symbol version should be created and used for + exported symbols. */ + unsigned int create_default_symver: 1; + + /* TRUE if unreferenced sections should be removed. */ + unsigned int gc_sections: 1; + + /* TRUE if every symbol should be reported back via the notice + callback. */ + unsigned int notice_all: 1; + + /* TRUE if the LTO plugin is active. */ + unsigned int lto_plugin_active: 1; + + /* TRUE if global symbols in discarded sections should be stripped. */ + unsigned int strip_discarded: 1; + + /* TRUE if all data symbols should be dynamic. */ + unsigned int dynamic_data: 1; + + /* Which symbols to strip. */ + ENUM_BITFIELD (bfd_link_strip) strip : 2; + + /* Which local symbols to discard. */ + ENUM_BITFIELD (bfd_link_discard) discard : 2; + + /* Criteria for skipping symbols when determining + whether to include an object from an archive. */ + ENUM_BITFIELD (bfd_link_common_skip_ar_symbols) common_skip_ar_symbols : 2; + + /* What to do with unresolved symbols in an object file. + When producing executables the default is GENERATE_ERROR. + When producing shared libraries the default is IGNORE. The + assumption with shared libraries is that the reference will be + resolved at load/execution time. */ + ENUM_BITFIELD (report_method) unresolved_syms_in_objects : 2; + + /* What to do with unresolved symbols in a shared library. + The same defaults apply. */ + ENUM_BITFIELD (report_method) unresolved_syms_in_shared_libs : 2; + + /* TRUE if shared objects should be linked directly, not shared. */ + unsigned int static_link: 1; + + /* TRUE if symbols should be retained in memory, FALSE if they + should be freed and reread. */ + unsigned int keep_memory: 1; + + /* TRUE if BFD should generate relocation information in the final + executable. */ + unsigned int emitrelocations: 1; + + /* TRUE if PT_GNU_RELRO segment should be created. */ + unsigned int relro: 1; + + /* Nonzero if .eh_frame_hdr section and PT_GNU_EH_FRAME ELF segment + should be created. 1 for DWARF2 tables, 2 for compact tables. */ + unsigned int eh_frame_hdr_type: 2; + + /* TRUE if we should warn when adding a DT_TEXTREL to a shared object. */ + unsigned int warn_shared_textrel: 1; + + /* TRUE if we should error when adding a DT_TEXTREL. */ + unsigned int error_textrel: 1; + + /* TRUE if .hash section should be created. */ + unsigned int emit_hash: 1; + + /* TRUE if .gnu.hash section should be created. */ + unsigned int emit_gnu_hash: 1; + + /* If TRUE reduce memory overheads, at the expense of speed. This will + cause map file generation to use an O(N^2) algorithm and disable + caching ELF symbol buffer. */ + unsigned int reduce_memory_overheads: 1; + + /* TRUE if the output file should be in a traditional format. This + is equivalent to the setting of the BFD_TRADITIONAL_FORMAT flag + on the output file, but may be checked when reading the input + files. */ + unsigned int traditional_format: 1; + + /* TRUE if non-PLT relocs should be merged into one reloc section + and sorted so that relocs against the same symbol come together. */ + unsigned int combreloc: 1; + + /* TRUE if a default symbol version should be created and used for + imported symbols. */ + unsigned int default_imported_symver: 1; + + /* TRUE if the new ELF dynamic tags are enabled. */ + unsigned int new_dtags: 1; + + /* FALSE if .eh_frame unwind info should be generated for PLT and other + linker created sections, TRUE if it should be omitted. */ + unsigned int no_ld_generated_unwind_info: 1; + + /* TRUE if BFD should generate a "task linked" object file, + similar to relocatable but also with globals converted to + statics. */ + unsigned int task_link: 1; + + /* TRUE if ok to have multiple definition. */ + unsigned int allow_multiple_definition: 1; + + /* TRUE if ok to have version with no definition. */ + unsigned int allow_undefined_version: 1; + + /* TRUE if some symbols have to be dynamic, controlled by + --dynamic-list command line options. */ + unsigned int dynamic: 1; + + /* TRUE if PT_GNU_STACK segment should be created with PF_R|PF_W|PF_X + flags. */ + unsigned int execstack: 1; + + /* TRUE if PT_GNU_STACK segment should be created with PF_R|PF_W + flags. */ + unsigned int noexecstack: 1; + + /* TRUE if we want to produced optimized output files. This might + need much more time and therefore must be explicitly selected. */ + unsigned int optimize: 1; + + /* TRUE if user should be informed of removed unreferenced sections. */ + unsigned int print_gc_sections: 1; + + /* TRUE if we should warn alternate ELF machine code. */ + unsigned int warn_alternate_em: 1; + + /* TRUE if the linker script contained an explicit PHDRS command. */ + unsigned int user_phdrs: 1; + + /* TRUE if BND prefix in PLT entries is always generated. */ + unsigned int bndplt: 1; + + /* TRUE if generation of .interp/PT_INTERP should be suppressed. */ + unsigned int nointerp: 1; + + /* TRUE if generate a 1-byte NOP as suffix for x86 call instruction. */ + unsigned int call_nop_as_suffix : 1; + + /* The 1-byte NOP for x86 call instruction. */ + char call_nop_byte; + + /* Char that may appear as the first char of a symbol, but should be + skipped (like symbol_leading_char) when looking up symbols in + wrap_hash. Used by PowerPC Linux for 'dot' symbols. */ + char wrap_char; + + /* Separator between archive and filename in linker script filespecs. */ + char path_separator; + + /* Compress DWARF debug sections. */ + enum compressed_debug_section_type compress_debug; + + /* Default stack size. Zero means default (often zero itself), -1 + means explicitly zero-sized. */ + bfd_signed_vma stacksize; + + /* Enable or disable target specific optimizations. + + Not all targets have optimizations to enable. + + Normally these optimizations are disabled by default but some targets + prefer to enable them by default. So this field is a tri-state variable. + The values are: + + zero: Enable the optimizations (either from --relax being specified on + the command line or the backend's before_allocation emulation function. + + positive: The user has requested that these optimizations be disabled. + (Via the --no-relax command line option). + + negative: The optimizations are disabled. (Set when initializing the + args_type structure in ldmain.c:main. */ + signed int disable_target_specific_optimizations; + + /* Function callbacks. */ + const struct bfd_link_callbacks *callbacks; + + /* Hash table handled by BFD. */ + struct bfd_link_hash_table *hash; + + /* Hash table of symbols to keep. This is NULL unless strip is + strip_some. */ + struct bfd_hash_table *keep_hash; + + /* Hash table of symbols to report back via the notice callback. If + this is NULL, and notice_all is FALSE, then no symbols are + reported back. */ + struct bfd_hash_table *notice_hash; + + /* Hash table of symbols which are being wrapped (the --wrap linker + option). If this is NULL, no symbols are being wrapped. */ + struct bfd_hash_table *wrap_hash; + + /* Hash table of symbols which may be left unresolved during + a link. If this is NULL, no symbols can be left unresolved. */ + struct bfd_hash_table *ignore_hash; + + /* The output BFD. */ + bfd *output_bfd; + + /* The list of input BFD's involved in the link. These are chained + together via the link.next field. */ + bfd *input_bfds; + bfd **input_bfds_tail; + + /* If a symbol should be created for each input BFD, this is section + where those symbols should be placed. It must be a section in + the output BFD. It may be NULL, in which case no such symbols + will be created. This is to support CREATE_OBJECT_SYMBOLS in the + linker command language. */ + asection *create_object_symbols_section; + + /* List of global symbol names that are starting points for marking + sections against garbage collection. */ + struct bfd_sym_chain *gc_sym_list; + + /* If a base output file is wanted, then this points to it */ + void *base_file; + + /* The function to call when the executable or shared object is + loaded. */ + const char *init_function; + + /* The function to call when the executable or shared object is + unloaded. */ + const char *fini_function; + + /* Number of relaxation passes. Usually only one relaxation pass + is needed. But a backend can have as many relaxation passes as + necessary. During bfd_relax_section call, it is set to the + current pass, starting from 0. */ + int relax_pass; + + /* Number of relaxation trips. This number is incremented every + time the relaxation pass is restarted due to a previous + relaxation returning true in *AGAIN. */ + int relax_trip; + + /* > 0 to treat protected data defined in the shared library as + reference external. 0 to treat it as internal. -1 to let + backend to decide. */ + int extern_protected_data; + + /* Non-zero if auto-import thunks for DATA items in pei386 DLLs + should be generated/linked against. Set to 1 if this feature + is explicitly requested by the user, -1 if enabled by default. */ + int pei386_auto_import; + + /* Non-zero if runtime relocs for DATA items with non-zero addends + in pei386 DLLs should be generated. Set to 1 if this feature + is explicitly requested by the user, -1 if enabled by default. */ + int pei386_runtime_pseudo_reloc; + + /* How many spare .dynamic DT_NULL entries should be added? */ + unsigned int spare_dynamic_tags; + + /* May be used to set DT_FLAGS for ELF. */ + bfd_vma flags; + + /* May be used to set DT_FLAGS_1 for ELF. */ + bfd_vma flags_1; + + /* Start and end of RELRO region. */ + bfd_vma relro_start, relro_end; + + /* List of symbols should be dynamic. */ + struct bfd_elf_dynamic_list *dynamic_list; + + /* The version information. */ + struct bfd_elf_version_tree *version_info; +}; + +/* This structures holds a set of callback functions. These are called + by the BFD linker routines. Except for the info functions, the first + argument to each callback function is the bfd_link_info structure + being used and each function returns a boolean value. If the + function returns FALSE, then the BFD function which called it should + return with a failure indication. */ + +struct bfd_link_callbacks +{ + /* A function which is called when an object is added from an + archive. ABFD is the archive element being added. NAME is the + name of the symbol which caused the archive element to be pulled + in. This function may set *SUBSBFD to point to an alternative + BFD from which symbols should in fact be added in place of the + original BFD's symbols. */ + bfd_boolean (*add_archive_element) + (struct bfd_link_info *, bfd *abfd, const char *name, bfd **subsbfd); + /* A function which is called when a symbol is found with multiple + definitions. H is the symbol which is defined multiple times. + NBFD is the new BFD, NSEC is the new section, and NVAL is the new + value. NSEC may be bfd_com_section or bfd_ind_section. */ + bfd_boolean (*multiple_definition) + (struct bfd_link_info *, struct bfd_link_hash_entry *h, + bfd *nbfd, asection *nsec, bfd_vma nval); + /* A function which is called when a common symbol is defined + multiple times. H is the symbol appearing multiple times. + NBFD is the BFD of the new symbol. NTYPE is the type of the new + symbol, one of bfd_link_hash_defined, bfd_link_hash_common, or + bfd_link_hash_indirect. If NTYPE is bfd_link_hash_common, NSIZE + is the size of the new symbol. */ + bfd_boolean (*multiple_common) + (struct bfd_link_info *, struct bfd_link_hash_entry *h, + bfd *nbfd, enum bfd_link_hash_type ntype, bfd_vma nsize); + /* A function which is called to add a symbol to a set. ENTRY is + the link hash table entry for the set itself (e.g., + __CTOR_LIST__). RELOC is the relocation to use for an entry in + the set when generating a relocatable file, and is also used to + get the size of the entry when generating an executable file. + ABFD, SEC and VALUE identify the value to add to the set. */ + bfd_boolean (*add_to_set) + (struct bfd_link_info *, struct bfd_link_hash_entry *entry, + bfd_reloc_code_real_type reloc, bfd *abfd, asection *sec, bfd_vma value); + /* A function which is called when the name of a g++ constructor or + destructor is found. This is only called by some object file + formats. CONSTRUCTOR is TRUE for a constructor, FALSE for a + destructor. This will use BFD_RELOC_CTOR when generating a + relocatable file. NAME is the name of the symbol found. ABFD, + SECTION and VALUE are the value of the symbol. */ + bfd_boolean (*constructor) + (struct bfd_link_info *, bfd_boolean constructor, const char *name, + bfd *abfd, asection *sec, bfd_vma value); + /* A function which is called to issue a linker warning. For + example, this is called when there is a reference to a warning + symbol. WARNING is the warning to be issued. SYMBOL is the name + of the symbol which triggered the warning; it may be NULL if + there is none. ABFD, SECTION and ADDRESS identify the location + which trigerred the warning; either ABFD or SECTION or both may + be NULL if the location is not known. */ + bfd_boolean (*warning) + (struct bfd_link_info *, const char *warning, const char *symbol, + bfd *abfd, asection *section, bfd_vma address); + /* A function which is called when a relocation is attempted against + an undefined symbol. NAME is the symbol which is undefined. + ABFD, SECTION and ADDRESS identify the location from which the + reference is made. IS_FATAL indicates whether an undefined symbol is + a fatal error or not. In some cases SECTION may be NULL. */ + bfd_boolean (*undefined_symbol) + (struct bfd_link_info *, const char *name, bfd *abfd, + asection *section, bfd_vma address, bfd_boolean is_fatal); + /* A function which is called when a reloc overflow occurs. ENTRY is + the link hash table entry for the symbol the reloc is against. + NAME is the name of the local symbol or section the reloc is + against, RELOC_NAME is the name of the relocation, and ADDEND is + any addend that is used. ABFD, SECTION and ADDRESS identify the + location at which the overflow occurs; if this is the result of a + bfd_section_reloc_link_order or bfd_symbol_reloc_link_order, then + ABFD will be NULL. */ + bfd_boolean (*reloc_overflow) + (struct bfd_link_info *, struct bfd_link_hash_entry *entry, + const char *name, const char *reloc_name, bfd_vma addend, + bfd *abfd, asection *section, bfd_vma address); + /* A function which is called when a dangerous reloc is performed. + MESSAGE is an appropriate message. + ABFD, SECTION and ADDRESS identify the location at which the + problem occurred; if this is the result of a + bfd_section_reloc_link_order or bfd_symbol_reloc_link_order, then + ABFD will be NULL. */ + bfd_boolean (*reloc_dangerous) + (struct bfd_link_info *, const char *message, + bfd *abfd, asection *section, bfd_vma address); + /* A function which is called when a reloc is found to be attached + to a symbol which is not being written out. NAME is the name of + the symbol. ABFD, SECTION and ADDRESS identify the location of + the reloc; if this is the result of a + bfd_section_reloc_link_order or bfd_symbol_reloc_link_order, then + ABFD will be NULL. */ + bfd_boolean (*unattached_reloc) + (struct bfd_link_info *, const char *name, + bfd *abfd, asection *section, bfd_vma address); + /* A function which is called when a symbol in notice_hash is + defined or referenced. H is the symbol, INH the indirect symbol + if applicable. ABFD, SECTION and ADDRESS are the (new) value of + the symbol. If SECTION is bfd_und_section, this is a reference. + FLAGS are the symbol BSF_* flags. */ + bfd_boolean (*notice) + (struct bfd_link_info *, struct bfd_link_hash_entry *h, + struct bfd_link_hash_entry *inh, + bfd *abfd, asection *section, bfd_vma address, flagword flags); + /* Error or warning link info message. */ + void (*einfo) + (const char *fmt, ...); + /* General link info message. */ + void (*info) + (const char *fmt, ...); + /* Message to be printed in linker map file. */ + void (*minfo) + (const char *fmt, ...); + /* This callback provides a chance for users of the BFD library to + override its decision about whether to place two adjacent sections + into the same segment. */ + bfd_boolean (*override_segment_assignment) + (struct bfd_link_info *, bfd * abfd, + asection * current_section, asection * previous_section, + bfd_boolean new_segment); +}; + +/* The linker builds link_order structures which tell the code how to + include input data in the output file. */ + +/* These are the types of link_order structures. */ + +enum bfd_link_order_type +{ + bfd_undefined_link_order, /* Undefined. */ + bfd_indirect_link_order, /* Built from a section. */ + bfd_data_link_order, /* Set to explicit data. */ + bfd_section_reloc_link_order, /* Relocate against a section. */ + bfd_symbol_reloc_link_order /* Relocate against a symbol. */ +}; + +/* This is the link_order structure itself. These form a chain + attached to the output section whose contents they are describing. */ + +struct bfd_link_order +{ + /* Next link_order in chain. */ + struct bfd_link_order *next; + /* Type of link_order. */ + enum bfd_link_order_type type; + /* Offset within output section. */ + bfd_vma offset; + /* Size within output section. */ + bfd_size_type size; + /* Type specific information. */ + union + { + struct + { + /* Section to include. If this is used, then + section->output_section must be the section the + link_order is attached to, section->output_offset must + equal the link_order offset field, and section->size + must equal the link_order size field. Maybe these + restrictions should be relaxed someday. */ + asection *section; + } indirect; + struct + { + /* Size of contents, or zero when contents should be filled by + the architecture-dependent fill function. + A non-zero value allows filling of the output section + with an arbitrary repeated pattern. */ + unsigned int size; + /* Data to put into file. */ + bfd_byte *contents; + } data; + struct + { + /* Description of reloc to generate. Used for + bfd_section_reloc_link_order and + bfd_symbol_reloc_link_order. */ + struct bfd_link_order_reloc *p; + } reloc; + } u; +}; + +/* A linker order of type bfd_section_reloc_link_order or + bfd_symbol_reloc_link_order means to create a reloc against a + section or symbol, respectively. This is used to implement -Ur to + generate relocs for the constructor tables. The + bfd_link_order_reloc structure describes the reloc that BFD should + create. It is similar to a arelent, but I didn't use arelent + because the linker does not know anything about most symbols, and + any asymbol structure it creates will be partially meaningless. + This information could logically be in the bfd_link_order struct, + but I didn't want to waste the space since these types of relocs + are relatively rare. */ + +struct bfd_link_order_reloc +{ + /* Reloc type. */ + bfd_reloc_code_real_type reloc; + + union + { + /* For type bfd_section_reloc_link_order, this is the section + the reloc should be against. This must be a section in the + output BFD, not any of the input BFDs. */ + asection *section; + /* For type bfd_symbol_reloc_link_order, this is the name of the + symbol the reloc should be against. */ + const char *name; + } u; + + /* Addend to use. The object file should contain zero. The BFD + backend is responsible for filling in the contents of the object + file correctly. For some object file formats (e.g., COFF) the + addend must be stored into in the object file, and for some + (e.g., SPARC a.out) it is kept in the reloc. */ + bfd_vma addend; +}; + +/* Allocate a new link_order for a section. */ +extern struct bfd_link_order *bfd_new_link_order (bfd *, asection *); + +/* These structures are used to describe version information for the + ELF linker. These structures could be manipulated entirely inside + BFD, but it would be a pain. Instead, the regular linker sets up + these structures, and then passes them into BFD. */ + +/* Glob pattern for a version. */ + +struct bfd_elf_version_expr +{ + /* Next glob pattern for this version. */ + struct bfd_elf_version_expr *next; + /* Glob pattern. */ + const char *pattern; + /* Set if pattern is not a glob. */ + unsigned int literal : 1; + /* Defined by ".symver". */ + unsigned int symver : 1; + /* Defined by version script. */ + unsigned int script : 1; + /* Pattern type. */ +#define BFD_ELF_VERSION_C_TYPE 1 +#define BFD_ELF_VERSION_CXX_TYPE 2 +#define BFD_ELF_VERSION_JAVA_TYPE 4 + unsigned int mask : 3; +}; + +struct bfd_elf_version_expr_head +{ + /* List of all patterns, both wildcards and non-wildcards. */ + struct bfd_elf_version_expr *list; + /* Hash table for non-wildcards. */ + void *htab; + /* Remaining patterns. */ + struct bfd_elf_version_expr *remaining; + /* What kind of pattern types are present in list (bitmask). */ + unsigned int mask; +}; + +/* Version dependencies. */ + +struct bfd_elf_version_deps +{ + /* Next dependency for this version. */ + struct bfd_elf_version_deps *next; + /* The version which this version depends upon. */ + struct bfd_elf_version_tree *version_needed; +}; + +/* A node in the version tree. */ + +struct bfd_elf_version_tree +{ + /* Next version. */ + struct bfd_elf_version_tree *next; + /* Name of this version. */ + const char *name; + /* Version number. */ + unsigned int vernum; + /* Regular expressions for global symbols in this version. */ + struct bfd_elf_version_expr_head globals; + /* Regular expressions for local symbols in this version. */ + struct bfd_elf_version_expr_head locals; + /* List of versions which this version depends upon. */ + struct bfd_elf_version_deps *deps; + /* Index of the version name. This is used within BFD. */ + unsigned int name_indx; + /* Whether this version tree was used. This is used within BFD. */ + int used; + /* Matching hook. */ + struct bfd_elf_version_expr *(*match) + (struct bfd_elf_version_expr_head *head, + struct bfd_elf_version_expr *prev, const char *sym); +}; + +struct bfd_elf_dynamic_list +{ + struct bfd_elf_version_expr_head head; + struct bfd_elf_version_expr *(*match) + (struct bfd_elf_version_expr_head *head, + struct bfd_elf_version_expr *prev, const char *sym); +}; + +#endif diff --git a/hardware/tools/avr/i686-w64-mingw32/avr/include/dis-asm.h b/hardware/tools/avr/i686-w64-mingw32/avr/include/dis-asm.h new file mode 100644 index 0000000000000000000000000000000000000000..f82149bb16b99099e197d59a4750bdd18f0e87bf --- /dev/null +++ b/hardware/tools/avr/i686-w64-mingw32/avr/include/dis-asm.h @@ -0,0 +1,394 @@ +/* Interface between the opcode library and its callers. + + Copyright (C) 1999-2015 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1301, USA. + + Written by Cygnus Support, 1993. + + The opcode library (libopcodes.a) provides instruction decoders for + a large variety of instruction sets, callable with an identical + interface, for making instruction-processing programs more independent + of the instruction set being processed. */ + +#ifndef DIS_ASM_H +#define DIS_ASM_H + +#ifdef __cplusplus +extern "C" { +#endif + +#include +#include "bfd.h" + + typedef int (*fprintf_ftype) (void *, const char*, ...) ATTRIBUTE_FPTR_PRINTF_2; + +enum dis_insn_type +{ + dis_noninsn, /* Not a valid instruction. */ + dis_nonbranch, /* Not a branch instruction. */ + dis_branch, /* Unconditional branch. */ + dis_condbranch, /* Conditional branch. */ + dis_jsr, /* Jump to subroutine. */ + dis_condjsr, /* Conditional jump to subroutine. */ + dis_dref, /* Data reference instruction. */ + dis_dref2 /* Two data references in instruction. */ +}; + +/* This struct is passed into the instruction decoding routine, + and is passed back out into each callback. The various fields are used + for conveying information from your main routine into your callbacks, + for passing information into the instruction decoders (such as the + addresses of the callback functions), or for passing information + back from the instruction decoders to their callers. + + It must be initialized before it is first passed; this can be done + by hand, or using one of the initialization macros below. */ + +typedef struct disassemble_info +{ + fprintf_ftype fprintf_func; + void *stream; + void *application_data; + + /* Target description. We could replace this with a pointer to the bfd, + but that would require one. There currently isn't any such requirement + so to avoid introducing one we record these explicitly. */ + /* The bfd_flavour. This can be bfd_target_unknown_flavour. */ + enum bfd_flavour flavour; + /* The bfd_arch value. */ + enum bfd_architecture arch; + /* The bfd_mach value. */ + unsigned long mach; + /* Endianness (for bi-endian cpus). Mono-endian cpus can ignore this. */ + enum bfd_endian endian; + /* Endianness of code, for mixed-endian situations such as ARM BE8. */ + enum bfd_endian endian_code; + /* An arch/mach-specific bitmask of selected instruction subsets, mainly + for processors with run-time-switchable instruction sets. The default, + zero, means that there is no constraint. CGEN-based opcodes ports + may use ISA_foo masks. */ + void *insn_sets; + + /* Some targets need information about the current section to accurately + display insns. If this is NULL, the target disassembler function + will have to make its best guess. */ + asection *section; + + /* An array of pointers to symbols either at the location being disassembled + or at the start of the function being disassembled. The array is sorted + so that the first symbol is intended to be the one used. The others are + present for any misc. purposes. This is not set reliably, but if it is + not NULL, it is correct. */ + asymbol **symbols; + /* Number of symbols in array. */ + int num_symbols; + + /* Symbol table provided for targets that want to look at it. This is + used on Arm to find mapping symbols and determine Arm/Thumb code. */ + asymbol **symtab; + int symtab_pos; + int symtab_size; + + /* For use by the disassembler. + The top 16 bits are reserved for public use (and are documented here). + The bottom 16 bits are for the internal use of the disassembler. */ + unsigned long flags; + /* Set if the disassembler has determined that there are one or more + relocations associated with the instruction being disassembled. */ +#define INSN_HAS_RELOC (1 << 31) + /* Set if the user has requested the disassembly of data as well as code. */ +#define DISASSEMBLE_DATA (1 << 30) + /* Set if the user has specifically set the machine type encoded in the + mach field of this structure. */ +#define USER_SPECIFIED_MACHINE_TYPE (1 << 29) + + /* Use internally by the target specific disassembly code. */ + void *private_data; + + /* Function used to get bytes to disassemble. MEMADDR is the + address of the stuff to be disassembled, MYADDR is the address to + put the bytes in, and LENGTH is the number of bytes to read. + INFO is a pointer to this struct. + Returns an errno value or 0 for success. */ + int (*read_memory_func) + (bfd_vma memaddr, bfd_byte *myaddr, unsigned int length, + struct disassemble_info *dinfo); + + /* Function which should be called if we get an error that we can't + recover from. STATUS is the errno value from read_memory_func and + MEMADDR is the address that we were trying to read. INFO is a + pointer to this struct. */ + void (*memory_error_func) + (int status, bfd_vma memaddr, struct disassemble_info *dinfo); + + /* Function called to print ADDR. */ + void (*print_address_func) + (bfd_vma addr, struct disassemble_info *dinfo); + + /* Function called to determine if there is a symbol at the given ADDR. + If there is, the function returns 1, otherwise it returns 0. + This is used by ports which support an overlay manager where + the overlay number is held in the top part of an address. In + some circumstances we want to include the overlay number in the + address, (normally because there is a symbol associated with + that address), but sometimes we want to mask out the overlay bits. */ + int (* symbol_at_address_func) + (bfd_vma addr, struct disassemble_info *dinfo); + + /* Function called to check if a SYMBOL is can be displayed to the user. + This is used by some ports that want to hide special symbols when + displaying debugging outout. */ + bfd_boolean (* symbol_is_valid) + (asymbol *, struct disassemble_info *dinfo); + + /* These are for buffer_read_memory. */ + bfd_byte *buffer; + bfd_vma buffer_vma; + unsigned int buffer_length; + + /* This variable may be set by the instruction decoder. It suggests + the number of bytes objdump should display on a single line. If + the instruction decoder sets this, it should always set it to + the same value in order to get reasonable looking output. */ + int bytes_per_line; + + /* The next two variables control the way objdump displays the raw data. */ + /* For example, if bytes_per_line is 8 and bytes_per_chunk is 4, the */ + /* output will look like this: + 00: 00000000 00000000 + with the chunks displayed according to "display_endian". */ + int bytes_per_chunk; + enum bfd_endian display_endian; + + /* Number of octets per incremented target address + Normally one, but some DSPs have byte sizes of 16 or 32 bits. */ + unsigned int octets_per_byte; + + /* The number of zeroes we want to see at the end of a section before we + start skipping them. */ + unsigned int skip_zeroes; + + /* The number of zeroes to skip at the end of a section. If the number + of zeroes at the end is between SKIP_ZEROES_AT_END and SKIP_ZEROES, + they will be disassembled. If there are fewer than + SKIP_ZEROES_AT_END, they will be skipped. This is a heuristic + attempt to avoid disassembling zeroes inserted by section + alignment. */ + unsigned int skip_zeroes_at_end; + + /* Whether the disassembler always needs the relocations. */ + bfd_boolean disassembler_needs_relocs; + + /* Results from instruction decoders. Not all decoders yet support + this information. This info is set each time an instruction is + decoded, and is only valid for the last such instruction. + + To determine whether this decoder supports this information, set + insn_info_valid to 0, decode an instruction, then check it. */ + + char insn_info_valid; /* Branch info has been set. */ + char branch_delay_insns; /* How many sequential insn's will run before + a branch takes effect. (0 = normal) */ + char data_size; /* Size of data reference in insn, in bytes */ + enum dis_insn_type insn_type; /* Type of instruction */ + bfd_vma target; /* Target address of branch or dref, if known; + zero if unknown. */ + bfd_vma target2; /* Second target address for dref2 */ + + /* Command line options specific to the target disassembler. */ + char * disassembler_options; + + /* If non-zero then try not disassemble beyond this address, even if + there are values left in the buffer. This address is the address + of the nearest symbol forwards from the start of the disassembly, + and it is assumed that it lies on the boundary between instructions. + If an instruction spans this address then this is an error in the + file being disassembled. */ + bfd_vma stop_vma; + +} disassemble_info; + + +/* Standard disassemblers. Disassemble one instruction at the given + target address. Return number of octets processed. */ +typedef int (*disassembler_ftype) (bfd_vma, disassemble_info *); + +extern int print_insn_aarch64 (bfd_vma, disassemble_info *); +extern int print_insn_alpha (bfd_vma, disassemble_info *); +extern int print_insn_avr (bfd_vma, disassemble_info *); +extern int print_insn_bfin (bfd_vma, disassemble_info *); +extern int print_insn_big_arm (bfd_vma, disassemble_info *); +extern int print_insn_big_mips (bfd_vma, disassemble_info *); +extern int print_insn_big_nios2 (bfd_vma, disassemble_info *); +extern int print_insn_big_powerpc (bfd_vma, disassemble_info *); +extern int print_insn_big_score (bfd_vma, disassemble_info *); +extern int print_insn_cr16 (bfd_vma, disassemble_info *); +extern int print_insn_crx (bfd_vma, disassemble_info *); +extern int print_insn_d10v (bfd_vma, disassemble_info *); +extern int print_insn_d30v (bfd_vma, disassemble_info *); +extern int print_insn_dlx (bfd_vma, disassemble_info *); +extern int print_insn_epiphany (bfd_vma, disassemble_info *); +extern int print_insn_fr30 (bfd_vma, disassemble_info *); +extern int print_insn_frv (bfd_vma, disassemble_info *); +extern int print_insn_ft32 (bfd_vma, disassemble_info *); +extern int print_insn_h8300 (bfd_vma, disassemble_info *); +extern int print_insn_h8300h (bfd_vma, disassemble_info *); +extern int print_insn_h8300s (bfd_vma, disassemble_info *); +extern int print_insn_h8500 (bfd_vma, disassemble_info *); +extern int print_insn_hppa (bfd_vma, disassemble_info *); +extern int print_insn_i370 (bfd_vma, disassemble_info *); +extern int print_insn_i386 (bfd_vma, disassemble_info *); +extern int print_insn_i386_att (bfd_vma, disassemble_info *); +extern int print_insn_i386_intel (bfd_vma, disassemble_info *); +extern int print_insn_i860 (bfd_vma, disassemble_info *); +extern int print_insn_i960 (bfd_vma, disassemble_info *); +extern int print_insn_ia64 (bfd_vma, disassemble_info *); +extern int print_insn_ip2k (bfd_vma, disassemble_info *); +extern int print_insn_iq2000 (bfd_vma, disassemble_info *); +extern int print_insn_little_arm (bfd_vma, disassemble_info *); +extern int print_insn_little_mips (bfd_vma, disassemble_info *); +extern int print_insn_little_nios2 (bfd_vma, disassemble_info *); +extern int print_insn_little_powerpc (bfd_vma, disassemble_info *); +extern int print_insn_little_score (bfd_vma, disassemble_info *); +extern int print_insn_lm32 (bfd_vma, disassemble_info *); +extern int print_insn_m32c (bfd_vma, disassemble_info *); +extern int print_insn_m32r (bfd_vma, disassemble_info *); +extern int print_insn_m68hc11 (bfd_vma, disassemble_info *); +extern int print_insn_m68hc12 (bfd_vma, disassemble_info *); +extern int print_insn_m9s12x (bfd_vma, disassemble_info *); +extern int print_insn_m9s12xg (bfd_vma, disassemble_info *); +extern int print_insn_m68k (bfd_vma, disassemble_info *); +extern int print_insn_m88k (bfd_vma, disassemble_info *); +extern int print_insn_mcore (bfd_vma, disassemble_info *); +extern int print_insn_mep (bfd_vma, disassemble_info *); +extern int print_insn_metag (bfd_vma, disassemble_info *); +extern int print_insn_microblaze (bfd_vma, disassemble_info *); +extern int print_insn_mmix (bfd_vma, disassemble_info *); +extern int print_insn_mn10200 (bfd_vma, disassemble_info *); +extern int print_insn_mn10300 (bfd_vma, disassemble_info *); +extern int print_insn_moxie (bfd_vma, disassemble_info *); +extern int print_insn_msp430 (bfd_vma, disassemble_info *); +extern int print_insn_mt (bfd_vma, disassemble_info *); +extern int print_insn_nds32 (bfd_vma, disassemble_info *); +extern int print_insn_ns32k (bfd_vma, disassemble_info *); +extern int print_insn_or1k (bfd_vma, disassemble_info *); +extern int print_insn_pdp11 (bfd_vma, disassemble_info *); +extern int print_insn_pj (bfd_vma, disassemble_info *); +extern int print_insn_rs6000 (bfd_vma, disassemble_info *); +extern int print_insn_s390 (bfd_vma, disassemble_info *); +extern int print_insn_sh (bfd_vma, disassemble_info *); +extern int print_insn_sh64 (bfd_vma, disassemble_info *); +extern int print_insn_sh64x_media (bfd_vma, disassemble_info *); +extern int print_insn_sparc (bfd_vma, disassemble_info *); +extern int print_insn_spu (bfd_vma, disassemble_info *); +extern int print_insn_tic30 (bfd_vma, disassemble_info *); +extern int print_insn_tic4x (bfd_vma, disassemble_info *); +extern int print_insn_tic54x (bfd_vma, disassemble_info *); +extern int print_insn_tic6x (bfd_vma, disassemble_info *); +extern int print_insn_tic80 (bfd_vma, disassemble_info *); +extern int print_insn_tilegx (bfd_vma, disassemble_info *); +extern int print_insn_tilepro (bfd_vma, disassemble_info *); +extern int print_insn_v850 (bfd_vma, disassemble_info *); +extern int print_insn_vax (bfd_vma, disassemble_info *); +extern int print_insn_visium (bfd_vma, disassemble_info *); +extern int print_insn_w65 (bfd_vma, disassemble_info *); +extern int print_insn_xc16x (bfd_vma, disassemble_info *); +extern int print_insn_xgate (bfd_vma, disassemble_info *); +extern int print_insn_xstormy16 (bfd_vma, disassemble_info *); +extern int print_insn_xtensa (bfd_vma, disassemble_info *); +extern int print_insn_z80 (bfd_vma, disassemble_info *); +extern int print_insn_z8001 (bfd_vma, disassemble_info *); +extern int print_insn_z8002 (bfd_vma, disassemble_info *); +extern int print_insn_rx (bfd_vma, disassemble_info *); +extern int print_insn_rl78 (bfd_vma, disassemble_info *); +extern int print_insn_rl78_g10 (bfd_vma, disassemble_info *); +extern int print_insn_rl78_g13 (bfd_vma, disassemble_info *); +extern int print_insn_rl78_g14 (bfd_vma, disassemble_info *); + +extern disassembler_ftype arc_get_disassembler (bfd *); +extern disassembler_ftype cris_get_disassembler (bfd *); +extern disassembler_ftype rl78_get_disassembler (bfd *); + +extern void print_aarch64_disassembler_options (FILE *); +extern void print_i386_disassembler_options (FILE *); +extern void print_mips_disassembler_options (FILE *); +extern void print_ppc_disassembler_options (FILE *); +extern void print_arm_disassembler_options (FILE *); +extern void parse_arm_disassembler_option (char *); +extern void print_s390_disassembler_options (FILE *); +extern int get_arm_regname_num_options (void); +extern int set_arm_regname_option (int); +extern int get_arm_regnames (int, const char **, const char **, const char *const **); +extern bfd_boolean aarch64_symbol_is_valid (asymbol *, struct disassemble_info *); +extern bfd_boolean arm_symbol_is_valid (asymbol *, struct disassemble_info *); +extern void disassemble_init_powerpc (struct disassemble_info *); + +/* Fetch the disassembler for a given BFD, if that support is available. */ +extern disassembler_ftype disassembler (bfd *); + +/* Amend the disassemble_info structure as necessary for the target architecture. + Should only be called after initialising the info->arch field. */ +extern void disassemble_init_for_target (struct disassemble_info * dinfo); + +/* Document any target specific options available from the disassembler. */ +extern void disassembler_usage (FILE *); + + +/* This block of definitions is for particular callers who read instructions + into a buffer before calling the instruction decoder. */ + +/* Here is a function which callers may wish to use for read_memory_func. + It gets bytes from a buffer. */ +extern int buffer_read_memory + (bfd_vma, bfd_byte *, unsigned int, struct disassemble_info *); + +/* This function goes with buffer_read_memory. + It prints a message using info->fprintf_func and info->stream. */ +extern void perror_memory (int, bfd_vma, struct disassemble_info *); + + +/* Just print the address in hex. This is included for completeness even + though both GDB and objdump provide their own (to print symbolic + addresses). */ +extern void generic_print_address + (bfd_vma, struct disassemble_info *); + +/* Always true. */ +extern int generic_symbol_at_address + (bfd_vma, struct disassemble_info *); + +/* Also always true. */ +extern bfd_boolean generic_symbol_is_valid + (asymbol *, struct disassemble_info *); + +/* Method to initialize a disassemble_info struct. This should be + called by all applications creating such a struct. */ +extern void init_disassemble_info (struct disassemble_info *dinfo, void *stream, + fprintf_ftype fprintf_func); + +/* For compatibility with existing code. */ +#define INIT_DISASSEMBLE_INFO(INFO, STREAM, FPRINTF_FUNC) \ + init_disassemble_info (&(INFO), (STREAM), (fprintf_ftype) (FPRINTF_FUNC)) +#define INIT_DISASSEMBLE_INFO_NO_ARCH(INFO, STREAM, FPRINTF_FUNC) \ + init_disassemble_info (&(INFO), (STREAM), (fprintf_ftype) (FPRINTF_FUNC)) + + +#ifdef __cplusplus +} +#endif + +#endif /* ! defined (DIS_ASM_H) */ diff --git a/hardware/tools/avr/i686-w64-mingw32/avr/include/plugin-api.h b/hardware/tools/avr/i686-w64-mingw32/avr/include/plugin-api.h new file mode 100644 index 0000000000000000000000000000000000000000..1bf1750134a1fa6f6826bafa88c7d782246dc92d --- /dev/null +++ b/hardware/tools/avr/i686-w64-mingw32/avr/include/plugin-api.h @@ -0,0 +1,432 @@ +/* plugin-api.h -- External linker plugin API. */ + +/* Copyright (C) 2009-2015 Free Software Foundation, Inc. + Written by Cary Coutant . + + This file is part of binutils. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, + MA 02110-1301, USA. */ + +/* This file defines the interface for writing a linker plugin, which is + described at < http://gcc.gnu.org/wiki/whopr/driver >. */ + +#ifndef PLUGIN_API_H +#define PLUGIN_API_H + +#ifdef HAVE_STDINT_H +#include +#elif defined(HAVE_INTTYPES_H) +#include +#endif +#include +#if !defined(HAVE_STDINT_H) && !defined(HAVE_INTTYPES_H) && \ + !defined(UINT64_MAX) && !defined(uint64_t) +#error can not find uint64_t type +#endif + +#ifdef __cplusplus +extern "C" +{ +#endif + +/* Status code returned by most API routines. */ + +enum ld_plugin_status +{ + LDPS_OK = 0, + LDPS_NO_SYMS, /* Attempt to get symbols that haven't been added. */ + LDPS_BAD_HANDLE, /* No claimed object associated with given handle. */ + LDPS_ERR + /* Additional Error codes TBD. */ +}; + +/* The version of the API specification. */ + +enum ld_plugin_api_version +{ + LD_PLUGIN_API_VERSION = 1 +}; + +/* The type of output file being generated by the linker. */ + +enum ld_plugin_output_file_type +{ + LDPO_REL, + LDPO_EXEC, + LDPO_DYN, + LDPO_PIE +}; + +/* An input file managed by the plugin library. */ + +struct ld_plugin_input_file +{ + const char *name; + int fd; + off_t offset; + off_t filesize; + void *handle; +}; + +/* A symbol belonging to an input file managed by the plugin library. */ + +struct ld_plugin_symbol +{ + char *name; + char *version; + int def; + int visibility; + uint64_t size; + char *comdat_key; + int resolution; +}; + +/* An object's section. */ + +struct ld_plugin_section +{ + const void* handle; + unsigned int shndx; +}; + +/* Whether the symbol is a definition, reference, or common, weak or not. */ + +enum ld_plugin_symbol_kind +{ + LDPK_DEF, + LDPK_WEAKDEF, + LDPK_UNDEF, + LDPK_WEAKUNDEF, + LDPK_COMMON +}; + +/* The visibility of the symbol. */ + +enum ld_plugin_symbol_visibility +{ + LDPV_DEFAULT, + LDPV_PROTECTED, + LDPV_INTERNAL, + LDPV_HIDDEN +}; + +/* How a symbol is resolved. */ + +enum ld_plugin_symbol_resolution +{ + LDPR_UNKNOWN = 0, + + /* Symbol is still undefined at this point. */ + LDPR_UNDEF, + + /* This is the prevailing definition of the symbol, with references from + regular object code. */ + LDPR_PREVAILING_DEF, + + /* This is the prevailing definition of the symbol, with no + references from regular objects. It is only referenced from IR + code. */ + LDPR_PREVAILING_DEF_IRONLY, + + /* This definition was pre-empted by a definition in a regular + object file. */ + LDPR_PREEMPTED_REG, + + /* This definition was pre-empted by a definition in another IR file. */ + LDPR_PREEMPTED_IR, + + /* This symbol was resolved by a definition in another IR file. */ + LDPR_RESOLVED_IR, + + /* This symbol was resolved by a definition in a regular object + linked into the main executable. */ + LDPR_RESOLVED_EXEC, + + /* This symbol was resolved by a definition in a shared object. */ + LDPR_RESOLVED_DYN, + + /* This is the prevailing definition of the symbol, with no + references from regular objects. It is only referenced from IR + code, but the symbol is exported and may be referenced from + a dynamic object (not seen at link time). */ + LDPR_PREVAILING_DEF_IRONLY_EXP +}; + +/* The plugin library's "claim file" handler. */ + +typedef +enum ld_plugin_status +(*ld_plugin_claim_file_handler) ( + const struct ld_plugin_input_file *file, int *claimed); + +/* The plugin library's "all symbols read" handler. */ + +typedef +enum ld_plugin_status +(*ld_plugin_all_symbols_read_handler) (void); + +/* The plugin library's cleanup handler. */ + +typedef +enum ld_plugin_status +(*ld_plugin_cleanup_handler) (void); + +/* The linker's interface for registering the "claim file" handler. */ + +typedef +enum ld_plugin_status +(*ld_plugin_register_claim_file) (ld_plugin_claim_file_handler handler); + +/* The linker's interface for registering the "all symbols read" handler. */ + +typedef +enum ld_plugin_status +(*ld_plugin_register_all_symbols_read) ( + ld_plugin_all_symbols_read_handler handler); + +/* The linker's interface for registering the cleanup handler. */ + +typedef +enum ld_plugin_status +(*ld_plugin_register_cleanup) (ld_plugin_cleanup_handler handler); + +/* The linker's interface for adding symbols from a claimed input file. */ + +typedef +enum ld_plugin_status +(*ld_plugin_add_symbols) (void *handle, int nsyms, + const struct ld_plugin_symbol *syms); + +/* The linker's interface for getting the input file information with + an open (possibly re-opened) file descriptor. */ + +typedef +enum ld_plugin_status +(*ld_plugin_get_input_file) (const void *handle, + struct ld_plugin_input_file *file); + +typedef +enum ld_plugin_status +(*ld_plugin_get_view) (const void *handle, const void **viewp); + +/* The linker's interface for releasing the input file. */ + +typedef +enum ld_plugin_status +(*ld_plugin_release_input_file) (const void *handle); + +/* The linker's interface for retrieving symbol resolution information. */ + +typedef +enum ld_plugin_status +(*ld_plugin_get_symbols) (const void *handle, int nsyms, + struct ld_plugin_symbol *syms); + +/* The linker's interface for adding a compiled input file. */ + +typedef +enum ld_plugin_status +(*ld_plugin_add_input_file) (const char *pathname); + +/* The linker's interface for adding a library that should be searched. */ + +typedef +enum ld_plugin_status +(*ld_plugin_add_input_library) (const char *libname); + +/* The linker's interface for adding a library path that should be searched. */ + +typedef +enum ld_plugin_status +(*ld_plugin_set_extra_library_path) (const char *path); + +/* The linker's interface for issuing a warning or error message. */ + +typedef +enum ld_plugin_status +(*ld_plugin_message) (int level, const char *format, ...); + +/* The linker's interface for retrieving the number of sections in an object. + The handle is obtained in the claim_file handler. This interface should + only be invoked in the claim_file handler. This function sets *COUNT to + the number of sections in the object. */ + +typedef +enum ld_plugin_status +(*ld_plugin_get_input_section_count) (const void* handle, unsigned int *count); + +/* The linker's interface for retrieving the section type of a specific + section in an object. This interface should only be invoked in the + claim_file handler. This function sets *TYPE to an ELF SHT_xxx value. */ + +typedef +enum ld_plugin_status +(*ld_plugin_get_input_section_type) (const struct ld_plugin_section section, + unsigned int *type); + +/* The linker's interface for retrieving the name of a specific section in + an object. This interface should only be invoked in the claim_file handler. + This function sets *SECTION_NAME_PTR to a null-terminated buffer allocated + by malloc. The plugin must free *SECTION_NAME_PTR. */ + +typedef +enum ld_plugin_status +(*ld_plugin_get_input_section_name) (const struct ld_plugin_section section, + char **section_name_ptr); + +/* The linker's interface for retrieving the contents of a specific section + in an object. This interface should only be invoked in the claim_file + handler. This function sets *SECTION_CONTENTS to point to a buffer that is + valid until clam_file handler returns. It sets *LEN to the size of the + buffer. */ + +typedef +enum ld_plugin_status +(*ld_plugin_get_input_section_contents) (const struct ld_plugin_section section, + const unsigned char **section_contents, + size_t* len); + +/* The linker's interface for specifying the desired order of sections. + The sections should be specifed using the array SECTION_LIST in the + order in which they should appear in the final layout. NUM_SECTIONS + specifies the number of entries in each array. This should be invoked + in the all_symbols_read handler. */ + +typedef +enum ld_plugin_status +(*ld_plugin_update_section_order) (const struct ld_plugin_section *section_list, + unsigned int num_sections); + +/* The linker's interface for specifying that reordering of sections is + desired so that the linker can prepare for it. This should be invoked + before update_section_order, preferably in the claim_file handler. */ + +typedef +enum ld_plugin_status +(*ld_plugin_allow_section_ordering) (void); + +/* The linker's interface for specifying that a subset of sections is + to be mapped to a unique segment. If the plugin wants to call + unique_segment_for_sections, it must call this function from a + claim_file_handler or when it is first loaded. */ + +typedef +enum ld_plugin_status +(*ld_plugin_allow_unique_segment_for_sections) (void); + +/* The linker's interface for specifying that a specific set of sections + must be mapped to a unique segment. ELF segments do not have names + and the NAME is used as the name of the newly created output section + that is then placed in the unique PT_LOAD segment. FLAGS is used to + specify if any additional segment flags need to be set. For instance, + a specific segment flag can be set to identify this segment. Unsetting + segment flags that would be set by default is not possible. The + parameter SEGMENT_ALIGNMENT when non-zero will override the default. */ + +typedef +enum ld_plugin_status +(*ld_plugin_unique_segment_for_sections) ( + const char* segment_name, + uint64_t segment_flags, + uint64_t segment_alignment, + const struct ld_plugin_section * section_list, + unsigned int num_sections); + +enum ld_plugin_level +{ + LDPL_INFO, + LDPL_WARNING, + LDPL_ERROR, + LDPL_FATAL +}; + +/* Values for the tv_tag field of the transfer vector. */ + +enum ld_plugin_tag +{ + LDPT_NULL = 0, + LDPT_API_VERSION = 1, + LDPT_GOLD_VERSION = 2, + LDPT_LINKER_OUTPUT = 3, + LDPT_OPTION = 4, + LDPT_REGISTER_CLAIM_FILE_HOOK = 5, + LDPT_REGISTER_ALL_SYMBOLS_READ_HOOK = 6, + LDPT_REGISTER_CLEANUP_HOOK = 7, + LDPT_ADD_SYMBOLS = 8, + LDPT_GET_SYMBOLS = 9, + LDPT_ADD_INPUT_FILE = 10, + LDPT_MESSAGE = 11, + LDPT_GET_INPUT_FILE = 12, + LDPT_RELEASE_INPUT_FILE = 13, + LDPT_ADD_INPUT_LIBRARY = 14, + LDPT_OUTPUT_NAME = 15, + LDPT_SET_EXTRA_LIBRARY_PATH = 16, + LDPT_GNU_LD_VERSION = 17, + LDPT_GET_VIEW = 18, + LDPT_GET_INPUT_SECTION_COUNT = 19, + LDPT_GET_INPUT_SECTION_TYPE = 20, + LDPT_GET_INPUT_SECTION_NAME = 21, + LDPT_GET_INPUT_SECTION_CONTENTS = 22, + LDPT_UPDATE_SECTION_ORDER = 23, + LDPT_ALLOW_SECTION_ORDERING = 24, + LDPT_GET_SYMBOLS_V2 = 25, + LDPT_ALLOW_UNIQUE_SEGMENT_FOR_SECTIONS = 26, + LDPT_UNIQUE_SEGMENT_FOR_SECTIONS = 27 +}; + +/* The plugin transfer vector. */ + +struct ld_plugin_tv +{ + enum ld_plugin_tag tv_tag; + union + { + int tv_val; + const char *tv_string; + ld_plugin_register_claim_file tv_register_claim_file; + ld_plugin_register_all_symbols_read tv_register_all_symbols_read; + ld_plugin_register_cleanup tv_register_cleanup; + ld_plugin_add_symbols tv_add_symbols; + ld_plugin_get_symbols tv_get_symbols; + ld_plugin_add_input_file tv_add_input_file; + ld_plugin_message tv_message; + ld_plugin_get_input_file tv_get_input_file; + ld_plugin_get_view tv_get_view; + ld_plugin_release_input_file tv_release_input_file; + ld_plugin_add_input_library tv_add_input_library; + ld_plugin_set_extra_library_path tv_set_extra_library_path; + ld_plugin_get_input_section_count tv_get_input_section_count; + ld_plugin_get_input_section_type tv_get_input_section_type; + ld_plugin_get_input_section_name tv_get_input_section_name; + ld_plugin_get_input_section_contents tv_get_input_section_contents; + ld_plugin_update_section_order tv_update_section_order; + ld_plugin_allow_section_ordering tv_allow_section_ordering; + ld_plugin_allow_unique_segment_for_sections tv_allow_unique_segment_for_sections; + ld_plugin_unique_segment_for_sections tv_unique_segment_for_sections; + } tv_u; +}; + +/* The plugin library's "onload" entry point. */ + +typedef +enum ld_plugin_status +(*ld_plugin_onload) (struct ld_plugin_tv *tv); + +#ifdef __cplusplus +} +#endif + +#endif /* !defined(PLUGIN_API_H) */ diff --git a/hardware/tools/avr/i686-w64-mingw32/avr/include/symcat.h b/hardware/tools/avr/i686-w64-mingw32/avr/include/symcat.h new file mode 100644 index 0000000000000000000000000000000000000000..95fc9b2c550b379e32e967517c630c12d146b572 --- /dev/null +++ b/hardware/tools/avr/i686-w64-mingw32/avr/include/symcat.h @@ -0,0 +1,55 @@ +/* Symbol concatenation utilities. + + Copyright (C) 1998-2015 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ + +#ifndef SYM_CAT_H +#define SYM_CAT_H + +#if defined (__STDC__) || defined (ALMOST_STDC) || defined (HAVE_STRINGIZE) +#define CONCAT2(a,b) a##b +#define CONCAT3(a,b,c) a##b##c +#define CONCAT4(a,b,c,d) a##b##c##d +#define CONCAT5(a,b,c,d,e) a##b##c##d##e +#define CONCAT6(a,b,c,d,e,f) a##b##c##d##e##f +#define STRINGX(s) #s +#else +/* Note one should never pass extra whitespace to the CONCATn macros, + e.g. CONCAT2(foo, bar) because traditonal C will keep the space between + the two labels instead of concatenating them. Instead, make sure to + write CONCAT2(foo,bar). */ +#define CONCAT2(a,b) a/**/b +#define CONCAT3(a,b,c) a/**/b/**/c +#define CONCAT4(a,b,c,d) a/**/b/**/c/**/d +#define CONCAT5(a,b,c,d,e) a/**/b/**/c/**/d/**/e +#define CONCAT6(a,b,c,d,e,f) a/**/b/**/c/**/d/**/e/**/f +#define STRINGX(s) "s" +#endif + +#define XCONCAT2(a,b) CONCAT2(a,b) +#define XCONCAT3(a,b,c) CONCAT3(a,b,c) +#define XCONCAT4(a,b,c,d) CONCAT4(a,b,c,d) +#define XCONCAT5(a,b,c,d,e) CONCAT5(a,b,c,d,e) +#define XCONCAT6(a,b,c,d,e,f) CONCAT6(a,b,c,d,e,f) + +/* Note the layer of indirection here is typically used to allow + stringification of the expansion of macros. I.e. "#define foo + bar", "XSTRING(foo)", to yield "bar". Be aware that this only + works for __STDC__, not for traditional C which will still resolve + to "foo". */ +#define XSTRING(s) STRINGX(s) + +#endif /* SYM_CAT_H */ diff --git a/hardware/tools/avr/i686-w64-mingw32/avr/lib/libbfd.a b/hardware/tools/avr/i686-w64-mingw32/avr/lib/libbfd.a new file mode 100644 index 0000000000000000000000000000000000000000..5e34211c4b98a39eea87ccb5cdc66b1e0804906a --- /dev/null +++ b/hardware/tools/avr/i686-w64-mingw32/avr/lib/libbfd.a @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:16e242fe74081f6b9689716c65108699452ce0a302ca93316596c389e465f24c +size 652208 diff --git a/hardware/tools/avr/i686-w64-mingw32/avr/lib/libbfd.la b/hardware/tools/avr/i686-w64-mingw32/avr/lib/libbfd.la new file mode 100644 index 0000000000000000000000000000000000000000..6e139971426dc28ddeb36b3b344d9224f9aed5cf --- /dev/null +++ b/hardware/tools/avr/i686-w64-mingw32/avr/lib/libbfd.la @@ -0,0 +1,41 @@ +# libbfd.la - a libtool library file +# Generated by libtool (GNU libtool 1.3134 2009-11-29) 2.2.7a +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# The name that we can dlopen(3). +dlname='' + +# Names of this library. +library_names='' + +# The name of the static archive. +old_library='libbfd.a' + +# Linker flags that can not go in dependency_libs. +inherited_linker_flags='' + +# Libraries that this one depends upon. +dependency_libs=' -L/home/jenkins-mingw32/workspace/avr-gcc-staging/label/Ubuntu14.04x64-mingw32/binutils-build/zlib -lz' + +# Names of additional weak libraries provided by this library +weak_library_names='' + +# Version information for libbfd. +current=0 +age=0 +revision=0 + +# Is this an already installed library? +installed=yes + +# Should we warn about portability when linking against -modules? +shouldnotlink=no + +# Files to dlopen/dlpreopen +dlopen='' +dlpreopen='' + +# Directory that this library needs to be installed in: +libdir='/home/jenkins-mingw32/workspace/avr-gcc-staging/label/Ubuntu14.04x64-mingw32/objdir/i686-w64-mingw32/avr/lib' diff --git a/hardware/tools/avr/i686-w64-mingw32/avr/lib/libopcodes.a b/hardware/tools/avr/i686-w64-mingw32/avr/lib/libopcodes.a new file mode 100644 index 0000000000000000000000000000000000000000..644349478144bf8d910ada476278b7c13d97035c Binary files /dev/null and b/hardware/tools/avr/i686-w64-mingw32/avr/lib/libopcodes.a differ diff --git a/hardware/tools/avr/i686-w64-mingw32/avr/lib/libopcodes.la b/hardware/tools/avr/i686-w64-mingw32/avr/lib/libopcodes.la new file mode 100644 index 0000000000000000000000000000000000000000..1715b777e86e35e677a3a9d004b80bc5f889aa72 --- /dev/null +++ b/hardware/tools/avr/i686-w64-mingw32/avr/lib/libopcodes.la @@ -0,0 +1,41 @@ +# libopcodes.la - a libtool library file +# Generated by libtool (GNU libtool 1.3134 2009-11-29) 2.2.7a +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# The name that we can dlopen(3). +dlname='' + +# Names of this library. +library_names='' + +# The name of the static archive. +old_library='libopcodes.a' + +# Linker flags that can not go in dependency_libs. +inherited_linker_flags='' + +# Libraries that this one depends upon. +dependency_libs='' + +# Names of additional weak libraries provided by this library +weak_library_names='' + +# Version information for libopcodes. +current=0 +age=0 +revision=0 + +# Is this an already installed library? +installed=yes + +# Should we warn about portability when linking against -modules? +shouldnotlink=no + +# Files to dlopen/dlpreopen +dlopen='' +dlpreopen='' + +# Directory that this library needs to be installed in: +libdir='/home/jenkins-mingw32/workspace/avr-gcc-staging/label/Ubuntu14.04x64-mingw32/objdir/i686-w64-mingw32/avr/lib' diff --git a/hardware/tools/avr/include/libiberty/demangle.h b/hardware/tools/avr/include/libiberty/demangle.h new file mode 100644 index 0000000000000000000000000000000000000000..e415de069fe277e08ebd411352f986fb6192bd8d --- /dev/null +++ b/hardware/tools/avr/include/libiberty/demangle.h @@ -0,0 +1,685 @@ +/* Defs for interface to demanglers. + Copyright (C) 1992-2015 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License + as published by the Free Software Foundation; either version 2, or + (at your option) any later version. + + In addition to the permissions in the GNU Library General Public + License, the Free Software Foundation gives you unlimited + permission to link the compiled version of this file into + combinations with other programs, and to distribute those + combinations without any restriction coming from the use of this + file. (The Library Public License restrictions do apply in other + respects; for example, they cover modification of the file, and + distribution when not linked into a combined executable.) + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ + + +#if !defined (DEMANGLE_H) +#define DEMANGLE_H + +#include "libiberty.h" + +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + +/* Options passed to cplus_demangle (in 2nd parameter). */ + +#define DMGL_NO_OPTS 0 /* For readability... */ +#define DMGL_PARAMS (1 << 0) /* Include function args */ +#define DMGL_ANSI (1 << 1) /* Include const, volatile, etc */ +#define DMGL_JAVA (1 << 2) /* Demangle as Java rather than C++. */ +#define DMGL_VERBOSE (1 << 3) /* Include implementation details. */ +#define DMGL_TYPES (1 << 4) /* Also try to demangle type encodings. */ +#define DMGL_RET_POSTFIX (1 << 5) /* Print function return types (when + present) after function signature. + It applies only to the toplevel + function type. */ +#define DMGL_RET_DROP (1 << 6) /* Suppress printing function return + types, even if present. It applies + only to the toplevel function type. + */ + +#define DMGL_AUTO (1 << 8) +#define DMGL_GNU (1 << 9) +#define DMGL_LUCID (1 << 10) +#define DMGL_ARM (1 << 11) +#define DMGL_HP (1 << 12) /* For the HP aCC compiler; + same as ARM except for + template arguments, etc. */ +#define DMGL_EDG (1 << 13) +#define DMGL_GNU_V3 (1 << 14) +#define DMGL_GNAT (1 << 15) +#define DMGL_DLANG (1 << 16) + +/* If none of these are set, use 'current_demangling_style' as the default. */ +#define DMGL_STYLE_MASK (DMGL_AUTO|DMGL_GNU|DMGL_LUCID|DMGL_ARM|DMGL_HP|DMGL_EDG|DMGL_GNU_V3|DMGL_JAVA|DMGL_GNAT|DMGL_DLANG) + +/* Enumeration of possible demangling styles. + + Lucid and ARM styles are still kept logically distinct, even though + they now both behave identically. The resulting style is actual the + union of both. I.E. either style recognizes both "__pt__" and "__rf__" + for operator "->", even though the first is lucid style and the second + is ARM style. (FIXME?) */ + +extern enum demangling_styles +{ + no_demangling = -1, + unknown_demangling = 0, + auto_demangling = DMGL_AUTO, + gnu_demangling = DMGL_GNU, + lucid_demangling = DMGL_LUCID, + arm_demangling = DMGL_ARM, + hp_demangling = DMGL_HP, + edg_demangling = DMGL_EDG, + gnu_v3_demangling = DMGL_GNU_V3, + java_demangling = DMGL_JAVA, + gnat_demangling = DMGL_GNAT, + dlang_demangling = DMGL_DLANG +} current_demangling_style; + +/* Define string names for the various demangling styles. */ + +#define NO_DEMANGLING_STYLE_STRING "none" +#define AUTO_DEMANGLING_STYLE_STRING "auto" +#define GNU_DEMANGLING_STYLE_STRING "gnu" +#define LUCID_DEMANGLING_STYLE_STRING "lucid" +#define ARM_DEMANGLING_STYLE_STRING "arm" +#define HP_DEMANGLING_STYLE_STRING "hp" +#define EDG_DEMANGLING_STYLE_STRING "edg" +#define GNU_V3_DEMANGLING_STYLE_STRING "gnu-v3" +#define JAVA_DEMANGLING_STYLE_STRING "java" +#define GNAT_DEMANGLING_STYLE_STRING "gnat" +#define DLANG_DEMANGLING_STYLE_STRING "dlang" + +/* Some macros to test what demangling style is active. */ + +#define CURRENT_DEMANGLING_STYLE current_demangling_style +#define AUTO_DEMANGLING (((int) CURRENT_DEMANGLING_STYLE) & DMGL_AUTO) +#define GNU_DEMANGLING (((int) CURRENT_DEMANGLING_STYLE) & DMGL_GNU) +#define LUCID_DEMANGLING (((int) CURRENT_DEMANGLING_STYLE) & DMGL_LUCID) +#define ARM_DEMANGLING (((int) CURRENT_DEMANGLING_STYLE) & DMGL_ARM) +#define HP_DEMANGLING (((int) CURRENT_DEMANGLING_STYLE) & DMGL_HP) +#define EDG_DEMANGLING (((int) CURRENT_DEMANGLING_STYLE) & DMGL_EDG) +#define GNU_V3_DEMANGLING (((int) CURRENT_DEMANGLING_STYLE) & DMGL_GNU_V3) +#define JAVA_DEMANGLING (((int) CURRENT_DEMANGLING_STYLE) & DMGL_JAVA) +#define GNAT_DEMANGLING (((int) CURRENT_DEMANGLING_STYLE) & DMGL_GNAT) +#define DLANG_DEMANGLING (((int) CURRENT_DEMANGLING_STYLE) & DMGL_DLANG) + +/* Provide information about the available demangle styles. This code is + pulled from gdb into libiberty because it is useful to binutils also. */ + +extern const struct demangler_engine +{ + const char *const demangling_style_name; + const enum demangling_styles demangling_style; + const char *const demangling_style_doc; +} libiberty_demanglers[]; + +extern char * +cplus_demangle (const char *mangled, int options); + +extern int +cplus_demangle_opname (const char *opname, char *result, int options); + +extern const char * +cplus_mangle_opname (const char *opname, int options); + +/* Note: This sets global state. FIXME if you care about multi-threading. */ + +extern void +set_cplus_marker_for_demangling (int ch); + +extern enum demangling_styles +cplus_demangle_set_style (enum demangling_styles style); + +extern enum demangling_styles +cplus_demangle_name_to_style (const char *name); + +/* Callback typedef for allocation-less demangler interfaces. */ +typedef void (*demangle_callbackref) (const char *, size_t, void *); + +/* V3 ABI demangling entry points, defined in cp-demangle.c. Callback + variants return non-zero on success, zero on error. char* variants + return a string allocated by malloc on success, NULL on error. */ +extern int +cplus_demangle_v3_callback (const char *mangled, int options, + demangle_callbackref callback, void *opaque); + +extern char* +cplus_demangle_v3 (const char *mangled, int options); + +extern int +java_demangle_v3_callback (const char *mangled, + demangle_callbackref callback, void *opaque); + +extern char* +java_demangle_v3 (const char *mangled); + +char * +ada_demangle (const char *mangled, int options); + +extern char * +dlang_demangle (const char *mangled, int options); + +enum gnu_v3_ctor_kinds { + gnu_v3_complete_object_ctor = 1, + gnu_v3_base_object_ctor, + gnu_v3_complete_object_allocating_ctor, + /* These are not part of the V3 ABI. Unified constructors are generated + as a speed-for-space optimization when the -fdeclone-ctor-dtor option + is used, and are always internal symbols. */ + gnu_v3_unified_ctor, + gnu_v3_object_ctor_group +}; + +/* Return non-zero iff NAME is the mangled form of a constructor name + in the G++ V3 ABI demangling style. Specifically, return an `enum + gnu_v3_ctor_kinds' value indicating what kind of constructor + it is. */ +extern enum gnu_v3_ctor_kinds + is_gnu_v3_mangled_ctor (const char *name); + + +enum gnu_v3_dtor_kinds { + gnu_v3_deleting_dtor = 1, + gnu_v3_complete_object_dtor, + gnu_v3_base_object_dtor, + /* These are not part of the V3 ABI. Unified destructors are generated + as a speed-for-space optimization when the -fdeclone-ctor-dtor option + is used, and are always internal symbols. */ + gnu_v3_unified_dtor, + gnu_v3_object_dtor_group +}; + +/* Return non-zero iff NAME is the mangled form of a destructor name + in the G++ V3 ABI demangling style. Specifically, return an `enum + gnu_v3_dtor_kinds' value, indicating what kind of destructor + it is. */ +extern enum gnu_v3_dtor_kinds + is_gnu_v3_mangled_dtor (const char *name); + +/* The V3 demangler works in two passes. The first pass builds a tree + representation of the mangled name, and the second pass turns the + tree representation into a demangled string. Here we define an + interface to permit a caller to build their own tree + representation, which they can pass to the demangler to get a + demangled string. This can be used to canonicalize user input into + something which the demangler might output. It could also be used + by other demanglers in the future. */ + +/* These are the component types which may be found in the tree. Many + component types have one or two subtrees, referred to as left and + right (a component type with only one subtree puts it in the left + subtree). */ + +enum demangle_component_type +{ + /* A name, with a length and a pointer to a string. */ + DEMANGLE_COMPONENT_NAME, + /* A qualified name. The left subtree is a class or namespace or + some such thing, and the right subtree is a name qualified by + that class. */ + DEMANGLE_COMPONENT_QUAL_NAME, + /* A local name. The left subtree describes a function, and the + right subtree is a name which is local to that function. */ + DEMANGLE_COMPONENT_LOCAL_NAME, + /* A typed name. The left subtree is a name, and the right subtree + describes that name as a function. */ + DEMANGLE_COMPONENT_TYPED_NAME, + /* A template. The left subtree is a template name, and the right + subtree is a template argument list. */ + DEMANGLE_COMPONENT_TEMPLATE, + /* A template parameter. This holds a number, which is the template + parameter index. */ + DEMANGLE_COMPONENT_TEMPLATE_PARAM, + /* A function parameter. This holds a number, which is the index. */ + DEMANGLE_COMPONENT_FUNCTION_PARAM, + /* A constructor. This holds a name and the kind of + constructor. */ + DEMANGLE_COMPONENT_CTOR, + /* A destructor. This holds a name and the kind of destructor. */ + DEMANGLE_COMPONENT_DTOR, + /* A vtable. This has one subtree, the type for which this is a + vtable. */ + DEMANGLE_COMPONENT_VTABLE, + /* A VTT structure. This has one subtree, the type for which this + is a VTT. */ + DEMANGLE_COMPONENT_VTT, + /* A construction vtable. The left subtree is the type for which + this is a vtable, and the right subtree is the derived type for + which this vtable is built. */ + DEMANGLE_COMPONENT_CONSTRUCTION_VTABLE, + /* A typeinfo structure. This has one subtree, the type for which + this is the tpeinfo structure. */ + DEMANGLE_COMPONENT_TYPEINFO, + /* A typeinfo name. This has one subtree, the type for which this + is the typeinfo name. */ + DEMANGLE_COMPONENT_TYPEINFO_NAME, + /* A typeinfo function. This has one subtree, the type for which + this is the tpyeinfo function. */ + DEMANGLE_COMPONENT_TYPEINFO_FN, + /* A thunk. This has one subtree, the name for which this is a + thunk. */ + DEMANGLE_COMPONENT_THUNK, + /* A virtual thunk. This has one subtree, the name for which this + is a virtual thunk. */ + DEMANGLE_COMPONENT_VIRTUAL_THUNK, + /* A covariant thunk. This has one subtree, the name for which this + is a covariant thunk. */ + DEMANGLE_COMPONENT_COVARIANT_THUNK, + /* A Java class. This has one subtree, the type. */ + DEMANGLE_COMPONENT_JAVA_CLASS, + /* A guard variable. This has one subtree, the name for which this + is a guard variable. */ + DEMANGLE_COMPONENT_GUARD, + /* The init and wrapper functions for C++11 thread_local variables. */ + DEMANGLE_COMPONENT_TLS_INIT, + DEMANGLE_COMPONENT_TLS_WRAPPER, + /* A reference temporary. This has one subtree, the name for which + this is a temporary. */ + DEMANGLE_COMPONENT_REFTEMP, + /* A hidden alias. This has one subtree, the encoding for which it + is providing alternative linkage. */ + DEMANGLE_COMPONENT_HIDDEN_ALIAS, + /* A standard substitution. This holds the name of the + substitution. */ + DEMANGLE_COMPONENT_SUB_STD, + /* The restrict qualifier. The one subtree is the type which is + being qualified. */ + DEMANGLE_COMPONENT_RESTRICT, + /* The volatile qualifier. The one subtree is the type which is + being qualified. */ + DEMANGLE_COMPONENT_VOLATILE, + /* The const qualifier. The one subtree is the type which is being + qualified. */ + DEMANGLE_COMPONENT_CONST, + /* The restrict qualifier modifying a member function. The one + subtree is the type which is being qualified. */ + DEMANGLE_COMPONENT_RESTRICT_THIS, + /* The volatile qualifier modifying a member function. The one + subtree is the type which is being qualified. */ + DEMANGLE_COMPONENT_VOLATILE_THIS, + /* The const qualifier modifying a member function. The one subtree + is the type which is being qualified. */ + DEMANGLE_COMPONENT_CONST_THIS, + /* C++11 A reference modifying a member function. The one subtree is the + type which is being referenced. */ + DEMANGLE_COMPONENT_REFERENCE_THIS, + /* C++11: An rvalue reference modifying a member function. The one + subtree is the type which is being referenced. */ + DEMANGLE_COMPONENT_RVALUE_REFERENCE_THIS, + /* A vendor qualifier. The left subtree is the type which is being + qualified, and the right subtree is the name of the + qualifier. */ + DEMANGLE_COMPONENT_VENDOR_TYPE_QUAL, + /* A pointer. The one subtree is the type which is being pointed + to. */ + DEMANGLE_COMPONENT_POINTER, + /* A reference. The one subtree is the type which is being + referenced. */ + DEMANGLE_COMPONENT_REFERENCE, + /* C++0x: An rvalue reference. The one subtree is the type which is + being referenced. */ + DEMANGLE_COMPONENT_RVALUE_REFERENCE, + /* A complex type. The one subtree is the base type. */ + DEMANGLE_COMPONENT_COMPLEX, + /* An imaginary type. The one subtree is the base type. */ + DEMANGLE_COMPONENT_IMAGINARY, + /* A builtin type. This holds the builtin type information. */ + DEMANGLE_COMPONENT_BUILTIN_TYPE, + /* A vendor's builtin type. This holds the name of the type. */ + DEMANGLE_COMPONENT_VENDOR_TYPE, + /* A function type. The left subtree is the return type. The right + subtree is a list of ARGLIST nodes. Either or both may be + NULL. */ + DEMANGLE_COMPONENT_FUNCTION_TYPE, + /* An array type. The left subtree is the dimension, which may be + NULL, or a string (represented as DEMANGLE_COMPONENT_NAME), or an + expression. The right subtree is the element type. */ + DEMANGLE_COMPONENT_ARRAY_TYPE, + /* A pointer to member type. The left subtree is the class type, + and the right subtree is the member type. CV-qualifiers appear + on the latter. */ + DEMANGLE_COMPONENT_PTRMEM_TYPE, + /* A fixed-point type. */ + DEMANGLE_COMPONENT_FIXED_TYPE, + /* A vector type. The left subtree is the number of elements, + the right subtree is the element type. */ + DEMANGLE_COMPONENT_VECTOR_TYPE, + /* An argument list. The left subtree is the current argument, and + the right subtree is either NULL or another ARGLIST node. */ + DEMANGLE_COMPONENT_ARGLIST, + /* A template argument list. The left subtree is the current + template argument, and the right subtree is either NULL or + another TEMPLATE_ARGLIST node. */ + DEMANGLE_COMPONENT_TEMPLATE_ARGLIST, + /* An initializer list. The left subtree is either an explicit type or + NULL, and the right subtree is a DEMANGLE_COMPONENT_ARGLIST. */ + DEMANGLE_COMPONENT_INITIALIZER_LIST, + /* An operator. This holds information about a standard + operator. */ + DEMANGLE_COMPONENT_OPERATOR, + /* An extended operator. This holds the number of arguments, and + the name of the extended operator. */ + DEMANGLE_COMPONENT_EXTENDED_OPERATOR, + /* A typecast, represented as a unary operator. The one subtree is + the type to which the argument should be cast. */ + DEMANGLE_COMPONENT_CAST, + /* A nullary expression. The left subtree is the operator. */ + DEMANGLE_COMPONENT_NULLARY, + /* A unary expression. The left subtree is the operator, and the + right subtree is the single argument. */ + DEMANGLE_COMPONENT_UNARY, + /* A binary expression. The left subtree is the operator, and the + right subtree is a BINARY_ARGS. */ + DEMANGLE_COMPONENT_BINARY, + /* Arguments to a binary expression. The left subtree is the first + argument, and the right subtree is the second argument. */ + DEMANGLE_COMPONENT_BINARY_ARGS, + /* A trinary expression. The left subtree is the operator, and the + right subtree is a TRINARY_ARG1. */ + DEMANGLE_COMPONENT_TRINARY, + /* Arguments to a trinary expression. The left subtree is the first + argument, and the right subtree is a TRINARY_ARG2. */ + DEMANGLE_COMPONENT_TRINARY_ARG1, + /* More arguments to a trinary expression. The left subtree is the + second argument, and the right subtree is the third argument. */ + DEMANGLE_COMPONENT_TRINARY_ARG2, + /* A literal. The left subtree is the type, and the right subtree + is the value, represented as a DEMANGLE_COMPONENT_NAME. */ + DEMANGLE_COMPONENT_LITERAL, + /* A negative literal. Like LITERAL, but the value is negated. + This is a minor hack: the NAME used for LITERAL points directly + to the mangled string, but since negative numbers are mangled + using 'n' instead of '-', we want a way to indicate a negative + number which involves neither modifying the mangled string nor + allocating a new copy of the literal in memory. */ + DEMANGLE_COMPONENT_LITERAL_NEG, + /* A libgcj compiled resource. The left subtree is the name of the + resource. */ + DEMANGLE_COMPONENT_JAVA_RESOURCE, + /* A name formed by the concatenation of two parts. The left + subtree is the first part and the right subtree the second. */ + DEMANGLE_COMPONENT_COMPOUND_NAME, + /* A name formed by a single character. */ + DEMANGLE_COMPONENT_CHARACTER, + /* A number. */ + DEMANGLE_COMPONENT_NUMBER, + /* A decltype type. */ + DEMANGLE_COMPONENT_DECLTYPE, + /* Global constructors keyed to name. */ + DEMANGLE_COMPONENT_GLOBAL_CONSTRUCTORS, + /* Global destructors keyed to name. */ + DEMANGLE_COMPONENT_GLOBAL_DESTRUCTORS, + /* A lambda closure type. */ + DEMANGLE_COMPONENT_LAMBDA, + /* A default argument scope. */ + DEMANGLE_COMPONENT_DEFAULT_ARG, + /* An unnamed type. */ + DEMANGLE_COMPONENT_UNNAMED_TYPE, + /* A transactional clone. This has one subtree, the encoding for + which it is providing alternative linkage. */ + DEMANGLE_COMPONENT_TRANSACTION_CLONE, + /* A non-transactional clone entry point. In the i386/x86_64 abi, + the unmangled symbol of a tm_callable becomes a thunk and the + non-transactional function version is mangled thus. */ + DEMANGLE_COMPONENT_NONTRANSACTION_CLONE, + /* A pack expansion. */ + DEMANGLE_COMPONENT_PACK_EXPANSION, + /* A name with an ABI tag. */ + DEMANGLE_COMPONENT_TAGGED_NAME, + /* A cloned function. */ + DEMANGLE_COMPONENT_CLONE +}; + +/* Types which are only used internally. */ + +struct demangle_operator_info; +struct demangle_builtin_type_info; + +/* A node in the tree representation is an instance of a struct + demangle_component. Note that the field names of the struct are + not well protected against macros defined by the file including + this one. We can fix this if it ever becomes a problem. */ + +struct demangle_component +{ + /* The type of this component. */ + enum demangle_component_type type; + + union + { + /* For DEMANGLE_COMPONENT_NAME. */ + struct + { + /* A pointer to the name (which need not NULL terminated) and + its length. */ + const char *s; + int len; + } s_name; + + /* For DEMANGLE_COMPONENT_OPERATOR. */ + struct + { + /* Operator. */ + const struct demangle_operator_info *op; + } s_operator; + + /* For DEMANGLE_COMPONENT_EXTENDED_OPERATOR. */ + struct + { + /* Number of arguments. */ + int args; + /* Name. */ + struct demangle_component *name; + } s_extended_operator; + + /* For DEMANGLE_COMPONENT_FIXED_TYPE. */ + struct + { + /* The length, indicated by a C integer type name. */ + struct demangle_component *length; + /* _Accum or _Fract? */ + short accum; + /* Saturating or not? */ + short sat; + } s_fixed; + + /* For DEMANGLE_COMPONENT_CTOR. */ + struct + { + /* Kind of constructor. */ + enum gnu_v3_ctor_kinds kind; + /* Name. */ + struct demangle_component *name; + } s_ctor; + + /* For DEMANGLE_COMPONENT_DTOR. */ + struct + { + /* Kind of destructor. */ + enum gnu_v3_dtor_kinds kind; + /* Name. */ + struct demangle_component *name; + } s_dtor; + + /* For DEMANGLE_COMPONENT_BUILTIN_TYPE. */ + struct + { + /* Builtin type. */ + const struct demangle_builtin_type_info *type; + } s_builtin; + + /* For DEMANGLE_COMPONENT_SUB_STD. */ + struct + { + /* Standard substitution string. */ + const char* string; + /* Length of string. */ + int len; + } s_string; + + /* For DEMANGLE_COMPONENT_*_PARAM. */ + struct + { + /* Parameter index. */ + long number; + } s_number; + + /* For DEMANGLE_COMPONENT_CHARACTER. */ + struct + { + int character; + } s_character; + + /* For other types. */ + struct + { + /* Left (or only) subtree. */ + struct demangle_component *left; + /* Right subtree. */ + struct demangle_component *right; + } s_binary; + + struct + { + /* subtree, same place as d_left. */ + struct demangle_component *sub; + /* integer. */ + int num; + } s_unary_num; + + } u; +}; + +/* People building mangled trees are expected to allocate instances of + struct demangle_component themselves. They can then call one of + the following functions to fill them in. */ + +/* Fill in most component types with a left subtree and a right + subtree. Returns non-zero on success, zero on failure, such as an + unrecognized or inappropriate component type. */ + +extern int +cplus_demangle_fill_component (struct demangle_component *fill, + enum demangle_component_type, + struct demangle_component *left, + struct demangle_component *right); + +/* Fill in a DEMANGLE_COMPONENT_NAME. Returns non-zero on success, + zero for bad arguments. */ + +extern int +cplus_demangle_fill_name (struct demangle_component *fill, + const char *, int); + +/* Fill in a DEMANGLE_COMPONENT_BUILTIN_TYPE, using the name of the + builtin type (e.g., "int", etc.). Returns non-zero on success, + zero if the type is not recognized. */ + +extern int +cplus_demangle_fill_builtin_type (struct demangle_component *fill, + const char *type_name); + +/* Fill in a DEMANGLE_COMPONENT_OPERATOR, using the name of the + operator and the number of arguments which it takes (the latter is + used to disambiguate operators which can be both binary and unary, + such as '-'). Returns non-zero on success, zero if the operator is + not recognized. */ + +extern int +cplus_demangle_fill_operator (struct demangle_component *fill, + const char *opname, int args); + +/* Fill in a DEMANGLE_COMPONENT_EXTENDED_OPERATOR, providing the + number of arguments and the name. Returns non-zero on success, + zero for bad arguments. */ + +extern int +cplus_demangle_fill_extended_operator (struct demangle_component *fill, + int numargs, + struct demangle_component *nm); + +/* Fill in a DEMANGLE_COMPONENT_CTOR. Returns non-zero on success, + zero for bad arguments. */ + +extern int +cplus_demangle_fill_ctor (struct demangle_component *fill, + enum gnu_v3_ctor_kinds kind, + struct demangle_component *name); + +/* Fill in a DEMANGLE_COMPONENT_DTOR. Returns non-zero on success, + zero for bad arguments. */ + +extern int +cplus_demangle_fill_dtor (struct demangle_component *fill, + enum gnu_v3_dtor_kinds kind, + struct demangle_component *name); + +/* This function translates a mangled name into a struct + demangle_component tree. The first argument is the mangled name. + The second argument is DMGL_* options. This returns a pointer to a + tree on success, or NULL on failure. On success, the third + argument is set to a block of memory allocated by malloc. This + block should be passed to free when the tree is no longer + needed. */ + +extern struct demangle_component * +cplus_demangle_v3_components (const char *mangled, int options, void **mem); + +/* This function takes a struct demangle_component tree and returns + the corresponding demangled string. The first argument is DMGL_* + options. The second is the tree to demangle. The third is a guess + at the length of the demangled string, used to initially allocate + the return buffer. The fourth is a pointer to a size_t. On + success, this function returns a buffer allocated by malloc(), and + sets the size_t pointed to by the fourth argument to the size of + the allocated buffer (not the length of the returned string). On + failure, this function returns NULL, and sets the size_t pointed to + by the fourth argument to 0 for an invalid tree, or to 1 for a + memory allocation error. */ + +extern char * +cplus_demangle_print (int options, + const struct demangle_component *tree, + int estimated_length, + size_t *p_allocated_size); + +/* This function takes a struct demangle_component tree and passes back + a demangled string in one or more calls to a callback function. + The first argument is DMGL_* options. The second is the tree to + demangle. The third is a pointer to a callback function; on each call + this receives an element of the demangled string, its length, and an + opaque value. The fourth is the opaque value passed to the callback. + The callback is called once or more to return the full demangled + string. The demangled element string is always nul-terminated, though + its length is also provided for convenience. In contrast to + cplus_demangle_print(), this function does not allocate heap memory + to grow output strings (except perhaps where alloca() is implemented + by malloc()), and so is normally safe for use where the heap has been + corrupted. On success, this function returns 1; on failure, 0. */ + +extern int +cplus_demangle_print_callback (int options, + const struct demangle_component *tree, + demangle_callbackref callback, void *opaque); + +#ifdef __cplusplus +} +#endif /* __cplusplus */ + +#endif /* DEMANGLE_H */ diff --git a/hardware/tools/avr/include/libiberty/dyn-string.h b/hardware/tools/avr/include/libiberty/dyn-string.h new file mode 100644 index 0000000000000000000000000000000000000000..7c3684b7cf8a3ec89fb1ba29463ddf7c3da2fc63 --- /dev/null +++ b/hardware/tools/avr/include/libiberty/dyn-string.h @@ -0,0 +1,72 @@ +/* An abstract string datatype. + Copyright (C) 1998-2015 Free Software Foundation, Inc. + Contributed by Mark Mitchell (mark@markmitchell.com). + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with GCC; see the file COPYING. If not, write to +the Free Software Foundation, 51 Franklin Street - Fifth Floor, +Boston, MA 02110-1301, USA. */ + +#ifndef DYN_STRING_H +#define DYN_STRING_H + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct dyn_string +{ + int allocated; /* The amount of space allocated for the string. */ + int length; /* The actual length of the string. */ + char *s; /* The string itself, NUL-terminated. */ +}* dyn_string_t; + +/* The length STR, in bytes, not including the terminating NUL. */ +#define dyn_string_length(STR) \ + ((STR)->length) + +/* The NTBS in which the contents of STR are stored. */ +#define dyn_string_buf(STR) \ + ((STR)->s) + +/* Compare DS1 to DS2 with strcmp. */ +#define dyn_string_compare(DS1, DS2) \ + (strcmp ((DS1)->s, (DS2)->s)) + + +extern int dyn_string_init (struct dyn_string *, int); +extern dyn_string_t dyn_string_new (int); +extern void dyn_string_delete (dyn_string_t); +extern char *dyn_string_release (dyn_string_t); +extern dyn_string_t dyn_string_resize (dyn_string_t, int); +extern void dyn_string_clear (dyn_string_t); +extern int dyn_string_copy (dyn_string_t, dyn_string_t); +extern int dyn_string_copy_cstr (dyn_string_t, const char *); +extern int dyn_string_prepend (dyn_string_t, dyn_string_t); +extern int dyn_string_prepend_cstr (dyn_string_t, const char *); +extern int dyn_string_insert (dyn_string_t, int, dyn_string_t); +extern int dyn_string_insert_cstr (dyn_string_t, int, const char *); +extern int dyn_string_insert_char (dyn_string_t, int, int); +extern int dyn_string_append (dyn_string_t, dyn_string_t); +extern int dyn_string_append_cstr (dyn_string_t, const char *); +extern int dyn_string_append_char (dyn_string_t, int); +extern int dyn_string_substring (dyn_string_t, dyn_string_t, int, int); +extern int dyn_string_eq (dyn_string_t, dyn_string_t); + +#ifdef __cplusplus +} +#endif + +#endif /* !defined (DYN_STRING_H) */ diff --git a/hardware/tools/avr/include/libiberty/fibheap.h b/hardware/tools/avr/include/libiberty/fibheap.h new file mode 100644 index 0000000000000000000000000000000000000000..85b10c58b60af1fd32394f9dc5e51c289b3aff76 --- /dev/null +++ b/hardware/tools/avr/include/libiberty/fibheap.h @@ -0,0 +1,94 @@ +/* A Fibonacci heap datatype. + Copyright (C) 1998-2015 Free Software Foundation, Inc. + Contributed by Daniel Berlin (dan@cgsoftware.com). + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify it +under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with GCC; see the file COPYING. If not, write to +the Free Software Foundation, 51 Franklin Street - Fifth Floor, +Boston, MA 02110-1301, USA. */ + +/* Fibonacci heaps are somewhat complex, but, there's an article in + DDJ that explains them pretty well: + + http://www.ddj.com/articles/1997/9701/9701o/9701o.htm?topic=algoritms + + Introduction to algorithms by Corman and Rivest also goes over them. + + The original paper that introduced them is "Fibonacci heaps and their + uses in improved network optimization algorithms" by Tarjan and + Fredman (JACM 34(3), July 1987). + + Amortized and real worst case time for operations: + + ExtractMin: O(lg n) amortized. O(n) worst case. + DecreaseKey: O(1) amortized. O(lg n) worst case. + Insert: O(2) amortized. O(1) actual. + Union: O(1) amortized. O(1) actual. */ + +#ifndef _FIBHEAP_H_ +#define _FIBHEAP_H_ + +#include "ansidecl.h" + +#ifdef __cplusplus +extern "C" { +#endif + +typedef long fibheapkey_t; + +typedef struct fibheap +{ + size_t nodes; + struct fibnode *min; + struct fibnode *root; +} *fibheap_t; + +typedef struct fibnode +{ + struct fibnode *parent; + struct fibnode *child; + struct fibnode *left; + struct fibnode *right; + fibheapkey_t key; + void *data; +#if defined (__GNUC__) && (!defined (SIZEOF_INT) || SIZEOF_INT < 4) + __extension__ unsigned long int degree : 31; + __extension__ unsigned long int mark : 1; +#else + unsigned int degree : 31; + unsigned int mark : 1; +#endif +} *fibnode_t; + +extern fibheap_t fibheap_new (void); +extern fibnode_t fibheap_insert (fibheap_t, fibheapkey_t, void *); +extern int fibheap_empty (fibheap_t); +extern fibheapkey_t fibheap_min_key (fibheap_t); +extern fibheapkey_t fibheap_replace_key (fibheap_t, fibnode_t, + fibheapkey_t); +extern void *fibheap_replace_key_data (fibheap_t, fibnode_t, + fibheapkey_t, void *); +extern void *fibheap_extract_min (fibheap_t); +extern void *fibheap_min (fibheap_t); +extern void *fibheap_replace_data (fibheap_t, fibnode_t, void *); +extern void *fibheap_delete_node (fibheap_t, fibnode_t); +extern void fibheap_delete (fibheap_t); +extern fibheap_t fibheap_union (fibheap_t, fibheap_t); + +#ifdef __cplusplus +} +#endif + +#endif /* _FIBHEAP_H_ */ diff --git a/hardware/tools/avr/include/libiberty/floatformat.h b/hardware/tools/avr/include/libiberty/floatformat.h new file mode 100644 index 0000000000000000000000000000000000000000..af4d09cb86a9dd9dc42367ce7002e524c90e2ad9 --- /dev/null +++ b/hardware/tools/avr/include/libiberty/floatformat.h @@ -0,0 +1,159 @@ +/* IEEE floating point support declarations, for GDB, the GNU Debugger. + Copyright (C) 1991-2015 Free Software Foundation, Inc. + +This file is part of GDB. + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ + +#if !defined (FLOATFORMAT_H) +#define FLOATFORMAT_H 1 + +#include "ansidecl.h" + +#ifdef __cplusplus +extern "C" { +#endif + +/* A floatformat consists of a sign bit, an exponent and a mantissa. Once the + bytes are concatenated according to the byteorder flag, then each of those + fields is contiguous. We number the bits with 0 being the most significant + (i.e. BITS_BIG_ENDIAN type numbering), and specify which bits each field + contains with the *_start and *_len fields. */ + +/* What is the order of the bytes? */ + +enum floatformat_byteorders { + /* Standard little endian byte order. + EX: 1.2345678e10 => 00 00 80 c5 e0 fe 06 42 */ + floatformat_little, + + /* Standard big endian byte order. + EX: 1.2345678e10 => 42 06 fe e0 c5 80 00 00 */ + floatformat_big, + + /* Little endian byte order but big endian word order. + EX: 1.2345678e10 => e0 fe 06 42 00 00 80 c5 */ + floatformat_littlebyte_bigword, + + /* VAX byte order. Little endian byte order with 16-bit words. The + following example is an illustration of the byte order only; VAX + doesn't have a fully IEEE compliant floating-point format. + EX: 1.2345678e10 => 80 c5 00 00 06 42 e0 fe */ + floatformat_vax +}; + +enum floatformat_intbit { floatformat_intbit_yes, floatformat_intbit_no }; + +struct floatformat +{ + enum floatformat_byteorders byteorder; + unsigned int totalsize; /* Total size of number in bits */ + + /* Sign bit is always one bit long. 1 means negative, 0 means positive. */ + unsigned int sign_start; + + unsigned int exp_start; + unsigned int exp_len; + /* Bias added to a "true" exponent to form the biased exponent. It + is intentionally signed as, otherwize, -exp_bias can turn into a + very large number (e.g., given the exp_bias of 0x3fff and a 64 + bit long, the equation (long)(1 - exp_bias) evaluates to + 4294950914) instead of -16382). */ + int exp_bias; + /* Exponent value which indicates NaN. This is the actual value stored in + the float, not adjusted by the exp_bias. This usually consists of all + one bits. */ + unsigned int exp_nan; + + unsigned int man_start; + unsigned int man_len; + + /* Is the integer bit explicit or implicit? */ + enum floatformat_intbit intbit; + + /* Internal name for debugging. */ + const char *name; + + /* Validator method. */ + int (*is_valid) (const struct floatformat *fmt, const void *from); + + /* Is the format actually the sum of two smaller floating point + formats (IBM long double, as described in + gcc/config/rs6000/darwin-ldouble-format)? If so, this is the + smaller format in question, and the fields sign_start through + intbit describe the first half. If not, this is NULL. */ + const struct floatformat *split_half; +}; + +/* floatformats for IEEE single and double, big and little endian. */ + +extern const struct floatformat floatformat_ieee_half_big; +extern const struct floatformat floatformat_ieee_half_little; +extern const struct floatformat floatformat_ieee_single_big; +extern const struct floatformat floatformat_ieee_single_little; +extern const struct floatformat floatformat_ieee_double_big; +extern const struct floatformat floatformat_ieee_double_little; + +/* floatformat for ARM IEEE double, little endian bytes and big endian words */ + +extern const struct floatformat floatformat_ieee_double_littlebyte_bigword; + +/* floatformats for VAX. */ + +extern const struct floatformat floatformat_vax_f; +extern const struct floatformat floatformat_vax_d; +extern const struct floatformat floatformat_vax_g; + +/* floatformats for various extendeds. */ + +extern const struct floatformat floatformat_i387_ext; +extern const struct floatformat floatformat_m68881_ext; +extern const struct floatformat floatformat_i960_ext; +extern const struct floatformat floatformat_m88110_ext; +extern const struct floatformat floatformat_m88110_harris_ext; +extern const struct floatformat floatformat_arm_ext_big; +extern const struct floatformat floatformat_arm_ext_littlebyte_bigword; +/* IA-64 Floating Point register spilt into memory. */ +extern const struct floatformat floatformat_ia64_spill_big; +extern const struct floatformat floatformat_ia64_spill_little; +extern const struct floatformat floatformat_ia64_quad_big; +extern const struct floatformat floatformat_ia64_quad_little; +/* IBM long double (double+double). */ +extern const struct floatformat floatformat_ibm_long_double_big; +extern const struct floatformat floatformat_ibm_long_double_little; + +/* Convert from FMT to a double. + FROM is the address of the extended float. + Store the double in *TO. */ + +extern void +floatformat_to_double (const struct floatformat *, const void *, double *); + +/* The converse: convert the double *FROM to FMT + and store where TO points. */ + +extern void +floatformat_from_double (const struct floatformat *, const double *, void *); + +/* Return non-zero iff the data at FROM is a valid number in format FMT. */ + +extern int +floatformat_is_valid (const struct floatformat *fmt, const void *from); + +#ifdef __cplusplus +} +#endif + +#endif /* defined (FLOATFORMAT_H) */ diff --git a/hardware/tools/avr/include/libiberty/hashtab.h b/hardware/tools/avr/include/libiberty/hashtab.h new file mode 100644 index 0000000000000000000000000000000000000000..b1b5877aae7ca83dd2f04cc050c352b82e4a8d35 --- /dev/null +++ b/hardware/tools/avr/include/libiberty/hashtab.h @@ -0,0 +1,204 @@ +/* An expandable hash tables datatype. + Copyright (C) 1999-2015 Free Software Foundation, Inc. + Contributed by Vladimir Makarov (vmakarov@cygnus.com). + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ + +/* This package implements basic hash table functionality. It is possible + to search for an entry, create an entry and destroy an entry. + + Elements in the table are generic pointers. + + The size of the table is not fixed; if the occupancy of the table + grows too high the hash table will be expanded. + + The abstract data implementation is based on generalized Algorithm D + from Knuth's book "The art of computer programming". Hash table is + expanded by creation of new hash table and transferring elements from + the old table to the new table. */ + +#ifndef __HASHTAB_H__ +#define __HASHTAB_H__ + +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + +#include "ansidecl.h" + +/* The type for a hash code. */ +typedef unsigned int hashval_t; + +/* Callback function pointer types. */ + +/* Calculate hash of a table entry. */ +typedef hashval_t (*htab_hash) (const void *); + +/* Compare a table entry with a possible entry. The entry already in + the table always comes first, so the second element can be of a + different type (but in this case htab_find and htab_find_slot + cannot be used; instead the variants that accept a hash value + must be used). */ +typedef int (*htab_eq) (const void *, const void *); + +/* Cleanup function called whenever a live element is removed from + the hash table. */ +typedef void (*htab_del) (void *); + +/* Function called by htab_traverse for each live element. The first + arg is the slot of the element (which can be passed to htab_clear_slot + if desired), the second arg is the auxiliary pointer handed to + htab_traverse. Return 1 to continue scan, 0 to stop. */ +typedef int (*htab_trav) (void **, void *); + +/* Memory-allocation function, with the same functionality as calloc(). + Iff it returns NULL, the hash table implementation will pass an error + code back to the user, so if your code doesn't handle errors, + best if you use xcalloc instead. */ +typedef void *(*htab_alloc) (size_t, size_t); + +/* We also need a free() routine. */ +typedef void (*htab_free) (void *); + +/* Memory allocation and deallocation; variants which take an extra + argument. */ +typedef void *(*htab_alloc_with_arg) (void *, size_t, size_t); +typedef void (*htab_free_with_arg) (void *, void *); + +/* This macro defines reserved value for empty table entry. */ + +#define HTAB_EMPTY_ENTRY ((PTR) 0) + +/* This macro defines reserved value for table entry which contained + a deleted element. */ + +#define HTAB_DELETED_ENTRY ((PTR) 1) + +/* Hash tables are of the following type. The structure + (implementation) of this type is not needed for using the hash + tables. All work with hash table should be executed only through + functions mentioned below. The size of this structure is subject to + change. */ + +struct htab { + /* Pointer to hash function. */ + htab_hash hash_f; + + /* Pointer to comparison function. */ + htab_eq eq_f; + + /* Pointer to cleanup function. */ + htab_del del_f; + + /* Table itself. */ + void **entries; + + /* Current size (in entries) of the hash table. */ + size_t size; + + /* Current number of elements including also deleted elements. */ + size_t n_elements; + + /* Current number of deleted elements in the table. */ + size_t n_deleted; + + /* The following member is used for debugging. Its value is number + of all calls of `htab_find_slot' for the hash table. */ + unsigned int searches; + + /* The following member is used for debugging. Its value is number + of collisions fixed for time of work with the hash table. */ + unsigned int collisions; + + /* Pointers to allocate/free functions. */ + htab_alloc alloc_f; + htab_free free_f; + + /* Alternate allocate/free functions, which take an extra argument. */ + void *alloc_arg; + htab_alloc_with_arg alloc_with_arg_f; + htab_free_with_arg free_with_arg_f; + + /* Current size (in entries) of the hash table, as an index into the + table of primes. */ + unsigned int size_prime_index; +}; + +typedef struct htab *htab_t; + +/* An enum saying whether we insert into the hash table or not. */ +enum insert_option {NO_INSERT, INSERT}; + +/* The prototypes of the package functions. */ + +extern htab_t htab_create_alloc (size_t, htab_hash, + htab_eq, htab_del, + htab_alloc, htab_free); + +extern htab_t htab_create_alloc_ex (size_t, htab_hash, + htab_eq, htab_del, + void *, htab_alloc_with_arg, + htab_free_with_arg); + +extern htab_t htab_create_typed_alloc (size_t, htab_hash, htab_eq, htab_del, + htab_alloc, htab_alloc, htab_free); + +/* Backward-compatibility functions. */ +extern htab_t htab_create (size_t, htab_hash, htab_eq, htab_del); +extern htab_t htab_try_create (size_t, htab_hash, htab_eq, htab_del); + +extern void htab_set_functions_ex (htab_t, htab_hash, + htab_eq, htab_del, + void *, htab_alloc_with_arg, + htab_free_with_arg); + +extern void htab_delete (htab_t); +extern void htab_empty (htab_t); + +extern void * htab_find (htab_t, const void *); +extern void ** htab_find_slot (htab_t, const void *, enum insert_option); +extern void * htab_find_with_hash (htab_t, const void *, hashval_t); +extern void ** htab_find_slot_with_hash (htab_t, const void *, + hashval_t, enum insert_option); +extern void htab_clear_slot (htab_t, void **); +extern void htab_remove_elt (htab_t, void *); +extern void htab_remove_elt_with_hash (htab_t, void *, hashval_t); + +extern void htab_traverse (htab_t, htab_trav, void *); +extern void htab_traverse_noresize (htab_t, htab_trav, void *); + +extern size_t htab_size (htab_t); +extern size_t htab_elements (htab_t); +extern double htab_collisions (htab_t); + +/* A hash function for pointers. */ +extern htab_hash htab_hash_pointer; + +/* An equality function for pointers. */ +extern htab_eq htab_eq_pointer; + +/* A hash function for null-terminated strings. */ +extern hashval_t htab_hash_string (const void *); + +/* An iterative hash function for arbitrary data. */ +extern hashval_t iterative_hash (const void *, size_t, hashval_t); +/* Shorthand for hashing something with an intrinsic size. */ +#define iterative_hash_object(OB,INIT) iterative_hash (&OB, sizeof (OB), INIT) + +#ifdef __cplusplus +} +#endif /* __cplusplus */ + +#endif /* __HASHTAB_H */ diff --git a/hardware/tools/avr/include/libiberty/libiberty.h b/hardware/tools/avr/include/libiberty/libiberty.h new file mode 100644 index 0000000000000000000000000000000000000000..8e096a0db0cf10119debb9057744b2a24e8390c5 --- /dev/null +++ b/hardware/tools/avr/include/libiberty/libiberty.h @@ -0,0 +1,739 @@ +/* Function declarations for libiberty. + + Copyright (C) 1997-2015 Free Software Foundation, Inc. + + Note - certain prototypes declared in this header file are for + functions whoes implementation copyright does not belong to the + FSF. Those prototypes are present in this file for reference + purposes only and their presence in this file should not construed + as an indication of ownership by the FSF of the implementation of + those functions in any way or form whatsoever. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1301, USA. + + Written by Cygnus Support, 1994. + + The libiberty library provides a number of functions which are + missing on some operating systems. We do not declare those here, + to avoid conflicts with the system header files on operating + systems that do support those functions. In this file we only + declare those functions which are specific to libiberty. */ + +#ifndef LIBIBERTY_H +#define LIBIBERTY_H + +#ifdef __cplusplus +extern "C" { +#endif + +#include "ansidecl.h" + +/* Get a definition for size_t. */ +#include +/* Get a definition for va_list. */ +#include + +#include + +/* If the OS supports it, ensure that the supplied stream is setup to + avoid any multi-threaded locking. Otherwise leave the FILE pointer + unchanged. If the stream is NULL do nothing. */ + +extern void unlock_stream (FILE *); + +/* If the OS supports it, ensure that the standard I/O streams, stdin, + stdout and stderr are setup to avoid any multi-threaded locking. + Otherwise do nothing. */ + +extern void unlock_std_streams (void); + +/* Open and return a FILE pointer. If the OS supports it, ensure that + the stream is setup to avoid any multi-threaded locking. Otherwise + return the FILE pointer unchanged. */ + +extern FILE *fopen_unlocked (const char *, const char *); +extern FILE *fdopen_unlocked (int, const char *); +extern FILE *freopen_unlocked (const char *, const char *, FILE *); + +/* Build an argument vector from a string. Allocates memory using + malloc. Use freeargv to free the vector. */ + +extern char **buildargv (const char *) ATTRIBUTE_MALLOC; + +/* Free a vector returned by buildargv. */ + +extern void freeargv (char **); + +/* Duplicate an argument vector. Allocates memory using malloc. Use + freeargv to free the vector. */ + +extern char **dupargv (char **) ATTRIBUTE_MALLOC; + +/* Expand "@file" arguments in argv. */ + +extern void expandargv (int *, char ***); + +/* Write argv to an @-file, inserting necessary quoting. */ + +extern int writeargv (char **, FILE *); + +/* Return the number of elements in argv. */ + +extern int countargv (char**); + +/* Return the last component of a path name. Note that we can't use a + prototype here because the parameter is declared inconsistently + across different systems, sometimes as "char *" and sometimes as + "const char *" */ + +/* HAVE_DECL_* is a three-state macro: undefined, 0 or 1. If it is + undefined, we haven't run the autoconf check so provide the + declaration without arguments. If it is 0, we checked and failed + to find the declaration so provide a fully prototyped one. If it + is 1, we found it so don't provide any declaration at all. */ +#if !HAVE_DECL_BASENAME +#if defined (__GNU_LIBRARY__ ) || defined (__linux__) \ + || defined (__FreeBSD__) || defined (__OpenBSD__) || defined (__NetBSD__) \ + || defined (__CYGWIN__) || defined (__CYGWIN32__) || defined (__MINGW32__) \ + || defined (__DragonFly__) || defined (HAVE_DECL_BASENAME) +extern char *basename (const char *) ATTRIBUTE_RETURNS_NONNULL ATTRIBUTE_NONNULL(1); +#else +/* Do not allow basename to be used if there is no prototype seen. We + either need to use the above prototype or have one from + autoconf which would result in HAVE_DECL_BASENAME being set. */ +#define basename basename_cannot_be_used_without_a_prototype +#endif +#endif + +/* A well-defined basename () that is always compiled in. */ + +extern const char *lbasename (const char *) ATTRIBUTE_RETURNS_NONNULL ATTRIBUTE_NONNULL(1); + +/* Same, but assumes DOS semantics (drive name, backslash is also a + dir separator) regardless of host. */ + +extern const char *dos_lbasename (const char *) ATTRIBUTE_RETURNS_NONNULL ATTRIBUTE_NONNULL(1); + +/* Same, but assumes Unix semantics (absolute paths always start with + a slash, only forward slash is accepted as dir separator) + regardless of host. */ + +extern const char *unix_lbasename (const char *) ATTRIBUTE_RETURNS_NONNULL ATTRIBUTE_NONNULL(1); + +/* A well-defined realpath () that is always compiled in. */ + +extern char *lrealpath (const char *); + +/* Concatenate an arbitrary number of strings. You must pass NULL as + the last argument of this function, to terminate the list of + strings. Allocates memory using xmalloc. */ + +extern char *concat (const char *, ...) ATTRIBUTE_MALLOC ATTRIBUTE_RETURNS_NONNULL ATTRIBUTE_SENTINEL; + +/* Concatenate an arbitrary number of strings. You must pass NULL as + the last argument of this function, to terminate the list of + strings. Allocates memory using xmalloc. The first argument is + not one of the strings to be concatenated, but if not NULL is a + pointer to be freed after the new string is created, similar to the + way xrealloc works. */ + +extern char *reconcat (char *, const char *, ...) ATTRIBUTE_MALLOC ATTRIBUTE_RETURNS_NONNULL ATTRIBUTE_SENTINEL; + +/* Determine the length of concatenating an arbitrary number of + strings. You must pass NULL as the last argument of this function, + to terminate the list of strings. */ + +extern unsigned long concat_length (const char *, ...) ATTRIBUTE_SENTINEL; + +/* Concatenate an arbitrary number of strings into a SUPPLIED area of + memory. You must pass NULL as the last argument of this function, + to terminate the list of strings. The supplied memory is assumed + to be large enough. */ + +extern char *concat_copy (char *, const char *, ...) ATTRIBUTE_RETURNS_NONNULL ATTRIBUTE_NONNULL(1) ATTRIBUTE_SENTINEL; + +/* Concatenate an arbitrary number of strings into a GLOBAL area of + memory. You must pass NULL as the last argument of this function, + to terminate the list of strings. The supplied memory is assumed + to be large enough. */ + +extern char *concat_copy2 (const char *, ...) ATTRIBUTE_RETURNS_NONNULL ATTRIBUTE_SENTINEL; + +/* This is the global area used by concat_copy2. */ + +extern char *libiberty_concat_ptr; + +/* Concatenate an arbitrary number of strings. You must pass NULL as + the last argument of this function, to terminate the list of + strings. Allocates memory using alloca. The arguments are + evaluated twice! */ +#define ACONCAT(ACONCAT_PARAMS) \ + (libiberty_concat_ptr = (char *) alloca (concat_length ACONCAT_PARAMS + 1), \ + concat_copy2 ACONCAT_PARAMS) + +/* Check whether two file descriptors refer to the same file. */ + +extern int fdmatch (int fd1, int fd2); + +/* Return the position of the first bit set in the argument. */ +/* Prototypes vary from system to system, so we only provide a + prototype on systems where we know that we need it. */ +#if defined (HAVE_DECL_FFS) && !HAVE_DECL_FFS +extern int ffs(int); +#endif + +/* Get the working directory. The result is cached, so don't call + chdir() between calls to getpwd(). */ + +extern char * getpwd (void); + +/* Get the current time. */ +/* Prototypes vary from system to system, so we only provide a + prototype on systems where we know that we need it. */ +#ifdef __MINGW32__ +/* Forward declaration to avoid #include . */ +struct timeval; +extern int gettimeofday (struct timeval *, void *); +#endif + +/* Get the amount of time the process has run, in microseconds. */ + +extern long get_run_time (void); + +/* Generate a relocated path to some installation directory. Allocates + return value using malloc. */ + +extern char *make_relative_prefix (const char *, const char *, + const char *) ATTRIBUTE_MALLOC; + +/* Generate a relocated path to some installation directory without + attempting to follow any soft links. Allocates + return value using malloc. */ + +extern char *make_relative_prefix_ignore_links (const char *, const char *, + const char *) ATTRIBUTE_MALLOC; + +/* Returns a pointer to a directory path suitable for creating temporary + files in. */ + +extern const char *choose_tmpdir (void) ATTRIBUTE_RETURNS_NONNULL; + +/* Choose a temporary directory to use for scratch files. */ + +extern char *choose_temp_base (void) ATTRIBUTE_MALLOC ATTRIBUTE_RETURNS_NONNULL; + +/* Return a temporary file name or NULL if unable to create one. */ + +extern char *make_temp_file (const char *) ATTRIBUTE_MALLOC; + +/* Remove a link to a file unless it is special. */ + +extern int unlink_if_ordinary (const char *); + +/* Allocate memory filled with spaces. Allocates using malloc. */ + +extern const char *spaces (int count); + +/* Return the maximum error number for which strerror will return a + string. */ + +extern int errno_max (void); + +/* Return the name of an errno value (e.g., strerrno (EINVAL) returns + "EINVAL"). */ + +extern const char *strerrno (int); + +/* Given the name of an errno value, return the value. */ + +extern int strtoerrno (const char *); + +/* ANSI's strerror(), but more robust. */ + +extern char *xstrerror (int) ATTRIBUTE_RETURNS_NONNULL; + +/* Return the maximum signal number for which strsignal will return a + string. */ + +extern int signo_max (void); + +/* Return a signal message string for a signal number + (e.g., strsignal (SIGHUP) returns something like "Hangup"). */ +/* This is commented out as it can conflict with one in system headers. + We still document its existence though. */ + +/*extern const char *strsignal (int);*/ + +/* Return the name of a signal number (e.g., strsigno (SIGHUP) returns + "SIGHUP"). */ + +extern const char *strsigno (int); + +/* Given the name of a signal, return its number. */ + +extern int strtosigno (const char *); + +/* Register a function to be run by xexit. Returns 0 on success. */ + +extern int xatexit (void (*fn) (void)); + +/* Exit, calling all the functions registered with xatexit. */ + +extern void xexit (int status) ATTRIBUTE_NORETURN; + +/* Set the program name used by xmalloc. */ + +extern void xmalloc_set_program_name (const char *); + +/* Report an allocation failure. */ +extern void xmalloc_failed (size_t) ATTRIBUTE_NORETURN; + +/* Allocate memory without fail. If malloc fails, this will print a + message to stderr (using the name set by xmalloc_set_program_name, + if any) and then call xexit. */ + +extern void *xmalloc (size_t) ATTRIBUTE_MALLOC ATTRIBUTE_RETURNS_NONNULL; + +/* Reallocate memory without fail. This works like xmalloc. Note, + realloc type functions are not suitable for attribute malloc since + they may return the same address across multiple calls. */ + +extern void *xrealloc (void *, size_t) ATTRIBUTE_RETURNS_NONNULL; + +/* Allocate memory without fail and set it to zero. This works like + xmalloc. */ + +extern void *xcalloc (size_t, size_t) ATTRIBUTE_MALLOC ATTRIBUTE_RETURNS_NONNULL; + +/* Copy a string into a memory buffer without fail. */ + +extern char *xstrdup (const char *) ATTRIBUTE_MALLOC ATTRIBUTE_RETURNS_NONNULL; + +/* Copy at most N characters from string into a buffer without fail. */ + +extern char *xstrndup (const char *, size_t) ATTRIBUTE_MALLOC ATTRIBUTE_RETURNS_NONNULL; + +/* Copy an existing memory buffer to a new memory buffer without fail. */ + +extern void *xmemdup (const void *, size_t, size_t) ATTRIBUTE_MALLOC ATTRIBUTE_RETURNS_NONNULL; + +/* Physical memory routines. Return values are in BYTES. */ +extern double physmem_total (void); +extern double physmem_available (void); + +/* Compute the 32-bit CRC of a block of memory. */ +extern unsigned int xcrc32 (const unsigned char *, int, unsigned int); + +/* These macros provide a K&R/C89/C++-friendly way of allocating structures + with nice encapsulation. The XDELETE*() macros are technically + superfluous, but provided here for symmetry. Using them consistently + makes it easier to update client code to use different allocators such + as new/delete and new[]/delete[]. */ + +/* Scalar allocators. */ + +#define XALLOCA(T) ((T *) alloca (sizeof (T))) +#define XNEW(T) ((T *) xmalloc (sizeof (T))) +#define XCNEW(T) ((T *) xcalloc (1, sizeof (T))) +#define XDUP(T, P) ((T *) xmemdup ((P), sizeof (T), sizeof (T))) +#define XDELETE(P) free ((void*) (P)) + +/* Array allocators. */ + +#define XALLOCAVEC(T, N) ((T *) alloca (sizeof (T) * (N))) +#define XNEWVEC(T, N) ((T *) xmalloc (sizeof (T) * (N))) +#define XCNEWVEC(T, N) ((T *) xcalloc ((N), sizeof (T))) +#define XDUPVEC(T, P, N) ((T *) xmemdup ((P), sizeof (T) * (N), sizeof (T) * (N))) +#define XRESIZEVEC(T, P, N) ((T *) xrealloc ((void *) (P), sizeof (T) * (N))) +#define XDELETEVEC(P) free ((void*) (P)) + +/* Allocators for variable-sized structures and raw buffers. */ + +#define XALLOCAVAR(T, S) ((T *) alloca ((S))) +#define XNEWVAR(T, S) ((T *) xmalloc ((S))) +#define XCNEWVAR(T, S) ((T *) xcalloc (1, (S))) +#define XDUPVAR(T, P, S1, S2) ((T *) xmemdup ((P), (S1), (S2))) +#define XRESIZEVAR(T, P, S) ((T *) xrealloc ((P), (S))) + +/* Type-safe obstack allocator. */ + +#define XOBNEW(O, T) ((T *) obstack_alloc ((O), sizeof (T))) +#define XOBNEWVEC(O, T, N) ((T *) obstack_alloc ((O), sizeof (T) * (N))) +#define XOBNEWVAR(O, T, S) ((T *) obstack_alloc ((O), (S))) +#define XOBFINISH(O, T) ((T) obstack_finish ((O))) + +/* hex character manipulation routines */ + +#define _hex_array_size 256 +#define _hex_bad 99 +extern const unsigned char _hex_value[_hex_array_size]; +extern void hex_init (void); +#define hex_p(c) (hex_value (c) != _hex_bad) +/* If you change this, note well: Some code relies on side effects in + the argument being performed exactly once. */ +#define hex_value(c) ((unsigned int) _hex_value[(unsigned char) (c)]) + +/* Flags for pex_init. These are bits to be or'ed together. */ + +/* Record subprocess times, if possible. */ +#define PEX_RECORD_TIMES 0x1 + +/* Use pipes for communication between processes, if possible. */ +#define PEX_USE_PIPES 0x2 + +/* Save files used for communication between processes. */ +#define PEX_SAVE_TEMPS 0x4 + +/* Prepare to execute one or more programs, with standard output of + each program fed to standard input of the next. + FLAGS As above. + PNAME The name of the program to report in error messages. + TEMPBASE A base name to use for temporary files; may be NULL to + use a random name. + Returns NULL on error. */ + +extern struct pex_obj *pex_init (int flags, const char *pname, + const char *tempbase) ATTRIBUTE_RETURNS_NONNULL; + +/* Flags for pex_run. These are bits to be or'ed together. */ + +/* Last program in pipeline. Standard output of program goes to + OUTNAME, or, if OUTNAME is NULL, to standard output of caller. Do + not set this if you want to call pex_read_output. After this is + set, pex_run may no longer be called with the same struct + pex_obj. */ +#define PEX_LAST 0x1 + +/* Search for program in executable search path. */ +#define PEX_SEARCH 0x2 + +/* OUTNAME is a suffix. */ +#define PEX_SUFFIX 0x4 + +/* Send program's standard error to standard output. */ +#define PEX_STDERR_TO_STDOUT 0x8 + +/* Input file should be opened in binary mode. This flag is ignored + on Unix. */ +#define PEX_BINARY_INPUT 0x10 + +/* Output file should be opened in binary mode. This flag is ignored + on Unix. For proper behaviour PEX_BINARY_INPUT and + PEX_BINARY_OUTPUT have to match appropriately--i.e., a call using + PEX_BINARY_OUTPUT should be followed by a call using + PEX_BINARY_INPUT. */ +#define PEX_BINARY_OUTPUT 0x20 + +/* Capture stderr to a pipe. The output can be read by + calling pex_read_err and reading from the returned + FILE object. This flag may be specified only for + the last program in a pipeline. + + This flag is supported only on Unix and Windows. */ +#define PEX_STDERR_TO_PIPE 0x40 + +/* Capture stderr in binary mode. This flag is ignored + on Unix. */ +#define PEX_BINARY_ERROR 0x80 + +/* Append stdout to existing file instead of truncating it. */ +#define PEX_STDOUT_APPEND 0x100 + +/* Thes same as PEX_STDOUT_APPEND, but for STDERR. */ +#define PEX_STDERR_APPEND 0x200 + +/* Execute one program. Returns NULL on success. On error returns an + error string (typically just the name of a system call); the error + string is statically allocated. + + OBJ Returned by pex_init. + + FLAGS As above. + + EXECUTABLE The program to execute. + + ARGV NULL terminated array of arguments to pass to the program. + + OUTNAME Sets the output file name as follows: + + PEX_SUFFIX set (OUTNAME may not be NULL): + TEMPBASE parameter to pex_init not NULL: + Output file name is the concatenation of TEMPBASE + and OUTNAME. + TEMPBASE is NULL: + Output file name is a random file name ending in + OUTNAME. + PEX_SUFFIX not set: + OUTNAME not NULL: + Output file name is OUTNAME. + OUTNAME NULL, TEMPBASE not NULL: + Output file name is randomly chosen using + TEMPBASE. + OUTNAME NULL, TEMPBASE NULL: + Output file name is randomly chosen. + + If PEX_LAST is not set, the output file name is the + name to use for a temporary file holding stdout, if + any (there will not be a file if PEX_USE_PIPES is set + and the system supports pipes). If a file is used, it + will be removed when no longer needed unless + PEX_SAVE_TEMPS is set. + + If PEX_LAST is set, and OUTNAME is not NULL, standard + output is written to the output file name. The file + will not be removed. If PEX_LAST and PEX_SUFFIX are + both set, TEMPBASE may not be NULL. + + ERRNAME If not NULL, this is the name of a file to which + standard error is written. If NULL, standard error of + the program is standard error of the caller. + + ERR On an error return, *ERR is set to an errno value, or + to 0 if there is no relevant errno. +*/ + +extern const char *pex_run (struct pex_obj *obj, int flags, + const char *executable, char * const *argv, + const char *outname, const char *errname, + int *err); + +/* As for pex_run (), but takes an extra parameter to enable the + environment for the child process to be specified. + + ENV The environment for the child process, specified as + an array of character pointers. Each element of the + array should point to a string of the form VAR=VALUE, + with the exception of the last element which must be + a null pointer. +*/ + +extern const char *pex_run_in_environment (struct pex_obj *obj, int flags, + const char *executable, + char * const *argv, + char * const *env, + const char *outname, + const char *errname, int *err); + +/* Return a stream for a temporary file to pass to the first program + in the pipeline as input. The file name is chosen as for pex_run. + pex_run closes the file automatically; don't close it yourself. */ + +extern FILE *pex_input_file (struct pex_obj *obj, int flags, + const char *in_name); + +/* Return a stream for a pipe connected to the standard input of the + first program in the pipeline. You must have passed + `PEX_USE_PIPES' to `pex_init'. Close the returned stream + yourself. */ + +extern FILE *pex_input_pipe (struct pex_obj *obj, int binary); + +/* Read the standard output of the last program to be executed. + pex_run can not be called after this. BINARY should be non-zero if + the file should be opened in binary mode; this is ignored on Unix. + Returns NULL on error. Don't call fclose on the returned FILE; it + will be closed by pex_free. */ + +extern FILE *pex_read_output (struct pex_obj *, int binary); + +/* Read the standard error of the last program to be executed. + pex_run can not be called after this. BINARY should be non-zero if + the file should be opened in binary mode; this is ignored on Unix. + Returns NULL on error. Don't call fclose on the returned FILE; it + will be closed by pex_free. */ + +extern FILE *pex_read_err (struct pex_obj *, int binary); + +/* Return exit status of all programs in VECTOR. COUNT indicates the + size of VECTOR. The status codes in the vector are in the order of + the calls to pex_run. Returns 0 on error, 1 on success. */ + +extern int pex_get_status (struct pex_obj *, int count, int *vector); + +/* Return times of all programs in VECTOR. COUNT indicates the size + of VECTOR. struct pex_time is really just struct timeval, but that + is not portable to all systems. Returns 0 on error, 1 on + success. */ + +struct pex_time +{ + unsigned long user_seconds; + unsigned long user_microseconds; + unsigned long system_seconds; + unsigned long system_microseconds; +}; + +extern int pex_get_times (struct pex_obj *, int count, + struct pex_time *vector); + +/* Clean up a pex_obj. If you have not called pex_get_times or + pex_get_status, this will try to kill the subprocesses. */ + +extern void pex_free (struct pex_obj *); + +/* Just execute one program. Return value is as for pex_run. + FLAGS Combination of PEX_SEARCH and PEX_STDERR_TO_STDOUT. + EXECUTABLE As for pex_run. + ARGV As for pex_run. + PNAME As for pex_init. + OUTNAME As for pex_run when PEX_LAST is set. + ERRNAME As for pex_run. + STATUS Set to exit status on success. + ERR As for pex_run. +*/ + +extern const char *pex_one (int flags, const char *executable, + char * const *argv, const char *pname, + const char *outname, const char *errname, + int *status, int *err); + +/* pexecute and pwait are the old pexecute interface, still here for + backward compatibility. Don't use these for new code. Instead, + use pex_init/pex_run/pex_get_status/pex_free, or pex_one. */ + +/* Definitions used by the pexecute routine. */ + +#define PEXECUTE_FIRST 1 +#define PEXECUTE_LAST 2 +#define PEXECUTE_ONE (PEXECUTE_FIRST + PEXECUTE_LAST) +#define PEXECUTE_SEARCH 4 +#define PEXECUTE_VERBOSE 8 + +/* Execute a program. */ + +extern int pexecute (const char *, char * const *, const char *, + const char *, char **, char **, int); + +/* Wait for pexecute to finish. */ + +extern int pwait (int, int *, int); + +#if defined(HAVE_DECL_ASPRINTF) && !HAVE_DECL_ASPRINTF +/* Like sprintf but provides a pointer to malloc'd storage, which must + be freed by the caller. */ + +extern int asprintf (char **, const char *, ...) ATTRIBUTE_PRINTF_2; +#endif + +/* Like asprintf but allocates memory without fail. This works like + xmalloc. */ + +extern char *xasprintf (const char *, ...) ATTRIBUTE_MALLOC ATTRIBUTE_PRINTF_1; + +#if !HAVE_DECL_VASPRINTF +/* Like vsprintf but provides a pointer to malloc'd storage, which + must be freed by the caller. */ + +extern int vasprintf (char **, const char *, va_list) ATTRIBUTE_PRINTF(2,0); +#endif + +/* Like vasprintf but allocates memory without fail. This works like + xmalloc. */ + +extern char *xvasprintf (const char *, va_list) ATTRIBUTE_MALLOC ATTRIBUTE_PRINTF(1,0); + +#if defined(HAVE_DECL_SNPRINTF) && !HAVE_DECL_SNPRINTF +/* Like sprintf but prints at most N characters. */ +extern int snprintf (char *, size_t, const char *, ...) ATTRIBUTE_PRINTF_3; +#endif + +#if defined(HAVE_DECL_VSNPRINTF) && !HAVE_DECL_VSNPRINTF +/* Like vsprintf but prints at most N characters. */ +extern int vsnprintf (char *, size_t, const char *, va_list) ATTRIBUTE_PRINTF(3,0); +#endif + +#if defined (HAVE_DECL_STRNLEN) && !HAVE_DECL_STRNLEN +extern size_t strnlen (const char *, size_t); +#endif + +#if defined(HAVE_DECL_STRVERSCMP) && !HAVE_DECL_STRVERSCMP +/* Compare version strings. */ +extern int strverscmp (const char *, const char *); +#endif + +#if defined(HAVE_DECL_STRTOL) && !HAVE_DECL_STRTOL +extern long int strtol (const char *nptr, + char **endptr, int base); +#endif + +#if defined(HAVE_DECL_STRTOUL) && !HAVE_DECL_STRTOUL +extern unsigned long int strtoul (const char *nptr, + char **endptr, int base); +#endif + +#if defined(HAVE_LONG_LONG) && defined(HAVE_DECL_STRTOLL) && !HAVE_DECL_STRTOLL +__extension__ +extern long long int strtoll (const char *nptr, + char **endptr, int base); +#endif + +#if defined(HAVE_LONG_LONG) && defined(HAVE_DECL_STRTOULL) && !HAVE_DECL_STRTOULL +__extension__ +extern unsigned long long int strtoull (const char *nptr, + char **endptr, int base); +#endif + +#if defined(HAVE_DECL_STRVERSCMP) && !HAVE_DECL_STRVERSCMP +/* Compare version strings. */ +extern int strverscmp (const char *, const char *); +#endif + +/* Set the title of a process */ +extern void setproctitle (const char *name, ...); + +/* Increase stack limit if possible. */ +extern void stack_limit_increase (unsigned long); + +#define ARRAY_SIZE(a) (sizeof (a) / sizeof ((a)[0])) + +/* Drastically simplified alloca configurator. If we're using GCC, + we use __builtin_alloca; otherwise we use the C alloca. The C + alloca is always available. You can override GCC by defining + USE_C_ALLOCA yourself. The canonical autoconf macro C_ALLOCA is + also set/unset as it is often used to indicate whether code needs + to call alloca(0). */ +extern void *C_alloca (size_t) ATTRIBUTE_MALLOC; +#undef alloca +#if GCC_VERSION >= 2000 && !defined USE_C_ALLOCA +# define alloca(x) __builtin_alloca(x) +# undef C_ALLOCA +# define ASTRDUP(X) \ + (__extension__ ({ const char *const libiberty_optr = (X); \ + const unsigned long libiberty_len = strlen (libiberty_optr) + 1; \ + char *const libiberty_nptr = (char *const) alloca (libiberty_len); \ + (char *) memcpy (libiberty_nptr, libiberty_optr, libiberty_len); })) +#else +# define alloca(x) C_alloca(x) +# undef USE_C_ALLOCA +# define USE_C_ALLOCA 1 +# undef C_ALLOCA +# define C_ALLOCA 1 +extern const char *libiberty_optr; +extern char *libiberty_nptr; +extern unsigned long libiberty_len; +# define ASTRDUP(X) \ + (libiberty_optr = (X), \ + libiberty_len = strlen (libiberty_optr) + 1, \ + libiberty_nptr = (char *) alloca (libiberty_len), \ + (char *) memcpy (libiberty_nptr, libiberty_optr, libiberty_len)) +#endif + +#ifdef __cplusplus +} +#endif + + +#endif /* ! defined (LIBIBERTY_H) */ diff --git a/hardware/tools/avr/include/libiberty/objalloc.h b/hardware/tools/avr/include/libiberty/objalloc.h new file mode 100644 index 0000000000000000000000000000000000000000..2c0635090898bea6a9d8692204eb3f7bbf143c21 --- /dev/null +++ b/hardware/tools/avr/include/libiberty/objalloc.h @@ -0,0 +1,115 @@ +/* objalloc.h -- routines to allocate memory for objects + Copyright (C) 1997-2015 Free Software Foundation, Inc. + Written by Ian Lance Taylor, Cygnus Solutions. + +This program is free software; you can redistribute it and/or modify it +under the terms of the GNU General Public License as published by the +Free Software Foundation; either version 2, or (at your option) any +later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, 51 Franklin Street - Fifth Floor, +Boston, MA 02110-1301, USA. */ + +#ifndef OBJALLOC_H +#define OBJALLOC_H + +#include "ansidecl.h" + +/* These routines allocate space for an object. The assumption is + that the object will want to allocate space as it goes along, but + will never want to free any particular block. There is a function + to free a block, which also frees all more recently allocated + blocks. There is also a function to free all the allocated space. + + This is essentially a specialization of obstacks. The main + difference is that a block may not be allocated a bit at a time. + Another difference is that these routines are always built on top + of malloc, and always pass an malloc failure back to the caller, + unlike more recent versions of obstacks. */ + +/* This is what an objalloc structure looks like. Callers should not + refer to these fields, nor should they allocate these structure + themselves. Instead, they should only create them via + objalloc_init, and only access them via the functions and macros + listed below. The structure is only defined here so that we can + access it via macros. */ + +struct objalloc +{ + char *current_ptr; + unsigned int current_space; + void *chunks; +}; + +/* Work out the required alignment. */ + +struct objalloc_align { char x; double d; }; + +#if defined (__STDC__) && __STDC__ +#ifndef offsetof +#include +#endif +#endif +#ifndef offsetof +#define offsetof(TYPE, MEMBER) ((unsigned long) &((TYPE *)0)->MEMBER) +#endif +#define OBJALLOC_ALIGN offsetof (struct objalloc_align, d) + +/* Create an objalloc structure. Returns NULL if malloc fails. */ + +extern struct objalloc *objalloc_create (void); + +/* Allocate space from an objalloc structure. Returns NULL if malloc + fails. */ + +extern void *_objalloc_alloc (struct objalloc *, unsigned long); + +/* The macro version of objalloc_alloc. We only define this if using + gcc, because otherwise we would have to evaluate the arguments + multiple times, or use a temporary field as obstack.h does. */ + +#if defined (__GNUC__) && defined (__STDC__) && __STDC__ + +/* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and + does not implement __extension__. But that compiler doesn't define + __GNUC_MINOR__. */ +#if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__) +#define __extension__ +#endif + +#define objalloc_alloc(o, l) \ + __extension__ \ + ({ struct objalloc *__o = (o); \ + unsigned long __len = (l); \ + if (__len == 0) \ + __len = 1; \ + __len = (__len + OBJALLOC_ALIGN - 1) &~ (OBJALLOC_ALIGN - 1); \ + (__len != 0 && __len <= __o->current_space \ + ? (__o->current_ptr += __len, \ + __o->current_space -= __len, \ + (void *) (__o->current_ptr - __len)) \ + : _objalloc_alloc (__o, __len)); }) + +#else /* ! __GNUC__ */ + +#define objalloc_alloc(o, l) _objalloc_alloc ((o), (l)) + +#endif /* ! __GNUC__ */ + +/* Free an entire objalloc structure. */ + +extern void objalloc_free (struct objalloc *); + +/* Free a block allocated by objalloc_alloc. This also frees all more + recently allocated blocks. */ + +extern void objalloc_free_block (struct objalloc *, void *); + +#endif /* OBJALLOC_H */ diff --git a/hardware/tools/avr/include/libiberty/partition.h b/hardware/tools/avr/include/libiberty/partition.h new file mode 100644 index 0000000000000000000000000000000000000000..c39873b6016e0840fe32059d9fee4725103343f6 --- /dev/null +++ b/hardware/tools/avr/include/libiberty/partition.h @@ -0,0 +1,82 @@ +/* List implementation of a partition of consecutive integers. + Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc. + Contributed by CodeSourcery, LLC. + + This file is part of GCC. + + GCC is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + GCC is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with GCC; see the file COPYING. If not, write to + the Free Software Foundation, 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1301, USA. */ + +/* This package implements a partition of consecutive integers. The + elements are partitioned into classes. Each class is represented + by one of its elements, the canonical element, which is chosen + arbitrarily from elements in the class. The principal operations + on a partition are FIND, which takes an element, determines its + class, and returns the canonical element for that class, and UNION, + which unites the two classes that contain two given elements into a + single class. + + The list implementation used here provides constant-time finds. By + storing the size of each class with the class's canonical element, + it is able to perform unions over all the classes in the partition + in O (N log N) time. */ + +#ifndef _PARTITION_H +#define _PARTITION_H + +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + +#include "ansidecl.h" +#include + +struct partition_elem +{ + /* The next element in this class. Elements in each class form a + circular list. */ + struct partition_elem* next; + /* The canonical element that represents the class containing this + element. */ + int class_element; + /* The number of elements in this class. Valid only if this is the + canonical element for its class. */ + unsigned class_count; +}; + +typedef struct partition_def +{ + /* The number of elements in this partition. */ + int num_elements; + /* The elements in the partition. */ + struct partition_elem elements[1]; +} *partition; + +extern partition partition_new (int); +extern void partition_delete (partition); +extern int partition_union (partition, int, int); +extern void partition_print (partition, FILE*); + +/* Returns the canonical element corresponding to the class containing + ELEMENT__ in PARTITION__. */ + +#define partition_find(partition__, element__) \ + ((partition__)->elements[(element__)].class_element) + +#ifdef __cplusplus +} +#endif /* __cplusplus */ + +#endif /* _PARTITION_H */ diff --git a/hardware/tools/avr/include/libiberty/safe-ctype.h b/hardware/tools/avr/include/libiberty/safe-ctype.h new file mode 100644 index 0000000000000000000000000000000000000000..a6d163e6e2c6c7a92b0674f6de490bae03d367a4 --- /dev/null +++ b/hardware/tools/avr/include/libiberty/safe-ctype.h @@ -0,0 +1,150 @@ +/* replacement macros. + + Copyright (C) 2000-2015 Free Software Foundation, Inc. + Contributed by Zack Weinberg . + +This file is part of the libiberty library. +Libiberty is free software; you can redistribute it and/or +modify it under the terms of the GNU Library General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +Libiberty is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public +License along with libiberty; see the file COPYING.LIB. If +not, write to the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor, +Boston, MA 02110-1301, USA. */ + +/* This is a compatible replacement of the standard C library's + with the following properties: + + - Implements all isxxx() macros required by C99. + - Also implements some character classes useful when + parsing C-like languages. + - Does not change behavior depending on the current locale. + - Behaves properly for all values in the range of a signed or + unsigned char. + + To avoid conflicts, this header defines the isxxx functions in upper + case, e.g. ISALPHA not isalpha. */ + +#ifndef SAFE_CTYPE_H +#define SAFE_CTYPE_H + +/* Determine host character set. */ +#define HOST_CHARSET_UNKNOWN 0 +#define HOST_CHARSET_ASCII 1 +#define HOST_CHARSET_EBCDIC 2 + +#if '\n' == 0x0A && ' ' == 0x20 && '0' == 0x30 \ + && 'A' == 0x41 && 'a' == 0x61 && '!' == 0x21 +# define HOST_CHARSET HOST_CHARSET_ASCII +#else +# if '\n' == 0x15 && ' ' == 0x40 && '0' == 0xF0 \ + && 'A' == 0xC1 && 'a' == 0x81 && '!' == 0x5A +# define HOST_CHARSET HOST_CHARSET_EBCDIC +# else +# define HOST_CHARSET HOST_CHARSET_UNKNOWN +# endif +#endif + +/* Categories. */ + +enum { + /* In C99 */ + _sch_isblank = 0x0001, /* space \t */ + _sch_iscntrl = 0x0002, /* nonprinting characters */ + _sch_isdigit = 0x0004, /* 0-9 */ + _sch_islower = 0x0008, /* a-z */ + _sch_isprint = 0x0010, /* any printing character including ' ' */ + _sch_ispunct = 0x0020, /* all punctuation */ + _sch_isspace = 0x0040, /* space \t \n \r \f \v */ + _sch_isupper = 0x0080, /* A-Z */ + _sch_isxdigit = 0x0100, /* 0-9A-Fa-f */ + + /* Extra categories useful to cpplib. */ + _sch_isidst = 0x0200, /* A-Za-z_ */ + _sch_isvsp = 0x0400, /* \n \r */ + _sch_isnvsp = 0x0800, /* space \t \f \v \0 */ + + /* Combinations of the above. */ + _sch_isalpha = _sch_isupper|_sch_islower, /* A-Za-z */ + _sch_isalnum = _sch_isalpha|_sch_isdigit, /* A-Za-z0-9 */ + _sch_isidnum = _sch_isidst|_sch_isdigit, /* A-Za-z0-9_ */ + _sch_isgraph = _sch_isalnum|_sch_ispunct, /* isprint and not space */ + _sch_iscppsp = _sch_isvsp|_sch_isnvsp, /* isspace + \0 */ + _sch_isbasic = _sch_isprint|_sch_iscppsp /* basic charset of ISO C + (plus ` and @) */ +}; + +/* Character classification. */ +extern const unsigned short _sch_istable[256]; + +#define _sch_test(c, bit) (_sch_istable[(c) & 0xff] & (unsigned short)(bit)) + +#define ISALPHA(c) _sch_test(c, _sch_isalpha) +#define ISALNUM(c) _sch_test(c, _sch_isalnum) +#define ISBLANK(c) _sch_test(c, _sch_isblank) +#define ISCNTRL(c) _sch_test(c, _sch_iscntrl) +#define ISDIGIT(c) _sch_test(c, _sch_isdigit) +#define ISGRAPH(c) _sch_test(c, _sch_isgraph) +#define ISLOWER(c) _sch_test(c, _sch_islower) +#define ISPRINT(c) _sch_test(c, _sch_isprint) +#define ISPUNCT(c) _sch_test(c, _sch_ispunct) +#define ISSPACE(c) _sch_test(c, _sch_isspace) +#define ISUPPER(c) _sch_test(c, _sch_isupper) +#define ISXDIGIT(c) _sch_test(c, _sch_isxdigit) + +#define ISIDNUM(c) _sch_test(c, _sch_isidnum) +#define ISIDST(c) _sch_test(c, _sch_isidst) +#define IS_ISOBASIC(c) _sch_test(c, _sch_isbasic) +#define IS_VSPACE(c) _sch_test(c, _sch_isvsp) +#define IS_NVSPACE(c) _sch_test(c, _sch_isnvsp) +#define IS_SPACE_OR_NUL(c) _sch_test(c, _sch_iscppsp) + +/* Character transformation. */ +extern const unsigned char _sch_toupper[256]; +extern const unsigned char _sch_tolower[256]; +#define TOUPPER(c) _sch_toupper[(c) & 0xff] +#define TOLOWER(c) _sch_tolower[(c) & 0xff] + +/* Prevent the users of safe-ctype.h from accidently using the routines + from ctype.h. Initially, the approach was to produce an error when + detecting that ctype.h has been included. But this was causing + trouble as ctype.h might get indirectly included as a result of + including another system header (for instance gnulib's stdint.h). + So we include ctype.h here and then immediately redefine its macros. */ + +#include +#undef isalpha +#define isalpha(c) do_not_use_isalpha_with_safe_ctype +#undef isalnum +#define isalnum(c) do_not_use_isalnum_with_safe_ctype +#undef iscntrl +#define iscntrl(c) do_not_use_iscntrl_with_safe_ctype +#undef isdigit +#define isdigit(c) do_not_use_isdigit_with_safe_ctype +#undef isgraph +#define isgraph(c) do_not_use_isgraph_with_safe_ctype +#undef islower +#define islower(c) do_not_use_islower_with_safe_ctype +#undef isprint +#define isprint(c) do_not_use_isprint_with_safe_ctype +#undef ispunct +#define ispunct(c) do_not_use_ispunct_with_safe_ctype +#undef isspace +#define isspace(c) do_not_use_isspace_with_safe_ctype +#undef isupper +#define isupper(c) do_not_use_isupper_with_safe_ctype +#undef isxdigit +#define isxdigit(c) do_not_use_isxdigit_with_safe_ctype +#undef toupper +#define toupper(c) do_not_use_toupper_with_safe_ctype +#undef tolower +#define tolower(c) do_not_use_tolower_with_safe_ctype + +#endif /* SAFE_CTYPE_H */ diff --git a/hardware/tools/avr/include/libiberty/sort.h b/hardware/tools/avr/include/libiberty/sort.h new file mode 100644 index 0000000000000000000000000000000000000000..23025d431bf0bb9d15f85cf074de1cd00b1bf727 --- /dev/null +++ b/hardware/tools/avr/include/libiberty/sort.h @@ -0,0 +1,48 @@ +/* Sorting algorithms. + Copyright (C) 2000-2015 Free Software Foundation, Inc. + Contributed by Mark Mitchell . + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify it +under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with GCC; see the file COPYING. If not, write to +the Free Software Foundation, 51 Franklin Street - Fifth Floor, +Boston, MA 02110-1301, USA. */ + +#ifndef SORT_H +#define SORT_H + +#include /* For size_t */ +#ifdef __STDC__ +#include +#endif /* __STDC__ */ + +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + +#include "ansidecl.h" + +/* Sort an array of pointers. */ + +extern void sort_pointers (size_t, void **, void **); + +#ifdef __cplusplus +} +#endif /* __cplusplus */ + +#endif /* SORT_H */ + + + + diff --git a/hardware/tools/avr/include/libiberty/splay-tree.h b/hardware/tools/avr/include/libiberty/splay-tree.h new file mode 100644 index 0000000000000000000000000000000000000000..f71d7d7b6f4e0844bde2fd9fc70bb7030fc8ec19 --- /dev/null +++ b/hardware/tools/avr/include/libiberty/splay-tree.h @@ -0,0 +1,156 @@ +/* A splay-tree datatype. + Copyright (C) 1998-2015 Free Software Foundation, Inc. + Contributed by Mark Mitchell (mark@markmitchell.com). + + This file is part of GCC. + + GCC is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + GCC is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with GCC; see the file COPYING. If not, write to + the Free Software Foundation, 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1301, USA. */ + +/* For an easily readable description of splay-trees, see: + + Lewis, Harry R. and Denenberg, Larry. Data Structures and Their + Algorithms. Harper-Collins, Inc. 1991. + + The major feature of splay trees is that all basic tree operations + are amortized O(log n) time for a tree with n nodes. */ + +#ifndef _SPLAY_TREE_H +#define _SPLAY_TREE_H + +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + +#include "ansidecl.h" + +#ifdef HAVE_STDINT_H +#include +#endif +#ifdef HAVE_INTTYPES_H +#include +#endif + +/* Use typedefs for the key and data types to facilitate changing + these types, if necessary. These types should be sufficiently wide + that any pointer or scalar can be cast to these types, and then + cast back, without loss of precision. */ +typedef uintptr_t splay_tree_key; +typedef uintptr_t splay_tree_value; + +/* Forward declaration for a node in the tree. */ +typedef struct splay_tree_node_s *splay_tree_node; + +/* The type of a function which compares two splay-tree keys. The + function should return values as for qsort. */ +typedef int (*splay_tree_compare_fn) (splay_tree_key, splay_tree_key); + +/* The type of a function used to deallocate any resources associated + with the key. */ +typedef void (*splay_tree_delete_key_fn) (splay_tree_key); + +/* The type of a function used to deallocate any resources associated + with the value. */ +typedef void (*splay_tree_delete_value_fn) (splay_tree_value); + +/* The type of a function used to iterate over the tree. */ +typedef int (*splay_tree_foreach_fn) (splay_tree_node, void*); + +/* The type of a function used to allocate memory for tree root and + node structures. The first argument is the number of bytes needed; + the second is a data pointer the splay tree functions pass through + to the allocator. This function must never return zero. */ +typedef void *(*splay_tree_allocate_fn) (int, void *); + +/* The type of a function used to free memory allocated using the + corresponding splay_tree_allocate_fn. The first argument is the + memory to be freed; the latter is a data pointer the splay tree + functions pass through to the freer. */ +typedef void (*splay_tree_deallocate_fn) (void *, void *); + +/* The nodes in the splay tree. */ +struct splay_tree_node_s { + /* The key. */ + splay_tree_key key; + + /* The value. */ + splay_tree_value value; + + /* The left and right children, respectively. */ + splay_tree_node left; + splay_tree_node right; +}; + +/* The splay tree itself. */ +struct splay_tree_s { + /* The root of the tree. */ + splay_tree_node root; + + /* The comparision function. */ + splay_tree_compare_fn comp; + + /* The deallocate-key function. NULL if no cleanup is necessary. */ + splay_tree_delete_key_fn delete_key; + + /* The deallocate-value function. NULL if no cleanup is necessary. */ + splay_tree_delete_value_fn delete_value; + + /* Node allocate function. Takes allocate_data as a parameter. */ + splay_tree_allocate_fn allocate; + + /* Free function for nodes and trees. Takes allocate_data as a parameter. */ + splay_tree_deallocate_fn deallocate; + + /* Parameter for allocate/free functions. */ + void *allocate_data; +}; + +typedef struct splay_tree_s *splay_tree; + +extern splay_tree splay_tree_new (splay_tree_compare_fn, + splay_tree_delete_key_fn, + splay_tree_delete_value_fn); +extern splay_tree splay_tree_new_with_allocator (splay_tree_compare_fn, + splay_tree_delete_key_fn, + splay_tree_delete_value_fn, + splay_tree_allocate_fn, + splay_tree_deallocate_fn, + void *); +extern splay_tree splay_tree_new_typed_alloc (splay_tree_compare_fn, + splay_tree_delete_key_fn, + splay_tree_delete_value_fn, + splay_tree_allocate_fn, + splay_tree_allocate_fn, + splay_tree_deallocate_fn, + void *); +extern void splay_tree_delete (splay_tree); +extern splay_tree_node splay_tree_insert (splay_tree, + splay_tree_key, + splay_tree_value); +extern void splay_tree_remove (splay_tree, splay_tree_key); +extern splay_tree_node splay_tree_lookup (splay_tree, splay_tree_key); +extern splay_tree_node splay_tree_predecessor (splay_tree, splay_tree_key); +extern splay_tree_node splay_tree_successor (splay_tree, splay_tree_key); +extern splay_tree_node splay_tree_max (splay_tree); +extern splay_tree_node splay_tree_min (splay_tree); +extern int splay_tree_foreach (splay_tree, splay_tree_foreach_fn, void*); +extern int splay_tree_compare_ints (splay_tree_key, splay_tree_key); +extern int splay_tree_compare_pointers (splay_tree_key, splay_tree_key); + +#ifdef __cplusplus +} +#endif /* __cplusplus */ + +#endif /* _SPLAY_TREE_H */ diff --git a/hardware/tools/avr/include/libiberty/timeval-utils.h b/hardware/tools/avr/include/libiberty/timeval-utils.h new file mode 100644 index 0000000000000000000000000000000000000000..adbe8183fe270c36b46510ac38385e2a0b276a43 --- /dev/null +++ b/hardware/tools/avr/include/libiberty/timeval-utils.h @@ -0,0 +1,40 @@ +/* Basic struct timeval utilities. + Copyright (C) 2011-2015 Free Software Foundation, Inc. + +This file is part of the libiberty library. +Libiberty is free software; you can redistribute it and/or +modify it under the terms of the GNU Library General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +Libiberty is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public +License along with libiberty; see the file COPYING.LIB. If not, +write to the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor, +Boston, MA 02110-1301, USA. */ + +#ifndef TIMEVAL_UTILS_H +#define TIMEVAL_UTILS_H + +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + +/* forward decl */ +struct timeval; + +extern void timeval_add (struct timeval *result, + const struct timeval *a, const struct timeval *b); + +extern void timeval_sub (struct timeval *result, + const struct timeval *a, const struct timeval *b); + +#ifdef __cplusplus +} +#endif /* __cplusplus */ + +#endif /* TIMEVAL_UTILS_H */ diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/avr25/libgcc.a b/hardware/tools/avr/lib/gcc/avr/7.3.0/avr25/libgcc.a new file mode 100644 index 0000000000000000000000000000000000000000..1fb0dddb930c1177070c9e78f9bad642d9fe5c39 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/avr25/libgcc.a @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3ed04118dc5e8047d757bf23fe312e0d854496610ec252815389ca537379d45e +size 5987458 diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/avr25/libgcov.a b/hardware/tools/avr/lib/gcc/avr/7.3.0/avr25/libgcov.a new file mode 100644 index 0000000000000000000000000000000000000000..898a9abd4d7b6406a9362ccc8a785a89dc4c5049 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/avr25/libgcov.a @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e36a8d914ecee25e689ed0e2b85651f859cb1eb1ab3e39ab12021d3f25f59464 +size 174320 diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/avr25/tiny-stack/libgcc.a b/hardware/tools/avr/lib/gcc/avr/7.3.0/avr25/tiny-stack/libgcc.a new file mode 100644 index 0000000000000000000000000000000000000000..8695e5a0845aecc8a93e9d0f74a89c51758ba8bb --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/avr25/tiny-stack/libgcc.a @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:818c7914e9379b5e3b6f9228e34ed3ad739087301e43a3f1efce75f5b3db0c7e +size 5993666 diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/avr25/tiny-stack/libgcov.a b/hardware/tools/avr/lib/gcc/avr/7.3.0/avr25/tiny-stack/libgcov.a new file mode 100644 index 0000000000000000000000000000000000000000..f7bed8942702d97ea8b80da2f862a73154ded13f --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/avr25/tiny-stack/libgcov.a @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cf973e82347bc9a67cdf2741cd37e546d159f8f543cc7c13f7f33993a3d928a3 +size 174504 diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/avr3/libgcc.a b/hardware/tools/avr/lib/gcc/avr/7.3.0/avr3/libgcc.a new file mode 100644 index 0000000000000000000000000000000000000000..214042998d80eaf41bc2695c02abd11681fb2e1e --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/avr3/libgcc.a @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d6c90fae6773ee3f9cbdfd15323705f232158fd3a7a5100200ae1e7e8a7bf94a +size 6000068 diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/avr3/libgcov.a b/hardware/tools/avr/lib/gcc/avr/7.3.0/avr3/libgcov.a new file mode 100644 index 0000000000000000000000000000000000000000..1db41b2a7349d7138175335b1b8694b1861caf19 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/avr3/libgcov.a @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:67a1bd2d85ed6fc0f4cfff57ecc287668dc9ad328cfb538662793d7053b7d6c5 +size 174252 diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/avr31/libgcc.a b/hardware/tools/avr/lib/gcc/avr/7.3.0/avr31/libgcc.a new file mode 100644 index 0000000000000000000000000000000000000000..091dcb6e6c1f3cdece7843b71267d27266f48c6c --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/avr31/libgcc.a @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d16962d9ac2bec3e5446e62bb7c06829a5b02ba40d37ac20671935551c215673 +size 6021844 diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/avr31/libgcov.a b/hardware/tools/avr/lib/gcc/avr/7.3.0/avr31/libgcov.a new file mode 100644 index 0000000000000000000000000000000000000000..4692f14a96b4de7f308d78b6a95e70877405fa33 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/avr31/libgcov.a @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:44b7403ef62b7df932d9a1e3c9947273db602b60ac2944a3401ca63db3aef4de +size 174960 diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/avr35/libgcc.a b/hardware/tools/avr/lib/gcc/avr/7.3.0/avr35/libgcc.a new file mode 100644 index 0000000000000000000000000000000000000000..8ef8628a3d3cb0da30ff689539b0d56e7322134e --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/avr35/libgcc.a @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a41012bb60e2316966517c97595e38dc8d9397141ee959d8af5a0bfba8221311 +size 5991274 diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/avr35/libgcov.a b/hardware/tools/avr/lib/gcc/avr/7.3.0/avr35/libgcov.a new file mode 100644 index 0000000000000000000000000000000000000000..93049472784a9acd41ad804c7222c77d99cca936 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/avr35/libgcov.a @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fbcc2ccae70f764e782774c29fa14cebb360831e7134496d3da66a74b24f94cb +size 174320 diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/avr4/libgcc.a b/hardware/tools/avr/lib/gcc/avr/7.3.0/avr4/libgcc.a new file mode 100644 index 0000000000000000000000000000000000000000..711b68042f412dc4df7f32b070ca4a0a330e4735 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/avr4/libgcc.a @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:745b70dddf2bbf2d4b9935342370f943ab44e2f22950311c4514febb019c73e9 +size 5987594 diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/avr4/libgcov.a b/hardware/tools/avr/lib/gcc/avr/7.3.0/avr4/libgcov.a new file mode 100644 index 0000000000000000000000000000000000000000..5af769706a5ab54b8220ce6730b7b9f84fb640cc --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/avr4/libgcov.a @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b0b0e3a355f381ab9661efacfd1b94d381a9c55328038316715bc5dc7203f501 +size 174252 diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/avr5/libgcc.a b/hardware/tools/avr/lib/gcc/avr/7.3.0/avr5/libgcc.a new file mode 100644 index 0000000000000000000000000000000000000000..e90dc87680f0585d814f79fd3600b1d254f6877c --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/avr5/libgcc.a @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4753393354a98da210ac6e4746b5ea040dd5606da2590e3d6487c112bdae071d +size 5991762 diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/avr5/libgcov.a b/hardware/tools/avr/lib/gcc/avr/7.3.0/avr5/libgcov.a new file mode 100644 index 0000000000000000000000000000000000000000..98fe10147ef5d8089b0ba0260d99a0d62d3fcda2 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/avr5/libgcov.a @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:db8f146be2874ba3326f85774a216c19b214f34353b0e8c50e83e887143d2217 +size 174252 diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/avr51/libgcc.a b/hardware/tools/avr/lib/gcc/avr/7.3.0/avr51/libgcc.a new file mode 100644 index 0000000000000000000000000000000000000000..352e39701552fa0942eb0c8372e07a20676f0b3e --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/avr51/libgcc.a @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bfe24b0ae3b1e5abde6980e6b5ed18402ef5d871a0aa153abf1b793547d162a3 +size 6014930 diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/avr51/libgcov.a b/hardware/tools/avr/lib/gcc/avr/7.3.0/avr51/libgcov.a new file mode 100644 index 0000000000000000000000000000000000000000..2c4d5be2848268a8ee76c31d83e0a51de85f10de --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/avr51/libgcov.a @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6af94c8c5c447cea5bb9108beb06037343c2cc6c2154582857d48fd48ee812d4 +size 175068 diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/avr6/libgcc.a b/hardware/tools/avr/lib/gcc/avr/7.3.0/avr6/libgcc.a new file mode 100644 index 0000000000000000000000000000000000000000..090d496986de03f0b4560face31fee8d009798d5 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/avr6/libgcc.a @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9c638874a9186c67abda802e9727f447fbb0437643776444bec0cbe875965b35 +size 6015934 diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/avr6/libgcov.a b/hardware/tools/avr/lib/gcc/avr/7.3.0/avr6/libgcov.a new file mode 100644 index 0000000000000000000000000000000000000000..8acb602165253e1c80856a37b3a780ec367db19f --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/avr6/libgcov.a @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2ea1a20c195bac1bc60caed701bb1f01bbd3ff1f026a148203b67c05697f7cbb +size 175000 diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/avrxmega2/libgcc.a b/hardware/tools/avr/lib/gcc/avr/7.3.0/avrxmega2/libgcc.a new file mode 100644 index 0000000000000000000000000000000000000000..fefa0d3fd2d6828f17de8a1fc6c7c2e2f339d244 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/avrxmega2/libgcc.a @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a409b78b15f6c0b44033fd307e0c70d33f01b6f872365cae3b7385a7ffa27b55 +size 6019894 diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/avrxmega2/libgcov.a b/hardware/tools/avr/lib/gcc/avr/7.3.0/avrxmega2/libgcov.a new file mode 100644 index 0000000000000000000000000000000000000000..4bedd097ffda7952216a275943870067cf2ec6fe --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/avrxmega2/libgcov.a @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a3b4d8e25d3674d1c0f0d5dc84aca38a0d89c5ca41f287d1b3dedbe5c75c90fb +size 175248 diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/avrxmega3/libgcc.a b/hardware/tools/avr/lib/gcc/avr/7.3.0/avrxmega3/libgcc.a new file mode 100644 index 0000000000000000000000000000000000000000..8f4b43baecb38a3f385f6e7f522331880162c5e1 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/avrxmega3/libgcc.a @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0ce639fac515e172fd91662d75bf1bab065755a639b2121f93bd063f4c118e75 +size 6019830 diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/avrxmega3/libgcov.a b/hardware/tools/avr/lib/gcc/avr/7.3.0/avrxmega3/libgcov.a new file mode 100644 index 0000000000000000000000000000000000000000..ebc9df2738aa836106d6134bd5a07904beae3abb --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/avrxmega3/libgcov.a @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f5f2035d74f3a8b776ced6a1b32af0e0aaac465376269b71eb3bc84a9f7da5a7 +size 175248 diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/avrxmega3/short-calls/libgcc.a b/hardware/tools/avr/lib/gcc/avr/7.3.0/avrxmega3/short-calls/libgcc.a new file mode 100644 index 0000000000000000000000000000000000000000..c70f28cb73c94b2d52ea483239dffba983cd726d --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/avrxmega3/short-calls/libgcc.a @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b27dd5486271e3b7cc61c847a7c13ddd52ba7661d5768102078c2454d125782b +size 6052690 diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/avrxmega3/short-calls/libgcov.a b/hardware/tools/avr/lib/gcc/avr/7.3.0/avrxmega3/short-calls/libgcov.a new file mode 100644 index 0000000000000000000000000000000000000000..58f0dbcee48e8ab82ff94ae252f7a46f051d54a2 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/avrxmega3/short-calls/libgcov.a @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:76c924a8e97135d6956c58a0826753e82d862f7e76a0ef5719342ada51443125 +size 176416 diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/avrxmega4/libgcc.a b/hardware/tools/avr/lib/gcc/avr/7.3.0/avrxmega4/libgcc.a new file mode 100644 index 0000000000000000000000000000000000000000..f023a2a8560614bb97386d83d43fb7d564f47da5 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/avrxmega4/libgcc.a @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7032689a583ca00138d54da27da9b3263f9185119314938d40d54b3a0697bb89 +size 6041906 diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/avrxmega4/libgcov.a b/hardware/tools/avr/lib/gcc/avr/7.3.0/avrxmega4/libgcov.a new file mode 100644 index 0000000000000000000000000000000000000000..9311398f44cd0db2671a8c37c7e7160fba348eac --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/avrxmega4/libgcov.a @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b978efb315ac6829a6b66087707348cc1af3c3359d242f96ad7600816582a721 +size 175996 diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/avrxmega5/libgcc.a b/hardware/tools/avr/lib/gcc/avr/7.3.0/avrxmega5/libgcc.a new file mode 100644 index 0000000000000000000000000000000000000000..9728530dd51b2eea2fa298301f9bec5672ad6f24 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/avrxmega5/libgcc.a @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:25f820fa93f84550522b9c57281d6b22ccc48fd4684d0c71ab40992075190ffa +size 6108334 diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/avrxmega5/libgcov.a b/hardware/tools/avr/lib/gcc/avr/7.3.0/avrxmega5/libgcov.a new file mode 100644 index 0000000000000000000000000000000000000000..0dbf8ce2375249aba9c5432adb770612e7e02f22 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/avrxmega5/libgcov.a @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6ca392782aa95cb079eede086b58df52d1bdae33c31f0fb802f17169dbd1550d +size 178264 diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/avrxmega6/libgcc.a b/hardware/tools/avr/lib/gcc/avr/7.3.0/avrxmega6/libgcc.a new file mode 100644 index 0000000000000000000000000000000000000000..a006f8a8aa786a9cc7b832a49afe79e446bf0ada --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/avrxmega6/libgcc.a @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5d026dd25e3d8822bd5520898ed004c34976ba3ef776d3615b0da23d950fbcee +size 6043174 diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/avrxmega6/libgcov.a b/hardware/tools/avr/lib/gcc/avr/7.3.0/avrxmega6/libgcov.a new file mode 100644 index 0000000000000000000000000000000000000000..4c5e8a04d2224c71cc6b54f2d8043d8e16085af5 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/avrxmega6/libgcov.a @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d079f74c764fa33c3f55fdf6455da41d419e14907a1f2a6fccce2fe5deba9f71 +size 175996 diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at43usb320 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at43usb320 new file mode 100644 index 0000000000000000000000000000000000000000..90f64d3d8b8381f2ba53a758761d1dc1e081d26b --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at43usb320 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device at43usb320 (core avr31, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtat43usb320.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lat43usb320} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr31 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=64k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_AT43USB320__ -D__AVR_DEVICE_NAME__=at43usb320 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at43usb355 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at43usb355 new file mode 100644 index 0000000000000000000000000000000000000000..9ad85295b392d3fa549b6b29588ca40dea8fd194 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at43usb355 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device at43usb355 (core avr3, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtat43usb355.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lat43usb355} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr3 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_AT43USB355__ -D__AVR_DEVICE_NAME__=at43usb355 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at76c711 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at76c711 new file mode 100644 index 0000000000000000000000000000000000000000..b1ea6362fb034660c8f6697ef678d0389538cf54 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at76c711 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device at76c711 (core avr3, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtat76c711.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lat76c711} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr3 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=16k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_AT76C711__ -D__AVR_DEVICE_NAME__=at76c711 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at86rf401 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at86rf401 new file mode 100644 index 0000000000000000000000000000000000000000..44d59e509c3da127d05fe1fc9279a9e288488a75 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at86rf401 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device at86rf401 (core avr25, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtat86rf401.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lat86rf401} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr25 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_AT86RF401__ -D__AVR_DEVICE_NAME__=at86rf401 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90c8534 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90c8534 new file mode 100644 index 0000000000000000000000000000000000000000..5e32a4bb7b89ea097f23db0e4ea6cdd72db1c65e --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90c8534 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device at90c8534 (core avr2, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtat90c8534.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lat90c8534} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr2 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{!mno-pmem-wrap-around: --pmem-wrap-around=8k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_AT90C8534__ -D__AVR_DEVICE_NAME__=at90c8534 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90can128 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90can128 new file mode 100644 index 0000000000000000000000000000000000000000..345fe70a13f8c3b41ddb3f153ef14bfbd6585373 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90can128 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device at90can128 (core avr51, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtat90can128.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lat90can128} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=2} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr51 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_AT90CAN128__ -D__AVR_DEVICE_NAME__=at90can128 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90can32 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90can32 new file mode 100644 index 0000000000000000000000000000000000000000..2c14a28702d83bce56ea85666d7eb74246377056 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90can32 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device at90can32 (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtat90can32.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lat90can32} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=32k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_AT90CAN32__ -D__AVR_DEVICE_NAME__=at90can32 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90can64 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90can64 new file mode 100644 index 0000000000000000000000000000000000000000..1f3054e17280b0c8a181c3148eefc092570a1490 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90can64 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device at90can64 (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtat90can64.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lat90can64} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=64k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_AT90CAN64__ -D__AVR_DEVICE_NAME__=at90can64 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90pwm1 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90pwm1 new file mode 100644 index 0000000000000000000000000000000000000000..beaeb0550c9a4b1e9801817c869f854b713415ac --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90pwm1 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device at90pwm1 (core avr4, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtat90pwm1.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lat90pwm1} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr4 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{!mno-pmem-wrap-around: --pmem-wrap-around=8k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_AT90PWM1__ -D__AVR_DEVICE_NAME__=at90pwm1 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90pwm161 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90pwm161 new file mode 100644 index 0000000000000000000000000000000000000000..c7e47fb1c7ba7d9b860162d96d132ed8cb0749ab --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90pwm161 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device at90pwm161 (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtat90pwm161.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lat90pwm161} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=16k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_AT90PWM161__ -D__AVR_DEVICE_NAME__=at90pwm161 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90pwm2 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90pwm2 new file mode 100644 index 0000000000000000000000000000000000000000..255a7201c099b72a52ae3074da18a70f401e3209 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90pwm2 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device at90pwm2 (core avr4, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtat90pwm2.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lat90pwm2} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr4 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{!mno-pmem-wrap-around: --pmem-wrap-around=8k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_AT90PWM2__ -D__AVR_DEVICE_NAME__=at90pwm2 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90pwm216 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90pwm216 new file mode 100644 index 0000000000000000000000000000000000000000..957d2e400eba1370933f3bb49baea4b99f26053f --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90pwm216 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device at90pwm216 (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtat90pwm216.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lat90pwm216} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=16k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_AT90PWM216__ -D__AVR_DEVICE_NAME__=at90pwm216 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90pwm2b b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90pwm2b new file mode 100644 index 0000000000000000000000000000000000000000..23a71185cc23acfb5ba53740487004668c4ee47e --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90pwm2b @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device at90pwm2b (core avr4, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtat90pwm2b.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lat90pwm2b} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr4 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{!mno-pmem-wrap-around: --pmem-wrap-around=8k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_AT90PWM2B__ -D__AVR_DEVICE_NAME__=at90pwm2b + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90pwm3 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90pwm3 new file mode 100644 index 0000000000000000000000000000000000000000..074fff15ac003843ce7322085e2ca06dfff0a4c8 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90pwm3 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device at90pwm3 (core avr4, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtat90pwm3.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lat90pwm3} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr4 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{!mno-pmem-wrap-around: --pmem-wrap-around=8k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_AT90PWM3__ -D__AVR_DEVICE_NAME__=at90pwm3 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90pwm316 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90pwm316 new file mode 100644 index 0000000000000000000000000000000000000000..b220e5c80cc36187f4096aeaf64966562b8af571 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90pwm316 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device at90pwm316 (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtat90pwm316.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lat90pwm316} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=16k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_AT90PWM316__ -D__AVR_DEVICE_NAME__=at90pwm316 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90pwm3b b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90pwm3b new file mode 100644 index 0000000000000000000000000000000000000000..871a4481ef6572c5757b6dcd9bee2129e579acb6 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90pwm3b @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device at90pwm3b (core avr4, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtat90pwm3b.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lat90pwm3b} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr4 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{!mno-pmem-wrap-around: --pmem-wrap-around=8k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_AT90PWM3B__ -D__AVR_DEVICE_NAME__=at90pwm3b + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90pwm81 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90pwm81 new file mode 100644 index 0000000000000000000000000000000000000000..acedd9d63037707bd7802cab8ec966ea4a6e6fb6 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90pwm81 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device at90pwm81 (core avr4, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtat90pwm81.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lat90pwm81} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr4 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{!mno-pmem-wrap-around: --pmem-wrap-around=8k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_AT90PWM81__ -D__AVR_DEVICE_NAME__=at90pwm81 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90s1200 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90s1200 new file mode 100644 index 0000000000000000000000000000000000000000..a014c7d71a8fb9095ff3a483b56ac1a8092e312d --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90s1200 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device at90s1200 (core avr1, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtat90s1200.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lat90s1200} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr1 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_AT90S1200__ -D__AVR_DEVICE_NAME__=at90s1200 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90s2313 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90s2313 new file mode 100644 index 0000000000000000000000000000000000000000..91b64dfb5a9d8d9ff9714343eca99f6ceac3cf2d --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90s2313 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device at90s2313 (core avr2, 8-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtat90s2313.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lat90s2313} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr2 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_AT90S2313__ -D__AVR_DEVICE_NAME__=at90s2313 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90s2323 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90s2323 new file mode 100644 index 0000000000000000000000000000000000000000..34b1bb6ed409154060b02f93dda5bc7b024959e2 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90s2323 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device at90s2323 (core avr2, 8-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtat90s2323.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lat90s2323} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr2 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_AT90S2323__ -D__AVR_DEVICE_NAME__=at90s2323 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90s2333 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90s2333 new file mode 100644 index 0000000000000000000000000000000000000000..f910f64cbb0c8869d522ed0ab18e3edf89706ce6 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90s2333 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device at90s2333 (core avr2, 8-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtat90s2333.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lat90s2333} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr2 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_AT90S2333__ -D__AVR_DEVICE_NAME__=at90s2333 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90s2343 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90s2343 new file mode 100644 index 0000000000000000000000000000000000000000..5467cc7fb9f38bfd31ce94cf5f1d7fe170284750 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90s2343 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device at90s2343 (core avr2, 8-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtat90s2343.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lat90s2343} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr2 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_AT90S2343__ -D__AVR_DEVICE_NAME__=at90s2343 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90s4414 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90s4414 new file mode 100644 index 0000000000000000000000000000000000000000..e87e32e8ca47997ad8115902abf2bcb30d4aef90 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90s4414 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device at90s4414 (core avr2, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtat90s4414.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lat90s4414} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr2 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_AT90S4414__ -D__AVR_DEVICE_NAME__=at90s4414 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90s4433 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90s4433 new file mode 100644 index 0000000000000000000000000000000000000000..3dfbe04be19838e28d0a1ce267165ce05055bdc6 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90s4433 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device at90s4433 (core avr2, 8-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtat90s4433.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lat90s4433} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr2 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_AT90S4433__ -D__AVR_DEVICE_NAME__=at90s4433 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90s4434 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90s4434 new file mode 100644 index 0000000000000000000000000000000000000000..0362064fc8ab19219ec6d42dc897dc4d63ba531f --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90s4434 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device at90s4434 (core avr2, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtat90s4434.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lat90s4434} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr2 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_AT90S4434__ -D__AVR_DEVICE_NAME__=at90s4434 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90s8515 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90s8515 new file mode 100644 index 0000000000000000000000000000000000000000..fcc131eb6d4f6a787f6948608567974032f29b30 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90s8515 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device at90s8515 (core avr2, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtat90s8515.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lat90s8515} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mno-skip-bug: -mskip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr2 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{mno-skip-bug} + +*link_pmem_wrap: + %{!mno-pmem-wrap-around: --pmem-wrap-around=8k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_AT90S8515__ -D__AVR_DEVICE_NAME__=at90s8515 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90s8535 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90s8535 new file mode 100644 index 0000000000000000000000000000000000000000..8fadb680372f82343d1da4ccacbdebe1cf654c37 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90s8535 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device at90s8535 (core avr2, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtat90s8535.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lat90s8535} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr2 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{!mno-pmem-wrap-around: --pmem-wrap-around=8k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_AT90S8535__ -D__AVR_DEVICE_NAME__=at90s8535 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90scr100 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90scr100 new file mode 100644 index 0000000000000000000000000000000000000000..ea86fd1be2171fbdbdc5eb6630d805f1cbe40f2a --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90scr100 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device at90scr100 (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtat90scr100.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lat90scr100} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=64k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_AT90SCR100__ -D__AVR_DEVICE_NAME__=at90scr100 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90usb1286 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90usb1286 new file mode 100644 index 0000000000000000000000000000000000000000..6c920bdbaeb217d6d56fa3f481fbb0c4e7492d4a --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90usb1286 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device at90usb1286 (core avr51, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtat90usb1286.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lat90usb1286} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=2} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr51 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_AT90USB1286__ -D__AVR_DEVICE_NAME__=at90usb1286 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90usb1287 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90usb1287 new file mode 100644 index 0000000000000000000000000000000000000000..41e85683b3f28f1e3e5e22582bba07d401f623d6 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90usb1287 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device at90usb1287 (core avr51, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtat90usb1287.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lat90usb1287} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=2} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr51 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_AT90USB1287__ -D__AVR_DEVICE_NAME__=at90usb1287 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90usb162 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90usb162 new file mode 100644 index 0000000000000000000000000000000000000000..1d0c8ac3b855a5ba75a5e4d0c900e27b3996d111 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90usb162 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device at90usb162 (core avr35, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtat90usb162.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lat90usb162} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr35 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=16k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_AT90USB162__ -D__AVR_DEVICE_NAME__=at90usb162 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90usb646 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90usb646 new file mode 100644 index 0000000000000000000000000000000000000000..ed7102f57fba415a3e122ec2890bac480fb4c811 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90usb646 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device at90usb646 (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtat90usb646.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lat90usb646} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=64k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_AT90USB646__ -D__AVR_DEVICE_NAME__=at90usb646 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90usb647 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90usb647 new file mode 100644 index 0000000000000000000000000000000000000000..b3187a69ce39b0924584df8939789be3d55b4ede --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90usb647 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device at90usb647 (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtat90usb647.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lat90usb647} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=64k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_AT90USB647__ -D__AVR_DEVICE_NAME__=at90usb647 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90usb82 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90usb82 new file mode 100644 index 0000000000000000000000000000000000000000..c28e18ca0e6d33781c9afb04d0b85f02f0ff7a72 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at90usb82 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device at90usb82 (core avr35, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtat90usb82.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lat90usb82} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr35 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{!mno-pmem-wrap-around: --pmem-wrap-around=8k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_AT90USB82__ -D__AVR_DEVICE_NAME__=at90usb82 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at94k b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at94k new file mode 100644 index 0000000000000000000000000000000000000000..65e5e2fa5a5cf48a6fc8c5eecdb60acdaaed5ae9 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-at94k @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device at94k (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtat94k.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lat94k} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=32k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_AT94K__ -D__AVR_DEVICE_NAME__=at94k + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata5272 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata5272 new file mode 100644 index 0000000000000000000000000000000000000000..5de6ac78795c62f0bbcc9beff6ebfa734f75ab57 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata5272 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device ata5272 (core avr25, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtata5272.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lata5272} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr25 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{!mno-pmem-wrap-around: --pmem-wrap-around=8k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATA5272__ -D__AVR_DEVICE_NAME__=ata5272 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata5505 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata5505 new file mode 100644 index 0000000000000000000000000000000000000000..9b66462484fe9aaed04eec2d01d2535bd1deaade --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata5505 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device ata5505 (core avr35, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtata5505.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lata5505} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr35 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=16k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATA5505__ -D__AVR_DEVICE_NAME__=ata5505 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata5702m322 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata5702m322 new file mode 100644 index 0000000000000000000000000000000000000000..72e0c376cfe75cc035cd973a526b2be371d026b5 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata5702m322 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device ata5702m322 (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtata5702m322.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lata5702m322} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=64k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800200} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATA5702M322__ -D__AVR_DEVICE_NAME__=ata5702m322 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata5782 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata5782 new file mode 100644 index 0000000000000000000000000000000000000000..5a0d080ce04f03ffa8ba9a83810471bd234c1763 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata5782 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device ata5782 (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtata5782.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lata5782} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800200} + +*link_text_start: + %{!Ttext:-Ttext 0x8000} + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATA5782__ -D__AVR_DEVICE_NAME__=ata5782 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata5790 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata5790 new file mode 100644 index 0000000000000000000000000000000000000000..d156df0f5ed15cb4acb7a1a5ddd282753a6225bc --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata5790 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device ata5790 (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtata5790.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lata5790} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=16k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATA5790__ -D__AVR_DEVICE_NAME__=ata5790 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata5790n b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata5790n new file mode 100644 index 0000000000000000000000000000000000000000..2e2f3f41badc6b2d35eafce8790a9e72797ff230 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata5790n @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device ata5790n (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtata5790n.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lata5790n} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=16k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATA5790N__ -D__AVR_DEVICE_NAME__=ata5790n + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata5791 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata5791 new file mode 100644 index 0000000000000000000000000000000000000000..b05f63d4e728f289a897f38ea6baf7b8843523e6 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata5791 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device ata5791 (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtata5791.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lata5791} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=16k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATA5791__ -D__AVR_DEVICE_NAME__=ata5791 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata5795 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata5795 new file mode 100644 index 0000000000000000000000000000000000000000..621f85f0c72b5d711ec5ec18e99e0c1b701964ee --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata5795 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device ata5795 (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtata5795.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lata5795} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{!mno-pmem-wrap-around: --pmem-wrap-around=8k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATA5795__ -D__AVR_DEVICE_NAME__=ata5795 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata5831 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata5831 new file mode 100644 index 0000000000000000000000000000000000000000..83ba1a429036c4de4af78065b2d5689af7c3b047 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata5831 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device ata5831 (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtata5831.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lata5831} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800200} + +*link_text_start: + %{!Ttext:-Ttext 0x8000} + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATA5831__ -D__AVR_DEVICE_NAME__=ata5831 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata6285 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata6285 new file mode 100644 index 0000000000000000000000000000000000000000..68788b66f69fc17174743324efb9f6e542e3878a --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata6285 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device ata6285 (core avr4, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtata6285.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lata6285} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr4 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{!mno-pmem-wrap-around: --pmem-wrap-around=8k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATA6285__ -D__AVR_DEVICE_NAME__=ata6285 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata6286 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata6286 new file mode 100644 index 0000000000000000000000000000000000000000..0458d8b59fab3ced1858bcf1c3154dcf74002a8f --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata6286 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device ata6286 (core avr4, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtata6286.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lata6286} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr4 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{!mno-pmem-wrap-around: --pmem-wrap-around=8k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATA6286__ -D__AVR_DEVICE_NAME__=ata6286 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata6289 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata6289 new file mode 100644 index 0000000000000000000000000000000000000000..3f84bb5d414130afbd5f23d4d04ef65881df3361 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata6289 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device ata6289 (core avr4, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtata6289.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lata6289} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr4 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{!mno-pmem-wrap-around: --pmem-wrap-around=8k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATA6289__ -D__AVR_DEVICE_NAME__=ata6289 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata6612c b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata6612c new file mode 100644 index 0000000000000000000000000000000000000000..f559254ce5ed143d2df00767302cb8cd789f5325 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata6612c @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device ata6612c (core avr4, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtata6612c.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lata6612c} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr4 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{!mno-pmem-wrap-around: --pmem-wrap-around=8k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATA6612C__ -D__AVR_DEVICE_NAME__=ata6612c + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata6613c b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata6613c new file mode 100644 index 0000000000000000000000000000000000000000..103e39fd96b7802c6898a19a286640ad2d3058f7 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata6613c @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device ata6613c (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtata6613c.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lata6613c} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=16k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATA6613C__ -D__AVR_DEVICE_NAME__=ata6613c + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata6614q b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata6614q new file mode 100644 index 0000000000000000000000000000000000000000..e6ba3ec4dec226f4c3dd8900a66e59b07c1bc883 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata6614q @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device ata6614q (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtata6614q.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lata6614q} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=32k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATA6614Q__ -D__AVR_DEVICE_NAME__=ata6614q + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata6616c b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata6616c new file mode 100644 index 0000000000000000000000000000000000000000..c73e6b6cf195a3ac48c6fa46f8494ab8f779bd48 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata6616c @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device ata6616c (core avr25, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtata6616c.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lata6616c} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr25 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{!mno-pmem-wrap-around: --pmem-wrap-around=8k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATA6616C__ -D__AVR_DEVICE_NAME__=ata6616c + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata6617c b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata6617c new file mode 100644 index 0000000000000000000000000000000000000000..e56f4d5f7c1c54a2e470cc8fa912f2203aedda3c --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata6617c @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device ata6617c (core avr35, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtata6617c.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lata6617c} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr35 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=16k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATA6617C__ -D__AVR_DEVICE_NAME__=ata6617c + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata664251 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata664251 new file mode 100644 index 0000000000000000000000000000000000000000..e250fc3332a630c480fdbd9bc7033796210f8127 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata664251 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device ata664251 (core avr35, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtata664251.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lata664251} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr35 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=16k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATA664251__ -D__AVR_DEVICE_NAME__=ata664251 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata8210 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata8210 new file mode 100644 index 0000000000000000000000000000000000000000..c573c507cf14f21bd164ba7d189591f406fde86c --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata8210 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device ata8210 (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtata8210.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lata8210} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800200} + +*link_text_start: + %{!Ttext:-Ttext 0x8000} + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATA8210__ -D__AVR_DEVICE_NAME__=ata8210 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata8510 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata8510 new file mode 100644 index 0000000000000000000000000000000000000000..3c08cca2fac35d46bdce808e27901cb6223b6d7c --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-ata8510 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device ata8510 (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtata8510.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lata8510} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800200} + +*link_text_start: + %{!Ttext:-Ttext 0x8000} + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATA8510__ -D__AVR_DEVICE_NAME__=ata8510 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega103 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega103 new file mode 100644 index 0000000000000000000000000000000000000000..d6e1e23ee252ebe7990dee58c4100ca4ed2c21ad --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega103 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega103 (core avr31, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega103.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega103} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=2} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mno-skip-bug: -mskip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr31 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega103__ -D__AVR_DEVICE_NAME__=atmega103 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega128 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega128 new file mode 100644 index 0000000000000000000000000000000000000000..2e1f3f97a69fa0a92e0dfe9ea5bca2144f4718d3 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega128 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega128 (core avr51, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega128.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega128} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=2} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr51 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega128__ -D__AVR_DEVICE_NAME__=atmega128 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega1280 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega1280 new file mode 100644 index 0000000000000000000000000000000000000000..5300a728c2e02f781dd6f76592f8e7479688545e --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega1280 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega1280 (core avr51, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega1280.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega1280} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=2} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr51 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800200} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega1280__ -D__AVR_DEVICE_NAME__=atmega1280 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega1281 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega1281 new file mode 100644 index 0000000000000000000000000000000000000000..2102d48fe6df5e61f3594931b490fecb40925e8f --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega1281 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega1281 (core avr51, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega1281.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega1281} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=2} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr51 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800200} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega1281__ -D__AVR_DEVICE_NAME__=atmega1281 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega1284 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega1284 new file mode 100644 index 0000000000000000000000000000000000000000..aa0d701a61436cdb814d6296b72ecdf04b01307b --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega1284 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega1284 (core avr51, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega1284.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega1284} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=2} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr51 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega1284__ -D__AVR_DEVICE_NAME__=atmega1284 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega1284p b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega1284p new file mode 100644 index 0000000000000000000000000000000000000000..db42a0eafee7a7ca509d6caf2de71d19edf4e720 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega1284p @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega1284p (core avr51, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega1284p.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega1284p} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=2} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr51 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega1284P__ -D__AVR_DEVICE_NAME__=atmega1284p + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega1284rfr2 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega1284rfr2 new file mode 100644 index 0000000000000000000000000000000000000000..02d3b99e5a93644d50b1e01d1c97a8d592a31b4e --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega1284rfr2 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega1284rfr2 (core avr51, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega1284rfr2.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega1284rfr2} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=2} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr51 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800200} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega1284RFR2__ -D__AVR_DEVICE_NAME__=atmega1284rfr2 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega128a b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega128a new file mode 100644 index 0000000000000000000000000000000000000000..60185bc206dc23cd0ab3d20157792ccf7ed9685b --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega128a @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega128a (core avr51, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega128a.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega128a} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=2} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr51 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega128A__ -D__AVR_DEVICE_NAME__=atmega128a + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega128rfa1 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega128rfa1 new file mode 100644 index 0000000000000000000000000000000000000000..2acca397f229a45357e77f6fc9b3973cfa5c86e9 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega128rfa1 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega128rfa1 (core avr51, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega128rfa1.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega128rfa1} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=2} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr51 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800200} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega128RFA1__ -D__AVR_DEVICE_NAME__=atmega128rfa1 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega128rfr2 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega128rfr2 new file mode 100644 index 0000000000000000000000000000000000000000..d484903bbb3204b5bf91717023658f81e1914483 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega128rfr2 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega128rfr2 (core avr51, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega128rfr2.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega128rfr2} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=2} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr51 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800200} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega128RFR2__ -D__AVR_DEVICE_NAME__=atmega128rfr2 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega16 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega16 new file mode 100644 index 0000000000000000000000000000000000000000..172c655bec182d7d6c8fa3965baaa8c1bba90df8 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega16 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega16 (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega16.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega16} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=16k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega16__ -D__AVR_DEVICE_NAME__=atmega16 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega1608 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega1608 new file mode 100644 index 0000000000000000000000000000000000000000..8c2d4cd017391e4e7ddac5f1d214bd92a4dbc252 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega1608 @@ -0,0 +1,107 @@ +# +# Auto-generated specs for AVR device atmega1608 (core avrxmega3, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega1608.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega1608} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega3 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_gccisr: + %{!mno-gas-isr-prologues: -mgcc-isr} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=16k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + -Tdata 0x803800 + +*link_text_start: + + +*self_spec: + % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega1608__ -D__AVR_DEVICE_NAME__=atmega1608 -D__AVR_DEV_LIB_NAME__=m1608 + +%rename link old_link + +*link: + %(old_link)--defsym=__RODATA_PM_OFFSET__=0x4000 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega1609 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega1609 new file mode 100644 index 0000000000000000000000000000000000000000..5979a1b8bfadd84f9bb41bf4fa117b9527e700fa --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega1609 @@ -0,0 +1,107 @@ +# +# Auto-generated specs for AVR device atmega1609 (core avrxmega3, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega1609.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega1609} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega3 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_gccisr: + %{!mno-gas-isr-prologues: -mgcc-isr} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=16k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + -Tdata 0x803800 + +*link_text_start: + + +*self_spec: + % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega1609__ -D__AVR_DEVICE_NAME__=atmega1609 -D__AVR_DEV_LIB_NAME__=m1609 + +%rename link old_link + +*link: + %(old_link)--defsym=__RODATA_PM_OFFSET__=0x4000 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega161 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega161 new file mode 100644 index 0000000000000000000000000000000000000000..c66a85abf34e9dffe3653ed2d2bb26f906f5f4ec --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega161 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega161 (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega161.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega161} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=16k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega161__ -D__AVR_DEVICE_NAME__=atmega161 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega162 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega162 new file mode 100644 index 0000000000000000000000000000000000000000..db88fb721aee8187e17b6fa4df1331da4376e670 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega162 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega162 (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega162.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega162} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=16k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega162__ -D__AVR_DEVICE_NAME__=atmega162 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega163 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega163 new file mode 100644 index 0000000000000000000000000000000000000000..736a10e22119372e0d08abc7e07a267155dde492 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega163 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega163 (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega163.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega163} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=16k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega163__ -D__AVR_DEVICE_NAME__=atmega163 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega164a b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega164a new file mode 100644 index 0000000000000000000000000000000000000000..6d38522826ca2dd3bf8fb8d1d22b81007c92bdbc --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega164a @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega164a (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega164a.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega164a} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=16k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega164A__ -D__AVR_DEVICE_NAME__=atmega164a + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega164p b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega164p new file mode 100644 index 0000000000000000000000000000000000000000..b3e3cb3fec94d968c1a55254cdb6e67efa0796ef --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega164p @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega164p (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega164p.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega164p} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=16k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega164P__ -D__AVR_DEVICE_NAME__=atmega164p + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega164pa b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega164pa new file mode 100644 index 0000000000000000000000000000000000000000..24ffbc06eea3efb39540f2ee388d2c85dc04fa45 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega164pa @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega164pa (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega164pa.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega164pa} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=16k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega164PA__ -D__AVR_DEVICE_NAME__=atmega164pa + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega165 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega165 new file mode 100644 index 0000000000000000000000000000000000000000..a967005a24922821a34b9066e917ff8d7aa06267 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega165 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega165 (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega165.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega165} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=16k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega165__ -D__AVR_DEVICE_NAME__=atmega165 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega165a b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega165a new file mode 100644 index 0000000000000000000000000000000000000000..abeaadfe7d52141aba09b050dcb3b579fc84a9cd --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega165a @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega165a (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega165a.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega165a} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=16k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega165A__ -D__AVR_DEVICE_NAME__=atmega165a + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega165p b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega165p new file mode 100644 index 0000000000000000000000000000000000000000..923fd5410ecd7c093d84e875136f26f97f56b46d --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega165p @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega165p (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega165p.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega165p} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=16k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega165P__ -D__AVR_DEVICE_NAME__=atmega165p + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega165pa b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega165pa new file mode 100644 index 0000000000000000000000000000000000000000..98f7d71c80a6f3d354952a36ec14f0858e8a1d40 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega165pa @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega165pa (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega165pa.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega165pa} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=16k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega165PA__ -D__AVR_DEVICE_NAME__=atmega165pa + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega168 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega168 new file mode 100644 index 0000000000000000000000000000000000000000..da360c1461c695b4b535e32c34a7e72397f5c681 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega168 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega168 (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega168.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega168} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=16k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega168__ -D__AVR_DEVICE_NAME__=atmega168 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega168a b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega168a new file mode 100644 index 0000000000000000000000000000000000000000..33b51afc5b1d5aee3fcdf8077b3bc08262727e06 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega168a @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega168a (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega168a.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega168a} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=16k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega168A__ -D__AVR_DEVICE_NAME__=atmega168a + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega168p b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega168p new file mode 100644 index 0000000000000000000000000000000000000000..2d8ac183020cb3c2f001fb4ceca476ef1821b476 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega168p @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega168p (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega168p.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega168p} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=16k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega168P__ -D__AVR_DEVICE_NAME__=atmega168p + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega168pa b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega168pa new file mode 100644 index 0000000000000000000000000000000000000000..4f93a488fb573e7ab4675f47183e95d4ee5581e3 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega168pa @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega168pa (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega168pa.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega168pa} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=16k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega168PA__ -D__AVR_DEVICE_NAME__=atmega168pa + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega168pb b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega168pb new file mode 100644 index 0000000000000000000000000000000000000000..5f6138fa920e4500524a2ec5e881fc1992220c30 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega168pb @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega168pb (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega168pb.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega168pb} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=16k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega168PB__ -D__AVR_DEVICE_NAME__=atmega168pb + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega169 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega169 new file mode 100644 index 0000000000000000000000000000000000000000..ba19625058c53481155ddca9131182c6b687b873 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega169 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega169 (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega169.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega169} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=16k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega169__ -D__AVR_DEVICE_NAME__=atmega169 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega169a b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega169a new file mode 100644 index 0000000000000000000000000000000000000000..a5a22567e04189930928d8c79e5666b90d409deb --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega169a @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega169a (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega169a.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega169a} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=16k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega169A__ -D__AVR_DEVICE_NAME__=atmega169a + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega169p b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega169p new file mode 100644 index 0000000000000000000000000000000000000000..e98033206185fbd30460d55b5cc3bc9a97ff3093 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega169p @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega169p (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega169p.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega169p} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=16k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega169P__ -D__AVR_DEVICE_NAME__=atmega169p + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega169pa b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega169pa new file mode 100644 index 0000000000000000000000000000000000000000..c79ccd6a6413d148efaaade198aa7b2a733f7501 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega169pa @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega169pa (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega169pa.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega169pa} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=16k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega169PA__ -D__AVR_DEVICE_NAME__=atmega169pa + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega16a b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega16a new file mode 100644 index 0000000000000000000000000000000000000000..909d91997299773649fb26abf1d28472903caeff --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega16a @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega16a (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega16a.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega16a} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=16k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega16A__ -D__AVR_DEVICE_NAME__=atmega16a + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega16hva b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega16hva new file mode 100644 index 0000000000000000000000000000000000000000..34d188246e0263f2c6c2e9bd7516e2791c75d442 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega16hva @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega16hva (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega16hva.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega16hva} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=16k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega16HVA__ -D__AVR_DEVICE_NAME__=atmega16hva + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega16hva2 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega16hva2 new file mode 100644 index 0000000000000000000000000000000000000000..96a1ec49e3a4b7d1b5e9ef2ceb2131b8ad6aef63 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega16hva2 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega16hva2 (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega16hva2.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega16hva2} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=16k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega16HVA2__ -D__AVR_DEVICE_NAME__=atmega16hva2 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega16hvb b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega16hvb new file mode 100644 index 0000000000000000000000000000000000000000..dffbf7a4b580646b95d71d3e84c7137ae56966b5 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega16hvb @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega16hvb (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega16hvb.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega16hvb} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=16k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega16HVB__ -D__AVR_DEVICE_NAME__=atmega16hvb + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega16hvbrevb b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega16hvbrevb new file mode 100644 index 0000000000000000000000000000000000000000..34fbb2b12f98e28182135c97a6b91fff8a94180b --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega16hvbrevb @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega16hvbrevb (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega16hvbrevb.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega16hvbrevb} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=16k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega16HVBREVB__ -D__AVR_DEVICE_NAME__=atmega16hvbrevb + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega16m1 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega16m1 new file mode 100644 index 0000000000000000000000000000000000000000..96c8119e3b4c11a72ad662564e70050818801b40 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega16m1 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega16m1 (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega16m1.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega16m1} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=16k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega16M1__ -D__AVR_DEVICE_NAME__=atmega16m1 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega16u2 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega16u2 new file mode 100644 index 0000000000000000000000000000000000000000..b7cccae0c38bb3c91041de30233d9bdab7cbb8ea --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega16u2 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega16u2 (core avr35, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega16u2.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega16u2} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr35 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=16k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega16U2__ -D__AVR_DEVICE_NAME__=atmega16u2 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega16u4 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega16u4 new file mode 100644 index 0000000000000000000000000000000000000000..6c132cd58a9cfcd0c7db690b0d78cfeec4c56055 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega16u4 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega16u4 (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega16u4.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega16u4} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=16k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega16U4__ -D__AVR_DEVICE_NAME__=atmega16u4 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega2560 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega2560 new file mode 100644 index 0000000000000000000000000000000000000000..b29f4e2634419d41059b299bdac128f9338194f0 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega2560 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega2560 (core avr6, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega2560.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega2560} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=4} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr6 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800200} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega2560__ -D__AVR_DEVICE_NAME__=atmega2560 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega2561 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega2561 new file mode 100644 index 0000000000000000000000000000000000000000..cc733324e83fd24addbbe5065f0c8108280312af --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega2561 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega2561 (core avr6, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega2561.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega2561} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=4} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr6 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800200} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega2561__ -D__AVR_DEVICE_NAME__=atmega2561 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega2564rfr2 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega2564rfr2 new file mode 100644 index 0000000000000000000000000000000000000000..b9b303bd1d7fc9034b4aed6cea435a7d763c5ac3 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega2564rfr2 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega2564rfr2 (core avr6, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega2564rfr2.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega2564rfr2} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=4} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr6 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800200} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega2564RFR2__ -D__AVR_DEVICE_NAME__=atmega2564rfr2 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega256rfr2 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega256rfr2 new file mode 100644 index 0000000000000000000000000000000000000000..d0842ba665e52e37c5a1019664f242e1acc0c57f --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega256rfr2 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega256rfr2 (core avr6, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega256rfr2.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega256rfr2} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=4} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr6 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800200} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega256RFR2__ -D__AVR_DEVICE_NAME__=atmega256rfr2 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega32 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega32 new file mode 100644 index 0000000000000000000000000000000000000000..02d837264e35f214a94bca00a87bfc48fc2b107c --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega32 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega32 (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega32.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega32} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=32k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega32__ -D__AVR_DEVICE_NAME__=atmega32 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega3208 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega3208 new file mode 100644 index 0000000000000000000000000000000000000000..76c48598966faa9ac1c398e9abaf7df2bf73649d --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega3208 @@ -0,0 +1,107 @@ +# +# Auto-generated specs for AVR device atmega3208 (core avrxmega3, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega3208.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega3208} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega3 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_gccisr: + %{!mno-gas-isr-prologues: -mgcc-isr} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=32k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + -Tdata 0x803000 + +*link_text_start: + + +*self_spec: + % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega3208__ -D__AVR_DEVICE_NAME__=atmega3208 -D__AVR_DEV_LIB_NAME__=m3208 + +%rename link old_link + +*link: + %(old_link)--defsym=__RODATA_PM_OFFSET__=0x4000 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega3209 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega3209 new file mode 100644 index 0000000000000000000000000000000000000000..01445924161e1dfb750a1badf5b7cb5c819b6c3e --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega3209 @@ -0,0 +1,107 @@ +# +# Auto-generated specs for AVR device atmega3209 (core avrxmega3, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega3209.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega3209} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega3 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_gccisr: + %{!mno-gas-isr-prologues: -mgcc-isr} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=32k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + -Tdata 0x803000 + +*link_text_start: + + +*self_spec: + % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega3209__ -D__AVR_DEVICE_NAME__=atmega3209 -D__AVR_DEV_LIB_NAME__=m3209 + +%rename link old_link + +*link: + %(old_link)--defsym=__RODATA_PM_OFFSET__=0x4000 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega323 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega323 new file mode 100644 index 0000000000000000000000000000000000000000..e4ebba278db77265f01fd500e090489fc9452498 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega323 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega323 (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega323.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega323} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=32k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega323__ -D__AVR_DEVICE_NAME__=atmega323 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega324a b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega324a new file mode 100644 index 0000000000000000000000000000000000000000..4eec2467258ff82b9bf67e528eb42da86bfde618 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega324a @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega324a (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega324a.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega324a} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=32k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega324A__ -D__AVR_DEVICE_NAME__=atmega324a + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega324p b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega324p new file mode 100644 index 0000000000000000000000000000000000000000..f6554cd8ccfadc0a08287d6283a3930ee1f708ee --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega324p @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega324p (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega324p.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega324p} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=32k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega324P__ -D__AVR_DEVICE_NAME__=atmega324p + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega324pa b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega324pa new file mode 100644 index 0000000000000000000000000000000000000000..8ae9ca50e15f8a93ef867c65cdcd5c1c21d2a664 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega324pa @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega324pa (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega324pa.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega324pa} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=32k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega324PA__ -D__AVR_DEVICE_NAME__=atmega324pa + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega324pb b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega324pb new file mode 100644 index 0000000000000000000000000000000000000000..4ad75ca3bf22dae7bcf2324ced845f64014bac56 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega324pb @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega324pb (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega324pb.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega324pb} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_gccisr: + %{!mno-gas-isr-prologues: -mgcc-isr} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=32k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + -Tdata 0x800100 + +*link_text_start: + + +*self_spec: + % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega324PB__ -D__AVR_DEVICE_NAME__=atmega324pb -D__AVR_DEV_LIB_NAME__=m324pb + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega325 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega325 new file mode 100644 index 0000000000000000000000000000000000000000..49da588be4b036af56d516444e1eac44a20d4b1e --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega325 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega325 (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega325.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega325} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=32k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega325__ -D__AVR_DEVICE_NAME__=atmega325 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega3250 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega3250 new file mode 100644 index 0000000000000000000000000000000000000000..62a45c0ef06fe7aee3698de5a007271a066e8da8 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega3250 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega3250 (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega3250.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega3250} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=32k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega3250__ -D__AVR_DEVICE_NAME__=atmega3250 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega3250a b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega3250a new file mode 100644 index 0000000000000000000000000000000000000000..61c502610e13b90c414a3d3e9285ec66a1489e6e --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega3250a @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega3250a (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega3250a.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega3250a} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=32k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega3250A__ -D__AVR_DEVICE_NAME__=atmega3250a + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega3250p b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega3250p new file mode 100644 index 0000000000000000000000000000000000000000..bbae9a41141721d8ee78ec3ee50a1435779a540e --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega3250p @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega3250p (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega3250p.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega3250p} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=32k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega3250P__ -D__AVR_DEVICE_NAME__=atmega3250p + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega3250pa b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega3250pa new file mode 100644 index 0000000000000000000000000000000000000000..c32118826d896d28c1541b4359179f684512eb67 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega3250pa @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega3250pa (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega3250pa.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega3250pa} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=32k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega3250PA__ -D__AVR_DEVICE_NAME__=atmega3250pa + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega325a b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega325a new file mode 100644 index 0000000000000000000000000000000000000000..dab9231a9d4d5cafb56fada67f47b727041702db --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega325a @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega325a (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega325a.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega325a} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=32k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega325A__ -D__AVR_DEVICE_NAME__=atmega325a + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega325p b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega325p new file mode 100644 index 0000000000000000000000000000000000000000..ff062e53c46551a3585a17de16eefd8776fc52f0 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega325p @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega325p (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega325p.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega325p} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=32k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega325P__ -D__AVR_DEVICE_NAME__=atmega325p + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega325pa b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega325pa new file mode 100644 index 0000000000000000000000000000000000000000..85ce8913938f1699cf5f111f9a51ded2e1da0ab4 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega325pa @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega325pa (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega325pa.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega325pa} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=32k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega325PA__ -D__AVR_DEVICE_NAME__=atmega325pa + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega328 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega328 new file mode 100644 index 0000000000000000000000000000000000000000..e65f7011d2ca6f1a61569c193f89c1c298b3255c --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega328 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega328 (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega328.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega328} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=32k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega328__ -D__AVR_DEVICE_NAME__=atmega328 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega328p b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega328p new file mode 100644 index 0000000000000000000000000000000000000000..9c59640519318dfccc925ca8b4a1fd42f1f3b641 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega328p @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega328p (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega328p.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega328p} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=32k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega328P__ -D__AVR_DEVICE_NAME__=atmega328p + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega328pb b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega328pb new file mode 100644 index 0000000000000000000000000000000000000000..77712ac319f3151489a08d54b49cff5c87a11600 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega328pb @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega328pb (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega328pb.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega328pb} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=32k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega328PB__ -D__AVR_DEVICE_NAME__=atmega328pb + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega329 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega329 new file mode 100644 index 0000000000000000000000000000000000000000..c6837cf91c4916790cc561260d1851c52a2d393a --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega329 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega329 (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega329.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega329} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=32k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega329__ -D__AVR_DEVICE_NAME__=atmega329 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega3290 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega3290 new file mode 100644 index 0000000000000000000000000000000000000000..6e591a22e92c937e0dd0d24e632f5ad97b91ac21 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega3290 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega3290 (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega3290.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega3290} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=32k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega3290__ -D__AVR_DEVICE_NAME__=atmega3290 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega3290a b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega3290a new file mode 100644 index 0000000000000000000000000000000000000000..464e10a426fa54a1fe8cda27b7488c8e17c43772 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega3290a @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega3290a (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega3290a.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega3290a} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=32k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega3290A__ -D__AVR_DEVICE_NAME__=atmega3290a + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega3290p b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega3290p new file mode 100644 index 0000000000000000000000000000000000000000..f8b4c7aad17042f5f0ec5736f708376380a73110 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega3290p @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega3290p (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega3290p.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega3290p} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=32k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega3290P__ -D__AVR_DEVICE_NAME__=atmega3290p + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega3290pa b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega3290pa new file mode 100644 index 0000000000000000000000000000000000000000..172c3e60677f1db243d4e33cdfe23b6bf25a8714 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega3290pa @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega3290pa (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega3290pa.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega3290pa} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=32k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega3290PA__ -D__AVR_DEVICE_NAME__=atmega3290pa + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega329a b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega329a new file mode 100644 index 0000000000000000000000000000000000000000..7ca2b9e48e06fec3130b9264a178d410908b9f61 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega329a @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega329a (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega329a.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega329a} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=32k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega329A__ -D__AVR_DEVICE_NAME__=atmega329a + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega329p b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega329p new file mode 100644 index 0000000000000000000000000000000000000000..b6db3c45bd1d76fe769b6cc2bcef9eb436443fb8 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega329p @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega329p (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega329p.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega329p} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=32k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega329P__ -D__AVR_DEVICE_NAME__=atmega329p + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega329pa b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega329pa new file mode 100644 index 0000000000000000000000000000000000000000..c5615309a6f8a20fa9902a7572672c5ec5e4c076 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega329pa @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega329pa (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega329pa.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega329pa} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=32k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega329PA__ -D__AVR_DEVICE_NAME__=atmega329pa + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega32a b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega32a new file mode 100644 index 0000000000000000000000000000000000000000..6a2bf13b4b2d78e2127b2ba741b210dcbbdd97ab --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega32a @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega32a (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega32a.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega32a} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=32k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega32A__ -D__AVR_DEVICE_NAME__=atmega32a + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega32c1 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega32c1 new file mode 100644 index 0000000000000000000000000000000000000000..93e5e450acfe7cadc199b318e4ffd398c49d6cfa --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega32c1 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega32c1 (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega32c1.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega32c1} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=32k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega32C1__ -D__AVR_DEVICE_NAME__=atmega32c1 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega32hvb b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega32hvb new file mode 100644 index 0000000000000000000000000000000000000000..3b3171cf561ab1d7fdc99a3996c43d554ebb3186 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega32hvb @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega32hvb (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega32hvb.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega32hvb} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=32k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega32HVB__ -D__AVR_DEVICE_NAME__=atmega32hvb + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega32hvbrevb b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega32hvbrevb new file mode 100644 index 0000000000000000000000000000000000000000..5b767eb33e3761dd116e3396d269bc0f71c0802a --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega32hvbrevb @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega32hvbrevb (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega32hvbrevb.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega32hvbrevb} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=32k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega32HVBREVB__ -D__AVR_DEVICE_NAME__=atmega32hvbrevb + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega32m1 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega32m1 new file mode 100644 index 0000000000000000000000000000000000000000..4c3fdce6d8f76b764424b7a1c069ee542be5b745 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega32m1 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega32m1 (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega32m1.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega32m1} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=32k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega32M1__ -D__AVR_DEVICE_NAME__=atmega32m1 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega32u2 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega32u2 new file mode 100644 index 0000000000000000000000000000000000000000..0213471f1334eb30de6fe13929ed4eb688db1ff4 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega32u2 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega32u2 (core avr35, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega32u2.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega32u2} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr35 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=32k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega32U2__ -D__AVR_DEVICE_NAME__=atmega32u2 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega32u4 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega32u4 new file mode 100644 index 0000000000000000000000000000000000000000..5fc5888f60ad06f91065cd0f9fc0d519e6dcac53 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega32u4 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega32u4 (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega32u4.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega32u4} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=32k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega32U4__ -D__AVR_DEVICE_NAME__=atmega32u4 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega32u6 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega32u6 new file mode 100644 index 0000000000000000000000000000000000000000..bfc34ba414b4c789fadab8727861deea8b73bc40 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega32u6 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega32u6 (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega32u6.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega32u6} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=32k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega32U6__ -D__AVR_DEVICE_NAME__=atmega32u6 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega406 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega406 new file mode 100644 index 0000000000000000000000000000000000000000..7ee3ff453b470b8992f971b95d33f35f0ce0808b --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega406 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega406 (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega406.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega406} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega406__ -D__AVR_DEVICE_NAME__=atmega406 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega48 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega48 new file mode 100644 index 0000000000000000000000000000000000000000..d453c9a57685ac40a75e8d6e7293a2167c11f8ef --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega48 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega48 (core avr4, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega48.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega48} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr4 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega48__ -D__AVR_DEVICE_NAME__=atmega48 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega4808 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega4808 new file mode 100644 index 0000000000000000000000000000000000000000..e36d784f9de441b3c1bbb16ca08374ee32bacc52 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega4808 @@ -0,0 +1,107 @@ +# +# Auto-generated specs for AVR device atmega4808 (core avrxmega3, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega4808.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega4808} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega3 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_gccisr: + %{!mno-gas-isr-prologues: -mgcc-isr} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + -Tdata 0x802800 + +*link_text_start: + + +*self_spec: + % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega4808__ -D__AVR_DEVICE_NAME__=atmega4808 -D__AVR_DEV_LIB_NAME__=m4808 + +%rename link old_link + +*link: + %(old_link)--defsym=__RODATA_PM_OFFSET__=0x4000 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega4809 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega4809 new file mode 100644 index 0000000000000000000000000000000000000000..c2e4b33be65c2b1432c95f4ac8dcfcb82d24877f --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega4809 @@ -0,0 +1,107 @@ +# +# Auto-generated specs for AVR device atmega4809 (core avrxmega3, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega4809.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega4809} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega3 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_gccisr: + %{!mno-gas-isr-prologues: -mgcc-isr} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + -Tdata 0x802800 + +*link_text_start: + + +*self_spec: + % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega4809__ -D__AVR_DEVICE_NAME__=atmega4809 -D__AVR_DEV_LIB_NAME__=m4809 + +%rename link old_link + +*link: + %(old_link)--defsym=__RODATA_PM_OFFSET__=0x4000 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega48a b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega48a new file mode 100644 index 0000000000000000000000000000000000000000..8d5d5027f4d91119a6ad18c8573f0fb1dce78681 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega48a @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega48a (core avr4, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega48a.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega48a} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr4 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega48A__ -D__AVR_DEVICE_NAME__=atmega48a + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega48p b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega48p new file mode 100644 index 0000000000000000000000000000000000000000..48068b01cdc42037fcb0ac40f468967439d73978 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega48p @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega48p (core avr4, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega48p.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega48p} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr4 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega48P__ -D__AVR_DEVICE_NAME__=atmega48p + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega48pa b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega48pa new file mode 100644 index 0000000000000000000000000000000000000000..486abef3b32405aba18fb8b2debd89485297e408 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega48pa @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega48pa (core avr4, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega48pa.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega48pa} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr4 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega48PA__ -D__AVR_DEVICE_NAME__=atmega48pa + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega48pb b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega48pb new file mode 100644 index 0000000000000000000000000000000000000000..9f5b87f34f50a3db3242c4703b62e041e2d1ac1f --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega48pb @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega48pb (core avr4, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega48pb.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega48pb} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr4 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega48PB__ -D__AVR_DEVICE_NAME__=atmega48pb + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega64 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega64 new file mode 100644 index 0000000000000000000000000000000000000000..362e7dfd01c8f25b79dd72ee7abec180d332b427 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega64 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega64 (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega64.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega64} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=64k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega64__ -D__AVR_DEVICE_NAME__=atmega64 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega640 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega640 new file mode 100644 index 0000000000000000000000000000000000000000..0f1d80cfef287234ed3bc4b15ad1f96f549c5f10 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega640 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega640 (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega640.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega640} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=64k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800200} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega640__ -D__AVR_DEVICE_NAME__=atmega640 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega644 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega644 new file mode 100644 index 0000000000000000000000000000000000000000..ca98b32d31e5523498be04aaa5616c9d2cc89d10 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega644 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega644 (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega644.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega644} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=64k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega644__ -D__AVR_DEVICE_NAME__=atmega644 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega644a b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega644a new file mode 100644 index 0000000000000000000000000000000000000000..7355a45aa984606e00f1714c885cb308e71f9747 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega644a @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega644a (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega644a.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega644a} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=64k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega644A__ -D__AVR_DEVICE_NAME__=atmega644a + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega644p b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega644p new file mode 100644 index 0000000000000000000000000000000000000000..ef4fed57cfab4a080b6bf03f16405c4b2507ea2c --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega644p @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega644p (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega644p.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega644p} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=64k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega644P__ -D__AVR_DEVICE_NAME__=atmega644p + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega644pa b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega644pa new file mode 100644 index 0000000000000000000000000000000000000000..80be1c421d4ec238457f2e696d031e587f77fb43 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega644pa @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega644pa (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega644pa.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega644pa} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=64k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega644PA__ -D__AVR_DEVICE_NAME__=atmega644pa + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega644rfr2 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega644rfr2 new file mode 100644 index 0000000000000000000000000000000000000000..27ca749fb959d0c67d6016c54230a9d8f2f11b6b --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega644rfr2 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega644rfr2 (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega644rfr2.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega644rfr2} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=64k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800200} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega644RFR2__ -D__AVR_DEVICE_NAME__=atmega644rfr2 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega645 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega645 new file mode 100644 index 0000000000000000000000000000000000000000..22602bfffc3fafa3185819d55b6eda34235cc3b3 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega645 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega645 (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega645.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega645} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=64k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega645__ -D__AVR_DEVICE_NAME__=atmega645 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega6450 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega6450 new file mode 100644 index 0000000000000000000000000000000000000000..acbd7d5920d1493daae32c9ad068f3eca4e992d8 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega6450 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega6450 (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega6450.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega6450} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=64k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega6450__ -D__AVR_DEVICE_NAME__=atmega6450 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega6450a b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega6450a new file mode 100644 index 0000000000000000000000000000000000000000..d9124642e1c915827b96a196ffecc8d5508f3ce3 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega6450a @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega6450a (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega6450a.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega6450a} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=64k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega6450A__ -D__AVR_DEVICE_NAME__=atmega6450a + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega6450p b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega6450p new file mode 100644 index 0000000000000000000000000000000000000000..fa46f0d54344481ac2d162e9c450bc1be37085dd --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega6450p @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega6450p (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega6450p.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega6450p} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=64k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega6450P__ -D__AVR_DEVICE_NAME__=atmega6450p + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega645a b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega645a new file mode 100644 index 0000000000000000000000000000000000000000..801a241fbf3f37f2d41dc02c34b79f00571a7877 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega645a @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega645a (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega645a.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega645a} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=64k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega645A__ -D__AVR_DEVICE_NAME__=atmega645a + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega645p b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega645p new file mode 100644 index 0000000000000000000000000000000000000000..cceaf57103f047f452c0fdb4c9c1f079d76fc595 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega645p @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega645p (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega645p.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega645p} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=64k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega645P__ -D__AVR_DEVICE_NAME__=atmega645p + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega649 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega649 new file mode 100644 index 0000000000000000000000000000000000000000..7148b5034f0547714b193a34a086944be027d15c --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega649 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega649 (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega649.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega649} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=64k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega649__ -D__AVR_DEVICE_NAME__=atmega649 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega6490 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega6490 new file mode 100644 index 0000000000000000000000000000000000000000..dc487133a15bc787af6eb6009d7d747215186d5e --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega6490 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega6490 (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega6490.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega6490} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=64k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega6490__ -D__AVR_DEVICE_NAME__=atmega6490 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega6490a b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega6490a new file mode 100644 index 0000000000000000000000000000000000000000..0306d47a0f524b7e37d7414f96ae1d6de8097d85 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega6490a @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega6490a (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega6490a.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega6490a} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=64k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega6490A__ -D__AVR_DEVICE_NAME__=atmega6490a + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega6490p b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega6490p new file mode 100644 index 0000000000000000000000000000000000000000..c2f3068413c26e4160e0ec8c6ea1c9a2e75886cc --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega6490p @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega6490p (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega6490p.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega6490p} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=64k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega6490P__ -D__AVR_DEVICE_NAME__=atmega6490p + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega649a b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega649a new file mode 100644 index 0000000000000000000000000000000000000000..adeec4c5556fb3758f389566dcfc304f9d221b4b --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega649a @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega649a (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega649a.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega649a} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=64k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega649A__ -D__AVR_DEVICE_NAME__=atmega649a + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega649p b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega649p new file mode 100644 index 0000000000000000000000000000000000000000..2ef13e5a6dd93e0a9d3f91821106cbee69d77d4b --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega649p @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega649p (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega649p.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega649p} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=64k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega649P__ -D__AVR_DEVICE_NAME__=atmega649p + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega64a b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega64a new file mode 100644 index 0000000000000000000000000000000000000000..02d5c0db18c2a01b564bf083b66d99aa6950c8e0 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega64a @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega64a (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega64a.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega64a} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=64k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega64A__ -D__AVR_DEVICE_NAME__=atmega64a + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega64c1 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega64c1 new file mode 100644 index 0000000000000000000000000000000000000000..8b5d69d4120677a9b5112c262f42c6d1db577e1b --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega64c1 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega64c1 (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega64c1.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega64c1} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=64k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega64C1__ -D__AVR_DEVICE_NAME__=atmega64c1 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega64hve b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega64hve new file mode 100644 index 0000000000000000000000000000000000000000..e74c9a85ff203a173d253087938620e837b9d265 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega64hve @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega64hve (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega64hve.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega64hve} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=64k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega64HVE__ -D__AVR_DEVICE_NAME__=atmega64hve + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega64hve2 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega64hve2 new file mode 100644 index 0000000000000000000000000000000000000000..da44a8e8e4a40ff72ef7a20a5963d199cf8d45f7 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega64hve2 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega64hve2 (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega64hve2.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega64hve2} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=64k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega64HVE2__ -D__AVR_DEVICE_NAME__=atmega64hve2 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega64m1 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega64m1 new file mode 100644 index 0000000000000000000000000000000000000000..b082e7496d1fe94fb7dcdccab7a90470773ac390 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega64m1 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega64m1 (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega64m1.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega64m1} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=64k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega64M1__ -D__AVR_DEVICE_NAME__=atmega64m1 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega64rfr2 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega64rfr2 new file mode 100644 index 0000000000000000000000000000000000000000..fda966303a0a01b9c353eeaa8b557aaf622c1be7 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega64rfr2 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega64rfr2 (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega64rfr2.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega64rfr2} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=64k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800200} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega64RFR2__ -D__AVR_DEVICE_NAME__=atmega64rfr2 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega8 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega8 new file mode 100644 index 0000000000000000000000000000000000000000..231d0255118bb8b9ca70a5e23b8a0f07b6c4fed3 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega8 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega8 (core avr4, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega8.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega8} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr4 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{!mno-pmem-wrap-around: --pmem-wrap-around=8k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega8__ -D__AVR_DEVICE_NAME__=atmega8 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega808 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega808 new file mode 100644 index 0000000000000000000000000000000000000000..87c46b9950a4b4a5155478aabfb4dc9aced04e8c --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega808 @@ -0,0 +1,107 @@ +# +# Auto-generated specs for AVR device atmega808 (core avrxmega3, 16-bit SP, short-calls) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega808.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega808} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega3 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_gccisr: + %{!mno-gas-isr-prologues: -mgcc-isr} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{!mno-pmem-wrap-around: --pmem-wrap-around=8k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + -Tdata 0x803C00 + +*link_text_start: + + +*self_spec: + % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega808__ -D__AVR_DEVICE_NAME__=atmega808 -D__AVR_DEV_LIB_NAME__=m808 + +%rename link old_link + +*link: + %(old_link)--defsym=__RODATA_PM_OFFSET__=0x4000 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega809 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega809 new file mode 100644 index 0000000000000000000000000000000000000000..c6bbecf2698075e60bedbd838a94f3a239eacabb --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega809 @@ -0,0 +1,107 @@ +# +# Auto-generated specs for AVR device atmega809 (core avrxmega3, 16-bit SP, short-calls) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega809.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega809} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega3 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_gccisr: + %{!mno-gas-isr-prologues: -mgcc-isr} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{!mno-pmem-wrap-around: --pmem-wrap-around=8k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + -Tdata 0x803C00 + +*link_text_start: + + +*self_spec: + % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega809__ -D__AVR_DEVICE_NAME__=atmega809 -D__AVR_DEV_LIB_NAME__=m809 + +%rename link old_link + +*link: + %(old_link)--defsym=__RODATA_PM_OFFSET__=0x4000 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega8515 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega8515 new file mode 100644 index 0000000000000000000000000000000000000000..bb8da94281227ff74c8c58b069bee8a0a29e82e3 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega8515 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega8515 (core avr4, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega8515.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega8515} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr4 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{!mno-pmem-wrap-around: --pmem-wrap-around=8k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega8515__ -D__AVR_DEVICE_NAME__=atmega8515 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega8535 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega8535 new file mode 100644 index 0000000000000000000000000000000000000000..f48f42da7e515675c7ec8d4be7923ea90b37b917 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega8535 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega8535 (core avr4, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega8535.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega8535} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr4 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{!mno-pmem-wrap-around: --pmem-wrap-around=8k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega8535__ -D__AVR_DEVICE_NAME__=atmega8535 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega88 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega88 new file mode 100644 index 0000000000000000000000000000000000000000..5200740f6121e3de727830da4bc199c9a80c6d53 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega88 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega88 (core avr4, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega88.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega88} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr4 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{!mno-pmem-wrap-around: --pmem-wrap-around=8k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega88__ -D__AVR_DEVICE_NAME__=atmega88 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega88a b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega88a new file mode 100644 index 0000000000000000000000000000000000000000..1ba0db8fed21ccc00d39eb603c412d941c230f44 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega88a @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega88a (core avr4, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega88a.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega88a} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr4 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{!mno-pmem-wrap-around: --pmem-wrap-around=8k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega88A__ -D__AVR_DEVICE_NAME__=atmega88a + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega88p b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega88p new file mode 100644 index 0000000000000000000000000000000000000000..2de177ac279b8d55aa77de098c293fc32395c1db --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega88p @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega88p (core avr4, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega88p.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega88p} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr4 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{!mno-pmem-wrap-around: --pmem-wrap-around=8k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega88P__ -D__AVR_DEVICE_NAME__=atmega88p + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega88pa b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega88pa new file mode 100644 index 0000000000000000000000000000000000000000..84dc3325faaf6d9a91db305c97546d3e4610504f --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega88pa @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega88pa (core avr4, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega88pa.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega88pa} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr4 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{!mno-pmem-wrap-around: --pmem-wrap-around=8k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega88PA__ -D__AVR_DEVICE_NAME__=atmega88pa + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega88pb b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega88pb new file mode 100644 index 0000000000000000000000000000000000000000..493c9fed984a2ed4aa096cf5337b69b390a76808 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega88pb @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega88pb (core avr4, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega88pb.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega88pb} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr4 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{!mno-pmem-wrap-around: --pmem-wrap-around=8k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega88PB__ -D__AVR_DEVICE_NAME__=atmega88pb + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega8a b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega8a new file mode 100644 index 0000000000000000000000000000000000000000..33d6b72391ef274791c2f30b2139ace50f455595 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega8a @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega8a (core avr4, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega8a.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega8a} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr4 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{!mno-pmem-wrap-around: --pmem-wrap-around=8k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega8A__ -D__AVR_DEVICE_NAME__=atmega8a + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega8hva b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega8hva new file mode 100644 index 0000000000000000000000000000000000000000..3c44ef0952af0a21d37eb5f3370d8ad041233ff1 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega8hva @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega8hva (core avr4, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega8hva.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega8hva} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr4 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{!mno-pmem-wrap-around: --pmem-wrap-around=8k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega8HVA__ -D__AVR_DEVICE_NAME__=atmega8hva + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega8u2 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega8u2 new file mode 100644 index 0000000000000000000000000000000000000000..92b4c495ae37a611d459505795f821b58281fab6 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atmega8u2 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atmega8u2 (core avr35, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatmega8u2.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latmega8u2} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr35 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{!mno-pmem-wrap-around: --pmem-wrap-around=8k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATmega8U2__ -D__AVR_DEVICE_NAME__=atmega8u2 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny10 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny10 new file mode 100644 index 0000000000000000000000000000000000000000..ddd4cd1bdd30706c159147d5a3ec2bde36bf42df --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny10 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device attiny10 (core avrtiny, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny10.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny10} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{!mno-absdata: -mabsdata} + +*cc1_absdata: + %{!mno-absdata: -mabsdata} + +*asm_arch: + -mmcu=avrtiny + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny10__ -D__AVR_DEVICE_NAME__=attiny10 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny102 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny102 new file mode 100644 index 0000000000000000000000000000000000000000..47bdcf10b83a101f76f13f9fc3bdfbcd5da229c9 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny102 @@ -0,0 +1,110 @@ +# +# Auto-generated specs for AVR device attiny102 (core avrtiny, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny102.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny102} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_non_bit_addressable_registers_mask: + -mnon-bit-addressable-registers-mask=0x7f00 + +*cc1_absdata: + %{!mno-absdata: -mabsdata} + +*asm_arch: + -mmcu=avrtiny + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_gccisr: + %{!mno-gas-isr-prologues: -mgcc-isr} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny102__ -D__AVR_DEVICE_NAME__=attiny102 -D__AVR_DEV_LIB_NAME__=tn102 + +%rename link old_link + +*link: + %(old_link)--defsym=__RODATA_PM_OFFSET__=0x4000 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny104 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny104 new file mode 100644 index 0000000000000000000000000000000000000000..c6fcc51da8047074ded085f740138f943e5d854d --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny104 @@ -0,0 +1,110 @@ +# +# Auto-generated specs for AVR device attiny104 (core avrtiny, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny104.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny104} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_non_bit_addressable_registers_mask: + -mnon-bit-addressable-registers-mask=0x7f00 + +*cc1_absdata: + %{!mno-absdata: -mabsdata} + +*asm_arch: + -mmcu=avrtiny + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_gccisr: + %{!mno-gas-isr-prologues: -mgcc-isr} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny104__ -D__AVR_DEVICE_NAME__=attiny104 -D__AVR_DEV_LIB_NAME__=tn104 + +%rename link old_link + +*link: + %(old_link)--defsym=__RODATA_PM_OFFSET__=0x4000 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny11 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny11 new file mode 100644 index 0000000000000000000000000000000000000000..93c5c38a3d07baeae494b6bf1ab2702acc7268f1 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny11 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device attiny11 (core avr1, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny11.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny11} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr1 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny11__ -D__AVR_DEVICE_NAME__=attiny11 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny12 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny12 new file mode 100644 index 0000000000000000000000000000000000000000..5e1975243c75ca6892b932e39499e0eabe573953 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny12 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device attiny12 (core avr1, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny12.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny12} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr1 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny12__ -D__AVR_DEVICE_NAME__=attiny12 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny13 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny13 new file mode 100644 index 0000000000000000000000000000000000000000..0d47d8d99e79bf2bdf4d83cc10ac7598c78e7636 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny13 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device attiny13 (core avr25, 8-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny13.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny13} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr25 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny13__ -D__AVR_DEVICE_NAME__=attiny13 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny13a b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny13a new file mode 100644 index 0000000000000000000000000000000000000000..a0f2c2b96e945784c4f15dab04ed5376ea7387f8 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny13a @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device attiny13a (core avr25, 8-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny13a.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny13a} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr25 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny13A__ -D__AVR_DEVICE_NAME__=attiny13a + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny15 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny15 new file mode 100644 index 0000000000000000000000000000000000000000..eb2d641ebd20c69d41a45944abc61cc2d550f2ab --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny15 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device attiny15 (core avr1, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny15.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny15} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr1 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny15__ -D__AVR_DEVICE_NAME__=attiny15 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny1604 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny1604 new file mode 100644 index 0000000000000000000000000000000000000000..457cca39e5d99cfff77427184ffc43de4ac8d047 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny1604 @@ -0,0 +1,107 @@ +# +# Auto-generated specs for AVR device attiny1604 (core avrxmega3, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny1604.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny1604} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega3 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_gccisr: + %{!mno-gas-isr-prologues: -mgcc-isr} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=16k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + -Tdata 0x803C00 + +*link_text_start: + + +*self_spec: + % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny1604__ -D__AVR_DEVICE_NAME__=attiny1604 -D__AVR_DEV_LIB_NAME__=tn1604 + +%rename link old_link + +*link: + %(old_link)--defsym=__RODATA_PM_OFFSET__=0x8000 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny1606 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny1606 new file mode 100644 index 0000000000000000000000000000000000000000..ceb34174fbf1b399a6aecbf6e25f33cfcf67afd9 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny1606 @@ -0,0 +1,107 @@ +# +# Auto-generated specs for AVR device attiny1606 (core avrxmega3, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny1606.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny1606} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega3 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_gccisr: + %{!mno-gas-isr-prologues: -mgcc-isr} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=16k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + -Tdata 0x803C00 + +*link_text_start: + + +*self_spec: + % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny1606__ -D__AVR_DEVICE_NAME__=attiny1606 -D__AVR_DEV_LIB_NAME__=tn1606 + +%rename link old_link + +*link: + %(old_link)--defsym=__RODATA_PM_OFFSET__=0x8000 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny1607 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny1607 new file mode 100644 index 0000000000000000000000000000000000000000..99134169ae01ea4bf317f94fa3f1118e63a691fc --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny1607 @@ -0,0 +1,107 @@ +# +# Auto-generated specs for AVR device attiny1607 (core avrxmega3, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny1607.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny1607} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega3 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_gccisr: + %{!mno-gas-isr-prologues: -mgcc-isr} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=16k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + -Tdata 0x803C00 + +*link_text_start: + + +*self_spec: + % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny1607__ -D__AVR_DEVICE_NAME__=attiny1607 -D__AVR_DEV_LIB_NAME__=tn1607 + +%rename link old_link + +*link: + %(old_link)--defsym=__RODATA_PM_OFFSET__=0x8000 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny1614 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny1614 new file mode 100644 index 0000000000000000000000000000000000000000..fd78a4a142f34fae1fae973d5e5398d6c19db081 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny1614 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device attiny1614 (core avrxmega3, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny1614.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny1614} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega3 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=16k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x803800} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny1614__ -D__AVR_DEVICE_NAME__=attiny1614 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny1616 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny1616 new file mode 100644 index 0000000000000000000000000000000000000000..4baf1f1601ac50156c62899164e867a6048c620b --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny1616 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device attiny1616 (core avrxmega3, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny1616.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny1616} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega3 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=16k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x803800} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny1616__ -D__AVR_DEVICE_NAME__=attiny1616 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny1617 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny1617 new file mode 100644 index 0000000000000000000000000000000000000000..d2a2a1520bd41b80620be98c37e2eb06ca794430 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny1617 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device attiny1617 (core avrxmega3, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny1617.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny1617} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega3 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=16k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x803800} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny1617__ -D__AVR_DEVICE_NAME__=attiny1617 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny1624 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny1624 new file mode 100644 index 0000000000000000000000000000000000000000..868ede654ba1c8993cff55a674e85eb111bbbb17 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny1624 @@ -0,0 +1,107 @@ +# +# Auto-generated specs for AVR device attiny1624 (core avrxmega3, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny1624.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny1624} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega3 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_gccisr: + %{!mno-gas-isr-prologues: -mgcc-isr} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=16k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + -Tdata 0x803800 + +*link_text_start: + + +*self_spec: + % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny1624__ -D__AVR_DEVICE_NAME__=attiny1624 -D__AVR_DEV_LIB_NAME__=tn1624 + +%rename link old_link + +*link: + %(old_link)--defsym=__RODATA_PM_OFFSET__=0x8000 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny1626 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny1626 new file mode 100644 index 0000000000000000000000000000000000000000..75b1465cfa1e1386e40cacbb3fdb1e2a560b6847 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny1626 @@ -0,0 +1,107 @@ +# +# Auto-generated specs for AVR device attiny1626 (core avrxmega3, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny1626.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny1626} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega3 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_gccisr: + %{!mno-gas-isr-prologues: -mgcc-isr} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=16k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + -Tdata 0x803800 + +*link_text_start: + + +*self_spec: + % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny1626__ -D__AVR_DEVICE_NAME__=attiny1626 -D__AVR_DEV_LIB_NAME__=tn1626 + +%rename link old_link + +*link: + %(old_link)--defsym=__RODATA_PM_OFFSET__=0x8000 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny1627 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny1627 new file mode 100644 index 0000000000000000000000000000000000000000..15238a7205137c04dd591a25bc47e2edd8a705ac --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny1627 @@ -0,0 +1,107 @@ +# +# Auto-generated specs for AVR device attiny1627 (core avrxmega3, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny1627.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny1627} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega3 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_gccisr: + %{!mno-gas-isr-prologues: -mgcc-isr} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=16k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + -Tdata 0x803800 + +*link_text_start: + + +*self_spec: + % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny1627__ -D__AVR_DEVICE_NAME__=attiny1627 -D__AVR_DEV_LIB_NAME__=tn1627 + +%rename link old_link + +*link: + %(old_link)--defsym=__RODATA_PM_OFFSET__=0x8000 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny1634 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny1634 new file mode 100644 index 0000000000000000000000000000000000000000..389229abb16f08e94bbb3ba9cc3116e2b297cb02 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny1634 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device attiny1634 (core avr35, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny1634.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny1634} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr35 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=16k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny1634__ -D__AVR_DEVICE_NAME__=attiny1634 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny167 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny167 new file mode 100644 index 0000000000000000000000000000000000000000..8e2f806ca215590271e8b814b194e385219ab89c --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny167 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device attiny167 (core avr35, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny167.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny167} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr35 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=16k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny167__ -D__AVR_DEVICE_NAME__=attiny167 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny20 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny20 new file mode 100644 index 0000000000000000000000000000000000000000..e2e3c0b2f2faf45079b30f5a65236639c00aad66 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny20 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device attiny20 (core avrtiny, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny20.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny20} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{!mno-absdata: -mabsdata} + +*cc1_absdata: + %{!mno-absdata: -mabsdata} + +*asm_arch: + -mmcu=avrtiny + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny20__ -D__AVR_DEVICE_NAME__=attiny20 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny202 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny202 new file mode 100644 index 0000000000000000000000000000000000000000..8dea42257d0fd3a141a1ec4c270b61b4322d50d4 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny202 @@ -0,0 +1,107 @@ +# +# Auto-generated specs for AVR device attiny202 (core avrxmega3, 16-bit SP, short-calls) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny202.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny202} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega3 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_gccisr: + %{!mno-gas-isr-prologues: -mgcc-isr} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + -Tdata 0x803F80 + +*link_text_start: + + +*self_spec: + % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny202__ -D__AVR_DEVICE_NAME__=attiny202 -D__AVR_DEV_LIB_NAME__=tn202 + +%rename link old_link + +*link: + %(old_link)--defsym=__RODATA_PM_OFFSET__=0x8000 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny204 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny204 new file mode 100644 index 0000000000000000000000000000000000000000..97cb9d5321edeb89065850e96a88502e86f670d9 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny204 @@ -0,0 +1,107 @@ +# +# Auto-generated specs for AVR device attiny204 (core avrxmega3, 16-bit SP, short-calls) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny204.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny204} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega3 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_gccisr: + %{!mno-gas-isr-prologues: -mgcc-isr} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + -Tdata 0x803F80 + +*link_text_start: + + +*self_spec: + % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny204__ -D__AVR_DEVICE_NAME__=attiny204 -D__AVR_DEV_LIB_NAME__=tn204 + +%rename link old_link + +*link: + %(old_link)--defsym=__RODATA_PM_OFFSET__=0x8000 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny212 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny212 new file mode 100644 index 0000000000000000000000000000000000000000..584c9512ae7123e6a3d9dfdb9ff88066d6a11525 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny212 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device attiny212 (core avrxmega3, 16-bit SP, short-calls) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny212.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny212} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega3 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x803F80} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny212__ -D__AVR_DEVICE_NAME__=attiny212 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny214 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny214 new file mode 100644 index 0000000000000000000000000000000000000000..1dc27d32cd3eb574bf3f9c22a12c96c057679843 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny214 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device attiny214 (core avrxmega3, 16-bit SP, short-calls) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny214.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny214} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega3 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x803F80} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny214__ -D__AVR_DEVICE_NAME__=attiny214 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny22 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny22 new file mode 100644 index 0000000000000000000000000000000000000000..05af9c05e00561a69072905b9f1490cdace72631 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny22 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device attiny22 (core avr2, 8-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny22.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny22} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr2 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny22__ -D__AVR_DEVICE_NAME__=attiny22 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny2313 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny2313 new file mode 100644 index 0000000000000000000000000000000000000000..26b20be5b0469f0e4c82c20b1df96e64f02febf5 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny2313 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device attiny2313 (core avr25, 8-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny2313.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny2313} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr25 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny2313__ -D__AVR_DEVICE_NAME__=attiny2313 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny2313a b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny2313a new file mode 100644 index 0000000000000000000000000000000000000000..35056f647dffe7a44851ed31a65bbf08c878b5e9 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny2313a @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device attiny2313a (core avr25, 8-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny2313a.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny2313a} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr25 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny2313A__ -D__AVR_DEVICE_NAME__=attiny2313a + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny24 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny24 new file mode 100644 index 0000000000000000000000000000000000000000..da22bfe29826dc334cdba3246d85cbc480564f6e --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny24 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device attiny24 (core avr25, 8-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny24.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny24} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr25 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny24__ -D__AVR_DEVICE_NAME__=attiny24 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny24a b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny24a new file mode 100644 index 0000000000000000000000000000000000000000..31af2b1a6d17e15e401d948be154519639fe1758 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny24a @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device attiny24a (core avr25, 8-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny24a.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny24a} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr25 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny24A__ -D__AVR_DEVICE_NAME__=attiny24a + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny25 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny25 new file mode 100644 index 0000000000000000000000000000000000000000..fa95997a20bf98ca9e504db2f72f7eb250d881b4 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny25 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device attiny25 (core avr25, 8-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny25.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny25} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr25 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny25__ -D__AVR_DEVICE_NAME__=attiny25 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny26 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny26 new file mode 100644 index 0000000000000000000000000000000000000000..627ed822e1ed8398686f4c91d6b319309240f0b0 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny26 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device attiny26 (core avr2, 8-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny26.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny26} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr2 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny26__ -D__AVR_DEVICE_NAME__=attiny26 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny261 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny261 new file mode 100644 index 0000000000000000000000000000000000000000..2e0cf49c8f74ba0ce8cc73119b246fe3cafcb9e2 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny261 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device attiny261 (core avr25, 8-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny261.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny261} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr25 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny261__ -D__AVR_DEVICE_NAME__=attiny261 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny261a b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny261a new file mode 100644 index 0000000000000000000000000000000000000000..78a0509f83873b8df2068b2e2455fa2f9745b229 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny261a @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device attiny261a (core avr25, 8-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny261a.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny261a} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr25 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny261A__ -D__AVR_DEVICE_NAME__=attiny261a + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny28 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny28 new file mode 100644 index 0000000000000000000000000000000000000000..3f55bc85ac2d18cfc8a5191693947f3aac3192b5 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny28 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device attiny28 (core avr1, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny28.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny28} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr1 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny28__ -D__AVR_DEVICE_NAME__=attiny28 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny3214 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny3214 new file mode 100644 index 0000000000000000000000000000000000000000..22fe85a48dbb2578e2c2c38fd8cebdd954bb78c5 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny3214 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device attiny3214 (core avrxmega3, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny3214.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny3214} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega3 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=32k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x803800} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny3214__ -D__AVR_DEVICE_NAME__=attiny3214 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny3216 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny3216 new file mode 100644 index 0000000000000000000000000000000000000000..aca8b2c4eb84fae50b7a228a1999aacaae321092 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny3216 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device attiny3216 (core avrxmega3, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny3216.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny3216} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega3 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=32k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x803800} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny3216__ -D__AVR_DEVICE_NAME__=attiny3216 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny3217 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny3217 new file mode 100644 index 0000000000000000000000000000000000000000..aba05bdd09313b1445f2ea45ace328c2f0564c7c --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny3217 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device attiny3217 (core avrxmega3, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny3217.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny3217} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega3 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=32k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x803800} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny3217__ -D__AVR_DEVICE_NAME__=attiny3217 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny4 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny4 new file mode 100644 index 0000000000000000000000000000000000000000..46ae9a9f48e850d747ecc08f999a868d5bad828c --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny4 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device attiny4 (core avrtiny, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny4.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny4} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{!mno-absdata: -mabsdata} + +*cc1_absdata: + %{!mno-absdata: -mabsdata} + +*asm_arch: + -mmcu=avrtiny + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny4__ -D__AVR_DEVICE_NAME__=attiny4 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny40 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny40 new file mode 100644 index 0000000000000000000000000000000000000000..7e337d64cb2558ad4a36c990b0bb7fb2fe62a8ee --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny40 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device attiny40 (core avrtiny, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny40.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny40} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrtiny + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny40__ -D__AVR_DEVICE_NAME__=attiny40 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny402 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny402 new file mode 100644 index 0000000000000000000000000000000000000000..3ebf386d451e1b3918bd60fc295b86e2925d78ce --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny402 @@ -0,0 +1,107 @@ +# +# Auto-generated specs for AVR device attiny402 (core avrxmega3, 16-bit SP, short-calls) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny402.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny402} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega3 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_gccisr: + %{!mno-gas-isr-prologues: -mgcc-isr} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + -Tdata 0x803F00 + +*link_text_start: + + +*self_spec: + % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny402__ -D__AVR_DEVICE_NAME__=attiny402 -D__AVR_DEV_LIB_NAME__=tn402 + +%rename link old_link + +*link: + %(old_link)--defsym=__RODATA_PM_OFFSET__=0x8000 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny404 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny404 new file mode 100644 index 0000000000000000000000000000000000000000..c9e147133f3a3ad6f78ccf1f07f6972fb1e00226 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny404 @@ -0,0 +1,107 @@ +# +# Auto-generated specs for AVR device attiny404 (core avrxmega3, 16-bit SP, short-calls) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny404.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny404} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega3 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_gccisr: + %{!mno-gas-isr-prologues: -mgcc-isr} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + -Tdata 0x803F00 + +*link_text_start: + + +*self_spec: + % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny404__ -D__AVR_DEVICE_NAME__=attiny404 -D__AVR_DEV_LIB_NAME__=tn404 + +%rename link old_link + +*link: + %(old_link)--defsym=__RODATA_PM_OFFSET__=0x8000 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny406 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny406 new file mode 100644 index 0000000000000000000000000000000000000000..367bc4007a9e823601649b1216e6f14ba19d283d --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny406 @@ -0,0 +1,107 @@ +# +# Auto-generated specs for AVR device attiny406 (core avrxmega3, 16-bit SP, short-calls) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny406.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny406} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega3 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_gccisr: + %{!mno-gas-isr-prologues: -mgcc-isr} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + -Tdata 0x803F00 + +*link_text_start: + + +*self_spec: + % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny406__ -D__AVR_DEVICE_NAME__=attiny406 -D__AVR_DEV_LIB_NAME__=tn406 + +%rename link old_link + +*link: + %(old_link)--defsym=__RODATA_PM_OFFSET__=0x8000 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny412 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny412 new file mode 100644 index 0000000000000000000000000000000000000000..086694746e71e65012cd1fe290b5c0041b790138 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny412 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device attiny412 (core avrxmega3, 16-bit SP, short-calls) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny412.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny412} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega3 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x803F00} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny412__ -D__AVR_DEVICE_NAME__=attiny412 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny414 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny414 new file mode 100644 index 0000000000000000000000000000000000000000..5aa339763664a61aa4d20b79d9bae942c3413bd2 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny414 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device attiny414 (core avrxmega3, 16-bit SP, short-calls) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny414.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny414} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega3 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x803F00} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny414__ -D__AVR_DEVICE_NAME__=attiny414 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny416 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny416 new file mode 100644 index 0000000000000000000000000000000000000000..55a6fa58162a0deb484aa7f10ba829c441bd2233 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny416 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device attiny416 (core avrxmega3, 16-bit SP, short-calls) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny416.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny416} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega3 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x803F00} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny416__ -D__AVR_DEVICE_NAME__=attiny416 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny417 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny417 new file mode 100644 index 0000000000000000000000000000000000000000..1ae19ad632db456ef3a4aef18b2abf82e6b25056 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny417 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device attiny417 (core avrxmega3, 16-bit SP, short-calls) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny417.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny417} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega3 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x803F00} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny417__ -D__AVR_DEVICE_NAME__=attiny417 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny4313 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny4313 new file mode 100644 index 0000000000000000000000000000000000000000..d57c77fb5d821e9f3a9ef3525627b5103eef8774 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny4313 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device attiny4313 (core avr25, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny4313.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny4313} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr25 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny4313__ -D__AVR_DEVICE_NAME__=attiny4313 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny43u b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny43u new file mode 100644 index 0000000000000000000000000000000000000000..317a37a646f650eaf1bef3c8fff3a6ea92b0072d --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny43u @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device attiny43u (core avr25, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny43u.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny43u} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr25 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny43U__ -D__AVR_DEVICE_NAME__=attiny43u + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny44 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny44 new file mode 100644 index 0000000000000000000000000000000000000000..abf6f8749bc088e7838d53cd14561169db513adc --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny44 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device attiny44 (core avr25, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny44.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny44} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr25 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny44__ -D__AVR_DEVICE_NAME__=attiny44 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny441 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny441 new file mode 100644 index 0000000000000000000000000000000000000000..9e3b8709bcbb056ef2f62cb7bdd4cefb35a35870 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny441 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device attiny441 (core avr25, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny441.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny441} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr25 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny441__ -D__AVR_DEVICE_NAME__=attiny441 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny44a b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny44a new file mode 100644 index 0000000000000000000000000000000000000000..ec59ee06df51acccdc177a698403ce9cdd05f17b --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny44a @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device attiny44a (core avr25, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny44a.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny44a} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr25 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny44A__ -D__AVR_DEVICE_NAME__=attiny44a + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny45 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny45 new file mode 100644 index 0000000000000000000000000000000000000000..715e73542dbb19010378aaba40e89cdeee7c532f --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny45 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device attiny45 (core avr25, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny45.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny45} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr25 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny45__ -D__AVR_DEVICE_NAME__=attiny45 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny461 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny461 new file mode 100644 index 0000000000000000000000000000000000000000..9c076c11d3cc9002694b530cc104506ad7c51fbc --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny461 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device attiny461 (core avr25, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny461.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny461} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr25 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny461__ -D__AVR_DEVICE_NAME__=attiny461 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny461a b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny461a new file mode 100644 index 0000000000000000000000000000000000000000..a2914fee38fc92a04d2d2adf3064218350f5fc46 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny461a @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device attiny461a (core avr25, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny461a.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny461a} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr25 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny461A__ -D__AVR_DEVICE_NAME__=attiny461a + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny48 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny48 new file mode 100644 index 0000000000000000000000000000000000000000..8df19b13225681c408d77ae5c0e346c11b64c2b3 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny48 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device attiny48 (core avr25, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny48.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny48} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr25 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny48__ -D__AVR_DEVICE_NAME__=attiny48 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny5 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny5 new file mode 100644 index 0000000000000000000000000000000000000000..fd145d5d8a5d8d93bad2c287c93faeca37ed537c --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny5 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device attiny5 (core avrtiny, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny5.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny5} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{!mno-absdata: -mabsdata} + +*cc1_absdata: + %{!mno-absdata: -mabsdata} + +*asm_arch: + -mmcu=avrtiny + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny5__ -D__AVR_DEVICE_NAME__=attiny5 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny804 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny804 new file mode 100644 index 0000000000000000000000000000000000000000..78021f7071ba6d8c18819685bb90302361d6e9aa --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny804 @@ -0,0 +1,107 @@ +# +# Auto-generated specs for AVR device attiny804 (core avrxmega3, 16-bit SP, short-calls) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny804.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny804} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega3 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_gccisr: + %{!mno-gas-isr-prologues: -mgcc-isr} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{!mno-pmem-wrap-around: --pmem-wrap-around=8k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + -Tdata 0x803E00 + +*link_text_start: + + +*self_spec: + % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny804__ -D__AVR_DEVICE_NAME__=attiny804 -D__AVR_DEV_LIB_NAME__=tn804 + +%rename link old_link + +*link: + %(old_link)--defsym=__RODATA_PM_OFFSET__=0x8000 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny806 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny806 new file mode 100644 index 0000000000000000000000000000000000000000..7c4e961d965e0a6274c286c76b4d823b26683151 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny806 @@ -0,0 +1,107 @@ +# +# Auto-generated specs for AVR device attiny806 (core avrxmega3, 16-bit SP, short-calls) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny806.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny806} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega3 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_gccisr: + %{!mno-gas-isr-prologues: -mgcc-isr} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{!mno-pmem-wrap-around: --pmem-wrap-around=8k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + -Tdata 0x803E00 + +*link_text_start: + + +*self_spec: + % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny806__ -D__AVR_DEVICE_NAME__=attiny806 -D__AVR_DEV_LIB_NAME__=tn806 + +%rename link old_link + +*link: + %(old_link)--defsym=__RODATA_PM_OFFSET__=0x8000 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny807 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny807 new file mode 100644 index 0000000000000000000000000000000000000000..6c5931d1ef1e9467584e29c828d705dd0f9a7b75 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny807 @@ -0,0 +1,107 @@ +# +# Auto-generated specs for AVR device attiny807 (core avrxmega3, 16-bit SP, short-calls) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny807.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny807} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega3 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_gccisr: + %{!mno-gas-isr-prologues: -mgcc-isr} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{!mno-pmem-wrap-around: --pmem-wrap-around=8k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + -Tdata 0x803E00 + +*link_text_start: + + +*self_spec: + % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny807__ -D__AVR_DEVICE_NAME__=attiny807 -D__AVR_DEV_LIB_NAME__=tn807 + +%rename link old_link + +*link: + %(old_link)--defsym=__RODATA_PM_OFFSET__=0x8000 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny814 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny814 new file mode 100644 index 0000000000000000000000000000000000000000..59d0fddc12f05b83069771f4e9f25d87a2e0ed69 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny814 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device attiny814 (core avrxmega3, 16-bit SP, short-calls) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny814.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny814} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega3 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{!mno-pmem-wrap-around: --pmem-wrap-around=8k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x803E00} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny814__ -D__AVR_DEVICE_NAME__=attiny814 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny816 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny816 new file mode 100644 index 0000000000000000000000000000000000000000..99a448e78418f010fb8490622f97738d78646f1b --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny816 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device attiny816 (core avrxmega3, 16-bit SP, short-calls) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny816.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny816} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega3 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{!mno-pmem-wrap-around: --pmem-wrap-around=8k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x803E00} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny816__ -D__AVR_DEVICE_NAME__=attiny816 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny817 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny817 new file mode 100644 index 0000000000000000000000000000000000000000..e654d57900455514eb92683932ac41791933b5bb --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny817 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device attiny817 (core avrxmega3, 16-bit SP, short-calls) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny817.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny817} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega3 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{!mno-pmem-wrap-around: --pmem-wrap-around=8k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x803E00} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny817__ -D__AVR_DEVICE_NAME__=attiny817 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny828 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny828 new file mode 100644 index 0000000000000000000000000000000000000000..3e84bde57afbf6d60cc6defef8deec21cb1dc951 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny828 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device attiny828 (core avr25, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny828.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny828} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr25 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{!mno-pmem-wrap-around: --pmem-wrap-around=8k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny828__ -D__AVR_DEVICE_NAME__=attiny828 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny84 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny84 new file mode 100644 index 0000000000000000000000000000000000000000..a98507eb069ce0e0df727d654dd9707b82681e47 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny84 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device attiny84 (core avr25, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny84.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny84} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr25 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{!mno-pmem-wrap-around: --pmem-wrap-around=8k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny84__ -D__AVR_DEVICE_NAME__=attiny84 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny841 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny841 new file mode 100644 index 0000000000000000000000000000000000000000..50a19642a44b195ac6f653a7a4553247bc92d2d4 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny841 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device attiny841 (core avr25, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny841.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny841} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr25 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{!mno-pmem-wrap-around: --pmem-wrap-around=8k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny841__ -D__AVR_DEVICE_NAME__=attiny841 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny84a b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny84a new file mode 100644 index 0000000000000000000000000000000000000000..fd156f518ad22fee3bbc6b2e4660d30bb1ad1a72 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny84a @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device attiny84a (core avr25, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny84a.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny84a} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr25 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{!mno-pmem-wrap-around: --pmem-wrap-around=8k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny84A__ -D__AVR_DEVICE_NAME__=attiny84a + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny85 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny85 new file mode 100644 index 0000000000000000000000000000000000000000..6047d39d31975bb9fc17ef027cdeb4c9b8199e36 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny85 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device attiny85 (core avr25, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny85.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny85} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr25 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{!mno-pmem-wrap-around: --pmem-wrap-around=8k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny85__ -D__AVR_DEVICE_NAME__=attiny85 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny861 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny861 new file mode 100644 index 0000000000000000000000000000000000000000..ff47861773e5ab2a7e6ef4806d34411185a82059 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny861 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device attiny861 (core avr25, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny861.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny861} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr25 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{!mno-pmem-wrap-around: --pmem-wrap-around=8k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny861__ -D__AVR_DEVICE_NAME__=attiny861 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny861a b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny861a new file mode 100644 index 0000000000000000000000000000000000000000..9d8da70b223140fb21d8d46bf96673ff5a115e0c --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny861a @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device attiny861a (core avr25, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny861a.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny861a} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr25 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{!mno-pmem-wrap-around: --pmem-wrap-around=8k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny861A__ -D__AVR_DEVICE_NAME__=attiny861a + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny87 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny87 new file mode 100644 index 0000000000000000000000000000000000000000..f30d206ba2c9c79d3eee1c163178b83596d399da --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny87 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device attiny87 (core avr25, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny87.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny87} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr25 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{!mno-pmem-wrap-around: --pmem-wrap-around=8k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny87__ -D__AVR_DEVICE_NAME__=attiny87 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny88 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny88 new file mode 100644 index 0000000000000000000000000000000000000000..3300911ddb3305cb9439aa4fb3e61c29470d3b87 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny88 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device attiny88 (core avr25, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny88.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny88} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr25 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{!mno-pmem-wrap-around: --pmem-wrap-around=8k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x800100} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny88__ -D__AVR_DEVICE_NAME__=attiny88 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny9 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny9 new file mode 100644 index 0000000000000000000000000000000000000000..6f4ae54f10940b9bf4eb5668b3e472098928c779 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-attiny9 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device attiny9 (core avrtiny, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtattiny9.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lattiny9} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{!mno-absdata: -mabsdata} + +*cc1_absdata: + %{!mno-absdata: -mabsdata} + +*asm_arch: + -mmcu=avrtiny + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATtiny9__ -D__AVR_DEVICE_NAME__=attiny9 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega128a1 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega128a1 new file mode 100644 index 0000000000000000000000000000000000000000..4e59aa6fa9a4a686078a49639425612f5b2a2cb9 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega128a1 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atxmega128a1 (core avrxmega7, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatxmega128a1.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latxmega128a1} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=3} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega7 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATxmega128A1__ -D__AVR_DEVICE_NAME__=atxmega128a1 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega128a1u b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega128a1u new file mode 100644 index 0000000000000000000000000000000000000000..da630a0916225f2876d9fd6494f9673125a7db38 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega128a1u @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atxmega128a1u (core avrxmega7, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatxmega128a1u.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latxmega128a1u} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=3} + +*cc1_rmw: + %{!mno-rmw: -mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega7 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{!mno-rmw: -mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATxmega128A1U__ -D__AVR_DEVICE_NAME__=atxmega128a1u + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega128a3 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega128a3 new file mode 100644 index 0000000000000000000000000000000000000000..07e3ef79c61166c46a01f742d0d6981d21b0d88f --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega128a3 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atxmega128a3 (core avrxmega6, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatxmega128a3.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latxmega128a3} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=3} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega6 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATxmega128A3__ -D__AVR_DEVICE_NAME__=atxmega128a3 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega128a3u b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega128a3u new file mode 100644 index 0000000000000000000000000000000000000000..1508ced715cfef5692a3c2e2c07d81a00e6a020c --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega128a3u @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atxmega128a3u (core avrxmega6, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatxmega128a3u.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latxmega128a3u} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=3} + +*cc1_rmw: + %{!mno-rmw: -mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega6 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{!mno-rmw: -mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATxmega128A3U__ -D__AVR_DEVICE_NAME__=atxmega128a3u + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega128a4u b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega128a4u new file mode 100644 index 0000000000000000000000000000000000000000..f82ec09a64864de92f4148c730cc613a1aaea9b3 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega128a4u @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atxmega128a4u (core avrxmega7, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatxmega128a4u.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latxmega128a4u} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=3} + +*cc1_rmw: + %{!mno-rmw: -mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega7 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{!mno-rmw: -mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATxmega128A4U__ -D__AVR_DEVICE_NAME__=atxmega128a4u + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega128b1 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega128b1 new file mode 100644 index 0000000000000000000000000000000000000000..3d400b78b42e5a5424a1ff02ccb1f3bae53caf20 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega128b1 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atxmega128b1 (core avrxmega6, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatxmega128b1.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latxmega128b1} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=3} + +*cc1_rmw: + %{!mno-rmw: -mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega6 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{!mno-rmw: -mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATxmega128B1__ -D__AVR_DEVICE_NAME__=atxmega128b1 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega128b3 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega128b3 new file mode 100644 index 0000000000000000000000000000000000000000..0155600ca8530cb0e4d028ac3507274a98ee7b82 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega128b3 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atxmega128b3 (core avrxmega6, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatxmega128b3.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latxmega128b3} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=3} + +*cc1_rmw: + %{!mno-rmw: -mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega6 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{!mno-rmw: -mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATxmega128B3__ -D__AVR_DEVICE_NAME__=atxmega128b3 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega128c3 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega128c3 new file mode 100644 index 0000000000000000000000000000000000000000..f92e2bd0d54cb7cb4f8cedf7df9187e915a3c9f1 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega128c3 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atxmega128c3 (core avrxmega6, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatxmega128c3.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latxmega128c3} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=3} + +*cc1_rmw: + %{!mno-rmw: -mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega6 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{!mno-rmw: -mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATxmega128C3__ -D__AVR_DEVICE_NAME__=atxmega128c3 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega128d3 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega128d3 new file mode 100644 index 0000000000000000000000000000000000000000..ca95afd13cff508384ee4be4c3a1747c8d8ce103 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega128d3 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atxmega128d3 (core avrxmega6, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatxmega128d3.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latxmega128d3} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=3} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega6 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATxmega128D3__ -D__AVR_DEVICE_NAME__=atxmega128d3 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega128d4 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega128d4 new file mode 100644 index 0000000000000000000000000000000000000000..db70523f3b65337501b36b8672031aed30922138 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega128d4 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atxmega128d4 (core avrxmega6, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatxmega128d4.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latxmega128d4} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=3} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega6 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATxmega128D4__ -D__AVR_DEVICE_NAME__=atxmega128d4 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega16a4 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega16a4 new file mode 100644 index 0000000000000000000000000000000000000000..bfc7f6c4025e64f0505becc1813c67a2626b9720 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega16a4 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atxmega16a4 (core avrxmega2, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatxmega16a4.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latxmega16a4} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega2 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATxmega16A4__ -D__AVR_DEVICE_NAME__=atxmega16a4 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega16a4u b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega16a4u new file mode 100644 index 0000000000000000000000000000000000000000..dc0504e8ed1971b309fbce5f02432e0b6441559b --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega16a4u @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atxmega16a4u (core avrxmega2, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatxmega16a4u.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latxmega16a4u} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{!mno-rmw: -mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega2 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{!mno-rmw: -mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATxmega16A4U__ -D__AVR_DEVICE_NAME__=atxmega16a4u + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega16c4 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega16c4 new file mode 100644 index 0000000000000000000000000000000000000000..6654241ff708c1c8d6aa0fb2d9f312f9c19e217d --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega16c4 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atxmega16c4 (core avrxmega2, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatxmega16c4.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latxmega16c4} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{!mno-rmw: -mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega2 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{!mno-rmw: -mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATxmega16C4__ -D__AVR_DEVICE_NAME__=atxmega16c4 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega16d4 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega16d4 new file mode 100644 index 0000000000000000000000000000000000000000..16704faf8ba3e921d6cbc4aeed9a5e40f87bcc06 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega16d4 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atxmega16d4 (core avrxmega2, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatxmega16d4.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latxmega16d4} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega2 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATxmega16D4__ -D__AVR_DEVICE_NAME__=atxmega16d4 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega16e5 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega16e5 new file mode 100644 index 0000000000000000000000000000000000000000..81d9f1b475c7462779b4784913d6e42f6b689ee9 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega16e5 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atxmega16e5 (core avrxmega2, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatxmega16e5.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latxmega16e5} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega2 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATxmega16E5__ -D__AVR_DEVICE_NAME__=atxmega16e5 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega192a3 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega192a3 new file mode 100644 index 0000000000000000000000000000000000000000..ed5849aa2568244e87a223c21e4b81f6be6f98d6 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega192a3 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atxmega192a3 (core avrxmega6, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatxmega192a3.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latxmega192a3} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=4} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega6 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATxmega192A3__ -D__AVR_DEVICE_NAME__=atxmega192a3 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega192a3u b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega192a3u new file mode 100644 index 0000000000000000000000000000000000000000..939beb3cad071b34c4e4ae1d5f10b670e503bac5 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega192a3u @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atxmega192a3u (core avrxmega6, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatxmega192a3u.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latxmega192a3u} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=4} + +*cc1_rmw: + %{!mno-rmw: -mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega6 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{!mno-rmw: -mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATxmega192A3U__ -D__AVR_DEVICE_NAME__=atxmega192a3u + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega192c3 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega192c3 new file mode 100644 index 0000000000000000000000000000000000000000..16ccd7388672be7beb54743dfa7e3e4d5960ae76 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega192c3 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atxmega192c3 (core avrxmega6, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatxmega192c3.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latxmega192c3} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=4} + +*cc1_rmw: + %{!mno-rmw: -mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega6 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{!mno-rmw: -mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATxmega192C3__ -D__AVR_DEVICE_NAME__=atxmega192c3 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega192d3 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega192d3 new file mode 100644 index 0000000000000000000000000000000000000000..b05c7e85bd6339cbe650aedd425022474f5ede6e --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega192d3 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atxmega192d3 (core avrxmega6, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatxmega192d3.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latxmega192d3} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=4} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega6 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATxmega192D3__ -D__AVR_DEVICE_NAME__=atxmega192d3 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega256a3 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega256a3 new file mode 100644 index 0000000000000000000000000000000000000000..3cb1bc0e43c88f70113be56a91334aecc80da141 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega256a3 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atxmega256a3 (core avrxmega6, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatxmega256a3.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latxmega256a3} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=5} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega6 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATxmega256A3__ -D__AVR_DEVICE_NAME__=atxmega256a3 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega256a3b b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega256a3b new file mode 100644 index 0000000000000000000000000000000000000000..b6cdf9291e1389d154b2cd8064ead4fdd8aa451d --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega256a3b @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atxmega256a3b (core avrxmega6, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatxmega256a3b.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latxmega256a3b} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=5} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega6 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATxmega256A3B__ -D__AVR_DEVICE_NAME__=atxmega256a3b + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega256a3bu b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega256a3bu new file mode 100644 index 0000000000000000000000000000000000000000..08e03777792406187c7d1d07da191251316fcf2f --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega256a3bu @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atxmega256a3bu (core avrxmega6, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatxmega256a3bu.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latxmega256a3bu} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=5} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega6 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATxmega256A3BU__ -D__AVR_DEVICE_NAME__=atxmega256a3bu + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega256a3u b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega256a3u new file mode 100644 index 0000000000000000000000000000000000000000..48cafc58616af3102deb8651b422d579bb958ccd --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega256a3u @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atxmega256a3u (core avrxmega6, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatxmega256a3u.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latxmega256a3u} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=5} + +*cc1_rmw: + %{!mno-rmw: -mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega6 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{!mno-rmw: -mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATxmega256A3U__ -D__AVR_DEVICE_NAME__=atxmega256a3u + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega256c3 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega256c3 new file mode 100644 index 0000000000000000000000000000000000000000..40e304ce68a3eb6154f6d6a025c8aa4fc0f6a1b0 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega256c3 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atxmega256c3 (core avrxmega6, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatxmega256c3.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latxmega256c3} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=5} + +*cc1_rmw: + %{!mno-rmw: -mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega6 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{!mno-rmw: -mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATxmega256C3__ -D__AVR_DEVICE_NAME__=atxmega256c3 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega256d3 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega256d3 new file mode 100644 index 0000000000000000000000000000000000000000..82eaccccb0c50a6ab548c250da0b6bbf0b4de0e8 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega256d3 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atxmega256d3 (core avrxmega6, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatxmega256d3.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latxmega256d3} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=5} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega6 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATxmega256D3__ -D__AVR_DEVICE_NAME__=atxmega256d3 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega32a4 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega32a4 new file mode 100644 index 0000000000000000000000000000000000000000..58b8ea2ae7621a76ff3b1c97f8f85c0fdf13ae22 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega32a4 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atxmega32a4 (core avrxmega2, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatxmega32a4.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latxmega32a4} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega2 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATxmega32A4__ -D__AVR_DEVICE_NAME__=atxmega32a4 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega32a4u b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega32a4u new file mode 100644 index 0000000000000000000000000000000000000000..7e6e8bdc05b20324c2804f965143d679d7cc2d40 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega32a4u @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atxmega32a4u (core avrxmega2, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatxmega32a4u.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latxmega32a4u} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{!mno-rmw: -mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega2 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{!mno-rmw: -mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATxmega32A4U__ -D__AVR_DEVICE_NAME__=atxmega32a4u + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega32c3 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega32c3 new file mode 100644 index 0000000000000000000000000000000000000000..6fd46e3a2b7c2362fb2e0cb9dc83549f3840575d --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega32c3 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atxmega32c3 (core avrxmega2, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatxmega32c3.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latxmega32c3} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{!mno-rmw: -mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega2 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{!mno-rmw: -mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATxmega32C3__ -D__AVR_DEVICE_NAME__=atxmega32c3 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega32c4 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega32c4 new file mode 100644 index 0000000000000000000000000000000000000000..331b66981f10cb786fc8a1534054c81c59e00099 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega32c4 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atxmega32c4 (core avrxmega2, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatxmega32c4.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latxmega32c4} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{!mno-rmw: -mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega2 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{!mno-rmw: -mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATxmega32C4__ -D__AVR_DEVICE_NAME__=atxmega32c4 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega32d3 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega32d3 new file mode 100644 index 0000000000000000000000000000000000000000..85967620f0b1d2a4ab8cc0eb3394d1dc44162e5e --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega32d3 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atxmega32d3 (core avrxmega2, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatxmega32d3.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latxmega32d3} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega2 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATxmega32D3__ -D__AVR_DEVICE_NAME__=atxmega32d3 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega32d4 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega32d4 new file mode 100644 index 0000000000000000000000000000000000000000..f74c829fc6e7818882bc250b2603670d05616a66 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega32d4 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atxmega32d4 (core avrxmega2, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatxmega32d4.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latxmega32d4} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega2 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATxmega32D4__ -D__AVR_DEVICE_NAME__=atxmega32d4 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega32e5 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega32e5 new file mode 100644 index 0000000000000000000000000000000000000000..6d29be4124dc261a27c067f20431bb9ed9d1bd32 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega32e5 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atxmega32e5 (core avrxmega2, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatxmega32e5.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latxmega32e5} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega2 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATxmega32E5__ -D__AVR_DEVICE_NAME__=atxmega32e5 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega384c3 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega384c3 new file mode 100644 index 0000000000000000000000000000000000000000..8acdfa5f3ad160c2ddaebf2747b9fe1ee19d94a6 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega384c3 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atxmega384c3 (core avrxmega6, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatxmega384c3.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latxmega384c3} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=7} + +*cc1_rmw: + %{!mno-rmw: -mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega6 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{!mno-rmw: -mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATxmega384C3__ -D__AVR_DEVICE_NAME__=atxmega384c3 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega384d3 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega384d3 new file mode 100644 index 0000000000000000000000000000000000000000..9e0b17d7fe7e44c7ff3a5f826ec338f2e1d004d5 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega384d3 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atxmega384d3 (core avrxmega6, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatxmega384d3.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latxmega384d3} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=7} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega6 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATxmega384D3__ -D__AVR_DEVICE_NAME__=atxmega384d3 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega64a1 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega64a1 new file mode 100644 index 0000000000000000000000000000000000000000..9cbefb045763e54ac6f310ed8219bf20a449b65e --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega64a1 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atxmega64a1 (core avrxmega5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatxmega64a1.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latxmega64a1} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=2} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATxmega64A1__ -D__AVR_DEVICE_NAME__=atxmega64a1 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega64a1u b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega64a1u new file mode 100644 index 0000000000000000000000000000000000000000..12390e967956e2742be3de749360ea3e8ce5067d --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega64a1u @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atxmega64a1u (core avrxmega5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatxmega64a1u.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latxmega64a1u} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=2} + +*cc1_rmw: + %{!mno-rmw: -mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{!mno-rmw: -mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATxmega64A1U__ -D__AVR_DEVICE_NAME__=atxmega64a1u + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega64a3 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega64a3 new file mode 100644 index 0000000000000000000000000000000000000000..e1bbfce643c9935ffe5eb979dac418881a1a485c --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega64a3 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atxmega64a3 (core avrxmega4, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatxmega64a3.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latxmega64a3} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=2} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega4 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATxmega64A3__ -D__AVR_DEVICE_NAME__=atxmega64a3 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega64a3u b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega64a3u new file mode 100644 index 0000000000000000000000000000000000000000..564113e23890cc9bbec34675cc115adc90505b05 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega64a3u @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atxmega64a3u (core avrxmega4, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatxmega64a3u.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latxmega64a3u} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=2} + +*cc1_rmw: + %{!mno-rmw: -mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega4 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{!mno-rmw: -mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATxmega64A3U__ -D__AVR_DEVICE_NAME__=atxmega64a3u + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega64a4u b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega64a4u new file mode 100644 index 0000000000000000000000000000000000000000..2ccfbb7a540965a66a93afb1675007e3f860754b --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega64a4u @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atxmega64a4u (core avrxmega4, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatxmega64a4u.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latxmega64a4u} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=2} + +*cc1_rmw: + %{!mno-rmw: -mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega4 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{!mno-rmw: -mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATxmega64A4U__ -D__AVR_DEVICE_NAME__=atxmega64a4u + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega64b1 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega64b1 new file mode 100644 index 0000000000000000000000000000000000000000..11182d3f38bf92be9ddb8717fcf26c49133c9243 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega64b1 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atxmega64b1 (core avrxmega4, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatxmega64b1.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latxmega64b1} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=2} + +*cc1_rmw: + %{!mno-rmw: -mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega4 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{!mno-rmw: -mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATxmega64B1__ -D__AVR_DEVICE_NAME__=atxmega64b1 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega64b3 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega64b3 new file mode 100644 index 0000000000000000000000000000000000000000..4ed1a5cb16215e9a3bdf2a4033ff7a90ae2d05af --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega64b3 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atxmega64b3 (core avrxmega4, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatxmega64b3.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latxmega64b3} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=2} + +*cc1_rmw: + %{!mno-rmw: -mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega4 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{!mno-rmw: -mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATxmega64B3__ -D__AVR_DEVICE_NAME__=atxmega64b3 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega64c3 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega64c3 new file mode 100644 index 0000000000000000000000000000000000000000..4c7e6994b01fec35d32003a37fd874029d1964f6 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega64c3 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atxmega64c3 (core avrxmega4, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatxmega64c3.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latxmega64c3} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=2} + +*cc1_rmw: + %{!mno-rmw: -mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega4 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{!mno-rmw: -mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATxmega64C3__ -D__AVR_DEVICE_NAME__=atxmega64c3 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega64d3 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega64d3 new file mode 100644 index 0000000000000000000000000000000000000000..63776da7d92e21e7474cd20a74c039b0dd18fe58 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega64d3 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atxmega64d3 (core avrxmega4, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatxmega64d3.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latxmega64d3} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=2} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega4 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATxmega64D3__ -D__AVR_DEVICE_NAME__=atxmega64d3 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega64d4 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega64d4 new file mode 100644 index 0000000000000000000000000000000000000000..a4fcaff76e5c39fc66812273b0164264136ec466 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega64d4 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atxmega64d4 (core avrxmega4, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatxmega64d4.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latxmega64d4} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=2} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega4 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATxmega64D4__ -D__AVR_DEVICE_NAME__=atxmega64d4 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega8e5 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega8e5 new file mode 100644 index 0000000000000000000000000000000000000000..0869f913c108fac6ecff3c609d627ec64d5257a3 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-atxmega8e5 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device atxmega8e5 (core avrxmega2, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtatxmega8e5.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-latxmega8e5} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega2 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_ATxmega8E5__ -D__AVR_DEVICE_NAME__=atxmega8e5 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avr1 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avr1 new file mode 100644 index 0000000000000000000000000000000000000000..6c9c99dcdc730bb61af7b8881be4bc4535c04101 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avr1 @@ -0,0 +1,51 @@ +# +# Auto-generated specs for AVR core architecture avr1 +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr1 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avr128da28 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avr128da28 new file mode 100644 index 0000000000000000000000000000000000000000..8f44a085f6319798d1a1573e991715f4f96d236c --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avr128da28 @@ -0,0 +1,107 @@ +# +# Auto-generated specs for AVR device avr128da28 (core avrxmega4, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtavr128da28.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lavr128da28} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=2} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega4 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_gccisr: + %{!mno-gas-isr-prologues: -mgcc-isr} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + -Tdata 0x804000 + +*link_text_start: + + +*self_spec: + % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_AVR128DA28__ -D__AVR_DEVICE_NAME__=avr128da28 -D__AVR_DEV_LIB_NAME__=avr128da28 + +%rename link old_link + +*link: + %(old_link)--defsym=__RODATA_PM_OFFSET__=0x8000 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avr128da32 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avr128da32 new file mode 100644 index 0000000000000000000000000000000000000000..1328fff68916b55bfbb7233813fab960a6c81c57 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avr128da32 @@ -0,0 +1,107 @@ +# +# Auto-generated specs for AVR device avr128da32 (core avrxmega4, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtavr128da32.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lavr128da32} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=2} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega4 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_gccisr: + %{!mno-gas-isr-prologues: -mgcc-isr} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + -Tdata 0x804000 + +*link_text_start: + + +*self_spec: + % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_AVR128DA32__ -D__AVR_DEVICE_NAME__=avr128da32 -D__AVR_DEV_LIB_NAME__=avr128da32 + +%rename link old_link + +*link: + %(old_link)--defsym=__RODATA_PM_OFFSET__=0x8000 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avr128da48 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avr128da48 new file mode 100644 index 0000000000000000000000000000000000000000..fae80fe5344c0e70aee032f6dfed6d2bbcf512e0 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avr128da48 @@ -0,0 +1,107 @@ +# +# Auto-generated specs for AVR device avr128da48 (core avrxmega4, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtavr128da48.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lavr128da48} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=2} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega4 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_gccisr: + %{!mno-gas-isr-prologues: -mgcc-isr} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + -Tdata 0x804000 + +*link_text_start: + + +*self_spec: + % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_AVR128DA48__ -D__AVR_DEVICE_NAME__=avr128da48 -D__AVR_DEV_LIB_NAME__=avr128da48 + +%rename link old_link + +*link: + %(old_link)--defsym=__RODATA_PM_OFFSET__=0x8000 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avr128da64 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avr128da64 new file mode 100644 index 0000000000000000000000000000000000000000..94390d1a39773aee70367089d4a13623ab894f20 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avr128da64 @@ -0,0 +1,107 @@ +# +# Auto-generated specs for AVR device avr128da64 (core avrxmega4, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtavr128da64.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lavr128da64} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=2} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega4 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_gccisr: + %{!mno-gas-isr-prologues: -mgcc-isr} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + -Tdata 0x804000 + +*link_text_start: + + +*self_spec: + % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_AVR128DA64__ -D__AVR_DEVICE_NAME__=avr128da64 -D__AVR_DEV_LIB_NAME__=avr128da64 + +%rename link old_link + +*link: + %(old_link)--defsym=__RODATA_PM_OFFSET__=0x8000 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avr2 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avr2 new file mode 100644 index 0000000000000000000000000000000000000000..4dfd8966f4dab509116c9da260d4526e9d6e7476 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avr2 @@ -0,0 +1,51 @@ +# +# Auto-generated specs for AVR core architecture avr2 +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=6} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mno-skip-bug: -mskip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr2 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avr25 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avr25 new file mode 100644 index 0000000000000000000000000000000000000000..7d6add0abc7a02484009505c7ad075da68418a1f --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avr25 @@ -0,0 +1,51 @@ +# +# Auto-generated specs for AVR core architecture avr25 +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr25 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{!mno-pmem-wrap-around: --pmem-wrap-around=8k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avr3 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avr3 new file mode 100644 index 0000000000000000000000000000000000000000..71406125af042eba11d96527bed0899964b61ba9 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avr3 @@ -0,0 +1,51 @@ +# +# Auto-generated specs for AVR core architecture avr3 +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr3 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avr31 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avr31 new file mode 100644 index 0000000000000000000000000000000000000000..9527aad1252b3662169b22d60fbe49f4f976dc12 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avr31 @@ -0,0 +1,51 @@ +# +# Auto-generated specs for AVR core architecture avr31 +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=2} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mno-skip-bug: -mskip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr31 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avr35 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avr35 new file mode 100644 index 0000000000000000000000000000000000000000..9dcc2eaad5cd7a28fb4292875ef4aefebdb5b5a5 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avr35 @@ -0,0 +1,51 @@ +# +# Auto-generated specs for AVR core architecture avr35 +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr35 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=16k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avr4 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avr4 new file mode 100644 index 0000000000000000000000000000000000000000..2c4e4bdb447cab8930715784f99704932b1459d4 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avr4 @@ -0,0 +1,51 @@ +# +# Auto-generated specs for AVR core architecture avr4 +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr4 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{!mno-pmem-wrap-around: --pmem-wrap-around=8k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avr5 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avr5 new file mode 100644 index 0000000000000000000000000000000000000000..5e6ebed2a2db994daf21661edbc8fc412fbbf579 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avr5 @@ -0,0 +1,51 @@ +# +# Auto-generated specs for AVR core architecture avr5 +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=16k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avr51 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avr51 new file mode 100644 index 0000000000000000000000000000000000000000..c9fbbb262e0ca811d07b79fd89b5db7c88085b0b --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avr51 @@ -0,0 +1,51 @@ +# +# Auto-generated specs for AVR core architecture avr51 +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=2} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr51 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avr6 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avr6 new file mode 100644 index 0000000000000000000000000000000000000000..87658f7cbe8cf259208ac7805fb1f00b10644c66 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avr6 @@ -0,0 +1,51 @@ +# +# Auto-generated specs for AVR core architecture avr6 +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=4} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr6 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avrtiny b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avrtiny new file mode 100644 index 0000000000000000000000000000000000000000..f975cb70cea80369acaa339ffa557d8e1fe5adfa --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avrtiny @@ -0,0 +1,51 @@ +# +# Auto-generated specs for AVR core architecture avrtiny +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrtiny + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avrxmega2 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avrxmega2 new file mode 100644 index 0000000000000000000000000000000000000000..d0c92a55dfac120b1a9b766e7296f50400855890 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avrxmega2 @@ -0,0 +1,51 @@ +# +# Auto-generated specs for AVR core architecture avrxmega2 +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega2 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avrxmega3 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avrxmega3 new file mode 100644 index 0000000000000000000000000000000000000000..c569565aa6f84f725ba8069132119d803ea5fd78 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avrxmega3 @@ -0,0 +1,51 @@ +# +# Auto-generated specs for AVR core architecture avrxmega3 +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega3 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=32k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avrxmega4 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avrxmega4 new file mode 100644 index 0000000000000000000000000000000000000000..de7e5328b73eead9bb90901fdbb2c2d02be91f0b --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avrxmega4 @@ -0,0 +1,51 @@ +# +# Auto-generated specs for AVR core architecture avrxmega4 +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=2} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega4 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avrxmega5 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avrxmega5 new file mode 100644 index 0000000000000000000000000000000000000000..cf1b5bcdd63c1bf855c5696a225ebe487113dc39 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avrxmega5 @@ -0,0 +1,51 @@ +# +# Auto-generated specs for AVR core architecture avrxmega5 +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=2} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avrxmega6 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avrxmega6 new file mode 100644 index 0000000000000000000000000000000000000000..c07067be8e55c6754e9b495446fa56502054876a --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avrxmega6 @@ -0,0 +1,51 @@ +# +# Auto-generated specs for AVR core architecture avrxmega6 +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=6} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega6 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avrxmega7 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avrxmega7 new file mode 100644 index 0000000000000000000000000000000000000000..6c304b2d9afb3a57a217da5799c11ae5b851f592 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-avrxmega7 @@ -0,0 +1,51 @@ +# +# Auto-generated specs for AVR core architecture avrxmega7 +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=3} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avrxmega7 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-m3000 b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-m3000 new file mode 100644 index 0000000000000000000000000000000000000000..2654435053ae5d14094f3c0428bccae688831362 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/device-specs/specs-m3000 @@ -0,0 +1,102 @@ +# +# Auto-generated specs for AVR device m3000 (core avr5, 16-bit SP) +# +# Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c +# Generated from : ./gcc/config/gcc.c +# ./gcc/config/avr/specs.h +# ./gcc/config/avr/avrlibc.h +# Used by : avr-gcc compiler driver +# Used for : building command options for sub-processes +# +# See +# for a documentation of spec files. + + +# If you intend to use an existing device specs file as a starting point +# for a new device spec file, make sure you are copying from a specs +# file for a device from the same core architecture and SP width. +# See for a description +# of how to use such own spec files. + +*avrlibc_startfile: + crtm3000.o%s + +*avrlibc_devicelib: + %{!nodevicelib:-lm3000} + +*cc1_n_flash: + %{!mn-flash=*:-mn-flash=1} + +*cc1_rmw: + %{mrmw} + +*cc1_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*cc1_absdata: + %{mabsdata} + +*cc1_absdata: + %{mabsdata} + +*asm_arch: + -mmcu=avr5 + +*asm_relax: + %{mrelax:--mlink-relax} + +*asm_rmw: + %{mrmw} + +*asm_errata_skip: + %{!mskip-bug: -mno-skip-bug} + +*link_pmem_wrap: + %{mpmem-wrap-around: --pmem-wrap-around=64k} + +*link_relax: + %{mrelax:--relax} + +*link_arch: + %{mmcu=*:-m%*} + +*link_data_start: + %{!Tdata:-Tdata 0x801000} + +*link_text_start: + + +*self_spec: + %{!mmcu=avr*: % +# #elif ... +# +# If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ +# as fallback to determine the name of the device header as +# +# "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" +# +# If you provide your own specs file for a device not yet known to +# AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ +# as needed so that +# +# #include +# +# will include the desired device header. For ATmega8A the supplement +# to *cpp would read +# +# -D__AVR_DEV_LIB_NAME__=m8a + + +*cpp: + -D__AVR_M3000__ -D__AVR_DEVICE_NAME__=m3000 + +# End of file diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/include-fixed/README b/hardware/tools/avr/lib/gcc/avr/7.3.0/include-fixed/README new file mode 100644 index 0000000000000000000000000000000000000000..7086a7782d4acb74a13ac20a6d17dd7d517ec2d1 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/include-fixed/README @@ -0,0 +1,14 @@ +This README file is copied into the directory for GCC-only header files +when fixincludes is run by the makefile for GCC. + +Many of the files in this directory were automatically edited from the +standard system header files by the fixincludes process. They are +system-specific, and will not work on any other kind of system. They +are also not part of GCC. The reason we have to do this is because +GCC requires ANSI C headers and many vendors supply ANSI-incompatible +headers. + +Because this is an automated process, sometimes headers get "fixed" +that do not, strictly speaking, need a fix. As long as nothing is broken +by the process, it is just an unfortunate collateral inconvenience. +We would like to rectify it, if it is not "too inconvenient". diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/include-fixed/limits.h b/hardware/tools/avr/lib/gcc/avr/7.3.0/include-fixed/limits.h new file mode 100644 index 0000000000000000000000000000000000000000..3bc362683c6c875c6b8716b0e8d62e8df7bdf1d5 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/include-fixed/limits.h @@ -0,0 +1,152 @@ +/* Copyright (C) 1991-2017 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 3, or (at your option) any later +version. + +GCC is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +#ifndef _LIMITS_H___ +#define _LIMITS_H___ + +/* Number of bits in a `char'. */ +#undef CHAR_BIT +#define CHAR_BIT __CHAR_BIT__ + +/* Maximum length of a multibyte character. */ +#ifndef MB_LEN_MAX +#define MB_LEN_MAX 1 +#endif + +/* Minimum and maximum values a `signed char' can hold. */ +#undef SCHAR_MIN +#define SCHAR_MIN (-SCHAR_MAX - 1) +#undef SCHAR_MAX +#define SCHAR_MAX __SCHAR_MAX__ + +/* Maximum value an `unsigned char' can hold. (Minimum is 0). */ +#undef UCHAR_MAX +#if __SCHAR_MAX__ == __INT_MAX__ +# define UCHAR_MAX (SCHAR_MAX * 2U + 1U) +#else +# define UCHAR_MAX (SCHAR_MAX * 2 + 1) +#endif + +/* Minimum and maximum values a `char' can hold. */ +#ifdef __CHAR_UNSIGNED__ +# undef CHAR_MIN +# if __SCHAR_MAX__ == __INT_MAX__ +# define CHAR_MIN 0U +# else +# define CHAR_MIN 0 +# endif +# undef CHAR_MAX +# define CHAR_MAX UCHAR_MAX +#else +# undef CHAR_MIN +# define CHAR_MIN SCHAR_MIN +# undef CHAR_MAX +# define CHAR_MAX SCHAR_MAX +#endif + +/* Minimum and maximum values a `signed short int' can hold. */ +#undef SHRT_MIN +#define SHRT_MIN (-SHRT_MAX - 1) +#undef SHRT_MAX +#define SHRT_MAX __SHRT_MAX__ + +/* Maximum value an `unsigned short int' can hold. (Minimum is 0). */ +#undef USHRT_MAX +#if __SHRT_MAX__ == __INT_MAX__ +# define USHRT_MAX (SHRT_MAX * 2U + 1U) +#else +# define USHRT_MAX (SHRT_MAX * 2 + 1) +#endif + +/* Minimum and maximum values a `signed int' can hold. */ +#undef INT_MIN +#define INT_MIN (-INT_MAX - 1) +#undef INT_MAX +#define INT_MAX __INT_MAX__ + +/* Maximum value an `unsigned int' can hold. (Minimum is 0). */ +#undef UINT_MAX +#define UINT_MAX (INT_MAX * 2U + 1U) + +/* Minimum and maximum values a `signed long int' can hold. + (Same as `int'). */ +#undef LONG_MIN +#define LONG_MIN (-LONG_MAX - 1L) +#undef LONG_MAX +#define LONG_MAX __LONG_MAX__ + +/* Maximum value an `unsigned long int' can hold. (Minimum is 0). */ +#undef ULONG_MAX +#define ULONG_MAX (LONG_MAX * 2UL + 1UL) + +#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L +/* Minimum and maximum values a `signed long long int' can hold. */ +# undef LLONG_MIN +# define LLONG_MIN (-LLONG_MAX - 1LL) +# undef LLONG_MAX +# define LLONG_MAX __LONG_LONG_MAX__ + +/* Maximum value an `unsigned long long int' can hold. (Minimum is 0). */ +# undef ULLONG_MAX +# define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL) +#endif + +#if defined (__GNU_LIBRARY__) ? defined (__USE_GNU) : !defined (__STRICT_ANSI__) +/* Minimum and maximum values a `signed long long int' can hold. */ +# undef LONG_LONG_MIN +# define LONG_LONG_MIN (-LONG_LONG_MAX - 1LL) +# undef LONG_LONG_MAX +# define LONG_LONG_MAX __LONG_LONG_MAX__ + +/* Maximum value an `unsigned long long int' can hold. (Minimum is 0). */ +# undef ULONG_LONG_MAX +# define ULONG_LONG_MAX (LONG_LONG_MAX * 2ULL + 1ULL) +#endif + +#ifdef __STDC_WANT_IEC_60559_BFP_EXT__ +/* TS 18661-1 widths of integer types. */ +# undef CHAR_WIDTH +# define CHAR_WIDTH __SCHAR_WIDTH__ +# undef SCHAR_WIDTH +# define SCHAR_WIDTH __SCHAR_WIDTH__ +# undef UCHAR_WIDTH +# define UCHAR_WIDTH __SCHAR_WIDTH__ +# undef SHRT_WIDTH +# define SHRT_WIDTH __SHRT_WIDTH__ +# undef USHRT_WIDTH +# define USHRT_WIDTH __SHRT_WIDTH__ +# undef INT_WIDTH +# define INT_WIDTH __INT_WIDTH__ +# undef UINT_WIDTH +# define UINT_WIDTH __INT_WIDTH__ +# undef LONG_WIDTH +# define LONG_WIDTH __LONG_WIDTH__ +# undef ULONG_WIDTH +# define ULONG_WIDTH __LONG_WIDTH__ +# undef LLONG_WIDTH +# define LLONG_WIDTH __LONG_LONG_WIDTH__ +# undef ULLONG_WIDTH +# define ULLONG_WIDTH __LONG_LONG_WIDTH__ +#endif + +#endif /* _LIMITS_H___ */ diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/include-fixed/syslimits.h b/hardware/tools/avr/lib/gcc/avr/7.3.0/include-fixed/syslimits.h new file mode 100644 index 0000000000000000000000000000000000000000..a3628025e8a16ffb6670225cf696f0e956f2fab4 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/include-fixed/syslimits.h @@ -0,0 +1,8 @@ +/* syslimits.h stands for the system's own limits.h file. + If we can use it ok unmodified, then we install this text. + If fixincludes fixes it, then the fixed version is installed + instead of this text. */ + +#define _GCC_NEXT_LIMITS_H /* tell gcc's limits.h to recurse */ +#include_next +#undef _GCC_NEXT_LIMITS_H diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/include/float.h b/hardware/tools/avr/lib/gcc/avr/7.3.0/include/float.h new file mode 100644 index 0000000000000000000000000000000000000000..658017fd63a42a519a37da0a293f3fab5e6b8adf --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/include/float.h @@ -0,0 +1,506 @@ +/* Copyright (C) 2002-2017 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 5.2.4.2.2 Characteristics of floating types + */ + +#ifndef _FLOAT_H___ +#define _FLOAT_H___ + +/* Radix of exponent representation, b. */ +#undef FLT_RADIX +#define FLT_RADIX __FLT_RADIX__ + +/* Number of base-FLT_RADIX digits in the significand, p. */ +#undef FLT_MANT_DIG +#undef DBL_MANT_DIG +#undef LDBL_MANT_DIG +#define FLT_MANT_DIG __FLT_MANT_DIG__ +#define DBL_MANT_DIG __DBL_MANT_DIG__ +#define LDBL_MANT_DIG __LDBL_MANT_DIG__ + +/* Number of decimal digits, q, such that any floating-point number with q + decimal digits can be rounded into a floating-point number with p radix b + digits and back again without change to the q decimal digits, + + p * log10(b) if b is a power of 10 + floor((p - 1) * log10(b)) otherwise +*/ +#undef FLT_DIG +#undef DBL_DIG +#undef LDBL_DIG +#define FLT_DIG __FLT_DIG__ +#define DBL_DIG __DBL_DIG__ +#define LDBL_DIG __LDBL_DIG__ + +/* Minimum int x such that FLT_RADIX**(x-1) is a normalized float, emin */ +#undef FLT_MIN_EXP +#undef DBL_MIN_EXP +#undef LDBL_MIN_EXP +#define FLT_MIN_EXP __FLT_MIN_EXP__ +#define DBL_MIN_EXP __DBL_MIN_EXP__ +#define LDBL_MIN_EXP __LDBL_MIN_EXP__ + +/* Minimum negative integer such that 10 raised to that power is in the + range of normalized floating-point numbers, + + ceil(log10(b) * (emin - 1)) +*/ +#undef FLT_MIN_10_EXP +#undef DBL_MIN_10_EXP +#undef LDBL_MIN_10_EXP +#define FLT_MIN_10_EXP __FLT_MIN_10_EXP__ +#define DBL_MIN_10_EXP __DBL_MIN_10_EXP__ +#define LDBL_MIN_10_EXP __LDBL_MIN_10_EXP__ + +/* Maximum int x such that FLT_RADIX**(x-1) is a representable float, emax. */ +#undef FLT_MAX_EXP +#undef DBL_MAX_EXP +#undef LDBL_MAX_EXP +#define FLT_MAX_EXP __FLT_MAX_EXP__ +#define DBL_MAX_EXP __DBL_MAX_EXP__ +#define LDBL_MAX_EXP __LDBL_MAX_EXP__ + +/* Maximum integer such that 10 raised to that power is in the range of + representable finite floating-point numbers, + + floor(log10((1 - b**-p) * b**emax)) +*/ +#undef FLT_MAX_10_EXP +#undef DBL_MAX_10_EXP +#undef LDBL_MAX_10_EXP +#define FLT_MAX_10_EXP __FLT_MAX_10_EXP__ +#define DBL_MAX_10_EXP __DBL_MAX_10_EXP__ +#define LDBL_MAX_10_EXP __LDBL_MAX_10_EXP__ + +/* Maximum representable finite floating-point number, + + (1 - b**-p) * b**emax +*/ +#undef FLT_MAX +#undef DBL_MAX +#undef LDBL_MAX +#define FLT_MAX __FLT_MAX__ +#define DBL_MAX __DBL_MAX__ +#define LDBL_MAX __LDBL_MAX__ + +/* The difference between 1 and the least value greater than 1 that is + representable in the given floating point type, b**1-p. */ +#undef FLT_EPSILON +#undef DBL_EPSILON +#undef LDBL_EPSILON +#define FLT_EPSILON __FLT_EPSILON__ +#define DBL_EPSILON __DBL_EPSILON__ +#define LDBL_EPSILON __LDBL_EPSILON__ + +/* Minimum normalized positive floating-point number, b**(emin - 1). */ +#undef FLT_MIN +#undef DBL_MIN +#undef LDBL_MIN +#define FLT_MIN __FLT_MIN__ +#define DBL_MIN __DBL_MIN__ +#define LDBL_MIN __LDBL_MIN__ + +/* Addition rounds to 0: zero, 1: nearest, 2: +inf, 3: -inf, -1: unknown. */ +/* ??? This is supposed to change with calls to fesetround in . */ +#undef FLT_ROUNDS +#define FLT_ROUNDS 1 + +#if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || (defined (__cplusplus) && __cplusplus >= 201103L) +/* The floating-point expression evaluation method. The precise + definitions of these values are generalised to include support for + the interchange and extended types defined in ISO/IEC TS 18661-3. + Prior to this (for C99/C11) the definitions were: + + -1 indeterminate + 0 evaluate all operations and constants just to the range and + precision of the type + 1 evaluate operations and constants of type float and double + to the range and precision of the double type, evaluate + long double operations and constants to the range and + precision of the long double type + 2 evaluate all operations and constants to the range and + precision of the long double type + + The TS 18661-3 definitions are: + + -1 indeterminate + 0 evaluate all operations and constants, whose semantic type has + at most the range and precision of float, to the range and + precision of float; evaluate all other operations and constants + to the range and precision of the semantic type. + 1 evaluate all operations and constants, whose semantic type has + at most the range and precision of double, to the range and + precision of double; evaluate all other operations and constants + to the range and precision of the semantic type. + 2 evaluate all operations and constants, whose semantic type has + at most the range and precision of long double, to the range and + precision of long double; evaluate all other operations and + constants to the range and precision of the semantic type. + N where _FloatN is a supported interchange floating type + evaluate all operations and constants, whose semantic type has + at most the range and precision of the _FloatN type, to the + range and precision of the _FloatN type; evaluate all other + operations and constants to the range and precision of the + semantic type. + N + 1, where _FloatNx is a supported extended floating type + evaluate operations and constants, whose semantic type has at + most the range and precision of the _FloatNx type, to the range + and precision of the _FloatNx type; evaluate all other + operations and constants to the range and precision of the + semantic type. + + The compiler predefines two macros: + + __FLT_EVAL_METHOD__ + Which, depending on the value given for + -fpermitted-flt-eval-methods, may be limited to only those values + for FLT_EVAL_METHOD defined in C99/C11. + + __FLT_EVAL_METHOD_TS_18661_3__ + Which always permits the values for FLT_EVAL_METHOD defined in + ISO/IEC TS 18661-3. + + Here we want to use __FLT_EVAL_METHOD__, unless + __STDC_WANT_IEC_60559_TYPES_EXT__ is defined, in which case the user + is specifically asking for the ISO/IEC TS 18661-3 types, so we use + __FLT_EVAL_METHOD_TS_18661_3__. + + ??? This ought to change with the setting of the fp control word; + the value provided by the compiler assumes the widest setting. */ +#undef FLT_EVAL_METHOD +#ifdef __STDC_WANT_IEC_60559_TYPES_EXT__ +#define FLT_EVAL_METHOD __FLT_EVAL_METHOD_TS_18661_3__ +#else +#define FLT_EVAL_METHOD __FLT_EVAL_METHOD__ +#endif + +/* Number of decimal digits, n, such that any floating-point number in the + widest supported floating type with pmax radix b digits can be rounded + to a floating-point number with n decimal digits and back again without + change to the value, + + pmax * log10(b) if b is a power of 10 + ceil(1 + pmax * log10(b)) otherwise +*/ +#undef DECIMAL_DIG +#define DECIMAL_DIG __DECIMAL_DIG__ + +#endif /* C99 */ + +#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L +/* Versions of DECIMAL_DIG for each floating-point type. */ +#undef FLT_DECIMAL_DIG +#undef DBL_DECIMAL_DIG +#undef LDBL_DECIMAL_DIG +#define FLT_DECIMAL_DIG __FLT_DECIMAL_DIG__ +#define DBL_DECIMAL_DIG __DBL_DECIMAL_DIG__ +#define LDBL_DECIMAL_DIG __LDBL_DECIMAL_DIG__ + +/* Whether types support subnormal numbers. */ +#undef FLT_HAS_SUBNORM +#undef DBL_HAS_SUBNORM +#undef LDBL_HAS_SUBNORM +#define FLT_HAS_SUBNORM __FLT_HAS_DENORM__ +#define DBL_HAS_SUBNORM __DBL_HAS_DENORM__ +#define LDBL_HAS_SUBNORM __LDBL_HAS_DENORM__ + +/* Minimum positive values, including subnormals. */ +#undef FLT_TRUE_MIN +#undef DBL_TRUE_MIN +#undef LDBL_TRUE_MIN +#define FLT_TRUE_MIN __FLT_DENORM_MIN__ +#define DBL_TRUE_MIN __DBL_DENORM_MIN__ +#define LDBL_TRUE_MIN __LDBL_DENORM_MIN__ + +#endif /* C11 */ + +#ifdef __STDC_WANT_IEC_60559_BFP_EXT__ +/* Number of decimal digits for which conversions between decimal + character strings and binary formats, in both directions, are + correctly rounded. */ +#define CR_DECIMAL_DIG __UINTMAX_MAX__ +#endif + +#ifdef __STDC_WANT_IEC_60559_TYPES_EXT__ +/* Constants for _FloatN and _FloatNx types from TS 18661-3. See + comments above for their semantics. */ + +#ifdef __FLT16_MANT_DIG__ +#undef FLT16_MANT_DIG +#define FLT16_MANT_DIG __FLT16_MANT_DIG__ +#undef FLT16_DIG +#define FLT16_DIG __FLT16_DIG__ +#undef FLT16_MIN_EXP +#define FLT16_MIN_EXP __FLT16_MIN_EXP__ +#undef FLT16_MIN_10_EXP +#define FLT16_MIN_10_EXP __FLT16_MIN_10_EXP__ +#undef FLT16_MAX_EXP +#define FLT16_MAX_EXP __FLT16_MAX_EXP__ +#undef FLT16_MAX_10_EXP +#define FLT16_MAX_10_EXP __FLT16_MAX_10_EXP__ +#undef FLT16_MAX +#define FLT16_MAX __FLT16_MAX__ +#undef FLT16_EPSILON +#define FLT16_EPSILON __FLT16_EPSILON__ +#undef FLT16_MIN +#define FLT16_MIN __FLT16_MIN__ +#undef FLT16_DECIMAL_DIG +#define FLT16_DECIMAL_DIG __FLT16_DECIMAL_DIG__ +#undef FLT16_TRUE_MIN +#define FLT16_TRUE_MIN __FLT16_DENORM_MIN__ +#endif /* __FLT16_MANT_DIG__. */ + +#ifdef __FLT32_MANT_DIG__ +#undef FLT32_MANT_DIG +#define FLT32_MANT_DIG __FLT32_MANT_DIG__ +#undef FLT32_DIG +#define FLT32_DIG __FLT32_DIG__ +#undef FLT32_MIN_EXP +#define FLT32_MIN_EXP __FLT32_MIN_EXP__ +#undef FLT32_MIN_10_EXP +#define FLT32_MIN_10_EXP __FLT32_MIN_10_EXP__ +#undef FLT32_MAX_EXP +#define FLT32_MAX_EXP __FLT32_MAX_EXP__ +#undef FLT32_MAX_10_EXP +#define FLT32_MAX_10_EXP __FLT32_MAX_10_EXP__ +#undef FLT32_MAX +#define FLT32_MAX __FLT32_MAX__ +#undef FLT32_EPSILON +#define FLT32_EPSILON __FLT32_EPSILON__ +#undef FLT32_MIN +#define FLT32_MIN __FLT32_MIN__ +#undef FLT32_DECIMAL_DIG +#define FLT32_DECIMAL_DIG __FLT32_DECIMAL_DIG__ +#undef FLT32_TRUE_MIN +#define FLT32_TRUE_MIN __FLT32_DENORM_MIN__ +#endif /* __FLT32_MANT_DIG__. */ + +#ifdef __FLT64_MANT_DIG__ +#undef FLT64_MANT_DIG +#define FLT64_MANT_DIG __FLT64_MANT_DIG__ +#undef FLT64_DIG +#define FLT64_DIG __FLT64_DIG__ +#undef FLT64_MIN_EXP +#define FLT64_MIN_EXP __FLT64_MIN_EXP__ +#undef FLT64_MIN_10_EXP +#define FLT64_MIN_10_EXP __FLT64_MIN_10_EXP__ +#undef FLT64_MAX_EXP +#define FLT64_MAX_EXP __FLT64_MAX_EXP__ +#undef FLT64_MAX_10_EXP +#define FLT64_MAX_10_EXP __FLT64_MAX_10_EXP__ +#undef FLT64_MAX +#define FLT64_MAX __FLT64_MAX__ +#undef FLT64_EPSILON +#define FLT64_EPSILON __FLT64_EPSILON__ +#undef FLT64_MIN +#define FLT64_MIN __FLT64_MIN__ +#undef FLT64_DECIMAL_DIG +#define FLT64_DECIMAL_DIG __FLT64_DECIMAL_DIG__ +#undef FLT64_TRUE_MIN +#define FLT64_TRUE_MIN __FLT64_DENORM_MIN__ +#endif /* __FLT64_MANT_DIG__. */ + +#ifdef __FLT128_MANT_DIG__ +#undef FLT128_MANT_DIG +#define FLT128_MANT_DIG __FLT128_MANT_DIG__ +#undef FLT128_DIG +#define FLT128_DIG __FLT128_DIG__ +#undef FLT128_MIN_EXP +#define FLT128_MIN_EXP __FLT128_MIN_EXP__ +#undef FLT128_MIN_10_EXP +#define FLT128_MIN_10_EXP __FLT128_MIN_10_EXP__ +#undef FLT128_MAX_EXP +#define FLT128_MAX_EXP __FLT128_MAX_EXP__ +#undef FLT128_MAX_10_EXP +#define FLT128_MAX_10_EXP __FLT128_MAX_10_EXP__ +#undef FLT128_MAX +#define FLT128_MAX __FLT128_MAX__ +#undef FLT128_EPSILON +#define FLT128_EPSILON __FLT128_EPSILON__ +#undef FLT128_MIN +#define FLT128_MIN __FLT128_MIN__ +#undef FLT128_DECIMAL_DIG +#define FLT128_DECIMAL_DIG __FLT128_DECIMAL_DIG__ +#undef FLT128_TRUE_MIN +#define FLT128_TRUE_MIN __FLT128_DENORM_MIN__ +#endif /* __FLT128_MANT_DIG__. */ + +#ifdef __FLT32X_MANT_DIG__ +#undef FLT32X_MANT_DIG +#define FLT32X_MANT_DIG __FLT32X_MANT_DIG__ +#undef FLT32X_DIG +#define FLT32X_DIG __FLT32X_DIG__ +#undef FLT32X_MIN_EXP +#define FLT32X_MIN_EXP __FLT32X_MIN_EXP__ +#undef FLT32X_MIN_10_EXP +#define FLT32X_MIN_10_EXP __FLT32X_MIN_10_EXP__ +#undef FLT32X_MAX_EXP +#define FLT32X_MAX_EXP __FLT32X_MAX_EXP__ +#undef FLT32X_MAX_10_EXP +#define FLT32X_MAX_10_EXP __FLT32X_MAX_10_EXP__ +#undef FLT32X_MAX +#define FLT32X_MAX __FLT32X_MAX__ +#undef FLT32X_EPSILON +#define FLT32X_EPSILON __FLT32X_EPSILON__ +#undef FLT32X_MIN +#define FLT32X_MIN __FLT32X_MIN__ +#undef FLT32X_DECIMAL_DIG +#define FLT32X_DECIMAL_DIG __FLT32X_DECIMAL_DIG__ +#undef FLT32X_TRUE_MIN +#define FLT32X_TRUE_MIN __FLT32X_DENORM_MIN__ +#endif /* __FLT32X_MANT_DIG__. */ + +#ifdef __FLT64X_MANT_DIG__ +#undef FLT64X_MANT_DIG +#define FLT64X_MANT_DIG __FLT64X_MANT_DIG__ +#undef FLT64X_DIG +#define FLT64X_DIG __FLT64X_DIG__ +#undef FLT64X_MIN_EXP +#define FLT64X_MIN_EXP __FLT64X_MIN_EXP__ +#undef FLT64X_MIN_10_EXP +#define FLT64X_MIN_10_EXP __FLT64X_MIN_10_EXP__ +#undef FLT64X_MAX_EXP +#define FLT64X_MAX_EXP __FLT64X_MAX_EXP__ +#undef FLT64X_MAX_10_EXP +#define FLT64X_MAX_10_EXP __FLT64X_MAX_10_EXP__ +#undef FLT64X_MAX +#define FLT64X_MAX __FLT64X_MAX__ +#undef FLT64X_EPSILON +#define FLT64X_EPSILON __FLT64X_EPSILON__ +#undef FLT64X_MIN +#define FLT64X_MIN __FLT64X_MIN__ +#undef FLT64X_DECIMAL_DIG +#define FLT64X_DECIMAL_DIG __FLT64X_DECIMAL_DIG__ +#undef FLT64X_TRUE_MIN +#define FLT64X_TRUE_MIN __FLT64X_DENORM_MIN__ +#endif /* __FLT64X_MANT_DIG__. */ + +#ifdef __FLT128X_MANT_DIG__ +#undef FLT128X_MANT_DIG +#define FLT128X_MANT_DIG __FLT128X_MANT_DIG__ +#undef FLT128X_DIG +#define FLT128X_DIG __FLT128X_DIG__ +#undef FLT128X_MIN_EXP +#define FLT128X_MIN_EXP __FLT128X_MIN_EXP__ +#undef FLT128X_MIN_10_EXP +#define FLT128X_MIN_10_EXP __FLT128X_MIN_10_EXP__ +#undef FLT128X_MAX_EXP +#define FLT128X_MAX_EXP __FLT128X_MAX_EXP__ +#undef FLT128X_MAX_10_EXP +#define FLT128X_MAX_10_EXP __FLT128X_MAX_10_EXP__ +#undef FLT128X_MAX +#define FLT128X_MAX __FLT128X_MAX__ +#undef FLT128X_EPSILON +#define FLT128X_EPSILON __FLT128X_EPSILON__ +#undef FLT128X_MIN +#define FLT128X_MIN __FLT128X_MIN__ +#undef FLT128X_DECIMAL_DIG +#define FLT128X_DECIMAL_DIG __FLT128X_DECIMAL_DIG__ +#undef FLT128X_TRUE_MIN +#define FLT128X_TRUE_MIN __FLT128X_DENORM_MIN__ +#endif /* __FLT128X_MANT_DIG__. */ + +#endif /* __STDC_WANT_IEC_60559_TYPES_EXT__. */ + +#ifdef __STDC_WANT_DEC_FP__ +/* Draft Technical Report 24732, extension for decimal floating-point + arithmetic: Characteristic of decimal floating types . */ + +/* Number of base-FLT_RADIX digits in the significand, p. */ +#undef DEC32_MANT_DIG +#undef DEC64_MANT_DIG +#undef DEC128_MANT_DIG +#define DEC32_MANT_DIG __DEC32_MANT_DIG__ +#define DEC64_MANT_DIG __DEC64_MANT_DIG__ +#define DEC128_MANT_DIG __DEC128_MANT_DIG__ + +/* Minimum exponent. */ +#undef DEC32_MIN_EXP +#undef DEC64_MIN_EXP +#undef DEC128_MIN_EXP +#define DEC32_MIN_EXP __DEC32_MIN_EXP__ +#define DEC64_MIN_EXP __DEC64_MIN_EXP__ +#define DEC128_MIN_EXP __DEC128_MIN_EXP__ + +/* Maximum exponent. */ +#undef DEC32_MAX_EXP +#undef DEC64_MAX_EXP +#undef DEC128_MAX_EXP +#define DEC32_MAX_EXP __DEC32_MAX_EXP__ +#define DEC64_MAX_EXP __DEC64_MAX_EXP__ +#define DEC128_MAX_EXP __DEC128_MAX_EXP__ + +/* Maximum representable finite decimal floating-point number + (there are 6, 15, and 33 9s after the decimal points respectively). */ +#undef DEC32_MAX +#undef DEC64_MAX +#undef DEC128_MAX +#define DEC32_MAX __DEC32_MAX__ +#define DEC64_MAX __DEC64_MAX__ +#define DEC128_MAX __DEC128_MAX__ + +/* The difference between 1 and the least value greater than 1 that is + representable in the given floating point type. */ +#undef DEC32_EPSILON +#undef DEC64_EPSILON +#undef DEC128_EPSILON +#define DEC32_EPSILON __DEC32_EPSILON__ +#define DEC64_EPSILON __DEC64_EPSILON__ +#define DEC128_EPSILON __DEC128_EPSILON__ + +/* Minimum normalized positive floating-point number. */ +#undef DEC32_MIN +#undef DEC64_MIN +#undef DEC128_MIN +#define DEC32_MIN __DEC32_MIN__ +#define DEC64_MIN __DEC64_MIN__ +#define DEC128_MIN __DEC128_MIN__ + +/* Minimum subnormal positive floating-point number. */ +#undef DEC32_SUBNORMAL_MIN +#undef DEC64_SUBNORMAL_MIN +#undef DEC128_SUBNORMAL_MIN +#define DEC32_SUBNORMAL_MIN __DEC32_SUBNORMAL_MIN__ +#define DEC64_SUBNORMAL_MIN __DEC64_SUBNORMAL_MIN__ +#define DEC128_SUBNORMAL_MIN __DEC128_SUBNORMAL_MIN__ + +/* The floating-point expression evaluation method. + -1 indeterminate + 0 evaluate all operations and constants just to the range and + precision of the type + 1 evaluate operations and constants of type _Decimal32 + and _Decimal64 to the range and precision of the _Decimal64 + type, evaluate _Decimal128 operations and constants to the + range and precision of the _Decimal128 type; + 2 evaluate all operations and constants to the range and + precision of the _Decimal128 type. */ + +#undef DEC_EVAL_METHOD +#define DEC_EVAL_METHOD __DEC_EVAL_METHOD__ + +#endif /* __STDC_WANT_DEC_FP__ */ + +#endif /* _FLOAT_H___ */ diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/include/gcov.h b/hardware/tools/avr/lib/gcc/avr/7.3.0/include/gcov.h new file mode 100644 index 0000000000000000000000000000000000000000..0333ecca8375d316a0775b33274409a3beffb7d4 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/include/gcov.h @@ -0,0 +1,41 @@ +/* GCOV interface routines. + Copyright (C) 2017 Free Software Foundation, Inc. + + This file is part of GCC. + + GCC is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License as published by the Free + Software Foundation; either version 3, or (at your option) any later + version. + + GCC is distributed in the hope that it will be useful, but WITHOUT ANY + WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + for more details. + + Under Section 7 of GPL version 3, you are granted additional + permissions described in the GCC Runtime Library Exception, version + 3.1, as published by the Free Software Foundation. + + You should have received a copy of the GNU General Public License and + a copy of the GCC Runtime Library Exception along with this program; + see the files COPYING3 and COPYING.RUNTIME respectively. If not, see + . */ + +#ifndef GCC_GCOV_H +#define GCC_GCOV_H + +/* Set all counters to zero. */ + +extern void __gcov_reset (void); + +/* Write profile information to a file. */ + +extern void __gcov_dump (void); + +/* Write profile information to a file and reset counters to zero. + The function does operations under a mutex. */ + +extern void __gcov_flush (void); + +#endif /* GCC_GCOV_H */ diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/include/iso646.h b/hardware/tools/avr/lib/gcc/avr/7.3.0/include/iso646.h new file mode 100644 index 0000000000000000000000000000000000000000..5a6b50335e9cff5ee0de47149951e9566b843c64 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/include/iso646.h @@ -0,0 +1,45 @@ +/* Copyright (C) 1997-2017 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.9 Alternative spellings + */ + +#ifndef _ISO646_H +#define _ISO646_H + +#ifndef __cplusplus +#define and && +#define and_eq &= +#define bitand & +#define bitor | +#define compl ~ +#define not ! +#define not_eq != +#define or || +#define or_eq |= +#define xor ^ +#define xor_eq ^= +#endif + +#endif diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/include/stdalign.h b/hardware/tools/avr/lib/gcc/avr/7.3.0/include/stdalign.h new file mode 100644 index 0000000000000000000000000000000000000000..243d40e54e4434c11a109393a74dcfd0d9ff3858 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/include/stdalign.h @@ -0,0 +1,39 @@ +/* Copyright (C) 2011-2017 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* ISO C1X: 7.15 Alignment . */ + +#ifndef _STDALIGN_H +#define _STDALIGN_H + +#ifndef __cplusplus + +#define alignas _Alignas +#define alignof _Alignof + +#define __alignas_is_defined 1 +#define __alignof_is_defined 1 + +#endif + +#endif /* stdalign.h */ diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/include/stdarg.h b/hardware/tools/avr/lib/gcc/avr/7.3.0/include/stdarg.h new file mode 100644 index 0000000000000000000000000000000000000000..aa248be5da7bede58125a642dbeae50a46dce285 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/include/stdarg.h @@ -0,0 +1,127 @@ +/* Copyright (C) 1989-2017 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.15 Variable arguments + */ + +#ifndef _STDARG_H +#ifndef _ANSI_STDARG_H_ +#ifndef __need___va_list +#define _STDARG_H +#define _ANSI_STDARG_H_ +#endif /* not __need___va_list */ +#undef __need___va_list + +/* Define __gnuc_va_list. */ + +#ifndef __GNUC_VA_LIST +#define __GNUC_VA_LIST +typedef __builtin_va_list __gnuc_va_list; +#endif + +/* Define the standard macros for the user, + if this invocation was from the user program. */ +#ifdef _STDARG_H + +#define va_start(v,l) __builtin_va_start(v,l) +#define va_end(v) __builtin_va_end(v) +#define va_arg(v,l) __builtin_va_arg(v,l) +#if !defined(__STRICT_ANSI__) || __STDC_VERSION__ + 0 >= 199900L \ + || __cplusplus + 0 >= 201103L +#define va_copy(d,s) __builtin_va_copy(d,s) +#endif +#define __va_copy(d,s) __builtin_va_copy(d,s) + +/* Define va_list, if desired, from __gnuc_va_list. */ +/* We deliberately do not define va_list when called from + stdio.h, because ANSI C says that stdio.h is not supposed to define + va_list. stdio.h needs to have access to that data type, + but must not use that name. It should use the name __gnuc_va_list, + which is safe because it is reserved for the implementation. */ + +#ifdef _BSD_VA_LIST +#undef _BSD_VA_LIST +#endif + +#if defined(__svr4__) || (defined(_SCO_DS) && !defined(__VA_LIST)) +/* SVR4.2 uses _VA_LIST for an internal alias for va_list, + so we must avoid testing it and setting it here. + SVR4 uses _VA_LIST as a flag in stdarg.h, but we should + have no conflict with that. */ +#ifndef _VA_LIST_ +#define _VA_LIST_ +#ifdef __i860__ +#ifndef _VA_LIST +#define _VA_LIST va_list +#endif +#endif /* __i860__ */ +typedef __gnuc_va_list va_list; +#ifdef _SCO_DS +#define __VA_LIST +#endif +#endif /* _VA_LIST_ */ +#else /* not __svr4__ || _SCO_DS */ + +/* The macro _VA_LIST_ is the same thing used by this file in Ultrix. + But on BSD NET2 we must not test or define or undef it. + (Note that the comments in NET 2's ansi.h + are incorrect for _VA_LIST_--see stdio.h!) */ +#if !defined (_VA_LIST_) || defined (__BSD_NET2__) || defined (____386BSD____) || defined (__bsdi__) || defined (__sequent__) || defined (__FreeBSD__) || defined(WINNT) +/* The macro _VA_LIST_DEFINED is used in Windows NT 3.5 */ +#ifndef _VA_LIST_DEFINED +/* The macro _VA_LIST is used in SCO Unix 3.2. */ +#ifndef _VA_LIST +/* The macro _VA_LIST_T_H is used in the Bull dpx2 */ +#ifndef _VA_LIST_T_H +/* The macro __va_list__ is used by BeOS. */ +#ifndef __va_list__ +typedef __gnuc_va_list va_list; +#endif /* not __va_list__ */ +#endif /* not _VA_LIST_T_H */ +#endif /* not _VA_LIST */ +#endif /* not _VA_LIST_DEFINED */ +#if !(defined (__BSD_NET2__) || defined (____386BSD____) || defined (__bsdi__) || defined (__sequent__) || defined (__FreeBSD__)) +#define _VA_LIST_ +#endif +#ifndef _VA_LIST +#define _VA_LIST +#endif +#ifndef _VA_LIST_DEFINED +#define _VA_LIST_DEFINED +#endif +#ifndef _VA_LIST_T_H +#define _VA_LIST_T_H +#endif +#ifndef __va_list__ +#define __va_list__ +#endif + +#endif /* not _VA_LIST_, except on certain systems */ + +#endif /* not __svr4__ */ + +#endif /* _STDARG_H */ + +#endif /* not _ANSI_STDARG_H_ */ +#endif /* not _STDARG_H */ diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/include/stdatomic.h b/hardware/tools/avr/lib/gcc/avr/7.3.0/include/stdatomic.h new file mode 100644 index 0000000000000000000000000000000000000000..fb29a142fcfd3726d9d8500f7c3797c7cca5cb3e --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/include/stdatomic.h @@ -0,0 +1,243 @@ +/* Copyright (C) 2013-2017 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* ISO C11 Standard: 7.17 Atomics . */ + +#ifndef _STDATOMIC_H +#define _STDATOMIC_H + +typedef enum + { + memory_order_relaxed = __ATOMIC_RELAXED, + memory_order_consume = __ATOMIC_CONSUME, + memory_order_acquire = __ATOMIC_ACQUIRE, + memory_order_release = __ATOMIC_RELEASE, + memory_order_acq_rel = __ATOMIC_ACQ_REL, + memory_order_seq_cst = __ATOMIC_SEQ_CST + } memory_order; + + +typedef _Atomic _Bool atomic_bool; +typedef _Atomic char atomic_char; +typedef _Atomic signed char atomic_schar; +typedef _Atomic unsigned char atomic_uchar; +typedef _Atomic short atomic_short; +typedef _Atomic unsigned short atomic_ushort; +typedef _Atomic int atomic_int; +typedef _Atomic unsigned int atomic_uint; +typedef _Atomic long atomic_long; +typedef _Atomic unsigned long atomic_ulong; +typedef _Atomic long long atomic_llong; +typedef _Atomic unsigned long long atomic_ullong; +typedef _Atomic __CHAR16_TYPE__ atomic_char16_t; +typedef _Atomic __CHAR32_TYPE__ atomic_char32_t; +typedef _Atomic __WCHAR_TYPE__ atomic_wchar_t; +typedef _Atomic __INT_LEAST8_TYPE__ atomic_int_least8_t; +typedef _Atomic __UINT_LEAST8_TYPE__ atomic_uint_least8_t; +typedef _Atomic __INT_LEAST16_TYPE__ atomic_int_least16_t; +typedef _Atomic __UINT_LEAST16_TYPE__ atomic_uint_least16_t; +typedef _Atomic __INT_LEAST32_TYPE__ atomic_int_least32_t; +typedef _Atomic __UINT_LEAST32_TYPE__ atomic_uint_least32_t; +typedef _Atomic __INT_LEAST64_TYPE__ atomic_int_least64_t; +typedef _Atomic __UINT_LEAST64_TYPE__ atomic_uint_least64_t; +typedef _Atomic __INT_FAST8_TYPE__ atomic_int_fast8_t; +typedef _Atomic __UINT_FAST8_TYPE__ atomic_uint_fast8_t; +typedef _Atomic __INT_FAST16_TYPE__ atomic_int_fast16_t; +typedef _Atomic __UINT_FAST16_TYPE__ atomic_uint_fast16_t; +typedef _Atomic __INT_FAST32_TYPE__ atomic_int_fast32_t; +typedef _Atomic __UINT_FAST32_TYPE__ atomic_uint_fast32_t; +typedef _Atomic __INT_FAST64_TYPE__ atomic_int_fast64_t; +typedef _Atomic __UINT_FAST64_TYPE__ atomic_uint_fast64_t; +typedef _Atomic __INTPTR_TYPE__ atomic_intptr_t; +typedef _Atomic __UINTPTR_TYPE__ atomic_uintptr_t; +typedef _Atomic __SIZE_TYPE__ atomic_size_t; +typedef _Atomic __PTRDIFF_TYPE__ atomic_ptrdiff_t; +typedef _Atomic __INTMAX_TYPE__ atomic_intmax_t; +typedef _Atomic __UINTMAX_TYPE__ atomic_uintmax_t; + + +#define ATOMIC_VAR_INIT(VALUE) (VALUE) + +/* Initialize an atomic object pointed to by PTR with VAL. */ +#define atomic_init(PTR, VAL) \ + atomic_store_explicit (PTR, VAL, __ATOMIC_RELAXED) + +#define kill_dependency(Y) \ + __extension__ \ + ({ \ + __auto_type __kill_dependency_tmp = (Y); \ + __kill_dependency_tmp; \ + }) + +extern void atomic_thread_fence (memory_order); +#define atomic_thread_fence(MO) __atomic_thread_fence (MO) +extern void atomic_signal_fence (memory_order); +#define atomic_signal_fence(MO) __atomic_signal_fence (MO) +#define atomic_is_lock_free(OBJ) __atomic_is_lock_free (sizeof (*(OBJ)), (OBJ)) + +#define ATOMIC_BOOL_LOCK_FREE __GCC_ATOMIC_BOOL_LOCK_FREE +#define ATOMIC_CHAR_LOCK_FREE __GCC_ATOMIC_CHAR_LOCK_FREE +#define ATOMIC_CHAR16_T_LOCK_FREE __GCC_ATOMIC_CHAR16_T_LOCK_FREE +#define ATOMIC_CHAR32_T_LOCK_FREE __GCC_ATOMIC_CHAR32_T_LOCK_FREE +#define ATOMIC_WCHAR_T_LOCK_FREE __GCC_ATOMIC_WCHAR_T_LOCK_FREE +#define ATOMIC_SHORT_LOCK_FREE __GCC_ATOMIC_SHORT_LOCK_FREE +#define ATOMIC_INT_LOCK_FREE __GCC_ATOMIC_INT_LOCK_FREE +#define ATOMIC_LONG_LOCK_FREE __GCC_ATOMIC_LONG_LOCK_FREE +#define ATOMIC_LLONG_LOCK_FREE __GCC_ATOMIC_LLONG_LOCK_FREE +#define ATOMIC_POINTER_LOCK_FREE __GCC_ATOMIC_POINTER_LOCK_FREE + + +/* Note that these macros require __typeof__ and __auto_type to remove + _Atomic qualifiers (and const qualifiers, if those are valid on + macro operands). + + Also note that the header file uses the generic form of __atomic + builtins, which requires the address to be taken of the value + parameter, and then we pass that value on. This allows the macros + to work for any type, and the compiler is smart enough to convert + these to lock-free _N variants if possible, and throw away the + temps. */ + +#define atomic_store_explicit(PTR, VAL, MO) \ + __extension__ \ + ({ \ + __auto_type __atomic_store_ptr = (PTR); \ + __typeof__ (*__atomic_store_ptr) __atomic_store_tmp = (VAL); \ + __atomic_store (__atomic_store_ptr, &__atomic_store_tmp, (MO)); \ + }) + +#define atomic_store(PTR, VAL) \ + atomic_store_explicit (PTR, VAL, __ATOMIC_SEQ_CST) + + +#define atomic_load_explicit(PTR, MO) \ + __extension__ \ + ({ \ + __auto_type __atomic_load_ptr = (PTR); \ + __typeof__ (*__atomic_load_ptr) __atomic_load_tmp; \ + __atomic_load (__atomic_load_ptr, &__atomic_load_tmp, (MO)); \ + __atomic_load_tmp; \ + }) + +#define atomic_load(PTR) atomic_load_explicit (PTR, __ATOMIC_SEQ_CST) + + +#define atomic_exchange_explicit(PTR, VAL, MO) \ + __extension__ \ + ({ \ + __auto_type __atomic_exchange_ptr = (PTR); \ + __typeof__ (*__atomic_exchange_ptr) __atomic_exchange_val = (VAL); \ + __typeof__ (*__atomic_exchange_ptr) __atomic_exchange_tmp; \ + __atomic_exchange (__atomic_exchange_ptr, &__atomic_exchange_val, \ + &__atomic_exchange_tmp, (MO)); \ + __atomic_exchange_tmp; \ + }) + +#define atomic_exchange(PTR, VAL) \ + atomic_exchange_explicit (PTR, VAL, __ATOMIC_SEQ_CST) + + +#define atomic_compare_exchange_strong_explicit(PTR, VAL, DES, SUC, FAIL) \ + __extension__ \ + ({ \ + __auto_type __atomic_compare_exchange_ptr = (PTR); \ + __typeof__ (*__atomic_compare_exchange_ptr) __atomic_compare_exchange_tmp \ + = (DES); \ + __atomic_compare_exchange (__atomic_compare_exchange_ptr, (VAL), \ + &__atomic_compare_exchange_tmp, 0, \ + (SUC), (FAIL)); \ + }) + +#define atomic_compare_exchange_strong(PTR, VAL, DES) \ + atomic_compare_exchange_strong_explicit (PTR, VAL, DES, __ATOMIC_SEQ_CST, \ + __ATOMIC_SEQ_CST) + +#define atomic_compare_exchange_weak_explicit(PTR, VAL, DES, SUC, FAIL) \ + __extension__ \ + ({ \ + __auto_type __atomic_compare_exchange_ptr = (PTR); \ + __typeof__ (*__atomic_compare_exchange_ptr) __atomic_compare_exchange_tmp \ + = (DES); \ + __atomic_compare_exchange (__atomic_compare_exchange_ptr, (VAL), \ + &__atomic_compare_exchange_tmp, 1, \ + (SUC), (FAIL)); \ + }) + +#define atomic_compare_exchange_weak(PTR, VAL, DES) \ + atomic_compare_exchange_weak_explicit (PTR, VAL, DES, __ATOMIC_SEQ_CST, \ + __ATOMIC_SEQ_CST) + + + +#define atomic_fetch_add(PTR, VAL) __atomic_fetch_add ((PTR), (VAL), \ + __ATOMIC_SEQ_CST) +#define atomic_fetch_add_explicit(PTR, VAL, MO) \ + __atomic_fetch_add ((PTR), (VAL), (MO)) + +#define atomic_fetch_sub(PTR, VAL) __atomic_fetch_sub ((PTR), (VAL), \ + __ATOMIC_SEQ_CST) +#define atomic_fetch_sub_explicit(PTR, VAL, MO) \ + __atomic_fetch_sub ((PTR), (VAL), (MO)) + +#define atomic_fetch_or(PTR, VAL) __atomic_fetch_or ((PTR), (VAL), \ + __ATOMIC_SEQ_CST) +#define atomic_fetch_or_explicit(PTR, VAL, MO) \ + __atomic_fetch_or ((PTR), (VAL), (MO)) + +#define atomic_fetch_xor(PTR, VAL) __atomic_fetch_xor ((PTR), (VAL), \ + __ATOMIC_SEQ_CST) +#define atomic_fetch_xor_explicit(PTR, VAL, MO) \ + __atomic_fetch_xor ((PTR), (VAL), (MO)) + +#define atomic_fetch_and(PTR, VAL) __atomic_fetch_and ((PTR), (VAL), \ + __ATOMIC_SEQ_CST) +#define atomic_fetch_and_explicit(PTR, VAL, MO) \ + __atomic_fetch_and ((PTR), (VAL), (MO)) + + +typedef _Atomic struct +{ +#if __GCC_ATOMIC_TEST_AND_SET_TRUEVAL == 1 + _Bool __val; +#else + unsigned char __val; +#endif +} atomic_flag; + +#define ATOMIC_FLAG_INIT { 0 } + + +extern _Bool atomic_flag_test_and_set (volatile atomic_flag *); +#define atomic_flag_test_and_set(PTR) \ + __atomic_test_and_set ((PTR), __ATOMIC_SEQ_CST) +extern _Bool atomic_flag_test_and_set_explicit (volatile atomic_flag *, + memory_order); +#define atomic_flag_test_and_set_explicit(PTR, MO) \ + __atomic_test_and_set ((PTR), (MO)) + +extern void atomic_flag_clear (volatile atomic_flag *); +#define atomic_flag_clear(PTR) __atomic_clear ((PTR), __ATOMIC_SEQ_CST) +extern void atomic_flag_clear_explicit (volatile atomic_flag *, memory_order); +#define atomic_flag_clear_explicit(PTR, MO) __atomic_clear ((PTR), (MO)) + +#endif /* _STDATOMIC_H */ diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/include/stdbool.h b/hardware/tools/avr/lib/gcc/avr/7.3.0/include/stdbool.h new file mode 100644 index 0000000000000000000000000000000000000000..a69fc3a444f9c3debe470b4bfc870605afb7a9ae --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/include/stdbool.h @@ -0,0 +1,54 @@ +/* Copyright (C) 1998-2017 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.16 Boolean type and values + */ + +#ifndef _STDBOOL_H +#define _STDBOOL_H + +#ifndef __cplusplus + +#define bool _Bool +#define true 1 +#define false 0 + +#else /* __cplusplus */ + +/* Supporting _Bool in C++ is a GCC extension. */ +#define _Bool bool + +#if __cplusplus < 201103L +/* Defining these macros in C++98 is a GCC extension. */ +#define bool bool +#define false false +#define true true +#endif + +#endif /* __cplusplus */ + +/* Signal that all the definitions are present. */ +#define __bool_true_false_are_defined 1 + +#endif /* stdbool.h */ diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/include/stddef.h b/hardware/tools/avr/lib/gcc/avr/7.3.0/include/stddef.h new file mode 100644 index 0000000000000000000000000000000000000000..872f451cac91e93b7c471a3c16db93833a156f90 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/include/stddef.h @@ -0,0 +1,451 @@ +/* Copyright (C) 1989-2017 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.17 Common definitions + */ +#if (!defined(_STDDEF_H) && !defined(_STDDEF_H_) && !defined(_ANSI_STDDEF_H) \ + && !defined(__STDDEF_H__)) \ + || defined(__need_wchar_t) || defined(__need_size_t) \ + || defined(__need_ptrdiff_t) || defined(__need_NULL) \ + || defined(__need_wint_t) + +/* Any one of these symbols __need_* means that GNU libc + wants us just to define one data type. So don't define + the symbols that indicate this file's entire job has been done. */ +#if (!defined(__need_wchar_t) && !defined(__need_size_t) \ + && !defined(__need_ptrdiff_t) && !defined(__need_NULL) \ + && !defined(__need_wint_t)) +#define _STDDEF_H +#define _STDDEF_H_ +/* snaroff@next.com says the NeXT needs this. */ +#define _ANSI_STDDEF_H +#endif + +#ifndef __sys_stdtypes_h +/* This avoids lossage on SunOS but only if stdtypes.h comes first. + There's no way to win with the other order! Sun lossage. */ + +/* On 4.3bsd-net2, make sure ansi.h is included, so we have + one less case to deal with in the following. */ +#if defined (__BSD_NET2__) || defined (____386BSD____) || (defined (__FreeBSD__) && (__FreeBSD__ < 5)) || defined(__NetBSD__) +#include +#endif +/* On FreeBSD 5, machine/ansi.h does not exist anymore... */ +#if defined (__FreeBSD__) && (__FreeBSD__ >= 5) +#include +#endif + +/* In 4.3bsd-net2, machine/ansi.h defines these symbols, which are + defined if the corresponding type is *not* defined. + FreeBSD-2.1 defines _MACHINE_ANSI_H_ instead of _ANSI_H_. + NetBSD defines _I386_ANSI_H_ and _X86_64_ANSI_H_ instead of _ANSI_H_ */ +#if defined(_ANSI_H_) || defined(_MACHINE_ANSI_H_) || defined(_X86_64_ANSI_H_) || defined(_I386_ANSI_H_) +#if !defined(_SIZE_T_) && !defined(_BSD_SIZE_T_) +#define _SIZE_T +#endif +#if !defined(_PTRDIFF_T_) && !defined(_BSD_PTRDIFF_T_) +#define _PTRDIFF_T +#endif +/* On BSD/386 1.1, at least, machine/ansi.h defines _BSD_WCHAR_T_ + instead of _WCHAR_T_. */ +#if !defined(_WCHAR_T_) && !defined(_BSD_WCHAR_T_) +#ifndef _BSD_WCHAR_T_ +#define _WCHAR_T +#endif +#endif +/* Undef _FOO_T_ if we are supposed to define foo_t. */ +#if defined (__need_ptrdiff_t) || defined (_STDDEF_H_) +#undef _PTRDIFF_T_ +#undef _BSD_PTRDIFF_T_ +#endif +#if defined (__need_size_t) || defined (_STDDEF_H_) +#undef _SIZE_T_ +#undef _BSD_SIZE_T_ +#endif +#if defined (__need_wchar_t) || defined (_STDDEF_H_) +#undef _WCHAR_T_ +#undef _BSD_WCHAR_T_ +#endif +#endif /* defined(_ANSI_H_) || defined(_MACHINE_ANSI_H_) || defined(_X86_64_ANSI_H_) || defined(_I386_ANSI_H_) */ + +/* Sequent's header files use _PTRDIFF_T_ in some conflicting way. + Just ignore it. */ +#if defined (__sequent__) && defined (_PTRDIFF_T_) +#undef _PTRDIFF_T_ +#endif + +/* On VxWorks, may have defined macros like + _TYPE_size_t which will typedef size_t. fixincludes patched the + vxTypesBase.h so that this macro is only defined if _GCC_SIZE_T is + not defined, and so that defining this macro defines _GCC_SIZE_T. + If we find that the macros are still defined at this point, we must + invoke them so that the type is defined as expected. */ +#if defined (_TYPE_ptrdiff_t) && (defined (__need_ptrdiff_t) || defined (_STDDEF_H_)) +_TYPE_ptrdiff_t; +#undef _TYPE_ptrdiff_t +#endif +#if defined (_TYPE_size_t) && (defined (__need_size_t) || defined (_STDDEF_H_)) +_TYPE_size_t; +#undef _TYPE_size_t +#endif +#if defined (_TYPE_wchar_t) && (defined (__need_wchar_t) || defined (_STDDEF_H_)) +_TYPE_wchar_t; +#undef _TYPE_wchar_t +#endif + +/* In case nobody has defined these types, but we aren't running under + GCC 2.00, make sure that __PTRDIFF_TYPE__, __SIZE_TYPE__, and + __WCHAR_TYPE__ have reasonable values. This can happen if the + parts of GCC is compiled by an older compiler, that actually + include gstddef.h, such as collect2. */ + +/* Signed type of difference of two pointers. */ + +/* Define this type if we are doing the whole job, + or if we want this type in particular. */ +#if defined (_STDDEF_H) || defined (__need_ptrdiff_t) +#ifndef _PTRDIFF_T /* in case has defined it. */ +#ifndef _T_PTRDIFF_ +#ifndef _T_PTRDIFF +#ifndef __PTRDIFF_T +#ifndef _PTRDIFF_T_ +#ifndef _BSD_PTRDIFF_T_ +#ifndef ___int_ptrdiff_t_h +#ifndef _GCC_PTRDIFF_T +#ifndef _PTRDIFF_T_DECLARED /* DragonFly */ +#define _PTRDIFF_T +#define _T_PTRDIFF_ +#define _T_PTRDIFF +#define __PTRDIFF_T +#define _PTRDIFF_T_ +#define _BSD_PTRDIFF_T_ +#define ___int_ptrdiff_t_h +#define _GCC_PTRDIFF_T +#define _PTRDIFF_T_DECLARED +#ifndef __PTRDIFF_TYPE__ +#define __PTRDIFF_TYPE__ long int +#endif +typedef __PTRDIFF_TYPE__ ptrdiff_t; +#endif /* _PTRDIFF_T_DECLARED */ +#endif /* _GCC_PTRDIFF_T */ +#endif /* ___int_ptrdiff_t_h */ +#endif /* _BSD_PTRDIFF_T_ */ +#endif /* _PTRDIFF_T_ */ +#endif /* __PTRDIFF_T */ +#endif /* _T_PTRDIFF */ +#endif /* _T_PTRDIFF_ */ +#endif /* _PTRDIFF_T */ + +/* If this symbol has done its job, get rid of it. */ +#undef __need_ptrdiff_t + +#endif /* _STDDEF_H or __need_ptrdiff_t. */ + +/* Unsigned type of `sizeof' something. */ + +/* Define this type if we are doing the whole job, + or if we want this type in particular. */ +#if defined (_STDDEF_H) || defined (__need_size_t) +#ifndef __size_t__ /* BeOS */ +#ifndef __SIZE_T__ /* Cray Unicos/Mk */ +#ifndef _SIZE_T /* in case has defined it. */ +#ifndef _SYS_SIZE_T_H +#ifndef _T_SIZE_ +#ifndef _T_SIZE +#ifndef __SIZE_T +#ifndef _SIZE_T_ +#ifndef _BSD_SIZE_T_ +#ifndef _SIZE_T_DEFINED_ +#ifndef _SIZE_T_DEFINED +#ifndef _BSD_SIZE_T_DEFINED_ /* Darwin */ +#ifndef _SIZE_T_DECLARED /* FreeBSD 5 */ +#ifndef ___int_size_t_h +#ifndef _GCC_SIZE_T +#ifndef _SIZET_ +#ifndef __size_t +#define __size_t__ /* BeOS */ +#define __SIZE_T__ /* Cray Unicos/Mk */ +#define _SIZE_T +#define _SYS_SIZE_T_H +#define _T_SIZE_ +#define _T_SIZE +#define __SIZE_T +#define _SIZE_T_ +#define _BSD_SIZE_T_ +#define _SIZE_T_DEFINED_ +#define _SIZE_T_DEFINED +#define _BSD_SIZE_T_DEFINED_ /* Darwin */ +#define _SIZE_T_DECLARED /* FreeBSD 5 */ +#define ___int_size_t_h +#define _GCC_SIZE_T +#define _SIZET_ +#if (defined (__FreeBSD__) && (__FreeBSD__ >= 5)) \ + || defined(__DragonFly__) \ + || defined(__FreeBSD_kernel__) +/* __size_t is a typedef on FreeBSD 5, must not trash it. */ +#elif defined (__VMS__) +/* __size_t is also a typedef on VMS. */ +#else +#define __size_t +#endif +#ifndef __SIZE_TYPE__ +#define __SIZE_TYPE__ long unsigned int +#endif +#if !(defined (__GNUG__) && defined (size_t)) +typedef __SIZE_TYPE__ size_t; +#ifdef __BEOS__ +typedef long ssize_t; +#endif /* __BEOS__ */ +#endif /* !(defined (__GNUG__) && defined (size_t)) */ +#endif /* __size_t */ +#endif /* _SIZET_ */ +#endif /* _GCC_SIZE_T */ +#endif /* ___int_size_t_h */ +#endif /* _SIZE_T_DECLARED */ +#endif /* _BSD_SIZE_T_DEFINED_ */ +#endif /* _SIZE_T_DEFINED */ +#endif /* _SIZE_T_DEFINED_ */ +#endif /* _BSD_SIZE_T_ */ +#endif /* _SIZE_T_ */ +#endif /* __SIZE_T */ +#endif /* _T_SIZE */ +#endif /* _T_SIZE_ */ +#endif /* _SYS_SIZE_T_H */ +#endif /* _SIZE_T */ +#endif /* __SIZE_T__ */ +#endif /* __size_t__ */ +#undef __need_size_t +#endif /* _STDDEF_H or __need_size_t. */ + + +/* Wide character type. + Locale-writers should change this as necessary to + be big enough to hold unique values not between 0 and 127, + and not (wchar_t) -1, for each defined multibyte character. */ + +/* Define this type if we are doing the whole job, + or if we want this type in particular. */ +#if defined (_STDDEF_H) || defined (__need_wchar_t) +#ifndef __wchar_t__ /* BeOS */ +#ifndef __WCHAR_T__ /* Cray Unicos/Mk */ +#ifndef _WCHAR_T +#ifndef _T_WCHAR_ +#ifndef _T_WCHAR +#ifndef __WCHAR_T +#ifndef _WCHAR_T_ +#ifndef _BSD_WCHAR_T_ +#ifndef _BSD_WCHAR_T_DEFINED_ /* Darwin */ +#ifndef _BSD_RUNE_T_DEFINED_ /* Darwin */ +#ifndef _WCHAR_T_DECLARED /* FreeBSD 5 */ +#ifndef _WCHAR_T_DEFINED_ +#ifndef _WCHAR_T_DEFINED +#ifndef _WCHAR_T_H +#ifndef ___int_wchar_t_h +#ifndef __INT_WCHAR_T_H +#ifndef _GCC_WCHAR_T +#define __wchar_t__ /* BeOS */ +#define __WCHAR_T__ /* Cray Unicos/Mk */ +#define _WCHAR_T +#define _T_WCHAR_ +#define _T_WCHAR +#define __WCHAR_T +#define _WCHAR_T_ +#define _BSD_WCHAR_T_ +#define _WCHAR_T_DEFINED_ +#define _WCHAR_T_DEFINED +#define _WCHAR_T_H +#define ___int_wchar_t_h +#define __INT_WCHAR_T_H +#define _GCC_WCHAR_T +#define _WCHAR_T_DECLARED + +/* On BSD/386 1.1, at least, machine/ansi.h defines _BSD_WCHAR_T_ + instead of _WCHAR_T_, and _BSD_RUNE_T_ (which, unlike the other + symbols in the _FOO_T_ family, stays defined even after its + corresponding type is defined). If we define wchar_t, then we + must undef _WCHAR_T_; for BSD/386 1.1 (and perhaps others), if + we undef _WCHAR_T_, then we must also define rune_t, since + headers like runetype.h assume that if machine/ansi.h is included, + and _BSD_WCHAR_T_ is not defined, then rune_t is available. + machine/ansi.h says, "Note that _WCHAR_T_ and _RUNE_T_ must be of + the same type." */ +#ifdef _BSD_WCHAR_T_ +#undef _BSD_WCHAR_T_ +#ifdef _BSD_RUNE_T_ +#if !defined (_ANSI_SOURCE) && !defined (_POSIX_SOURCE) +typedef _BSD_RUNE_T_ rune_t; +#define _BSD_WCHAR_T_DEFINED_ +#define _BSD_RUNE_T_DEFINED_ /* Darwin */ +#if defined (__FreeBSD__) && (__FreeBSD__ < 5) +/* Why is this file so hard to maintain properly? In contrast to + the comment above regarding BSD/386 1.1, on FreeBSD for as long + as the symbol has existed, _BSD_RUNE_T_ must not stay defined or + redundant typedefs will occur when stdlib.h is included after this file. */ +#undef _BSD_RUNE_T_ +#endif +#endif +#endif +#endif +/* FreeBSD 5 can't be handled well using "traditional" logic above + since it no longer defines _BSD_RUNE_T_ yet still desires to export + rune_t in some cases... */ +#if defined (__FreeBSD__) && (__FreeBSD__ >= 5) +#if !defined (_ANSI_SOURCE) && !defined (_POSIX_SOURCE) +#if __BSD_VISIBLE +#ifndef _RUNE_T_DECLARED +typedef __rune_t rune_t; +#define _RUNE_T_DECLARED +#endif +#endif +#endif +#endif + +#ifndef __WCHAR_TYPE__ +#define __WCHAR_TYPE__ int +#endif +#ifndef __cplusplus +typedef __WCHAR_TYPE__ wchar_t; +#endif +#endif +#endif +#endif +#endif +#endif +#endif +#endif /* _WCHAR_T_DECLARED */ +#endif /* _BSD_RUNE_T_DEFINED_ */ +#endif +#endif +#endif +#endif +#endif +#endif +#endif +#endif /* __WCHAR_T__ */ +#endif /* __wchar_t__ */ +#undef __need_wchar_t +#endif /* _STDDEF_H or __need_wchar_t. */ + +#if defined (__need_wint_t) +#ifndef _WINT_T +#define _WINT_T + +#ifndef __WINT_TYPE__ +#define __WINT_TYPE__ unsigned int +#endif +typedef __WINT_TYPE__ wint_t; +#endif +#undef __need_wint_t +#endif + +/* In 4.3bsd-net2, leave these undefined to indicate that size_t, etc. + are already defined. */ +/* BSD/OS 3.1 and FreeBSD [23].x require the MACHINE_ANSI_H check here. */ +/* NetBSD 5 requires the I386_ANSI_H and X86_64_ANSI_H checks here. */ +#if defined(_ANSI_H_) || defined(_MACHINE_ANSI_H_) || defined(_X86_64_ANSI_H_) || defined(_I386_ANSI_H_) +/* The references to _GCC_PTRDIFF_T_, _GCC_SIZE_T_, and _GCC_WCHAR_T_ + are probably typos and should be removed before 2.8 is released. */ +#ifdef _GCC_PTRDIFF_T_ +#undef _PTRDIFF_T_ +#undef _BSD_PTRDIFF_T_ +#endif +#ifdef _GCC_SIZE_T_ +#undef _SIZE_T_ +#undef _BSD_SIZE_T_ +#endif +#ifdef _GCC_WCHAR_T_ +#undef _WCHAR_T_ +#undef _BSD_WCHAR_T_ +#endif +/* The following ones are the real ones. */ +#ifdef _GCC_PTRDIFF_T +#undef _PTRDIFF_T_ +#undef _BSD_PTRDIFF_T_ +#endif +#ifdef _GCC_SIZE_T +#undef _SIZE_T_ +#undef _BSD_SIZE_T_ +#endif +#ifdef _GCC_WCHAR_T +#undef _WCHAR_T_ +#undef _BSD_WCHAR_T_ +#endif +#endif /* _ANSI_H_ || _MACHINE_ANSI_H_ || _X86_64_ANSI_H_ || _I386_ANSI_H_ */ + +#endif /* __sys_stdtypes_h */ + +/* A null pointer constant. */ + +#if defined (_STDDEF_H) || defined (__need_NULL) +#undef NULL /* in case has defined it. */ +#ifdef __GNUG__ +#define NULL __null +#else /* G++ */ +#ifndef __cplusplus +#define NULL ((void *)0) +#else /* C++ */ +#define NULL 0 +#endif /* C++ */ +#endif /* G++ */ +#endif /* NULL not defined and or need NULL. */ +#undef __need_NULL + +#ifdef _STDDEF_H + +/* Offset of member MEMBER in a struct of type TYPE. */ +#define offsetof(TYPE, MEMBER) __builtin_offsetof (TYPE, MEMBER) + +#if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) \ + || (defined(__cplusplus) && __cplusplus >= 201103L) +#ifndef _GCC_MAX_ALIGN_T +#define _GCC_MAX_ALIGN_T +/* Type whose alignment is supported in every context and is at least + as great as that of any standard type not using alignment + specifiers. */ +typedef struct { + long long __max_align_ll __attribute__((__aligned__(__alignof__(long long)))); + long double __max_align_ld __attribute__((__aligned__(__alignof__(long double)))); + /* _Float128 is defined as a basic type, so max_align_t must be + sufficiently aligned for it. This code must work in C++, so we + use __float128 here; that is only available on some + architectures, but only on i386 is extra alignment needed for + __float128. */ +#ifdef __i386__ + __float128 __max_align_f128 __attribute__((__aligned__(__alignof(__float128)))); +#endif +} max_align_t; +#endif +#endif /* C11 or C++11. */ + +#if defined(__cplusplus) && __cplusplus >= 201103L +#ifndef _GXX_NULLPTR_T +#define _GXX_NULLPTR_T + typedef decltype(nullptr) nullptr_t; +#endif +#endif /* C++11. */ + +#endif /* _STDDEF_H was defined this time */ + +#endif /* !_STDDEF_H && !_STDDEF_H_ && !_ANSI_STDDEF_H && !__STDDEF_H__ + || __need_XXX was not defined before */ diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/include/stdfix-gcc.h b/hardware/tools/avr/lib/gcc/avr/7.3.0/include/stdfix-gcc.h new file mode 100644 index 0000000000000000000000000000000000000000..9de1b72dcada84a11ff0a3a62cf4ad8f5f7c2365 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/include/stdfix-gcc.h @@ -0,0 +1,204 @@ +/* Copyright (C) 2007-2017 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* ISO/IEC JTC1 SC22 WG14 N1169 + * Date: 2006-04-04 + * ISO/IEC TR 18037 + * Programming languages - C - Extensions to support embedded processors + */ + +#ifndef _STDFIX_H +#define _STDFIX_H + +/* 7.18a.1 Introduction. */ + +#undef fract +#undef accum +#undef sat +#define fract _Fract +#define accum _Accum +#define sat _Sat + +/* 7.18a.3 Precision macros. */ + +#undef SFRACT_FBIT +#undef SFRACT_MIN +#undef SFRACT_MAX +#undef SFRACT_EPSILON +#define SFRACT_FBIT __SFRACT_FBIT__ +#define SFRACT_MIN __SFRACT_MIN__ +#define SFRACT_MAX __SFRACT_MAX__ +#define SFRACT_EPSILON __SFRACT_EPSILON__ + +#undef USFRACT_FBIT +#undef USFRACT_MIN +#undef USFRACT_MAX +#undef USFRACT_EPSILON +#define USFRACT_FBIT __USFRACT_FBIT__ +#define USFRACT_MIN __USFRACT_MIN__ /* GCC extension. */ +#define USFRACT_MAX __USFRACT_MAX__ +#define USFRACT_EPSILON __USFRACT_EPSILON__ + +#undef FRACT_FBIT +#undef FRACT_MIN +#undef FRACT_MAX +#undef FRACT_EPSILON +#define FRACT_FBIT __FRACT_FBIT__ +#define FRACT_MIN __FRACT_MIN__ +#define FRACT_MAX __FRACT_MAX__ +#define FRACT_EPSILON __FRACT_EPSILON__ + +#undef UFRACT_FBIT +#undef UFRACT_MIN +#undef UFRACT_MAX +#undef UFRACT_EPSILON +#define UFRACT_FBIT __UFRACT_FBIT__ +#define UFRACT_MIN __UFRACT_MIN__ /* GCC extension. */ +#define UFRACT_MAX __UFRACT_MAX__ +#define UFRACT_EPSILON __UFRACT_EPSILON__ + +#undef LFRACT_FBIT +#undef LFRACT_MIN +#undef LFRACT_MAX +#undef LFRACT_EPSILON +#define LFRACT_FBIT __LFRACT_FBIT__ +#define LFRACT_MIN __LFRACT_MIN__ +#define LFRACT_MAX __LFRACT_MAX__ +#define LFRACT_EPSILON __LFRACT_EPSILON__ + +#undef ULFRACT_FBIT +#undef ULFRACT_MIN +#undef ULFRACT_MAX +#undef ULFRACT_EPSILON +#define ULFRACT_FBIT __ULFRACT_FBIT__ +#define ULFRACT_MIN __ULFRACT_MIN__ /* GCC extension. */ +#define ULFRACT_MAX __ULFRACT_MAX__ +#define ULFRACT_EPSILON __ULFRACT_EPSILON__ + +#undef LLFRACT_FBIT +#undef LLFRACT_MIN +#undef LLFRACT_MAX +#undef LLFRACT_EPSILON +#define LLFRACT_FBIT __LLFRACT_FBIT__ /* GCC extension. */ +#define LLFRACT_MIN __LLFRACT_MIN__ /* GCC extension. */ +#define LLFRACT_MAX __LLFRACT_MAX__ /* GCC extension. */ +#define LLFRACT_EPSILON __LLFRACT_EPSILON__ /* GCC extension. */ + +#undef ULLFRACT_FBIT +#undef ULLFRACT_MIN +#undef ULLFRACT_MAX +#undef ULLFRACT_EPSILON +#define ULLFRACT_FBIT __ULLFRACT_FBIT__ /* GCC extension. */ +#define ULLFRACT_MIN __ULLFRACT_MIN__ /* GCC extension. */ +#define ULLFRACT_MAX __ULLFRACT_MAX__ /* GCC extension. */ +#define ULLFRACT_EPSILON __ULLFRACT_EPSILON__ /* GCC extension. */ + +#undef SACCUM_FBIT +#undef SACCUM_IBIT +#undef SACCUM_MIN +#undef SACCUM_MAX +#undef SACCUM_EPSILON +#define SACCUM_FBIT __SACCUM_FBIT__ +#define SACCUM_IBIT __SACCUM_IBIT__ +#define SACCUM_MIN __SACCUM_MIN__ +#define SACCUM_MAX __SACCUM_MAX__ +#define SACCUM_EPSILON __SACCUM_EPSILON__ + +#undef USACCUM_FBIT +#undef USACCUM_IBIT +#undef USACCUM_MIN +#undef USACCUM_MAX +#undef USACCUM_EPSILON +#define USACCUM_FBIT __USACCUM_FBIT__ +#define USACCUM_IBIT __USACCUM_IBIT__ +#define USACCUM_MIN __USACCUM_MIN__ /* GCC extension. */ +#define USACCUM_MAX __USACCUM_MAX__ +#define USACCUM_EPSILON __USACCUM_EPSILON__ + +#undef ACCUM_FBIT +#undef ACCUM_IBIT +#undef ACCUM_MIN +#undef ACCUM_MAX +#undef ACCUM_EPSILON +#define ACCUM_FBIT __ACCUM_FBIT__ +#define ACCUM_IBIT __ACCUM_IBIT__ +#define ACCUM_MIN __ACCUM_MIN__ +#define ACCUM_MAX __ACCUM_MAX__ +#define ACCUM_EPSILON __ACCUM_EPSILON__ + +#undef UACCUM_FBIT +#undef UACCUM_IBIT +#undef UACCUM_MIN +#undef UACCUM_MAX +#undef UACCUM_EPSILON +#define UACCUM_FBIT __UACCUM_FBIT__ +#define UACCUM_IBIT __UACCUM_IBIT__ +#define UACCUM_MIN __UACCUM_MIN__ /* GCC extension. */ +#define UACCUM_MAX __UACCUM_MAX__ +#define UACCUM_EPSILON __UACCUM_EPSILON__ + +#undef LACCUM_FBIT +#undef LACCUM_IBIT +#undef LACCUM_MIN +#undef LACCUM_MAX +#undef LACCUM_EPSILON +#define LACCUM_FBIT __LACCUM_FBIT__ +#define LACCUM_IBIT __LACCUM_IBIT__ +#define LACCUM_MIN __LACCUM_MIN__ +#define LACCUM_MAX __LACCUM_MAX__ +#define LACCUM_EPSILON __LACCUM_EPSILON__ + +#undef ULACCUM_FBIT +#undef ULACCUM_IBIT +#undef ULACCUM_MIN +#undef ULACCUM_MAX +#undef ULACCUM_EPSILON +#define ULACCUM_FBIT __ULACCUM_FBIT__ +#define ULACCUM_IBIT __ULACCUM_IBIT__ +#define ULACCUM_MIN __ULACCUM_MIN__ /* GCC extension. */ +#define ULACCUM_MAX __ULACCUM_MAX__ +#define ULACCUM_EPSILON __ULACCUM_EPSILON__ + +#undef LLACCUM_FBIT +#undef LLACCUM_IBIT +#undef LLACCUM_MIN +#undef LLACCUM_MAX +#undef LLACCUM_EPSILON +#define LLACCUM_FBIT __LLACCUM_FBIT__ /* GCC extension. */ +#define LLACCUM_IBIT __LLACCUM_IBIT__ /* GCC extension. */ +#define LLACCUM_MIN __LLACCUM_MIN__ /* GCC extension. */ +#define LLACCUM_MAX __LLACCUM_MAX__ /* GCC extension. */ +#define LLACCUM_EPSILON __LLACCUM_EPSILON__ /* GCC extension. */ + +#undef ULLACCUM_FBIT +#undef ULLACCUM_IBIT +#undef ULLACCUM_MIN +#undef ULLACCUM_MAX +#undef ULLACCUM_EPSILON +#define ULLACCUM_FBIT __ULLACCUM_FBIT__ /* GCC extension. */ +#define ULLACCUM_IBIT __ULLACCUM_IBIT__ /* GCC extension. */ +#define ULLACCUM_MIN __ULLACCUM_MIN__ /* GCC extension. */ +#define ULLACCUM_MAX __ULLACCUM_MAX__ /* GCC extension. */ +#define ULLACCUM_EPSILON __ULLACCUM_EPSILON__ /* GCC extension. */ + +#endif /* _STDFIX_H */ diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/include/stdfix.h b/hardware/tools/avr/lib/gcc/avr/7.3.0/include/stdfix.h new file mode 100644 index 0000000000000000000000000000000000000000..51e93394ce2435317e062c8c3940d2442094df11 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/include/stdfix.h @@ -0,0 +1,245 @@ +/* Copyright (C) 2007-2017 Free Software Foundation, Inc. + + This file is part of GCC. + + GCC is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + GCC is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + Under Section 7 of GPL version 3, you are granted additional + permissions described in the GCC Runtime Library Exception, version + 3.1, as published by the Free Software Foundation. + + You should have received a copy of the GNU General Public License and + a copy of the GCC Runtime Library Exception along with this program; + see the files COPYING3 and COPYING.RUNTIME respectively. If not, see + . */ + +/* ISO/IEC JTC1 SC22 WG14 N1169 + * Date: 2006-04-04 + * ISO/IEC TR 18037 + * Programming languages - C - Extensions to support embedded processors + */ + +#ifndef _AVRGCC_STDFIX_H +#define _AVRGCC_STDFIX_H + +/* 7.18a.1 Introduction. */ +/* 7.18a.3 Precision macros. */ + +#include + + +#if __SIZEOF_INT__ == 2 + +typedef signed char int_hr_t; +typedef unsigned char uint_uhr_t; + +typedef short int int_r_t; +typedef short unsigned int uint_ur_t; + +typedef short int int_hk_t; +typedef short unsigned int uint_uhk_t; + +typedef long int int_lr_t; +typedef long unsigned int uint_ulr_t; + +typedef long int int_k_t; +typedef long unsigned int uint_uk_t; + +typedef long long int int_llr_t; +typedef long long unsigned int uint_ullr_t; + +typedef long long int int_lk_t; +typedef long long unsigned int uint_ulk_t; + +typedef long long int int_llk_t; +typedef long long unsigned int uint_ullk_t; + +#elif __SIZEOF_INT__ == 1 /* -mint8 */ + +typedef signed char int_hr_t; +typedef unsigned char uint_uhr_t; + +typedef long int int_r_t; +typedef long unsigned int uint_ur_t; + +typedef long int int_hk_t; +typedef long unsigned int uint_uhk_t; + +typedef long long int int_lr_t; +typedef long long unsigned int uint_ulr_t; + +typedef long long int int_k_t; +typedef long long unsigned int uint_uk_t; + +#endif /* __SIZEOF_INT__ == 1, 2 */ + + +/* 7.18a.6 The fixed-point intrinsic functions. */ + + +/* 7.18a.6.2 The fixed-point absolute value functions. */ + +#define abshr __builtin_avr_abshr +#define absr __builtin_avr_absr +#define abslr __builtin_avr_abslr + +#define abshk __builtin_avr_abshk +#define absk __builtin_avr_absk + +#if __SIZEOF_INT__ == 2 + +#define abslk __builtin_avr_abslk +#define absllr __builtin_avr_absllr /* GCC Extension */ +#define absllk __builtin_avr_absllk /* GCC Extension */ + +#endif /* sizeof (int) == 2 */ + + +/* 7.18a.6.3 The fixed-point round functions. */ + +/* The Embedded-C paper specifies results only for rounding points + + 0 < RP < FBIT + + As an extension, the following functions work as expected + with rounding points + + -IBIT < RP < FBIT + + For example, rounding an accum with a rounding point of -1 will + result in an even integer value. */ + +#define roundhr __builtin_avr_roundhr +#define roundr __builtin_avr_roundr +#define roundlr __builtin_avr_roundlr + +#define rounduhr __builtin_avr_rounduhr +#define roundur __builtin_avr_roundur +#define roundulr __builtin_avr_roundulr + +#define roundhk __builtin_avr_roundhk +#define roundk __builtin_avr_roundk + +#define rounduhk __builtin_avr_rounduhk +#define rounduk __builtin_avr_rounduk + +#if __SIZEOF_INT__ == 2 + +#define roundlk __builtin_avr_roundlk +#define roundulk __builtin_avr_roundulk +#define roundllr __builtin_avr_roundllr /* GCC Extension */ +#define roundullr __builtin_avr_roundullr /* GCC Extension */ +#define roundllk __builtin_avr_roundllk /* GCC Extension */ +#define roundullk __builtin_avr_roundullk /* GCC Extension */ + +#endif /* sizeof (int) == 2 */ + + +/* 7.18a.6.4 The fixed-point bit countls functions. */ + +#define countlshr __builtin_avr_countlshr +#define countlsr __builtin_avr_countlsr +#define countlslr __builtin_avr_countlslr + +#define countlsuhr __builtin_avr_countlsuhr +#define countlsur __builtin_avr_countlsur +#define countlsulr __builtin_avr_countlsulr + +#define countlshk __builtin_avr_countlshk +#define countlsk __builtin_avr_countlsk + +#define countlsuhk __builtin_avr_countlsuhk +#define countlsuk __builtin_avr_countlsuk + +#if __SIZEOF_INT__ == 2 + +#define countlslk __builtin_avr_countlslk +#define countlsulk __builtin_avr_countlsulk +#define countlsllr __builtin_avr_countlsllr /* GCC Extension */ +#define countlsullr __builtin_avr_countlsullr /* GCC Extension */ +#define countlsllk __builtin_avr_countlsllk /* GCC Extension */ +#define countlsullk __builtin_avr_countlsullk /* GCC Extension */ + +#endif /* sizeof (int) == 2 */ + + +/* 7.18a.6.5 The bitwise fixed-point to integer conversion functions. */ + +#define bitshr __builtin_avr_bitshr +#define bitsr __builtin_avr_bitsr +#define bitslr __builtin_avr_bitslr + +#define bitsuhr __builtin_avr_bitsuhr +#define bitsur __builtin_avr_bitsur +#define bitsulr __builtin_avr_bitsulr + +#define bitshk __builtin_avr_bitshk +#define bitsk __builtin_avr_bitsk + +#define bitsuhk __builtin_avr_bitsuhk +#define bitsuk __builtin_avr_bitsuk + +#if __SIZEOF_INT__ == 2 + +#define bitslk __builtin_avr_bitslk +#define bitsulk __builtin_avr_bitsulk +#define bitsllr __builtin_avr_bitsllr /* GCC Extension */ +#define bitsullr __builtin_avr_bitsullr /* GCC Extension */ +#define bitsllk __builtin_avr_bitsllk /* GCC Extension */ +#define bitsullk __builtin_avr_bitsullk /* GCC Extension */ + +#endif /* sizeof (int) == 2 */ + + +/* 7.18a.6.6 The bitwise integer to fixed-point conversion functions. */ + +#define hrbits __builtin_avr_hrbits +#define rbits __builtin_avr_rbits +#define lrbits __builtin_avr_lrbits + +#define uhrbits __builtin_avr_uhrbits +#define urbits __builtin_avr_urbits +#define ulrbits __builtin_avr_ulrbits + +#define hkbits __builtin_avr_hkbits +#define kbits __builtin_avr_kbits + +#define uhkbits __builtin_avr_uhkbits +#define ukbits __builtin_avr_ukbits + +#if __SIZEOF_INT__ == 2 + +#define lkbits __builtin_avr_lkbits +#define ulkbits __builtin_avr_ulkbits +#define llrbits __builtin_avr_llrbits /* GCC Extension */ +#define ullrbits __builtin_avr_ullrbits /* GCC Extension */ +#define llkbits __builtin_avr_llkbits /* GCC Extension */ +#define ullkbits __builtin_avr_ullkbits /* GCC Extension */ + +#endif /* sizeof (int) == 2 */ + + +/* 7.18a.6.7 Type-generic fixed-point functions. */ + +#define absfx __builtin_avr_absfx +#define roundfx __builtin_avr_roundfx +#define countlsfx __builtin_avr_countlsfx + + +/* Hook in stuff from AVR-Libc. */ + +#if (defined (__WITH_AVRLIBC__) \ + && defined (__has_include) \ + && __has_include ()) +#include +#endif + +#endif /* _AVRGCC_STDFIX_H */ diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/include/stdint-gcc.h b/hardware/tools/avr/lib/gcc/avr/7.3.0/include/stdint-gcc.h new file mode 100644 index 0000000000000000000000000000000000000000..0ee7e35234073c53f1e82671f6536cc79db50766 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/include/stdint-gcc.h @@ -0,0 +1,364 @@ +/* Copyright (C) 2008-2017 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.18 Integer types + */ + +#ifndef _GCC_STDINT_H +#define _GCC_STDINT_H + +/* 7.8.1.1 Exact-width integer types */ + +#ifdef __INT8_TYPE__ +typedef __INT8_TYPE__ int8_t; +#endif +#ifdef __INT16_TYPE__ +typedef __INT16_TYPE__ int16_t; +#endif +#ifdef __INT32_TYPE__ +typedef __INT32_TYPE__ int32_t; +#endif +#ifdef __INT64_TYPE__ +typedef __INT64_TYPE__ int64_t; +#endif +#ifdef __UINT8_TYPE__ +typedef __UINT8_TYPE__ uint8_t; +#endif +#ifdef __UINT16_TYPE__ +typedef __UINT16_TYPE__ uint16_t; +#endif +#ifdef __UINT32_TYPE__ +typedef __UINT32_TYPE__ uint32_t; +#endif +#ifdef __UINT64_TYPE__ +typedef __UINT64_TYPE__ uint64_t; +#endif + +/* 7.8.1.2 Minimum-width integer types */ + +typedef __INT_LEAST8_TYPE__ int_least8_t; +typedef __INT_LEAST16_TYPE__ int_least16_t; +typedef __INT_LEAST32_TYPE__ int_least32_t; +typedef __INT_LEAST64_TYPE__ int_least64_t; +typedef __UINT_LEAST8_TYPE__ uint_least8_t; +typedef __UINT_LEAST16_TYPE__ uint_least16_t; +typedef __UINT_LEAST32_TYPE__ uint_least32_t; +typedef __UINT_LEAST64_TYPE__ uint_least64_t; + +/* 7.8.1.3 Fastest minimum-width integer types */ + +typedef __INT_FAST8_TYPE__ int_fast8_t; +typedef __INT_FAST16_TYPE__ int_fast16_t; +typedef __INT_FAST32_TYPE__ int_fast32_t; +typedef __INT_FAST64_TYPE__ int_fast64_t; +typedef __UINT_FAST8_TYPE__ uint_fast8_t; +typedef __UINT_FAST16_TYPE__ uint_fast16_t; +typedef __UINT_FAST32_TYPE__ uint_fast32_t; +typedef __UINT_FAST64_TYPE__ uint_fast64_t; + +/* 7.8.1.4 Integer types capable of holding object pointers */ + +#ifdef __INTPTR_TYPE__ +typedef __INTPTR_TYPE__ intptr_t; +#endif +#ifdef __UINTPTR_TYPE__ +typedef __UINTPTR_TYPE__ uintptr_t; +#endif + +/* 7.8.1.5 Greatest-width integer types */ + +typedef __INTMAX_TYPE__ intmax_t; +typedef __UINTMAX_TYPE__ uintmax_t; + +#if (!defined __cplusplus || __cplusplus >= 201103L \ + || defined __STDC_LIMIT_MACROS) + +/* 7.18.2 Limits of specified-width integer types */ + +#ifdef __INT8_MAX__ +# undef INT8_MAX +# define INT8_MAX __INT8_MAX__ +# undef INT8_MIN +# define INT8_MIN (-INT8_MAX - 1) +#endif +#ifdef __UINT8_MAX__ +# undef UINT8_MAX +# define UINT8_MAX __UINT8_MAX__ +#endif +#ifdef __INT16_MAX__ +# undef INT16_MAX +# define INT16_MAX __INT16_MAX__ +# undef INT16_MIN +# define INT16_MIN (-INT16_MAX - 1) +#endif +#ifdef __UINT16_MAX__ +# undef UINT16_MAX +# define UINT16_MAX __UINT16_MAX__ +#endif +#ifdef __INT32_MAX__ +# undef INT32_MAX +# define INT32_MAX __INT32_MAX__ +# undef INT32_MIN +# define INT32_MIN (-INT32_MAX - 1) +#endif +#ifdef __UINT32_MAX__ +# undef UINT32_MAX +# define UINT32_MAX __UINT32_MAX__ +#endif +#ifdef __INT64_MAX__ +# undef INT64_MAX +# define INT64_MAX __INT64_MAX__ +# undef INT64_MIN +# define INT64_MIN (-INT64_MAX - 1) +#endif +#ifdef __UINT64_MAX__ +# undef UINT64_MAX +# define UINT64_MAX __UINT64_MAX__ +#endif + +#undef INT_LEAST8_MAX +#define INT_LEAST8_MAX __INT_LEAST8_MAX__ +#undef INT_LEAST8_MIN +#define INT_LEAST8_MIN (-INT_LEAST8_MAX - 1) +#undef UINT_LEAST8_MAX +#define UINT_LEAST8_MAX __UINT_LEAST8_MAX__ +#undef INT_LEAST16_MAX +#define INT_LEAST16_MAX __INT_LEAST16_MAX__ +#undef INT_LEAST16_MIN +#define INT_LEAST16_MIN (-INT_LEAST16_MAX - 1) +#undef UINT_LEAST16_MAX +#define UINT_LEAST16_MAX __UINT_LEAST16_MAX__ +#undef INT_LEAST32_MAX +#define INT_LEAST32_MAX __INT_LEAST32_MAX__ +#undef INT_LEAST32_MIN +#define INT_LEAST32_MIN (-INT_LEAST32_MAX - 1) +#undef UINT_LEAST32_MAX +#define UINT_LEAST32_MAX __UINT_LEAST32_MAX__ +#undef INT_LEAST64_MAX +#define INT_LEAST64_MAX __INT_LEAST64_MAX__ +#undef INT_LEAST64_MIN +#define INT_LEAST64_MIN (-INT_LEAST64_MAX - 1) +#undef UINT_LEAST64_MAX +#define UINT_LEAST64_MAX __UINT_LEAST64_MAX__ + +#undef INT_FAST8_MAX +#define INT_FAST8_MAX __INT_FAST8_MAX__ +#undef INT_FAST8_MIN +#define INT_FAST8_MIN (-INT_FAST8_MAX - 1) +#undef UINT_FAST8_MAX +#define UINT_FAST8_MAX __UINT_FAST8_MAX__ +#undef INT_FAST16_MAX +#define INT_FAST16_MAX __INT_FAST16_MAX__ +#undef INT_FAST16_MIN +#define INT_FAST16_MIN (-INT_FAST16_MAX - 1) +#undef UINT_FAST16_MAX +#define UINT_FAST16_MAX __UINT_FAST16_MAX__ +#undef INT_FAST32_MAX +#define INT_FAST32_MAX __INT_FAST32_MAX__ +#undef INT_FAST32_MIN +#define INT_FAST32_MIN (-INT_FAST32_MAX - 1) +#undef UINT_FAST32_MAX +#define UINT_FAST32_MAX __UINT_FAST32_MAX__ +#undef INT_FAST64_MAX +#define INT_FAST64_MAX __INT_FAST64_MAX__ +#undef INT_FAST64_MIN +#define INT_FAST64_MIN (-INT_FAST64_MAX - 1) +#undef UINT_FAST64_MAX +#define UINT_FAST64_MAX __UINT_FAST64_MAX__ + +#ifdef __INTPTR_MAX__ +# undef INTPTR_MAX +# define INTPTR_MAX __INTPTR_MAX__ +# undef INTPTR_MIN +# define INTPTR_MIN (-INTPTR_MAX - 1) +#endif +#ifdef __UINTPTR_MAX__ +# undef UINTPTR_MAX +# define UINTPTR_MAX __UINTPTR_MAX__ +#endif + +#undef INTMAX_MAX +#define INTMAX_MAX __INTMAX_MAX__ +#undef INTMAX_MIN +#define INTMAX_MIN (-INTMAX_MAX - 1) +#undef UINTMAX_MAX +#define UINTMAX_MAX __UINTMAX_MAX__ + +/* 7.18.3 Limits of other integer types */ + +#undef PTRDIFF_MAX +#define PTRDIFF_MAX __PTRDIFF_MAX__ +#undef PTRDIFF_MIN +#define PTRDIFF_MIN (-PTRDIFF_MAX - 1) + +#undef SIG_ATOMIC_MAX +#define SIG_ATOMIC_MAX __SIG_ATOMIC_MAX__ +#undef SIG_ATOMIC_MIN +#define SIG_ATOMIC_MIN __SIG_ATOMIC_MIN__ + +#undef SIZE_MAX +#define SIZE_MAX __SIZE_MAX__ + +#undef WCHAR_MAX +#define WCHAR_MAX __WCHAR_MAX__ +#undef WCHAR_MIN +#define WCHAR_MIN __WCHAR_MIN__ + +#undef WINT_MAX +#define WINT_MAX __WINT_MAX__ +#undef WINT_MIN +#define WINT_MIN __WINT_MIN__ + +#endif /* (!defined __cplusplus || __cplusplus >= 201103L + || defined __STDC_LIMIT_MACROS) */ + +#if (!defined __cplusplus || __cplusplus >= 201103L \ + || defined __STDC_CONSTANT_MACROS) + +#undef INT8_C +#define INT8_C(c) __INT8_C(c) +#undef INT16_C +#define INT16_C(c) __INT16_C(c) +#undef INT32_C +#define INT32_C(c) __INT32_C(c) +#undef INT64_C +#define INT64_C(c) __INT64_C(c) +#undef UINT8_C +#define UINT8_C(c) __UINT8_C(c) +#undef UINT16_C +#define UINT16_C(c) __UINT16_C(c) +#undef UINT32_C +#define UINT32_C(c) __UINT32_C(c) +#undef UINT64_C +#define UINT64_C(c) __UINT64_C(c) +#undef INTMAX_C +#define INTMAX_C(c) __INTMAX_C(c) +#undef UINTMAX_C +#define UINTMAX_C(c) __UINTMAX_C(c) + +#endif /* (!defined __cplusplus || __cplusplus >= 201103L + || defined __STDC_CONSTANT_MACROS) */ + +#ifdef __STDC_WANT_IEC_60559_BFP_EXT__ +/* TS 18661-1 widths of integer types. */ + +#ifdef __INT8_TYPE__ +# undef INT8_WIDTH +# define INT8_WIDTH 8 +#endif +#ifdef __UINT8_TYPE__ +# undef UINT8_WIDTH +# define UINT8_WIDTH 8 +#endif +#ifdef __INT16_TYPE__ +# undef INT16_WIDTH +# define INT16_WIDTH 16 +#endif +#ifdef __UINT16_TYPE__ +# undef UINT16_WIDTH +# define UINT16_WIDTH 16 +#endif +#ifdef __INT32_TYPE__ +# undef INT32_WIDTH +# define INT32_WIDTH 32 +#endif +#ifdef __UINT32_TYPE__ +# undef UINT32_WIDTH +# define UINT32_WIDTH 32 +#endif +#ifdef __INT64_TYPE__ +# undef INT64_WIDTH +# define INT64_WIDTH 64 +#endif +#ifdef __UINT64_TYPE__ +# undef UINT64_WIDTH +# define UINT64_WIDTH 64 +#endif + +#undef INT_LEAST8_WIDTH +#define INT_LEAST8_WIDTH __INT_LEAST8_WIDTH__ +#undef UINT_LEAST8_WIDTH +#define UINT_LEAST8_WIDTH __INT_LEAST8_WIDTH__ +#undef INT_LEAST16_WIDTH +#define INT_LEAST16_WIDTH __INT_LEAST16_WIDTH__ +#undef UINT_LEAST16_WIDTH +#define UINT_LEAST16_WIDTH __INT_LEAST16_WIDTH__ +#undef INT_LEAST32_WIDTH +#define INT_LEAST32_WIDTH __INT_LEAST32_WIDTH__ +#undef UINT_LEAST32_WIDTH +#define UINT_LEAST32_WIDTH __INT_LEAST32_WIDTH__ +#undef INT_LEAST64_WIDTH +#define INT_LEAST64_WIDTH __INT_LEAST64_WIDTH__ +#undef UINT_LEAST64_WIDTH +#define UINT_LEAST64_WIDTH __INT_LEAST64_WIDTH__ + +#undef INT_FAST8_WIDTH +#define INT_FAST8_WIDTH __INT_FAST8_WIDTH__ +#undef UINT_FAST8_WIDTH +#define UINT_FAST8_WIDTH __INT_FAST8_WIDTH__ +#undef INT_FAST16_WIDTH +#define INT_FAST16_WIDTH __INT_FAST16_WIDTH__ +#undef UINT_FAST16_WIDTH +#define UINT_FAST16_WIDTH __INT_FAST16_WIDTH__ +#undef INT_FAST32_WIDTH +#define INT_FAST32_WIDTH __INT_FAST32_WIDTH__ +#undef UINT_FAST32_WIDTH +#define UINT_FAST32_WIDTH __INT_FAST32_WIDTH__ +#undef INT_FAST64_WIDTH +#define INT_FAST64_WIDTH __INT_FAST64_WIDTH__ +#undef UINT_FAST64_WIDTH +#define UINT_FAST64_WIDTH __INT_FAST64_WIDTH__ + +#ifdef __INTPTR_TYPE__ +# undef INTPTR_WIDTH +# define INTPTR_WIDTH __INTPTR_WIDTH__ +#endif +#ifdef __UINTPTR_TYPE__ +# undef UINTPTR_WIDTH +# define UINTPTR_WIDTH __INTPTR_WIDTH__ +#endif + +#undef INTMAX_WIDTH +#define INTMAX_WIDTH __INTMAX_WIDTH__ +#undef UINTMAX_WIDTH +#define UINTMAX_WIDTH __INTMAX_WIDTH__ + +#undef PTRDIFF_WIDTH +#define PTRDIFF_WIDTH __PTRDIFF_WIDTH__ + +#undef SIG_ATOMIC_WIDTH +#define SIG_ATOMIC_WIDTH __SIG_ATOMIC_WIDTH__ + +#undef SIZE_WIDTH +#define SIZE_WIDTH __SIZE_WIDTH__ + +#undef WCHAR_WIDTH +#define WCHAR_WIDTH __WCHAR_WIDTH__ + +#undef WINT_WIDTH +#define WINT_WIDTH __WINT_WIDTH__ + +#endif + +#endif /* _GCC_STDINT_H */ diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/include/stdint.h b/hardware/tools/avr/lib/gcc/avr/7.3.0/include/stdint.h new file mode 100644 index 0000000000000000000000000000000000000000..83b6f70c83795dca60b1a6355fbc643af81637d1 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/include/stdint.h @@ -0,0 +1,14 @@ +#ifndef _GCC_WRAP_STDINT_H +#if __STDC_HOSTED__ +# if defined __cplusplus && __cplusplus >= 201103L +# undef __STDC_LIMIT_MACROS +# define __STDC_LIMIT_MACROS +# undef __STDC_CONSTANT_MACROS +# define __STDC_CONSTANT_MACROS +# endif +# include_next +#else +# include "stdint-gcc.h" +#endif +#define _GCC_WRAP_STDINT_H +#endif diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/include/stdnoreturn.h b/hardware/tools/avr/lib/gcc/avr/7.3.0/include/stdnoreturn.h new file mode 100644 index 0000000000000000000000000000000000000000..739c2e31fc2cd8c12f84b5b9dde8f669d9b41d3e --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/include/stdnoreturn.h @@ -0,0 +1,35 @@ +/* Copyright (C) 2011-2017 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* ISO C1X: 7.23 _Noreturn . */ + +#ifndef _STDNORETURN_H +#define _STDNORETURN_H + +#ifndef __cplusplus + +#define noreturn _Noreturn + +#endif + +#endif /* stdnoreturn.h */ diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/include/unwind.h b/hardware/tools/avr/lib/gcc/avr/7.3.0/include/unwind.h new file mode 100644 index 0000000000000000000000000000000000000000..77dd5a90202d2ae4928e442ea6abf09541103d83 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/include/unwind.h @@ -0,0 +1,291 @@ +/* Exception handling and frame unwind runtime interface routines. + Copyright (C) 2001-2017 Free Software Foundation, Inc. + + This file is part of GCC. + + GCC is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + GCC is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public + License for more details. + + Under Section 7 of GPL version 3, you are granted additional + permissions described in the GCC Runtime Library Exception, version + 3.1, as published by the Free Software Foundation. + + You should have received a copy of the GNU General Public License and + a copy of the GCC Runtime Library Exception along with this program; + see the files COPYING3 and COPYING.RUNTIME respectively. If not, see + . */ + +/* This is derived from the C++ ABI for IA-64. Where we diverge + for cross-architecture compatibility are noted with "@@@". */ + +#ifndef _UNWIND_H +#define _UNWIND_H + +#if defined (__SEH__) && !defined (__USING_SJLJ_EXCEPTIONS__) +/* Only for _GCC_specific_handler. */ +#include +#endif + +#ifndef HIDE_EXPORTS +#pragma GCC visibility push(default) +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +/* Level 1: Base ABI */ + +/* @@@ The IA-64 ABI uses uint64 throughout. Most places this is + inefficient for 32-bit and smaller machines. */ +typedef unsigned _Unwind_Word __attribute__((__mode__(__unwind_word__))); +typedef signed _Unwind_Sword __attribute__((__mode__(__unwind_word__))); +#if defined(__ia64__) && defined(__hpux__) +typedef unsigned _Unwind_Ptr __attribute__((__mode__(__word__))); +#else +typedef unsigned _Unwind_Ptr __attribute__((__mode__(__pointer__))); +#endif +typedef unsigned _Unwind_Internal_Ptr __attribute__((__mode__(__pointer__))); + +/* @@@ The IA-64 ABI uses a 64-bit word to identify the producer and + consumer of an exception. We'll go along with this for now even on + 32-bit machines. We'll need to provide some other option for + 16-bit machines and for machines with > 8 bits per byte. */ +typedef unsigned _Unwind_Exception_Class __attribute__((__mode__(__DI__))); + +/* The unwind interface uses reason codes in several contexts to + identify the reasons for failures or other actions. */ +typedef enum +{ + _URC_NO_REASON = 0, + _URC_FOREIGN_EXCEPTION_CAUGHT = 1, + _URC_FATAL_PHASE2_ERROR = 2, + _URC_FATAL_PHASE1_ERROR = 3, + _URC_NORMAL_STOP = 4, + _URC_END_OF_STACK = 5, + _URC_HANDLER_FOUND = 6, + _URC_INSTALL_CONTEXT = 7, + _URC_CONTINUE_UNWIND = 8 +} _Unwind_Reason_Code; + + +/* The unwind interface uses a pointer to an exception header object + as its representation of an exception being thrown. In general, the + full representation of an exception object is language- and + implementation-specific, but it will be prefixed by a header + understood by the unwind interface. */ + +struct _Unwind_Exception; + +typedef void (*_Unwind_Exception_Cleanup_Fn) (_Unwind_Reason_Code, + struct _Unwind_Exception *); + +struct _Unwind_Exception +{ + _Unwind_Exception_Class exception_class; + _Unwind_Exception_Cleanup_Fn exception_cleanup; + +#if !defined (__USING_SJLJ_EXCEPTIONS__) && defined (__SEH__) + _Unwind_Word private_[6]; +#else + _Unwind_Word private_1; + _Unwind_Word private_2; +#endif + + /* @@@ The IA-64 ABI says that this structure must be double-word aligned. + Taking that literally does not make much sense generically. Instead we + provide the maximum alignment required by any type for the machine. */ +} __attribute__((__aligned__)); + + +/* The ACTIONS argument to the personality routine is a bitwise OR of one + or more of the following constants. */ +typedef int _Unwind_Action; + +#define _UA_SEARCH_PHASE 1 +#define _UA_CLEANUP_PHASE 2 +#define _UA_HANDLER_FRAME 4 +#define _UA_FORCE_UNWIND 8 +#define _UA_END_OF_STACK 16 + +/* The target can override this macro to define any back-end-specific + attributes required for the lowest-level stack frame. */ +#ifndef LIBGCC2_UNWIND_ATTRIBUTE +#define LIBGCC2_UNWIND_ATTRIBUTE +#endif + +/* This is an opaque type used to refer to a system-specific data + structure used by the system unwinder. This context is created and + destroyed by the system, and passed to the personality routine + during unwinding. */ +struct _Unwind_Context; + +/* Raise an exception, passing along the given exception object. */ +extern _Unwind_Reason_Code LIBGCC2_UNWIND_ATTRIBUTE +_Unwind_RaiseException (struct _Unwind_Exception *); + +/* Raise an exception for forced unwinding. */ + +typedef _Unwind_Reason_Code (*_Unwind_Stop_Fn) + (int, _Unwind_Action, _Unwind_Exception_Class, + struct _Unwind_Exception *, struct _Unwind_Context *, void *); + +extern _Unwind_Reason_Code LIBGCC2_UNWIND_ATTRIBUTE +_Unwind_ForcedUnwind (struct _Unwind_Exception *, _Unwind_Stop_Fn, void *); + +/* Helper to invoke the exception_cleanup routine. */ +extern void _Unwind_DeleteException (struct _Unwind_Exception *); + +/* Resume propagation of an existing exception. This is used after + e.g. executing cleanup code, and not to implement rethrowing. */ +extern void LIBGCC2_UNWIND_ATTRIBUTE +_Unwind_Resume (struct _Unwind_Exception *); + +/* @@@ Resume propagation of a FORCE_UNWIND exception, or to rethrow + a normal exception that was handled. */ +extern _Unwind_Reason_Code LIBGCC2_UNWIND_ATTRIBUTE +_Unwind_Resume_or_Rethrow (struct _Unwind_Exception *); + +/* @@@ Use unwind data to perform a stack backtrace. The trace callback + is called for every stack frame in the call chain, but no cleanup + actions are performed. */ +typedef _Unwind_Reason_Code (*_Unwind_Trace_Fn) + (struct _Unwind_Context *, void *); + +extern _Unwind_Reason_Code LIBGCC2_UNWIND_ATTRIBUTE +_Unwind_Backtrace (_Unwind_Trace_Fn, void *); + +/* These functions are used for communicating information about the unwind + context (i.e. the unwind descriptors and the user register state) between + the unwind library and the personality routine and landing pad. Only + selected registers may be manipulated. */ + +extern _Unwind_Word _Unwind_GetGR (struct _Unwind_Context *, int); +extern void _Unwind_SetGR (struct _Unwind_Context *, int, _Unwind_Word); + +extern _Unwind_Ptr _Unwind_GetIP (struct _Unwind_Context *); +extern _Unwind_Ptr _Unwind_GetIPInfo (struct _Unwind_Context *, int *); +extern void _Unwind_SetIP (struct _Unwind_Context *, _Unwind_Ptr); + +/* @@@ Retrieve the CFA of the given context. */ +extern _Unwind_Word _Unwind_GetCFA (struct _Unwind_Context *); + +extern void *_Unwind_GetLanguageSpecificData (struct _Unwind_Context *); + +extern _Unwind_Ptr _Unwind_GetRegionStart (struct _Unwind_Context *); + + +/* The personality routine is the function in the C++ (or other language) + runtime library which serves as an interface between the system unwind + library and language-specific exception handling semantics. It is + specific to the code fragment described by an unwind info block, and + it is always referenced via the pointer in the unwind info block, and + hence it has no ABI-specified name. + + Note that this implies that two different C++ implementations can + use different names, and have different contents in the language + specific data area. Moreover, that the language specific data + area contains no version info because name of the function invoked + provides more effective versioning by detecting at link time the + lack of code to handle the different data format. */ + +typedef _Unwind_Reason_Code (*_Unwind_Personality_Fn) + (int, _Unwind_Action, _Unwind_Exception_Class, + struct _Unwind_Exception *, struct _Unwind_Context *); + +/* @@@ The following alternate entry points are for setjmp/longjmp + based unwinding. */ + +struct SjLj_Function_Context; +extern void _Unwind_SjLj_Register (struct SjLj_Function_Context *); +extern void _Unwind_SjLj_Unregister (struct SjLj_Function_Context *); + +extern _Unwind_Reason_Code LIBGCC2_UNWIND_ATTRIBUTE +_Unwind_SjLj_RaiseException (struct _Unwind_Exception *); +extern _Unwind_Reason_Code LIBGCC2_UNWIND_ATTRIBUTE +_Unwind_SjLj_ForcedUnwind (struct _Unwind_Exception *, _Unwind_Stop_Fn, void *); +extern void LIBGCC2_UNWIND_ATTRIBUTE +_Unwind_SjLj_Resume (struct _Unwind_Exception *); +extern _Unwind_Reason_Code LIBGCC2_UNWIND_ATTRIBUTE +_Unwind_SjLj_Resume_or_Rethrow (struct _Unwind_Exception *); + +/* @@@ The following provide access to the base addresses for text + and data-relative addressing in the LDSA. In order to stay link + compatible with the standard ABI for IA-64, we inline these. */ + +#ifdef __ia64__ +static inline _Unwind_Ptr +_Unwind_GetDataRelBase (struct _Unwind_Context *_C) +{ + /* The GP is stored in R1. */ + return _Unwind_GetGR (_C, 1); +} + +static inline _Unwind_Ptr +_Unwind_GetTextRelBase (struct _Unwind_Context *_C __attribute__ ((__unused__))) +{ + __builtin_abort (); + return 0; +} + +/* @@@ Retrieve the Backing Store Pointer of the given context. */ +extern _Unwind_Word _Unwind_GetBSP (struct _Unwind_Context *); +#else +extern _Unwind_Ptr _Unwind_GetDataRelBase (struct _Unwind_Context *); +extern _Unwind_Ptr _Unwind_GetTextRelBase (struct _Unwind_Context *); +#endif + +/* @@@ Given an address, return the entry point of the function that + contains it. */ +extern void * _Unwind_FindEnclosingFunction (void *pc); + +#ifndef __SIZEOF_LONG__ + #error "__SIZEOF_LONG__ macro not defined" +#endif + +#ifndef __SIZEOF_POINTER__ + #error "__SIZEOF_POINTER__ macro not defined" +#endif + + +/* leb128 type numbers have a potentially unlimited size. + The target of the following definitions of _sleb128_t and _uleb128_t + is to have efficient data types large enough to hold the leb128 type + numbers used in the unwind code. + Mostly these types will simply be defined to long and unsigned long + except when a unsigned long data type on the target machine is not + capable of storing a pointer. */ + +#if __SIZEOF_LONG__ >= __SIZEOF_POINTER__ + typedef long _sleb128_t; + typedef unsigned long _uleb128_t; +#elif __SIZEOF_LONG_LONG__ >= __SIZEOF_POINTER__ + typedef long long _sleb128_t; + typedef unsigned long long _uleb128_t; +#else +# error "What type shall we use for _sleb128_t?" +#endif + +#if defined (__SEH__) && !defined (__USING_SJLJ_EXCEPTIONS__) +/* Handles the mapping from SEH to GCC interfaces. */ +EXCEPTION_DISPOSITION _GCC_specific_handler (PEXCEPTION_RECORD, void *, + PCONTEXT, PDISPATCHER_CONTEXT, + _Unwind_Personality_Fn); +#endif + +#ifdef __cplusplus +} +#endif + +#ifndef HIDE_EXPORTS +#pragma GCC visibility pop +#endif + +#endif /* unwind.h */ diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/include/varargs.h b/hardware/tools/avr/lib/gcc/avr/7.3.0/include/varargs.h new file mode 100644 index 0000000000000000000000000000000000000000..4b9803e71ac664e5ca43c8b2f20c7de2e49f5bdc --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/include/varargs.h @@ -0,0 +1,7 @@ +#ifndef _VARARGS_H +#define _VARARGS_H + +#error "GCC no longer implements ." +#error "Revise your code to use ." + +#endif diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/install-tools/fixinc_list b/hardware/tools/avr/lib/gcc/avr/7.3.0/install-tools/fixinc_list new file mode 100644 index 0000000000000000000000000000000000000000..092bc2b04126100878530888e6b1b30602dce213 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/install-tools/fixinc_list @@ -0,0 +1 @@ +; diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/install-tools/macro_list b/hardware/tools/avr/lib/gcc/avr/7.3.0/install-tools/macro_list new file mode 100644 index 0000000000000000000000000000000000000000..c3e2b66c05eb3fb7b472fa9e7e0c439e6479be84 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/install-tools/macro_list @@ -0,0 +1 @@ +AVR diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/install-tools/mkheaders.conf b/hardware/tools/avr/lib/gcc/avr/7.3.0/install-tools/mkheaders.conf new file mode 100644 index 0000000000000000000000000000000000000000..5ee75a2b529886807238dd8c4cc5b30a7d33d69a --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/install-tools/mkheaders.conf @@ -0,0 +1,3 @@ +SYSTEM_HEADER_DIR="/home/jenkins-mingw32/workspace/avr-gcc-staging/label/Ubuntu14.04x64-mingw32/objdir/avr/sys-include" +OTHER_FIXINCLUDES_DIRS="" +STMP_FIXINC="stmp-fixinc" diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/libgcc.a b/hardware/tools/avr/lib/gcc/avr/7.3.0/libgcc.a new file mode 100644 index 0000000000000000000000000000000000000000..1bdc9e9329a4166db18ed670100780492d690052 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/libgcc.a @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d037c12318b34bbf2ee3c05e5184c989fa63c133215837058c893da45e111853 +size 5964956 diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/libgcov.a b/hardware/tools/avr/lib/gcc/avr/7.3.0/libgcov.a new file mode 100644 index 0000000000000000000000000000000000000000..a1cb62dbe5ca68a8b53943e1a7dd8847d190b82a --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/libgcov.a @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cae09e75016faaa9b2a96810a9e3b7bf4aa97d9a79b5b3822da3514c72991740 +size 173276 diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/tiny-stack/libgcc.a b/hardware/tools/avr/lib/gcc/avr/7.3.0/tiny-stack/libgcc.a new file mode 100644 index 0000000000000000000000000000000000000000..504cc360a6ae4690059fbc8fd4ee8d25b0400b08 --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/tiny-stack/libgcc.a @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9e6cd98664362f5e4535c1901f8a8aa5cf8f0ee9d6bbbab3ab618764ce0c93b1 +size 5974084 diff --git a/hardware/tools/avr/lib/gcc/avr/7.3.0/tiny-stack/libgcov.a b/hardware/tools/avr/lib/gcc/avr/7.3.0/tiny-stack/libgcov.a new file mode 100644 index 0000000000000000000000000000000000000000..a1c6b65e0d12be2fbd33d4d15d0ef08c2f0340ed --- /dev/null +++ b/hardware/tools/avr/lib/gcc/avr/7.3.0/tiny-stack/libgcov.a @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ca00fa417d1e1c5f6f97e816e5c9eb9a70156a56cc7e5e98ceee1daea74147a5 +size 173460 diff --git a/hardware/tools/avr/lib/libiberty.a b/hardware/tools/avr/lib/libiberty.a new file mode 100644 index 0000000000000000000000000000000000000000..fa35c6afde718390c422b5f84aed613672fe12e9 --- /dev/null +++ b/hardware/tools/avr/lib/libiberty.a @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0c550c38df6d539507e5d4707a44f2f136372faac0866a27e6507973c34966a9 +size 346432 diff --git a/hardware/tools/avr/libexec/gcc/avr/7.3.0/cc1.exe b/hardware/tools/avr/libexec/gcc/avr/7.3.0/cc1.exe new file mode 100644 index 0000000000000000000000000000000000000000..6e889b282e5131a696169d7bb95966b977245238 --- /dev/null +++ b/hardware/tools/avr/libexec/gcc/avr/7.3.0/cc1.exe @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d47c916ac889376a6f479a1579c05875ce56ec22b70e654ebf427911a5980653 +size 12237312 diff --git a/hardware/tools/avr/libexec/gcc/avr/7.3.0/cc1plus.exe b/hardware/tools/avr/libexec/gcc/avr/7.3.0/cc1plus.exe new file mode 100644 index 0000000000000000000000000000000000000000..8cbdd1aedaa1d6598dce8748d1cdd7231a035252 --- /dev/null +++ b/hardware/tools/avr/libexec/gcc/avr/7.3.0/cc1plus.exe @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ff61dee5e0c6db53996e54a6b4c1b7ad66b4fd7c2f8ef695984aca90ed6f34b8 +size 13304832 diff --git a/hardware/tools/avr/libexec/gcc/avr/7.3.0/collect2.exe b/hardware/tools/avr/libexec/gcc/avr/7.3.0/collect2.exe new file mode 100644 index 0000000000000000000000000000000000000000..f08823a59b0804a3ddf3f6f682b1d1dcac7ce8d1 --- /dev/null +++ b/hardware/tools/avr/libexec/gcc/avr/7.3.0/collect2.exe @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bc764c5b40a2ff8df5081e4f6abefd1acb457fa2e204485653282ffff2336040 +size 534016 diff --git a/hardware/tools/avr/libexec/gcc/avr/7.3.0/install-tools/fixinc.sh b/hardware/tools/avr/libexec/gcc/avr/7.3.0/install-tools/fixinc.sh new file mode 100644 index 0000000000000000000000000000000000000000..15cbaa235445f6e5caef27b0f1323bedbb887797 --- /dev/null +++ b/hardware/tools/avr/libexec/gcc/avr/7.3.0/install-tools/fixinc.sh @@ -0,0 +1,514 @@ +#!/bin/sh +# +# Install modified versions of certain ANSI-incompatible system header +# files which are fixed to work correctly with ANSI C and placed in a +# directory that GCC will search. +# +# See README-fixinc for more information. +# +# fixincludes copyright (c) 1998, 1999, 2000, 2002, 2009 +# The Free Software Foundation, Inc. +# +# fixincludes is free software. +# +# You may redistribute it and/or modify it under the terms of the +# GNU General Public License, as published by the Free Software +# Foundation; either version 3, or (at your option) any later version. +# +# fixincludes is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +# See the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with fixincludes; see the file COPYING3. If not see +# . +# +# # # # # # # # # # # # # # # # # # # # # + +# Usage: fixinc.sh output-dir input-dir +# +# Directory in which to store the results. +# Fail if no arg to specify a directory for the output. +if [ "x$1" = "x" ] +then + echo fixincludes: no output directory specified + exit 1 +fi + +LIB=${1} +shift + +# Make sure it exists. +if [ ! -d $LIB ]; then + mkdir -p $LIB || { + echo fixincludes: output dir '`'$LIB"' cannot be created" + exit 1 + } +else + ( cd $LIB && touch DONE && rm DONE ) || { + echo fixincludes: output dir '`'$LIB"' is an invalid directory" + exit 1 + } +fi + +if test -z "$VERBOSE" +then + VERBOSE=2 + export VERBOSE +else + case "$VERBOSE" in + [0-9] ) : ;; + * ) VERBOSE=3 ;; + esac +fi + +# Define what target system we're fixing. +# +if test -r ./Makefile; then + target_canonical="`sed -n -e 's,^target[ ]*=[ ]*\(.*\)$,\1,p' < Makefile`" +fi + +# If not from the Makefile, then try config.guess +# +if test -z "${target_canonical}" ; then + if test -x ./config.guess ; then + target_canonical="`config.guess`" ; fi + test -z "${target_canonical}" && target_canonical=unknown +fi +export target_canonical + +# # # # # # # # # # # # # # # # # # # # # +# +# Define PWDCMD as a command to use to get the working dir +# in the form that we want. +PWDCMD=${PWDCMD-pwd} + +case "`$PWDCMD`" in +//*) + # On an Apollo, discard everything before `/usr'. + PWDCMD="eval pwd | sed -e 's,.*/usr/,/usr/,'" + ;; +esac + +# Original directory. +ORIGDIR=`${PWDCMD}` +export ORIGDIR +FIXINCL=`${PWDCMD}`/fixincl +if [ ! -x $FIXINCL ] ; then + echo "Cannot find fixincl" >&2 + exit 1 +fi +export FIXINCL + +# Make LIB absolute only if needed to avoid problems with the amd. +case $LIB in +/*) + ;; +*) + cd $LIB; LIB=`${PWDCMD}` + ;; +esac + +if test $VERBOSE -gt 0 +then echo Fixing headers into ${LIB} for ${target_canonical} target ; fi + +# Determine whether this system has symbolic links. +if test -n "$DJDIR"; then + LINKS=false +elif ln -s X $LIB/ShouldNotExist 2>/dev/null; then + rm -f $LIB/ShouldNotExist + LINKS=true +elif ln -s X /tmp/ShouldNotExist 2>/dev/null; then + rm -f /tmp/ShouldNotExist + LINKS=true +else + LINKS=false +fi + +# # # # # # # # # # # # # # # # # # # # # +# +# Check to see if the machine_name fix needs to be disabled. +# +# On some platforms, machine_name doesn't work properly and +# breaks some of the header files. Since everything works +# properly without it, just wipe the macro list to +# disable the fix. + +case "${target_canonical}" in + *-*-vxworks*) + test -f ${MACRO_LIST} && echo > ${MACRO_LIST} + ;; +esac + + +# # # # # # # # # # # # # # # # # # # # # +# +# In the file macro_list are listed all the predefined +# macros that are not in the C89 reserved namespace (the reserved +# namespace is all identifiers beginnning with two underscores or one +# underscore followed by a capital letter). A regular expression to find +# any of those macros in a header file is written to MN_NAME_PAT. +# +# Note dependency on ASCII. \012 = newline. +# tr ' ' '\n' is, alas, not portable. + +if test -s ${MACRO_LIST} +then + if test $VERBOSE -gt 0; then + echo "Forbidden identifiers: `tr '\012' ' ' < ${MACRO_LIST}`" + fi + MN_NAME_PAT="`sed 's/^/\\\\/; $!s/$/|/' \ + < ${MACRO_LIST} | tr -d '\012'`" + export MN_NAME_PAT +else + if test $VERBOSE -gt 0 + then echo "No forbidden identifiers defined by this target" ; fi +fi + +# # # # # # # # # # # # # # # # # # # # # +# +# Search each input directory for broken header files. +# This loop ends near the end of the file. +# +if test $# -eq 0 +then + INPUTLIST="/usr/include" +else + INPUTLIST="$@" +fi + +for INPUT in ${INPUTLIST} ; do + +cd ${ORIGDIR} + +# Make sure a directory exists before changing into it, +# otherwise Solaris2 will fail-exit the script. +# +if [ ! -d ${INPUT} ]; then + continue +fi +cd ${INPUT} + +INPUT=`${PWDCMD}` +export INPUT + +# +# # # # # # # # # # # # # # # # # # # # # +# +if test $VERBOSE -gt 1 +then echo Finding directories and links to directories ; fi + +# Find all directories and all symlinks that point to directories. +# Put the list in $all_dirs. +# Each time we find a symlink, add it to newdirs +# so that we do another find within the dir the link points to. +# Note that $all_dirs may have duplicates in it; +# later parts of this file are supposed to ignore them. +dirs="." +levels=2 +all_dirs="" +search_dirs="" + +while [ -n "$dirs" ] && [ $levels -gt 0 ] +do + levels=`expr $levels - 1` + newdirs= + for d in $dirs + do + if test $VERBOSE -gt 1 + then echo " Searching $INPUT/$d" ; fi + + # Find all directories under $d, relative to $d, excluding $d itself. + # (The /. is needed after $d in case $d is a symlink.) + all_dirs="$all_dirs `find $d/. -type d -print | \ + sed -e '/\/\.$/d' -e 's@/./@/@g'`" + # Find all links to directories. + # Using `-exec test -d' in find fails on some systems, + # and trying to run test via sh fails on others, + # so this is the simplest alternative left. + # First find all the links, then test each one. + theselinks= + $LINKS && \ + theselinks=`find $d/. -type l -print | sed -e 's@/./@/@g'` + for d1 in $theselinks --dummy-- + do + # If the link points to a directory, + # add that dir to $newdirs + if [ -d $d1 ] + then + all_dirs="$all_dirs $d1" + if [ "`ls -ld $d1 | sed -n 's/.*-> //p'`" != "." ] + then + newdirs="$newdirs $d1" + search_dirs="$search_dirs $d1" + fi + fi + done + done + + dirs="$newdirs" +done + +# # # # # # # # # # # # # # # # # # # # # +# +dirs= +if test $VERBOSE -gt 2 +then echo "All directories (including links to directories):" + echo $all_dirs +fi + +for file in $all_dirs; do + rm -rf $LIB/$file + if [ ! -d $LIB/$file ] + then mkdir $LIB/$file + fi +done +mkdir $LIB/root + +# # # # # # # # # # # # # # # # # # # # # +# +# treetops gets an alternating list +# of old directories to copy +# and the new directories to copy to. +treetops=". ${LIB}" + +if $LINKS; then + if test $VERBOSE -gt 1 + then echo 'Making symbolic directory links' ; fi + cwd=`${PWDCMD}` + + for sym_link in $search_dirs; do + cd ${INPUT} + dest=`ls -ld ${sym_link} | sed -n 's/.*-> //p'` + + # In case $dest is relative, get to ${sym_link}'s dir first. + # + cd ./`echo ${sym_link} | sed 's;/[^/]*$;;'` + + # Check that the target directory exists. + # Redirections changed to avoid bug in sh on Ultrix. + # + (cd $dest) > /dev/null 2>&1 + if [ $? = 0 ]; then + cd $dest + + # full_dest_dir gets the dir that the link actually leads to. + # + full_dest_dir=`${PWDCMD}` + + # Canonicalize ${INPUT} now to minimize the time an + # automounter has to change the result of ${PWDCMD}. + # + cinput=`cd ${INPUT}; ${PWDCMD}` + + # If a link points to ., make a similar link to . + # + if [ ${full_dest_dir} = ${cinput} ]; then + if test $VERBOSE -gt 2 + then echo ${sym_link} '->' . ': Making self link' ; fi + rm -fr ${LIB}/${sym_link} > /dev/null 2>&1 + ln -s . ${LIB}/${sym_link} > /dev/null 2>&1 + + # If link leads back into ${INPUT}, + # make a similar link here. + # + elif expr ${full_dest_dir} : "${cinput}/.*" > /dev/null; then + # Y gets the actual target dir name, relative to ${INPUT}. + y=`echo ${full_dest_dir} | sed -n "s&${cinput}/&&p"` + # DOTS is the relative path from ${LIB}/${sym_link} back to ${LIB}. + dots=`echo "${sym_link}" | + sed -e 's@^./@@' -e 's@/./@/@g' -e 's@[^/][^/]*@..@g' -e 's@..$@@'` + if test $VERBOSE -gt 2 + then echo ${sym_link} '->' $dots$y ': Making local link' ; fi + rm -fr ${LIB}/${sym_link} > /dev/null 2>&1 + ln -s $dots$y ${LIB}/${sym_link} > /dev/null 2>&1 + + else + # If the link is to a dir $target outside ${INPUT}, + # repoint the link at ${INPUT}/root$target + # and process $target into ${INPUT}/root$target + # treat this directory as if it actually contained the files. + # + if test $VERBOSE -gt 2 + then echo ${sym_link} '->' root${full_dest_dir} ': Making rooted link' + fi + if [ -d $LIB/root${full_dest_dir} ] + then true + else + dirname=root${full_dest_dir}/ + dirmade=. + cd $LIB + while [ x$dirname != x ]; do + component=`echo $dirname | sed -e 's|/.*$||'` + mkdir $component >/dev/null 2>&1 + cd $component + dirmade=$dirmade/$component + dirname=`echo $dirname | sed -e 's|[^/]*/||'` + done + fi + + # Duplicate directory structure created in ${LIB}/${sym_link} in new + # root area. + # + for file2 in $all_dirs; do + case $file2 in + ${sym_link}/*) + dupdir=${LIB}/root${full_dest_dir}/`echo $file2 | + sed -n "s|^${sym_link}/||p"` + if test $VERBOSE -gt 2 + then echo "Duplicating ${sym_link}'s ${dupdir}" ; fi + if [ -d ${dupdir} ] + then true + else + mkdir ${dupdir} + fi + ;; + *) + ;; + esac + done + + # Get the path from ${LIB} to ${sym_link}, accounting for symlinks. + # + parent=`echo "${sym_link}" | sed -e 's@/[^/]*$@@'` + libabs=`cd ${LIB}; ${PWDCMD}` + file2=`cd ${LIB}; cd $parent; ${PWDCMD} | sed -e "s@^${libabs}@@"` + + # DOTS is the relative path from ${LIB}/${sym_link} back to ${LIB}. + # + dots=`echo "$file2" | sed -e 's@/[^/]*@../@g'` + rm -fr ${LIB}/${sym_link} > /dev/null 2>&1 + ln -s ${dots}root${full_dest_dir} ${LIB}/${sym_link} > /dev/null 2>&1 + treetops="$treetops ${sym_link} ${LIB}/root${full_dest_dir}" + fi + fi + done +fi + +# # # # # # # # # # # # # # # # # # # # # +# +required= +set x $treetops +shift +while [ $# != 0 ]; do + # $1 is an old directory to copy, and $2 is the new directory to copy to. + # + SRCDIR=`cd ${INPUT} ; cd $1 ; ${PWDCMD}` + export SRCDIR + + FIND_BASE=$1 + export FIND_BASE + shift + + DESTDIR=`cd $1;${PWDCMD}` + export DESTDIR + shift + + # The same dir can appear more than once in treetops. + # There's no need to scan it more than once. + # + if [ -f ${DESTDIR}/DONE ] + then continue ; fi + + touch ${DESTDIR}/DONE + if test $VERBOSE -gt 1 + then echo Fixing directory ${SRCDIR} into ${DESTDIR} ; fi + + # Check files which are symlinks as well as those which are files. + # + cd ${INPUT} + required="$required `if $LINKS; then + find ${FIND_BASE}/. -name '*.h' \( -type f -o -type l \) -print + else + find ${FIND_BASE}/. -name '*.h' -type f -print + fi | \ + sed -e 's;/\./;/;g' -e 's;//*;/;g' | \ + ${FIXINCL}`" +done + +## Make sure that any include files referenced using double quotes +## exist in the fixed directory. This comes last since otherwise +## we might end up deleting some of these files "because they don't +## need any change." +set x `echo $required` +shift +while [ $# != 0 ]; do + newreq= + while [ $# != 0 ]; do + # $1 is the directory to copy from, + # $2 is the unfixed file, + # $3 is the fixed file name. + # + cd ${INPUT} + cd $1 + if [ -f $2 ] ; then + if [ -r $2 ] && [ ! -r $3 ]; then + cp $2 $3 >/dev/null 2>&1 || echo "Can't copy $2" >&2 + chmod +w $3 2>/dev/null + chmod a+r $3 2>/dev/null + if test $VERBOSE -gt 2 + then echo Copied $2 ; fi + for include in `egrep '^[ ]*#[ ]*include[ ]*"[^/]' $3 | + sed -e 's/^[ ]*#[ ]*include[ ]*"\([^"]*\)".*$/\1/'` + do + dir=`echo $2 | sed -e s'|/[^/]*$||'` + dir2=`echo $3 | sed -e s'|/[^/]*$||'` + newreq="$newreq $1 $dir/$include $dir2/$include" + done + fi + fi + shift; shift; shift + done + set x $newreq + shift +done + +if test $VERBOSE -gt 2 +then echo 'Cleaning up DONE files.' ; fi +cd $LIB +# Look for files case-insensitively, for the benefit of +# DOS/Windows filesystems. +find . -name '[Dd][Oo][Nn][Ee]' -exec rm -f '{}' ';' + +if test $VERBOSE -gt 1 +then echo 'Cleaning up unneeded directories:' ; fi +cd $LIB +all_dirs=`find . -type d \! -name '.' -print | sort -r` +for file in $all_dirs; do + if rmdir $LIB/$file > /dev/null + then + test $VERBOSE -gt 3 && echo " removed $file" + fi +done 2> /dev/null + +# On systems which don't support symlinks, `find' may barf +# if called with "-type l" predicate. So only use that if +# we know we should look for symlinks. +if $LINKS; then + test $VERBOSE -gt 2 && echo "Removing unused symlinks" + + all_dirs=`find . -type l -print` + for file in $all_dirs + do + if test ! -d $file + then + rm -f $file + test $VERBOSE -gt 3 && echo " removed $file" + rmdir `dirname $file` > /dev/null && \ + test $VERBOSE -gt 3 && \ + echo " removed `dirname $file`" + fi + done 2> /dev/null +fi + +if test $VERBOSE -gt 0 +then echo fixincludes is done ; fi + +# # # # # # # # # # # # # # # # # # # # # +# +# End of for INPUT directories +# +done +# +# # # # # # # # # # # # # # # # # # # # # diff --git a/hardware/tools/avr/libexec/gcc/avr/7.3.0/install-tools/fixincl.exe b/hardware/tools/avr/libexec/gcc/avr/7.3.0/install-tools/fixincl.exe new file mode 100644 index 0000000000000000000000000000000000000000..311ed285a9adf3e034adb93f6f21ef3915219739 --- /dev/null +++ b/hardware/tools/avr/libexec/gcc/avr/7.3.0/install-tools/fixincl.exe @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:94cf05eca283bca12969cf56b314f7a75d301d50291536930f596a366641906b +size 125440 diff --git a/hardware/tools/avr/libexec/gcc/avr/7.3.0/install-tools/mkheaders b/hardware/tools/avr/libexec/gcc/avr/7.3.0/install-tools/mkheaders new file mode 100644 index 0000000000000000000000000000000000000000..dff4d2f0aa90c7511e6adc5b2833ae3fecf504b6 --- /dev/null +++ b/hardware/tools/avr/libexec/gcc/avr/7.3.0/install-tools/mkheaders @@ -0,0 +1,104 @@ +#!/bin/sh + +# Copyright (C) 2002, 2007, 2009 Free Software Foundation, Inc. + +#This file is part of GCC. + +#GCC is free software; you can redistribute it and/or modify it under +#the terms of the GNU General Public License as published by the Free +#Software Foundation; either version 3, or (at your option) any later +#version. + +#GCC is distributed in the hope that it will be useful, but WITHOUT +#ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +#FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +#for more details. + +#You should have received a copy of the GNU General Public License +#along with GCC; see the file COPYING3. If not see +#. + +# Basic information +target=avr-unknown-none +target_noncanonical=avr +version=7.3.0 + +VERBOSE=0 +while [ x$1 = x-v ] ; do + shift + VERBOSE=`expr $VERBOSE + 1` +done +export VERBOSE + +if [ x$1 = x--help ] ; then + echo "Usage: mkheaders [options] [prefix [isysroot]]" + echo "Options:" + echo " -v Print more output (may be repeated for even more output)" + echo " --help This help" + echo " --version Print version information" + exit 0 +fi + +if [ x$1 = x--version ] ; then + echo "mkheaders (GCC) version $version" + echo "Copyright 2002, 2007, 2009 Free Software Foundation, Inc." + echo "This program is free software; you may redistribute it under the" + echo "terms of the GNU General Public License. This program has" + echo "absolutely no warranty." + exit 0 +fi + +# Common prefix for installation directories. +if [ x$1 != x ] ; then + prefix=$1 + shift +else + prefix=/home/jenkins-mingw32/workspace/avr-gcc-staging/label/Ubuntu14.04x64-mingw32/objdir +fi + +# Allow for alternate isysroot in which to find headers +if [ x$1 != x ] ; then + isysroot=$1 + shift +else + isysroot= +fi + +# Directory in which to put host dependent programs and libraries +exec_prefix=${prefix} +# Directory in which to put the directories used by the compiler. +libdir=${exec_prefix}/lib +libexecdir=${exec_prefix}/libexec +# Directory in which the compiler finds libraries, etc. +libsubdir=${libdir}/gcc/${target_noncanonical}/${version} +# Directory in which the compiler finds executables +libexecsubdir=${libexecdir}/gcc/${target_noncanonical}/${version} + +itoolsdir=${libexecsubdir}/install-tools +itoolsdatadir=${libsubdir}/install-tools +incdir=${libsubdir}/include-fixed +mkinstalldirs="/bin/bash ${itoolsdir}/mkinstalldirs" + +cd ${itoolsdir} +rm -rf ${incdir}/* + +for ml in `cat ${itoolsdatadir}/fixinc_list`; do + sysroot_headers_suffix=`echo ${ml} | sed -e 's/;.*$//'` + multi_dir=`echo ${ml} | sed -e 's/^[^;]*;//'` + subincdir=${incdir}${multi_dir} + . ${itoolsdatadir}/mkheaders.conf + if [ x${STMP_FIXINC} != x ] ; then + TARGET_MACHINE="${target}" target_canonical="${target}" \ + MACRO_LIST="${itoolsdatadir}/macro_list" \ + /bin/bash ./fixinc.sh ${subincdir} \ + ${isysroot}${SYSTEM_HEADER_DIR} ${OTHER_FIXINCLUDES_DIRS} + rm -f ${subincdir}/syslimits.h + if [ -f ${subincdir}/limits.h ]; then + mv ${subincdir}/limits.h ${subincdir}/syslimits.h + else + cp ${itoolsdatadir}/gsyslimits.h ${subincdir}/syslimits.h + fi + fi + + cp ${itoolsdatadir}/include${multi_dir}/limits.h ${subincdir} +done diff --git a/hardware/tools/avr/libexec/gcc/avr/7.3.0/install-tools/mkinstalldirs b/hardware/tools/avr/libexec/gcc/avr/7.3.0/install-tools/mkinstalldirs new file mode 100644 index 0000000000000000000000000000000000000000..55d537f872ccde377e96a1f34e37624a06834b26 --- /dev/null +++ b/hardware/tools/avr/libexec/gcc/avr/7.3.0/install-tools/mkinstalldirs @@ -0,0 +1,162 @@ +#! /bin/sh +# mkinstalldirs --- make directory hierarchy + +scriptversion=2009-04-28.21; # UTC + +# Original author: Noah Friedman +# Created: 1993-05-16 +# Public domain. +# +# This file is maintained in Automake, please report +# bugs to or send patches to +# . + +nl=' +' +IFS=" "" $nl" +errstatus=0 +dirmode= + +usage="\ +Usage: mkinstalldirs [-h] [--help] [--version] [-m MODE] DIR ... + +Create each directory DIR (with mode MODE, if specified), including all +leading file name components. + +Report bugs to ." + +# process command line arguments +while test $# -gt 0 ; do + case $1 in + -h | --help | --h*) # -h for help + echo "$usage" + exit $? + ;; + -m) # -m PERM arg + shift + test $# -eq 0 && { echo "$usage" 1>&2; exit 1; } + dirmode=$1 + shift + ;; + --version) + echo "$0 $scriptversion" + exit $? + ;; + --) # stop option processing + shift + break + ;; + -*) # unknown option + echo "$usage" 1>&2 + exit 1 + ;; + *) # first non-opt arg + break + ;; + esac +done + +for file +do + if test -d "$file"; then + shift + else + break + fi +done + +case $# in + 0) exit 0 ;; +esac + +# Solaris 8's mkdir -p isn't thread-safe. If you mkdir -p a/b and +# mkdir -p a/c at the same time, both will detect that a is missing, +# one will create a, then the other will try to create a and die with +# a "File exists" error. This is a problem when calling mkinstalldirs +# from a parallel make. We use --version in the probe to restrict +# ourselves to GNU mkdir, which is thread-safe. +case $dirmode in + '') + if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then + echo "mkdir -p -- $*" + exec mkdir -p -- "$@" + else + # On NextStep and OpenStep, the 'mkdir' command does not + # recognize any option. It will interpret all options as + # directories to create, and then abort because '.' already + # exists. + test -d ./-p && rmdir ./-p + test -d ./--version && rmdir ./--version + fi + ;; + *) + if mkdir -m "$dirmode" -p --version . >/dev/null 2>&1 && + test ! -d ./--version; then + echo "mkdir -m $dirmode -p -- $*" + exec mkdir -m "$dirmode" -p -- "$@" + else + # Clean up after NextStep and OpenStep mkdir. + for d in ./-m ./-p ./--version "./$dirmode"; + do + test -d $d && rmdir $d + done + fi + ;; +esac + +for file +do + case $file in + /*) pathcomp=/ ;; + *) pathcomp= ;; + esac + oIFS=$IFS + IFS=/ + set fnord $file + shift + IFS=$oIFS + + for d + do + test "x$d" = x && continue + + pathcomp=$pathcomp$d + case $pathcomp in + -*) pathcomp=./$pathcomp ;; + esac + + if test ! -d "$pathcomp"; then + echo "mkdir $pathcomp" + + mkdir "$pathcomp" || lasterr=$? + + if test ! -d "$pathcomp"; then + errstatus=$lasterr + else + if test ! -z "$dirmode"; then + echo "chmod $dirmode $pathcomp" + lasterr= + chmod "$dirmode" "$pathcomp" || lasterr=$? + + if test ! -z "$lasterr"; then + errstatus=$lasterr + fi + fi + fi + fi + + pathcomp=$pathcomp/ + done +done + +exit $errstatus + +# Local Variables: +# mode: shell-script +# sh-indentation: 2 +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC" +# time-stamp-end: "; # UTC" +# End: diff --git a/hardware/tools/avr/libexec/gcc/avr/7.3.0/liblto_plugin-0.dll b/hardware/tools/avr/libexec/gcc/avr/7.3.0/liblto_plugin-0.dll new file mode 100644 index 0000000000000000000000000000000000000000..3995b87fa14cd2db39715621bf0ba087e2eb88dc --- /dev/null +++ b/hardware/tools/avr/libexec/gcc/avr/7.3.0/liblto_plugin-0.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2eab225c113b2656f6e27df0e4f7836df117f80aba813abee48127e87a0eef06 +size 170651 diff --git a/hardware/tools/avr/libexec/gcc/avr/7.3.0/liblto_plugin.dll.a b/hardware/tools/avr/libexec/gcc/avr/7.3.0/liblto_plugin.dll.a new file mode 100644 index 0000000000000000000000000000000000000000..4b09cf2b7f37f25f5a7aa4a3e3c8b4cce7d77ee1 Binary files /dev/null and b/hardware/tools/avr/libexec/gcc/avr/7.3.0/liblto_plugin.dll.a differ diff --git a/hardware/tools/avr/libexec/gcc/avr/7.3.0/liblto_plugin.la b/hardware/tools/avr/libexec/gcc/avr/7.3.0/liblto_plugin.la new file mode 100644 index 0000000000000000000000000000000000000000..88c189b6dba0f308a3ae7c3c5fcc8c45835c2863 --- /dev/null +++ b/hardware/tools/avr/libexec/gcc/avr/7.3.0/liblto_plugin.la @@ -0,0 +1,41 @@ +# liblto_plugin.la - a libtool library file +# Generated by libtool (GNU libtool 1.3134 2009-11-29) 2.2.7a +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# The name that we can dlopen(3). +dlname='liblto_plugin-0.dll' + +# Names of this library. +library_names='liblto_plugin.dll.a' + +# The name of the static archive. +old_library='' + +# Linker flags that can not go in dependency_libs. +inherited_linker_flags='' + +# Libraries that this one depends upon. +dependency_libs='' + +# Names of additional weak libraries provided by this library +weak_library_names='' + +# Version information for liblto_plugin. +current=0 +age=0 +revision=0 + +# Is this an already installed library? +installed=yes + +# Should we warn about portability when linking against -modules? +shouldnotlink=yes + +# Files to dlopen/dlpreopen +dlopen='' +dlpreopen='' + +# Directory that this library needs to be installed in: +libdir='/home/jenkins-mingw32/workspace/avr-gcc-staging/label/Ubuntu14.04x64-mingw32/objdir/libexec/gcc/avr/7.3.0' diff --git a/hardware/tools/avr/libexec/gcc/avr/7.3.0/lto-wrapper.exe b/hardware/tools/avr/libexec/gcc/avr/7.3.0/lto-wrapper.exe new file mode 100644 index 0000000000000000000000000000000000000000..a37e5c75243c491a4c1281e8667babf8e3b5de78 --- /dev/null +++ b/hardware/tools/avr/libexec/gcc/avr/7.3.0/lto-wrapper.exe @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:be467fba9a189c7d4c304fd6d64eda3645fecd41a262dc99d2656f330fb69fc3 +size 776192 diff --git a/hardware/tools/avr/libexec/gcc/avr/7.3.0/lto1.exe b/hardware/tools/avr/libexec/gcc/avr/7.3.0/lto1.exe new file mode 100644 index 0000000000000000000000000000000000000000..6d76573eed5a614396a5ea599604db3d1db6b58c --- /dev/null +++ b/hardware/tools/avr/libexec/gcc/avr/7.3.0/lto1.exe @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:19fc11f9559ac33f110f4a61c0097cecd755ff3888ff9e35a6219eef6fc58ab4 +size 11447808 diff --git a/java/COPYRIGHT b/java/COPYRIGHT new file mode 100644 index 0000000000000000000000000000000000000000..945e19c1304e0fe402767a5c01433abafd545b69 --- /dev/null +++ b/java/COPYRIGHT @@ -0,0 +1,69 @@ +Copyright © 1993, 2018, Oracle and/or its affiliates. +All rights reserved. + +This software and related documentation are provided under a +license agreement containing restrictions on use and +disclosure and are protected by intellectual property laws. +Except as expressly permitted in your license agreement or +allowed by law, you may not use, copy, reproduce, translate, +broadcast, modify, license, transmit, distribute, exhibit, +perform, publish, or display any part, in any form, or by +any means. Reverse engineering, disassembly, or +decompilation of this software, unless required by law for +interoperability, is prohibited. + +The information contained herein is subject to change +without notice and is not warranted to be error-free. If you +find any errors, please report them to us in writing. + +If this is software or related documentation that is +delivered to the U.S. Government or anyone licensing it on +behalf of the U.S. Government, the following notice is +applicable: + +U.S. GOVERNMENT END USERS: Oracle programs, including any +operating system, integrated software, any programs +installed on the hardware, and/or documentation, delivered +to U.S. Government end users are "commercial computer +software" pursuant to the applicable Federal Acquisition +Regulation and agency-specific supplemental regulations. As +such, use, duplication, disclosure, modification, and +adaptation of the programs, including any operating system, +integrated software, any programs installed on the hardware, +and/or documentation, shall be subject to license terms and +license restrictions applicable to the programs. No other +rights are granted to the U.S. Government. + +This software or hardware is developed for general use in a +variety of information management applications. It is not +developed or intended for use in any inherently dangerous +applications, including applications that may create a risk +of personal injury. If you use this software or hardware in +dangerous applications, then you shall be responsible to +take all appropriate fail-safe, backup, redundancy, and +other measures to ensure its safe use. Oracle Corporation +and its affiliates disclaim any liability for any damages +caused by use of this software or hardware in dangerous +applications. + +Oracle and Java are registered trademarks of Oracle and/or +its affiliates. Other names may be trademarks of their +respective owners. + +Intel and Intel Xeon are trademarks or registered trademarks +of Intel Corporation. All SPARC trademarks are used under +license and are trademarks or registered trademarks of SPARC +International, Inc. AMD, Opteron, the AMD logo, and the AMD +Opteron logo are trademarks or registered trademarks of +Advanced Micro Devices. UNIX is a registered trademark of +The Open Group. + +This software or hardware and documentation may provide +access to or information on content, products, and services +from third parties. Oracle Corporation and its affiliates +are not responsible for and expressly disclaim all +warranties of any kind with respect to third-party content, +products, and services. Oracle Corporation and its +affiliates will not be responsible for any loss, costs, or +damages incurred due to your access to or use of third-party +content, products, or services. diff --git a/java/bin/JAWTAccessBridge-32.dll b/java/bin/JAWTAccessBridge-32.dll new file mode 100644 index 0000000000000000000000000000000000000000..0cb5c4d536c08920fb820783f46dc922c6f8300c Binary files /dev/null and b/java/bin/JAWTAccessBridge-32.dll differ diff --git a/java/bin/JAWTAccessBridge.dll b/java/bin/JAWTAccessBridge.dll new file mode 100644 index 0000000000000000000000000000000000000000..fa5a18627f03954dafa6e30dc103513915cee56c Binary files /dev/null and b/java/bin/JAWTAccessBridge.dll differ diff --git a/java/bin/JavaAccessBridge-32.dll b/java/bin/JavaAccessBridge-32.dll new file mode 100644 index 0000000000000000000000000000000000000000..95450daef79dbf5d22628f185c701d848f1f15b5 --- /dev/null +++ b/java/bin/JavaAccessBridge-32.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:104c984a2f889236843518920f51be4e29505268fe8b6be4eb5d28a98ae1482f +size 128888 diff --git a/java/bin/JavaAccessBridge.dll b/java/bin/JavaAccessBridge.dll new file mode 100644 index 0000000000000000000000000000000000000000..13e19b9287b72fcd56e544f03161fc6aa76d982f --- /dev/null +++ b/java/bin/JavaAccessBridge.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f7d97d1bb4601f459ff86f98d47d3391e015f7cbc33043caff2bf747f37dff46 +size 128376 diff --git a/java/bin/WindowsAccessBridge-32.dll b/java/bin/WindowsAccessBridge-32.dll new file mode 100644 index 0000000000000000000000000000000000000000..8c8e7d9e52fcc84bec0f28ddeae1af778afa0224 Binary files /dev/null and b/java/bin/WindowsAccessBridge-32.dll differ diff --git a/java/bin/WindowsAccessBridge.dll b/java/bin/WindowsAccessBridge.dll new file mode 100644 index 0000000000000000000000000000000000000000..9405bf72143e02b612261b138d67b6c9dd650c02 Binary files /dev/null and b/java/bin/WindowsAccessBridge.dll differ diff --git a/java/bin/api-ms-win-core-console-l1-1-0.dll b/java/bin/api-ms-win-core-console-l1-1-0.dll new file mode 100644 index 0000000000000000000000000000000000000000..eaedb39ccb2efbe1453240d632892821078a689d Binary files /dev/null and b/java/bin/api-ms-win-core-console-l1-1-0.dll differ diff --git a/java/bin/api-ms-win-core-datetime-l1-1-0.dll b/java/bin/api-ms-win-core-datetime-l1-1-0.dll new file mode 100644 index 0000000000000000000000000000000000000000..211c00fabf5ee191065c8cd44e3ac5911cc3fa31 Binary files /dev/null and b/java/bin/api-ms-win-core-datetime-l1-1-0.dll differ diff --git a/java/bin/api-ms-win-core-debug-l1-1-0.dll b/java/bin/api-ms-win-core-debug-l1-1-0.dll new file mode 100644 index 0000000000000000000000000000000000000000..204a23e2c9dd6f989a165405fe9fba1f5d473a22 Binary files /dev/null and b/java/bin/api-ms-win-core-debug-l1-1-0.dll differ diff --git a/java/bin/api-ms-win-core-errorhandling-l1-1-0.dll b/java/bin/api-ms-win-core-errorhandling-l1-1-0.dll new file mode 100644 index 0000000000000000000000000000000000000000..7312ab3827fb8f0274a716fc286e80d50762aef7 Binary files /dev/null and b/java/bin/api-ms-win-core-errorhandling-l1-1-0.dll differ diff --git a/java/bin/api-ms-win-core-file-l1-1-0.dll b/java/bin/api-ms-win-core-file-l1-1-0.dll new file mode 100644 index 0000000000000000000000000000000000000000..a345dc6e718d567bc412ab8abd1afda9fccb6831 Binary files /dev/null and b/java/bin/api-ms-win-core-file-l1-1-0.dll differ diff --git a/java/bin/api-ms-win-core-file-l1-2-0.dll b/java/bin/api-ms-win-core-file-l1-2-0.dll new file mode 100644 index 0000000000000000000000000000000000000000..8dfc671c82dab6a2fcc48e301e1fbe5376b4ec5d Binary files /dev/null and b/java/bin/api-ms-win-core-file-l1-2-0.dll differ diff --git a/java/bin/api-ms-win-core-file-l2-1-0.dll b/java/bin/api-ms-win-core-file-l2-1-0.dll new file mode 100644 index 0000000000000000000000000000000000000000..5000625959a961ae64f7eda966ff7cc786d447e2 Binary files /dev/null and b/java/bin/api-ms-win-core-file-l2-1-0.dll differ diff --git a/java/bin/api-ms-win-core-handle-l1-1-0.dll b/java/bin/api-ms-win-core-handle-l1-1-0.dll new file mode 100644 index 0000000000000000000000000000000000000000..8e4d1ac4a75db940d9d150c41bf1fd1a682fc6f4 Binary files /dev/null and b/java/bin/api-ms-win-core-handle-l1-1-0.dll differ diff --git a/java/bin/api-ms-win-core-heap-l1-1-0.dll b/java/bin/api-ms-win-core-heap-l1-1-0.dll new file mode 100644 index 0000000000000000000000000000000000000000..2f8dba8767c50a149828aab62230c1880f46f721 Binary files /dev/null and b/java/bin/api-ms-win-core-heap-l1-1-0.dll differ diff --git a/java/bin/api-ms-win-core-interlocked-l1-1-0.dll b/java/bin/api-ms-win-core-interlocked-l1-1-0.dll new file mode 100644 index 0000000000000000000000000000000000000000..abf946796e413207d65e577b6d1059be42446c90 Binary files /dev/null and b/java/bin/api-ms-win-core-interlocked-l1-1-0.dll differ diff --git a/java/bin/api-ms-win-core-libraryloader-l1-1-0.dll b/java/bin/api-ms-win-core-libraryloader-l1-1-0.dll new file mode 100644 index 0000000000000000000000000000000000000000..ad39dbc73b60d2c14939e493465fe2366fea80cc Binary files /dev/null and b/java/bin/api-ms-win-core-libraryloader-l1-1-0.dll differ diff --git a/java/bin/api-ms-win-core-localization-l1-2-0.dll b/java/bin/api-ms-win-core-localization-l1-2-0.dll new file mode 100644 index 0000000000000000000000000000000000000000..df914950ca299ad4426dc679c5dcf764a2232c84 Binary files /dev/null and b/java/bin/api-ms-win-core-localization-l1-2-0.dll differ diff --git a/java/bin/api-ms-win-core-memory-l1-1-0.dll b/java/bin/api-ms-win-core-memory-l1-1-0.dll new file mode 100644 index 0000000000000000000000000000000000000000..7f6cd01ce67866b5f59b4765c753665071cebd40 Binary files /dev/null and b/java/bin/api-ms-win-core-memory-l1-1-0.dll differ diff --git a/java/bin/api-ms-win-core-namedpipe-l1-1-0.dll b/java/bin/api-ms-win-core-namedpipe-l1-1-0.dll new file mode 100644 index 0000000000000000000000000000000000000000..d1d0e7771d5f26d0e86352d9ed02930d01ee4fe6 Binary files /dev/null and b/java/bin/api-ms-win-core-namedpipe-l1-1-0.dll differ diff --git a/java/bin/api-ms-win-core-processenvironment-l1-1-0.dll b/java/bin/api-ms-win-core-processenvironment-l1-1-0.dll new file mode 100644 index 0000000000000000000000000000000000000000..88a0809e051d45da6e624293d336cb11c6898693 Binary files /dev/null and b/java/bin/api-ms-win-core-processenvironment-l1-1-0.dll differ diff --git a/java/bin/api-ms-win-core-processthreads-l1-1-0.dll b/java/bin/api-ms-win-core-processthreads-l1-1-0.dll new file mode 100644 index 0000000000000000000000000000000000000000..99dbfe6024057e4f1be2305279720ffaea6b95ea Binary files /dev/null and b/java/bin/api-ms-win-core-processthreads-l1-1-0.dll differ diff --git a/java/bin/api-ms-win-core-processthreads-l1-1-1.dll b/java/bin/api-ms-win-core-processthreads-l1-1-1.dll new file mode 100644 index 0000000000000000000000000000000000000000..2c8315bdeb7a2c4fffc6692ca2b0a31bfac07a9f Binary files /dev/null and b/java/bin/api-ms-win-core-processthreads-l1-1-1.dll differ diff --git a/java/bin/api-ms-win-core-profile-l1-1-0.dll b/java/bin/api-ms-win-core-profile-l1-1-0.dll new file mode 100644 index 0000000000000000000000000000000000000000..fbdc2fa98a19e90ada2c2a1b65e5baf9764acd11 Binary files /dev/null and b/java/bin/api-ms-win-core-profile-l1-1-0.dll differ diff --git a/java/bin/api-ms-win-core-rtlsupport-l1-1-0.dll b/java/bin/api-ms-win-core-rtlsupport-l1-1-0.dll new file mode 100644 index 0000000000000000000000000000000000000000..5538941b0c81668981d6f2ee7c64d7ea3090117d Binary files /dev/null and b/java/bin/api-ms-win-core-rtlsupport-l1-1-0.dll differ diff --git a/java/bin/api-ms-win-core-string-l1-1-0.dll b/java/bin/api-ms-win-core-string-l1-1-0.dll new file mode 100644 index 0000000000000000000000000000000000000000..ef94ad4d273510a88e228950134c87b3edc9b6f6 Binary files /dev/null and b/java/bin/api-ms-win-core-string-l1-1-0.dll differ diff --git a/java/bin/api-ms-win-core-synch-l1-1-0.dll b/java/bin/api-ms-win-core-synch-l1-1-0.dll new file mode 100644 index 0000000000000000000000000000000000000000..f3abf477c5959a22e16f19ea8b092d78b1e07ea8 Binary files /dev/null and b/java/bin/api-ms-win-core-synch-l1-1-0.dll differ diff --git a/java/bin/api-ms-win-core-synch-l1-2-0.dll b/java/bin/api-ms-win-core-synch-l1-2-0.dll new file mode 100644 index 0000000000000000000000000000000000000000..239ee9f913bfbdcdad580c3234d13b084dd3c3cf Binary files /dev/null and b/java/bin/api-ms-win-core-synch-l1-2-0.dll differ diff --git a/java/bin/api-ms-win-core-sysinfo-l1-1-0.dll b/java/bin/api-ms-win-core-sysinfo-l1-1-0.dll new file mode 100644 index 0000000000000000000000000000000000000000..7b4e1c9858eb77906c594d26b0a621bc01f83c1f Binary files /dev/null and b/java/bin/api-ms-win-core-sysinfo-l1-1-0.dll differ diff --git a/java/bin/api-ms-win-core-timezone-l1-1-0.dll b/java/bin/api-ms-win-core-timezone-l1-1-0.dll new file mode 100644 index 0000000000000000000000000000000000000000..feb24fc43f79443bda0773850615e9690563e9f1 Binary files /dev/null and b/java/bin/api-ms-win-core-timezone-l1-1-0.dll differ diff --git a/java/bin/api-ms-win-core-util-l1-1-0.dll b/java/bin/api-ms-win-core-util-l1-1-0.dll new file mode 100644 index 0000000000000000000000000000000000000000..fedd4038bd2f5f5346c24f79dbd14eb24fc8054c Binary files /dev/null and b/java/bin/api-ms-win-core-util-l1-1-0.dll differ diff --git a/java/bin/api-ms-win-crt-conio-l1-1-0.dll b/java/bin/api-ms-win-crt-conio-l1-1-0.dll new file mode 100644 index 0000000000000000000000000000000000000000..08f68be2c2b45ab19166b39502288441d6770aef Binary files /dev/null and b/java/bin/api-ms-win-crt-conio-l1-1-0.dll differ diff --git a/java/bin/api-ms-win-crt-convert-l1-1-0.dll b/java/bin/api-ms-win-crt-convert-l1-1-0.dll new file mode 100644 index 0000000000000000000000000000000000000000..5b4e62cc1d65f3571f8c01509026f9b41957b133 Binary files /dev/null and b/java/bin/api-ms-win-crt-convert-l1-1-0.dll differ diff --git a/java/bin/api-ms-win-crt-environment-l1-1-0.dll b/java/bin/api-ms-win-crt-environment-l1-1-0.dll new file mode 100644 index 0000000000000000000000000000000000000000..80099123528af2ce8bf7433bc5b58e65f5c89639 Binary files /dev/null and b/java/bin/api-ms-win-crt-environment-l1-1-0.dll differ diff --git a/java/bin/api-ms-win-crt-filesystem-l1-1-0.dll b/java/bin/api-ms-win-crt-filesystem-l1-1-0.dll new file mode 100644 index 0000000000000000000000000000000000000000..a4414560b598faf56d63133e5d13387c305809ea Binary files /dev/null and b/java/bin/api-ms-win-crt-filesystem-l1-1-0.dll differ diff --git a/java/bin/api-ms-win-crt-heap-l1-1-0.dll b/java/bin/api-ms-win-crt-heap-l1-1-0.dll new file mode 100644 index 0000000000000000000000000000000000000000..2584aad5854f7e3a8ad98fee0b27f36900e5580f Binary files /dev/null and b/java/bin/api-ms-win-crt-heap-l1-1-0.dll differ diff --git a/java/bin/api-ms-win-crt-locale-l1-1-0.dll b/java/bin/api-ms-win-crt-locale-l1-1-0.dll new file mode 100644 index 0000000000000000000000000000000000000000..9dcda52733732439fba0a48759bece1f2d3b1ebf Binary files /dev/null and b/java/bin/api-ms-win-crt-locale-l1-1-0.dll differ diff --git a/java/bin/api-ms-win-crt-math-l1-1-0.dll b/java/bin/api-ms-win-crt-math-l1-1-0.dll new file mode 100644 index 0000000000000000000000000000000000000000..d916a4df8746eec894e4fc4ecc4f83627cf181d0 Binary files /dev/null and b/java/bin/api-ms-win-crt-math-l1-1-0.dll differ diff --git a/java/bin/api-ms-win-crt-multibyte-l1-1-0.dll b/java/bin/api-ms-win-crt-multibyte-l1-1-0.dll new file mode 100644 index 0000000000000000000000000000000000000000..a6f53c2a62fb368051c0e6996c04d6e877812c32 Binary files /dev/null and b/java/bin/api-ms-win-crt-multibyte-l1-1-0.dll differ diff --git a/java/bin/api-ms-win-crt-private-l1-1-0.dll b/java/bin/api-ms-win-crt-private-l1-1-0.dll new file mode 100644 index 0000000000000000000000000000000000000000..7337a284a46008dfdb485a0f70d60aea7f4a21fc Binary files /dev/null and b/java/bin/api-ms-win-crt-private-l1-1-0.dll differ diff --git a/java/bin/api-ms-win-crt-process-l1-1-0.dll b/java/bin/api-ms-win-crt-process-l1-1-0.dll new file mode 100644 index 0000000000000000000000000000000000000000..e949c9aa8d800c6a34354660e618781860730181 Binary files /dev/null and b/java/bin/api-ms-win-crt-process-l1-1-0.dll differ diff --git a/java/bin/api-ms-win-crt-runtime-l1-1-0.dll b/java/bin/api-ms-win-crt-runtime-l1-1-0.dll new file mode 100644 index 0000000000000000000000000000000000000000..a0930f4199e17b9ad1c8138a4ae9ad88988929e7 Binary files /dev/null and b/java/bin/api-ms-win-crt-runtime-l1-1-0.dll differ diff --git a/java/bin/api-ms-win-crt-stdio-l1-1-0.dll b/java/bin/api-ms-win-crt-stdio-l1-1-0.dll new file mode 100644 index 0000000000000000000000000000000000000000..7a47fa3aa1d32d3cec25adf9d041fb8822c67363 Binary files /dev/null and b/java/bin/api-ms-win-crt-stdio-l1-1-0.dll differ diff --git a/java/bin/api-ms-win-crt-string-l1-1-0.dll b/java/bin/api-ms-win-crt-string-l1-1-0.dll new file mode 100644 index 0000000000000000000000000000000000000000..a00fd9eee26bf355499d88d38ca59296c1fc8800 Binary files /dev/null and b/java/bin/api-ms-win-crt-string-l1-1-0.dll differ diff --git a/java/bin/api-ms-win-crt-time-l1-1-0.dll b/java/bin/api-ms-win-crt-time-l1-1-0.dll new file mode 100644 index 0000000000000000000000000000000000000000..4b3c00b6d2a5b66d8ebc4c3dc992481e7df90ab3 Binary files /dev/null and b/java/bin/api-ms-win-crt-time-l1-1-0.dll differ diff --git a/java/bin/api-ms-win-crt-utility-l1-1-0.dll b/java/bin/api-ms-win-crt-utility-l1-1-0.dll new file mode 100644 index 0000000000000000000000000000000000000000..b285e9cafc22bc3545297afe21df8f2592cea0b8 Binary files /dev/null and b/java/bin/api-ms-win-crt-utility-l1-1-0.dll differ diff --git a/java/bin/awt.dll b/java/bin/awt.dll new file mode 100644 index 0000000000000000000000000000000000000000..d113a2301db3ab830e6140c9d6ca825586a88058 --- /dev/null +++ b/java/bin/awt.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ff5890d1a98544638986a7fdfdd99cdc7e31196a2b1b3e7e035806edd4c6cf28 +size 1187192 diff --git a/java/bin/bci.dll b/java/bin/bci.dll new file mode 100644 index 0000000000000000000000000000000000000000..0af75995dc5dde5b75a7c88534a5f603190c2e82 Binary files /dev/null and b/java/bin/bci.dll differ diff --git a/java/bin/client/Xusage.txt b/java/bin/client/Xusage.txt new file mode 100644 index 0000000000000000000000000000000000000000..11302aaa6d95773a7003a00f0ff3aed79b6eb1d9 --- /dev/null +++ b/java/bin/client/Xusage.txt @@ -0,0 +1,24 @@ + -Xmixed mixed mode execution (default) + -Xint interpreted mode execution only + -Xbootclasspath: + set search path for bootstrap classes and resources + -Xbootclasspath/a: + append to end of bootstrap class path + -Xbootclasspath/p: + prepend in front of bootstrap class path + -Xnoclassgc disable class garbage collection + -Xincgc enable incremental garbage collection + -Xloggc: log GC status to a file with time stamps + -Xbatch disable background compilation + -Xms set initial Java heap size + -Xmx set maximum Java heap size + -Xss set java thread stack size + -Xprof output cpu profiling data + -Xfuture enable strictest checks, anticipating future default + -Xrs reduce use of OS signals by Java/VM (see documentation) + -Xcheck:jni perform additional checks for JNI functions + -Xshare:off do not attempt to use shared class data + -Xshare:auto use shared class data if possible (default) + -Xshare:on require using shared class data, otherwise fail. + +The -X options are non-standard and subject to change without notice. diff --git a/java/bin/client/jvm.dll b/java/bin/client/jvm.dll new file mode 100644 index 0000000000000000000000000000000000000000..c846beab187e26ed543d5fc466321e09a76e6668 --- /dev/null +++ b/java/bin/client/jvm.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9a594fc76c2369d86c422fc678c35d09c720bf917fcea040a7cccf7444bf60fd +size 3886968 diff --git a/java/bin/concrt140.dll b/java/bin/concrt140.dll new file mode 100644 index 0000000000000000000000000000000000000000..859fe2b61b4bf13359317ea3873823688a134788 --- /dev/null +++ b/java/bin/concrt140.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3436ede160f6613d24bc48d3a29c41a90be9e1091a056f2227000fca5e40516a +size 243016 diff --git a/java/bin/dcpr.dll b/java/bin/dcpr.dll new file mode 100644 index 0000000000000000000000000000000000000000..634df29894b107b2523d317985359fe7ab38017d --- /dev/null +++ b/java/bin/dcpr.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9fe3d0c3a3e9a2eb919b428c9258553d49451834f36ea7475a17d6422e99a5a9 +size 143736 diff --git a/java/bin/decora_sse.dll b/java/bin/decora_sse.dll new file mode 100644 index 0000000000000000000000000000000000000000..d803c1cce214c109ed136d2823cecf685fc4cb63 Binary files /dev/null and b/java/bin/decora_sse.dll differ diff --git a/java/bin/deploy.dll b/java/bin/deploy.dll new file mode 100644 index 0000000000000000000000000000000000000000..a623154df67156ae1ddc5efbc0f930e6071f8fbc --- /dev/null +++ b/java/bin/deploy.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2aaf4246c9c5c56d442f8c12f3a25c7a7bc7fbf7dc96a002fa8fbbdfe36bc8e0 +size 467320 diff --git a/java/bin/dt_shmem.dll b/java/bin/dt_shmem.dll new file mode 100644 index 0000000000000000000000000000000000000000..699a957da1f027e37e81da1b040f4c55797819ed Binary files /dev/null and b/java/bin/dt_shmem.dll differ diff --git a/java/bin/dt_socket.dll b/java/bin/dt_socket.dll new file mode 100644 index 0000000000000000000000000000000000000000..6ddb991a8125470b2b056d01611f6011070656d5 Binary files /dev/null and b/java/bin/dt_socket.dll differ diff --git a/java/bin/dtplugin/deployJava1.dll b/java/bin/dtplugin/deployJava1.dll new file mode 100644 index 0000000000000000000000000000000000000000..5e5c93271f2c88b14a0f392f023518b91a26bfd0 --- /dev/null +++ b/java/bin/dtplugin/deployJava1.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c1d0c211ae8be09a2df846c62e4aa498e9aa3e7e440e27d2d9b0168345e91576 +size 842104 diff --git a/java/bin/dtplugin/npdeployJava1.dll b/java/bin/dtplugin/npdeployJava1.dll new file mode 100644 index 0000000000000000000000000000000000000000..3452742b10908078b60a4b8b37463071d61b1a9a --- /dev/null +++ b/java/bin/dtplugin/npdeployJava1.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4d8a8cb37ef56063275cc89505f6a63a93b54b2b68d51a34f7508a1f6ba748e0 +size 925048 diff --git a/java/bin/eula.dll b/java/bin/eula.dll new file mode 100644 index 0000000000000000000000000000000000000000..0c494ab92f6acc26d00fc2858376e6367c682522 --- /dev/null +++ b/java/bin/eula.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:08ab0cad1ae637a24de369dd7d0e9924f928651cbfcca8375b9314fa961f212f +size 109944 diff --git a/java/bin/fontmanager.dll b/java/bin/fontmanager.dll new file mode 100644 index 0000000000000000000000000000000000000000..8f6c5208f1b8c61b0f5c8a16e0e447c4ca34ebd7 --- /dev/null +++ b/java/bin/fontmanager.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aa73cc3ed19d24c611186f152d2ec601d043ac758d350966ac6ccedbbaba858f +size 224120 diff --git a/java/bin/fxplugins.dll b/java/bin/fxplugins.dll new file mode 100644 index 0000000000000000000000000000000000000000..bd1fe33ccfc87abe5bbae99fce46842b2e5638e6 --- /dev/null +++ b/java/bin/fxplugins.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3c918ef3a3aff8783fe216e4996e00b284e23f43812d37b541bfe4e0be1e4875 +size 153976 diff --git a/java/bin/glass.dll b/java/bin/glass.dll new file mode 100644 index 0000000000000000000000000000000000000000..f8eb28e00b230c6d329116506c0ce59cc6604f37 --- /dev/null +++ b/java/bin/glass.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aa0570d04969c83b14bdaa1bd4a54b2dffe675e0a689288ca254a7503f8fb9bc +size 216952 diff --git a/java/bin/glib-lite.dll b/java/bin/glib-lite.dll new file mode 100644 index 0000000000000000000000000000000000000000..01ada6cd43b735b5ce9127bd049b6e0a09294927 --- /dev/null +++ b/java/bin/glib-lite.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7f96f41db37420799b090cb0a787e096835b46ec201fef82de033a615a80292b +size 579448 diff --git a/java/bin/gstreamer-lite.dll b/java/bin/gstreamer-lite.dll new file mode 100644 index 0000000000000000000000000000000000000000..6bdeee9de9220a810738e67ca3efd2d2c1613061 --- /dev/null +++ b/java/bin/gstreamer-lite.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:18350912a2fbfeeef288dd63a0b43fb83f4d59b1c5302152551062990b345a1a +size 737656 diff --git a/java/bin/hprof.dll b/java/bin/hprof.dll new file mode 100644 index 0000000000000000000000000000000000000000..86068f1bacb7179e255869eadcd8ee90c862e305 --- /dev/null +++ b/java/bin/hprof.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dadc7f4eeeafd64c5e22f9ea8b337b36c17675de589192a6e7e07a8aa5a7759d +size 132984 diff --git a/java/bin/instrument.dll b/java/bin/instrument.dll new file mode 100644 index 0000000000000000000000000000000000000000..0bb2f53eef7b719b5667fa49cb81ab7cd6240a4b --- /dev/null +++ b/java/bin/instrument.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7c9c58821093c417217cf26b2ef81015c86b7b54c1ac92232570f497f8e777fe +size 117112 diff --git a/java/bin/j2pcsc.dll b/java/bin/j2pcsc.dll new file mode 100644 index 0000000000000000000000000000000000000000..f0cd1bcb25d0a2947ea320ade3f85eb5997901a0 Binary files /dev/null and b/java/bin/j2pcsc.dll differ diff --git a/java/bin/j2pkcs11.dll b/java/bin/j2pkcs11.dll new file mode 100644 index 0000000000000000000000000000000000000000..f6c28b85c3fb5362f9425002c26da9efbe940471 Binary files /dev/null and b/java/bin/j2pkcs11.dll differ diff --git a/java/bin/jaas_nt.dll b/java/bin/jaas_nt.dll new file mode 100644 index 0000000000000000000000000000000000000000..e9f2a05b6260c8b0afa9cac8e360b9fbc616c1bd Binary files /dev/null and b/java/bin/jaas_nt.dll differ diff --git a/java/bin/jabswitch.exe b/java/bin/jabswitch.exe new file mode 100644 index 0000000000000000000000000000000000000000..31d195f90e7ea7c2d16159a2ed01d56754e50265 Binary files /dev/null and b/java/bin/jabswitch.exe differ diff --git a/java/bin/java-rmi.exe b/java/bin/java-rmi.exe new file mode 100644 index 0000000000000000000000000000000000000000..3e8ca3c0fac757b2d9a176beb3dc06299d393ab7 Binary files /dev/null and b/java/bin/java-rmi.exe differ diff --git a/java/bin/java.dll b/java/bin/java.dll new file mode 100644 index 0000000000000000000000000000000000000000..41e4cdcaaa0331f6684b07b705feeac22f68b25c --- /dev/null +++ b/java/bin/java.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fa7f80a977d7a1ae3dbfe98f07819736c18052bee9c2f61a79420c5569417d5f +size 128888 diff --git a/java/bin/java.exe b/java/bin/java.exe new file mode 100644 index 0000000000000000000000000000000000000000..c8584dedca1e87be0bd2bca1cf4b2335f1b6fe37 --- /dev/null +++ b/java/bin/java.exe @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5f03b02bd9d44ca1afde01bcc0069f28fda261b001a04bb8c659cf3d5caa8f47 +size 192376 diff --git a/java/bin/java_crw_demo.dll b/java/bin/java_crw_demo.dll new file mode 100644 index 0000000000000000000000000000000000000000..4542d672c9f1cc27c133c9e97e1760978e0de4be Binary files /dev/null and b/java/bin/java_crw_demo.dll differ diff --git a/java/bin/javacpl.cpl b/java/bin/javacpl.cpl new file mode 100644 index 0000000000000000000000000000000000000000..f6adfbe4a078f38fc662be9d921f2e87874b46ee --- /dev/null +++ b/java/bin/javacpl.cpl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:970b55811733c4bfad7274cca567ce7881b70ff18e7ab412f22279a8f9f26435 +size 162816 diff --git a/java/bin/javacpl.exe b/java/bin/javacpl.exe new file mode 100644 index 0000000000000000000000000000000000000000..37de673a954589b2ff08bd18b1359fcba08d2514 Binary files /dev/null and b/java/bin/javacpl.exe differ diff --git a/java/bin/javafx_font.dll b/java/bin/javafx_font.dll new file mode 100644 index 0000000000000000000000000000000000000000..e841b4c1dff37329e717c8408fc12e30f55b1b42 Binary files /dev/null and b/java/bin/javafx_font.dll differ diff --git a/java/bin/javafx_font_t2k.dll b/java/bin/javafx_font_t2k.dll new file mode 100644 index 0000000000000000000000000000000000000000..03b83dd8197ab3e4f0cd637c9e4046dadfb33c87 --- /dev/null +++ b/java/bin/javafx_font_t2k.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:45bd56fb5025d2893ac4fc109c8de14f0dba67bbda62d5d5b75dd5a3be65b319 +size 448376 diff --git a/java/bin/javafx_iio.dll b/java/bin/javafx_iio.dll new file mode 100644 index 0000000000000000000000000000000000000000..1c3dca00758225846ba5426df212794d7e2b55e5 --- /dev/null +++ b/java/bin/javafx_iio.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0b9415bf8440605c1dc6a78eee4ecc1235f72b4c56416ffb61d30039c21adb43 +size 128888 diff --git a/java/bin/javaw.exe b/java/bin/javaw.exe new file mode 100644 index 0000000000000000000000000000000000000000..b92902eda8e0c8d6cd555defdb6a74297f102024 --- /dev/null +++ b/java/bin/javaw.exe @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:74c51f97510362f319a21ec98ad4d09099a81c6a2829aacb5e3ad21e573e3276 +size 192376 diff --git a/java/bin/javaws.exe b/java/bin/javaws.exe new file mode 100644 index 0000000000000000000000000000000000000000..e9be3ee45c23d2f00f8bc4c4e4fd52257ccc9636 --- /dev/null +++ b/java/bin/javaws.exe @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:441fbffc24d77195478a6a44cfd71949403824079af9122d015e04869b00d11d +size 300408 diff --git a/java/bin/jawt.dll b/java/bin/jawt.dll new file mode 100644 index 0000000000000000000000000000000000000000..136e0567b323e40f8213a0144a158b527f63ba40 Binary files /dev/null and b/java/bin/jawt.dll differ diff --git a/java/bin/jdwp.dll b/java/bin/jdwp.dll new file mode 100644 index 0000000000000000000000000000000000000000..2cd884d58ab29deb5dc01d003d1457625f0f83e2 --- /dev/null +++ b/java/bin/jdwp.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1cd035bfe74741fc16840403180e709462ddf07a19478adf5961ea7f9b4adf8b +size 165752 diff --git a/java/bin/jfr.dll b/java/bin/jfr.dll new file mode 100644 index 0000000000000000000000000000000000000000..b1b56af004b2695cafeb1ad1e4c2d828256f3f69 Binary files /dev/null and b/java/bin/jfr.dll differ diff --git a/java/bin/jfxmedia.dll b/java/bin/jfxmedia.dll new file mode 100644 index 0000000000000000000000000000000000000000..0326f8df08daa2d2cdff5d7991041a4a655bf33d --- /dev/null +++ b/java/bin/jfxmedia.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5c4fc7e96015f21093946d774f15dd1aac2bcec3d32a6eef9d1268fcbdf0cf8b +size 117624 diff --git a/java/bin/jfxwebkit.dll b/java/bin/jfxwebkit.dll new file mode 100644 index 0000000000000000000000000000000000000000..7c0c9b2c85c22e2de798a338a16124662f289c7d --- /dev/null +++ b/java/bin/jfxwebkit.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:32f01a2acb7a37cce68588b275ad46f97ccb656900c233117328fe8a68c8a4b7 +size 48242552 diff --git a/java/bin/jjs.exe b/java/bin/jjs.exe new file mode 100644 index 0000000000000000000000000000000000000000..06e9ac1b1ddcb3938ee1c54e197790437ccdd424 Binary files /dev/null and b/java/bin/jjs.exe differ diff --git a/java/bin/jli.dll b/java/bin/jli.dll new file mode 100644 index 0000000000000000000000000000000000000000..b795593cbdeaf472847499dafa2a62f729d6024c --- /dev/null +++ b/java/bin/jli.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0da523f0e5a6bfc3992152f393e2494df86fcb8d91c161d83198be2e9c7781d0 +size 160120 diff --git a/java/bin/jp2iexp.dll b/java/bin/jp2iexp.dll new file mode 100644 index 0000000000000000000000000000000000000000..57de1eb41f13bf3b27c1e35dfc5267eec88a4cfb --- /dev/null +++ b/java/bin/jp2iexp.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:406b025f816c9397425c673b0fbb7eea2466c2f7d42c3dc34494ff9eba7e6124 +size 214904 diff --git a/java/bin/jp2launcher.exe b/java/bin/jp2launcher.exe new file mode 100644 index 0000000000000000000000000000000000000000..38576f309678313aaf8103b6db698befaddf720d Binary files /dev/null and b/java/bin/jp2launcher.exe differ diff --git a/java/bin/jp2native.dll b/java/bin/jp2native.dll new file mode 100644 index 0000000000000000000000000000000000000000..fe5559366455fe0c2249f74b0361d82a2974a621 Binary files /dev/null and b/java/bin/jp2native.dll differ diff --git a/java/bin/jp2ssv.dll b/java/bin/jp2ssv.dll new file mode 100644 index 0000000000000000000000000000000000000000..ae765da56f54cdbaec112eaf637e46a87ad30f87 --- /dev/null +++ b/java/bin/jp2ssv.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:90896e41bfc2e60ccd56caeed068cbdb828e794ca1b4758822827cbebbcac834 +size 194424 diff --git a/java/bin/jpeg.dll b/java/bin/jpeg.dll new file mode 100644 index 0000000000000000000000000000000000000000..6e41dc6faeb17c09557d19831ac8150cae12aee3 --- /dev/null +++ b/java/bin/jpeg.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8e15564b4608e8bc848aed9f2ff0413b0ac733ae3d7dc7dc3bb3882d7188ae96 +size 147320 diff --git a/java/bin/jsdt.dll b/java/bin/jsdt.dll new file mode 100644 index 0000000000000000000000000000000000000000..15bbebcbdbdcbf3ea2497fdef4d4816eae00fb97 Binary files /dev/null and b/java/bin/jsdt.dll differ diff --git a/java/bin/jsound.dll b/java/bin/jsound.dll new file mode 100644 index 0000000000000000000000000000000000000000..c4833ca69997303c4b46a80c18d61f392eeac270 Binary files /dev/null and b/java/bin/jsound.dll differ diff --git a/java/bin/jsoundds.dll b/java/bin/jsoundds.dll new file mode 100644 index 0000000000000000000000000000000000000000..db38a8b89bb43e686f5c090def55a65475e60abc Binary files /dev/null and b/java/bin/jsoundds.dll differ diff --git a/java/bin/kcms.dll b/java/bin/kcms.dll new file mode 100644 index 0000000000000000000000000000000000000000..36f8409cb94b7f39117badb1cb01bc13e2d87da5 --- /dev/null +++ b/java/bin/kcms.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eee8af9cc47d9f43e1171f8fa9f1b75622141a7075fd9b0d542cc4e20622c611 +size 179064 diff --git a/java/bin/keytool.exe b/java/bin/keytool.exe new file mode 100644 index 0000000000000000000000000000000000000000..db0ecc4738bdb71bc1260e3111504296348c49ae Binary files /dev/null and b/java/bin/keytool.exe differ diff --git a/java/bin/kinit.exe b/java/bin/kinit.exe new file mode 100644 index 0000000000000000000000000000000000000000..b4dfedf971a256ce9aaf5ac60b58b8eaebf2e16b Binary files /dev/null and b/java/bin/kinit.exe differ diff --git a/java/bin/klist.exe b/java/bin/klist.exe new file mode 100644 index 0000000000000000000000000000000000000000..63344b1ada23008d70374b186f99e76892f6dd43 Binary files /dev/null and b/java/bin/klist.exe differ diff --git a/java/bin/ktab.exe b/java/bin/ktab.exe new file mode 100644 index 0000000000000000000000000000000000000000..10b4e612e880262d61827f917cd430f5daf9c055 Binary files /dev/null and b/java/bin/ktab.exe differ diff --git a/java/bin/lcms.dll b/java/bin/lcms.dll new file mode 100644 index 0000000000000000000000000000000000000000..8bb505ae49321ad41dd0607c89fb1c49f7d5a536 --- /dev/null +++ b/java/bin/lcms.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9a96511021fcbdce00039c9ad69bce453f20d049a3d359741aa3eb573bae1a0c +size 192888 diff --git a/java/bin/management.dll b/java/bin/management.dll new file mode 100644 index 0000000000000000000000000000000000000000..ddacd0c44002c8c0ca56784d88bababc97a84439 Binary files /dev/null and b/java/bin/management.dll differ diff --git a/java/bin/mlib_image.dll b/java/bin/mlib_image.dll new file mode 100644 index 0000000000000000000000000000000000000000..4c51cd681a809f258d23f214a0d9111eff8009af --- /dev/null +++ b/java/bin/mlib_image.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8c0204d577ed8f63a0212c69431e2a1fa12c2183f9f837f4dfda9a3c10c30365 +size 575352 diff --git a/java/bin/msvcp140.dll b/java/bin/msvcp140.dll new file mode 100644 index 0000000000000000000000000000000000000000..d46e51fd57c6f8f1012f201785ff44b33829681d --- /dev/null +++ b/java/bin/msvcp140.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:916eaa54e02ab03f8065a487aed6c7960fcd70556aad0b27de547fff9d603d47 +size 438080 diff --git a/java/bin/msvcr100.dll b/java/bin/msvcr100.dll new file mode 100644 index 0000000000000000000000000000000000000000..f23d42b4701c452b8dbfc7feb362f04592d0d413 --- /dev/null +++ b/java/bin/msvcr100.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8793353461826fbd48f25ea8b835be204b758ce7510db2af631b28850355bd18 +size 773968 diff --git a/java/bin/net.dll b/java/bin/net.dll new file mode 100644 index 0000000000000000000000000000000000000000..5efb64b7d14bdb66588c8cc2aa563823be773fcf Binary files /dev/null and b/java/bin/net.dll differ diff --git a/java/bin/nio.dll b/java/bin/nio.dll new file mode 100644 index 0000000000000000000000000000000000000000..bb81c3ccb9b5a7c64b41d92dc9e6dc7c8f4665b4 Binary files /dev/null and b/java/bin/nio.dll differ diff --git a/java/bin/npt.dll b/java/bin/npt.dll new file mode 100644 index 0000000000000000000000000000000000000000..1db8cdfb025f82cd9ca95f48c52c15527b285951 Binary files /dev/null and b/java/bin/npt.dll differ diff --git a/java/bin/orbd.exe b/java/bin/orbd.exe new file mode 100644 index 0000000000000000000000000000000000000000..9d563dd9443d0a2ec46373f34f65d711477659d5 Binary files /dev/null and b/java/bin/orbd.exe differ diff --git a/java/bin/pack200.exe b/java/bin/pack200.exe new file mode 100644 index 0000000000000000000000000000000000000000..0ed4c86469fe35bfec9ca226638308f4867c845f Binary files /dev/null and b/java/bin/pack200.exe differ diff --git a/java/bin/plugin2/npjp2.dll b/java/bin/plugin2/npjp2.dll new file mode 100644 index 0000000000000000000000000000000000000000..cccbf41d661b2452d01df4edccecbd3cbd138626 --- /dev/null +++ b/java/bin/plugin2/npjp2.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:21024c984aefe27a64c23e3c142295c91e03a71973f0ef50636f5f1292c5863a +size 180600 diff --git a/java/bin/policytool.exe b/java/bin/policytool.exe new file mode 100644 index 0000000000000000000000000000000000000000..eed8ec9d9fd8332dcaa0c8c92394bb7aedf3a4ed Binary files /dev/null and b/java/bin/policytool.exe differ diff --git a/java/bin/prism_common.dll b/java/bin/prism_common.dll new file mode 100644 index 0000000000000000000000000000000000000000..41924501c680e4eaf47ff32c645299d2d9583329 Binary files /dev/null and b/java/bin/prism_common.dll differ diff --git a/java/bin/prism_d3d.dll b/java/bin/prism_d3d.dll new file mode 100644 index 0000000000000000000000000000000000000000..4021665c1c21fbccd59a7ff2b94ae179db22a528 --- /dev/null +++ b/java/bin/prism_d3d.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:313e192d35ccafb502ff769bdcfa9ac1fa1df1d5b8a52c136f33ff01cbb38720 +size 117112 diff --git a/java/bin/prism_sw.dll b/java/bin/prism_sw.dll new file mode 100644 index 0000000000000000000000000000000000000000..f91945799c410147c20f25851eef72fb1083cdb4 Binary files /dev/null and b/java/bin/prism_sw.dll differ diff --git a/java/bin/resource.dll b/java/bin/resource.dll new file mode 100644 index 0000000000000000000000000000000000000000..33e3d8a560fed4b6f72a79d9035753bc0be30dcf Binary files /dev/null and b/java/bin/resource.dll differ diff --git a/java/bin/rmid.exe b/java/bin/rmid.exe new file mode 100644 index 0000000000000000000000000000000000000000..695ab0ec9aaa1b735c7da39ee0dc0d1ed62ff280 Binary files /dev/null and b/java/bin/rmid.exe differ diff --git a/java/bin/rmiregistry.exe b/java/bin/rmiregistry.exe new file mode 100644 index 0000000000000000000000000000000000000000..c3ceb6dc8deb9bc0daa25cdfbcdae55b7283bed7 Binary files /dev/null and b/java/bin/rmiregistry.exe differ diff --git a/java/bin/servertool.exe b/java/bin/servertool.exe new file mode 100644 index 0000000000000000000000000000000000000000..29f3ae8e56eedd0c22154625707b323e0ed9445a Binary files /dev/null and b/java/bin/servertool.exe differ diff --git a/java/bin/splashscreen.dll b/java/bin/splashscreen.dll new file mode 100644 index 0000000000000000000000000000000000000000..a6331009ed74aa6e636433c01c3fa2b7e9db5c0f --- /dev/null +++ b/java/bin/splashscreen.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a74d890fdaa3a1494dfb58164d7d4c7f55d9766a1bb1b1799318a5968e88fd16 +size 174456 diff --git a/java/bin/ssv.dll b/java/bin/ssv.dll new file mode 100644 index 0000000000000000000000000000000000000000..5c3914227129c360f45629ebc4c715fbe986b5ce --- /dev/null +++ b/java/bin/ssv.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:913ec20733c0cc90e79194ccecc9d7ada7ef13dfc35ffbbf910b07261010dc74 +size 480120 diff --git a/java/bin/ssvagent.exe b/java/bin/ssvagent.exe new file mode 100644 index 0000000000000000000000000000000000000000..adb4153834c09a0f65cc160df7919a3c61cf81d3 Binary files /dev/null and b/java/bin/ssvagent.exe differ diff --git a/java/bin/sunec.dll b/java/bin/sunec.dll new file mode 100644 index 0000000000000000000000000000000000000000..a3f94bd31408009341703c1c5f91f14496caabf2 --- /dev/null +++ b/java/bin/sunec.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b30167a2ebc5f170e224f0f2e994d13ced31764e0c1953f8e7b690d6a96c5b18 +size 125304 diff --git a/java/bin/sunmscapi.dll b/java/bin/sunmscapi.dll new file mode 100644 index 0000000000000000000000000000000000000000..c18ee8b0c8d04649921b91c7b29c36f62523dd28 Binary files /dev/null and b/java/bin/sunmscapi.dll differ diff --git a/java/bin/t2k.dll b/java/bin/t2k.dll new file mode 100644 index 0000000000000000000000000000000000000000..0f1934f69b1418df0a8129b247bb21d81ab39bd8 --- /dev/null +++ b/java/bin/t2k.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e67aa8def2cb3eeb4c5e00baa5607d8dbbd731fda662324c0927df02986f6861 +size 197496 diff --git a/java/bin/tnameserv.exe b/java/bin/tnameserv.exe new file mode 100644 index 0000000000000000000000000000000000000000..c23dbf680be22891eb61a4d7501c30856f2c2013 Binary files /dev/null and b/java/bin/tnameserv.exe differ diff --git a/java/bin/ucrtbase.dll b/java/bin/ucrtbase.dll new file mode 100644 index 0000000000000000000000000000000000000000..f85247bdf22202dfcdf3687fb950ddb9bc6c2cbe --- /dev/null +++ b/java/bin/ucrtbase.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0ae2d103d87250f64ef5091d4807523038954aba0e119b121eed7f0a23b00b52 +size 1147712 diff --git a/java/bin/unpack.dll b/java/bin/unpack.dll new file mode 100644 index 0000000000000000000000000000000000000000..232d81175f8aba2c9684c89f7fe35823a89253dc Binary files /dev/null and b/java/bin/unpack.dll differ diff --git a/java/bin/unpack200.exe b/java/bin/unpack200.exe new file mode 100644 index 0000000000000000000000000000000000000000..66153f3a03327ca02621cfcf56dc94067c871e44 --- /dev/null +++ b/java/bin/unpack200.exe @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dbec210d8cb3da15bd62089ce7fc744adaba777c72c6fc130658f0823d001f3b +size 161144 diff --git a/java/bin/vcruntime140.dll b/java/bin/vcruntime140.dll new file mode 100644 index 0000000000000000000000000000000000000000..bf97644388a19f4ec8f3afd59633f6c81bc5f28b Binary files /dev/null and b/java/bin/vcruntime140.dll differ diff --git a/java/bin/verify.dll b/java/bin/verify.dll new file mode 100644 index 0000000000000000000000000000000000000000..64fdbafbab343a040657783055e3fb7e26f699d5 Binary files /dev/null and b/java/bin/verify.dll differ diff --git a/java/bin/w2k_lsa_auth.dll b/java/bin/w2k_lsa_auth.dll new file mode 100644 index 0000000000000000000000000000000000000000..9e93ee2ca639423d3c881628b5b899fe1aa2aaf9 Binary files /dev/null and b/java/bin/w2k_lsa_auth.dll differ diff --git a/java/bin/wsdetect.dll b/java/bin/wsdetect.dll new file mode 100644 index 0000000000000000000000000000000000000000..e503c9e3fc1dcce52769a3192160ff179087a6fa --- /dev/null +++ b/java/bin/wsdetect.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:241a30eb481608a3af4d6db5db80a69c8028b45eeda3df6074bd39065042e75b +size 165752 diff --git a/java/bin/zip.dll b/java/bin/zip.dll new file mode 100644 index 0000000000000000000000000000000000000000..668e52b5da4950bb57190882c0cc373d420adc1f Binary files /dev/null and b/java/bin/zip.dll differ diff --git a/java/lib/accessibility.properties b/java/lib/accessibility.properties new file mode 100644 index 0000000000000000000000000000000000000000..d9f12e3fd48bce0394bcb747c0cb4eaee24ff0a9 --- /dev/null +++ b/java/lib/accessibility.properties @@ -0,0 +1,6 @@ +# +# Load the Java Access Bridge class into the JVM +# +#assistive_technologies=com.sun.java.accessibility.AccessBridge +#screen_magnifier_present=true + diff --git a/java/lib/calendars.properties b/java/lib/calendars.properties new file mode 100644 index 0000000000000000000000000000000000000000..87a8630adec64acd2e8e9725e959fa73d2cac025 --- /dev/null +++ b/java/lib/calendars.properties @@ -0,0 +1,60 @@ +# Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved. +# ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. +# +# +# +# +# +# +# +# +# +# +# +# +# +# +# +# +# +# +# +# +# + +# +# Japanese imperial calendar +# +# Meiji since 1868-01-01 00:00:00 local time (Gregorian) +# Taisho since 1912-07-30 00:00:00 local time (Gregorian) +# Showa since 1926-12-25 00:00:00 local time (Gregorian) +# Heisei since 1989-01-08 00:00:00 local time (Gregorian) +calendar.japanese.type: LocalGregorianCalendar +calendar.japanese.eras: \ + name=Meiji,abbr=M,since=-3218832000000; \ + name=Taisho,abbr=T,since=-1812153600000; \ + name=Showa,abbr=S,since=-1357603200000; \ + name=Heisei,abbr=H,since=600220800000 + +# +# Taiwanese calendar +# Minguo since 1911-01-01 00:00:00 local time (Gregorian) +calendar.taiwanese.type: LocalGregorianCalendar +calendar.taiwanese.eras: \ + name=MinGuo,since=-1830384000000 + +# +# Thai Buddhist calendar +# Buddhist Era since -542-01-01 00:00:00 local time (Gregorian) +calendar.thai-buddhist.type: LocalGregorianCalendar +calendar.thai-buddhist.eras: \ + name=BuddhistEra,abbr=B.E.,since=-79302585600000 +calendar.thai-buddhist.year-boundary: \ + day1=4-1,since=-79302585600000; \ + day1=1-1,since=-915148800000 + +# +# Hijrah calendars +# +calendar.hijrah.Hijrah-umalqura: hijrah-config-umalqura.properties +calendar.hijrah.Hijrah-umalqura.type: islamic-umalqura diff --git a/java/lib/charsets.jar b/java/lib/charsets.jar new file mode 100644 index 0000000000000000000000000000000000000000..b127c4ebac85d5274953c866dd75c9929deffe61 --- /dev/null +++ b/java/lib/charsets.jar @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:611c4643fc41bb84485b45b7714ed991ba3217fed74ccc013deead18a7f1896c +size 3092108 diff --git a/java/lib/classlist b/java/lib/classlist new file mode 100644 index 0000000000000000000000000000000000000000..e66c06a9aa3fadce5a3d981bd423f550908e5984 --- /dev/null +++ b/java/lib/classlist @@ -0,0 +1,2469 @@ +java/lang/Object +java/lang/String +java/io/Serializable +java/lang/Comparable +java/lang/CharSequence +java/lang/Class +java/lang/reflect/GenericDeclaration +java/lang/reflect/AnnotatedElement +java/lang/reflect/Type +java/lang/Cloneable +java/lang/ClassLoader +java/lang/System +java/lang/Throwable +java/lang/Error +java/lang/ThreadDeath +java/lang/Exception +java/lang/RuntimeException +java/lang/SecurityManager +java/security/ProtectionDomain +java/security/AccessControlContext +java/security/SecureClassLoader +java/lang/ClassNotFoundException +java/lang/ReflectiveOperationException +java/lang/NoClassDefFoundError +java/lang/LinkageError +java/lang/ClassCastException +java/lang/ArrayStoreException +java/lang/VirtualMachineError +java/lang/OutOfMemoryError +java/lang/StackOverflowError +java/lang/IllegalMonitorStateException +java/lang/ref/Reference +java/lang/ref/SoftReference +java/lang/ref/WeakReference +java/lang/ref/FinalReference +java/lang/ref/PhantomReference +sun/misc/Cleaner +java/lang/ref/Finalizer +java/lang/Thread +java/lang/Runnable +java/lang/ThreadGroup +java/lang/Thread$UncaughtExceptionHandler +java/util/Properties +java/util/Hashtable +java/util/Map +java/util/Dictionary +java/lang/reflect/AccessibleObject +java/lang/reflect/Field +java/lang/reflect/Member +java/lang/reflect/Parameter +java/lang/reflect/Method +java/lang/reflect/Executable +java/lang/reflect/Constructor +sun/reflect/MagicAccessorImpl +sun/reflect/MethodAccessorImpl +sun/reflect/MethodAccessor +sun/reflect/ConstructorAccessorImpl +sun/reflect/ConstructorAccessor +sun/reflect/DelegatingClassLoader +sun/reflect/ConstantPool +sun/reflect/UnsafeStaticFieldAccessorImpl +sun/reflect/UnsafeFieldAccessorImpl +sun/reflect/FieldAccessorImpl +sun/reflect/FieldAccessor +sun/reflect/CallerSensitive +java/lang/annotation/Annotation +java/lang/invoke/DirectMethodHandle +java/lang/invoke/MethodHandle +java/lang/invoke/MemberName +java/lang/invoke/MethodHandleNatives +java/lang/invoke/LambdaForm +java/lang/invoke/MethodType +java/lang/BootstrapMethodError +java/lang/invoke/CallSite +java/lang/invoke/ConstantCallSite +java/lang/invoke/MutableCallSite +java/lang/invoke/VolatileCallSite +java/lang/StringBuffer +java/lang/AbstractStringBuilder +java/lang/Appendable +java/lang/StringBuilder +sun/misc/Unsafe +java/io/ByteArrayInputStream +java/io/InputStream +java/io/Closeable +java/lang/AutoCloseable +java/io/File +java/net/URLClassLoader +java/net/URL +java/util/jar/Manifest +sun/misc/Launcher +sun/misc/Launcher$AppClassLoader +sun/misc/Launcher$ExtClassLoader +java/security/CodeSource +java/lang/StackTraceElement +java/nio/Buffer +java/lang/Boolean +java/lang/Character +java/lang/Float +java/lang/Number +java/lang/Double +java/lang/Byte +java/lang/Short +java/lang/Integer +java/lang/Long +java/lang/NullPointerException +java/lang/ArithmeticException +java/io/ObjectStreamField +java/lang/String$CaseInsensitiveComparator +java/util/Comparator +java/lang/RuntimePermission +java/security/BasicPermission +java/security/Permission +java/security/Guard +java/security/AccessController +java/lang/reflect/ReflectPermission +sun/reflect/ReflectionFactory$GetReflectionFactoryAction +java/security/PrivilegedAction +java/security/cert/Certificate +java/util/Vector +java/util/List +java/util/Collection +java/lang/Iterable +java/util/RandomAccess +java/util/AbstractList +java/util/AbstractCollection +java/util/Stack +sun/reflect/ReflectionFactory +java/lang/ref/Reference$Lock +java/lang/ref/Reference$ReferenceHandler +java/lang/ref/ReferenceQueue +java/lang/ref/ReferenceQueue$Null +java/lang/ref/ReferenceQueue$Lock +java/lang/ref/Finalizer$FinalizerThread +sun/misc/VM +java/util/Hashtable$Entry +java/util/Map$Entry +java/lang/Math +java/util/Hashtable$EntrySet +java/util/AbstractSet +java/util/Set +java/util/Collections +java/util/Collections$EmptySet +java/util/Collections$EmptyList +java/util/Collections$EmptyMap +java/util/AbstractMap +java/util/Collections$SynchronizedSet +java/util/Collections$SynchronizedCollection +java/util/Objects +java/util/Hashtable$Enumerator +java/util/Enumeration +java/util/Iterator +java/lang/Runtime +sun/misc/Version +java/io/FileInputStream +java/io/FileDescriptor +java/io/FileDescriptor$1 +sun/misc/JavaIOFileDescriptorAccess +sun/misc/SharedSecrets +java/lang/NoSuchMethodError +java/lang/IncompatibleClassChangeError +java/util/ArrayList +java/util/Collections$UnmodifiableRandomAccessList +java/util/Collections$UnmodifiableList +java/util/Collections$UnmodifiableCollection +sun/reflect/Reflection +java/util/HashMap +java/util/HashMap$Node +java/io/FileOutputStream +java/io/OutputStream +java/io/Flushable +java/io/BufferedInputStream +java/io/FilterInputStream +java/util/concurrent/atomic/AtomicReferenceFieldUpdater +java/util/concurrent/atomic/AtomicReferenceFieldUpdater$AtomicReferenceFieldUpdaterImpl +java/util/concurrent/atomic/AtomicReferenceFieldUpdater$AtomicReferenceFieldUpdaterImpl$1 +java/security/PrivilegedExceptionAction +java/lang/Class$3 +java/lang/Class$ReflectionData +java/lang/Class$Atomic +sun/reflect/generics/repository/ClassRepository +sun/reflect/generics/repository/GenericDeclRepository +sun/reflect/generics/repository/AbstractRepository +java/lang/Class$AnnotationData +sun/reflect/annotation/AnnotationType +java/lang/ClassValue$ClassValueMap +java/util/WeakHashMap +java/lang/reflect/Modifier +java/lang/reflect/ReflectAccess +sun/reflect/LangReflectAccess +sun/reflect/misc/ReflectUtil +java/io/PrintStream +java/io/FilterOutputStream +java/io/BufferedOutputStream +java/io/OutputStreamWriter +java/io/Writer +sun/nio/cs/StreamEncoder +java/nio/charset/Charset +sun/nio/cs/StandardCharsets +sun/nio/cs/FastCharsetProvider +java/nio/charset/spi/CharsetProvider +sun/nio/cs/StandardCharsets$Aliases +sun/util/PreHashedMap +sun/nio/cs/StandardCharsets$Classes +sun/nio/cs/StandardCharsets$Cache +java/lang/ThreadLocal +java/util/concurrent/atomic/AtomicInteger +sun/security/action/GetPropertyAction +java/util/Arrays +sun/nio/cs/MS1252 +sun/nio/cs/HistoricallyNamedCharset +sun/nio/cs/SingleByte +java/lang/Class$1 +sun/reflect/ReflectionFactory$1 +sun/reflect/NativeConstructorAccessorImpl +sun/reflect/DelegatingConstructorAccessorImpl +sun/nio/cs/SingleByte$Encoder +sun/nio/cs/ArrayEncoder +java/nio/charset/CharsetEncoder +java/nio/charset/CodingErrorAction +java/nio/ByteBuffer +java/nio/HeapByteBuffer +java/nio/Bits +java/nio/ByteOrder +java/nio/Bits$1 +sun/misc/JavaNioAccess +java/io/BufferedWriter +java/io/DefaultFileSystem +java/io/WinNTFileSystem +java/io/FileSystem +java/io/ExpiringCache +java/io/ExpiringCache$1 +java/util/LinkedHashMap +java/io/File$PathStatus +java/lang/Enum +java/nio/file/Path +java/nio/file/Watchable +java/lang/ClassLoader$3 +java/io/ExpiringCache$Entry +java/util/LinkedHashMap$Entry +java/lang/ClassLoader$NativeLibrary +java/lang/Terminator +java/lang/Terminator$1 +sun/misc/SignalHandler +sun/misc/Signal +sun/misc/NativeSignalHandler +java/lang/Integer$IntegerCache +sun/misc/OSEnvironment +sun/io/Win32ErrorMode +java/lang/System$2 +sun/misc/JavaLangAccess +java/lang/IllegalArgumentException +java/lang/Compiler +java/lang/Compiler$1 +sun/misc/Launcher$Factory +java/net/URLStreamHandlerFactory +sun/security/util/Debug +java/lang/ClassLoader$ParallelLoaders +java/util/WeakHashMap$Entry +java/util/Collections$SetFromMap +java/util/WeakHashMap$KeySet +java/net/URLClassLoader$7 +sun/misc/JavaNetAccess +java/util/StringTokenizer +sun/misc/Launcher$ExtClassLoader$1 +sun/misc/MetaIndex +java/io/BufferedReader +java/io/Reader +java/lang/Readable +java/io/FileReader +java/io/InputStreamReader +sun/nio/cs/StreamDecoder +sun/nio/cs/SingleByte$Decoder +sun/nio/cs/ArrayDecoder +java/nio/charset/CharsetDecoder +java/nio/CharBuffer +java/nio/HeapCharBuffer +java/nio/charset/CoderResult +java/nio/charset/CoderResult$1 +java/nio/charset/CoderResult$Cache +java/nio/charset/CoderResult$2 +java/lang/reflect/Array +java/util/Locale +java/util/Locale$Cache +sun/util/locale/LocaleObjectCache +java/util/concurrent/ConcurrentHashMap +java/util/concurrent/ConcurrentMap +java/util/concurrent/ConcurrentHashMap$Segment +java/util/concurrent/locks/ReentrantLock +java/util/concurrent/locks/Lock +java/util/concurrent/ConcurrentHashMap$Node +java/util/concurrent/ConcurrentHashMap$CounterCell +java/util/concurrent/ConcurrentHashMap$KeySetView +java/util/concurrent/ConcurrentHashMap$CollectionView +java/util/concurrent/ConcurrentHashMap$ValuesView +java/util/concurrent/ConcurrentHashMap$EntrySetView +sun/util/locale/BaseLocale +sun/util/locale/BaseLocale$Cache +sun/util/locale/BaseLocale$Key +sun/util/locale/LocaleObjectCache$CacheEntry +java/util/Locale$LocaleKey +sun/util/locale/LocaleUtils +java/lang/CharacterData +java/lang/CharacterDataLatin1 +java/util/HashMap$TreeNode +java/io/FileInputStream$1 +sun/net/www/ParseUtil +java/util/BitSet +java/net/Parts +sun/net/www/protocol/file/Handler +java/net/URLStreamHandler +java/security/ProtectionDomain$JavaSecurityAccessImpl +sun/misc/JavaSecurityAccess +java/security/ProtectionDomain$2 +sun/misc/JavaSecurityProtectionDomainAccess +java/security/ProtectionDomain$Key +java/security/Principal +java/util/HashSet +sun/misc/URLClassPath +sun/net/www/protocol/jar/Handler +sun/misc/Launcher$AppClassLoader$1 +java/lang/SystemClassLoaderAction +java/lang/invoke/MethodHandleImpl +java/lang/invoke/MethodHandleImpl$1 +java/lang/invoke/MethodHandleImpl$2 +java/util/function/Function +java/lang/invoke/MethodHandleImpl$3 +java/lang/invoke/MethodHandleImpl$4 +java/lang/ClassValue +java/lang/ClassValue$Entry +java/lang/ClassValue$Identity +java/lang/ClassValue$Version +java/lang/invoke/MemberName$Factory +java/lang/invoke/MethodHandleStatics +java/lang/invoke/MethodHandleStatics$1 +sun/misc/PostVMInitHook +sun/usagetracker/UsageTrackerClient +java/util/concurrent/atomic/AtomicBoolean +sun/usagetracker/UsageTrackerClient$1 +sun/usagetracker/UsageTrackerClient$4 +sun/usagetracker/UsageTrackerClient$2 +java/lang/ProcessEnvironment +java/lang/ProcessEnvironment$NameComparator +java/lang/ProcessEnvironment$EntryComparator +java/util/Collections$UnmodifiableMap +java/util/TreeMap +java/util/NavigableMap +java/util/SortedMap +java/lang/ProcessEnvironment$CheckedEntrySet +java/util/HashMap$EntrySet +java/lang/ProcessEnvironment$CheckedEntrySet$1 +java/util/HashMap$EntryIterator +java/util/HashMap$HashIterator +java/lang/ProcessEnvironment$CheckedEntry +java/util/TreeMap$Entry +sun/usagetracker/UsageTrackerClient$3 +java/lang/StringCoding +java/lang/ThreadLocal$ThreadLocalMap +java/lang/ThreadLocal$ThreadLocalMap$Entry +sun/nio/cs/UTF_8 +sun/nio/cs/Unicode +java/lang/StringCoding$StringEncoder +sun/nio/cs/UTF_8$Encoder +java/io/FileOutputStream$1 +sun/launcher/LauncherHelper +java/lang/StringCoding$StringDecoder +java/net/URLClassLoader$1 +sun/net/util/URLUtil +sun/misc/URLClassPath$3 +sun/misc/URLClassPath$JarLoader +sun/misc/URLClassPath$Loader +java/util/zip/ZipFile +java/util/zip/ZipConstants +java/util/zip/ZipFile$1 +sun/misc/JavaUtilZipFileAccess +sun/misc/URLClassPath$JarLoader$1 +sun/misc/FileURLMapper +java/util/jar/JarFile +java/util/jar/JavaUtilJarAccessImpl +sun/misc/JavaUtilJarAccess +java/nio/charset/StandardCharsets +sun/nio/cs/US_ASCII +sun/nio/cs/ISO_8859_1 +sun/nio/cs/UTF_16BE +sun/nio/cs/UTF_16LE +sun/nio/cs/UTF_16 +java/util/ArrayDeque +java/util/Deque +java/util/Queue +java/util/zip/ZipCoder +sun/misc/PerfCounter +sun/misc/Perf$GetPerfAction +sun/misc/Perf +sun/misc/PerfCounter$CoreCounters +sun/nio/ch/DirectBuffer +java/nio/DirectByteBuffer +java/nio/MappedByteBuffer +java/nio/DirectLongBufferU +java/nio/LongBuffer +sun/misc/JarIndex +sun/misc/ExtensionDependency +java/util/zip/ZipEntry +java/util/jar/JarFile$JarFileEntry +java/util/jar/JarEntry +java/util/zip/ZipFile$ZipFileInputStream +java/util/zip/Inflater +java/util/zip/ZStreamRef +java/util/zip/ZipFile$ZipFileInflaterInputStream +java/util/zip/InflaterInputStream +sun/misc/IOUtils +sun/misc/URLClassPath$JarLoader$2 +sun/misc/Resource +sun/nio/ByteBuffered +java/security/Permissions +java/security/PermissionCollection +sun/net/www/protocol/file/FileURLConnection +sun/net/www/URLConnection +java/net/URLConnection +sun/net/www/MessageHeader +java/io/FilePermission +java/io/FilePermission$1 +java/io/FilePermissionCollection +java/security/AllPermission +java/security/UnresolvedPermission +java/security/BasicPermissionCollection +javax/swing/JLabel +javax/swing/SwingConstants +javax/accessibility/Accessible +javax/swing/JComponent +javax/swing/TransferHandler$HasGetTransferHandler +java/awt/Container +java/awt/Component +java/awt/image/ImageObserver +java/awt/MenuContainer +sun/launcher/LauncherHelper$FXHelper +java/lang/Class$MethodArray +java/lang/InterruptedException +javax/swing/JFrame +javax/swing/WindowConstants +javax/swing/RootPaneContainer +java/awt/Frame +java/awt/Window +java/util/concurrent/ConcurrentHashMap$ForwardingNode +java/awt/Graphics +java/lang/Void +sun/util/logging/PlatformLogger +sun/util/logging/PlatformLogger$Level +sun/util/logging/PlatformLogger$1 +sun/util/logging/PlatformLogger$DefaultLoggerProxy +sun/util/logging/PlatformLogger$LoggerProxy +sun/util/logging/PlatformLogger$JavaLoggerProxy +sun/util/logging/LoggingSupport +sun/util/logging/LoggingSupport$1 +java/util/logging/LoggingProxyImpl +sun/util/logging/LoggingProxy +sun/reflect/UnsafeFieldAccessorFactory +sun/reflect/UnsafeQualifiedStaticObjectFieldAccessorImpl +sun/reflect/UnsafeQualifiedStaticFieldAccessorImpl +sun/util/logging/LoggingSupport$2 +java/util/Date +sun/util/calendar/CalendarSystem +sun/util/calendar/Gregorian +sun/util/calendar/BaseCalendar +sun/util/calendar/AbstractCalendar +java/awt/Component$AWTTreeLock +java/awt/Toolkit +java/awt/Toolkit$4 +sun/awt/AWTAccessor$ToolkitAccessor +sun/awt/AWTAccessor +java/awt/Toolkit$5 +sun/util/CoreResourceBundleControl +java/util/ResourceBundle$Control +java/util/Arrays$ArrayList +java/util/ResourceBundle$Control$CandidateListCache +java/util/ResourceBundle +java/util/ResourceBundle$1 +java/util/spi/ResourceBundleControlProvider +java/util/ServiceLoader +java/util/ServiceLoader$LazyIterator +java/util/ServiceLoader$1 +java/util/LinkedHashMap$LinkedEntrySet +java/util/LinkedHashMap$LinkedEntryIterator +java/util/LinkedHashMap$LinkedHashIterator +sun/misc/Launcher$BootClassPathHolder +sun/misc/Launcher$BootClassPathHolder$1 +sun/misc/URLClassPath$2 +java/lang/ClassLoader$2 +sun/misc/URLClassPath$1 +java/net/URLClassLoader$3 +sun/misc/CompoundEnumeration +java/io/FileNotFoundException +java/io/IOException +java/security/PrivilegedActionException +java/net/URLClassLoader$3$1 +java/util/ResourceBundle$RBClassLoader +java/util/ResourceBundle$RBClassLoader$1 +java/util/ResourceBundle$CacheKey +java/util/ResourceBundle$LoaderReference +java/util/ResourceBundle$CacheKeyReference +java/util/ResourceBundle$SingleFormatControl +java/util/LinkedList +java/util/AbstractSequentialList +java/util/LinkedList$Node +sun/awt/resources/awt +java/util/ListResourceBundle +java/awt/Toolkit$3 +java/awt/Toolkit$1 +java/util/Properties$LineReader +java/awt/GraphicsEnvironment +java/lang/invoke/LambdaMetafactory +java/lang/invoke/MethodHandles$Lookup +java/lang/invoke/MethodType$ConcurrentWeakInternSet +java/lang/invoke/MethodTypeForm +java/lang/invoke/Invokers +java/lang/invoke/MethodType$ConcurrentWeakInternSet$WeakEntry +java/lang/invoke/MethodHandles +sun/invoke/util/Wrapper +sun/invoke/util/Wrapper$Format +java/lang/Byte$ByteCache +java/lang/Short$ShortCache +java/lang/Character$CharacterCache +java/lang/Long$LongCache +sun/invoke/util/VerifyAccess +sun/invoke/util/ValueConversions +java/lang/NoSuchMethodException +java/lang/invoke/LambdaForm$BasicType +java/lang/invoke/LambdaForm$Name +java/lang/invoke/LambdaForm$NamedFunction +java/lang/invoke/SimpleMethodHandle +java/lang/invoke/BoundMethodHandle +java/lang/invoke/BoundMethodHandle$SpeciesData +java/lang/invoke/BoundMethodHandle$Factory +java/lang/invoke/BoundMethodHandle$Species_L +java/util/HashMap$Values +java/util/HashMap$ValueIterator +sun/invoke/util/BytecodeDescriptor +java/lang/invoke/DirectMethodHandle$Lazy +java/lang/InstantiationException +java/util/Collections$UnmodifiableCollection$1 +java/util/AbstractList$Itr +java/lang/invoke/InvokerBytecodeGenerator +jdk/internal/org/objectweb/asm/ClassWriter +jdk/internal/org/objectweb/asm/ClassVisitor +jdk/internal/org/objectweb/asm/ByteVector +jdk/internal/org/objectweb/asm/Item +jdk/internal/org/objectweb/asm/MethodWriter +jdk/internal/org/objectweb/asm/MethodVisitor +jdk/internal/org/objectweb/asm/Type +jdk/internal/org/objectweb/asm/Label +jdk/internal/org/objectweb/asm/Frame +jdk/internal/org/objectweb/asm/AnnotationWriter +jdk/internal/org/objectweb/asm/AnnotationVisitor +java/lang/invoke/MethodHandleImpl$Intrinsic +java/lang/invoke/InvokerBytecodeGenerator$2 +sun/invoke/util/VerifyType +sun/invoke/empty/Empty +java/lang/NoSuchFieldException +java/lang/invoke/InvokerBytecodeGenerator$CpPatch +java/lang/invoke/DirectMethodHandle$Accessor +java/util/ArrayList$Itr +java/util/RandomAccessSubList +java/util/SubList +java/util/SubList$1 +java/util/ListIterator +java/util/AbstractList$ListItr +java/lang/invoke/MethodHandleImpl$AsVarargsCollector +java/lang/invoke/DelegatingMethodHandle +java/lang/invoke/WrongMethodTypeException +java/lang/invoke/MethodHandleImpl$Lazy +java/lang/invoke/MethodHandleImpl$IntrinsicMethodHandle +java/lang/NoSuchFieldError +java/lang/IllegalAccessException +java/lang/invoke/LambdaFormEditor +java/lang/invoke/LambdaFormEditor$Transform$Kind +java/lang/invoke/LambdaFormEditor$Transform +java/lang/invoke/LambdaFormBuffer +jdk/internal/org/objectweb/asm/FieldWriter +jdk/internal/org/objectweb/asm/FieldVisitor +java/lang/invoke/InnerClassLambdaMetafactory +java/lang/invoke/AbstractValidatingLambdaMetafactory +java/util/PropertyPermission +java/security/AccessController$1 +sun/security/util/SecurityConstants +java/net/NetPermission +java/security/SecurityPermission +java/net/SocketPermission +sun/security/action/GetBooleanAction +java/security/AllPermissionCollection +java/lang/invoke/InfoFromMemberName +java/lang/invoke/MethodHandleInfo +java/lang/invoke/InnerClassLambdaMetafactory$ForwardingMethodGenerator +java/lang/invoke/TypeConvertingMethodAdapter +java/lang/invoke/InnerClassLambdaMetafactory$1 +java/awt/Insets +java/awt/event/InputEvent +java/awt/event/ComponentEvent +java/awt/AWTEvent +java/util/EventObject +java/awt/AWTEvent$1 +sun/awt/AWTAccessor$AWTEventAccessor +java/awt/event/NativeLibLoader +java/awt/event/NativeLibLoader$1 +java/awt/event/InputEvent$1 +sun/awt/AWTAccessor$InputEventAccessor +sun/awt/windows/WComponentPeer +java/awt/peer/ComponentPeer +java/awt/dnd/peer/DropTargetPeer +sun/awt/windows/WObjectPeer +java/awt/Font +java/awt/Font$FontAccessImpl +sun/font/FontAccess +java/awt/geom/AffineTransform +sun/font/AttributeValues +sun/font/EAttribute +java/text/AttributedCharacterIterator$Attribute +java/lang/Class$4 +sun/reflect/NativeMethodAccessorImpl +sun/reflect/DelegatingMethodAccessorImpl +java/awt/font/TextAttribute +java/awt/Component$1 +sun/awt/AWTAccessor$ComponentAccessor +java/awt/Component$DummyRequestFocusController +sun/awt/RequestFocusController +java/awt/LayoutManager +java/awt/LightweightDispatcher +java/awt/event/AWTEventListener +java/util/EventListener +java/awt/Dimension +java/awt/geom/Dimension2D +java/awt/Container$1 +sun/awt/AWTAccessor$ContainerAccessor +javax/swing/JComponent$1 +java/awt/ComponentOrientation +java/awt/Component$3 +sun/awt/AppContext +java/util/IdentityHashMap +java/util/Collections$SynchronizedMap +sun/awt/AppContext$GetAppContextLock +sun/awt/AppContext$6 +sun/misc/JavaAWTAccess +sun/awt/AppContext$3 +sun/awt/AppContext$2 +sun/awt/SunToolkit +sun/awt/WindowClosingSupport +sun/awt/WindowClosingListener +sun/awt/ComponentFactory +sun/awt/InputMethodSupport +sun/awt/KeyboardFocusManagerPeerProvider +java/util/concurrent/locks/ReentrantLock$NonfairSync +java/util/concurrent/locks/ReentrantLock$Sync +java/util/concurrent/locks/AbstractQueuedSynchronizer +java/util/concurrent/locks/AbstractOwnableSynchronizer +java/util/concurrent/locks/AbstractQueuedSynchronizer$Node +java/util/concurrent/locks/AbstractQueuedSynchronizer$ConditionObject +java/util/concurrent/locks/Condition +sun/misc/SoftCache +sun/awt/AppContext$State +sun/awt/AppContext$1 +java/awt/EventQueue +java/awt/EventQueue$1 +java/awt/EventQueue$2 +sun/awt/AWTAccessor$EventQueueAccessor +java/awt/Queue +sun/awt/MostRecentKeyValue +sun/awt/PostEventQueue +javax/swing/event/EventListenerList +javax/swing/SwingUtilities +javax/swing/RepaintManager +javax/swing/RepaintManager$DisplayChangedHandler +sun/awt/DisplayChangedListener +javax/swing/RepaintManager$1 +sun/swing/SwingAccessor$RepaintManagerAccessor +sun/swing/SwingAccessor +sun/awt/Win32GraphicsEnvironment +sun/java2d/SunGraphicsEnvironment +sun/awt/windows/WToolkit +sun/awt/windows/WToolkit$1 +sun/java2d/SurfaceData +java/awt/Transparency +sun/java2d/DisposerTarget +sun/java2d/StateTrackable +sun/java2d/Surface +sun/java2d/InvalidPipeException +java/lang/IllegalStateException +sun/java2d/NullSurfaceData +sun/java2d/StateTrackable$State +sun/java2d/loops/SurfaceType +sun/awt/image/PixelConverter +sun/awt/image/PixelConverter$Xrgb +sun/awt/image/PixelConverter$Argb +sun/awt/image/PixelConverter$ArgbPre +sun/awt/image/PixelConverter$Xbgr +sun/awt/image/PixelConverter$Rgba +sun/awt/image/PixelConverter$RgbaPre +sun/awt/image/PixelConverter$Ushort565Rgb +sun/awt/image/PixelConverter$Ushort555Rgb +sun/awt/image/PixelConverter$Ushort555Rgbx +sun/awt/image/PixelConverter$Ushort4444Argb +sun/awt/image/PixelConverter$ByteGray +sun/awt/image/PixelConverter$UshortGray +sun/awt/image/PixelConverter$Rgbx +sun/awt/image/PixelConverter$Bgrx +sun/awt/image/PixelConverter$ArgbBm +java/awt/image/ColorModel +java/awt/image/ColorModel$1 +java/awt/image/DirectColorModel +java/awt/image/PackedColorModel +java/awt/color/ColorSpace +java/awt/color/ICC_Profile +sun/java2d/cmm/ProfileDeferralInfo +sun/java2d/cmm/ProfileDeferralMgr +java/awt/color/ICC_ProfileRGB +java/awt/color/ICC_Profile$1 +sun/java2d/cmm/ProfileActivator +java/awt/color/ICC_ColorSpace +sun/java2d/StateTrackableDelegate +sun/java2d/StateTrackableDelegate$2 +sun/java2d/pipe/NullPipe +sun/java2d/pipe/PixelDrawPipe +sun/java2d/pipe/PixelFillPipe +sun/java2d/pipe/ShapeDrawPipe +sun/java2d/pipe/TextPipe +sun/java2d/pipe/DrawImagePipe +java/awt/image/IndexColorModel +sun/java2d/pipe/LoopPipe +sun/java2d/pipe/ParallelogramPipe +sun/java2d/pipe/LoopBasedPipe +sun/java2d/pipe/RenderingEngine +sun/java2d/pipe/RenderingEngine$1 +sun/dc/DuctusRenderingEngine +sun/java2d/pipe/OutlineTextRenderer +sun/java2d/pipe/SolidTextRenderer +sun/java2d/pipe/GlyphListLoopPipe +sun/java2d/pipe/GlyphListPipe +sun/java2d/pipe/AATextRenderer +sun/java2d/pipe/LCDTextRenderer +sun/java2d/pipe/AlphaColorPipe +sun/java2d/pipe/CompositePipe +sun/java2d/SurfaceData$PixelToShapeLoopConverter +sun/java2d/pipe/PixelToShapeConverter +sun/java2d/SurfaceData$PixelToPgramLoopConverter +sun/java2d/pipe/PixelToParallelogramConverter +sun/java2d/pipe/TextRenderer +sun/java2d/pipe/SpanClipRenderer +sun/java2d/pipe/Region +sun/java2d/pipe/RegionIterator +sun/java2d/pipe/Region$ImmutableRegion +sun/java2d/pipe/AAShapePipe +sun/java2d/pipe/AlphaPaintPipe +sun/java2d/pipe/SpanShapeRenderer$Composite +sun/java2d/pipe/SpanShapeRenderer +sun/java2d/pipe/GeneralCompositePipe +sun/java2d/pipe/DrawImage +sun/java2d/loops/RenderCache +sun/java2d/loops/RenderCache$Entry +sun/awt/image/SunVolatileImage +sun/java2d/DestSurfaceProvider +java/awt/image/VolatileImage +java/awt/Image +java/awt/ImageCapabilities +java/awt/Image$1 +sun/awt/image/SurfaceManager$ImageAccessor +sun/awt/image/SurfaceManager +sun/awt/image/VolatileSurfaceManager +sun/awt/windows/WToolkit$2 +sun/java2d/windows/WindowsFlags +sun/java2d/windows/WindowsFlags$1 +sun/java2d/WindowsSurfaceManagerFactory +sun/java2d/SurfaceManagerFactory +sun/awt/SunDisplayChanger +sun/java2d/SunGraphicsEnvironment$1 +sun/misc/FloatingDecimal +sun/misc/FloatingDecimal$ExceptionalBinaryToASCIIBuffer +sun/misc/FloatingDecimal$BinaryToASCIIConverter +sun/misc/FloatingDecimal$BinaryToASCIIBuffer +sun/misc/FloatingDecimal$1 +sun/misc/FloatingDecimal$PreparedASCIIToBinaryBuffer +sun/misc/FloatingDecimal$ASCIIToBinaryConverter +sun/misc/FloatingDecimal$ASCIIToBinaryBuffer +java/awt/Toolkit$2 +java/awt/Toolkit$DesktopPropertyChangeSupport +java/beans/PropertyChangeSupport +java/beans/PropertyChangeSupport$PropertyChangeListenerMap +java/beans/ChangeListenerMap +java/beans/PropertyChangeListener +sun/awt/SunToolkit$ModalityListenerList +sun/awt/ModalityListener +sun/misc/PerformanceLogger +sun/misc/PerformanceLogger$TimeData +sun/awt/windows/WToolkit$ToolkitDisposer +sun/java2d/DisposerRecord +sun/java2d/Disposer +sun/java2d/Disposer$1 +sun/misc/ThreadGroupUtils +sun/awt/AWTAutoShutdown +java/lang/invoke/DirectMethodHandle$Special +java/lang/ApplicationShutdownHooks +java/lang/ApplicationShutdownHooks$1 +java/lang/Shutdown +java/lang/Shutdown$Lock +java/awt/Rectangle +java/awt/Shape +java/awt/geom/Rectangle2D +java/awt/geom/RectangularShape +javax/swing/RepaintManager$ProcessingRunnable +com/sun/java/swing/SwingUtilities3 +javax/swing/UIManager +javax/swing/UIManager$LookAndFeelInfo +sun/awt/OSInfo +sun/awt/OSInfo$WindowsVersion +sun/awt/OSInfo$1 +sun/awt/OSInfo$OSType +sun/awt/HeadlessToolkit +sun/awt/windows/WDesktopProperties +sun/awt/windows/ThemeReader +java/util/concurrent/locks/ReentrantReadWriteLock +java/util/concurrent/locks/ReadWriteLock +sun/nio/ch/Interruptible +java/util/concurrent/locks/ReentrantReadWriteLock$NonfairSync +java/util/concurrent/locks/ReentrantReadWriteLock$Sync +java/util/concurrent/locks/ReentrantReadWriteLock$Sync$ThreadLocalHoldCounter +java/util/concurrent/locks/ReentrantReadWriteLock$ReadLock +java/util/concurrent/locks/ReentrantReadWriteLock$WriteLock +java/awt/Color +java/awt/Paint +sun/awt/windows/WDesktopProperties$WinPlaySound +java/awt/RenderingHints +sun/awt/SunHints +sun/awt/SunHints$Key +java/awt/RenderingHints$Key +sun/awt/SunHints$Value +sun/awt/SunHints$LCDContrastKey +java/util/HashMap$KeySet +java/util/HashMap$KeyIterator +java/util/Arrays$LegacyMergeSort +java/util/ComparableTimSort +java/beans/PropertyChangeEvent +java/awt/Toolkit$DesktopPropertyChangeSupport$1 +java/util/IdentityHashMap$Values +java/util/IdentityHashMap$ValueIterator +java/util/IdentityHashMap$IdentityHashMapIterator +sun/swing/SwingUtilities2 +java/awt/font/FontRenderContext +sun/swing/StringUIClientPropertyKey +sun/swing/UIClientPropertyKey +sun/swing/SwingUtilities2$LSBCacheEntry +javax/swing/UIManager$LAFState +javax/swing/UIDefaults +javax/swing/MultiUIDefaults +javax/swing/UIManager$1 +javax/swing/plaf/metal/MetalLookAndFeel +javax/swing/plaf/basic/BasicLookAndFeel +javax/swing/LookAndFeel +sun/swing/DefaultLookup +javax/swing/plaf/metal/OceanTheme +javax/swing/plaf/metal/DefaultMetalTheme +javax/swing/plaf/metal/MetalTheme +javax/swing/plaf/ColorUIResource +javax/swing/plaf/UIResource +sun/swing/PrintColorUIResource +javax/swing/plaf/metal/DefaultMetalTheme$FontDelegate +javax/swing/plaf/FontUIResource +sun/swing/SwingLazyValue +javax/swing/UIDefaults$LazyValue +javax/swing/UIDefaults$ActiveValue +javax/swing/plaf/InsetsUIResource +javax/swing/plaf/BorderUIResource$EmptyBorderUIResource +javax/swing/border/EmptyBorder +javax/swing/border/AbstractBorder +javax/swing/border/Border +sun/swing/SwingUtilities2$2 +javax/swing/plaf/basic/BasicLookAndFeel$2 +javax/swing/plaf/DimensionUIResource +javax/swing/UIDefaults$LazyInputMap +javax/swing/plaf/metal/MetalLookAndFeel$FontActiveValue +sun/swing/SwingUtilities2$AATextInfo +javax/swing/plaf/metal/MetalLookAndFeel$AATextListener +java/beans/PropertyChangeListenerProxy +java/util/EventListenerProxy +javax/swing/plaf/metal/OceanTheme$1 +javax/swing/plaf/metal/OceanTheme$2 +javax/swing/plaf/metal/OceanTheme$3 +javax/swing/plaf/metal/OceanTheme$4 +javax/swing/plaf/metal/OceanTheme$5 +javax/swing/plaf/metal/OceanTheme$6 +javax/swing/SwingPaintEventDispatcher +sun/awt/PaintEventDispatcher +java/awt/KeyboardFocusManager +java/awt/KeyEventDispatcher +java/awt/KeyEventPostProcessor +java/awt/KeyboardFocusManager$1 +sun/awt/AWTAccessor$KeyboardFocusManagerAccessor +java/awt/AWTKeyStroke +java/awt/AWTKeyStroke$1 +java/awt/DefaultKeyboardFocusManager +java/awt/DefaultKeyboardFocusManager$1 +sun/awt/AWTAccessor$DefaultKeyboardFocusManagerAccessor +java/awt/DefaultFocusTraversalPolicy +java/awt/ContainerOrderFocusTraversalPolicy +java/awt/FocusTraversalPolicy +java/util/Collections$UnmodifiableSet +sun/awt/windows/WKeyboardFocusManagerPeer +sun/awt/KeyboardFocusManagerPeerImpl +java/awt/peer/KeyboardFocusManagerPeer +javax/swing/UIManager$2 +javax/swing/JRootPane +javax/swing/UIDefaults$TextAndMnemonicHashMap +com/sun/swing/internal/plaf/metal/resources/metal +sun/util/ResourceBundleEnumeration +com/sun/swing/internal/plaf/basic/resources/basic +javax/swing/plaf/metal/MetalLabelUI +javax/swing/plaf/basic/BasicLabelUI +javax/swing/plaf/LabelUI +javax/swing/plaf/ComponentUI +sun/reflect/misc/MethodUtil +sun/reflect/misc/MethodUtil$1 +sun/net/www/protocol/jar/JarURLConnection +java/net/JarURLConnection +sun/net/www/protocol/jar/JarFileFactory +sun/net/www/protocol/jar/URLJarFile$URLJarFileCloseController +java/net/HttpURLConnection +sun/net/www/protocol/jar/URLJarFile +sun/net/www/protocol/jar/URLJarFile$URLJarFileEntry +sun/net/www/protocol/jar/JarURLConnection$JarURLInputStream +java/lang/UnsupportedOperationException +java/lang/reflect/InvocationTargetException +javax/swing/plaf/metal/DefaultMetalTheme$FontDelegate$1 +javax/swing/plaf/basic/BasicHTML +sun/awt/util/IdentityArrayList +java/awt/Window$Type +java/awt/Window$1 +sun/awt/AWTAccessor$WindowAccessor +java/awt/Frame$1 +sun/awt/AWTAccessor$FrameAccessor +java/awt/Cursor +java/awt/Point +java/awt/geom/Point2D +java/awt/Cursor$1 +sun/awt/AWTAccessor$CursorAccessor +java/awt/GraphicsDevice +sun/java2d/d3d/D3DGraphicsDevice +sun/awt/Win32GraphicsDevice +sun/misc/PerfCounter$WindowsClientCounters +sun/java2d/d3d/D3DRenderQueue +sun/java2d/pipe/RenderQueue +sun/java2d/pipe/RenderBuffer +sun/java2d/d3d/D3DRenderQueue$1 +sun/java2d/d3d/D3DGraphicsDevice$1Result +sun/java2d/d3d/D3DGraphicsDevice$1 +sun/java2d/d3d/D3DContext$D3DContextCaps +sun/java2d/pipe/hw/ContextCapabilities +sun/awt/Win32GraphicsConfig +sun/awt/image/SurfaceManager$ProxiedGraphicsConfig +java/awt/GraphicsConfiguration +java/awt/BorderLayout +java/awt/LayoutManager2 +java/awt/Dialog$ModalExclusionType +java/awt/Window$WindowDisposerRecord +javax/swing/JPanel +java/awt/FlowLayout +javax/swing/plaf/basic/BasicPanelUI +javax/swing/plaf/PanelUI +java/awt/Component$BaselineResizeBehavior +sun/swing/SwingLazyValue$1 +javax/swing/JLayeredPane +javax/swing/JRootPane$1 +javax/swing/ArrayTable +javax/swing/JRootPane$RootLayout +javax/swing/BufferStrategyPaintManager +javax/swing/RepaintManager$PaintManager +javax/swing/FocusManager +javax/swing/LayoutFocusTraversalPolicy +javax/swing/SortingFocusTraversalPolicy +javax/swing/InternalFrameFocusTraversalPolicy +javax/swing/SwingContainerOrderFocusTraversalPolicy +javax/swing/SortingFocusTraversalPolicy$1 +java/util/Spliterator$OfLong +java/util/Spliterator$OfPrimitive +java/util/Spliterator +java/util/Spliterator$OfInt +java/util/Spliterator$OfDouble +java/util/stream/IntStream +java/util/stream/BaseStream +java/util/stream/Stream +java/util/stream/DoubleStream +java/util/stream/LongStream +java/util/function/BinaryOperator +java/util/function/BiFunction +java/util/function/DoubleBinaryOperator +java/util/function/IntBinaryOperator +java/util/function/LongBinaryOperator +java/util/function/IntToLongFunction +java/util/function/IntFunction +java/util/function/IntToDoubleFunction +java/util/function/IntUnaryOperator +javax/swing/SwingDefaultFocusTraversalPolicy +javax/swing/LayoutComparator +javax/swing/plaf/metal/MetalRootPaneUI +javax/swing/plaf/basic/BasicRootPaneUI +javax/swing/plaf/RootPaneUI +javax/swing/plaf/basic/BasicRootPaneUI$RootPaneInputMap +javax/swing/plaf/ComponentInputMapUIResource +javax/swing/ComponentInputMap +javax/swing/InputMap +javax/swing/plaf/InputMapUIResource +javax/swing/KeyStroke +java/awt/VKCollection +java/awt/event/KeyEvent +java/awt/event/KeyEvent$1 +sun/awt/AWTAccessor$KeyEventAccessor +sun/reflect/UnsafeQualifiedStaticIntegerFieldAccessorImpl +javax/swing/plaf/basic/LazyActionMap +javax/swing/plaf/ActionMapUIResource +javax/swing/ActionMap +sun/awt/windows/WFramePeer +java/awt/peer/FramePeer +java/awt/peer/WindowPeer +java/awt/peer/ContainerPeer +sun/awt/windows/WWindowPeer +sun/awt/windows/WPanelPeer +java/awt/peer/PanelPeer +sun/awt/windows/WCanvasPeer +java/awt/peer/CanvasPeer +sun/awt/windows/WWindowPeer$ActiveWindowListener +sun/awt/windows/WWindowPeer$GuiDisposedListener +sun/awt/RepaintArea +sun/awt/ExtendedKeyCodes +sun/awt/EmbeddedFrame +sun/awt/LightweightFrame +sun/awt/im/InputMethodWindow +sun/awt/windows/WComponentPeer$2 +javax/swing/RepaintManager$2 +java/awt/event/InvocationEvent +java/awt/ActiveEvent +java/awt/event/InvocationEvent$1 +sun/awt/AWTAccessor$InvocationEventAccessor +java/awt/EventQueue$5 +java/awt/EventDispatchThread +sun/awt/PeerEvent +java/awt/EventDispatchThread$1 +sun/awt/EventQueueItem +java/awt/Conditional +java/awt/EventDispatchThread$HierarchyEventFilter +java/awt/EventFilter +java/awt/event/WindowEvent +java/awt/ModalEventFilter +sun/awt/EventQueueDelegate +java/awt/event/PaintEvent +sun/java2d/ScreenUpdateManager +java/awt/event/MouseEvent +sun/java2d/d3d/D3DScreenUpdateManager +java/awt/EventFilter$FilterAction +sun/awt/dnd/SunDragSourceContextPeer +java/awt/dnd/peer/DragSourceContextPeer +java/awt/EventQueue$3 +java/awt/MenuComponent +java/awt/TrayIcon +java/awt/event/InputMethodEvent +sun/java2d/d3d/D3DGraphicsConfig +java/awt/event/ActionEvent +sun/java2d/pipe/hw/AccelGraphicsConfig +sun/java2d/pipe/hw/BufferedContextProvider +java/util/LinkedList$ListItr +sun/java2d/windows/GDIWindowSurfaceData +javax/swing/RepaintManager$2$1 +sun/java2d/loops/XORComposite +java/awt/Composite +sun/java2d/windows/GDIBlitLoops +sun/java2d/loops/Blit +sun/java2d/loops/GraphicsPrimitive +sun/java2d/loops/GraphicsPrimitiveMgr +sun/java2d/loops/CompositeType +sun/java2d/SunGraphics2D +sun/awt/ConstrainableGraphics +java/awt/Graphics2D +java/awt/AlphaComposite +java/awt/geom/Path2D +java/awt/geom/Path2D$Float +sun/java2d/loops/BlitBg +sun/java2d/loops/ScaledBlit +sun/java2d/loops/FillRect +sun/java2d/loops/FillSpans +sun/java2d/loops/FillParallelogram +sun/java2d/loops/DrawParallelogram +sun/java2d/loops/DrawLine +sun/java2d/loops/DrawRect +sun/java2d/loops/DrawPolygons +sun/java2d/loops/DrawPath +sun/java2d/loops/FillPath +sun/java2d/loops/MaskBlit +sun/java2d/loops/MaskFill +sun/java2d/loops/DrawGlyphList +sun/java2d/loops/DrawGlyphListAA +sun/java2d/loops/DrawGlyphListLCD +sun/java2d/loops/TransformHelper +java/awt/BasicStroke +java/awt/Stroke +sun/java2d/pipe/ValidatePipe +sun/java2d/loops/CustomComponent +sun/java2d/loops/GraphicsPrimitiveProxy +sun/java2d/loops/GeneralRenderer +sun/java2d/loops/GraphicsPrimitiveMgr$1 +sun/java2d/loops/GraphicsPrimitiveMgr$2 +sun/java2d/windows/GDIRenderer +sun/java2d/loops/RenderLoops +sun/java2d/loops/GraphicsPrimitiveMgr$PrimitiveSpec +java/util/TimSort +sun/java2d/DefaultDisposerRecord +sun/java2d/SurfaceDataProxy +sun/awt/image/SurfaceManager$FlushableCacheData +sun/java2d/SurfaceDataProxy$1 +sun/java2d/StateTracker +sun/java2d/StateTracker$1 +sun/java2d/StateTracker$2 +sun/awt/windows/WColor +sun/awt/windows/WFontPeer +sun/awt/PlatformFont +java/awt/peer/FontPeer +sun/awt/NativeLibLoader +sun/awt/NativeLibLoader$1 +sun/font/SunFontManager +sun/java2d/FontSupport +sun/font/FontManagerForSGE +sun/font/FontManager +sun/font/SunFontManager$TTFilter +java/io/FilenameFilter +sun/font/SunFontManager$T1Filter +sun/font/SunFontManager$1 +sun/font/FontManagerNativeLibrary +sun/font/FontManagerNativeLibrary$1 +sun/font/FontUtilities +sun/font/FontUtilities$1 +sun/font/TrueTypeFont +sun/font/FileFont +sun/font/PhysicalFont +sun/font/Font2D +sun/font/Type1Font +java/awt/geom/Point2D$Float +sun/font/StrikeMetrics +java/awt/geom/Rectangle2D$Float +java/awt/geom/GeneralPath +sun/font/CharToGlyphMapper +sun/font/PhysicalStrike +sun/font/FontStrike +sun/font/StrikeCache +sun/font/StrikeCache$1 +sun/font/GlyphList +sun/font/FontManagerFactory +sun/font/FontManagerFactory$1 +sun/awt/Win32FontManager +sun/awt/Win32FontManager$1 +sun/font/CompositeFont +sun/font/SunFontManager$2 +sun/font/SunFontManager$FontRegistrationInfo +sun/awt/windows/WFontConfiguration +sun/awt/FontConfiguration +sun/awt/FontDescriptor +java/io/DataInputStream +java/io/DataInput +sun/font/CompositeFontDescriptor +sun/font/Font2DHandle +sun/font/FontFamily +sun/font/SunFontManager$3 +sun/awt/Win32FontManager$2 +sun/awt/FontConfiguration$2 +sun/awt/windows/WingDings +sun/awt/windows/WingDings$Encoder +sun/awt/Symbol +sun/awt/Symbol$Encoder +sun/awt/im/InputMethodManager +sun/awt/im/ExecutableInputMethodManager +sun/awt/windows/WInputMethodDescriptor +java/awt/im/spi/InputMethodDescriptor +sun/awt/im/InputMethodLocator +sun/awt/im/ExecutableInputMethodManager$3 +java/awt/peer/LightweightPeer +sun/awt/NullComponentPeer +java/awt/EventQueue$4 +java/awt/SplashScreen +sun/awt/dnd/SunDropTargetEvent +java/awt/Dialog +java/awt/event/FocusEvent +java/util/concurrent/locks/LockSupport +java/awt/Dialog$ModalityType +sun/awt/TimedWindowEvent +java/awt/SequencedEvent +java/awt/SequencedEvent$1 +sun/awt/AWTAccessor$SequencedEventAccessor +java/awt/DefaultKeyboardFocusManager$DefaultKeyboardFocusManagerSentEvent +java/awt/SentEvent +sun/awt/windows/WGlobalCursorManager +sun/awt/event/IgnorePaintEvent +sun/awt/GlobalCursorManager +sun/awt/GlobalCursorManager$NativeUpdater +java/util/ArrayList$ListItr +sun/awt/CausedFocusEvent$Cause +java/awt/KeyboardFocusManager$HeavyweightFocusRequest +java/awt/DefaultKeyboardFocusManager$TypeAheadMarker +java/awt/KeyboardFocusManager$LightweightFocusRequest +sun/awt/CausedFocusEvent +java/util/IdentityHashMap$KeySet +java/util/IdentityHashMap$KeyIterator +javax/swing/RepaintManager$4 +sun/java2d/d3d/D3DSurfaceData$D3DWindowSurfaceData +sun/java2d/d3d/D3DSurfaceData +sun/java2d/pipe/hw/AccelSurface +java/awt/GraphicsCallback$PaintCallback +java/awt/GraphicsCallback +sun/awt/SunGraphicsCallback +javax/swing/BufferStrategyPaintManager$BufferInfo +java/awt/event/WindowListener +java/awt/event/ComponentAdapter +java/awt/event/ComponentListener +java/awt/AWTEventMulticaster +java/awt/event/ContainerListener +java/awt/event/FocusListener +java/awt/event/KeyListener +java/awt/event/MouseListener +java/awt/event/MouseMotionListener +java/awt/event/WindowFocusListener +java/awt/event/WindowStateListener +java/awt/event/ActionListener +java/awt/event/ItemListener +java/awt/event/AdjustmentListener +java/awt/event/TextListener +java/awt/event/InputMethodListener +java/awt/event/HierarchyListener +java/awt/event/HierarchyBoundsListener +java/awt/event/MouseWheelListener +java/awt/BufferCapabilities +java/awt/Component$BltSubRegionBufferStrategy +sun/awt/SubRegionShowable +java/awt/Component$BltBufferStrategy +java/awt/image/BufferStrategy +sun/awt/image/BufferedImageGraphicsConfig +sun/print/PrinterGraphicsConfig +sun/java2d/opengl/WGLGraphicsConfig +sun/java2d/opengl/OGLGraphicsConfig +sun/awt/image/BufImgVolatileSurfaceManager +java/awt/image/Raster +java/awt/image/DataBufferInt +java/awt/image/DataBuffer +java/awt/image/DataBuffer$1 +sun/awt/image/SunWritableRaster$DataStealer +sun/awt/image/SunWritableRaster +java/awt/image/WritableRaster +java/awt/image/SinglePixelPackedSampleModel +java/awt/image/SampleModel +sun/awt/image/IntegerInterleavedRaster +sun/awt/image/IntegerComponentRaster +sun/awt/image/NativeLibLoader +sun/awt/image/NativeLibLoader$1 +java/awt/image/BufferedImage +java/awt/image/WritableRenderedImage +java/awt/image/RenderedImage +java/awt/image/BufferedImage$1 +sun/awt/image/BufImgSurfaceData +sun/awt/image/BufImgSurfaceData$ICMColorData +sun/font/FontDesignMetrics +java/awt/FontMetrics +sun/font/FontDesignMetrics$MetricsKey +sun/font/FontStrikeDesc +sun/font/CompositeStrike +sun/font/FontStrikeDisposer +sun/java2d/Disposer$PollDisposable +sun/font/StrikeCache$SoftDisposerRef +sun/font/StrikeCache$DisposableStrike +sun/font/TrueTypeFont$TTDisposerRecord +sun/font/TrueTypeFont$1 +java/io/RandomAccessFile +java/io/DataOutput +sun/nio/ch/FileChannelImpl +java/nio/channels/FileChannel +java/nio/channels/SeekableByteChannel +java/nio/channels/ByteChannel +java/nio/channels/ReadableByteChannel +java/nio/channels/Channel +java/nio/channels/WritableByteChannel +java/nio/channels/GatheringByteChannel +java/nio/channels/ScatteringByteChannel +java/nio/channels/spi/AbstractInterruptibleChannel +java/nio/channels/InterruptibleChannel +java/nio/file/attribute/FileAttribute +sun/nio/ch/IOUtil +sun/nio/ch/IOUtil$1 +sun/nio/ch/NativeThreadSet +sun/nio/ch/FileDispatcherImpl +sun/nio/ch/FileDispatcher +sun/nio/ch/NativeDispatcher +sun/nio/ch/FileDispatcherImpl$1 +java/nio/channels/spi/AbstractInterruptibleChannel$1 +sun/nio/ch/NativeThread +sun/nio/ch/IOStatus +sun/nio/ch/Util +sun/nio/ch/Util$1 +sun/nio/ch/Util$BufferCache +java/nio/DirectByteBuffer$Deallocator +java/nio/ByteBufferAsIntBufferB +java/nio/IntBuffer +sun/font/TrueTypeFont$DirectoryEntry +java/nio/ByteBufferAsShortBufferB +java/nio/ShortBuffer +sun/nio/cs/UTF_16$Decoder +sun/nio/cs/UnicodeDecoder +sun/font/FileFontStrike +sun/font/FontScaler +sun/font/T2KFontScaler +sun/font/T2KFontScaler$1 +sun/font/TrueTypeGlyphMapper +sun/font/CMap +sun/font/CMap$NullCMapClass +sun/font/CMap$CMapFormat4 +java/nio/ByteBufferAsCharBufferB +sun/font/FontDesignMetrics$KeyReference +sun/font/CompositeGlyphMapper +java/awt/print/PrinterGraphics +java/awt/PrintGraphics +sun/java2d/loops/FontInfo +java/util/jar/Attributes +java/util/jar/Manifest$FastInputStream +sun/nio/cs/UTF_8$Decoder +java/util/jar/Attributes$Name +sun/misc/ASCIICaseInsensitiveComparator +java/util/jar/JarVerifier +java/security/CodeSigner +java/util/jar/JarVerifier$3 +java/io/ByteArrayOutputStream +java/lang/Package +sun/security/util/SignatureFileVerifier +sun/security/util/ManifestEntryVerifier +java/util/MissingResourceException +java/io/StringWriter +javax/swing/JDialog +javax/swing/text/JTextComponent +javax/swing/Scrollable +javax/swing/JTextArea +javax/swing/JScrollPane +javax/swing/ScrollPaneConstants +javax/swing/AbstractButton +java/awt/ItemSelectable +javax/swing/JButton +java/lang/SecurityException +javax/swing/JWindow +java/lang/NumberFormatException +java/io/UnsupportedEncodingException +sun/misc/URLClassPath$FileLoader +java/lang/IndexOutOfBoundsException +java/lang/CloneNotSupportedException +java/lang/InternalError +java/net/UnknownHostException +java/net/Socket +java/net/SocketAddress +java/nio/channels/SocketChannel +java/nio/channels/NetworkChannel +java/nio/channels/spi/AbstractSelectableChannel +java/nio/channels/SelectableChannel +java/net/InetAddress +java/net/SocketException +java/net/SocketImplFactory +java/net/InetSocketAddress +java/net/InetSocketAddress$InetSocketAddressHolder +java/net/Proxy +java/net/SocketImpl +java/net/SocketOptions +java/net/SocksSocketImpl +java/net/SocksConsts +java/net/PlainSocketImpl +java/net/AbstractPlainSocketImpl +java/net/AbstractPlainSocketImpl$1 +java/net/PlainSocketImpl$1 +java/net/DualStackPlainSocketImpl +java/net/InetAddress$1 +java/net/InetAddress$InetAddressHolder +java/net/InetAddress$Cache +java/net/InetAddress$Cache$Type +java/net/InetAddressImplFactory +java/net/Inet6AddressImpl +java/net/InetAddressImpl +java/net/InetAddress$2 +sun/net/spi/nameservice/NameService +sun/net/util/IPAddressUtil +java/net/Inet4Address +java/net/SocksSocketImpl$3 +java/net/ProxySelector +sun/net/spi/DefaultProxySelector +sun/net/spi/DefaultProxySelector$1 +sun/net/NetProperties +sun/net/NetProperties$1 +java/net/Inet6Address +java/net/URI +java/net/URI$Parser +sun/net/spi/DefaultProxySelector$NonProxyInfo +sun/net/spi/DefaultProxySelector$3 +java/net/Proxy$Type +sun/net/NetHooks +java/net/Inet6Address$Inet6AddressHolder +java/net/SocketTimeoutException +java/io/InterruptedIOException +javax/swing/UnsupportedLookAndFeelException +java/net/MalformedURLException +java/lang/UnsatisfiedLinkError +sun/misc/FDBigInteger +java/util/ResourceBundle$Control$1 +java/net/URLClassLoader$2 +java/util/PropertyResourceBundle +java/util/ResourceBundle$BundleReference +java/util/logging/Level +java/util/logging/Level$KnownLevel +java/util/logging/Logger +java/util/logging/Handler +java/util/logging/Logger$LoggerBundle +java/util/concurrent/CopyOnWriteArrayList +java/util/logging/LogManager +java/util/logging/LogManager$1 +java/util/logging/LogManager$SystemLoggerContext +java/util/logging/LogManager$LoggerContext +java/util/logging/LogManager$LogNode +java/util/logging/LoggingPermission +java/util/logging/LogManager$Cleaner +java/util/logging/LogManager$2 +java/util/logging/LogManager$3 +java/util/logging/LogManager$LoggerWeakRef +java/util/logging/LogManager$LoggerContext$1 +java/util/logging/LogManager$RootLogger +java/util/logging/LogManager$5 +java/util/logging/Logger$1 +sun/util/logging/resources/logging +javax/swing/Box +javax/swing/Box$Filler +javax/swing/Icon +javax/swing/BoxLayout +javax/swing/plaf/basic/BasicPopupMenuUI +javax/swing/plaf/PopupMenuUI +javax/swing/ImageIcon +javax/swing/ImageIcon$1 +javax/swing/ImageIcon$2 +javax/swing/ImageIcon$2$1 +java/awt/dnd/DropTarget +java/awt/dnd/DropTargetListener +javax/accessibility/AccessibleContext +sun/reflect/UnsafeObjectFieldAccessorImpl +java/awt/MediaTracker +sun/misc/SoftCache$ValueCell +sun/awt/image/URLImageSource +sun/awt/image/InputStreamImageSource +java/awt/image/ImageProducer +sun/awt/image/ImageFetchable +sun/awt/image/ToolkitImage +javax/swing/ImageIcon$3 +java/awt/ImageMediaEntry +java/awt/MediaEntry +sun/awt/image/MultiResolutionToolkitImage +sun/awt/image/MultiResolutionImage +sun/awt/image/ImageRepresentation +java/awt/image/ImageConsumer +sun/awt/image/ImageWatched +sun/awt/image/ImageWatched$Link +sun/awt/image/ImageWatched$WeakLink +sun/awt/image/ImageConsumerQueue +sun/awt/image/ImageFetcher +sun/awt/image/FetcherInfo +sun/awt/image/ImageFetcher$1 +sun/net/ProgressMonitor +sun/net/DefaultProgressMeteringPolicy +sun/net/ProgressMeteringPolicy +sun/net/www/MimeTable +java/net/FileNameMap +sun/net/www/MimeTable$1 +sun/net/www/MimeTable$DefaultInstanceHolder +sun/net/www/MimeTable$DefaultInstanceHolder$1 +sun/net/www/MimeEntry +java/net/URLConnection$1 +java/text/SimpleDateFormat +java/text/DateFormat +java/text/Format +java/text/DateFormat$Field +java/text/Format$Field +java/util/TimeZone +sun/util/calendar/ZoneInfo +sun/util/calendar/ZoneInfoFile +sun/util/calendar/ZoneInfoFile$1 +sun/util/calendar/ZoneInfoFile$ZoneOffsetTransitionRule +sun/util/calendar/ZoneInfoFile$Checksum +java/util/zip/CRC32 +java/util/zip/Checksum +java/util/TimeZone$1 +java/util/Calendar +sun/util/spi/CalendarProvider +java/util/spi/LocaleServiceProvider +sun/util/locale/provider/LocaleProviderAdapter +sun/util/locale/provider/JRELocaleProviderAdapter +sun/util/locale/provider/ResourceBundleBasedAdapter +sun/util/locale/provider/SPILocaleProviderAdapter +sun/util/locale/provider/AuxLocaleProviderAdapter +sun/util/locale/provider/AuxLocaleProviderAdapter$NullProvider +sun/util/locale/provider/LocaleProviderAdapter$Type +sun/util/locale/provider/LocaleProviderAdapter$1 +sun/util/locale/provider/CalendarProviderImpl +sun/util/locale/provider/AvailableLanguageTags +sun/util/locale/provider/LocaleDataMetaInfo +sun/util/locale/provider/JRELocaleProviderAdapter$1 +java/util/Calendar$Builder +java/util/GregorianCalendar +sun/util/locale/provider/CalendarDataUtility +java/util/spi/CalendarDataProvider +sun/util/locale/provider/LocaleServiceProviderPool +java/text/spi/BreakIteratorProvider +java/text/spi/CollatorProvider +java/text/spi/DateFormatProvider +java/text/spi/DateFormatSymbolsProvider +java/text/spi/DecimalFormatSymbolsProvider +java/text/spi/NumberFormatProvider +java/util/spi/CurrencyNameProvider +java/util/spi/LocaleNameProvider +java/util/spi/TimeZoneNameProvider +sun/util/locale/provider/CalendarDataProviderImpl +sun/util/locale/provider/SPILocaleProviderAdapter$1 +sun/util/locale/provider/CalendarDataUtility$CalendarWeekParameterGetter +sun/util/locale/provider/LocaleServiceProviderPool$LocalizedObjectGetter +sun/util/locale/provider/LocaleResources +sun/util/resources/LocaleData +sun/util/resources/LocaleData$1 +sun/util/resources/LocaleData$LocaleDataResourceBundleControl +sun/util/locale/LanguageTag +java/util/Collections$EmptyIterator +sun/util/resources/CalendarData +sun/util/resources/LocaleNamesBundle +sun/util/resources/OpenListResourceBundle +sun/util/resources/en/CalendarData_en +sun/util/locale/provider/LocaleResources$ResourceReference +sun/util/calendar/Gregorian$Date +sun/util/calendar/BaseCalendar$Date +sun/util/calendar/CalendarDate +sun/util/calendar/CalendarUtils +java/text/DateFormatSymbols +sun/util/locale/provider/DateFormatSymbolsProviderImpl +sun/text/resources/FormatData +sun/util/resources/ParallelListResourceBundle +java/util/concurrent/atomic/AtomicMarkableReference +java/util/concurrent/atomic/AtomicMarkableReference$Pair +sun/text/resources/en/FormatData_en +sun/text/resources/en/FormatData_en_US +sun/util/resources/ParallelListResourceBundle$KeySet +java/text/NumberFormat +sun/util/locale/provider/NumberFormatProviderImpl +java/text/DecimalFormatSymbols +sun/util/locale/provider/DecimalFormatSymbolsProviderImpl +java/util/Currency +java/util/Currency$1 +sun/util/locale/provider/CurrencyNameProviderImpl +java/util/Currency$CurrencyNameGetter +sun/util/resources/CurrencyNames +sun/util/resources/en/CurrencyNames_en_US +java/text/DecimalFormat +java/text/FieldPosition +java/text/DigitList +java/math/RoundingMode +java/text/DontCareFieldPosition +java/text/DontCareFieldPosition$1 +java/text/Format$FieldDelegate +sun/awt/image/GifImageDecoder +sun/awt/image/ImageDecoder +sun/awt/image/GifFrame +java/awt/image/DataBufferByte +java/awt/image/PixelInterleavedSampleModel +java/awt/image/ComponentSampleModel +sun/awt/image/ByteInterleavedRaster +sun/awt/image/ByteComponentRaster +sun/awt/image/BytePackedRaster +javax/swing/plaf/BorderUIResource +javax/swing/BorderFactory +javax/swing/border/BevelBorder +javax/swing/border/EtchedBorder +javax/swing/plaf/metal/MetalIconFactory +javax/swing/plaf/metal/MetalIconFactory$TreeFolderIcon +javax/swing/plaf/metal/MetalIconFactory$FolderIcon16 +java/lang/ClassLoaderHelper +java/util/zip/ZipInputStream +java/io/PushbackInputStream +java/util/zip/ZipUtils +java/io/RandomAccessFile$1 +java/lang/Thread$State +javax/swing/SwingUtilities$SharedOwnerFrame +javax/swing/border/LineBorder +javax/swing/Popup$HeavyWeightWindow +sun/awt/ModalExclude +javax/swing/SizeRequirements +com/sun/java/swing/plaf/windows/WindowsPopupWindow +java/applet/Applet +java/awt/Panel +javax/swing/JRadioButton +javax/swing/JToggleButton +java/lang/ClassFormatError +sun/awt/image/BufImgSurfaceManager +java/awt/geom/RectIterator +java/awt/geom/PathIterator +javax/swing/CellRendererPane +javax/swing/RepaintManager$3 +java/io/ObjectInputStream +java/io/ObjectInput +java/io/ObjectStreamConstants +javax/swing/JTabbedPane +javax/swing/event/MenuListener +javax/swing/event/ChangeListener +javax/swing/DefaultSingleSelectionModel +javax/swing/SingleSelectionModel +javax/swing/JTabbedPane$ModelListener +javax/swing/plaf/metal/MetalTabbedPaneUI +javax/swing/plaf/basic/BasicTabbedPaneUI +javax/swing/plaf/TabbedPaneUI +javax/swing/plaf/metal/MetalTabbedPaneUI$TabbedPaneLayout +javax/swing/plaf/basic/BasicTabbedPaneUI$TabbedPaneLayout +javax/swing/plaf/basic/BasicTabbedPaneUI$TabbedPaneScrollLayout +javax/swing/plaf/basic/BasicTabbedPaneUI$Handler +sun/reflect/MethodAccessorGenerator +sun/reflect/AccessorGenerator +sun/reflect/ClassFileConstants +sun/reflect/ByteVectorFactory +sun/reflect/ByteVectorImpl +sun/reflect/ByteVector +sun/reflect/ClassFileAssembler +sun/reflect/UTF8 +sun/reflect/Label +sun/reflect/Label$PatchInfo +sun/reflect/MethodAccessorGenerator$1 +sun/reflect/ClassDefiner +sun/reflect/ClassDefiner$1 +sun/reflect/BootstrapConstructorAccessorImpl +javax/swing/JTextField +javax/swing/JViewport +java/awt/CardLayout +javax/swing/text/Document +javax/swing/text/JTextComponent$1 +sun/swing/SwingAccessor$JTextComponentAccessor +javax/swing/text/JTextComponent$4 +com/sun/beans/util/Cache +com/sun/beans/util/Cache$Kind +com/sun/beans/util/Cache$Kind$1 +com/sun/beans/util/Cache$Kind$2 +com/sun/beans/util/Cache$Kind$3 +com/sun/beans/util/Cache$CacheEntry +javax/swing/Action +javax/swing/JTextField$NotifyAction +javax/swing/text/TextAction +javax/swing/AbstractAction +java/lang/ArrayIndexOutOfBoundsException +javax/swing/DropMode +javax/swing/text/JTextComponent$MutableCaretEvent +javax/swing/event/CaretEvent +javax/swing/plaf/metal/MetalTextFieldUI +javax/swing/plaf/basic/BasicTextFieldUI +javax/swing/plaf/basic/BasicTextUI +javax/swing/text/ViewFactory +javax/swing/plaf/TextUI +javax/swing/plaf/basic/BasicTextUI$BasicCursor +javax/swing/text/DefaultEditorKit +javax/swing/text/EditorKit +javax/swing/text/DefaultEditorKit$InsertContentAction +javax/swing/text/DefaultEditorKit$DeletePrevCharAction +javax/swing/text/DefaultEditorKit$DeleteNextCharAction +javax/swing/text/DefaultEditorKit$ReadOnlyAction +javax/swing/text/DefaultEditorKit$DeleteWordAction +javax/swing/text/DefaultEditorKit$WritableAction +javax/swing/text/DefaultEditorKit$CutAction +javax/swing/text/DefaultEditorKit$CopyAction +javax/swing/text/DefaultEditorKit$PasteAction +javax/swing/text/DefaultEditorKit$VerticalPageAction +javax/swing/text/DefaultEditorKit$PageAction +javax/swing/text/DefaultEditorKit$InsertBreakAction +javax/swing/text/DefaultEditorKit$BeepAction +javax/swing/text/DefaultEditorKit$NextVisualPositionAction +javax/swing/text/DefaultEditorKit$BeginWordAction +javax/swing/text/DefaultEditorKit$EndWordAction +javax/swing/text/DefaultEditorKit$PreviousWordAction +javax/swing/text/DefaultEditorKit$NextWordAction +javax/swing/text/DefaultEditorKit$BeginLineAction +javax/swing/text/DefaultEditorKit$EndLineAction +javax/swing/text/DefaultEditorKit$BeginParagraphAction +javax/swing/text/DefaultEditorKit$EndParagraphAction +javax/swing/text/DefaultEditorKit$BeginAction +javax/swing/text/DefaultEditorKit$EndAction +javax/swing/text/DefaultEditorKit$DefaultKeyTypedAction +javax/swing/text/DefaultEditorKit$InsertTabAction +javax/swing/text/DefaultEditorKit$SelectWordAction +javax/swing/text/DefaultEditorKit$SelectLineAction +javax/swing/text/DefaultEditorKit$SelectParagraphAction +javax/swing/text/DefaultEditorKit$SelectAllAction +javax/swing/text/DefaultEditorKit$UnselectAction +javax/swing/text/DefaultEditorKit$ToggleComponentOrientationAction +javax/swing/text/DefaultEditorKit$DumpModelAction +javax/swing/plaf/basic/BasicTextUI$TextTransferHandler +javax/swing/TransferHandler +javax/swing/TransferHandler$TransferAction +sun/swing/UIAction +javax/swing/text/Position$Bias +javax/swing/plaf/basic/BasicTextUI$RootView +javax/swing/text/View +javax/swing/plaf/basic/BasicTextUI$UpdateHandler +javax/swing/event/DocumentListener +javax/swing/plaf/basic/BasicTextUI$DragListener +javax/swing/plaf/basic/DragRecognitionSupport$BeforeDrag +javax/swing/event/MouseInputAdapter +javax/swing/event/MouseInputListener +java/awt/event/MouseAdapter +javax/swing/plaf/metal/MetalBorders +javax/swing/plaf/BorderUIResource$CompoundBorderUIResource +javax/swing/border/CompoundBorder +javax/swing/plaf/metal/MetalBorders$TextFieldBorder +javax/swing/plaf/metal/MetalBorders$Flush3DBorder +javax/swing/plaf/basic/BasicBorders$MarginBorder +javax/swing/plaf/basic/BasicTextUI$BasicCaret +javax/swing/text/DefaultCaret +javax/swing/text/Caret +javax/swing/text/DefaultCaret$Handler +java/awt/datatransfer/ClipboardOwner +javax/swing/Timer +javax/swing/Timer$DoPostEvent +javax/swing/plaf/basic/BasicTextUI$BasicHighlighter +javax/swing/text/DefaultHighlighter +javax/swing/text/LayeredHighlighter +javax/swing/text/Highlighter +javax/swing/text/Highlighter$Highlight +javax/swing/text/DefaultHighlighter$DefaultHighlightPainter +javax/swing/text/LayeredHighlighter$LayerPainter +javax/swing/text/Highlighter$HighlightPainter +javax/swing/text/DefaultHighlighter$SafeDamager +javax/swing/ClientPropertyKey +javax/swing/ClientPropertyKey$1 +sun/awt/AWTAccessor$ClientPropertyKeyAccessor +javax/swing/TransferHandler$SwingDropTarget +java/awt/dnd/DropTargetContext +java/awt/datatransfer/SystemFlavorMap +java/awt/datatransfer/FlavorMap +java/awt/datatransfer/FlavorTable +java/awt/datatransfer/SystemFlavorMap$SoftCache +javax/swing/TransferHandler$DropHandler +javax/swing/TransferHandler$TransferSupport +javax/swing/text/PlainDocument +javax/swing/text/AbstractDocument +javax/swing/text/GapContent +javax/swing/text/AbstractDocument$Content +javax/swing/text/GapVector +javax/swing/text/GapContent$MarkVector +javax/swing/text/GapContent$MarkData +javax/swing/text/StyleContext +javax/swing/text/AbstractDocument$AttributeContext +javax/swing/text/StyleConstants +javax/swing/text/StyleConstants$CharacterConstants +javax/swing/text/AttributeSet$CharacterAttribute +javax/swing/text/StyleConstants$FontConstants +javax/swing/text/AttributeSet$FontAttribute +javax/swing/text/StyleConstants$ColorConstants +javax/swing/text/AttributeSet$ColorAttribute +javax/swing/text/StyleConstants$ParagraphConstants +javax/swing/text/AttributeSet$ParagraphAttribute +javax/swing/text/StyleContext$FontKey +javax/swing/text/SimpleAttributeSet +javax/swing/text/MutableAttributeSet +javax/swing/text/AttributeSet +javax/swing/text/SimpleAttributeSet$EmptyAttributeSet +javax/swing/text/StyleContext$NamedStyle +javax/swing/text/Style +java/util/Collections$EmptyEnumeration +javax/swing/text/StyleContext$SmallAttributeSet +java/util/LinkedHashMap$LinkedKeySet +java/util/Collections$3 +java/util/LinkedHashMap$LinkedKeyIterator +javax/swing/text/AbstractDocument$BidiRootElement +javax/swing/text/AbstractDocument$BranchElement +javax/swing/text/AbstractDocument$AbstractElement +javax/swing/text/Element +javax/swing/tree/TreeNode +javax/swing/text/AbstractDocument$1 +javax/swing/text/AbstractDocument$BidiElement +javax/swing/text/AbstractDocument$LeafElement +javax/swing/text/GapContent$StickyPosition +javax/swing/text/Position +javax/swing/text/StyleContext$KeyEnumeration +javax/swing/text/FieldView +javax/swing/text/PlainView +javax/swing/text/TabExpander +javax/swing/text/JTextComponent$DefaultKeymap +javax/swing/text/Keymap +javax/swing/text/JTextComponent$KeymapWrapper +javax/swing/text/JTextComponent$KeymapActionMap +javax/swing/plaf/basic/BasicTextUI$FocusAction +javax/swing/plaf/basic/BasicTextUI$TextActionWrapper +javax/swing/plaf/synth/SynthUI +javax/swing/plaf/synth/SynthConstants +javax/swing/JEditorPane +javax/swing/DefaultBoundedRangeModel +javax/swing/BoundedRangeModel +javax/swing/JTextField$ScrollRepainter +javax/swing/DefaultButtonModel +javax/swing/ButtonModel +javax/swing/AbstractButton$Handler +javax/swing/plaf/basic/BasicButtonUI +javax/swing/plaf/ButtonUI +javax/swing/plaf/metal/MetalBorders$ButtonBorder +javax/swing/plaf/basic/BasicButtonListener +javax/swing/event/AncestorListener +java/beans/VetoableChangeListener +javax/swing/plaf/metal/MetalComboBoxButton +javax/swing/plaf/basic/BasicArrowButton +javax/swing/plaf/metal/MetalScrollButton +sun/swing/ImageIconUIResource +javax/swing/GrayFilter +java/awt/image/RGBImageFilter +java/awt/image/ImageFilter +java/awt/image/FilteredImageSource +javax/swing/plaf/basic/BasicGraphicsUtils +javax/swing/ButtonGroup +org/xml/sax/SAXException +javax/xml/parsers/ParserConfigurationException +org/xml/sax/EntityResolver +org/w3c/dom/Node +java/io/StringReader +java/security/NoSuchAlgorithmException +java/security/GeneralSecurityException +java/util/zip/DeflaterOutputStream +java/util/zip/GZIPInputStream +org/xml/sax/InputSource +javax/xml/parsers/DocumentBuilderFactory +javax/xml/parsers/FactoryFinder +javax/xml/parsers/SecuritySupport +javax/xml/parsers/SecuritySupport$2 +javax/xml/parsers/SecuritySupport$5 +javax/xml/parsers/FactoryFinder$1 +javax/xml/parsers/DocumentBuilder +org/w3c/dom/Document +org/xml/sax/helpers/DefaultHandler +org/xml/sax/DTDHandler +org/xml/sax/ContentHandler +org/xml/sax/ErrorHandler +org/xml/sax/SAXNotSupportedException +org/xml/sax/Locator +org/xml/sax/SAXNotRecognizedException +org/xml/sax/SAXParseException +org/w3c/dom/NodeList +org/w3c/dom/events/EventTarget +org/w3c/dom/traversal/DocumentTraversal +org/w3c/dom/events/DocumentEvent +org/w3c/dom/ranges/DocumentRange +org/w3c/dom/Entity +org/w3c/dom/Element +org/w3c/dom/CharacterData +org/w3c/dom/CDATASection +org/w3c/dom/Text +org/xml/sax/AttributeList +org/w3c/dom/DOMException +org/w3c/dom/DocumentType +org/w3c/dom/Notation +org/w3c/dom/Attr +org/w3c/dom/EntityReference +org/w3c/dom/ProcessingInstruction +org/w3c/dom/Comment +org/w3c/dom/DocumentFragment +org/w3c/dom/traversal/TreeWalker +org/w3c/dom/ranges/Range +org/w3c/dom/events/Event +org/w3c/dom/events/MutationEvent +org/w3c/dom/traversal/NodeIterator +org/w3c/dom/events/EventException +java/lang/StringIndexOutOfBoundsException +org/w3c/dom/NamedNodeMap +java/awt/GridLayout +javax/swing/JToggleButton$ToggleButtonModel +javax/swing/plaf/metal/MetalRadioButtonUI +javax/swing/plaf/basic/BasicRadioButtonUI +javax/swing/plaf/basic/BasicToggleButtonUI +javax/swing/plaf/basic/BasicBorders +javax/swing/plaf/basic/BasicBorders$RadioButtonBorder +javax/swing/plaf/basic/BasicBorders$ButtonBorder +javax/swing/plaf/metal/MetalIconFactory$RadioButtonIcon +javax/swing/plaf/basic/BasicRadioButtonUI$KeyHandler +javax/swing/plaf/basic/BasicRadioButtonUI$SelectPreviousBtn +javax/swing/plaf/basic/BasicRadioButtonUI$SelectNextBtn +javax/swing/event/ChangeEvent +java/awt/event/ItemEvent +javax/swing/ToolTipManager +javax/swing/ToolTipManager$insideTimerAction +javax/swing/ToolTipManager$outsideTimerAction +javax/swing/ToolTipManager$stillInsideTimerAction +javax/swing/ToolTipManager$MoveBeforeEnterListener +java/awt/event/MouseMotionAdapter +javax/swing/ToolTipManager$AccessibilityKeyListener +java/awt/event/KeyAdapter +java/awt/CardLayout$Card +javax/swing/JComboBox +javax/swing/event/ListDataListener +javax/swing/JCheckBox +javax/swing/JPopupMenu +javax/swing/MenuElement +javax/swing/DefaultComboBoxModel +javax/swing/MutableComboBoxModel +javax/swing/ComboBoxModel +javax/swing/ListModel +javax/swing/AbstractListModel +javax/swing/JComboBox$1 +javax/swing/AncestorNotifier +javax/swing/plaf/metal/MetalComboBoxUI +javax/swing/plaf/basic/BasicComboBoxUI +javax/swing/plaf/ComboBoxUI +javax/swing/plaf/metal/MetalComboBoxUI$MetalComboBoxLayoutManager +javax/swing/plaf/basic/BasicComboBoxUI$ComboBoxLayoutManager +javax/swing/plaf/basic/BasicComboPopup +javax/swing/plaf/basic/ComboPopup +javax/swing/plaf/basic/BasicComboPopup$EmptyListModelClass +javax/swing/plaf/basic/BasicLookAndFeel$AWTEventHelper +java/awt/event/AWTEventListenerProxy +java/awt/Toolkit$SelectiveAWTEventListener +java/awt/Toolkit$ToolkitEventMulticaster +javax/swing/plaf/basic/BasicLookAndFeel$1 +javax/swing/plaf/basic/DefaultMenuLayout +javax/swing/plaf/metal/MetalBorders$PopupMenuBorder +javax/swing/plaf/basic/BasicPopupMenuUI$BasicPopupMenuListener +javax/swing/event/PopupMenuListener +javax/swing/plaf/basic/BasicPopupMenuUI$BasicMenuKeyListener +javax/swing/event/MenuKeyListener +javax/swing/plaf/basic/BasicPopupMenuUI$MouseGrabber +javax/swing/MenuSelectionManager +javax/swing/plaf/basic/BasicPopupMenuUI$MenuKeyboardHelper +javax/swing/plaf/basic/BasicPopupMenuUI$MenuKeyboardHelper$1 +java/awt/event/FocusAdapter +javax/swing/plaf/basic/BasicComboPopup$1 +javax/swing/JList +javax/swing/DefaultListSelectionModel +javax/swing/ListSelectionModel +javax/swing/plaf/basic/BasicListUI +javax/swing/plaf/ListUI +javax/swing/plaf/basic/BasicListUI$ListTransferHandler +javax/swing/DefaultListCellRenderer$UIResource +javax/swing/DefaultListCellRenderer +javax/swing/ListCellRenderer +javax/swing/plaf/basic/BasicListUI$Handler +javax/swing/event/ListSelectionListener +javax/swing/JMenu +javax/swing/JMenuItem +javax/swing/event/ListSelectionEvent +javax/swing/plaf/basic/BasicComboPopup$Handler +javax/swing/ScrollPaneLayout$UIResource +javax/swing/ScrollPaneLayout +javax/swing/ViewportLayout +javax/swing/plaf/basic/BasicViewportUI +javax/swing/plaf/ViewportUI +javax/swing/JScrollPane$ScrollBar +javax/swing/JScrollBar +java/awt/Adjustable +javax/swing/JScrollBar$ModelListener +javax/swing/plaf/metal/MetalScrollBarUI +javax/swing/plaf/basic/BasicScrollBarUI +javax/swing/plaf/ScrollBarUI +javax/swing/plaf/metal/MetalBumps +javax/swing/plaf/basic/BasicScrollBarUI$TrackListener +javax/swing/plaf/basic/BasicScrollBarUI$ArrowButtonListener +javax/swing/plaf/basic/BasicScrollBarUI$ModelListener +javax/swing/plaf/metal/MetalScrollBarUI$ScrollBarListener +javax/swing/plaf/basic/BasicScrollBarUI$PropertyChangeHandler +javax/swing/plaf/basic/BasicScrollBarUI$Handler +javax/swing/plaf/basic/BasicScrollBarUI$ScrollListener +javax/swing/JViewport$ViewListener +javax/swing/plaf/metal/MetalScrollPaneUI +javax/swing/plaf/basic/BasicScrollPaneUI +javax/swing/plaf/ScrollPaneUI +javax/swing/plaf/metal/MetalBorders$ScrollPaneBorder +javax/swing/plaf/basic/BasicScrollPaneUI$Handler +javax/swing/plaf/metal/MetalScrollPaneUI$1 +javax/swing/plaf/basic/BasicComboBoxRenderer$UIResource +javax/swing/plaf/basic/BasicComboBoxRenderer +javax/swing/plaf/metal/MetalComboBoxEditor$UIResource +javax/swing/plaf/metal/MetalComboBoxEditor +javax/swing/plaf/basic/BasicComboBoxEditor +javax/swing/ComboBoxEditor +javax/swing/plaf/basic/BasicComboBoxEditor$BorderlessTextField +javax/swing/plaf/basic/BasicComboBoxEditor$UIResource +javax/swing/text/Segment +java/text/CharacterIterator +javax/swing/plaf/metal/MetalComboBoxEditor$1 +javax/swing/plaf/metal/MetalComboBoxEditor$EditorBorder +javax/swing/JToolBar +javax/swing/plaf/metal/MetalComboBoxUI$MetalPropertyChangeListener +javax/swing/plaf/basic/BasicComboBoxUI$PropertyChangeHandler +javax/swing/plaf/basic/BasicComboBoxUI$Handler +javax/swing/plaf/metal/MetalComboBoxIcon +javax/swing/plaf/metal/MetalComboBoxButton$1 +javax/swing/plaf/basic/BasicComboBoxUI$DefaultKeySelectionManager +javax/swing/JComboBox$KeySelectionManager +javax/swing/plaf/metal/MetalCheckBoxUI +javax/swing/plaf/metal/MetalIconFactory$CheckBoxIcon +java/lang/ExceptionInInitializerError +com/sun/java/swing/plaf/windows/WindowsTabbedPaneUI +javax/swing/JProgressBar +javax/swing/JProgressBar$ModelListener +javax/swing/plaf/metal/MetalProgressBarUI +javax/swing/plaf/basic/BasicProgressBarUI +javax/swing/plaf/ProgressBarUI +javax/swing/plaf/BorderUIResource$LineBorderUIResource +javax/swing/plaf/basic/BasicProgressBarUI$Handler +javax/swing/JTable +javax/swing/event/TableModelListener +javax/swing/event/TableColumnModelListener +javax/swing/event/CellEditorListener +javax/swing/event/RowSorterListener +javax/swing/tree/TreeModel +javax/swing/table/TableCellRenderer +javax/swing/table/JTableHeader +javax/swing/event/TreeExpansionListener +javax/swing/table/AbstractTableModel +javax/swing/table/TableModel +javax/swing/table/DefaultTableCellRenderer +javax/swing/JCheckBoxMenuItem +javax/swing/JTree +javax/swing/tree/TreeSelectionModel +javax/swing/tree/DefaultTreeCellRenderer +javax/swing/tree/TreeCellRenderer +javax/swing/table/TableCellEditor +javax/swing/CellEditor +javax/swing/JToolTip +javax/swing/table/TableColumn +javax/swing/table/DefaultTableColumnModel +javax/swing/table/TableColumnModel +javax/swing/table/DefaultTableModel +javax/swing/event/TableModelEvent +sun/swing/table/DefaultTableCellHeaderRenderer +sun/swing/table/DefaultTableCellHeaderRenderer$EmptyIcon +javax/swing/plaf/basic/BasicTableHeaderUI +javax/swing/plaf/TableHeaderUI +javax/swing/plaf/basic/BasicTableHeaderUI$1 +javax/swing/plaf/basic/BasicTableHeaderUI$MouseInputHandler +javax/swing/DefaultCellEditor +javax/swing/tree/TreeCellEditor +javax/swing/AbstractCellEditor +javax/swing/plaf/basic/BasicTableUI +javax/swing/plaf/TableUI +javax/swing/plaf/basic/BasicTableUI$TableTransferHandler +javax/swing/plaf/basic/BasicTableUI$Handler +javax/swing/tree/DefaultTreeSelectionModel +javax/swing/tree/TreePath +javax/swing/plaf/metal/MetalTreeUI +javax/swing/plaf/basic/BasicTreeUI +javax/swing/plaf/TreeUI +javax/swing/plaf/basic/BasicTreeUI$Actions +javax/swing/plaf/basic/BasicTreeUI$TreeTransferHandler +javax/swing/plaf/metal/MetalTreeUI$LineListener +javax/swing/plaf/basic/BasicTreeUI$Handler +javax/swing/event/TreeModelListener +javax/swing/event/TreeSelectionListener +javax/swing/event/SwingPropertyChangeSupport +javax/swing/tree/VariableHeightLayoutCache +javax/swing/tree/AbstractLayoutCache +javax/swing/tree/RowMapper +javax/swing/plaf/basic/BasicTreeUI$NodeDimensionsHandler +javax/swing/tree/AbstractLayoutCache$NodeDimensions +javax/swing/JTree$TreeModelHandler +javax/swing/tree/VariableHeightLayoutCache$TreeStateNode +javax/swing/tree/DefaultMutableTreeNode +javax/swing/tree/MutableTreeNode +javax/swing/tree/DefaultMutableTreeNode$PreorderEnumeration +java/util/Vector$1 +javax/swing/event/TableColumnModelEvent +javax/swing/JPopupMenu$Separator +javax/swing/JSeparator +java/text/ParseException +java/text/NumberFormat$Field +javax/swing/text/GapContent$InsertUndo +javax/swing/undo/AbstractUndoableEdit +javax/swing/undo/UndoableEdit +javax/swing/text/AbstractDocument$DefaultDocumentEvent +javax/swing/event/DocumentEvent +javax/swing/undo/CompoundEdit +javax/swing/event/DocumentEvent$EventType +javax/swing/text/Utilities +javax/swing/text/SegmentCache +javax/swing/text/SegmentCache$CachedSegment +javax/swing/event/DocumentEvent$ElementChange +javax/swing/event/UndoableEditEvent +javax/swing/event/UndoableEditListener +java/awt/Canvas +java/util/Locale$Category +java/util/Locale$1 +javax/swing/filechooser/FileFilter +java/io/FileWriter +javax/swing/tree/DefaultTreeModel +javax/swing/tree/DefaultTreeCellEditor +javax/swing/tree/DefaultTreeCellEditor$1 +javax/swing/tree/DefaultTreeCellEditor$DefaultTextField +javax/swing/DefaultCellEditor$1 +javax/swing/DefaultCellEditor$EditorDelegate +javax/swing/tree/DefaultTreeCellEditor$EditorContainer +javax/swing/JTree$TreeSelectionRedirector +javax/swing/JMenuItem$MenuItemFocusListener +javax/swing/plaf/basic/BasicMenuItemUI +javax/swing/plaf/MenuItemUI +javax/swing/plaf/metal/MetalBorders$MenuItemBorder +javax/swing/plaf/metal/MetalIconFactory$MenuItemArrowIcon +sun/swing/MenuItemLayoutHelper +javax/swing/plaf/basic/BasicMenuItemUI$Handler +javax/swing/event/MenuDragMouseListener +javax/swing/event/TreeModelEvent +javax/swing/JSplitPane +javax/swing/plaf/metal/MetalSplitPaneUI +javax/swing/plaf/basic/BasicSplitPaneUI +javax/swing/plaf/SplitPaneUI +javax/swing/plaf/basic/BasicSplitPaneDivider +javax/swing/plaf/basic/BasicBorders$SplitPaneBorder +javax/swing/plaf/metal/MetalSplitPaneDivider +javax/swing/plaf/basic/BasicSplitPaneDivider$DividerLayout +javax/swing/plaf/basic/BasicSplitPaneDivider$MouseHandler +javax/swing/plaf/basic/BasicBorders$SplitPaneDividerBorder +javax/swing/plaf/basic/BasicSplitPaneUI$BasicHorizontalLayoutManager +javax/swing/plaf/basic/BasicSplitPaneUI$1 +javax/swing/plaf/basic/BasicSplitPaneUI$Handler +javax/swing/plaf/metal/MetalSplitPaneDivider$1 +javax/swing/plaf/basic/BasicSplitPaneDivider$OneTouchActionHandler +javax/swing/plaf/metal/MetalSplitPaneDivider$2 +javax/swing/border/TitledBorder +javax/swing/plaf/basic/BasicTextAreaUI +javax/swing/text/AbstractDocument$ElementEdit +java/util/Random +java/util/concurrent/atomic/AtomicLong +java/net/NoRouteToHostException +java/net/BindException +javax/swing/tree/PathPlaceHolder +javax/swing/event/TreeSelectionEvent +javax/swing/JList$3 +javax/swing/JList$ListSelectionHandler +javax/swing/JSlider +javax/swing/JSlider$ModelListener +javax/swing/plaf/metal/MetalSliderUI +javax/swing/plaf/basic/BasicSliderUI +javax/swing/plaf/SliderUI +javax/swing/plaf/basic/BasicSliderUI$Actions +javax/swing/plaf/metal/MetalIconFactory$HorizontalSliderThumbIcon +javax/swing/plaf/metal/MetalIconFactory$VerticalSliderThumbIcon +javax/swing/plaf/basic/BasicSliderUI$TrackListener +javax/swing/plaf/basic/BasicSliderUI$Handler +javax/swing/plaf/basic/BasicSliderUI$ScrollListener +javax/swing/plaf/metal/MetalSliderUI$MetalPropertyListener +javax/swing/plaf/basic/BasicSliderUI$PropertyChangeHandler +sun/font/SunFontManager$FamilyDescription +java/util/concurrent/ConcurrentHashMap$KeyIterator +java/util/concurrent/ConcurrentHashMap$BaseIterator +java/util/concurrent/ConcurrentHashMap$Traverser +sun/font/SunFontManager$10 +sun/font/SunFontManager$11 +java/util/concurrent/ConcurrentHashMap$ValueIterator +java/lang/CharacterData00 +javax/swing/DefaultListModel +javax/swing/event/ListDataEvent +javax/sound/sampled/DataLine +javax/sound/sampled/Line +javax/sound/sampled/Line$Info +javax/sound/sampled/DataLine$Info +javax/sound/sampled/Control$Type +javax/sound/sampled/FloatControl$Type +javax/sound/sampled/LineUnavailableException +javax/sound/sampled/UnsupportedAudioFileException +javax/swing/JMenuBar +javax/swing/plaf/basic/BasicMenuBarUI +javax/swing/plaf/MenuBarUI +javax/swing/plaf/metal/MetalBorders$MenuBarBorder +javax/swing/plaf/basic/BasicMenuBarUI$Handler +javax/swing/KeyboardManager +javax/swing/JRadioButtonMenuItem +javax/swing/JMenu$MenuChangeListener +javax/swing/plaf/basic/BasicMenuUI +javax/swing/plaf/metal/MetalIconFactory$MenuArrowIcon +javax/swing/plaf/basic/BasicMenuUI$Handler +javax/swing/JMenuItem$AccessibleJMenuItem +javax/swing/AbstractButton$AccessibleAbstractButton +javax/accessibility/AccessibleAction +javax/accessibility/AccessibleValue +javax/accessibility/AccessibleText +javax/accessibility/AccessibleExtendedComponent +javax/accessibility/AccessibleComponent +javax/swing/JComponent$AccessibleJComponent +java/awt/Container$AccessibleAWTContainer +java/awt/Component$AccessibleAWTComponent +javax/accessibility/AccessibleContext$1 +sun/awt/AWTAccessor$AccessibleContextAccessor +javax/accessibility/AccessibleRelationSet +javax/swing/JMenu$WinListener +java/awt/event/WindowAdapter +javax/swing/plaf/metal/MetalPopupMenuSeparatorUI +javax/swing/plaf/metal/MetalSeparatorUI +javax/swing/plaf/basic/BasicSeparatorUI +javax/swing/plaf/SeparatorUI +javax/accessibility/AccessibleState +javax/accessibility/AccessibleBundle +javax/swing/plaf/basic/BasicCheckBoxMenuItemUI +javax/swing/plaf/metal/MetalIconFactory$CheckBoxMenuItemIcon +javax/swing/JCheckBoxMenuItem$AccessibleJCheckBoxMenuItem +javax/swing/plaf/basic/BasicRadioButtonMenuItemUI +javax/swing/plaf/metal/MetalIconFactory$RadioButtonMenuItemIcon +java/awt/event/ContainerEvent +sun/awt/image/ImageDecoder$1 +java/awt/im/InputContext +sun/awt/im/InputMethodContext +java/awt/im/spi/InputMethodContext +java/awt/im/InputMethodRequests +sun/awt/im/InputContext +sun/awt/windows/WInputMethod +sun/awt/im/InputMethodAdapter +java/awt/im/spi/InputMethod +sun/util/locale/ParseStatus +sun/util/locale/StringTokenIterator +sun/util/locale/InternalLocaleBuilder +sun/util/locale/InternalLocaleBuilder$CaseInsensitiveChar +javax/swing/JTabbedPane$Page +java/net/DatagramSocket +java/net/MulticastSocket +java/net/DatagramPacket +java/net/DatagramPacket$1 +java/net/Inet4AddressImpl +sun/net/InetAddressCachePolicy +sun/net/InetAddressCachePolicy$1 +java/security/Security +java/security/Security$1 +sun/net/InetAddressCachePolicy$2 +java/net/InetAddress$CacheEntry +java/text/Collator +java/net/DefaultDatagramSocketImplFactory +sun/util/locale/provider/CollatorProviderImpl +java/net/DefaultDatagramSocketImplFactory$1 +java/net/DualStackPlainDatagramSocketImpl +java/util/Collections$UnmodifiableList$1 +java/net/AbstractPlainDatagramSocketImpl +java/net/DatagramSocketImpl +sun/text/resources/CollationData +java/net/AbstractPlainDatagramSocketImpl$1 +java/text/RuleBasedCollator +java/net/TwoStacksPlainDatagramSocketImpl +java/text/RBCollationTables +java/net/DatagramSocket$1 +java/text/RBTableBuilder +java/net/NetworkInterface +java/text/RBCollationTables$BuildAPI +sun/text/IntHashtable +sun/net/ResourceManager +sun/text/UCompactIntArray +sun/text/normalizer/NormalizerImpl +sun/text/normalizer/ICUData +java/net/NetworkInterface$1 +java/net/InterfaceAddress +java/net/DefaultInterface +java/net/ServerSocket +sun/text/normalizer/NormalizerDataReader +sun/text/normalizer/ICUBinary$Authenticate +sun/text/normalizer/ICUBinary +sun/text/normalizer/NormalizerImpl$FCDTrieImpl +sun/text/normalizer/Trie$DataManipulate +sun/text/normalizer/NormalizerImpl$NormTrieImpl +sun/text/normalizer/NormalizerImpl$AuxTrieImpl +sun/text/normalizer/IntTrie +sun/text/normalizer/Trie +sun/text/normalizer/CharTrie +sun/text/normalizer/CharTrie$FriendAgent +sun/text/normalizer/UnicodeSet +sun/text/normalizer/UnicodeMatcher +sun/text/normalizer/NormalizerImpl$DecomposeArgs +java/text/MergeCollation +java/text/PatternEntry$Parser +java/text/PatternEntry +java/text/EntryPair +sun/text/ComposedCharIter +sun/text/normalizer/UTF16 +sun/net/www/protocol/http/Handler +java/security/SignatureException +java/security/InvalidKeyException +java/security/KeyException +java/security/Signature +java/security/SignatureSpi +java/io/ObjectInputStream$BlockDataInputStream +java/io/ObjectInputStream$PeekInputStream +java/io/ObjectInputStream$HandleTable +java/io/ObjectInputStream$HandleTable$HandleList +java/io/ObjectInputStream$ValidationList +java/io/Bits +java/io/ObjectStreamClass +sun/security/provider/DSAPublicKey +java/security/interfaces/DSAPublicKey +java/security/interfaces/DSAKey +java/security/PublicKey +java/security/Key +sun/security/x509/X509Key +java/io/ObjectStreamClass$Caches +java/io/ObjectStreamClass$WeakClassKey +java/io/ObjectStreamClass$EntryFuture +java/io/ObjectOutputStream +java/io/ObjectOutput +java/lang/reflect/Proxy +java/lang/reflect/InvocationHandler +java/lang/reflect/WeakCache +java/lang/reflect/Proxy$KeyFactory +java/lang/reflect/Proxy$ProxyClassFactory +java/io/Externalizable +java/io/ObjectStreamClass$2 +sun/security/x509/AlgorithmId +sun/security/util/DerEncoder +sun/security/util/BitArray +sun/reflect/SerializationConstructorAccessorImpl +sun/reflect/UnsafeQualifiedStaticLongFieldAccessorImpl +java/io/ObjectStreamClass$FieldReflectorKey +sun/security/util/DerOutputStream +java/io/ObjectStreamClass$FieldReflector +sun/security/util/DerValue +java/io/ObjectStreamClass$1 +java/io/DataOutputStream +java/io/ObjectStreamClass$MemberSignature +java/math/BigInteger +java/io/ObjectStreamClass$3 +java/io/ObjectStreamClass$4 +java/security/interfaces/DSAParams +java/io/ObjectStreamClass$5 +java/io/ObjectStreamClass$ClassDataSlot +java/io/SerialCallbackContext +java/security/MessageDigest +java/security/MessageDigestSpi +sun/security/util/DerInputStream +sun/security/jca/GetInstance +sun/security/util/DerInputBuffer +sun/security/jca/Providers +java/lang/InheritableThreadLocal +sun/security/util/ObjectIdentifier +sun/security/jca/ProviderList +sun/security/jca/ProviderConfig +java/security/Provider +sun/security/jca/ProviderList$3 +sun/security/jca/ProviderList$1 +java/security/Provider$ServiceKey +java/security/Provider$EngineDescription +java/security/AlgorithmParameters +java/security/AlgorithmParametersSpi +sun/security/jca/ProviderList$2 +sun/security/jca/ProviderConfig$2 +sun/security/provider/Sun +sun/security/provider/SunEntries +sun/security/provider/SunEntries$1 +sun/security/provider/NativePRNG +sun/security/provider/NativePRNG$Blocking +sun/security/provider/NativePRNG$NonBlocking +java/security/Provider$Service +java/security/Provider$UString +sun/security/provider/SHA +sun/security/provider/DSAParameters +sun/security/provider/DigestBase +sun/security/jca/GetInstance$Instance +java/security/MessageDigest$Delegate +sun/security/util/ByteArrayLexOrder +sun/security/util/ByteArrayTagOrder +sun/security/provider/ByteArrayAccess +sun/security/util/DerIndefLenConverter +java/io/ObjectOutputStream$BlockDataOutputStream +java/io/ObjectOutputStream$HandleTable +java/io/ObjectOutputStream$ReplaceTable +java/io/ObjectStreamClass$ExceptionInfo +java/io/ObjectInputStream$GetFieldImpl +java/io/ObjectInputStream$GetField +java/math/BigInteger$UnsafeHolder +sun/security/jca/ServiceId +sun/security/jca/ProviderList$ServiceList +sun/security/jca/ProviderList$ServiceList$1 +java/security/Signature$Delegate +java/util/ArrayList$SubList +java/util/ArrayList$SubList$1 +java/security/interfaces/DSAPrivateKey +java/security/PrivateKey +javax/security/auth/Destroyable +sun/security/provider/DSA$SHA1withDSA +sun/security/provider/DSA$LegacyDSA +sun/security/provider/DSA +java/security/spec/DSAParameterSpec +java/security/spec/AlgorithmParameterSpec +java/math/MutableBigInteger +java/math/SignedMutableBigInteger +javax/swing/TimerQueue +java/util/concurrent/DelayQueue +java/util/concurrent/BlockingQueue +java/util/AbstractQueue +java/util/PriorityQueue +javax/swing/TimerQueue$1 +javax/swing/TimerQueue$DelayedTimer +java/util/concurrent/Delayed +java/util/concurrent/TimeUnit +java/util/concurrent/TimeUnit$1 +java/util/concurrent/TimeUnit$2 +java/util/concurrent/TimeUnit$3 +java/util/concurrent/TimeUnit$4 +java/util/concurrent/TimeUnit$5 +java/util/concurrent/TimeUnit$6 +java/util/concurrent/TimeUnit$7 +java/awt/Window$1DisposeAction +java/awt/EventQueue$1AWTInvocationLock +java/awt/LightweightDispatcher$2 +java/awt/Component$FlipBufferStrategy +java/lang/StrictMath +javax/swing/JLayer +javax/swing/JInternalFrame +javax/swing/KeyboardManager$ComponentKeyStrokePair +sun/swing/MenuItemLayoutHelper$RectSize +javax/swing/JTable$2 +javax/swing/JTable$Resizable3 +javax/swing/JTable$Resizable2 +javax/swing/JTable$5 +java/awt/Label +sun/awt/windows/WLabelPeer +java/awt/peer/LabelPeer +java/awt/Event +sun/awt/PlatformFont$PlatformFontCache +sun/nio/cs/UTF_16LE$Encoder +sun/nio/cs/UnicodeEncoder +sun/nio/cs/UTF_16LE$Decoder +sun/nio/cs/Surrogate$Parser +sun/nio/cs/Surrogate +java/awt/KeyboardFocusManager$3 +java/net/Authenticator +sun/awt/AppContext$PostShutdownEventRunnable +sun/awt/AWTAutoShutdown$1 +java/net/ConnectException +java/lang/Throwable$WrappedPrintStream +java/lang/Throwable$PrintStreamOrWriter +sun/awt/image/PNGImageDecoder +sun/awt/image/PNGFilterInputStream +sun/awt/image/OffScreenImage +sun/util/locale/provider/TimeZoneNameUtility +sun/util/locale/provider/TimeZoneNameProviderImpl +sun/util/locale/provider/TimeZoneNameUtility$TimeZoneNameGetter +sun/util/resources/TimeZoneNames +sun/util/resources/TimeZoneNamesBundle +sun/util/resources/en/TimeZoneNames_en +java/io/FilterReader +java/io/EOFException +javax/swing/filechooser/FileSystemView +javax/swing/filechooser/WindowsFileSystemView +javax/swing/filechooser/FileSystemView$1 +java/util/jar/JarFile$JarEntryIterator +java/util/zip/ZipFile$ZipEntryIterator +java/lang/IllegalAccessError +java/text/MessageFormat +java/text/MessageFormat$Field +java/util/Hashtable$ValueCollection +javax/swing/event/CaretListener +javax/swing/plaf/metal/MetalButtonUI +javax/swing/plaf/metal/MetalToggleButtonUI +javax/swing/plaf/metal/MetalBorders$ToggleButtonBorder +javax/swing/event/MenuEvent +javax/swing/border/MatteBorder +sun/font/StandardGlyphVector +java/awt/font/GlyphVector +sun/font/StandardGlyphVector$GlyphStrike +sun/font/CoreMetrics +sun/font/FontLineMetrics +java/awt/font/LineMetrics +javax/swing/JToolBar$DefaultToolBarLayout +javax/swing/plaf/metal/MetalToolBarUI +javax/swing/plaf/basic/BasicToolBarUI +javax/swing/plaf/ToolBarUI +javax/swing/plaf/metal/MetalBorders$ToolBarBorder +javax/swing/plaf/metal/MetalBorders$RolloverButtonBorder +javax/swing/plaf/metal/MetalBorders$RolloverMarginBorder +javax/swing/plaf/basic/BasicBorders$RolloverMarginBorder +javax/swing/plaf/metal/MetalToolBarUI$MetalDockingListener +javax/swing/plaf/basic/BasicToolBarUI$DockingListener +javax/swing/plaf/basic/BasicToolBarUI$Handler +javax/swing/JToolBar$Separator +javax/swing/plaf/basic/BasicToolBarSeparatorUI +java/awt/event/AdjustmentEvent +java/awt/MenuBar +# 7b979133406b8b9a diff --git a/java/lib/cmm/CIEXYZ.pf b/java/lib/cmm/CIEXYZ.pf new file mode 100644 index 0000000000000000000000000000000000000000..db3ba20a9b6aecadc6d8cd8eb62fb7fb5ee03a29 Binary files /dev/null and b/java/lib/cmm/CIEXYZ.pf differ diff --git a/java/lib/cmm/GRAY.pf b/java/lib/cmm/GRAY.pf new file mode 100644 index 0000000000000000000000000000000000000000..e31a4a777cde70c4a40e2c4e8d13c2267417e697 Binary files /dev/null and b/java/lib/cmm/GRAY.pf differ diff --git a/java/lib/cmm/LINEAR_RGB.pf b/java/lib/cmm/LINEAR_RGB.pf new file mode 100644 index 0000000000000000000000000000000000000000..eadae048db88848b32c08ef255a07a2f427d6a85 Binary files /dev/null and b/java/lib/cmm/LINEAR_RGB.pf differ diff --git a/java/lib/cmm/PYCC.pf b/java/lib/cmm/PYCC.pf new file mode 100644 index 0000000000000000000000000000000000000000..2705e2a2168070b04486e5777908e018a04808ab --- /dev/null +++ b/java/lib/cmm/PYCC.pf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:48122294b5c08c69b7fe1db28904969dcb6edc9aa5076e3f8768bf48b76204d0 +size 274474 diff --git a/java/lib/cmm/sRGB.pf b/java/lib/cmm/sRGB.pf new file mode 100644 index 0000000000000000000000000000000000000000..7f9d18d097d1bcccb32e6d5743ac4af593170b6f Binary files /dev/null and b/java/lib/cmm/sRGB.pf differ diff --git a/java/lib/content-types.properties b/java/lib/content-types.properties new file mode 100644 index 0000000000000000000000000000000000000000..894935256763fb0930dcb662bba3e3bcaf31c303 --- /dev/null +++ b/java/lib/content-types.properties @@ -0,0 +1,276 @@ +#sun.net.www MIME content-types table +# +# Property fields: +# +# ::= 'description' '=' +# ::= 'file_extensions' '=' +# ::= 'icon' '=' +# ::= 'browser' | 'application' | 'save' | 'unknown' +# ::= 'application' '=' +# + +# +# The "we don't know anything about this data" type(s). +# Used internally to mark unrecognized types. +# +content/unknown: description=Unknown Content +unknown/unknown: description=Unknown Data Type + +# +# The template we should use for temporary files when launching an application +# to view a document of given type. +# +temp.file.template: c:\\temp\\%s + +# +# The "real" types. +# +application/octet-stream: \ + description=Generic Binary Stream;\ + file_extensions=.saveme,.dump,.hqx,.arc,.obj,.lib,.bin,.exe,.zip,.gz + +application/oda: \ + description=ODA Document;\ + file_extensions=.oda + +application/pdf: \ + description=Adobe PDF Format;\ + file_extensions=.pdf + +application/postscript: \ + description=Postscript File;\ + file_extensions=.eps,.ai,.ps;\ + icon=ps + +application/rtf: \ + description=Wordpad Document;\ + file_extensions=.rtf;\ + action=application;\ + application=wordpad.exe %s + +application/x-dvi: \ + description=TeX DVI File;\ + file_extensions=.dvi + +application/x-hdf: \ + description=Hierarchical Data Format;\ + file_extensions=.hdf;\ + action=save + +application/x-latex: \ + description=LaTeX Source;\ + file_extensions=.latex + +application/x-netcdf: \ + description=Unidata netCDF Data Format;\ + file_extensions=.nc,.cdf;\ + action=save + +application/x-tex: \ + description=TeX Source;\ + file_extensions=.tex + +application/x-texinfo: \ + description=Gnu Texinfo;\ + file_extensions=.texinfo,.texi + +application/x-troff: \ + description=Troff Source;\ + file_extensions=.t,.tr,.roff + +application/x-troff-man: \ + description=Troff Manpage Source;\ + file_extensions=.man + +application/x-troff-me: \ + description=Troff ME Macros;\ + file_extensions=.me + +application/x-troff-ms: \ + description=Troff MS Macros;\ + file_extensions=.ms + +application/x-wais-source: \ + description=Wais Source;\ + file_extensions=.src,.wsrc + +application/zip: \ + description=Zip File;\ + file_extensions=.zip;\ + icon=zip;\ + action=save + +application/x-bcpio: \ + description=Old Binary CPIO Archive;\ + file_extensions=.bcpio;\ + action=save + +application/x-cpio: \ + description=Unix CPIO Archive;\ + file_extensions=.cpio;\ + action=save + +application/x-gtar: \ + description=Gnu Tar Archive;\ + file_extensions=.gtar;\ + icon=tar;\ + action=save + +application/x-shar: \ + description=Shell Archive;\ + file_extensions=.sh,.shar;\ + action=save + +application/x-sv4cpio: \ + description=SVR4 CPIO Archive;\ + file_extensions=.sv4cpio;\ + action=save + +application/x-sv4crc: \ + description=SVR4 CPIO with CRC;\ + file_extensions=.sv4crc;\ + action=save + +application/x-tar: \ + description=Tar Archive;\ + file_extensions=.tar;\ + icon=tar;\ + action=save + +application/x-ustar: \ + description=US Tar Archive;\ + file_extensions=.ustar;\ + action=save + +audio/basic: \ + description=Basic Audio;\ + file_extensions=.snd,.au;\ + icon=audio + +audio/x-aiff: \ + description=Audio Interchange Format File;\ + file_extensions=.aifc,.aif,.aiff;\ + icon=aiff + +audio/x-wav: \ + description=Wav Audio;\ + file_extensions=.wav;\ + icon=wav;\ + action=application;\ + application=mplayer.exe %s + +image/gif: \ + description=GIF Image;\ + file_extensions=.gif;\ + icon=gif;\ + action=browser + +image/ief: \ + description=Image Exchange Format;\ + file_extensions=.ief + +image/jpeg: \ + description=JPEG Image;\ + file_extensions=.jfif,.jfif-tbnl,.jpe,.jpg,.jpeg;\ + icon=jpeg;\ + action=browser + +image/tiff: \ + description=TIFF Image;\ + file_extensions=.tif,.tiff;\ + icon=tiff + +image/vnd.fpx: \ + description=FlashPix Image;\ + file_extensions=.fpx,.fpix + +image/x-cmu-rast: \ + description=CMU Raster Image;\ + file_extensions=.ras + +image/x-portable-anymap: \ + description=PBM Anymap Image;\ + file_extensions=.pnm + +image/x-portable-bitmap: \ + description=PBM Bitmap Image;\ + file_extensions=.pbm + +image/x-portable-graymap: \ + description=PBM Graymap Image;\ + file_extensions=.pgm + +image/x-portable-pixmap: \ + description=PBM Pixmap Image;\ + file_extensions=.ppm + +image/x-rgb: \ + description=RGB Image;\ + file_extensions=.rgb + +image/x-xbitmap: \ + description=X Bitmap Image;\ + file_extensions=.xbm,.xpm + +image/x-xwindowdump: \ + description=X Window Dump Image;\ + file_extensions=.xwd + +image/png: \ + description=PNG Image;\ + file_extensions=.png;\ + icon=png;\ + action=browser + +image/bmp: \ + description=Bitmap Image;\ + file_extensions=.bmp; + +text/html: \ + description=HTML Document;\ + file_extensions=.htm,.html;\ + icon=html + +text/plain: \ + description=Plain Text;\ + file_extensions=.text,.c,.cc,.c++,.h,.pl,.txt,.java,.el;\ + icon=text;\ + action=browser + +text/tab-separated-values: \ + description=Tab Separated Values Text;\ + file_extensions=.tsv + +text/x-setext: \ + description=Structure Enhanced Text;\ + file_extensions=.etx + +video/mpeg: \ + description=MPEG Video Clip;\ + file_extensions=.mpg,.mpe,.mpeg;\ + icon=mpeg + +video/quicktime: \ + description=QuickTime Video Clip;\ + file_extensions=.mov,.qt + +application/x-troff-msvideo: \ + description=AVI Video;\ + file_extensions=.avi;\ + icon=avi;\ + action=application;\ + application=mplayer.exe %s + +video/x-sgi-movie: \ + description=SGI Movie;\ + file_extensions=.movie,.mv + +message/rfc822: \ + description=Internet Email Message;\ + file_extensions=.mime + +application/xml: \ + description=XML document;\ + file_extensions=.xml + + diff --git a/java/lib/currency.data b/java/lib/currency.data new file mode 100644 index 0000000000000000000000000000000000000000..fbe5e9d96ab7ac254fb5a2040073397b132d5020 Binary files /dev/null and b/java/lib/currency.data differ diff --git a/java/lib/deploy.jar b/java/lib/deploy.jar new file mode 100644 index 0000000000000000000000000000000000000000..9ca88daade43a77a0ebeceaf26effcfe63956b8a --- /dev/null +++ b/java/lib/deploy.jar @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cf46b76c939f81a6da7d8e9b168fc0d06174dc32ab9d2d84afc800dcf0f37c80 +size 2299158 diff --git a/java/lib/deploy/ffjcext.zip b/java/lib/deploy/ffjcext.zip new file mode 100644 index 0000000000000000000000000000000000000000..f4b000b43cefda2499c85f5f472d44ea27847124 --- /dev/null +++ b/java/lib/deploy/ffjcext.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b0f1ee836aee5e05236b1939a29c79c6296f8e3ac9cf6e600f81037b80b37d49 +size 14156 diff --git a/java/lib/deploy/messages.properties b/java/lib/deploy/messages.properties new file mode 100644 index 0000000000000000000000000000000000000000..408b2a81f4f7c4acf0f0ae75d05470b6f0350d93 --- /dev/null +++ b/java/lib/deploy/messages.properties @@ -0,0 +1,57 @@ +# +# Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. +# ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. +# + +error.internal.badmsg=internal error, unknown message +error.badinst.nojre=Bad installation. No JRE found in configuration file +error.launch.execv=Error encountered while invoking Java Web Start (execv) +error.launch.sysexec=Error encountered while invoking Java Web Start (SysExec) +error.listener.failed=Splash: sysCreateListenerSocket failed +error.accept.failed=Splash: accept failed +error.recv.failed=Splash: recv failed +error.invalid.port=Splash: didn't revive a valid port +error.read=Read past end of buffer +error.xmlparsing=XML Parsing error: wrong kind of token found +error.splash.exit=Java Web Start splash screen process exiting .....\n +# "Last WinSock Error" means the error message for the last operation that failed. +error.winsock=\tLast WinSock Error: +error.winsock.load=Couldn't load winsock.dll +error.winsock.start=WSAStartup failed +error.badinst.nohome=Bad installation: JAVAWS_HOME not set +error.splash.noimage=Splash: couldn't load splash screen image +error.splash.socket=Splash: server socket failed +error.splash.cmnd=Splash: unrecognized command +error.splash.port=Splash: port not specified +error.splash.send=Splash: send failed +error.splash.timer=Splash: couldn't create shutdown timer +error.splash.x11.open=Splash: Can't open X11 display +error.splash.x11.connect=Splash: X11 connection failed +# Javaws usage: '\' is a joining of two sentence,which are connected including +# the invisible character '\n'. +message.javaws.usage=\n\ +Usage:\tjavaws [run-options] \n\ + \tjavaws [control-options] \n\ + \n\ +where run-options include: \n\ + -verbose \tdisplay additional output \n\ + -offline \trun the application in offline mode \n\ + -system \trun the application from the system cache only\n\ + -Xnosplash \trun without showing a splash screen \n\ + -J