[U-Boot-Users] __ASSEMBLY__ macro

Hi,
I just compiled the U-Boot code from the CVS and got an error. It seems to me setjmp.h is missing which is included in sched.c. The compiler can't find the setjmp() declaration.
While browsing through the could I found the __ASSEMBLY__ macro in some codes, which in- or excludes some declarationen if defined.
What's about this __ASSEMBLY__ macro and how can I use it. Can anyone give me some explanations? Many thanks.
Martin

In message 14603.1049351850@www62.gmx.net you wrote:
I just compiled the U-Boot code from the CVS and got an error. It seems to me setjmp.h is missing which is included in sched.c. The compiler can't find the setjmp() declaration.
I know. I'm working on cleaning up the code that was provided to me. I thought it was intertesting to include even if it is nt perfect.
While browsing through the could I found the __ASSEMBLY__ macro in some codes, which in- or excludes some declarationen if defined.
What's about this __ASSEMBLY__ macro and how can I use it. Can anyone give me some explanations? Many thanks.
It allows to use #include files in assembler code by removing things (like C structure definitions) which the assembler would not understand. It get's set by the Makefile (see "AFLAGS" in config.mk).
Best regards,
Wolfgang Denk
participants (2)
-
Martin Winistörfer
-
Wolfgang Denk