Browse Source

import code from topeet

Signed-off-by: surenyi <surenyi82@163.com>
master
surenyi 7 months ago
parent
commit
36279b5d29
  1. 105
      Targets/Bonito2g1a/conf/ld.script
  2. 105
      Targets/Bonito2g5536/conf/ld.script
  3. 105
      Targets/Bonito2g5ddr2_1a/conf/ld.script
  4. 105
      Targets/Bonito2g5ddr3_1a/conf/ld.script
  5. 105
      Targets/Bonito3a4000_7a/conf/ld.script
  6. 105
      Targets/Bonito3a8780e/conf/ld.script
  7. 105
      Targets/Bonito3a92h/conf/ld.script
  8. 105
      Targets/Bonito3b780e/conf/ld.script
  9. BIN
      Targets/LS2K/compile/ls2k/9022a.o
  10. 9616
      Targets/LS2K/compile/ls2k/Makefile
  11. 9616
      Targets/LS2K/compile/ls2k/Makefile.bak
  12. BIN
      Targets/LS2K/compile/ls2k/about.o
  13. BIN
      Targets/LS2K/compile/ls2k/ahci-cdrom.o
  14. BIN
      Targets/LS2K/compile/ls2k/ahci-sd.o
  15. BIN
      Targets/LS2K/compile/ls2k/ahci.o
  16. 1
      Targets/LS2K/compile/ls2k/ahci_cdrom.h
  17. 1
      Targets/LS2K/compile/ls2k/ahci_sd.h
  18. BIN
      Targets/LS2K/compile/ls2k/ahcisata.o
  19. BIN
      Targets/LS2K/compile/ls2k/ata.o
  20. BIN
      Targets/LS2K/compile/ls2k/ata_wdc.o
  21. 1
      Targets/LS2K/compile/ls2k/atp.h
  22. BIN
      Targets/LS2K/compile/ls2k/autoconf.o
  23. BIN
      Targets/LS2K/compile/ls2k/boot.o
  24. BIN
      Targets/LS2K/compile/ls2k/boot_cfg.o
  25. BIN
      Targets/LS2K/compile/ls2k/bootkernel.o
  26. BIN
      Targets/LS2K/compile/ls2k/bootp.o
  27. BIN
      Targets/LS2K/compile/ls2k/bootparam.o
  28. 1
      Targets/LS2K/compile/ls2k/bpfilter.h
  29. 1
      Targets/LS2K/compile/ls2k/bridge.h
  30. BIN
      Targets/LS2K/compile/ls2k/bus_dma.o
  31. BIN
      Targets/LS2K/compile/ls2k/cache.o
  32. BIN
      Targets/LS2K/compile/ls2k/call.o
  33. BIN
      Targets/LS2K/compile/ls2k/callvec.o
  34. BIN
      Targets/LS2K/compile/ls2k/can_test.o
  35. 1
      Targets/LS2K/compile/ls2k/cd.h
  36. BIN
      Targets/LS2K/compile/ls2k/cd.o
  37. BIN
      Targets/LS2K/compile/ls2k/cfb_console.o
  38. 2
      Targets/LS2K/compile/ls2k/cmd_env.h
  39. BIN
      Targets/LS2K/compile/ls2k/cmd_env.o
  40. BIN
      Targets/LS2K/compile/ls2k/cmd_go.o
  41. BIN
      Targets/LS2K/compile/ls2k/cmd_grub.o
  42. 1
      Targets/LS2K/compile/ls2k/cmd_hist.h
  43. 1
      Targets/LS2K/compile/ls2k/cmd_lwdhcp.h
  44. BIN
      Targets/LS2K/compile/ls2k/cmd_main.o
  45. 1
      Targets/LS2K/compile/ls2k/cmd_more.h
  46. 4
      Targets/LS2K/compile/ls2k/cmd_shell.h
  47. BIN
      Targets/LS2K/compile/ls2k/cmd_usb.o
  48. BIN
      Targets/LS2K/compile/ls2k/cmdlinepart.o
  49. BIN
      Targets/LS2K/compile/ls2k/cmdparser.o
  50. BIN
      Targets/LS2K/compile/ls2k/cmdtable.o
  51. BIN
      Targets/LS2K/compile/ls2k/crc16.o
  52. 107
      Targets/LS2K/compile/ls2k/crtbegin.c
  53. BIN
      Targets/LS2K/compile/ls2k/crtbegin.o
  54. 50
      Targets/LS2K/compile/ls2k/crtend.c
  55. BIN
      Targets/LS2K/compile/ls2k/crtend.o
  56. 3
      Targets/LS2K/compile/ls2k/cs5536.h
  57. BIN
      Targets/LS2K/compile/ls2k/dc.o
  58. BIN
      Targets/LS2K/compile/ls2k/debug.o
  59. BIN
      Targets/LS2K/compile/ls2k/debugger.o
  60. BIN
      Targets/LS2K/compile/ls2k/debuggercmds.o
  61. BIN
      Targets/LS2K/compile/ls2k/decode.o
  62. BIN
      Targets/LS2K/compile/ls2k/dev_part.o
  63. BIN
      Targets/LS2K/compile/ls2k/devfs.o
  64. BIN
      Targets/LS2K/compile/ls2k/devls.o
  65. BIN
      Targets/LS2K/compile/ls2k/disassemble.o
  66. BIN
      Targets/LS2K/compile/ls2k/diskfs.o
  67. BIN
      Targets/LS2K/compile/ls2k/display.o
  68. BIN
      Targets/LS2K/compile/ls2k/e1000_82575.o
  69. BIN
      Targets/LS2K/compile/ls2k/e1000_api.o
  70. BIN
      Targets/LS2K/compile/ls2k/e1000_i210.o
  71. BIN
      Targets/LS2K/compile/ls2k/e1000_mac.o
  72. BIN
      Targets/LS2K/compile/ls2k/e1000_manage.o
  73. BIN
      Targets/LS2K/compile/ls2k/e1000_mbx.o
  74. BIN
      Targets/LS2K/compile/ls2k/e1000_nvm.o
  75. BIN
      Targets/LS2K/compile/ls2k/e1000_phy.o
  76. BIN
      Targets/LS2K/compile/ls2k/eeprom.o
  77. 1
      Targets/LS2K/compile/ls2k/elf32only.h
  78. BIN
      Targets/LS2K/compile/ls2k/env.o
  79. 1
      Targets/LS2K/compile/ls2k/ether.h
  80. BIN
      Targets/LS2K/compile/ls2k/exception.o
  81. BIN
      Targets/LS2K/compile/ls2k/exec.o
  82. BIN
      Targets/LS2K/compile/ls2k/exec_bin.o
  83. BIN
      Targets/LS2K/compile/ls2k/exec_elf.o
  84. BIN
      Targets/LS2K/compile/ls2k/exec_elf64.o
  85. BIN
      Targets/LS2K/compile/ls2k/exec_srec.o
  86. BIN
      Targets/LS2K/compile/ls2k/exec_txt.o
  87. BIN
      Targets/LS2K/compile/ls2k/ext2fs.o
  88. BIN
      Targets/LS2K/compile/ls2k/fatfs.o
  89. BIN
      Targets/LS2K/compile/ls2k/fcr-nand.o
  90. 1
      Targets/LS2K/compile/ls2k/fd.h
  91. BIN
      Targets/LS2K/compile/ls2k/fdt.o
  92. BIN
      Targets/LS2K/compile/ls2k/fdt_ro.o
  93. BIN
      Targets/LS2K/compile/ls2k/fdt_rw.o
  94. BIN
      Targets/LS2K/compile/ls2k/fdt_strerror.o
  95. BIN
      Targets/LS2K/compile/ls2k/fdt_wip.o
  96. 6
      Targets/LS2K/compile/ls2k/flash.h
  97. BIN
      Targets/LS2K/compile/ls2k/flash.o
  98. BIN
      Targets/LS2K/compile/ls2k/flash_amd.o
  99. BIN
      Targets/LS2K/compile/ls2k/flash_int.o
  100. BIN
      Targets/LS2K/compile/ls2k/flash_spi.o

