sparc32: avoid runtime relocations
commit18d5b92ebcb128dccf99d7deb982062c2d444e29
authorblueswirl <blueswirl@f158a5a8-5612-0410-a976-696ce0be7e32>
Sun, 30 Jan 2011 13:07:31 +0000 (30 13:07 +0000)
committerblueswirl <blueswirl@f158a5a8-5612-0410-a976-696ce0be7e32>
Sun, 30 Jan 2011 13:07:31 +0000 (30 13:07 +0000)
treeffe80b2a6ebcd9db6d539ea3403dd83dde2c35fe
parent6fdab70ca36205c7141c93eefd30f6ac83ce05c5
sparc32: avoid runtime relocations

The Forth dictionary was relocated at run time, incurring also
a copy operation. The source dictionary remained in memory.
It was not possible to run forthstrap without any input files
besides the base dictionary.

Make forthstrap generate a hex dump which can be included in C,
but also contains relocations, so that relocations are performed
by the linker at compile time. Allow dictionary compilation
with no source files.

Don't allocate the dictionary dynamically; reduce ofmem supply
accordingly.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
git-svn-id: svn://openbios.org/openbios/trunk/openbios-devel@1015 f158a5a8-5612-0410-a976-696ce0be7e32
arch/sparc32/build.xml
arch/sparc32/builtin.c
arch/sparc32/ofmem_sparc32.c
arch/sparc32/openbios.c
include/libopenbios/sys_info.h
kernel/bootstrap.c