xref: /rk3399_rockchip-uboot/lib/asm-offsets.c (revision 16a354f920f3959ed847bd917bdfbc7eba48cf1e)
1*16a354f9SWolfgang Denk /*
2*16a354f9SWolfgang Denk  * Adapted from Linux v2.6.36 kernel: arch/powerpc/kernel/asm-offsets.c
3*16a354f9SWolfgang Denk  *
4*16a354f9SWolfgang Denk  * This program is used to generate definitions needed by
5*16a354f9SWolfgang Denk  * assembly language modules.
6*16a354f9SWolfgang Denk  *
7*16a354f9SWolfgang Denk  * We use the technique used in the OSF Mach kernel code:
8*16a354f9SWolfgang Denk  * generate asm statements containing #defines,
9*16a354f9SWolfgang Denk  * compile this file to assembler, and then extract the
10*16a354f9SWolfgang Denk  * #defines from the assembly-language output.
11*16a354f9SWolfgang Denk  *
12*16a354f9SWolfgang Denk  * This program is free software; you can redistribute it and/or
13*16a354f9SWolfgang Denk  * modify it under the terms of the GNU General Public License
14*16a354f9SWolfgang Denk  * as published by the Free Software Foundation; either version
15*16a354f9SWolfgang Denk  * 2 of the License, or (at your option) any later version.
16*16a354f9SWolfgang Denk  */
17*16a354f9SWolfgang Denk 
18*16a354f9SWolfgang Denk #include <common.h>
19*16a354f9SWolfgang Denk 
20*16a354f9SWolfgang Denk #include <linux/kbuild.h>
21*16a354f9SWolfgang Denk 
22*16a354f9SWolfgang Denk int main(void)
23*16a354f9SWolfgang Denk {
24*16a354f9SWolfgang Denk 	return 0;
25*16a354f9SWolfgang Denk }
26