105
Targets/Bonito2g1a/conf/ld.script

@ -1,105 +0,0 @@
OUTPUT_FORMAT("elf32-tradlittlemips", "elf32-tradbigmips",
"elf32-tradlittlemips")
OUTPUT_ARCH(mips)
ENTRY(_start)
SECTIONS
{
. = 0xffffffff8f010000;
.text :
{
_ftext = . ;
*(.text)
*(.rodata)
*(.rodata1)
*(.reginfo)
*(.init)
*(.stub)
*(.gnu.warning)
} =0
_etext = .;
PROVIDE (etext = .);
.fini : { *(.fini) } =0
.data :
{
_fdata = . ;
*(.data)
. = ALIGN(32);
*(.data.align32)
. = ALIGN(64);
*(.data.align64)
. = ALIGN(128);
*(.data.align128)
. = ALIGN(4096);
*(.data.align4096)
CONSTRUCTORS
}
.data1 : { *(.data1) }
.ctors :
{
__CTOR_LIST__ = .;
LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
*(.ctors)
LONG(0)
__CTOR_END__ = .;
}
.dtors :
{
__DTOR_LIST__ = .;
LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
*(.dtors)
LONG(0)
__DTOR_END__ = .;
}
_gp = ALIGN(16) + 0x7ff0;
.got :
{
*(.got.plt) *(.got)
}
.sdata : { *(.sdata) }
.lit8 : { *(.lit8) }
.lit4 : { *(.lit4) }
_edata = .;
PROVIDE (edata = .);
__bss_start = .;
_fbss = .;
.sbss : { *(.sbss) *(.scommon) }
.bss :
{
*(.dynbss)
*(.bss)
. = ALIGN(32);
*(.bss.align32)
. = ALIGN(64);
*(.bss.align64)
. = ALIGN(128);
*(.bss.align128)
. = ALIGN(4096);
*(.bss.align4096)
*(COMMON)
}
_end = . ;
PROVIDE (end = .);
.stab 0 : { *(.stab) }
.stabstr 0 : { *(.stabstr) }
.debug 0 : { *(.debug) }
.debug_srcinfo 0 : { *(.debug_srcinfo) }
.debug_aranges 0 : { *(.debug_aranges) }
.debug_pubnames 0 : { *(.debug_pubnames) }
.debug_sfnames 0 : { *(.debug_sfnames) }
.line 0 : { *(.line) }
.gptab.sdata : { *(.gptab.data) *(.gptab.sdata) }
.gptab.sbss : { *(.gptab.bss) *(.gptab.sbss) }
}

