>>>>> "Steven" == Steven Bosscher <stevenb....@gmail.com> writes:

[...]

Steven> java/class.c:     switch_to_section (get_section (buf, flags, NULL));
Steven> java/class.c:     switch_to_section (get_section (buf, flags, NULL));

Steven> I am not sure how to fix this. I think it could be fixed by having a
Steven> version of build_constant_desc that puts the data in a specific
Steven> section while wrapping up global variables in varasm.

In this particular case I'm not sure why switch_to_section is needed.
The code is also setting DECL_SECTION_NAME -- is that not enough?
It seems to be enough elsewhere in the same file ... see
emit_register_classes_in_jcr_section further down.

Tom

Reply via email to