binutils-gdb/include
Richard Sandiford 858ef0ce3b 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:32 +00:00
..
aout 2008-08-28 Tristan Gingold <gingold@adacore.com> 2008-08-28 16:04:18 +00:00
coff include/coff/ 2009-03-14 09:17:32 +00:00
elf include/elf/ 2009-03-04 05:50:50 +00:00
gdb Update the copyright notice of some of the files I missed 2009-01-14 10:53:10 +00:00
nlm
opcode include/opcode/ 2009-03-10 06:53:46 +00:00
alloca-conf.h
ansidecl.h
bfdlink.h include/ 2008-11-26 01:04:17 +00:00
binary-io.h * binary-io.h: New file, imported from gnulib, but don't 2008-08-25 04:36:03 +00:00
bout.h
ChangeLog include/ChangeLog 2009-03-14 03:30:26 +00:00
ChangeLog-9103
COPYING
COPYING3
demangle.h merge from gcc 2008-12-10 23:28:19 +00:00
dis-asm.h Add LM32 port. 2008-12-23 19:10:25 +00:00
dyn-string.h
fibheap.h
filenames.h
floatformat.h
fnmatch.h
fopen-bin.h
fopen-same.h
fopen-vms.h bfd/ 2008-11-14 09:57:35 +00:00
gdbm.h
getopt.h
hashtab.h
hp-symtab.h
ieee.h
libiberty.h merge from gcc 2008-06-24 03:01:29 +00:00
MAINTAINERS
md5.h
oasys.h
objalloc.h
obstack.h * obstack.h (obstack_finish <!__GNUC__>): Cast result to void *. 2008-10-20 23:03:31 +00:00
os9k.h
partition.h
plugin-api.h * plugin-api.h (LDPS_BAD_HANDLE): New constant. 2009-01-15 01:28:14 +00:00
progress.h
safe-ctype.h * safe-ctype.h: Add #include of ctype.h before redefining 2008-07-07 17:09:31 +00:00
sha1.h
sort.h
splay-tree.h
symcat.h
xregex2.h
xregex.h
xtensa-config.h include/ 2008-11-19 18:25:20 +00:00
xtensa-isa-internal.h 2008-11-21 Sterling Augustine <sterling@tensilica.com> 2008-11-21 22:13:32 +00:00
xtensa-isa.h 2008-11-21 Sterling Augustine <sterling@tensilica.com> 2008-11-21 22:13:32 +00:00