This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC 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: [v850] cross compiler - file v850.md


p0ulp3 wrote:
So I have replaced each call of __DI() and __EI() by asm("di") and
asm("ei") and the program is linked now but if anyone has an idea to
solve this problem, let me know.

Why are you expecting calls to __DI() to generate a "di" instruction? Maybe that is a GHS specific feature that GCC doesn't implement? If so, then add a macro that is defined only when __GNUC__ is defined that expands __DI() to asm("di") for gcc.


Jim


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