- simplified ld scripts

git-svn-id: http://moon:8086/svn/mips@94 a8ebac50-d88d-4704-bea3-6648445a41b3
This commit is contained in:
2017-01-17 20:33:58 +00:00
parent fe89d0ef91
commit 71b53945b5
2 changed files with 0 additions and 38 deletions
-19
View File
@@ -1,23 +1,4 @@
/* Script for -z combreloc: combine and sort reloc sections */
OUTPUT_FORMAT("elf32-littlemips", "elf32-bigmips",
"elf32-littlemips")
OUTPUT_ARCH(mips)
ENTRY(_start)
SEARCH_DIR("./libsys");
SEARCH_DIR("/usr/local/mipsel-elf/lib:/usr/local/mipsel-elf/lib/eb");
SEARCH_DIR("/usr/local/lib/gcc/mipsel-elf/4.3.3:/usr/local/lib/gcc/mipsel-elf/4.3.3/eb");
stack_ptr = 0x7FFFEFF0;
baudrate = 0x0D;
sys_led_port = 0xA0000000;
sys_uart_data = 0xA0010000;
sys_uart_stat = 0xA0010004;
sys_uart_baud = 0xA0010008;
sys_timer_usec = 0xA000008;
sys_timer_sec = 0xA000000C;
STARTUP(startup.o)
INPUT(kernel.o)
SECTIONS
{
-19
View File
@@ -1,23 +1,4 @@
/* Script for -z combreloc: combine and sort reloc sections */
OUTPUT_FORMAT("elf32-littlemips", "elf32-bigmips",
"elf32-littlemips")
OUTPUT_ARCH(mips)
ENTRY(_start)
SEARCH_DIR("./libsys");
SEARCH_DIR("/usr/local/mipsel-elf/lib:/usr/local/mipsel-elf/lib/eb");
SEARCH_DIR("/usr/local/lib/gcc/mipsel-elf/4.3.3:/usr/local/lib/gcc/mipsel-elf/4.3.3/eb");
stack_ptr = 0x83FFEFF0;
baudrate = 0x0D;
sys_led_port = 0xAC000000;
sys_uart_data = 0xAC010000;
sys_uart_stat = 0xAC010004;
sys_uart_baud = 0xAC010008;
sys_timer_usec = 0xAC00008;
sys_timer_sec = 0xAC00000C;
STARTUP(startup.o)
INPUT(kernel.o)
SECTIONS
{