public inbox for java-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* FYI: build libgcj-tools.so with -fno-indirect-classes
@ 2006-07-06 19:16 Thomas Fitzsimmons
  0 siblings, 0 replies; only message in thread
From: Thomas Fitzsimmons @ 2006-07-06 19:16 UTC (permalink / raw)
  To: java-patches

[-- Attachment #1: Type: text/plain, Size: 417 bytes --]

Hi,

I added -fno-indirect-classes to the libgcj-tools.so compilation flags so that 
linking a C++ ABI binary directly to libgcj-tools.so is supported.

Tom

2006-07-06  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* Makefile.am (libgcj_tools_la_GCJFLAGS): Add
	-fno-indirect-classes.
	* Makefile.in: Regenerate.
	* gcj/Makefile.in: Regenerate.
	* include/Makefile.in: Regenerate.
	* testsuite/Makefile.in: Regenerate.

[-- Attachment #2: libgcj-tools-indirect-fix.patch --]
[-- Type: text/x-patch, Size: 570 bytes --]

Index: Makefile.am
===================================================================
--- Makefile.am	(revision 115210)
+++ Makefile.am	(working copy)
@@ -236,7 +236,7 @@
 libgcj_la_LINK = $(LIBLINK)
 
 libgcj_tools_la_SOURCES = classpath/tools/tools.jar
-libgcj_tools_la_GCJFLAGS = $(AM_GCJFLAGS) -findirect-dispatch
+libgcj_tools_la_GCJFLAGS = $(AM_GCJFLAGS) -findirect-dispatch -fno-indirect-classes
 libgcj_tools_la_LDFLAGS = -rpath $(toolexeclibdir) \
  -version-info `grep -v '^\#' $(srcdir)/libtool-version`
 libgcj_tools_la_DEPENDENCIES = libgcj.la libgcj.spec

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-07-06 19:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-06 19:16 FYI: build libgcj-tools.so with -fno-indirect-classes Thomas Fitzsimmons

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).