sh-elf doesn't support objc?

John Wehle john@feith.com
Wed Jan 3 15:01:00 GMT 2001


> You provide a very good hint, it looks like you need the following line in
> sendmsg.m:
> 
>  #define gen_rtx_REG(args...) 1
> 
> I've checked-in the change in the repository. Please let me know if it works
> for you.

I'll be suprised if it fixes the problem since STRUCT_VALUE uses
TARGET_HITACHI which is defined as:

  (target_flags & HITACHI_BIT)

I don't see how the preprocessor can evaluate:

  (TARGET_HITACHI ? 0 : gen_rtx_REG (Pmode, STRUCT_VALUE_REGNUM))

given that it depends on a runtime flag.

-- John
-------------------------------------------------------------------------
|   Feith Systems  |   Voice: 1-215-646-8000  |  Email: john@feith.com  |
|    John Wehle    |     Fax: 1-215-540-5495  |                         |
-------------------------------------------------------------------------



More information about the Gcc mailing list