Build Problems with 1.0 b3 on Sparc Solaris

Meenakshi Unni_Project Trainee meena at mynah.india.tek.com
Tue Jan 12 23:52:19 PST 1999


Hi,

The problem's 'coz 'asm doesn't seem to recognise the "?" operator.
The workaround I did replaced the entire 'asm' statement withthe following:

if ((CALL)->args)                                                   \
    asm ("call %2,0\n                                                   \
          ld %3, %0\n"                                                  \
        : "=r" (o0), "=r" (o1)                                          \
        : "r" ((CALL)->function),                                       \
          "m" ((CALL)->args[0].i),                                      \
          "0" (o0), "1" (o1), "r" (o2), "r" (o3), "r" (o4), "r" (o5)    \
        : "g1", "g2", "g3", "g4", "o7", "cc"                            \
        );                                                              \
    else                                                                \
    asm ("call %2,0\n                                                   \
          ld %3, %0\n"                                                  \
        : "=r" (o0), "=r" (o1)                                          \
        : "r" ((CALL)->function),                                       \
          "m" (0),                                                      \
          "0" (o0), "1" (o1), "r" (o2), "r" (o3), "r" (o4), "r" (o5)    \
        : "g1", "g2", "g3", "g4", "o7", "cc"                            \
        );                                                              \


Regards.
Meena.


More information about the kaffe mailing list