105
Targets/Bonito2g5536/conf/ld.script

@ -1,105 +0,0 @@
OUTPUT_FORMAT("elf32-tradlittlemips", "elf32-tradbigmips",
"elf32-tradlittlemips")
OUTPUT_ARCH(mips)
ENTRY(_start)
SECTIONS
{
. = 0xffffffff8f010000;
.text :
{
_ftext = . ;
*(.text)
*(.rodata)
*(.rodata1)
*(.reginfo)
*(.init)
*(.stub)
*(.gnu.warning)
} =0
_etext = .;
PROVIDE (etext = .);
.fini : { *(.fini) } =0
.data :
{
_fdata = . ;
*(.data)
. = ALIGN(32);
*(.data.align32)
. = ALIGN(64);
*(.data.align64)
. = ALIGN(128);
*(.data.align128)
. = ALIGN(4096);
*(.data.align4096)
CONSTRUCTORS
}
.data1 : { *(.data1) }
.ctors :
{
__CTOR_LIST__ = .;
LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
*(.ctors)
LONG(0)
__CTOR_END__ = .;
}
.dtors :
{
__DTOR_LIST__ = .;
LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
*(.dtors)
LONG(0)
__DTOR_END__ = .;
}
_gp = ALIGN(16) + 0x7ff0;
.got :
{
*(.got.plt) *(.got)
}
.sdata : { *(.sdata) }
.lit8 : { *(.lit8) }
.lit4 : { *(.lit4) }
_edata = .;
PROVIDE (edata = .);
__bss_start = .;
_fbss = .;
.sbss : { *(.sbss) *(.scommon) }
.bss :
{
*(.dynbss)
*(.bss)
. = ALIGN(32);
*(.bss.align32)
. = ALIGN(64);
*(.bss.align64)
. = ALIGN(128);
*(.bss.align128)
. = ALIGN(4096);
*(.bss.align4096)
*(COMMON)
}
_end = . ;
PROVIDE (end = .);
.stab 0 : { *(.stab) }
.stabstr 0 : { *(.stabstr) }
.debug 0 : { *(.debug) }
.debug_srcinfo 0 : { *(.debug_srcinfo) }
.debug_aranges 0 : { *(.debug_aranges) }
.debug_pubnames 0 : { *(.debug_pubnames) }
.debug_sfnames 0 : { *(.debug_sfnames) }
.line 0 : { *(.line) }
.gptab.sdata : { *(.gptab.data) *(.gptab.sdata) }
.gptab.sbss : { *(.gptab.bss) *(.gptab.sbss) }
}

105
Targets/Bonito2g5ddr2_1a/conf/ld.script

@ -1,105 +0,0 @@
OUTPUT_FORMAT("elf32-tradlittlemips", "elf32-tradbigmips",
"elf32-tradlittlemips")
OUTPUT_ARCH(mips)
ENTRY(_start)
SECTIONS
{
. = 0xffffffff8f010000;
.text :
{
_ftext = . ;
*(.text)
*(.rodata)
*(.rodata1)
*(.reginfo)
*(.init)
*(.stub)
*(.gnu.warning)
} =0
_etext = .;
PROVIDE (etext = .);
.fini : { *(.fini) } =0
.data :
{
_fdata = . ;
*(.data)
. = ALIGN(32);
*(.data.align32)
. = ALIGN(64);
*(.data.align64)
. = ALIGN(128);
*(.data.align128)
. = ALIGN(4096);
*(.data.align4096)
CONSTRUCTORS
}
.data1 : { *(.data1) }
.ctors :
{
__CTOR_LIST__ = .;
LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
*(.ctors)
LONG(0)
__CTOR_END__ = .;
}
.dtors :
{
__DTOR_LIST__ = .;
LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
*(.dtors)
LONG(0)
__DTOR_END__ = .;
}
_gp = ALIGN(16) + 0x7ff0;
.got :
{
*(.got.plt) *(.got)
}
.sdata : { *(.sdata) }
.lit8 : { *(.lit8) }
.lit4 : { *(.lit4) }
_edata = .;
PROVIDE (edata = .);
__bss_start = .;
_fbss = .;
.sbss : { *(.sbss) *(.scommon) }
.bss :
{
*(.dynbss)
*(.bss)
. = ALIGN(32);
*(.bss.align32)
. = ALIGN(64);
*(.bss.align64)
. = ALIGN(128);
*(.bss.align128)
. = ALIGN(4096);
*(.bss.align4096)
*(COMMON)
}
_end = . ;
PROVIDE (end = .);
.stab 0 : { *(.stab) }
.stabstr 0 : { *(.stabstr) }
.debug 0 : { *(.debug) }
.debug_srcinfo 0 : { *(.debug_srcinfo) }
.debug_aranges 0 : { *(.debug_aranges) }
.debug_pubnames 0 : { *(.debug_pubnames) }
.debug_sfnames 0 : { *(.debug_sfnames) }
.line 0 : { *(.line) }
.gptab.sdata : { *(.gptab.data) *(.gptab.sdata) }
.gptab.sbss : { *(.gptab.bss) *(.gptab.sbss) }
}

