old-cross-binutils/ld/emulparams/elf32mep.sh
H.J. Lu e4492aa0d8 Remove trailing white spaces in ld
* deffilep.y: Remove trailing white spaces.
	* elf-hints-local.h: Likewise.
	* ldexp.c: Likewise.
	* ldlang.h: Likewise.
	* ldmisc.c: Likewise.
	* ldwrite.c: Likewise.
	* pe-dll.c: Likewise.
	* emulparams/criself.sh: Likewise.
	* emulparams/crislinux.sh: Likewise.
	* emulparams/elf32_tic6x_le.sh: Likewise.
	* emulparams/elf32bmipn32-defs.sh: Likewise.
	* emulparams/elf32mb_linux.sh: Likewise.
	* emulparams/elf32mep.sh: Likewise.
	* emulparams/elf32microblaze.sh: Likewise.
	* emulparams/elf32ppc.sh: Likewise.
	* emulparams/elf64_s390.sh: Likewise.
	* emulparams/elf64alpha.sh: Likewise.
	* emulparams/elf_s390.sh: Likewise.
	* emulparams/elf_x86_64.sh: Likewise.
	* emulparams/tic80coff.sh: Likewise.
	* emultempl/aix.em: Likewise.
	* emultempl/avrelf.em: Likewise.
	* emultempl/cr16elf.em: Likewise.
	* emultempl/pe.em: Likewise.
	* emultempl/pep.em: Likewise.
	* emultempl/spuelf.em: Likewise.
	* emultempl/tic6xdsbt.em: Likewise.
2013-01-10 20:08:03 +00:00

55 lines
1.5 KiB
Bash
Executable file

MACHINE=
SCRIPT_NAME=mep
OUTPUT_FORMAT="elf32-mep-little"
TEXT_START_ADDR=0x1000
ARCH=mep
MAXPAGESIZE=256
ENTRY=_start
EMBEDDED=yes
TEMPLATE_NAME=elf32
DATA_START_SYMBOLS='__data_start = . ;'
OTHER_GOT_SYMBOLS='
. = ALIGN(4);
__sdabase = . + 0x8000;
.srodata : { *(.srodata) *(.srodata.*) *(.gnu.linkonce.srd.*) }
'
OTHER_SDATA_SECTIONS='
PROVIDE (__sdabase = .);
__assert_tiny_size = ASSERT ((. < __sdabase) || ((. - __sdabase) <= 0x8000),
"tiny section overflow");
'
OTHER_READONLY_SECTIONS='
__stack = 0x001ffff0;
__stack_size = 0x100000;
__stack0 = (__stack - (0 * (__stack_size / 1)) + 15) / 16 * 16;
.rostacktab :
{
/* Emit a table describing the location of the different stacks.
Only 1 processor in the default configuration. */
. = ALIGN(4);
__stack_table = .;
LONG (__stack0);
}
'
OTHER_END_SYMBOLS='
PROVIDE (__heap = _end);
PROVIDE (__heap_end = 0);
'
OTHER_TEXT_SECTIONS='
*(.ftext) *(.ftext.*) *(.gnu.linkonce.ft.*)
. = ALIGN(8);
*(.vftext) *(.vftext.*) *(.gnu.linkonce.vf.*)
*(.frodata) *(.frodata.*) *(.gnu.linkonce.frd.*)
'
OTHER_READWRITE_SECTIONS='
. = ALIGN(4);
__tpbase = .;
.based : { *(.based) *(.based.*) *(.gnu.linkonce.based.*) }
__assert_based_size = ASSERT ((. - __tpbase) <= 0x80, "based section overflow");
.far : { *(.far) *(.far.*) *(.gnu.linkonce.far.*) }
'
OTHER_BSS_SECTIONS='
__assert_near_size = ASSERT (. <= 0x1000000, "near section overflow");
.farbss : { PROVIDE (__farbss_start = .); *(.farbss) *(.farbss.*) PROVIDE (__farbss_end = .); }
'