OpenCores
URL https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [ld/] [emulparams/] [elf32epiphany.sh] - Blame information for rev 287

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 163 khays
TEMPLATE_NAME=elf32
2
MACHINE=
3
SCRIPT_NAME=elf
4
OUTPUT_FORMAT="elf32-epiphany"
5
NO_REL_RELOCS=yes
6
# See also `include/elf/epiphany.h'
7
 
8
MMR_ADDR=0x00000000
9
MMR_LEN=0x100
10
 
11
#RESERVED_ADDR=0x00000100
12
#RESERVED_LEN=8128
13
 
14
IVT_ADDR=0x00000000
15
IVT_LEN=0x040
16
 
17
# ??? This fails: 'Not enough room for program headers, try linking with -N'
18
#TEXT_START_ADDR=0x00000040
19
 
20
#The following two lines would allow small to medium sized programs
21
#to run in the first 1 MB.
22
#TEXT_START_ADDR=0x00000060
23
#EXECUTABLE_SYMBOLS='PROVIDE (___bss_start = __bss_start); PROVIDE (___heap_start = end); PROVIDE (___heap_end = (0x0c0000)); PROVIDE (___stack = (0x0ffff0));'
24
 
25
TEXT_START_ADDR='DEFINED (___text_start) ? ___text_start : 0x80000000'
26
EXECUTABLE_SYMBOLS='PROVIDE (___bss_start = __bss_start); PROVIDE (___heap_start = end); PROVIDE (___heap_end = (0x81800000)); PROVIDE (___stack = (0x81fffff0));'
27
 
28
#Smuggle an alignemnt directive in here so that .bss is aligned.
29
OTHER_SDATA_SECTIONS='. = ALIGN(8);'
30
 
31
 
32
ARCH=epiphany
33
ENTRY=_start
34
EMBEDDED=yes
35
ELFSIZE=32
36
ALIGNMENT=8
37
#MAXPAGESIZE=8192
38
MAXPAGESIZE=1
39
WRITABLE_RODATA=
40
#OTHER_RELOCATING_SECTIONS=
41
#OTHER_READONLY_SECTIONS=
42
#OTHER_READWRITE_SECTIONS=

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.