Messages in this thread | | | Date | Tue, 8 Aug 2000 13:53:11 +0200 (MET DST) | From | Roman Zippel <> | Subject | Re: exporting struct offsets to assembler |
| |
Hi,
> Back when I worked on the HPRT (HPs PA risk real time system) I solved > this problem by embedding a C program in the asm code. To asm it looked > like macros so ccp stripped it out. The make rule (a real monster) > stripped out the C program, ran it and set its output down as an xxx.h > file which the asm code then included. The result was fresh symbol > offsets, etc. but it was UGLY.
How we generate m68k_defs.h in arch/m68k/kernel/Makefile doesn't look like a monster to me, but it does exactly that. :-)
bye, Roman
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |