binutils-gdb/ld/emultempl
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
..
aix.em include/coff/ 2009-03-14 09:17:32 +00:00
alphaelf.em
armcoff.em
armelf.em 2009-02-24 Joseph Myers <joseph@codesourcery.com> 2009-02-24 22:43:10 +00:00
astring.sed
avrelf.em * emultempl/armelf.em (elf32_arm_add_stub_section): Use 2008-07-07 00:46:51 +00:00
beos.em * ldlang.c (push_stat_ptr, pop_stat_ptr): New functions. 2009-02-16 07:25:52 +00:00
cr16elf.em * emultempl/cr16elf.em (cr16_after_open): New function to handle 2008-11-27 12:41:14 +00:00
crxelf.em
elf32.em * ldlang.c (lang_output_section_find_by_flags): Handle non-alloc 2008-10-21 22:55:04 +00:00
elf-generic.em
genelf.em bfd/ 2008-10-03 09:40:49 +00:00
generic.em
gld960.em
gld960c.em
hppaelf.em * emultempl/armelf.em (elf32_arm_add_stub_section): Use 2008-07-07 00:46:51 +00:00
ia64elf.em
irix.em
linux.em
lnk960.em
m68hc1xelf.em * emultempl/armelf.em (elf32_arm_add_stub_section): Use 2008-07-07 00:46:51 +00:00
m68kcoff.em * emultempl/armelf.em (elf32_arm_add_stub_section): Use 2008-07-07 00:46:51 +00:00
m68kelf.em * emultempl/armelf.em (elf32_arm_add_stub_section): Use 2008-07-07 00:46:51 +00:00
mipsecoff.em
mipself.em 2008-08-08 Richard Sandiford <rdsandiford@googlemail.com> 2008-08-08 19:24:49 +00:00
mmix-elfnmmo.em
mmixelf.em
mmo.em * ldemul.h (ldemul_place_orphan): Update prototype. 2008-10-20 12:14:29 +00:00
needrelax.em
netbsd.em
ostring.sed
pe.em include/ChangeLog 2009-03-14 03:30:26 +00:00
pep.em include/ChangeLog 2009-03-14 03:30:26 +00:00
ppc32elf.em
ppc64elf.em include/ 2008-11-26 01:04:17 +00:00
README
scoreelf.em Add support for Score7 architecture. 2009-03-02 10:33:08 +00:00
sh64elf.em * emultempl/armelf.em (elf32_arm_add_stub_section): Use 2008-07-07 00:46:51 +00:00
spu_icache.o_c really regenerate this time 2009-01-12 13:56:41 +00:00
spu_icache.S bfd/ 2009-01-12 00:23:58 +00:00
spu_ovl.o_c Include the spu_ovl ASCII form in the repository files. 2008-08-02 16:25:44 +00:00
spu_ovl.S bfd/ 2008-06-16 16:16:31 +00:00
spuelf.em * ldlang.c (push_stat_ptr, pop_stat_ptr): New functions. 2009-02-16 07:25:52 +00:00
sunos.em 2008-09-08 H.J. Lu <hongjiu.lu@intel.com> 2008-09-08 16:07:46 +00:00
ticoff.em
vanilla.em
vxworks.em
xtensaelf.em * ldlang.c (push_stat_ptr, pop_stat_ptr): New functions. 2009-02-16 07:25:52 +00:00
z80.em

The files in this directory are sourced by genscripts.sh, after
setting some variables to substitute in, to produce
C source files that contain jump tables for each emulation.