This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Patch: Fix for compiling GNU Classpath
- From: Michael Koch <konqueror at gmx dot de>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 3 Dec 2003 23:23:21 +0100
- Subject: Patch: Fix for compiling GNU Classpath
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello list,
I will commit the attached patch to change the name of the "signers"
field to "hack_signers". Together with this patch another patch will
be applied to do the same in libgcj. This patch is approved already
by Andrew Haley.
Michael
- --
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQE/zmJeWSOgCCdjSDsRAnS+AKCiPqBZTsdQU1qmTXq0d4S6j5JVmwCfaAhN
jRolj4uMpaju6gEVPrzOR/Q=
=Nf5o
-----END PGP SIGNATURE-----
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/ChangeLog,v
retrieving revision 1.833
diff -u -b -B -r1.833 ChangeLog
--- ChangeLog 17 Nov 2003 14:21:54 -0000 1.833
+++ ChangeLog 3 Dec 2003 13:46:30 -0000
@@ -1,3 +1,10 @@
+2003-12-03 Michael Koch <konqueror@gmx.de>
+
+ * gcc/java/class.c (make_class_data):
+ Push field value to 'hack_signers' instead of 'signers'.
+ * gcc/java/decl.c (java_init_decl_processing):
+ Push field 'hack_signers' instead of 'signers'.
+
2003-11-17 Stan Cox <scox@redhat.com>
* MAINTAINERS: Add myself as iq2000 port maintainer.
Index: gcc/java/class.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/class.c,v
retrieving revision 1.172
diff -u -b -B -r1.172 class.c
--- gcc/java/class.c 24 Oct 2003 09:29:40 -0000 1.172
+++ gcc/java/class.c 3 Dec 2003 13:46:32 -0000
@@ -1568,7 +1568,7 @@
PUSH_FIELD_VALUE (cons, "idt", null_pointer_node);
PUSH_FIELD_VALUE (cons, "arrayclass", null_pointer_node);
PUSH_FIELD_VALUE (cons, "protectionDomain", null_pointer_node);
- PUSH_FIELD_VALUE (cons, "signers", null_pointer_node);
+ PUSH_FIELD_VALUE (cons, "hack_signers", null_pointer_node);
PUSH_FIELD_VALUE (cons, "chain", null_pointer_node);
FINISH_RECORD_CONSTRUCTOR (cons);
Index: gcc/java/decl.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/decl.c,v
retrieving revision 1.171
diff -u -b -B -r1.171 decl.c
--- gcc/java/decl.c 18 Nov 2003 03:57:08 -0000 1.171
+++ gcc/java/decl.c 3 Dec 2003 13:46:36 -0000
@@ -728,7 +728,7 @@
PUSH_FIELD (class_type_node, field, "idt", ptr_type_node);
PUSH_FIELD (class_type_node, field, "arrayclass", ptr_type_node);
PUSH_FIELD (class_type_node, field, "protectionDomain", ptr_type_node);
- PUSH_FIELD (class_type_node, field, "signers", ptr_type_node);
+ PUSH_FIELD (class_type_node, field, "hack_signers", ptr_type_node);
PUSH_FIELD (class_type_node, field, "chain", ptr_type_node);
for (t = TYPE_FIELDS (class_type_node); t != NULL_TREE; t = TREE_CHAIN (t))
FIELD_PRIVATE (t) = 1;