880-no_java_section.patch 466 B

1234567891011
  1. --- a/gcc/defaults.h
  2. +++ b/gcc/defaults.h
  3. @@ -395,7 +395,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