toolchain: add support of ARC architecture
authorFelix Fietkau <nbd@openwrt.org>
Tue, 10 Nov 2015 12:03:59 +0000 (12:03 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 10 Nov 2015 12:03:59 +0000 (12:03 +0000)
commit8b5d644bb36846660e1fa20d38361fec12a14b28
tree3862ad9cadac2989690765d921a16b875147180a
parent759b1c11872d5df4bd198aaff2a5cf7e68a85314
toolchain: add support of ARC architecture

This includes binutils, gcc, gdb and uClibc-ng.

Latest release of ARC gcc (as of today it is "arc-2015.06")
is based on upstream gcc 4.8.4.

Sources are available on GitHub, see:
https://github.com/foss-for-synopsys-dwc-arc-processors/gcc

Latest release of ARC binutils (as of today it is "arc-2015.06")
is based on upstream binutils 2.23.

Sources are available on GitHub, see:
https://github.com/foss-for-synopsys-dwc-arc-processors/binutils-gdb/releases/tag/arc-2015.06

Latest release of ARC GDB (as of today this is "arc-2015.06-gdb")
is based on upstream gdb 7.9.1.

Sources are available on GitHub, see:
https://github.com/foss-for-synopsys-dwc-arc-processors/binutils-gdb/releases/tag/arc-2015.06-gdb

Note that for binutils and gdb that come from unified git repository
(which is the case for upstream binutils/gdb today) we need to disable
building of gdb in binutils and binutils in gdb hence in binutils:
------>8------
--disable-sim
--disable-gdb
------>8------

and in gdb:
------>8------
--disable-binutils
--disable-ld
--disable-gas
------>8------

Also in gdb we disable sim because if the following breakage while
building with it:
------------>8------------
/usr/bin/env bash ./../common/genmloop.sh -shell /usr/bin/env bash \
        -mono -fast -pbb -switch sem5-switch.c \
        -cpu a5f -infile ./mloop5.in \
        -outfile-suffix 5
unknown option: bash
Makefile:699: recipe for target 'stamp-5mloop' failed
make[7]: *** [stamp-5mloop] Error 1
------------>8------------

Cc: Felix Fietkau <nbd@openwrt.org>
Cc: John Crispin <blogic@openwrt.org>
Cc: Jonas Gorski <jogo@openwrt.org>
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
SVN-Revision: 47438
31 files changed:
include/site/arc [new file with mode: 0644]
include/target.mk
target/Config.in
toolchain/Config.in
toolchain/binutils/Config.in
toolchain/binutils/Config.version [new file with mode: 0644]
toolchain/binutils/Makefile
toolchain/gcc/Config.in
toolchain/gcc/Config.version
toolchain/gcc/common.mk
toolchain/gcc/patches/arc-2015.06/001-revert_register_mode_search.patch [new file with mode: 0644]
toolchain/gcc/patches/arc-2015.06/002-weak_data_fix.patch [new file with mode: 0644]
toolchain/gcc/patches/arc-2015.06/003-universal_initializer.patch [new file with mode: 0644]
toolchain/gcc/patches/arc-2015.06/004-case_insensitive.patch [new file with mode: 0644]
toolchain/gcc/patches/arc-2015.06/010-documentation.patch [new file with mode: 0644]
toolchain/gcc/patches/arc-2015.06/020-no-plt-backport.patch [new file with mode: 0644]
toolchain/gcc/patches/arc-2015.06/100-uclibc-conf.patch [new file with mode: 0644]
toolchain/gcc/patches/arc-2015.06/210-disable_libsanitizer_off_t_check.patch [new file with mode: 0644]
toolchain/gcc/patches/arc-2015.06/800-arc-disablelibgmon.patch [new file with mode: 0644]
toolchain/gcc/patches/arc-2015.06/820-libgcc_pic.patch [new file with mode: 0644]
toolchain/gcc/patches/arc-2015.06/850-use_shared_libgcc.patch [new file with mode: 0644]
toolchain/gcc/patches/arc-2015.06/851-libgcc_no_compat.patch [new file with mode: 0644]
toolchain/gcc/patches/arc-2015.06/860-use_eh_frame.patch [new file with mode: 0644]
toolchain/gcc/patches/arc-2015.06/870-ppc_no_crtsavres.patch [new file with mode: 0644]
toolchain/gcc/patches/arc-2015.06/880-no_java_section.patch [new file with mode: 0644]
toolchain/gcc/patches/arc-2015.06/910-mbsd_multi.patch [new file with mode: 0644]
toolchain/gcc/patches/arc-2015.06/920-specs_nonfatal_getenv.patch [new file with mode: 0644]
toolchain/gcc/patches/arc-2015.06/940-no-clobber-stamp-bits.patch [new file with mode: 0644]
toolchain/gdb/Makefile
toolchain/uClibc/common.mk
toolchain/uClibc/config/arc [new file with mode: 0644]