Major rewrite of how ld is configured. The major idea

is to use shell scripts to generate everything.
	* Each emulation is defined by a short shell script with
	extension *.sh that specifies the emulation-specific
	parameters (such as the name of the *.sh-sc and *.em
	files to use).
	* genscript.sh is the master shell script used to generate
	an emulation.  It is passed various argument, including
	the name a the emulation-speciic *.sh file that it
	"sources" to set variables to emulation-specifc parameters.
This commit is contained in:
Per Bothner
1992-02-15 22:13:53 +00:00
parent 6ecb2b74ee
commit de566389ca
12 changed files with 135 additions and 0 deletions

6
ld/news.sh Executable file
View File

@ -0,0 +1,6 @@
EMULATION_NAME=news
SCRIPT_NAME=aout
OUTPUT_FORMAT="a.out-newsos3"
TEXT_START_ADDR=0
PAGE_SIZE=0x1000
ARCH=m68k