diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3dd5d621af3..e0f097e99f7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2001-08-10 Anthony Green + + * java/class.c (emit_register_classes): Conditionalize code on + JCR_SECTION_NAME. + 2001-08-10 Gerald Pfeifer * doc/install.texi (Specific, avr): Fix cross-reference to the diff --git a/gcc/java/class.c b/gcc/java/class.c index 0e46a7882a3..f7ffe12bc1f 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 {