]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/emulparams/elf32mep.sh
Remove trailing white spaces in ld
[thirdparty/binutils-gdb.git] / ld / emulparams / elf32mep.sh
CommitLineData
19d9b7d3
DB
1MACHINE=
2SCRIPT_NAME=mep
4d28413b 3OUTPUT_FORMAT="elf32-mep-little"
19d9b7d3
DB
4TEXT_START_ADDR=0x1000
5ARCH=mep
6MAXPAGESIZE=256
7ENTRY=_start
8EMBEDDED=yes
9TEMPLATE_NAME=elf32
10DATA_START_SYMBOLS='__data_start = . ;'
11OTHER_GOT_SYMBOLS='
12 . = ALIGN(4);
13 __sdabase = . + 0x8000;
14 .srodata : { *(.srodata) *(.srodata.*) *(.gnu.linkonce.srd.*) }
15'
16OTHER_SDATA_SECTIONS='
17 PROVIDE (__sdabase = .);
18 __assert_tiny_size = ASSERT ((. < __sdabase) || ((. - __sdabase) <= 0x8000),
19 "tiny section overflow");
20'
21OTHER_READONLY_SECTIONS='
22 __stack = 0x001ffff0;
23 __stack_size = 0x100000;
24 __stack0 = (__stack - (0 * (__stack_size / 1)) + 15) / 16 * 16;
25
e4492aa0 26 .rostacktab :
19d9b7d3
DB
27 {
28 /* Emit a table describing the location of the different stacks.
29 Only 1 processor in the default configuration. */
30 . = ALIGN(4);
31 __stack_table = .;
32 LONG (__stack0);
33 }
34'
35OTHER_END_SYMBOLS='
36 PROVIDE (__heap = _end);
37 PROVIDE (__heap_end = 0);
38'
39OTHER_TEXT_SECTIONS='
40 *(.ftext) *(.ftext.*) *(.gnu.linkonce.ft.*)
41 . = ALIGN(8);
42 *(.vftext) *(.vftext.*) *(.gnu.linkonce.vf.*)
43 *(.frodata) *(.frodata.*) *(.gnu.linkonce.frd.*)
44'
45OTHER_READWRITE_SECTIONS='
46 . = ALIGN(4);
47 __tpbase = .;
48 .based : { *(.based) *(.based.*) *(.gnu.linkonce.based.*) }
49 __assert_based_size = ASSERT ((. - __tpbase) <= 0x80, "based section overflow");
50 .far : { *(.far) *(.far.*) *(.gnu.linkonce.far.*) }
51'
52OTHER_BSS_SECTIONS='
53 __assert_near_size = ASSERT (. <= 0x1000000, "near section overflow");
54 .farbss : { PROVIDE (__farbss_start = .); *(.farbss) *(.farbss.*) PROVIDE (__farbss_end = .); }
55'