toolchain: add support of ARC architecture
[openwrt/staging/chunkeey.git] / toolchain / gcc / patches / arc-2015.06 / 880-no_java_section.patch
1 --- a/gcc/defaults.h
2 +++ b/gcc/defaults.h
3 @@ -380,7 +380,7 @@ see the files COPYING3 and COPYING.RUNTI
4 /* If we have named section and we support weak symbols, then use the
5 .jcr section for recording java classes which need to be registered
6 at program start-up time. */
7 -#if defined (TARGET_ASM_NAMED_SECTION) && SUPPORTS_WEAK
8 +#if 0 && defined (TARGET_ASM_NAMED_SECTION) && SUPPORTS_WEAK
9 #ifndef JCR_SECTION_NAME
10 #define JCR_SECTION_NAME ".jcr"
11 #endif