gld960.em, h8300hms.em, h8300xray.em, lnk960.em, st2000.em,
vanilla.em: Rename all (generated) ld__*.c files to em_.c.
This is one character shorter, and lets people build on
SVR3 system. (ld__h8300xray.[co] was the killer there;
h8300xray.sc-sh is also overlong, but seems harmless.)
Based on a patch from Jonathan Ryshpan <hitachi!amito!jon>.
* Makefile.in (clean): Fix typo mostclean -> mostlyclean.
* configure.in: Add host isc.
* ldlang.c (lang_output_section_statement_lookup): initilize new
field. (wild_doit): if new field is not set, then stop output
section from being loadable.
(lang_enter_output_section_statement): set the field from the
NOLOAD keyword
* ldgram.y: new synax for NOLOAD. Removes a shift/reduce too.
* h8300hms.sc-sh, h8300hms.em: get -r right.
* ldexp.c: lint
* ldlang.c(open_output): set the target arch and machine as soon
as we can. (lang_size_sections): use new macros for setting vma
* ldwrite.c: lint
is to use shell scripts to generate everything.
* generic.em replaces ldtemplate.
* Other *.em files replace various *.c files.
A *.em file is a shell script that generates the corresponding
ld__*.c file that implements an emulation. This is usually
a straight 'cat' of a here-document, possibly with substitutions.
* Script files (*.sc) are places by *.sc-sh scripts.
Again, these are simple shell scripts that 'cat'
here-documents, usually with some substitutions.
The output a *.sc-sh is a script file.