binutils-gdb/ld/emultempl
David MacKenzie d4e5e3c330 Use getopt instead of lex and yacc to parse the command line.
* ld.texinfo (Options): Document changes to option syntax.
	* Makefile.in: Update dependencies.
	* ldver.c (help): Tweak dashes in usage message.
	* ldgram.y (%union): Remove unused members.
	Remove %tokens for command line options; add ones for input types.
	(command_line): Rules removed.
	(file): Instead of command line, recognize an
	input type indicator, then use the nonterminal for that type.
	(defsym_expr): New nonterminal from code formerly in command_line.
	* ldlex.h: Declare parser input type enum and variable.
	Don't declare parse_line.
	* ldlex.l: Remove unused variables.  Make some used ones static
	and comment them.
	(COMMAND): Start state and its rules removed.
	At start of yylex, return input state token if at start of input.
	(lex_redirect): Don't need to set yyout.
	(ldlex_command): Function removed.
	* ldmain.c (main): Instead of calling parse_line, set up the
	redirections and call yyparse directly.
	* ldmisc.c (vfinfo): If there's no input filename, print nothing, not
	"command line".
	* lexsup.c: Remove #if 0'd code.
	(parse_line): Function removed.
	(parse_args): Rewrite to use getopt_long_only.
	(set_default_dirlist): New function from code formerly in
	ldgram.y:command_line.
	(set_section_start): New function.
	* emultempl/generic.em, emultempl/gld960.em, emultempl/hppaelf.em,
	emultempl/lnk960.em, emultempl/m88kbcs.em: Don't enclose
	compiled-in link scripts in "{" and "}", as the grammar no longer
	wants them to be.
1994-02-25 03:26:25 +00:00
..
.Sanitize Oops. 1994-02-08 00:40:22 +00:00
generic.em The default script is now compiled in; the others are still in the filesystem. 1993-07-22 00:33:10 +00:00
gld960.em The default script is now compiled in; the others are still in the filesystem. 1993-07-22 00:33:10 +00:00
hppaelf.em Use getopt instead of lex and yacc to parse the command line. 1994-02-25 03:26:25 +00:00
lnk960.em The default script is now compiled in; the others are still in the filesystem. 1993-07-22 00:33:10 +00:00
m88kbcs.em Use getopt instead of lex and yacc to parse the command line. 1994-02-25 03:26:25 +00:00
README * ldfile.c (ldfile_open_command): Don't try .ld extension. 1993-06-17 20:55:43 +00:00
vanilla.em * ldfile.c (ldfile_open_command): Don't try .ld extension. 1993-06-17 20:55:43 +00:00

The files in this directory are sourced by genscripts.sh, after
setting some variables to substitute in, to produce
C source files that contain jump tables for each emulation.