ar71xx: adding u-boot for nbg460n
[openwrt/svn-archive/archive.git] / package / uboot-ar71xx / files / board / zyxel / nbg460n / u-boot.lds
1 OUTPUT_FORMAT("elf32-tradbigmips", "elf32-tradbigmips", "elf32-tradbigmips")
2 OUTPUT_ARCH(mips)
3 ENTRY(_start)
4 SECTIONS
5 {
6 . = 0x00000000;
7
8 . = ALIGN(4);
9 .text :
10 {
11 *(.text)
12 }
13
14 . = ALIGN(4);
15 .rodata : { *(.rodata) }
16
17 . = ALIGN(4);
18 .data : { *(.data) }
19
20 . = ALIGN(4);
21 .sdata : { *(.sdata) }
22
23 _gp = ALIGN(16);
24
25 __got_start = .;
26 .got : { *(.got) }
27 __got_end = .;
28
29 .sdata : { *(.sdata) }
30
31 __u_boot_cmd_start = .;
32 .u_boot_cmd : { *(.u_boot_cmd) }
33 __u_boot_cmd_end = .;
34
35 uboot_end_data = .;
36 num_got_entries = (__got_end - __got_start) >> 2;
37
38 . = ALIGN(4);
39 .sbss : { *(.sbss) }
40 .bss : { *(.bss) }
41 uboot_end = .;
42 }