Commit Graph

2 Commits

Author SHA1 Message Date
Chris Packham
01e21d90f7 glibc: arc: Don't interfere with other architectures
Fixes: #1227

Adjust the ARC patch so that it only sets with_fp_cond when the machine
is arc.

https://github.com/foss-for-synopsys-dwc-arc-processors/glibc/issues/7

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2019-09-05 14:17:18 +12:00
Alexey Brodkin
e9e30581e6 glibc: Add ARC support
ARC port of Glibc was submitted to the mailing list recently [1]
but due to late submission it didn't make it in Glibc 2.29 release.

Hopefully by the time of next release it will be a part of upstream
release but for now we have to use off-the-tree patch.

Still it's proven to work internally as well as its test-suite
shows brilliant results as might be seen from [1]:
------------------>8-------------------
Summary of test results:
     24 FAIL
   5124 PASS
     27 UNSUPPORTED
     19 XFAIL
------------------>8-------------------

Moreover ARC's Glibc port is known to work in Buildroot, OpenEmbedded
and even Automotive Grade Linux distro so we should be good having
this patch for Glibc.

BTW the patch itself is a copy of the one I use in OE, see [2].

[1] https://sourceware.org/ml/libc-alpha/2018-12/msg00678.html
[2] https://github.com/foss-for-synopsys-dwc-arc-processors/meta-synopsys/blob/master/recipes-core/glibc/files/0031-Add-ARC-architecture.patch

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
2019-04-17 10:30:34 +03:00