1
1

Initial dump from Zyxel

This commit is contained in:
2026-04-17 17:00:52 +02:00
commit 81fec250f4
23116 changed files with 5231237 additions and 0 deletions
@@ -0,0 +1,71 @@
/*
* Ruby platform.
*
* flip memmap configuration.
*
* Unfortunately passing linker script through preprocessor is not implemented,
* so let's hard-code all values.
*/
OUTPUT_FORMAT("elf32-littlearc", "elf32-littlearc", "elf32-littlearc")
OUTPUT_ARCH(arc)
ENTRY(hello_world)
MEMORY
{
/*
* SRAM size is 256KB.
* SRAM from LHOST seen starting from 0x88000000 address.
* SRAM from MuC/DSP seen starting from 0x80000000 address.
* Let's reserve 64KB at the end of SRAM for stack and heap.
* Please keep it synchronized with include/configs/ruby.h
*/
sram : ORIGIN = 0x80000000, LENGTH = 256K - 64K
}
SECTIONS
{
.text :
{
*(.text)
} > sram
. = ALIGN(4);
.rodata :
{
*(.rodata)
*(.rodata.str*)
} > sram
. = ALIGN(4);
.data :
{
*(.data)
} > sram
. = ALIGN(4);
__bss_start = .;
.bss ABSOLUTE(.) :
{
*(.bss)
} > sram
. = ALIGN(4);
__bss_end = .;
.stack :
{
. += 16384;
*(.data)
} > sram
.heap :
{
*(.data)
} > sram
. = ALIGN(4);
uboot_end = .;
_end = .;
}
@@ -0,0 +1,56 @@
/*
* (C) Copyright 2003
* Wolfgang Denk Engineering, <wd@denx.de>
*
* See file CREDITS for list of people who contributed to this
* project.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
* MA 02111-1307 USA
*/
OUTPUT_FORMAT("elf32-tradlittlemips", "elf32-tradlittlemips", "elf32-tradlittlemips")
OUTPUT_ARCH(mips)
SECTIONS
{
.text :
{
*(.text)
}
. = ALIGN(4);
.rodata : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) }
. = ALIGN(4);
.data : { *(.data) }
. = .;
_gp = ALIGN(16) + 0x7ff0;
.got : {
__got_start = .;
*(.got)
__got_end = .;
}
.sdata : { *(.sdata) }
. = ALIGN(4);
__bss_start = .;
.sbss (NOLOAD) : { *(.sbss) }
.bss (NOLOAD) : { *(.bss) . = ALIGN(4); }
_end = .;
}