This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ARM support


>>>>> "Erik" == Erik Poupaert <erik.poupaert@skynet.be> writes:

Erik> If the linker only sees the compiled version of something like:
Erik> [ ... ]

Erik> Here he is obviously dead stuck in the water. There is no way to know if
Erik> myclass_mymethod2() is getting used anywhere or not.

In the past there was a way to annotate gcc's output to tell the
linker about this.  Search for "section GC" or maybe "vtable GC".

This code may be gone now.  I'm not sure.  In any case, it never
worked for gcj.  And with something like -findirect-dispatch, it might
require another round of linker work before it could be made to work.
Of course, for a statically linked embedded application
-findirect-dispatch probably wouldn't be the ABI of choice.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]