binutils-gdb/include/coff
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
..
alpha.h Add code to detect and either handle or issue an error message for binaries 2005-07-14 07:07:46 +00:00
apollo.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
arm.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
aux-coff.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
ChangeLog include/coff/ 2009-03-14 09:35:46 +00:00
ChangeLog-9103 Move entries in ChangeLog-9103 to appropriate */ChangeLog-9103. 2005-04-13 17:33:48 +00:00
ecoff.h Add code to detect and either handle or issue an error message for binaries 2005-07-14 07:07:46 +00:00
external.h Define ATTRIBUTE_PACKED and use as necessary. 2006-12-06 14:36:41 +00:00
go32exe.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
h8300.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
h8500.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
i386.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
i860.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
i960.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
ia64.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
internal.h include/coff/ 2009-03-14 09:34:27 +00:00
m68k.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
m88k.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
maxq.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
mcore.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
mips.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
mipspe.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
or32.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
pe.h include/ChangeLog 2009-03-14 03:30:26 +00:00
powerpc.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
rs6k64.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
rs6000.h Write Mimi's name in ASCII. 2007-04-27 03:37:43 +00:00
sh.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
sparc.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
sym.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
symconst.h * symconst.h (langMax): Fix typo in comment. 2004-08-13 19:17:39 +00:00
ti.h * coffcode.h (coff_write_object_contents): Always initialise 2008-12-23 10:59:56 +00:00
tic4x.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
tic30.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
tic54x.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
tic80.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
w65.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
we32k.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
x86_64.h Add x86_64-mingw64 target 2006-09-20 11:35:11 +00:00
xcoff.h include/coff/ 2009-03-14 09:35:46 +00:00
z8k.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
z80.h Add support for the Z80 processor family 2005-10-25 17:40:19 +00:00