4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-16 19:40:07 +08:00
Richard Sandiford c7cf32ee27 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:45 +00:00
..
2009-03-14 09:35:45 +00:00
2009-03-04 05:50:48 +00:00
2009-03-10 06:53:45 +00:00
2007-03-06 19:00:57 +00:00
2008-11-26 01:04:12 +00:00
2009-03-14 03:30:26 +00:00
2005-04-14 02:22:07 +00:00
2008-12-10 23:28:15 +00:00
2008-12-23 19:10:21 +00:00
2007-11-08 00:08:48 +00:00
1999-05-03 07:29:06 +00:00
1999-05-03 07:29:06 +00:00
2008-11-14 09:57:33 +00:00
2005-06-30 23:02:54 +00:00
2008-06-24 03:01:29 +00:00
2000-07-05 19:28:05 +00:00
2008-03-25 01:02:08 +00:00
2007-07-13 18:23:23 +00:00
2005-07-12 10:34:51 +00:00
2001-08-02 23:27:47 +00:00
2008-11-19 18:25:19 +00:00