[RFH] Uses of output.h in the front ends
Tom Tromey
tromey@redhat.com
Mon Jun 4 13:33:00 GMT 2012
>>>>> "Steven" == Steven Bosscher <stevenb.gcc@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
More information about the Gcc
mailing list