summaryrefslogtreecommitdiffstats
path: root/include/asm-generic/u-boot.lds.h
blob: 2202627534ea373fec83b4fe90a124afe53ae9ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

#if defined CONFIG_ARCH_IMX25 || defined CONFIG_ARCH_IMX35
#include <mach/u-boot.lds.h>
#endif

#ifndef PRE_IMAGE
#define PRE_IMAGE
#endif

#define INITCALLS			\
  	KEEP(*(.initcall.0))			\
  	KEEP(*(.initcall.1))			\
  	KEEP(*(.initcall.2))			\
  	KEEP(*(.initcall.3))			\
  	KEEP(*(.initcall.4))			\
  	KEEP(*(.initcall.5))			\
  	KEEP(*(.initcall.6))			\
  	KEEP(*(.initcall.7))

#define U_BOOT_CMDS	KEEP(*(SORT_BY_NAME(.u_boot_cmd*)))

#define U_BOOT_SYMS	KEEP(*(__usymtab))