mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 17:48:58 +00:00
445604a915
-fno-plt and musl-libc patches already get upstream, then dropped in GCC 6. Other patches are almost identical compared to GCC 5.4. Compile and run tested on ar71xx/Qihoo C301 and mvebu/Linksys WRT1900ac v1 Signed-off-by: Syrone Wong <wong.syrone@gmail.com> Signed-off-by: Felix Fietkau <nbd@nbd.name> [cleanups/fixes]
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
|