105
Targets/Bonito2g5ddr3_1a/conf/ld.script

@ -1,105 +0,0 @@
OUTPUT_FORMAT("elf32-tradlittlemips", "elf32-tradbigmips",
"elf32-tradlittlemips")
OUTPUT_ARCH(mips)
ENTRY(_start)
SECTIONS
{
. = 0xffffffff8f010000;
.text :
{
_ftext = . ;
*(.text)
*(.rodata)
*(.rodata1)
*(.reginfo)
*(.init)
*(.stub)
*(.gnu.warning)
} =0
_etext = .;
PROVIDE (etext = .);
.fini : { *(.fini) } =0
.data :
{
_fdata = . ;
*(.data)
. = ALIGN(32);
*(.data.align32)
. = ALIGN(64);
*(.data.align64)
. = ALIGN(128);
*(.data.align128)
. = ALIGN(4096);
*(.data.align4096)
CONSTRUCTORS
}
.data1 : { *(.data1) }
.ctors :
{
__CTOR_LIST__ = .;
LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
*(.ctors)
LONG(0)
__CTOR_END__ = .;
}
.dtors :
{
__DTOR_LIST__ = .;
LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
*(.dtors)
LONG(0)
__DTOR_END__ = .;
}
_gp = ALIGN(16) + 0x7ff0;
.got :
{
*(.got.plt) *(.got)
}
.sdata : { *(.sdata) }
.lit8 : { *(.lit8) }
.lit4 : { *(.lit4) }
_edata = .;
PROVIDE (edata = .);
__bss_start = .;
_fbss = .;
.sbss : { *(.sbss) *(.scommon) }
.bss :
{
*(.dynbss)
*(.bss)
. = ALIGN(32);
*(.bss.align32)
. = ALIGN(64);
*(.bss.align64)
. = ALIGN(128);
*(.bss.align128)
. = ALIGN(4096);
*(.bss.align4096)
*(COMMON)
}
_end = . ;
PROVIDE (end = .);
.stab 0 : { *(.stab) }
.stabstr 0 : { *(.stabstr) }
.debug 0 : { *(.debug) }
.debug_srcinfo 0 : { *(.debug_srcinfo) }
.debug_aranges 0 : { *(.debug_aranges) }
.debug_pubnames 0 : { *(.debug_pubnames) }
.debug_sfnames 0 : { *(.debug_sfnames) }
.line 0 : { *(.line) }
.gptab.sdata : { *(.gptab.data) *(.gptab.sdata) }
.gptab.sbss : { *(.gptab.bss) *(.gptab.sbss) }
}

105
Targets/Bonito3a4000_7a/conf/ld.script

@ -1,105 +0,0 @@
OUTPUT_FORMAT("elf32-tradlittlemips", "elf32-tradbigmips",
"elf32-tradlittlemips")
OUTPUT_ARCH(mips)
ENTRY(_start)
SECTIONS
{
. = 0xffffffff8f010000;
.text :
{
_ftext = . ;
*(.text)
*(.rodata)
*(.rodata1)
*(.reginfo)
*(.init)
*(.stub)
*(.gnu.warning)
} =0
_etext = .;
PROVIDE (etext = .);
.fini : { *(.fini) } =0
.data :
{
_fdata = . ;
*(.data)
. = ALIGN(32);
*(.data.align32)
. = ALIGN(64);
*(.data.align64)
. = ALIGN(128);
*(.data.align128)
. = ALIGN(4096);
*(.data.align4096)
CONSTRUCTORS
}
.data1 : { *(.data1) }
.ctors :
{
__CTOR_LIST__ = .;
LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
*(.ctors)
LONG(0)
__CTOR_END__ = .;
}
.dtors :
{
__DTOR_LIST__ = .;
LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
*(.dtors)
LONG(0)
__DTOR_END__ = .;
}
_gp = ALIGN(16) + 0x7ff0;
.got :
{
*(.got.plt) *(.got)
}
.sdata : { *(.sdata) }
.lit8 : { *(.lit8) }
.lit4 : { *(.lit4) }
_edata = .;
PROVIDE (edata = .);
__bss_start = .;
_fbss = .;
.sbss : { *(.sbss) *(.scommon) }
.bss :
{
*(.dynbss)
*(.bss)
. = ALIGN(32);
*(.bss.align32)
. = ALIGN(64);
*(.bss.align64)
. = ALIGN(128);
*(.bss.align128)
. = ALIGN(4096);
*(.bss.align4096)
*(COMMON)
}
_end = . ;
PROVIDE (end = .);
.stab 0 : { *(.stab) }
.stabstr 0 : { *(.stabstr) }
.debug 0 : { *(.debug) }
.debug_srcinfo 0 : { *(.debug_srcinfo) }
.debug_aranges 0 : { *(.debug_aranges) }
.debug_pubnames 0 : { *(.debug_pubnames) }
.debug_sfnames 0 : { *(.debug_sfnames) }
.line 0 : { *(.line) }
.gptab.sdata : { *(.gptab.data) *(.gptab.sdata) }
.gptab.sbss : { *(.gptab.bss) *(.gptab.sbss) }
}

