diff options
author | Danny Smith <dannysmith@users.sourceforge.net> | 2004-12-13 06:57:13 +0000 |
---|---|---|
committer | Danny Smith <dannysmith@gcc.gnu.org> | 2004-12-13 06:57:13 +0000 |
commit | e50e6b88e4541aaeed7a4f1ff02c2bc9172499b2 (patch) | |
tree | 8474907991a93da60a61bf807147a9c32fcc9b6d /gcc/defaults.h | |
parent | 4049b3760e3141906fa86ab9071d4bd86c6a8b13 (diff) | |
download | gcc-e50e6b88e4541aaeed7a4f1ff02c2bc9172499b2.zip gcc-e50e6b88e4541aaeed7a4f1ff02c2bc9172499b2.tar.gz gcc-e50e6b88e4541aaeed7a4f1ff02c2bc9172499b2.tar.bz2 |
defaults.h (TARGET_USE_JCR_SECTION): New macro.
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.
From-SVN: r92078
Diffstat (limited to 'gcc/defaults.h')
-rw-r--r-- | gcc/defaults.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/defaults.h b/gcc/defaults.h index daa584a..a60d2a2 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 */ |