binutils-gdb/ld/testsuite
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
..
config
ld-alpha
ld-arm 09-03-05 Christophe Lyon <christophe.lyon@st.com> 2009-03-06 08:57:58 +00:00
ld-auto-import
ld-bootstrap
ld-cdtest
ld-checks
ld-cris * ld-cris/tls-tbss64.s, ld-cris/tls-e-80.d: New test. 2009-01-27 22:31:19 +00:00
ld-crx
ld-cygwin
ld-d10v
ld-discard
ld-elf * ld-elf/empty2.d: Remove xfail for hppa*-*-*. 2009-03-07 23:42:28 +00:00
ld-elfcomm
ld-elfvers
ld-elfvsb
ld-elfweak
ld-fastcall
ld-frv
ld-gc
ld-h8300
ld-i386
ld-ia64
ld-libs
ld-linkonce
ld-m68hc11
ld-m68k new files accidentally omitted from previous delta 2009-02-03 14:48:32 +00:00
ld-maxq
ld-mep
ld-mips-elf
ld-mmix PR gas/6607 2008-06-16 15:07:01 +00:00
ld-mn10300
ld-pe ld/ChangeLog 2009-02-27 19:01:57 +00:00
ld-pie
ld-powerpc include/coff/ 2009-03-14 09:35:46 +00:00
ld-s390
ld-scripts * ldgram.y: Add support for REGION_ALIAS operator. 2009-03-02 17:27:36 +00:00
ld-selective
ld-sh
ld-shared
ld-sparc
ld-spu * ld-spu/icache1.d: Add --non-ia-text to ld options. 2009-01-21 02:28:22 +00:00
ld-srec * config/tc-mep.h (DIFF_EXPR_OK): Do not define. 2009-01-29 09:03:13 +00:00
ld-undefined
ld-v850
ld-versados
ld-vxworks
ld-x86-64
ld-xc16x
ld-xstormy16
ld-xtensa
lib ld/testsuite/ 2009-03-14 09:09:47 +00:00
ChangeLog include/coff/ 2009-03-14 09:35:46 +00:00
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-9303