binutils-gdb/include/elf
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
..
alpha.h * alpha.h (LITUSE_ALPHA_JSRDIRECT): New. 2005-05-31 22:52:31 +00:00
arc.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
arm.h * include/elf/arm.h: Correct names of R_ARM_LDC_G{0,1,2} 2006-06-15 11:03:02 +00:00
avr.h Add support for AVR6 family 2006-05-24 07:36:12 +00:00
bfin.h * elf/bfin.h (R_BFIN_GOT17M4, R_BFIN_GOTHI, R_BFIN_GOTLO, 2006-03-25 18:21:47 +00:00
ChangeLog include/ 2006-07-10 21:40:25 +00:00
ChangeLog-9103 Move entries in ChangeLog-9103 to appropriate */ChangeLog-9103. 2005-04-13 17:33:48 +00:00
common.h include/ 2006-07-10 21:40:25 +00:00
cr16c.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
cris.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
crx.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
d10v.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
d30v.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
dlx.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
dwarf2.h Import from the GCC tree: 2006-03-02 00:54:27 +00:00
dwarf.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
external.h * elf/external.h (GRP_ENTRY_SIZE): Define. 2005-06-17 13:37:26 +00:00
fr30.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
frv.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
h8.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
hppa.h Add TLS support for hppa-linux 2006-05-24 11:05:42 +00:00
i370.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
i386.h include/elf/ChangeLog: 2006-01-18 21:07:51 +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 * elf/ia64.h (SHF_IA_64_HP_TLS): New. 2006-02-06 21:52:48 +00:00
internal.h include/elf/ 2006-06-01 05:40:24 +00:00
ip2k.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
iq2000.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
m32c.h [include/elf] 2006-02-24 22:10:36 +00:00
m32r.h Add support for a 32bit PC relative reloc 2005-07-20 11:35:03 +00:00
m68hc11.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
m68k.h bfd: 2006-03-06 13:42:05 +00:00
mcore.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
mips.h Richard Sandiford <richard@codesourcery.com> 2006-03-22 09:28:15 +00:00
mmix.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
mn10200.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
mn10300.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
msp430.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
mt.h Second part of ms1 to mt renaming. 2005-12-16 10:23:12 +00:00
openrisc.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
pj.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
ppc64.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
ppc.h include/elf/ 2005-05-14 05:07:20 +00:00
reloc-macros.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
s390.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +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
v850.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
vax.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
x86-64.h Patch by matz@suse.de: 2006-03-23 08:23:09 +00:00
xc16x.h Add support for the Infineon XC16X. 2006-02-17 14:36:28 +00:00
xstormy16.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
xtensa.h Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00