Restore HPUX gcj bootstrap.

From-SVN: r44758
This commit is contained in:
Anthony Green 2001-08-10 07:52:21 +00:00 committed by Anthony Green
parent 0b293f29ab
commit ca11a2e959
2 changed files with 9 additions and 0 deletions

View 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

View 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
{