105
Targets/Bonito3a8780e/conf/ld.script

@ -1,105 +0,0 @@
OUTPUT_FORMAT("elf32-tradlittlemips", "elf32-tradbigmips",
"elf32-tradlittlemips")
OUTPUT_ARCH(mips)
ENTRY(_start)
SECTIONS
{
. = 0xffffffff8f010000;
.text :
{
_ftext = . ;
*(.text)
*(.rodata)
*(.rodata1)
*(.reginfo)
*(.init)
*(.stub)
*(.gnu.warning)
} =0
_etext = .;
PROVIDE (etext = .);
.fini : { *(.fini) } =0
.data :
{
_fdata = . ;
*(.data)
. = ALIGN(32);
*(.data.align32)
. = ALIGN(64);
*(.data.align64)
. = ALIGN(128);
*(.data.align128)
. = ALIGN(4096);
*(.data.align4096)
CONSTRUCTORS
}
.data1 : { *(.data1) }
.ctors :
{
__CTOR_LIST__ = .;
LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
*(.ctors)
LONG(0)
__CTOR_END__ = .;
}
.dtors :
{
__DTOR_LIST__ = .;
LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
*(.dtors)
LONG(0)
__DTOR_END__ = .;
}
_gp = ALIGN(16) + 0x7ff0;
.got :
{
*(.got.plt) *(.got)
}
.sdata : { *(.sdata) }
.lit8 : { *(.lit8) }
.lit4 : { *(.lit4) }
_edata = .;
PROVIDE (edata = .);
__bss_start = .;
_fbss = .;
.sbss : { *(.sbss) *(.scommon) }
.bss :
{
*(.dynbss)
*(.bss)
. = ALIGN(32);
*(.bss.align32)
. = ALIGN(64);
*(.bss.align64)
. = ALIGN(128);
*(.bss.align128)
. = ALIGN(4096);
*(.bss.align4096)
*(COMMON)
}
_end = . ;
PROVIDE (end = .);
.stab 0 : { *(.stab) }
.stabstr 0 : { *(.stabstr) }
.debug 0 : { *(.debug) }
.debug_srcinfo 0 : { *(.debug_srcinfo) }
.debug_aranges 0 : { *(.debug_aranges) }
.debug_pubnames 0 : { *(.debug_pubnames) }
.debug_sfnames 0 : { *(.debug_sfnames) }
.line 0 : { *(.line) }
.gptab.sdata : { *(.gptab.data) *(.gptab.sdata) }
.gptab.sbss : { *(.gptab.bss) *(.gptab.sbss) }
}

105
Targets/Bonito3a92h/conf/ld.script

@ -1,105 +0,0 @@
OUTPUT_FORMAT("elf32-tradlittlemips", "elf32-tradbigmips",
"elf32-tradlittlemips")
OUTPUT_ARCH(mips)
ENTRY(_start)
SECTIONS
{
. = 0xffffffff8f010000;
.text :
{
_ftext = . ;
*(.text)
*(.rodata)
*(.rodata1)
*(.reginfo)
*(.init)
*(.stub)
*(.gnu.warning)
} =0
_etext = .;
PROVIDE (etext = .);
.fini : { *(.fini) } =0
.data :
{
_fdata = . ;
*(.data)
. = ALIGN(32);
*(.data.align32)
. = ALIGN(64);
*(.data.align64)
. = ALIGN(128);
*(.data.align128)
. = ALIGN(4096);
*(.data.align4096)
CONSTRUCTORS
}
.data1 : { *(.data1) }
.ctors :
{
__CTOR_LIST__ = .;
LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
*(.ctors)
LONG(0)
__CTOR_END__ = .;
}
.dtors :
{
__DTOR_LIST__ = .;
LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
*(.dtors)
LONG(0)
__DTOR_END__ = .;
}
_gp = ALIGN(16) + 0x7ff0;
.got :
{
*(.got.plt) *(.got)
}
.sdata : { *(.sdata) }
.lit8 : { *(.lit8) }
.lit4 : { *(.lit4) }
_edata = .;
PROVIDE (edata = .);
__bss_start = .;
_fbss = .;
.sbss : { *(.sbss) *(.scommon) }
.bss :
{
*(.dynbss)
*(.bss)
. = ALIGN(32);
*(.bss.align32)
. = ALIGN(64);
*(.bss.align64)
. = ALIGN(128);
*(.bss.align128)
. = ALIGN(4096);
*(.bss.align4096)
*(COMMON)
}
_end = . ;
PROVIDE (end = .);
.stab 0 : { *(.stab) }
.stabstr 0 : { *(.stabstr) }
.debug 0 : { *(.debug) }
.debug_srcinfo 0 : { *(.debug_srcinfo) }
.debug_aranges 0 : { *(.debug_aranges) }
.debug_pubnames 0 : { *(.debug_pubnames) }
.debug_sfnames 0 : { *(.debug_sfnames) }
.line 0 : { *(.line) }
.gptab.sdata : { *(.gptab.data) *(.gptab.sdata) }
.gptab.sbss : { *(.gptab.bss) *(.gptab.sbss) }
}

