aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m32r/boot/compressed/vmlinux.lds.S
blob: a18431759633bbbfb77a757a4b8ea80d03742d3b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#include <linux/config.h>

OUTPUT_ARCH(m32r)
ENTRY(startup)
SECTIONS
{
  . = CONFIG_MEMORY_START + 0x00400000;

  _text = .;
  .text : { *(.text) } = 0
  .rodata : { *(.rodata) *(.rodata.*) }
  _etext = .;

  . = ALIGN(32 / 8);
  .data : { *(.data) }
  . = ALIGN(32 / 8);
  _got = .;
  .got  : { *(.got) _egot = .; *(.got.*) }
  _edata  =  .;

  . = ALIGN(32 / 8);
  __bss_start = .;
  .bss : { *(.bss) *(.sbss) }
  . = ALIGN(32 / 8);
  _ebss = .;
  . = ALIGN(4096);
  . += 4096;
  end = . ;

  got_len = (_egot - _got);
}