aboutsummaryrefslogtreecommitdiff
path: root/gcc/defaults.h
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2004-12-13 06:57:13 +0000
committerDanny Smith <dannysmith@users.sourceforge.net>2004-12-13 06:57:13 +0000
commit4954694f7184f8ec4e35badb5b23667ce69dbc53 (patch)
tree8474907991a93da60a61bf807147a9c32fcc9b6d /gcc/defaults.h
parent5b7bf67048a3043dead96826bbbe1624cd926f0b (diff)
gcc
PR/18549 * defaults.h (TARGET_USE_JCR_SECTION): New macro. * doc/tm.texi (TARGET_USE_JCR_SECTION): Document it. * config/i386/cygming.h (TARGET_USE_JCR_SECTION): Override default. gcc/java PR/18549 * class.c (emit_register_classes): Use TARGET_USE_JCR_SECTION. Update comment. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@92078 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/defaults.h')
-rw-r--r--gcc/defaults.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/defaults.h b/gcc/defaults.h
index daa584a25ce..a60d2a2b0ff 100644
--- a/gcc/defaults.h
+++ b/gcc/defaults.h
@@ -339,6 +339,18 @@ do { fputs (integer_asm_op (POINTER_SIZE / BITS_PER_UNIT, TRUE), FILE); \
#endif
#endif
+/* This decision to use a .jcr section can be overriden 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 */