105
Targets/Bonito3b780e/conf/ld.script

@ -1,105 +0,0 @@
OUTPUT_FORMAT("elf32-tradlittlemips", "elf32-tradbigmips",
"elf32-tradlittlemips")
OUTPUT_ARCH(mips)
ENTRY(_start)
SECTIONS
{
. = 0xffffffff8f010000;
.text :
{
_ftext = . ;
*(.text)
*(.rodata)
*(.rodata1)
*(.reginfo)
*(.init)
*(.stub)
*(.gnu.warning)
} =0
_etext = .;
PROVIDE (etext = .);
.fini : { *(.fini) } =0
.data :
{
_fdata = . ;
*(.data)
. = ALIGN(32);
*(.data.align32)
. = ALIGN(64);
*(.data.align64)
. = ALIGN(128);
*(.data.align128)
. = ALIGN(4096);
*(.data.align4096)
CONSTRUCTORS
}
.data1 : { *(.data1) }
.ctors :
{
__CTOR_LIST__ = .;
LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
*(.ctors)
LONG(0)
__CTOR_END__ = .;
}
.dtors :
{
__DTOR_LIST__ = .;
LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
*(.dtors)
LONG(0)
__DTOR_END__ = .;
}
_gp = ALIGN(16) + 0x7ff0;
.got :
{
*(.got.plt) *(.got)
}
.sdata : { *(.sdata) }
.lit8 : { *(.lit8) }
.lit4 : { *(.lit4) }
_edata = .;
PROVIDE (edata = .);
__bss_start = .;
_fbss = .;
.sbss : { *(.sbss) *(.scommon) }
.bss :
{
*(.dynbss)
*(.bss)
. = ALIGN(32);
*(.bss.align32)
. = ALIGN(64);
*(.bss.align64)
. = ALIGN(128);
*(.bss.align128)
. = ALIGN(4096);
*(.bss.align4096)
*(COMMON)
}
_end = . ;
PROVIDE (end = .);
.stab 0 : { *(.stab) }
.stabstr 0 : { *(.stabstr) }
.debug 0 : { *(.debug) }
.debug_srcinfo 0 : { *(.debug_srcinfo) }
.debug_aranges 0 : { *(.debug_aranges) }
.debug_pubnames 0 : { *(.debug_pubnames) }
.debug_sfnames 0 : { *(.debug_sfnames) }
.line 0 : { *(.line) }
.gptab.sdata : { *(.gptab.data) *(.gptab.sdata) }
.gptab.sbss : { *(.gptab.bss) *(.gptab.sbss) }
}

BIN
Targets/LS2K/compile/ls2k/9022a.o

Binary file not shown.

9616
Targets/LS2K/compile/ls2k/Makefile

File diff suppressed because it is too large

9616
Targets/LS2K/compile/ls2k/Makefile.bak

File diff suppressed because it is too large

BIN
Targets/LS2K/compile/ls2k/about.o

Binary file not shown.

BIN
Targets/LS2K/compile/ls2k/ahci-cdrom.o

Binary file not shown.

BIN
Targets/LS2K/compile/ls2k/ahci-sd.o

Binary file not shown.

BIN
Targets/LS2K/compile/ls2k/ahci.o

Binary file not shown.

1
Targets/LS2K/compile/ls2k/ahci_cdrom.h

@ -0,0 +1 @@
#define NAHCI_CDROM 1

1
Targets/LS2K/compile/ls2k/ahci_sd.h

@ -0,0 +1 @@
#define NAHCI_SD 1

BIN
Targets/LS2K/compile/ls2k/ahcisata.o

Binary file not shown.

BIN
Targets/LS2K/compile/ls2k/ata.o

Binary file not shown.

BIN
Targets/LS2K/compile/ls2k/ata_wdc.o

Binary file not shown.

1
Targets/LS2K/compile/ls2k/atp.h

@ -0,0 +1 @@
#define NATP 0

BIN
Targets/LS2K/compile/ls2k/autoconf.o

Binary file not shown.

BIN
Targets/LS2K/compile/ls2k/boot.o

Binary file not shown.

BIN
Targets/LS2K/compile/ls2k/boot_cfg.o

Binary file not shown.

BIN
Targets/LS2K/compile/ls2k/bootkernel.o

Binary file not shown.

BIN
Targets/LS2K/compile/ls2k/bootp.o

Binary file not shown.

BIN
Targets/LS2K/compile/ls2k/bootparam.o

Binary file not shown.

1
Targets/LS2K/compile/ls2k/bpfilter.h

