old-cross-binutils/bfd
Alan Modra 9ad5cbcfb2 Support for more than 64k ELF sections.
include/elf/ChangeLog
	* external.h (Elf_External_Sym_Shndx): Declare.
	* internal.h (struct elf_internal_sym <st_shndx>): Make it an
	unsigned int.
	* common.h (SHN_BAD): Define.

bfd/ChangeLog
	* configure.in: Bump bfd version.
	* configure: Regenerate.
	* elf-bfd.h (elf_size_info <swap_symbol_out>): Add shndx param.
	(bfd_elf32_swap_symbol_in): Likewise.
	(bfd_elf32_swap_symbol_out): Likewise.
	(bfd_elf64_swap_symbol_in): Likewise.
	(bfd_elf64_swap_symbol_out): Likewise.
	(elf_reloc_cookie): Add locsym_shndx field.  Make locsyms a PTR.
	(elf_obj_tdata): Add num_elf_sections, symtab_shndx_hdr and
	symtab_shndx_section.
	(elf_numsections): Define.
	(elf_symtab_shndx): Define.
	* elf.c (setup_group): Use elf_numsections rather than header e_shnum.
	(bfd_elf_find_section): Likewise.
	(bfd_section_from_elf_index): Likewise.
	(bfd_section_from_shdr): Likewise.  Handle SHT_SYMTAB_SHNDX.
	(bfd_section_from_r_symndx): Read symbol shndx extension, and
	translate st_shndx for > SHN_HIRESERVE.
	(assign_section_numbers): Skip reserved sections.  Assign
	symtab_shndx_section and elf_numsections.  Exclude reserved
	sections from e_shnum.  Set up symtab_shndx_hdr.
	(_bfd_elf_compute_section_file_positions): Handle symtab_shndx_hdr.
	(map_sections_to_segments): Don't map eh_frame_hdr unless required.
	(assign_file_positions_except_relocs): Use elf_numsections rather
	than header e_shnum.  Skip reserved sections and symtab_shndx_section.
	(prep_headers): Set name for symtab_shndx_hdr.
	(_bfd_elf_assign_file_positions_for_relocs): Use elf_numsections.
	(_bfd_elf_write_object_contents): Likewise.  Skip reserved sections.
	(_bfd_elf_section_from_bfd_section): Check bfd_{abs,com,und}_section
	first.  Use elf_section_data if available.  Use elf_numsections.
	Start scan at index 1.
	(copy_private_bfd_data ): Comment fixes.
	(MAP_ONESYMTAB): Define above SHN_HIOS.
	(MAP_DYNSYMTAB): Likewise.
	(MAP_STRTAB): Likewise.
	(MAP_SHSTRTAB): Likewise.
	(MAP_SYM_SHNDX): New define.
	(_bfd_elf_copy_private_symbol_data): Handle symtab_shndx_section.
	(swap_out_syms): Swap out SHT_SYMTAB_SHNDX section too.
	* elfcode.h (elf_swap_symbol_in): Add shndx param, and handle shndx
	extension.
	(elf_swap_symbol_out): Likewise.
	(elf_object_p): Set elf_numsections, and use instead of e_shnum.
	Initialialise reserved elf_elfsections to point at shdr[0].  Remove
	redundant bfd_release calls.
	(elf_slurp_symbol_table): Read symbol shndx extension, and use with
	elf_swap_symbol_in.  Translate st_shndx for > SHN_HIRESERVE too.
	* elflink.h (elf_link_is_defined_archive_symbol): Read symbol shndx
	extension, and use with elf_swap_symbol_in.
	(elf_link_record_local_dynamic_symbol): Likewise.
	(elf_link_add_object_symbols): Likewise.  Also translate st_shndx
	for elf sections > SHN_HIRESERVE.
	(NAME(bfd_elf,size_dynamic_sections)): Adjust elf_swap_symbol_out
	call.
	(struct elf_final_link_info): Add locsym_shndx and symshndxbuf.
	(elf_bfd_final_link): Allocate the above, and tidy code allocating
	other buffers.  Use elf_numsections instead of e_shnum.  Adjust
	elf_swap_symbol_out calls.
	(elf_link_output_sym): Swap out symbol shndx extension too.
	(elf_link_flush_output_syms): And flush them to disk.
	(elf_link_output_extsym): Use SHN_BAD.  Adjust elf_swap_symbol_out
	calls.
	(elf_gc_mark): Read symbol shndx extension, and use with
	elf_swap_symbol_in.
	(elf_link_input_bfd): Likewise,  Translate st_shndx for elf sections
	> SHN_HIRESERVE too.  Use SHN_BAD.
	(elf_reloc_symbol_deleted_p): Use symbol shndx extensions with
	elf_swap_symbol_in.  Translate st_shndx > SHN_HIRESERVE too.
	(elf_bfd_discard_info): Read symbol shndx extension.  Don't attempt
	to continue after a bfd error.
	* elf-m10200.c (mn10200_elf_relax_section): Only read local syms.
	Stash them immediately to symtab_hdr->contents rather than later
	in multiple places.  Clean up afterwards.  Read symbol shndx
	extension, and use with swap_symbol_in.  Translate SHN_UNDEF,
	SHN_ABS, SHN_COMMON and elf sections > SHN_HIRESERVE to bfd
	sections too.  Remove dead code.
	(mn10200_elf_relax_delete_bytes): Use symbol shndx extension
	when swapping in symbols.  Tidy code adjusting global syms.
	Don't swap in global syms.
	(mn10200_elf_symbol_address_p): Likewise.  Remove extsyms param.
	(mn10200_elf_get_relocated_section_contents): Read symbol shndx
	extension, and use with swap_symbol_in.  Rename "size" -> "amt"
	to maximize code in common with other files.  Translate st_shndx
	for > SHN_HIRESERVE too.  Remove dead code.
	* elf-m10300.c (mn10300_elf_relax_section): Only read local syms.
	Stash them immediately to symtab_hdr->contents rather than later
	in multiple places.  Clean up afterwards.  Read symbol shndx
	extension, and use with swap_symbol_in.  Remove dead code.
	(mn10300_elf_relax_delete_bytes): As for elf-m10200.c.
	(mn10300_elf_symbol_address_p): Likewise.
	(mn10300_elf_get_relocated_section_contents): Likewise.
	* elf32-h8300.c (elf32_h8_relax_section): As for elf-m10300.c.
	(elf32_h8_relax_delete_bytes): Likewise.
	(elf32_h8_symbol_address_p): Likewise.
	(elf32_h8_get_relocated_section_contents): Likewise.
	* elf32-hppa.c (elf32_hppa_size_stubs): Read symbol shndx
	extension, and use with swap_symbol_in.
	* elf64-hppa.c (elf64_hppa_check_relocs): Likewise.
	* elf32-i370.c (i370_elf_finish_dynamic_sections): Adjust call to
	bfd_elf32_swap_symbol_out.
	* elf32-m32r.c (m32r_elf_get_relocated_section_contents): Translate
	elf sections > SHN_HIRESERVE too.
	* elf32-m68k.c (bfd_m68k_elf32_create_embedded_relocs): Only read
	local syms.  Read symbol shndx extension, and use with swap_symbol_in.
	* elf32-mips.c (_bfd_mips_elf_final_write_processing): Use
	elf_numsections rather than header e_shnum.
	* elf32-sh.c (sh_elf_relax_section): As for elf-m10300.c.
	(sh_elf_relax_delete_bytes): Likewise.
	(sh_elf_get_relocated_section_contents): Likewise.  Only read local
	symbols.
	* elf32-v850.c (v850_elf_symbol_processing): Use an unsigned int to
	hold section index.  Use elf_numsections rather than e_shnum.
	Rename "index" -> "indx" to avoid shadowing warning.
	(v850_elf_add_symbol_hook): Likewise.
	* elf64-alpha.c (elf64_alpha_relax_section): Only read local syms.
	Read symbol shndx extension, and use with swap_symbol_in.
	* elf32-xstormy16.c (xstormy16_elf_relax_section): Likewise.
	Translate SHN_COMMON and elf sections > SHN_HIRESERVE too.
	* elfxx-ia64.c (elfNN_ia64_relax_section): Likewise.
	(elfNN_ia64_aix_add_symbol_hook): Use elf_numsections.

	* elf-m10300.c (mn10300_elf_gc_mark_hook): Remove unnecessary checks
	before calling bfd_section_from_elf_index on local syms.
	* elf32-arm.h (elf32_arm_gc_mark_hook): Likewise.
	* elf32-avr.c (elf32_avr_gc_mark_hook): Likewise.
	* elf32-cris.c (cris_elf_gc_mark_hook): Likewise.
	* elf32-d10v.c (elf32_d10v_gc_mark_hook): Likewise.
	* elf32-fr30.c (fr30_elf_gc_mark_hook): Likewise.
	* elf32-hppa.c (elf32_hppa_gc_mark_hook): Likewise.
	* elf32-i386.c (elf_i386_gc_mark_hook): Likewise.
	* elf32-m32r.c (m32r_elf_gc_mark_hook): Likewise.
	* elf32-m68k.c (elf_m68k_gc_mark_hook): Likewise.
	* elf32-mcore.c (mcore_elf_gc_mark_hook): Likewise.
	* elf32-mips.c (_bfd_mips_elf_gc_mark_hook): Likewise.
	* elf32-openrisc.c (openrisc_elf_gc_mark_hook): Likewise.
	* elf32-ppc.c (ppc_elf_gc_mark_hook): Likewise.
	* elf32-s390.c (elf_s390_gc_mark_hook): Likewise.
	* elf32-sh.c (sh_elf_gc_mark_hook): Likewise.
	* elf32-sparc.c (elf32_sparc_gc_mark_hook): Likewise.
	* elf32-v850.c (v850_elf_gc_mark_hook): Likewise.
	* elf32-xstormy16.c (xstormy16_elf_gc_mark_hook): Likewise.
	* elf64-mips.c (mips_elf64_gc_mark_hook): Likewise.
	* elf64-mmix.c (mmix_elf_gc_mark_hook): Likewise.
	* elf64-ppc.c (ppc64_elf_gc_mark_hook): Likewise.
	* elf64-s390.c (elf_s390_gc_mark_hook): Likewise.
	* elf64-x86-64.c (elf64_x86_64_gc_mark_hook): Likewise.

