binutils-gdb/ld/emultempl
Richard Sandiford b64232cca5 include/coff/
* xcoff.h (XCOFF_EXPALL, XCOFF_EXPFULL): New flags.
	(xcoff_loader_info): Add auto_export_flags.

bfd/
	* bfd-in.h (bfd_xcoff_size_dynamic_sections): Replace the
	bfd_boolean export_defineds parameter with an unsigned int
	auto_export_flags parameter.
	* bfd-in2.h: Regenerate.
	* xcofflink.c (xcoff_archive_contains_shared_object_p): New function,
	split out from xcoff_build_ldsyms.
	(xcoff_covered_by_expall_p): New function.
	(xcoff_auto_export_p): New function, split out from xcoff_build_ldsyms
	but with extra code to handle -bexpfull and -bexpall.
	(xcoff_mark_auto_exports): New function.
	(xcoff_build_ldsyms): Use xcoff_auto_export_p to decide whether
	a function should be automatically exported.
	(bfd_xcoff_size_dynamic_sections): Replace the export_defineds
	parameter with an auto_export_flags parameter.  Update ldinfo
	accordingly.  Use xcoff_mark_auto_exports to mark all automatically-
	exported symbols.

ld/
	* emultempl/aix.em (auto_export_flags): New variable.
	(explicit_auto_export_flags): Likewise.
	(OPTION_EXPALL, OPTION_EXPFULL): New enum values.
	(OPTION_NOEXPALL, OPTION_NOEXPFULL): Likewise.
	(gld${EMULATION_NAME}_add_options): Add -bexpall, -bexpfull,
	-bnoexpall and -bnoexpfull.
	(gld${EMULATION_NAME}_handle_option): Handle them.
	(gld${EMULATION_NAME}_before_allocation): Update the call to
	bfd_size_dynamic_sections.

ld/testsuite/
	* ld-powerpc/aix-export-1-all.dd, ld-powerpc/aix-export-1-full.dd,
	ld-powerpc/aix-export-1a.s, ld-powerpc/aix-export-1b.s: New tests.
	* ld-powerpc/aix52.exp: Run them.
2009-03-14 09:35:46 +00:00
..
aix.em include/coff/ 2009-03-14 09:35:46 +00:00
alphaelf.em * emultempl/alphaelf.em (alpha_after_open): Use elf_object_id. 2008-02-15 09:03:02 +00:00
armcoff.em include/ 2008-02-15 03:35:53 +00:00
armelf.em 2009-02-24 Joseph Myers <joseph@codesourcery.com> 2009-02-24 22:43:10 +00:00
astring.sed * emultempl/ostring.sed: Rename from stringify.sed. 1999-08-06 22:46:03 +00:00
avrelf.em * emultempl/armelf.em (elf32_arm_add_stub_section): Use 2008-07-07 00:46:51 +00:00
beos.em * ldlang.c (push_stat_ptr, pop_stat_ptr): New functions. 2009-02-16 07:25:52 +00:00
cr16elf.em * emultempl/cr16elf.em (cr16_after_open): New function to handle 2008-11-27 12:41:14 +00:00
crxelf.em 2007-07-19 Roland McGrath <roland@redhat.com> 2007-07-19 19:56:10 +00:00
elf32.em * ldlang.c (lang_output_section_find_by_flags): Handle non-alloc 2008-10-21 22:55:04 +00:00
elf-generic.em include/ 2008-02-15 03:35:53 +00:00
genelf.em bfd/ 2008-10-03 09:40:49 +00:00
generic.em 2007-07-19 Roland McGrath <roland@redhat.com> 2007-07-19 19:56:10 +00:00
gld960.em include/ 2008-02-15 03:35:53 +00:00
gld960c.em 2007-07-19 Roland McGrath <roland@redhat.com> 2007-07-19 19:56:10 +00:00
hppaelf.em * emultempl/armelf.em (elf32_arm_add_stub_section): Use 2008-07-07 00:46:51 +00:00
ia64elf.em * emultempl/alphaelf.em: Format option help. 2007-08-17 13:50:48 +00:00
irix.em include/ 2008-02-15 03:35:53 +00:00
linux.em include/ 2008-02-15 03:35:53 +00:00
lnk960.em include/ 2008-02-15 03:35:53 +00:00
m68hc1xelf.em * emultempl/armelf.em (elf32_arm_add_stub_section): Use 2008-07-07 00:46:51 +00:00
m68kcoff.em * emultempl/armelf.em (elf32_arm_add_stub_section): Use 2008-07-07 00:46:51 +00:00
m68kelf.em * emultempl/armelf.em (elf32_arm_add_stub_section): Use 2008-07-07 00:46:51 +00:00
mipsecoff.em 2007-07-19 Roland McGrath <roland@redhat.com> 2007-07-19 19:56:10 +00:00
mipself.em 2008-08-08 Richard Sandiford <rdsandiford@googlemail.com> 2008-08-08 19:24:49 +00:00
mmix-elfnmmo.em include/ 2008-02-15 03:35:53 +00:00
mmixelf.em 2007-07-19 Roland McGrath <roland@redhat.com> 2007-07-19 19:56:10 +00:00
mmo.em * ldemul.h (ldemul_place_orphan): Update prototype. 2008-10-20 12:14:29 +00:00
needrelax.em 2007-07-19 Roland McGrath <roland@redhat.com> 2007-07-19 19:56:10 +00:00
netbsd.em 2007-07-19 Roland McGrath <roland@redhat.com> 2007-07-19 19:56:10 +00:00
ostring.sed * emultempl/ostring.sed: Rename from stringify.sed. 1999-08-06 22:46:03 +00:00
pe.em include/ChangeLog 2009-03-14 03:30:26 +00:00
pep.em include/ChangeLog 2009-03-14 03:30:26 +00:00
ppc32elf.em * emultempl/alphaelf.em (alpha_after_open): Use elf_object_id. 2008-02-15 09:03:02 +00:00
ppc64elf.em include/ 2008-11-26 01:04:17 +00:00
README 19990502 sourceware import 1999-05-03 07:29:11 +00:00
scoreelf.em Add support for Score7 architecture. 2009-03-02 10:33:08 +00:00
sh64elf.em * emultempl/armelf.em (elf32_arm_add_stub_section): Use 2008-07-07 00:46:51 +00:00
spu_icache.o_c really regenerate this time 2009-01-12 13:56:41 +00:00
spu_icache.S bfd/ 2009-01-12 00:23:58 +00:00
spu_ovl.o_c Include the spu_ovl ASCII form in the repository files. 2008-08-02 16:25:44 +00:00
spu_ovl.S bfd/ 2008-06-16 16:16:31 +00:00
spuelf.em * ldlang.c (push_stat_ptr, pop_stat_ptr): New functions. 2009-02-16 07:25:52 +00:00
sunos.em 2008-09-08 H.J. Lu <hongjiu.lu@intel.com> 2008-09-08 16:07:46 +00:00
ticoff.em * emultempl/alphaelf.em: Format option help. 2007-08-17 13:50:48 +00:00
vanilla.em include/ 2008-02-15 03:35:53 +00:00
vxworks.em include/ 2008-02-15 03:35:53 +00:00
xtensaelf.em * ldlang.c (push_stat_ptr, pop_stat_ptr): New functions. 2009-02-16 07:25:52 +00:00
z80.em include/ 2008-02-15 03:35:53 +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.