binutils-gdb/ld/emultempl
Alan Modra 3bcf55573d * ldemul.c (ldemul_add_options, ldemul_handle_option): New functions.
(ldemul_parse_args): Return bfd_boolean.  Formatting.
	* ldemul.h (ldemul_add_options, ldemul_handle_option): Declare.
	(ldemul_parse_args): Adjust.
	(struct ld_emulation_xfer_struct): Add add_options and handle_option.
	Return bfd_boolean from parse_args.
	* lexsup.c (parse_args): Malloc shortopts, longopts and
	really_longopts.  Call ldemul_add_options and ldemul_handle_option.
	* emultempl/aix.em (gld${EMULATION_NAME}_add_options): Split out from
	gld${EMULATION_NAME}_parse_args.
	(gld${EMULATION_NAME}_handle_option): Likewise.
	(ld_${EMULATION_NAME}_emulation): Adjust initializer.
	* emultempl/armcoff.em: As for aix.em, but remove parse_args.
	* emultempl/beos.em: Likewise.
	* emultempl/pe.em: Likewise.
	* emultempl/ticoff.em: Likewise.
	* emultempl/elf32.em: Likewise.  Don't duplicate long options either.
	(gld${EMULATION_NAME}_add_sysroot): Prototype.
	* emultempl/armelf.em (PARSE_AND_LIST_LONGOPTS): Don't duplicate
	options.
	* emultempl/hppaelf.em (PARSE_AND_LIST_LONGOPTS): Likewise.
	* emultempl/ppc32elf.em (PARSE_AND_LIST_LONGOPTS): Likewise.
	* emultempl/ppc64elf.em (PARSE_AND_LIST_LONGOPTS): Likewise.
	* emultempl/armelf_oabi.em (ld_${EMULATION_NAME}_emulation): Adjust
	initializer.
	* emultempl/generic.em: Likewise.
	* emultempl/gld960.em: Likewise.
	* emultempl/gld960c.em: Likewise.
	* emultempl/linux.em: Likewise.
	* emultempl/lnk960.em: Likewise.
	* emultempl/m68kcoff.em: Likewise.
	* emultempl/mipsecoff.em: Likewise.
	* emultempl/sunos.em: Likewise.
	* emultempl/vanilla.em: Likewise.
	* emultempl/netbsd.em (gldnetbsd_before_parse): Prototype.
2003-02-28 01:32:31 +00:00
..
aix.em * ldemul.c (ldemul_add_options, ldemul_handle_option): New functions. 2003-02-28 01:32:31 +00:00
armcoff.em * ldemul.c (ldemul_add_options, ldemul_handle_option): New functions. 2003-02-28 01:32:31 +00:00
armelf_oabi.em * ldemul.c (ldemul_add_options, ldemul_handle_option): New functions. 2003-02-28 01:32:31 +00:00
armelf.em * ldemul.c (ldemul_add_options, ldemul_handle_option): New functions. 2003-02-28 01:32:31 +00:00
astring.sed
beos.em * ldemul.c (ldemul_add_options, ldemul_handle_option): New functions. 2003-02-28 01:32:31 +00:00
elf32.em * ldemul.c (ldemul_add_options, ldemul_handle_option): New functions. 2003-02-28 01:32:31 +00:00
generic.em * ldemul.c (ldemul_add_options, ldemul_handle_option): New functions. 2003-02-28 01:32:31 +00:00
gld960.em * ldemul.c (ldemul_add_options, ldemul_handle_option): New functions. 2003-02-28 01:32:31 +00:00
gld960c.em * ldemul.c (ldemul_add_options, ldemul_handle_option): New functions. 2003-02-28 01:32:31 +00:00
hppaelf.em * ldemul.c (ldemul_add_options, ldemul_handle_option): New functions. 2003-02-28 01:32:31 +00:00
linux.em * ldemul.c (ldemul_add_options, ldemul_handle_option): New functions. 2003-02-28 01:32:31 +00:00
lnk960.em * ldemul.c (ldemul_add_options, ldemul_handle_option): New functions. 2003-02-28 01:32:31 +00:00
m68kcoff.em * ldemul.c (ldemul_add_options, ldemul_handle_option): New functions. 2003-02-28 01:32:31 +00:00
m68kelf.em
mipsecoff.em * ldemul.c (ldemul_add_options, ldemul_handle_option): New functions. 2003-02-28 01:32:31 +00:00
mipself.em 2002-06-18 Chris Demetriou <cgd@broadcom.com> 2002-06-19 05:34:56 +00:00
mmix-elfnmmo.em s/boolean/bfd_boolean/ s/true/TRUE/ s/false/FALSE/. Simplify 2002-11-30 08:39:46 +00:00
mmixelf.em s/boolean/bfd_boolean/ s/true/TRUE/ s/false/FALSE/. Simplify 2002-11-30 08:39:46 +00:00
mmo.em s/boolean/bfd_boolean/ s/true/TRUE/ s/false/FALSE/. Simplify 2002-11-30 08:39:46 +00:00
needrelax.em s/boolean/bfd_boolean/ s/true/TRUE/ s/false/FALSE/. Simplify 2002-11-30 08:39:46 +00:00
netbsd.em * ldemul.c (ldemul_add_options, ldemul_handle_option): New functions. 2003-02-28 01:32:31 +00:00
ostring.sed
pe.em * ldemul.c (ldemul_add_options, ldemul_handle_option): New functions. 2003-02-28 01:32:31 +00:00
ppc32elf.em * ldemul.c (ldemul_add_options, ldemul_handle_option): New functions. 2003-02-28 01:32:31 +00:00
ppc64elf.em * ldemul.c (ldemul_add_options, ldemul_handle_option): New functions. 2003-02-28 01:32:31 +00:00
README
sh64elf.em include/elf/ChangeLog 2003-01-23 11:51:35 +00:00
sunos.em * ldemul.c (ldemul_add_options, ldemul_handle_option): New functions. 2003-02-28 01:32:31 +00:00
ticoff.em * ldemul.c (ldemul_add_options, ldemul_handle_option): New functions. 2003-02-28 01:32:31 +00:00
vanilla.em * ldemul.c (ldemul_add_options, ldemul_handle_option): New functions. 2003-02-28 01:32:31 +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.