diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/java/class.c | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3dd5d62..e0f097e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2001-08-10 Anthony Green <green@redhat.com> + + * java/class.c (emit_register_classes): Conditionalize code on + JCR_SECTION_NAME. + 2001-08-10 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> * doc/install.texi (Specific, avr): Fix cross-reference to the diff --git a/gcc/java/class.c b/gcc/java/class.c index 0e46a78..f7ffe12 100644 --- a/gcc/java/class.c +++ b/gcc/java/class.c @@ -1887,12 +1887,16 @@ emit_register_classes () than the ones that come with the operating system. */ if (SUPPORTS_WEAK && targetm.have_named_sections) { +#ifdef JCR_SECTION_NAME tree t; named_section_flags (JCR_SECTION_NAME, SECTION_WRITE, POINTER_SIZE / BITS_PER_UNIT); for (t = registered_class; t; t = TREE_CHAIN (t)) assemble_integer (XEXP (DECL_RTL (t), 0), POINTER_SIZE / BITS_PER_UNIT, 1); +#else + abort (); +#endif } else { |