Fix .jcr alignment

From-SVN: r186082
This commit is contained in:
Rainer Orth 2012-04-02 12:35:32 +00:00 committed by Rainer Orth
parent df09560e01
commit 64f07b6642
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2012-04-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* class.c (emit_register_classes_in_jcr_section): Set DECL_USER_ALIGN.
Clear TREE_READONLY.
2012-03-29 Steven Bosscher <steven@gcc.gnu.org>
PR java/52730

View file

@ -2815,10 +2815,11 @@ emit_register_classes_in_jcr_section (void)
DECL_SECTION_NAME (cdecl) = build_string (strlen (JCR_SECTION_NAME),
JCR_SECTION_NAME);
DECL_ALIGN (cdecl) = POINTER_SIZE;
DECL_USER_ALIGN (cdecl) = 1;
DECL_INITIAL (cdecl) = build_constructor (class_array_type, init);
TREE_CONSTANT (DECL_INITIAL (cdecl)) = 1;
TREE_STATIC (cdecl) = 1;
TREE_READONLY (cdecl) = 1;
TREE_READONLY (cdecl) = 0;
TREE_CONSTANT (cdecl) = 1;
DECL_ARTIFICIAL (cdecl) = 1;
DECL_IGNORED_P (cdecl) = 1;