@ -0,0 +1 @@
#define NBPFILTER 0

1
Targets/LS2K/compile/ls2k/bridge.h

@ -0,0 +1 @@
#define NBRIDGE 0

BIN
Targets/LS2K/compile/ls2k/bus_dma.o

Binary file not shown.

BIN
Targets/LS2K/compile/ls2k/cache.o

Binary file not shown.

BIN
Targets/LS2K/compile/ls2k/call.o

Binary file not shown.

BIN
Targets/LS2K/compile/ls2k/callvec.o

Binary file not shown.

BIN
Targets/LS2K/compile/ls2k/can_test.o

Binary file not shown.

1
Targets/LS2K/compile/ls2k/cd.h

@ -0,0 +1 @@
#define NCD 0

BIN
Targets/LS2K/compile/ls2k/cd.o

Binary file not shown.

BIN
Targets/LS2K/compile/ls2k/cfb_console.o

Binary file not shown.

2
Targets/LS2K/compile/ls2k/cmd_env.h

@ -0,0 +1,2 @@
#define NCMD_ENV 1
#define NCMD_SET 1

BIN
Targets/LS2K/compile/ls2k/cmd_env.o

Binary file not shown.

BIN
Targets/LS2K/compile/ls2k/cmd_go.o

Binary file not shown.

BIN
Targets/LS2K/compile/ls2k/cmd_grub.o

Binary file not shown.

1
Targets/LS2K/compile/ls2k/cmd_hist.h

@ -0,0 +1 @@
#define NCMD_HIST 1

1
Targets/LS2K/compile/ls2k/cmd_lwdhcp.h

@ -0,0 +1 @@
#define NCMD_LWDHCP 0

BIN
Targets/LS2K/compile/ls2k/cmd_main.o

Binary file not shown.

1
Targets/LS2K/compile/ls2k/cmd_more.h

@ -0,0 +1 @@
#define NCMD_MORE 1

4
Targets/LS2K/compile/ls2k/cmd_shell.h

@ -0,0 +1,4 @@
#define NCMD_SHELL 1
#define NCMD_VERS 0
#define NCMD_HELP 0
#define NCMD_EVAL 0

BIN
Targets/LS2K/compile/ls2k/cmd_usb.o

Binary file not shown.

BIN
Targets/LS2K/compile/ls2k/cmdlinepart.o

Binary file not shown.

BIN
Targets/LS2K/compile/ls2k/cmdparser.o

Binary file not shown.

BIN
Targets/LS2K/compile/ls2k/cmdtable.o

Binary file not shown.

BIN
Targets/LS2K/compile/ls2k/crc16.o

Binary file not shown.

107
Targets/LS2K/compile/ls2k/crtbegin.c

@ -0,0 +1,107 @@
/* $OpenBSD: crtbegin.c,v 1.2 1999/01/28 05:01:15 rahnds Exp $ */
/* $NetBSD: crtbegin.c,v 1.1 1996/09/12 16:59:03 cgd Exp $ */
/*
* Copyright (c) 1993 Paul Kranenburg
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* This product includes software developed by Paul Kranenburg.
* 4. The name of the author may not be used to endorse or promote products
* derived from this software without specific prior written permission
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/*
* Run-time module for GNU C++ compiled shared libraries.
*
* The linker constructs the following arrays of pointers to global
* constructors and destructors. The first element contains the
* number of pointers in each.
* The tables are also null-terminated.
*/
#include <stdlib.h>
static void __dtors __P((void));
static void __ctors __P((void));
typedef void (*func_ptr) (void);
void __init __P((void));
void __fini __P((void));
extern func_ptr __CTOR_LIST__[];
extern func_ptr __DTOR_LIST__[];
static void __dtors __P((void));
static void __ctors __P((void));
static void
__dtors()
{
unsigned long i = (unsigned long) __DTOR_LIST__[0];
void (**p)(void);
if (i == -1) {
for (i = 1; __DTOR_LIST__[i] != NULL; i++)
;
i--;
}
p = __DTOR_LIST__ + i;
while (i--)
(**p--)();
}
static void
__ctors()
{
void (**p)(void) = __CTOR_LIST__ + 1;
while (*p)
(**p++)();
}
void
__init()
{
static int initialized = 0;
/*
* Call global constructors.
* Arrange to call global destructors at exit.
*/
if (!initialized) {
initialized = 1;
__ctors();
}
}
void
__fini()
{
/*
* Call global destructors.
*/
__dtors();
}

BIN
Targets/LS2K/compile/ls2k/crtbegin.o

Binary file not shown.

50
Targets/LS2K/compile/ls2k/crtend.c

@ -0,0 +1,50 @@
/* $Id: crtend.c,v 1.1.1.1 2006/09/14 01:59:08 root Exp $ */
/*
* Copyright (c) 2001-2002 Opsycon AB (www.opsycon.se / www.opsycon.com)
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* This product includes software developed by Opsycon AB, Sweden.
* 4. The name of the author may not be used to endorse or promote products
* derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
* OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
*/
#include <sys/cdefs.h>
typedef void (*func_ptr) (void);
#define NULL 0
static func_ptr __CTOR_END__[1] __attribute__ ((section (".ctors"))) = {
(func_ptr)(NULL)
};
static func_ptr __DTOR_END__[1] __attribute__ ((section (".ctors"))) = {
(func_ptr)(NULL)
};
int __cl__ __P((void));
int __cl__()
{
return((int)&__CTOR_END__ + (int)&__DTOR_END__);
}

