binutils-gdb/include
Jakub Jelinek fdc90cb46b include/
* bfdlink.h (struct bfd_link_info): Add emit_hash and
	emit_gnu_hash bitfields.
include/elf/
	* common.h (SHT_GNU_HASH, DT_GNU_HASH): Define.
ld/
	* scripttempl/elf.sc: Add .gnu.hash section.
	* emultempl/elf32.em (OPTION_HASH_STYLE): Define.
	(gld${EMULATION_NAME}_add_options): Register --hash-style option.
	(gld${EMULATION_NAME}_handle_option): Handle it.
	(gld${EMULATION_NAME}_list_options): Document it.
	* ldmain.c (main): Initialize emit_hash and emit_gnu_hash.
	* ld.texinfo: Document --hash-style option.
bfd/
	* elf.c (_bfd_elf_print_private_bfd_data): Handle DT_GNU_HASH.
	(bfd_section_from_shdr, elf_fake_sections, assign_section_numbers):
	Handle SHT_GNU_HASH.
	(special_sections_g): Include .gnu.hash section.
	(bfd_elf_gnu_hash): New function.
	* elf-bfd.h (bfd_elf_gnu_hash, _bfd_elf_hash_symbol): New prototypes.
	(struct elf_backend_data): Add elf_hash_symbol method.
	* elflink.c (_bfd_elf_link_create_dynamic_sections): Create .hash
	only if info->emit_hash, create .gnu.hash section if
	info->emit_gnu_hash.
	(struct collect_gnu_hash_codes): New type.
	(elf_collect_gnu_hash_codes, elf_renumber_gnu_hash_syms,
	_bfd_elf_hash_symbol): New functions.
	(compute_bucket_count): Don't compute HASHCODES array, instead add
	that and NSYMS as arguments.  Use bed->s->sizeof_hash_entry
	instead of bed->s->arch_size / 8.  Fix .hash size estimation.
	When not optimizing, use the number of hashed symbols rather than
	dynsymcount.
	(bfd_elf_size_dynamic_sections): Only add DT_HASH if info->emit_hash,
	and ADD DT_GNU_HASH if info->emit_gnu_hash.
	(bfd_elf_size_dynsym_hash_dynstr): Size .hash only if info->emit_hash,
	adjust compute_bucket_count caller.  Create and populate .gnu.hash
	section if info->emit_gnu_hash.
	(elf_link_output_extsym): Only populate .hash section if
	finfo->hash_sec != NULL.
	(bfd_elf_final_link): Adjust assertion.  Handle DT_GNU_HASH.
	* elfxx-target.h (elf_backend_hash_symbol): Define if not yet defined.
	(elfNN_bed): Add elf_backend_hash_symbol.
	* elf64-x86-64.c (elf64_x86_64_hash_symbol): New function.
	(elf_backend_hash_symbol): Define.
	* elf32-i386.c (elf_i386_hash_symbol): New function.
	(elf_backend_hash_symbol): Define.
binutils/
	* readelf.c (get_dynamic_type): Handle DT_GNU_HASH.
	(get_section_type_name): Handle SHT_GNU_HASH.
	(dynamic_info_DT_GNU_HASH): New variable.
	(process_dynamic_section): Handle DT_GNU_HASH.
	(process_symbol_table): Print also DT_GNU_HASH histogram.
ld/testsuite/
	* ld-powerpc/tlsso32.r: Adjust.
	* ld-powerpc/tlsso32.d: Adjust.
	* ld-powerpc/tlsso32.g: Adjust.
	* ld-powerpc/tlsso.r: Adjust.
	* ld-powerpc/tlsso.g: Adjust.
	* ld-powerpc/tlstocso.g: Adjust.
2006-07-10 21:40:25 +00:00
..
aout Remove a29k support. 2005-08-18 03:51:51 +00:00
coff Cleanup of pseudo-ops for constants and new def24,def32 pseudo-ops on z80 2006-02-05 11:57:35 +00:00
elf include/ 2006-07-10 21:40:25 +00:00
gdb ChangeLog: 2005-07-14 22:52:28 +00:00
nlm Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
opcode gas/testsuite/ 2006-06-12 18:59:37 +00:00
COPYING Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
ChangeLog include/ 2006-07-10 21:40:25 +00:00
ChangeLog-9103 merge from gcc 2005-04-14 02:22:18 +00:00
MAINTAINERS add MAINTAINERS files 2000-07-05 19:28:06 +00:00
alloca-conf.h Add alloca-conf.h from libiberty. 2000-09-28 08:00:54 +00:00
ansidecl.h merge from gcc 2005-07-03 19:16:20 +00:00
bfdlink.h include/ 2006-07-10 21:40:25 +00:00
bin-bugs.h 2004-07-23 H.J. Lu <hongjiu.lu@intel.com> 2004-07-23 15:40:19 +00:00
bout.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
demangle.h merge from gcc 2005-12-11 02:16:09 +00:00
dis-asm.h Add support for the Infineon XC16X. 2006-02-17 14:36:28 +00:00
dyn-string.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
fibheap.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
filenames.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
floatformat.h merge from gcc 2005-10-31 18:01:19 +00:00
fnmatch.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
fopen-bin.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
fopen-same.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
fopen-vms.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
gdbm.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
getopt.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
hashtab.h merge from gcc 2005-06-30 23:03:37 +00:00
hp-symtab.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
ieee.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
libiberty.h merge from gcc 2006-06-01 14:57:50 +00:00
md5.h merge from gcc 2006-01-18 21:05:51 +00:00
oasys.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
objalloc.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
obstack.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
os9k.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
partition.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
progress.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
safe-ctype.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
sort.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
splay-tree.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
symcat.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
ternary.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
xregex.h merge from gcc 2001-08-02 23:27:47 +00:00
xregex2.h merge from gcc 2005-07-12 10:35:00 +00:00
xtensa-config.h * xtensa-config.h (XCHAL_HAVE_MUL32_HIGH): Define. 2006-01-09 23:47:37 +00:00
xtensa-isa-internal.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
xtensa-isa.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00