aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1020 from sifive/dev/paulw/rv64-fixedAlexey Neyman2018-09-213-0/+18
|\ | | | | riscv: add rv64gc support
| * riscv64: add rv64gc linux-gnu samplePaul Walmsley2018-09-102-0/+15
| | | | | | | | | | | | | | | | | | This sample works well for the SiFive U540 device (and similar). Thanks to Jim Wilson <jimw@sifive.com> for his review, discovering several bugs (now fixed). Cc: Jim Wilson <jimw@sifive.com> Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
| * config: arch: riscv: add initial 64-bit supportPaul Walmsley2018-09-101-0/+3
|/ | | | | | | | Add initial rv64 support. Originally based on suggestions from Franz Flasch <franz.flasch@gmx.at>. Cc: Franz Flasch <franz.flasch@gmx.at> Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com> Signed-off-by: Paul Walmsley <paul@pwsan.com>
* Merge pull request #981 from stilor/use-git-version-genAlexey Neyman2018-06-063-11/+238
|\ | | | | Use git-version-gen to generate version info
| * Use git-version-gen to generate version infoAlexey Neyman2018-06-063-11/+238
|/ | | | | Suggested-by: Chris Packham <judge.packham@gmail.com> Signed-off-by: Alexey Neyman <stilor@att.net>
* Merge pull request #979 from stilor/masterAlexey Neyman2018-06-063-15/+54
|\ | | | | Make patch order overridable by individual packages
| * Make patch order overridable by individual packagesAlexey Neyman2018-06-063-15/+54
|/ | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Merge pull request #978 from stilor/fix-gcc8-regressionsAlexey Neyman2018-06-0517-38/+121
|\ | | | | Fix gcc8 regressions
| * Disable context functions for ThumbAlexey Neyman2018-06-051-0/+1
| | | | | | | | | | | | | | | | They're written in ARM dialect, and `ldmia r14, {r14, pc}` is not accepted in T2 encoding. GCC8 changed the list of multilibs for arm-*, which now includes a variant with CPU that supports T2 but not A1 encoding. Signed-off-by: Alexey Neyman <stilor@att.net>
| * Add upstream patch fixing XScale buildAlexey Neyman2018-06-051-0/+52
| | | | | | | | Signed-off-by: Alexey Neyman <stilor@att.net>
| * Add --enable-obsolete for powerpc-*-speAlexey Neyman2018-06-051-3/+3
| | | | | | | | Signed-off-by: Alexey Neyman <stilor@att.net>
| * Detect errors from gasAlexey Neyman2018-06-051-0/+1
| | | | | | | | Signed-off-by: Alexey Neyman <stilor@att.net>
| * Backport a gcc8 fix from upstreamAlexey Neyman2018-06-051-0/+32
| | | | | | | | Signed-off-by: Alexey Neyman <stilor@att.net>
| * Avoid adding arch/cpu/tune flags for target to GCC buildAlexey Neyman2018-06-0512-35/+32
|/ | | | | | ... as it may need to override them for building runtime-selectable code. Signed-off-by: Alexey Neyman <stilor@att.net>
* Merge pull request #977 from dimkr/new-uclibc-old-kernelAlexey Neyman2018-05-316-28/+25
|\ | | | | packages: add uClibc-ng 1.0.30 and last Linux 2.6.32.x
| * linux: removed 2.6.32.27Dima Krasner2018-05-313-29/+0
| | | | | | | | Signed-off-by: Dima Krasner <dima@securingsam.com>
| * packages: add uClibc-ng 1.0.30 and last Linux 2.6.32.xDima Krasner2018-05-284-0/+26
|/ | | | Signed-off-by: Dima Krasner <dima@dimakrasner.com>
* Merge pull request #970 from abrodkin/topic-uclibc-multilibAlexey Neyman2018-05-216-6/+82
|\ | | | | Add support and sample for uclibc multilib toolchain for ARC
| * ARC: Update Linux samplesAlexey Brodkin2018-05-214-12/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There's no point in keeping samples which are in its essense just a sub-set of multilib toolchain. But still we'd like to cover quite unusual but really existing case - ARC750, i.e. ARC700 with MMU but without so-called atomic instructions (LLOCK/SCOND). To support this HW variation we need: 1) Compile all target binaries without "-matomics" or even better "-mno-atomics" so that's even future-proof (as we may decide to enable "-matomics" by default for Linux targets which is a recommented setup). 2) Configure libc such that it uses Linux-kernel-assisted implementation of atomic operation via "arc_usr_cmpxchg" syscall, see https://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/commit/?id=b985fa069187e4c5a7ee84213d9fbead2f219ce5 Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
| * ARC: Disable CONFIG_ARC_HAS_ATOMICS in uClibc if building without -matomicsAlexey Brodkin2018-05-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | In case we build for ARC core which has no support of atomic ops among other things we need to configure libc to use Linux kernel helper to emulate HS atomic ops. This is done with disabling of CONFIG_ARC_HAS_ATOMICS in uClibc. Currently we __remove__ this option from .config but this makes no sense as its default state is "y" so we need to explicitly disable it instead. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
| * ARC: Add Linux uClibc multilib sampleAlexey Brodkin2018-05-212-0/+10
| | | | | | | | Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
| * ARC: Add multilib support for Linux in GCCAlexey Brodkin2018-05-211-0/+76
|/ | | | | | | | | | | | | | | | | We never bothered to build multilibbed Linux toolchains for ARC and so we ended-up with no support of multilib for arc*-*-linux-* targets in GCC. That is now fixed in upstream by the following commit: https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=0eacfbcb2bf1834294f468a2bb41fe5d5e8d3883 Once the fix mentioned above is applied on top of GCC 8.1.0 we may easily build multilibbed uClibc toolchain for ARC. Note sice Glibc port for ARC is still in review process we cannot build any Glibc toolchains for ARC with pure upstream components, for that we eiter need Glibc sources from our Github repo or apply a set of patches on top of Glibc 2.27 - we'll try to address this later though. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
* Merge pull request #971 from abrodkin/topic-elf32-multilibAlexey Neyman2018-05-163-0/+42
|\ | | | | ARC: Add support and sample for baremetal/elf32 multilib toolchain
| * ARC: Add baremetal/elf32 multilib sampleAlexey Brodkin2018-05-162-0/+7
| | | | | | | | Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
| * ARC: Don't mention in multilib not yet supported CPUsAlexey Brodkin2018-05-161-0/+35
| | | | | | | | | | | | | | | | | | | | hs4x and hs4xd were mistakenly mentioned in MULTILIB_OPTION/DIRNAMES before real support of those CPUs was accepted in upstream. That breaks multilib toolchains building becase we're trying to compile for not yet known CPU. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
* | Merge pull request #969 from abrodkin/topic-fix-arc700Alexey Neyman2018-05-161-0/+402
|\ \ | |/ |/| ARC: Fix Linux kernel compilation for ARC700
| * ARC: Fix Linux kernel comilation for ARC700Alexey Brodkin2018-05-161-0/+402
|/ | | | | | | | | | | | | | | | Without this fix we're getting the following error on attempt to build Linux kernel: --------------------------------->8--------------------------------- xfrm4_mode_tunnel.s: Assembler messages: xfrm4_mode_tunnel.s:188: Error: operand out of range (128 is not between - 128 and 127) --------------------------------->8--------------------------------- The fix is taken from https://github.com/foss-for-synopsys-dwc-arc-processors/gcc/commit/d8d716f49c0057e239f2b64e7d902046b92d244f and it is supposed to be merged in upstream GCC sources soonish. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
* Merge pull request #968 from stilor/fix-cpu-countAlexey Neyman2018-05-151-1/+1
|\ | | | | Doh. Change the name of the substituted variable
| * Doh. Change the name of the substituted variableAlexey Neyman2018-05-151-1/+1
|/ | | | | | | | ... to match the substituted name. Fixes #966. Signed-off-by: Alexey Neyman <stilor@att.net>
* Merge pull request #967 from stilor/fix-building-older-glibcAlexey Neyman2018-05-1588-31/+4259
|\ | | | | Fix building older glibc
| * Too many fixes need backporting for GCC8...Alexey Neyman2018-05-143-14/+14
| | | | | | | | | | | | ... so instead, disable -Werror for older versions of glibc. Signed-off-by: Alexey Neyman <stilor@att.net>
| * Second batch of backported fixesAlexey Neyman2018-05-1251-0/+2584
| | | | | | | | | | | | getlogin/getlogin_r, zic Signed-off-by: Alexey Neyman <stilor@att.net>
| * First batch of fixesAlexey Neyman2018-05-1237-31/+1675
| | | | | | | | | | | | | | | | - Incompatible function type for ifunc alias - Multiple statements macro expansion in strftime - if_nametoindex size checking Signed-off-by: Alexey Neyman <stilor@att.net>
* | Merge pull request #964 from abrodkin/topic-arcAlexey Neyman2018-05-156-0/+69
|\ \ | |/ |/| Add ARC architecture support
| * Add ARC700 and ARC HS38 Linux samplesAlexey Brodkin2018-05-154-0/+20
| | | | | | | | | | | | | | ARC700 is based on ARCompact (AKA ARCv1 ISA) while ARC HS38 is based on modern ARCv2 ISA. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
| * Add ARC architecture supportAlexey Brodkin2018-05-152-0/+49
|/ | | | | | | | | Synopsys' DesignWare ARC Processors are a family of 32-bit CPUs that SoC designers can optimize for a wide range of uses, from deeply embedded to high-performance host applications in a variety of market segments. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
* Merge pull request #960 from stilor/gdb712-disable-cxxAlexey Neyman2018-05-064-4/+14
|\ | | | | Restore a missing GDB option
| * Restore a missing GDB optionAlexey Neyman2018-05-064-4/+14
|/ | | | | | (whether GDB has --disable-build-with-cxx) and use it. Signed-off-by: Alexey Neyman <stilor@att.net>
* Merge pull request #958 from stilor/gcc8Alexey Neyman2018-05-0620-0/+1375
|\ | | | | Add GCC 8.1
| * Add GCC 8.1Alexey Neyman2018-05-0520-0/+1375
|/ | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Merge pull request #956 from stilor/mingw-multilibAlexey Neyman2018-05-041-0/+18
|\ | | | | Preserve each variant of libwinpthread.dll
| * Preserve each variant of libwinpthread.dllAlexey Neyman2018-05-031-0/+18
|/ | | | | | | ... in the corresponding /lib directory. Mingw-w64 installs it to /bin, so multiple variants in a multilib configuration override each other. Signed-off-by: Alexey Neyman <stilor@att.net>
* Merge pull request #954 from stilor/archlinux-add-unzipAlexey Neyman2018-04-295-18/+49
|\ | | | | Add unzip to archlinux image
| * Add the ability to run some but not all samples in dockerAlexey Neyman2018-04-293-17/+47
| | | | | | | | | | | | | | | | Also, build containers with --no-cache: distributions like ArchLinux retire their packages very quickly, need to always use up-to-date package databases. Signed-off-by: Alexey Neyman <stilor@att.net>
| * Add unzip to ArchLinux docker imageAlexey Neyman2018-04-291-1/+1
| | | | | | | | | | | | Needed by android sample. Signed-off-by: Alexey Neyman <stilor@att.net>
| * Restore the ability to build multiple configurationsAlexey Neyman2018-04-291-0/+1
|/ | | | | | ... in the shared .build directory. Signed-off-by: Alexey Neyman <stilor@att.net>
* Merge pull request #953 from stilor/docker-testing2Alexey Neyman2018-04-2914-36/+133
|\ | | | | Docker configuration for Gentoo + a bunch of fixes
| * Add checking for *sum and unzipAlexey Neyman2018-04-2910-33/+118
| | | | | | | | | | | | | | Also improve logging (add an ability to log commands/files/environment variables to config.log) Signed-off-by: Alexey Neyman <stilor@att.net>
| * Fix strace 4.21+ on aarch64Alexey Neyman2018-04-291-1/+2
| | | | | | | | | | | | | | ... which now defaults to --enable-mpers=yes, which attempts to invoke aarch64-*-gcc with -m32 and fails. Signed-off-by: Alexey Neyman <stilor@att.net>
| * Update helpAlexey Neyman2018-04-291-1/+4
| | | | | | | | Signed-off-by: Alexey Neyman <stilor@att.net>