BIN
Targets/LS2K/compile/ls2k/crtend.o

Binary file not shown.

3
Targets/LS2K/compile/ls2k/cs5536.h

@ -0,0 +1,3 @@
#define NCS5536 0
#define NPCI 1
#define NKB3310 0

BIN
Targets/LS2K/compile/ls2k/dc.o

Binary file not shown.

BIN
Targets/LS2K/compile/ls2k/debug.o

Binary file not shown.

BIN
Targets/LS2K/compile/ls2k/debugger.o

Binary file not shown.

BIN
Targets/LS2K/compile/ls2k/debuggercmds.o

Binary file not shown.

BIN
Targets/LS2K/compile/ls2k/decode.o

Binary file not shown.

BIN
Targets/LS2K/compile/ls2k/dev_part.o

Binary file not shown.

BIN
Targets/LS2K/compile/ls2k/devfs.o

Binary file not shown.

BIN
Targets/LS2K/compile/ls2k/devls.o

Binary file not shown.

BIN
Targets/LS2K/compile/ls2k/disassemble.o

Binary file not shown.

BIN
Targets/LS2K/compile/ls2k/diskfs.o

Binary file not shown.

BIN
Targets/LS2K/compile/ls2k/display.o

Binary file not shown.

BIN
Targets/LS2K/compile/ls2k/e1000_82575.o

Binary file not shown.

BIN
Targets/LS2K/compile/ls2k/e1000_api.o

Binary file not shown.

BIN
Targets/LS2K/compile/ls2k/e1000_i210.o

Binary file not shown.

BIN
Targets/LS2K/compile/ls2k/e1000_mac.o

Binary file not shown.

BIN
Targets/LS2K/compile/ls2k/e1000_manage.o

Binary file not shown.

BIN
Targets/LS2K/compile/ls2k/e1000_mbx.o

Binary file not shown.

BIN
Targets/LS2K/compile/ls2k/e1000_nvm.o

Binary file not shown.

BIN
Targets/LS2K/compile/ls2k/e1000_phy.o

Binary file not shown.

BIN
Targets/LS2K/compile/ls2k/eeprom.o

Binary file not shown.

1
Targets/LS2K/compile/ls2k/elf32only.h

@ -0,0 +1 @@
#define NELF32ONLY 0

BIN
Targets/LS2K/compile/ls2k/env.o

Binary file not shown.

1
Targets/LS2K/compile/ls2k/ether.h

@ -0,0 +1 @@
#define NETHER 1

BIN
Targets/LS2K/compile/ls2k/exception.o

Binary file not shown.

BIN
Targets/LS2K/compile/ls2k/exec.o

Binary file not shown.

BIN
Targets/LS2K/compile/ls2k/exec_bin.o

Binary file not shown.

BIN
Targets/LS2K/compile/ls2k/exec_elf.o

Binary file not shown.

BIN
Targets/LS2K/compile/ls2k/exec_elf64.o

Binary file not shown.

BIN
Targets/LS2K/compile/ls2k/exec_srec.o

Binary file not shown.

BIN
Targets/LS2K/compile/ls2k/exec_txt.o

Binary file not shown.

BIN
Targets/LS2K/compile/ls2k/ext2fs.o

Binary file not shown.

BIN
Targets/LS2K/compile/ls2k/fatfs.o

Binary file not shown.

BIN
Targets/LS2K/compile/ls2k/fcr-nand.o

Binary file not shown.

1
Targets/LS2K/compile/ls2k/fd.h

@ -0,0 +1 @@
#define NFD 0

BIN
Targets/LS2K/compile/ls2k/fdt.o

Binary file not shown.

BIN
Targets/LS2K/compile/ls2k/fdt_ro.o

Binary file not shown.

BIN
Targets/LS2K/compile/ls2k/fdt_rw.o

Binary file not shown.

BIN
Targets/LS2K/compile/ls2k/fdt_strerror.o

Binary file not shown.

BIN
Targets/LS2K/compile/ls2k/fdt_wip.o

Binary file not shown.

6
Targets/LS2K/compile/ls2k/flash.h

@ -0,0 +1,6 @@
#define NFLASH 0
#define NMOD_FLASH_AMD 1
#define NMOD_FLASH_INTEL 1
#define NMOD_FLASH_SST 1
#define NMOD_FLASH_WINBOND 0
#define NMOD_FLASH_ST 0

BIN
Targets/LS2K/compile/ls2k/flash.o

Binary file not shown.

BIN
Targets/LS2K/compile/ls2k/flash_amd.o

Binary file not shown.

BIN
Targets/LS2K/compile/ls2k/flash_int.o

Binary file not shown.

BIN
Targets/LS2K/compile/ls2k/flash_spi.o

Binary file not shown.

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save