mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 17:48:58 +00:00
34e8393019
arc-2016.09 is the most recent toolchain for ARC cores and it is based on top of upstream Binutils 2.27 and GCC 6.2.1. With updated major version of GCC we copied all GCC 6.x patches for ARC as well as Bintils 2.27 patches. Note that toochain sports ARCv4 ABI and so must be used with 4.8+ Linux kernels. Even though it will build v4.4 kernel perfectly fine on attempt to run user-space apps they won't work with older kernel. That said previuosly sent RFC patches with Linux kernel update are required: [1] https://patchwork.ozlabs.org/patch/726686/ [2] https://patchwork.ozlabs.org/patch/726687/ Signed-off-by: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
12 lines
466 B
Diff
12 lines
466 B
Diff
--- a/gcc/defaults.h
|
|
+++ b/gcc/defaults.h
|
|
@@ -395,7 +395,7 @@ see the files COPYING3 and COPYING.RUNTI
|
|
/* If we have named section and we support weak symbols, then use the
|
|
.jcr section for recording java classes which need to be registered
|
|
at program start-up time. */
|
|
-#if defined (TARGET_ASM_NAMED_SECTION) && SUPPORTS_WEAK
|
|
+#if 0 && defined (TARGET_ASM_NAMED_SECTION) && SUPPORTS_WEAK
|
|
#ifndef JCR_SECTION_NAME
|
|
#define JCR_SECTION_NAME ".jcr"
|
|
#endif
|