summaryrefslogtreecommitdiff
path: root/gcc/defaults.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2016-10-04 09:49:44 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2016-10-04 09:49:44 +0200
commit5a79befbf444ecd99ed39bc4b9643c5ca5e0a447 (patch)
treea97869bd6f5622fc271ae96d3f55571b49be01ac /gcc/defaults.h
parent4b3a7e03e50c2b30009311ddf89c3edeec969d47 (diff)
defaults.h (JCR_SECTION_NAME, [...]): Remove.
gcc/ * defaults.h (JCR_SECTION_NAME, TARGET_USE_JCR_SECTION): Remove. * system.h (JCR_SECTION_NAME, TARGET_USE_JCR_SECTION): Poison. * doc/tm.texi.in (TARGET_USE_JCR_SECTION): Remove. * doc/tm.texi: Regenerated. * config/i386/mingw32.h (TARGET_USE_JCR_SECTION): Remove. * config/i386/cygming.h (TARGET_USE_JCR_SECTION): Remove. * config/darwin.h (JCR_SECTION_NAME): Remove. * config/pa/pa64-hpux.h (JCR_SECTION_NAME): Remove. * config/rs6000/aix71.h (TARGET_USE_JCR_SECTION): Remove. * config/rs6000/aix51.h (TARGET_USE_JCR_SECTION): Remove. * config/rs6000/aix52.h (TARGET_USE_JCR_SECTION): Remove. * config/rs6000/aix53.h (TARGET_USE_JCR_SECTION): Remove. * config/rs6000/aix61.h (TARGET_USE_JCR_SECTION): Remove. gcc/c-family/ * c-cppbuiltin.c (c_cpp_builtins): Don't define __LIBGCC_JCR_SECTION_NAME__. libgcc/ * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove. (__JCR_LIST__): Remove. (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses. * config/i386/cygming-crtend.c (__JCR_END__): Remove. * config/ia64/crtbegin.S (__JCR_LIST__): Remove. * config/ia64/crtend.S (__JCR_END__): Remove. * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor conditionals. (__JCR_LIST__, __JCR_END__): Remove. (frame_dummy): Don't attempt to _Jv_RegisterClasses. (__do_global_ctors_1): Likewise. From-SVN: r240739
Diffstat (limited to 'gcc/defaults.h')
-rw-r--r--gcc/defaults.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/gcc/defaults.h b/gcc/defaults.h
index c62c844cbeb..1bbcf0eb5b8 100644
--- a/gcc/defaults.h
+++ b/gcc/defaults.h
@@ -392,27 +392,6 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#define MASK_RETURN_ADDR NULL_RTX
#endif
-/* 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
-#ifndef JCR_SECTION_NAME
-#define JCR_SECTION_NAME ".jcr"
-#endif
-#endif
-
-/* This decision to use a .jcr section can be overridden by defining
- USE_JCR_SECTION to 0 in target file. This is necessary if target
- can define JCR_SECTION_NAME but does not have crtstuff or
- linker support for .jcr section. */
-#ifndef TARGET_USE_JCR_SECTION
-#ifdef JCR_SECTION_NAME
-#define TARGET_USE_JCR_SECTION 1
-#else
-#define TARGET_USE_JCR_SECTION 0
-#endif
-#endif
-
/* Number of hardware registers that go into the DWARF-2 unwind info.
If not defined, equals FIRST_PSEUDO_REGISTER */