2006-12-18 Kazu Hirata <kazu@codesourcery.com>
Merge from newlib-csl-20060320-branch:
2006-12-15 Daniel Jacobowitz <dan@codesourcery.com>
* m68k/fido-crt0.S (_vector_table): Reference
_PrivilegeViolationHandler.
2006-12-15 Daniel Jacobowitz <dan@codesourcery.com>
* m68k/fido-crt0.S (_start): Set %vbr for context 0 in
RAM configs.
* m68k/fido.sc: Clean up formatting. Add comments. Move
stack and heap end to SDRAM for SRAM and SDRAM configurations.
Put RedBoot application text in SRAM.
2006-12-13 Nathan Sidwell <nathan@codesourcery.com>
* m68k/Makefile (install_cf): Don't loop over files here. Only
install sources for the default multilib.
(install_fido): Likewise.
(install_io): Install bsps in one go.
2006-12-01 Nathan Sidwell <nathan@codesourcery.com>
Kazu Hirata <kazu@codesourcery.com>
* configure.in: Recognize fido-*-*.
* configure: Regenerate.
* m68k/Makefile.in (CF_ISRS): Use addprefix.
(FIDO_CRT0, FIDO_BSP, FIDO_OBJS, FIDO_HANDLERS,
FIDO_UNHOSTED_SCRIPTS, FIDO_HOSTED_SCRIPTS, FIDO_SCRIPTS,
FIDO_SOURCES, all_fido, fido-%-crt0.o, fido-rom.ld,
fido-rom-hosted.ld, fido-sram.ld, fido-sram-hosted.ld,
fido-sdram.ld, fido-sdram-hosted.ld, fido-redboot.ld,
install_fido): New.
* m68k/asm.h (mbb): New.
* m68k/configure.in (DO): Check for __mfido__.
* m68k/configure: Regenerate.
* m68k/fido-_exit.c, m68k/fido-crt0.S, m68k/fido-handler.c,
m68k/fido-hosted.S, m68k/fido-sbrk.c, m68k/fido.h,
m68k/fido.sc, m68k/fido_profiling.h: New.
2006-12-19 05:48:18 +08:00
|
|
|
SRAM_ORIGIN=0x03000000
|
|
|
|
SRAM_LENGTH=0x00100000
|
|
|
|
|
|
|
|
# HEAPEND must be in the same memory region as DATA. STACK should be
|
|
|
|
# above HEAPEND, also in the same region, for configurations which
|
|
|
|
# need __stack.
|
|
|
|
|
|
|
|
case $MODE in
|
|
|
|
rom)
|
|
|
|
CRT0=rom
|
|
|
|
TEXT=rom
|
|
|
|
DATA=sram
|
|
|
|
DATALOAD="rom"
|
|
|
|
STACK=0x030ffffc
|
|
|
|
HEAPEND=0x03080000
|
|
|
|
;;
|
|
|
|
sram)
|
|
|
|
CRT0=ram
|
|
|
|
TEXT=sram
|
|
|
|
DATA=sdram
|
|
|
|
STACK=0x021ffffc
|
|
|
|
HEAPEND=0x02180000
|
|
|
|
# Leave the rest of SDRAM for manual use.
|
|
|
|
;;
|
|
|
|
sdram)
|
|
|
|
CRT0=ram
|
|
|
|
TEXT=sdram
|
|
|
|
DATA=sdram
|
|
|
|
STACK=0x021ffffc
|
|
|
|
HEAPEND=0x02180000
|
|
|
|
# Leave the rest of SDRAM for manual use.
|
|
|
|
;;
|
|
|
|
redboot)
|
|
|
|
CRT0=redboot
|
|
|
|
# We need to avoid the area used by RedBoot
|
|
|
|
SRAM_ORIGIN=0x3080000
|
|
|
|
SRAM_LENGTH=0x80000
|
|
|
|
# Put code for RedBoot apps in SRAM, since the fido1100 has
|
|
|
|
# trouble running code from SDRAM.
|
|
|
|
TEXT=sram
|
|
|
|
DATA=sdram
|
|
|
|
STACK=0
|
|
|
|
HEAPEND=0x027f0000
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
ERROR
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
|
|
|
cat <<EOF
|
|
|
|
/*
|
|
|
|
* Setup the memory map of the Innovasic SBC
|
|
|
|
* stack grows down from high memory.
|
|
|
|
*
|
|
|
|
* The memory map for the ROM model looks like this:
|
|
|
|
*
|
|
|
|
* +--------------------+ <-address 0 in Flash
|
|
|
|
* | .vector_table |
|
|
|
|
* +--------------------+ <- low memory
|
|
|
|
* | .text |
|
|
|
|
* | _etext |
|
|
|
|
* | ctor list | the ctor and dtor lists are for
|
|
|
|
* | dtor list | C++ support
|
|
|
|
* +--------------------+
|
|
|
|
* | DCACHE_CODE | code to be loaded into DCACHE
|
|
|
|
* | _dcache_start |
|
|
|
|
* | _dcache_end |
|
|
|
|
* +--------------------+
|
|
|
|
* | .data | initialized data goes here
|
|
|
|
* +--------------------+
|
|
|
|
* . .
|
|
|
|
* . .
|
|
|
|
* . .
|
|
|
|
* +--------------------+ <- The beginning of the SRAM area
|
|
|
|
* | .data | a wriable copy of data goes here.
|
|
|
|
* | _edata |
|
|
|
|
* +--------------------+
|
|
|
|
* | .bss |
|
|
|
|
* | __bss_start | start of bss, cleared by crt0
|
|
|
|
* | _end | start of heap, used by sbrk()
|
|
|
|
* | _heapend | End of heap, used by sbrk()
|
|
|
|
* +--------------------+
|
|
|
|
* . .
|
|
|
|
* . .
|
|
|
|
* . .
|
|
|
|
* | __stack | top of stack
|
|
|
|
* +--------------------+
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* The memory map for the RAM model looks like this:
|
|
|
|
*
|
|
|
|
* +--------------------+ <- The beginning of the SRAM or SDRAM area.
|
|
|
|
* | .vector_table |
|
|
|
|
* +--------------------+ <- low memory
|
|
|
|
* | .text |
|
|
|
|
* | _etext |
|
|
|
|
* | ctor list | the ctor and dtor lists are for
|
|
|
|
* | dtor list | C++ support
|
|
|
|
* +--------------------+
|
|
|
|
* | DCACHE_CODE | code to be loaded into DCACHE
|
|
|
|
* | _dcache_start |
|
|
|
|
* | _dcache_end |
|
|
|
|
* +--------------------+
|
|
|
|
* | .data | initialized data goes here
|
|
|
|
* | _edata |
|
|
|
|
* +--------------------+
|
|
|
|
* | .bss |
|
|
|
|
* | __bss_start | start of bss, cleared by crt0
|
|
|
|
* | _end | start of heap, used by sbrk()
|
|
|
|
* | _heapend | End of heap, used by sbrk()
|
|
|
|
* +--------------------+
|
|
|
|
* . .
|
|
|
|
* . .
|
|
|
|
* . .
|
|
|
|
* | __stack | top of stack
|
|
|
|
* +--------------------+
|
|
|
|
*/
|
|
|
|
|
|
|
|
STARTUP(fido-${CRT0}-crt0.o)
|
|
|
|
OUTPUT_ARCH(m68k)
|
|
|
|
ENTRY(_start);
|
|
|
|
GROUP(-l${IO} -lfido -lc -lgcc)
|
|
|
|
|
|
|
|
MEMORY {
|
|
|
|
/* Flash ROM. */
|
|
|
|
rom (rx) : ORIGIN = 0x0000000, LENGTH = 0x800000
|
|
|
|
/* Internal SRAM. */
|
|
|
|
int_ram (rwx) : ORIGIN = 0x1000000, LENGTH = 0x6000
|
|
|
|
/* External SDRAM. */
|
|
|
|
sdram (rwx) : ORIGIN = 0x2000000, LENGTH = 0x800000
|
|
|
|
/* External SRAM. */
|
|
|
|
sram (rwx) : ORIGIN = ${SRAM_ORIGIN}, LENGTH = ${SRAM_LENGTH}
|
|
|
|
}
|
|
|
|
|
|
|
|
SECTIONS {
|
|
|
|
/* The interrupt vector is placed at the beginning of ${TEXT},
|
|
|
|
as required at reset. */
|
|
|
|
.vector_table : {
|
|
|
|
*(.vector_table)
|
|
|
|
} > ${TEXT}
|
|
|
|
|
|
|
|
/* Text section. */
|
|
|
|
.text :
|
|
|
|
{
|
2007-04-28 00:00:45 +08:00
|
|
|
*(.text .text.*)
|
|
|
|
*(.gnu.linkonce.t.*)
|
|
|
|
|
2006-12-18 Kazu Hirata <kazu@codesourcery.com>
Merge from newlib-csl-20060320-branch:
2006-12-15 Daniel Jacobowitz <dan@codesourcery.com>
* m68k/fido-crt0.S (_vector_table): Reference
_PrivilegeViolationHandler.
2006-12-15 Daniel Jacobowitz <dan@codesourcery.com>
* m68k/fido-crt0.S (_start): Set %vbr for context 0 in
RAM configs.
* m68k/fido.sc: Clean up formatting. Add comments. Move
stack and heap end to SDRAM for SRAM and SDRAM configurations.
Put RedBoot application text in SRAM.
2006-12-13 Nathan Sidwell <nathan@codesourcery.com>
* m68k/Makefile (install_cf): Don't loop over files here. Only
install sources for the default multilib.
(install_fido): Likewise.
(install_io): Install bsps in one go.
2006-12-01 Nathan Sidwell <nathan@codesourcery.com>
Kazu Hirata <kazu@codesourcery.com>
* configure.in: Recognize fido-*-*.
* configure: Regenerate.
* m68k/Makefile.in (CF_ISRS): Use addprefix.
(FIDO_CRT0, FIDO_BSP, FIDO_OBJS, FIDO_HANDLERS,
FIDO_UNHOSTED_SCRIPTS, FIDO_HOSTED_SCRIPTS, FIDO_SCRIPTS,
FIDO_SOURCES, all_fido, fido-%-crt0.o, fido-rom.ld,
fido-rom-hosted.ld, fido-sram.ld, fido-sram-hosted.ld,
fido-sdram.ld, fido-sdram-hosted.ld, fido-redboot.ld,
install_fido): New.
* m68k/asm.h (mbb): New.
* m68k/configure.in (DO): Check for __mfido__.
* m68k/configure: Regenerate.
* m68k/fido-_exit.c, m68k/fido-crt0.S, m68k/fido-handler.c,
m68k/fido-hosted.S, m68k/fido-sbrk.c, m68k/fido.h,
m68k/fido.sc, m68k/fido_profiling.h: New.
2006-12-19 05:48:18 +08:00
|
|
|
. = ALIGN(0x4);
|
2007-04-28 00:00:45 +08:00
|
|
|
/* These are for running static constructors and destructors under ELF. */
|
|
|
|
KEEP (*crtbegin.o(.ctors))
|
|
|
|
KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))
|
|
|
|
KEEP (*(SORT(.ctors.*)))
|
|
|
|
KEEP (*crtend.o(.ctors))
|
|
|
|
KEEP (*crtbegin.o(.dtors))
|
|
|
|
KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))
|
|
|
|
KEEP (*(SORT(.dtors.*)))
|
|
|
|
KEEP (*crtend.o(.dtors))
|
|
|
|
|
2007-05-24 00:22:27 +08:00
|
|
|
. = ALIGN(0x4);
|
|
|
|
KEEP (*crtbegin.o(.jcr))
|
|
|
|
KEEP (*(EXCLUDE_FILE (*crtend.o) .jcr))
|
|
|
|
KEEP (*crtend.o(.jcr))
|
|
|
|
|
2007-04-28 00:00:45 +08:00
|
|
|
*(.rodata .rodata.*)
|
|
|
|
*(.gnu.linkonce.r.*)
|
2006-12-18 Kazu Hirata <kazu@codesourcery.com>
Merge from newlib-csl-20060320-branch:
2006-12-15 Daniel Jacobowitz <dan@codesourcery.com>
* m68k/fido-crt0.S (_vector_table): Reference
_PrivilegeViolationHandler.
2006-12-15 Daniel Jacobowitz <dan@codesourcery.com>
* m68k/fido-crt0.S (_start): Set %vbr for context 0 in
RAM configs.
* m68k/fido.sc: Clean up formatting. Add comments. Move
stack and heap end to SDRAM for SRAM and SDRAM configurations.
Put RedBoot application text in SRAM.
2006-12-13 Nathan Sidwell <nathan@codesourcery.com>
* m68k/Makefile (install_cf): Don't loop over files here. Only
install sources for the default multilib.
(install_fido): Likewise.
(install_io): Install bsps in one go.
2006-12-01 Nathan Sidwell <nathan@codesourcery.com>
Kazu Hirata <kazu@codesourcery.com>
* configure.in: Recognize fido-*-*.
* configure: Regenerate.
* m68k/Makefile.in (CF_ISRS): Use addprefix.
(FIDO_CRT0, FIDO_BSP, FIDO_OBJS, FIDO_HANDLERS,
FIDO_UNHOSTED_SCRIPTS, FIDO_HOSTED_SCRIPTS, FIDO_SCRIPTS,
FIDO_SOURCES, all_fido, fido-%-crt0.o, fido-rom.ld,
fido-rom-hosted.ld, fido-sram.ld, fido-sram-hosted.ld,
fido-sdram.ld, fido-sdram-hosted.ld, fido-redboot.ld,
install_fido): New.
* m68k/asm.h (mbb): New.
* m68k/configure.in (DO): Check for __mfido__.
* m68k/configure: Regenerate.
* m68k/fido-_exit.c, m68k/fido-crt0.S, m68k/fido-handler.c,
m68k/fido-hosted.S, m68k/fido-sbrk.c, m68k/fido.h,
m68k/fido.sc, m68k/fido_profiling.h: New.
2006-12-19 05:48:18 +08:00
|
|
|
*(.gcc_except_table)
|
|
|
|
*(.eh_frame)
|
|
|
|
|
|
|
|
. = ALIGN(0x2);
|
2007-05-31 02:33:56 +08:00
|
|
|
_init = . ;
|
2006-12-18 Kazu Hirata <kazu@codesourcery.com>
Merge from newlib-csl-20060320-branch:
2006-12-15 Daniel Jacobowitz <dan@codesourcery.com>
* m68k/fido-crt0.S (_vector_table): Reference
_PrivilegeViolationHandler.
2006-12-15 Daniel Jacobowitz <dan@codesourcery.com>
* m68k/fido-crt0.S (_start): Set %vbr for context 0 in
RAM configs.
* m68k/fido.sc: Clean up formatting. Add comments. Move
stack and heap end to SDRAM for SRAM and SDRAM configurations.
Put RedBoot application text in SRAM.
2006-12-13 Nathan Sidwell <nathan@codesourcery.com>
* m68k/Makefile (install_cf): Don't loop over files here. Only
install sources for the default multilib.
(install_fido): Likewise.
(install_io): Install bsps in one go.
2006-12-01 Nathan Sidwell <nathan@codesourcery.com>
Kazu Hirata <kazu@codesourcery.com>
* configure.in: Recognize fido-*-*.
* configure: Regenerate.
* m68k/Makefile.in (CF_ISRS): Use addprefix.
(FIDO_CRT0, FIDO_BSP, FIDO_OBJS, FIDO_HANDLERS,
FIDO_UNHOSTED_SCRIPTS, FIDO_HOSTED_SCRIPTS, FIDO_SCRIPTS,
FIDO_SOURCES, all_fido, fido-%-crt0.o, fido-rom.ld,
fido-rom-hosted.ld, fido-sram.ld, fido-sram-hosted.ld,
fido-sdram.ld, fido-sdram-hosted.ld, fido-redboot.ld,
install_fido): New.
* m68k/asm.h (mbb): New.
* m68k/configure.in (DO): Check for __mfido__.
* m68k/configure: Regenerate.
* m68k/fido-_exit.c, m68k/fido-crt0.S, m68k/fido-handler.c,
m68k/fido-hosted.S, m68k/fido-sbrk.c, m68k/fido.h,
m68k/fido.sc, m68k/fido_profiling.h: New.
2006-12-19 05:48:18 +08:00
|
|
|
LONG (0x4e560000) /* linkw %fp,#0 */
|
|
|
|
*(.init)
|
|
|
|
SHORT (0x4e5e) /* unlk %fp */
|
|
|
|
SHORT (0x4e75) /* rts */
|
|
|
|
|
2007-05-31 02:33:56 +08:00
|
|
|
_fini = . ;
|
2006-12-18 Kazu Hirata <kazu@codesourcery.com>
Merge from newlib-csl-20060320-branch:
2006-12-15 Daniel Jacobowitz <dan@codesourcery.com>
* m68k/fido-crt0.S (_vector_table): Reference
_PrivilegeViolationHandler.
2006-12-15 Daniel Jacobowitz <dan@codesourcery.com>
* m68k/fido-crt0.S (_start): Set %vbr for context 0 in
RAM configs.
* m68k/fido.sc: Clean up formatting. Add comments. Move
stack and heap end to SDRAM for SRAM and SDRAM configurations.
Put RedBoot application text in SRAM.
2006-12-13 Nathan Sidwell <nathan@codesourcery.com>
* m68k/Makefile (install_cf): Don't loop over files here. Only
install sources for the default multilib.
(install_fido): Likewise.
(install_io): Install bsps in one go.
2006-12-01 Nathan Sidwell <nathan@codesourcery.com>
Kazu Hirata <kazu@codesourcery.com>
* configure.in: Recognize fido-*-*.
* configure: Regenerate.
* m68k/Makefile.in (CF_ISRS): Use addprefix.
(FIDO_CRT0, FIDO_BSP, FIDO_OBJS, FIDO_HANDLERS,
FIDO_UNHOSTED_SCRIPTS, FIDO_HOSTED_SCRIPTS, FIDO_SCRIPTS,
FIDO_SOURCES, all_fido, fido-%-crt0.o, fido-rom.ld,
fido-rom-hosted.ld, fido-sram.ld, fido-sram-hosted.ld,
fido-sdram.ld, fido-sdram-hosted.ld, fido-redboot.ld,
install_fido): New.
* m68k/asm.h (mbb): New.
* m68k/configure.in (DO): Check for __mfido__.
* m68k/configure: Regenerate.
* m68k/fido-_exit.c, m68k/fido-crt0.S, m68k/fido-handler.c,
m68k/fido-hosted.S, m68k/fido-sbrk.c, m68k/fido.h,
m68k/fido.sc, m68k/fido_profiling.h: New.
2006-12-19 05:48:18 +08:00
|
|
|
LONG (0x4e560000) /* linkw %fp,#0 */
|
|
|
|
*(.fini)
|
|
|
|
SHORT (0x4e5e) /* unlk %fp */
|
|
|
|
SHORT (0x4e75) /* rts */
|
|
|
|
. = ALIGN(0x800); /* align to a 2K dcache boundary */
|
|
|
|
_dcache_start = .;
|
|
|
|
*(DCACHE_CODE)
|
|
|
|
_dcache_end = .;
|
|
|
|
_etext = .;
|
|
|
|
*(.lit)
|
|
|
|
. = ALIGN(0x4);
|
|
|
|
__start_romdata = .;
|
|
|
|
} > ${TEXT}
|
|
|
|
|
|
|
|
/* Initialized data section. */
|
|
|
|
.data :
|
|
|
|
{
|
|
|
|
_data = .;
|
2007-05-24 00:22:27 +08:00
|
|
|
*(.got.plt) *(.got)
|
2006-12-18 Kazu Hirata <kazu@codesourcery.com>
Merge from newlib-csl-20060320-branch:
2006-12-15 Daniel Jacobowitz <dan@codesourcery.com>
* m68k/fido-crt0.S (_vector_table): Reference
_PrivilegeViolationHandler.
2006-12-15 Daniel Jacobowitz <dan@codesourcery.com>
* m68k/fido-crt0.S (_start): Set %vbr for context 0 in
RAM configs.
* m68k/fido.sc: Clean up formatting. Add comments. Move
stack and heap end to SDRAM for SRAM and SDRAM configurations.
Put RedBoot application text in SRAM.
2006-12-13 Nathan Sidwell <nathan@codesourcery.com>
* m68k/Makefile (install_cf): Don't loop over files here. Only
install sources for the default multilib.
(install_fido): Likewise.
(install_io): Install bsps in one go.
2006-12-01 Nathan Sidwell <nathan@codesourcery.com>
Kazu Hirata <kazu@codesourcery.com>
* configure.in: Recognize fido-*-*.
* configure: Regenerate.
* m68k/Makefile.in (CF_ISRS): Use addprefix.
(FIDO_CRT0, FIDO_BSP, FIDO_OBJS, FIDO_HANDLERS,
FIDO_UNHOSTED_SCRIPTS, FIDO_HOSTED_SCRIPTS, FIDO_SCRIPTS,
FIDO_SOURCES, all_fido, fido-%-crt0.o, fido-rom.ld,
fido-rom-hosted.ld, fido-sram.ld, fido-sram-hosted.ld,
fido-sdram.ld, fido-sdram-hosted.ld, fido-redboot.ld,
install_fido): New.
* m68k/asm.h (mbb): New.
* m68k/configure.in (DO): Check for __mfido__.
* m68k/configure: Regenerate.
* m68k/fido-_exit.c, m68k/fido-crt0.S, m68k/fido-handler.c,
m68k/fido-hosted.S, m68k/fido-sbrk.c, m68k/fido.h,
m68k/fido.sc, m68k/fido_profiling.h: New.
2006-12-19 05:48:18 +08:00
|
|
|
*(.shdata);
|
2007-04-28 00:00:45 +08:00
|
|
|
*(.data .data.*)
|
|
|
|
*(.gnu.linkonce.d.*)
|
2006-12-18 Kazu Hirata <kazu@codesourcery.com>
Merge from newlib-csl-20060320-branch:
2006-12-15 Daniel Jacobowitz <dan@codesourcery.com>
* m68k/fido-crt0.S (_vector_table): Reference
_PrivilegeViolationHandler.
2006-12-15 Daniel Jacobowitz <dan@codesourcery.com>
* m68k/fido-crt0.S (_start): Set %vbr for context 0 in
RAM configs.
* m68k/fido.sc: Clean up formatting. Add comments. Move
stack and heap end to SDRAM for SRAM and SDRAM configurations.
Put RedBoot application text in SRAM.
2006-12-13 Nathan Sidwell <nathan@codesourcery.com>
* m68k/Makefile (install_cf): Don't loop over files here. Only
install sources for the default multilib.
(install_fido): Likewise.
(install_io): Install bsps in one go.
2006-12-01 Nathan Sidwell <nathan@codesourcery.com>
Kazu Hirata <kazu@codesourcery.com>
* configure.in: Recognize fido-*-*.
* configure: Regenerate.
* m68k/Makefile.in (CF_ISRS): Use addprefix.
(FIDO_CRT0, FIDO_BSP, FIDO_OBJS, FIDO_HANDLERS,
FIDO_UNHOSTED_SCRIPTS, FIDO_HOSTED_SCRIPTS, FIDO_SCRIPTS,
FIDO_SOURCES, all_fido, fido-%-crt0.o, fido-rom.ld,
fido-rom-hosted.ld, fido-sram.ld, fido-sram-hosted.ld,
fido-sdram.ld, fido-sdram-hosted.ld, fido-redboot.ld,
install_fido): New.
* m68k/asm.h (mbb): New.
* m68k/configure.in (DO): Check for __mfido__.
* m68k/configure: Regenerate.
* m68k/fido-_exit.c, m68k/fido-crt0.S, m68k/fido-handler.c,
m68k/fido-hosted.S, m68k/fido-sbrk.c, m68k/fido.h,
m68k/fido.sc, m68k/fido_profiling.h: New.
2006-12-19 05:48:18 +08:00
|
|
|
_edata_cksum = .;
|
|
|
|
*(checksum);
|
|
|
|
_edata = .;
|
|
|
|
} > ${DATA} ${DATALOAD:+AT>} ${DATALOAD}
|
|
|
|
|
|
|
|
/* Zero-initialized data. */
|
|
|
|
.bss :
|
|
|
|
{
|
|
|
|
. = ALIGN(0x4);
|
|
|
|
__bss_start = . ;
|
|
|
|
*(.shbss)
|
2007-04-28 00:00:45 +08:00
|
|
|
*(.bss .bss.*)
|
|
|
|
*(.gnu.linkonce.b.*)
|
2006-12-18 Kazu Hirata <kazu@codesourcery.com>
Merge from newlib-csl-20060320-branch:
2006-12-15 Daniel Jacobowitz <dan@codesourcery.com>
* m68k/fido-crt0.S (_vector_table): Reference
_PrivilegeViolationHandler.
2006-12-15 Daniel Jacobowitz <dan@codesourcery.com>
* m68k/fido-crt0.S (_start): Set %vbr for context 0 in
RAM configs.
* m68k/fido.sc: Clean up formatting. Add comments. Move
stack and heap end to SDRAM for SRAM and SDRAM configurations.
Put RedBoot application text in SRAM.
2006-12-13 Nathan Sidwell <nathan@codesourcery.com>
* m68k/Makefile (install_cf): Don't loop over files here. Only
install sources for the default multilib.
(install_fido): Likewise.
(install_io): Install bsps in one go.
2006-12-01 Nathan Sidwell <nathan@codesourcery.com>
Kazu Hirata <kazu@codesourcery.com>
* configure.in: Recognize fido-*-*.
* configure: Regenerate.
* m68k/Makefile.in (CF_ISRS): Use addprefix.
(FIDO_CRT0, FIDO_BSP, FIDO_OBJS, FIDO_HANDLERS,
FIDO_UNHOSTED_SCRIPTS, FIDO_HOSTED_SCRIPTS, FIDO_SCRIPTS,
FIDO_SOURCES, all_fido, fido-%-crt0.o, fido-rom.ld,
fido-rom-hosted.ld, fido-sram.ld, fido-sram-hosted.ld,
fido-sdram.ld, fido-sdram-hosted.ld, fido-redboot.ld,
install_fido): New.
* m68k/asm.h (mbb): New.
* m68k/configure.in (DO): Check for __mfido__.
* m68k/configure: Regenerate.
* m68k/fido-_exit.c, m68k/fido-crt0.S, m68k/fido-handler.c,
m68k/fido-hosted.S, m68k/fido-sbrk.c, m68k/fido.h,
m68k/fido.sc, m68k/fido_profiling.h: New.
2006-12-19 05:48:18 +08:00
|
|
|
*(COMMON)
|
|
|
|
_end = ALIGN (0x8);
|
|
|
|
__end = _end;
|
|
|
|
} > ${DATA}
|
|
|
|
|
|
|
|
/* Specially designated data is placed in the internal RAM. */
|
|
|
|
fast_memory :
|
|
|
|
{
|
|
|
|
. = ALIGN(0x4);
|
|
|
|
__fast_start = .;
|
|
|
|
*(FAST_RAM)
|
|
|
|
__fast_stop = .;
|
|
|
|
} > int_ram
|
|
|
|
}
|
|
|
|
|
|
|
|
PROVIDE (__stack = ${STACK});
|
|
|
|
|
|
|
|
PROVIDE (_heapend = ${HEAPEND});
|
|
|
|
EOF
|