]> gcc.gnu.org Git - gcc.git/commitdiff
Restore HPUX gcj bootstrap.
authorAnthony Green <green@redhat.com>
Fri, 10 Aug 2001 07:52:21 +0000 (07:52 +0000)
committerAnthony Green <green@gcc.gnu.org>
Fri, 10 Aug 2001 07:52:21 +0000 (07:52 +0000)
From-SVN: r44758

gcc/ChangeLog
gcc/java/class.c

index 3dd5d621af308cf6f05b64a85aaa4e053fee15a5..e0f097e99f7f33812f45212eabdd58016d57df7d 100644 (file)
@@ -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
index 0e46a7882a3ab217f5cd3b6c1ffe186700809fca..f7ffe12bc1f4c436c8dc72620a318934d4eb8a7b 100644 (file)
@@ -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
     {
This page took 0.070468 seconds and 5 git commands to generate.