magic to converts scripts, since that is now handled
by genscripts.sh and the *.sc-sh scipt generators.
* config.h: Remove a bunch of macros defining emulations
and targets. This becomes one less file to edit when
adding emulations or targets.
* ldemul.h (struct ld_emulation_xfer_struct): Add
emulation_name and target_name fields.
* ldemul.c, ldemul.h: Define some default functions used
by most emulations (and remove from the *.em scripts).
* ldemul.c (ldemul_choose_target): Search the new
ld_emulations array using a loop (instead of a hardwired
nested if statement).
Define the ld_emulation from the automatically-geenrated
ldemul-list.h. This means you no longer have to edit ldemul.c
to add a new emulation.
* ldmain.c: Replace {GLD,LNK}960_EMULATION_NAME by
their expansions, since the former no longer exist.
* PORTING: A very rough first draft of a porting guide.
to EMUL=foo. (The GLDFOO_EMULATION_NAMEs have bee removed.)
* config/mh-foo: Rename LDEMULATION names as appropriate
(usually 'gldfoo' -> plain 'foo').
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.
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.
symbol table and add symbol information to the misc function vector.
This allows minimum functionality with non -g compiled code, and is
vital for use with shared libraries (non of which are currently
compiled with -g).
Note to anyone doing any SVR4/gdb work. This bug was introduced into
gdb just prior to the gdb 4.4 release, thus any versions currently
in the field will have broken shared library support since no symbol
information at all will be available for the shared library. This
fix, along with one about to go into bfd's elf.c should fix that
problem.
with GCC, the compiler does not stumble over `size_t', `ptrdiff_t',
and `wchar_t'. Also note that the comment in <stddef.h> says that we
have to #include <sys/stdtypes.h> before including <stddef.h> when on
a sun.
this file does not exist, and not including it hasn't seemed to
cause problems.
main.c: Use the proper enum's in the options structure initialization;
the Apollo compiler chokes on this.