lkml.org 
[lkml]   [2000]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:58    [W:0.043 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site