binutils/ChangeLog
	* readelf.c (symtab_shndx_hdr): New global.
	(SECTION_HEADER_INDEX): Define.
	(SECTION_HEADER_NUM): Define.
	(SECTION_HEADER): Define.
	(GET_ELF_SYMBOLS): Pass two params rather than three.
	(get_32bit_elf_symbols): Take file and section args.  Read and
	use SHT_SYMTAB_SHNDX.
	(get_64bit_elf_symbols): Likewise.
	(dump_relocations): Use SECTION_HEADER to index "section_headers".
	(process_section_headers): Likewise.  Use SECTION_HEADER_NUM too.
	Remember symtab_shdx_hdr.
	(process_program_headers): Scan from index 1 for segment map.
	(slurp_ia64_unwind_table): Use SECTION_HEADER to index
	"section_headers".
	(process_relocs): Likewise.  Also adjust call to GET_ELF_SYMBOLS.
	(process_unwind): Likewise.
	(process_version_sections): Likewise.
	(process_symbol_table): Likewise.
	(display_debug_info): Likewise.
	(process_dynamic_segment): Fake up a symtab section for changed
	GET_ELF_SYMBOLS.
	(get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
	(process_program_headers): Kill signed/unsigned warning.
	(load_debug_str): Likewise.
	(display_debug_info): Likewise.
2001-12-17 00:52:35 +00:00
..
doc Index: bfd/ChangeLog 2001-12-08 03:46:03 +00:00
hosts Locale changes from Bruno Haible <haible@clisp.cons.org>. 2001-09-19 05:33:36 +00:00
po Import new turkish translations from Translation Project's website. 2001-12-03 10:46:36 +00:00
acinclude.m4
aclocal.m4
aix386-core.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
aout-adobe.c * bfd.c (bfd_archive_filename): New function. 2001-09-20 23:30:37 +00:00
aout-arm.c * version.h: New file. 2001-10-02 05:58:41 +00:00
aout-cris.c * version.h: New file. 2001-10-02 05:58:41 +00:00
aout-encap.c * aout-encap.c: Fix comment typos. 2001-10-10 12:08:29 +00:00
aout-ns32k.c * version.h: New file. 2001-10-02 05:58:41 +00:00
aout-sparcle.c * version.h: New file. 2001-10-02 05:58:41 +00:00
aout-target.h Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
aout-tic30.c * version.h: New file. 2001-10-02 05:58:41 +00:00
aout0.c * version.h: New file. 2001-10-02 05:58:41 +00:00
aout32.c
aout64.c
aoutf1.h Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
aoutx.h * aout-encap.c: Fix comment typos. 2001-10-10 12:08:29 +00:00
archive.c * Makefile.am: split up BFD_LIBS like statements in BFD32_LIBS and 2001-12-05 22:46:21 +00:00
archive64.c * Makefile.am: split up BFD_LIBS like statements in BFD32_LIBS and 2001-12-05 22:46:21 +00:00
archures.c Index: bfd/ChangeLog 2001-12-08 03:46:03 +00:00
armnetbsd.c * version.h: New file. 2001-10-02 05:58:41 +00:00
bfd-in.h * elf-bfd.h (enum elf_link_info_type): New. 2001-12-13 11:09:34 +00:00
bfd-in2.h hash bfd sections for fast lookup and create. 2001-12-17 00:40:53 +00:00
bfd.c hash bfd sections for fast lookup and create. 2001-12-17 00:40:53 +00:00
binary.c * binary.c: Include safe-ctype.h after bfd.h and sysdep.h. 2001-11-10 15:53:31 +00:00
bout.c * aout-encap.c: Fix comment typos. 2001-10-10 12:08:29 +00:00
cache.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
cf-i386lynx.c
cf-m68klynx.c
cf-sparclynx.c
ChangeLog Support for more than 64k ELF sections. 2001-12-17 00:52:35 +00:00
ChangeLog-9193
ChangeLog-9495
ChangeLog-9697
ChangeLog-9899
cisco-core.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
coff-a29k.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
coff-alpha.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
coff-apollo.c
coff-arm.c * bfd.c (bfd_archive_filename): New function. 2001-09-20 23:30:37 +00:00
coff-aux.c
coff-go32.c
coff-h8300.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
coff-h8500.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
coff-i386.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
coff-i860.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
coff-i960.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
coff-ia64.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
coff-m68k.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
coff-m88k.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
coff-mcore.c Fix compile time warnings 2001-09-21 14:25:09 +00:00
coff-mips.c * coff-mips.c (mips_bfd_reloc_type_lookup): Replace 2001-12-02 13:14:48 +00:00
coff-pmac.c
coff-ppc.c Fix compile time warnings 2001-09-21 14:25:09 +00:00
coff-rs6000.c * bfd.c (bfd_archive_filename): New function. 2001-09-20 23:30:37 +00:00
coff-sh.c * bfd.c (bfd_archive_filename): New function. 2001-09-20 23:30:37 +00:00
coff-sparc.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
coff-stgo32.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
coff-svm68k.c
coff-tic30.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
coff-tic54x.c * bfd.c (bfd_archive_filename): New function. 2001-09-20 23:30:37 +00:00
coff-tic80.c * bfd.c (bfd_archive_filename): New function. 2001-09-20 23:30:37 +00:00
coff-u68k.c
coff-w65.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
coff-we32k.c
coff-z8k.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
coff64-rs6000.c * aout-encap.c: Fix comment typos. 2001-10-10 12:08:29 +00:00
coffcode.h * aout-encap.c: Fix comment typos. 2001-10-10 12:08:29 +00:00
coffgen.c Define and use bfd_is_const_section(). 2001-11-19 15:35:38 +00:00
cofflink.c * aout-encap.c: Fix comment typos. 2001-10-10 12:08:29 +00:00
coffswap.h Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
config.bfd Index: bfd/ChangeLog 2001-12-08 03:46:03 +00:00
config.in
configure hash bfd sections for fast lookup and create. 2001-12-17 00:40:53 +00:00
configure.com
configure.host
configure.in hash bfd sections for fast lookup and create. 2001-12-17 00:40:53 +00:00
COPYING
corefile.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
cpu-a29k.c
cpu-alpha.c
cpu-arc.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
cpu-arm.c
cpu-avr.c
cpu-cris.c
cpu-d10v.c
cpu-d30v.c
cpu-fr30.c
cpu-h8300.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
cpu-h8500.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
cpu-hppa.c
cpu-i370.c
cpu-i386.c * cpu-i386.c (bfd_x86_64_arch_intel_syntax,bfd_x86_64_arch): Use 2001-11-14 12:01:58 +00:00
cpu-i860.c
cpu-i960.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
cpu-ia64-opc.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
cpu-ia64.c
cpu-m32r.c
cpu-m68hc11.c
cpu-m68hc12.c
cpu-m68k.c
cpu-m88k.c
cpu-m10200.c
cpu-m10300.c
cpu-mcore.c
cpu-mips.c 2001-08-31 Eric Christopher <echristo@redhat.com> 2001-08-31 21:24:28 +00:00
cpu-mmix.c Add MMIX support 2001-10-30 15:20:14 +00:00
cpu-ns32k.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
cpu-openrisc.c
cpu-pdp11.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
cpu-pj.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
cpu-powerpc.c
cpu-rs6000.c
cpu-s390.c
cpu-sh.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
cpu-sparc.c
cpu-tic30.c
cpu-tic54x.c
cpu-tic80.c
cpu-v850.c Locale changes from Bruno Haible <haible@clisp.cons.org>. 2001-09-19 05:33:36 +00:00
cpu-vax.c
cpu-w65.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
cpu-we32k.c
cpu-xstormy16.c Index: bfd/ChangeLog 2001-12-08 03:46:03 +00:00
cpu-z8k.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
demo64.c * version.h: New file. 2001-10-02 05:58:41 +00:00
dep-in.sed somehow missed committing this. 2001-10-04 15:37:38 +00:00
dwarf1.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
dwarf2.c * dwarf2.c (struct line_head) [total_length]: Change type to 2001-11-14 11:16:47 +00:00
ecoff.c * aout-encap.c: Fix comment typos. 2001-10-10 12:08:29 +00:00
ecofflink.c * bfd.c (bfd_archive_filename): New function. 2001-09-20 23:30:37 +00:00
ecoffswap.h Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
efi-app-ia32.c
efi-app-ia64.c
elf-bfd.h Support for more than 64k ELF sections. 2001-12-17 00:52:35 +00:00
elf-eh-frame.c * elf-bfd.h (_bfd_elf_maybe_strip_eh_frame_hdr): New prototype. 2001-12-15 08:54:13 +00:00
elf-hppa.h * elf.c (_bfd_elf_rela_local_sym): New. 2001-11-23 12:17:21 +00:00
elf-m10200.c Support for more than 64k ELF sections. 2001-12-17 00:52:35 +00:00
elf-m10300.c Support for more than 64k ELF sections. 2001-12-17 00:52:35 +00:00
elf-strtab.c * elf-strtab.c (_bfd_elf_strtab_finalize): Make first variable i 2001-11-11 22:18:01 +00:00
elf.c Support for more than 64k ELF sections. 2001-12-17 00:52:35 +00:00
elf32-arc.c * elf32-arc.c (elf_arc_howto_table): Set partial_inplace for all 2001-10-06 06:41:47 +00:00
elf32-arm.h Support for more than 64k ELF sections. 2001-12-17 00:52:35 +00:00
elf32-avr.c Support for more than 64k ELF sections. 2001-12-17 00:52:35 +00:00
elf32-cris.c Support for more than 64k ELF sections. 2001-12-17 00:52:35 +00:00
elf32-d10v.c Support for more than 64k ELF sections. 2001-12-17 00:52:35 +00:00
elf32-d30v.c * elf.c (prep_headers): Get the machine code from the elf 2001-09-12 23:53:31 +00:00
elf32-fr30.c Support for more than 64k ELF sections. 2001-12-17 00:52:35 +00:00
elf32-gen.c * bfd.c (bfd_archive_filename): New function. 2001-09-20 23:30:37 +00:00
elf32-h8300.c Support for more than 64k ELF sections. 2001-12-17 00:52:35 +00:00
elf32-hppa.c Support for more than 64k ELF sections. 2001-12-17 00:52:35 +00:00
elf32-hppa.h
elf32-i370.c Support for more than 64k ELF sections. 2001-12-17 00:52:35 +00:00
elf32-i386.c Support for more than 64k ELF sections. 2001-12-17 00:52:35 +00:00
elf32-i860.c * elf.c (_bfd_elf_rela_local_sym): New. 2001-11-23 12:17:21 +00:00
elf32-i960.c
elf32-m32r.c Support for more than 64k ELF sections. 2001-12-17 00:52:35 +00:00
elf32-m68hc11.c
elf32-m68hc12.c
elf32-m68k.c Support for more than 64k ELF sections. 2001-12-17 00:52:35 +00:00
elf32-m88k.c
elf32-mcore.c Support for more than 64k ELF sections. 2001-12-17 00:52:35 +00:00
elf32-mips.c Support for more than 64k ELF sections. 2001-12-17 00:52:35 +00:00
elf32-openrisc.c Support for more than 64k ELF sections. 2001-12-17 00:52:35 +00:00
elf32-pj.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
elf32-ppc.c Support for more than 64k ELF sections. 2001-12-17 00:52:35 +00:00
elf32-s390.c Support for more than 64k ELF sections. 2001-12-17 00:52:35 +00:00
elf32-sh-lin.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
elf32-sh.c Support for more than 64k ELF sections. 2001-12-17 00:52:35 +00:00
elf32-sparc.c Support for more than 64k ELF sections. 2001-12-17 00:52:35 +00:00
elf32-v850.c Support for more than 64k ELF sections. 2001-12-17 00:52:35 +00:00
elf32-xstormy16.c Support for more than 64k ELF sections. 2001-12-17 00:52:35 +00:00
elf32.c
elf64-alpha.c Support for more than 64k ELF sections. 2001-12-17 00:52:35 +00:00
elf64-gen.c * bfd.c (bfd_archive_filename): New function. 2001-09-20 23:30:37 +00:00
elf64-hppa.c Support for more than 64k ELF sections. 2001-12-17 00:52:35 +00:00
elf64-hppa.h
elf64-mips.c Support for more than 64k ELF sections. 2001-12-17 00:52:35 +00:00
elf64-mmix.c Support for more than 64k ELF sections. 2001-12-17 00:52:35 +00:00
elf64-ppc.c Support for more than 64k ELF sections. 2001-12-17 00:52:35 +00:00
elf64-s390.c Support for more than 64k ELF sections. 2001-12-17 00:52:35 +00:00
elf64-sparc.c * elf.c (_bfd_elf_rela_local_sym): Only call 2001-12-07 11:12:18 +00:00
elf64-x86-64.c Support for more than 64k ELF sections. 2001-12-17 00:52:35 +00:00
elf64.c
elfarm-nabi.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
elfarm-oabi.c
elfcode.h Support for more than 64k ELF sections. 2001-12-17 00:52:35 +00:00
elfcore.h * elfcore.h (elf_core_file_p): Preserve and clear abfd section 2001-11-02 13:12:56 +00:00
elflink.c * Makefile.am (BFD32_BACKENDS): Add elf-strtab.lo. 2001-11-07 16:50:38 +00:00
elflink.h Support for more than 64k ELF sections. 2001-12-17 00:52:35 +00:00
elfxx-ia64.c Support for more than 64k ELF sections. 2001-12-17 00:52:35 +00:00
elfxx-target.h 2001-11-11 Daniel Jacobowitz <drow@mvista.com> 2001-11-15 01:34:12 +00:00
epoc-pe-arm.c
epoc-pei-arm.c
format.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
freebsd.h
gen-aout.c * version.h: New file. 2001-10-02 05:58:41 +00:00
genlink.h
go32stub.h
hash.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
host-aout.c * version.h: New file. 2001-10-02 05:58:41 +00:00
hp300bsd.c * version.h: New file. 2001-10-02 05:58:41 +00:00
hp300hpux.c * version.h: New file. 2001-10-02 05:58:41 +00:00
hppabsd-core.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
hpux-core.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
i386aout.c * version.h: New file. 2001-10-02 05:58:41 +00:00
i386bsd.c * version.h: New file. 2001-10-02 05:58:41 +00:00
i386dynix.c * version.h: New file. 2001-10-02 05:58:41 +00:00
i386freebsd.c * version.h: New file. 2001-10-02 05:58:41 +00:00
i386linux.c * version.h: New file. 2001-10-02 05:58:41 +00:00
i386lynx.c * version.h: New file. 2001-10-02 05:58:41 +00:00
i386mach3.c * version.h: New file. 2001-10-02 05:58:41 +00:00
i386msdos.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
i386netbsd.c * version.h: New file. 2001-10-02 05:58:41 +00:00
i386os9k.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
ieee.c * bfd.c (bfd_archive_filename): New function. 2001-09-20 23:30:37 +00:00
ihex.c * bfd.c (bfd_archive_filename): New function. 2001-09-20 23:30:37 +00:00
init.c
irix-core.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
libaout.h * version.h: New file. 2001-10-02 05:58:41 +00:00
libbfd-in.h hash bfd sections for fast lookup and create. 2001-12-17 00:40:53 +00:00
libbfd.c Fix compile time warnings 2001-09-21 14:25:09 +00:00
libbfd.h hash bfd sections for fast lookup and create. 2001-12-17 00:40:53 +00:00
libcoff-in.h * aout-encap.c: Fix comment typos. 2001-10-10 12:08:29 +00:00
libcoff.h * aout-encap.c: Fix comment typos. 2001-10-10 12:08:29 +00:00
libecoff.h * aout-encap.c: Fix comment typos. 2001-10-10 12:08:29 +00:00
libhppa.h
libieee.h Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
libnlm.h Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
liboasys.h
libpei.h Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
libxcoff.h * aout-encap.c: Fix comment typos. 2001-10-10 12:08:29 +00:00
linker.c * elf-bfd.h (struct elf_link_local_dynamic_entry): Add init_refcount. 2001-09-29 06:21:59 +00:00
lynx-core.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
m68k4knetbsd.c * version.h: New file. 2001-10-02 05:58:41 +00:00
m68klinux.c * version.h: New file. 2001-10-02 05:58:41 +00:00
m68klynx.c * version.h: New file. 2001-10-02 05:58:41 +00:00
m68knetbsd.c * version.h: New file. 2001-10-02 05:58:41 +00:00
m88kmach3.c * version.h: New file. 2001-10-02 05:58:41 +00:00
MAINTAINERS
Makefile.am * elf-bfd.h (enum elf_link_info_type): New. 2001-12-13 11:09:34 +00:00
Makefile.in * elf-bfd.h (enum elf_link_info_type): New. 2001-12-13 11:09:34 +00:00
makefile.vms
merge.c * Makefile.am: Run "make dep-am". 2001-09-21 02:12:29 +00:00
mipsbsd.c * version.h: New file. 2001-10-02 05:58:41 +00:00
mmo.c * mmo.c: Adjust documentation tags to use texinfo 4 features. 2001-11-19 01:22:45 +00:00
mpw-config.in
mpw-make.sed
netbsd-core.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
netbsd.h
newsos3.c * version.h: New file. 2001-10-02 05:58:41 +00:00
nlm-target.h
nlm.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
nlm32-alpha.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
nlm32-i386.c * aout-encap.c: Fix comment typos. 2001-10-10 12:08:29 +00:00
nlm32-ppc.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
nlm32-sparc.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
nlm32.c
nlm64.c
nlmcode.h Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
nlmswap.h Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
ns32k.h Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
ns32knetbsd.c * version.h: New file. 2001-10-02 05:58:41 +00:00
oasys.c Locale changes from Bruno Haible <haible@clisp.cons.org>. 2001-09-19 05:33:36 +00:00
opncls.c hash bfd sections for fast lookup and create. 2001-12-17 00:40:53 +00:00
osf-core.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
pc532-mach.c * version.h: New file. 2001-10-02 05:58:41 +00:00
pdp11.c * elf-m10200.c (mn10200_elf_relax_section): Cast assignment to 2001-10-17 12:01:05 +00:00
pe-arm.c
pe-i386.c
pe-mcore.c
pe-mips.c * coff-mips.c (mips_bfd_reloc_type_lookup): Replace 2001-12-02 13:14:48 +00:00
pe-ppc.c
pe-sh.c
pei-arm.c
pei-i386.c
pei-mcore.c
pei-mips.c
pei-ppc.c
pei-sh.c
peicode.h * bfd.c (bfd_archive_filename): New function. 2001-09-20 23:30:37 +00:00
peXXigen.c * peXXigen.c (_bfd_XX_print_private_bfd_data_common): Copy 2001-10-25 06:33:56 +00:00
PORTING
ppcboot.c Locale changes from Bruno Haible <haible@clisp.cons.org>. 2001-09-19 05:33:36 +00:00
ptrace-core.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
README * README: Fix a typo. 2001-10-29 22:29:59 +00:00
reloc.c Index: bfd/ChangeLog 2001-12-08 03:46:03 +00:00
reloc16.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
riscix.c * version.h: New file. 2001-10-02 05:58:41 +00:00
rs6000-core.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
sco5-core.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
section.c hash bfd sections for fast lookup and create. 2001-12-17 00:40:53 +00:00
som.c Initialize subspace_sections. 2001-11-02 16:19:54 +00:00
som.h * aout-encap.c: Fix comment typos. 2001-10-10 12:08:29 +00:00
sparclinux.c * version.h: New file. 2001-10-02 05:58:41 +00:00
sparclynx.c * version.h: New file. 2001-10-02 05:58:41 +00:00
sparcnetbsd.c * version.h: New file. 2001-10-02 05:58:41 +00:00
srec.c * bfd.c (bfd_archive_filename): New function. 2001-09-20 23:30:37 +00:00
stab-syms.c
stabs.c * stabs.c (_bfd_discard_section_stabs): Use PARAMS in function 2001-11-26 19:31:27 +00:00
stamp-h.in
sunos.c * version.h: New file. 2001-10-02 05:58:41 +00:00
syms.c * syms.c (_bfd_generic_read_minisymbols): Early return for 2001-12-12 19:05:26 +00:00
sysdep.h
targets.c Index: bfd/ChangeLog 2001-12-08 03:46:03 +00:00
targmatch.sed * targmatch.sed: Delete case statements. 2001-08-29 03:39:47 +00:00
tekhex.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
TODO
trad-core.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
vaxnetbsd.c * version.h: New file. 2001-10-02 05:58:41 +00:00
versados.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
version.h daily update 2001-12-16 23:00:06 +00:00
vms-gsd.c Locale changes from Bruno Haible <haible@clisp.cons.org>. 2001-09-19 05:33:36 +00:00
vms-hdr.c * version.h: New file. 2001-10-02 05:58:41 +00:00
vms-misc.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
vms-tir.c Locale changes from Bruno Haible <haible@clisp.cons.org>. 2001-09-19 05:33:36 +00:00
vms.c * section.c (bfd_make_section_anyway): Don't increment section_id 2001-11-13 03:52:25 +00:00
vms.h Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
xcoff-target.h
xcofflink.c * bfd.c (bfd_archive_filename): New function. 2001-09-20 23:30:37 +00:00

BFD is an object file library.  It permits applications to use the
same routines to process object files regardless of their format.

BFD is used by the GNU debugger, assembler, linker, and the binary
utilities.

The documentation on using BFD is scanty and may be occasionally
incorrect.  Pointers to documentation problems, or an entirely
rewritten manual, would be appreciated.

There is some BFD internals documentation in doc/bfdint.texi which may
help programmers who want to modify BFD.

BFD is normally built as part of another package.  See the build
instructions for that package, probably in a README file in the
appropriate directory.

BFD supports the following configure options:

  --target=TARGET
	The default target for which to build the library.  TARGET is
	a configuration target triplet, such as sparc-sun-solaris.
  --enable-targets=TARGET,TARGET,TARGET...
	Additional targets the library should support.  To include
	support for all known targets, use --enable-targets=all.
  --enable-64-bit-bfd
	Include support for 64 bit targets.  This is automatically
	turned on if you explicitly request a 64 bit target, but not
	for --enable-targets=all.  This requires a compiler with a 64
	bit integer type, such as gcc.
  --enable-shared
	Build BFD as a shared library.
  --with-mmap
	Use mmap when accessing files.  This is faster on some hosts,
	but slower on others.  It may not work on all hosts.

Report bugs with BFD to bug-binutils@gnu.org.

Patches are encouraged.  When sending patches, always send the output
of diff -u or diff -c from the original file to the new file.  Do not
send default diff output.  Do not make the diff from the new file to
the original file.  Remember that any patch must not break other
systems.  Remember that BFD must support cross compilation from any
host to any target, so patches which use ``#ifdef HOST'' are not
acceptable.  Please also read the ``Reporting Bugs'' section of the
gcc manual.

Bug reports without patches will be remembered, but they may never get
fixed until somebody volunteers to fix them.