newlib-cygwin/include/coff
Richard Sandiford 8365d22c7b include/coff/
* xcoff.h (XCOFF_CALLED, XCOFF_IMPORT): Update comments.
	(XCOFF_WAS_UNDEFINED): New flag.
	(xcoff_link_hash_table): Add an "rtld" field.

bfd/
	* coff-rs6000.c (xcoff_ppc_relocate_section): Report relocations
	against undefined symbols if the symbol's XCOFF_WAS_UNDEFINED
	flag is set.  Assert that all undefined symbols are either
	imported or defined by a dynamic object.
	* coff64-rs6000.c (xcoff64_ppc_relocate_section): Likewise.
	* xcofflink.c (xcoff_link_add_symbols): Extend function-symbol
	handling to all relocations.  Only set XCOFF_CALLED for function
	symbols.
	(xcoff_find_function): New function, split out from...
	(bfd_xcoff_export_symbol) ...here.
	(xcoff_set_import_path): New function, split out from...
	(bfd_xcoff_import_symbol): ...here.  Remove assertion for old
	meaning of XCOFF_CALLED.
	(xcoff_mark_symbol): If we mark an undefined and unimported
	symbol, find some way of defining it.  If the symbol is a function
	descriptor, fill in its definition automatically.  If the symbol
	is a function, mark its descriptor and allocate room for global
	linkage code.  Otherwise mark the symbol as implicitly imported.
	Move the code for creating function descriptors from...
	(xcoff_build_ldsyms): ...here.  Use XCOFF_WAS_UNDEFINED to
	check for symbols that were implicitly defined.
	(xcoff_mark): Don't count any dynamic relocations against
	function symbols.
	(bfd_xcoff_size_dynamic_sections): Save the rtld parameter
	in the xcoff link info.
	(xcoff_link_input_bfd): Remove handling of undefined and
	unexported symbols.

ld/
	* emultempl/aix.em (gld${EMULATION_NAME}_handle_option): Make
	-berok and -bernotok control link_info.unresolved_syms_in_objects
	and link_info.unresolved_syms_in_shared_libs instead of
	force_make_executable.

ld/testsuite/
	* ld-powerpc/aix-glink-1.ex, ld-powerpc/aix-glink-1.s,
	ld-powerpc/aix-glink-1-32.dd, ld-powerpc/aix-glink-1-64.dd,
	ld-powerpc/aix-glink-1-32.d, ld-powerpc/aix-glink-1-64.d: New tests.
	* ld-powerpc/aix52.exp: Run them.
2009-03-14 09:17:31 +00:00
..
ChangeLog include/coff/ 2009-03-14 09:17:31 +00:00
ChangeLog-9103 Move entries in ChangeLog-9103 to appropriate */ChangeLog-9103. 2005-04-13 17:33:48 +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
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/ChangeLog 2009-03-14 03:30:26 +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:06 +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:17:31 +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