This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: assemble_external on .class files
- To: Per Bothner <bothner@pacbell.net>
- Subject: Re: assemble_external on .class files
- From: Mark Klein <mklein@dis.com>
- Date: Mon, 31 May 1999 14:53:01 -0700
- Cc: egcs@egcs.cygnus.com,java-discuss@sourceware.cygnus.com
- References: <Mark Klein's message of "Tue, 25 May 1999 22:19:07 -0700"><Your message of 25 May 1999 21:05:19 PDT. <m2n1yseark.fsf@magnus.cygnus.com><4.1.19990525220502.00ca56a0@garfield.dis.com>
At 10:55 PM 5/25/99 -0700, Per Bothner wrote:
>METHOD_NATIVE does need to be split from DECL_EXTERNAL.
>There doesn't seem to be any available DECL_LANG_FLAGs,
>but there are some TREE_LANG_FLAGSs available (in FUNCTION_DECLs).
Grabbed TREE_LANG_FLAG_6.
>That means that we need to set DECL_EXTERNAL separately.
>I think it should be true for any methods that has METHOD_NATIVE,
>*or* if is_compiled_class (DECL_CONTEXT (method_decl)) < 2.
The latter doesn't appear to be complete either since there are
certain classes which are external (e.g. java.lang.Object) where
is_compiled_class (DECL_CONTEXT (method_decl)) is returning 2.
Regards,
M.
--
Mark Klein DIS International, Ltd.
http://www.dis.com 415-892-8400
PGP Public Key Available