diff options
author | dannysmith <dannysmith@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-12-13 06:57:13 +0000 |
---|---|---|
committer | dannysmith <dannysmith@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-12-13 06:57:13 +0000 |
commit | 784d37827813d2d3d740e1e10104a149d6185c89 (patch) | |
tree | 8474907991a93da60a61bf807147a9c32fcc9b6d /gcc/defaults.h | |
parent | 5cf640ac37b675a1dfe3b9466f79ae26df98c5be (diff) | |
download | gcc-784d37827813d2d3d740e1e10104a149d6185c89.tar.gz |
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: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92078 138bc75d-0d04-0410-961f-82ee72b054a4
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 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 */ |