darling-gdb/bfd
Jakub Jelinek 13ae64f3c7 * elf.c (_bfd_elf_make_section_from_shdr): Set SEC_THREAD_LOCAL
for symbols from SHF_TLS section.
	(_bfd_elf_print_private_bfd_data): Add PT_TLS.
	(elf_fake_sections): Set SHF_TLS for SEC_THREAD_LOCAL sections.
	(map_sections_to_segments): Build PT_TLS segment if necessary.
	(assign_file_positions_for_segments): Likewise.
	(get_program_header_size): Account for PT_TLS segment.
	(swap_out_syms): Set type of BSF_THREAD_LOCAL symbols and symbols from
	SEC_THREAD_LOCAL sections to STT_TLS.
	* reloc.c: Add 386 and IA-64 TLS relocs.
	* section.c (SEC_THREAD_LOCAL): Define.
	(SEC_CONSTRUCTOR_TEXT, SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS):
	Remove.
	* elflink.h (elf_link_add_object_symbols): Support .tcommon.
	(size_dynamic_sections): If DF_STATIC_TLS, set DF_FLAGS
	unconditionally.
	(struct elf_final_link_info): Add first_tls_sec.
	(elf_bfd_final_link): Set first_tls_sec.
	Compute elf_hash_table (info)->tls_segment.
	(elf_link_output_extsym): Handle STT_TLS symbols.
	(elf_link_input_bfd): Likewise.
	* syms.c (BSF_THREAD_LOCAL): Define.
	* bfd-in2.h: Rebuilt.
	* libbfd.h: Rebuilt.
	* elf32-i386.c (elf_i386_tls_transition, dtpoff_base, tpoff,
	elf_i386_mkobject, elf_i386_object_p): New functions.
	(elf_howto_table): Add TLS relocs.
	(elf_i386_reloc_type_lookup): Support TLS relocs.
	(elf_i386_info_to_howto_rel): Likewise.
	(struct elf_i386_link_hash_entry): Add tls_type.
	(struct elf_i386_obj_tdata): New.
	(elf_i386_hash_entry, elf_i386_tdata, elf_i386_local_got_tls_type):
	New macros.
	(struct elf_i386_link_hash_table): Add tls_ldm_got.
	(link_hash_newfunc): Clear tls_type.
	(elf_i386_check_relocs): Support TLS relocs.
	(elf_i386_gc_sweep_hook): Likewise.
	(allocate_dynrelocs): Likewise.
	(elf_i386_size_dynamic_sections): Likewise.
	(elf_i386_relocate_section): Likewise.
	(elf_i386_finish_dynamic_symbol): Likewise.
	(bfd_elf32_mkobject, elf_backend_object_p): Define.
	* elfxx-ia64.c (struct elfNN_ia64_dyn_sym_info): Add tprel_offset,
	dtpmod_offset, dtprel_offset, tprel_done, dtpmod_done, dtprel_done,
	want_tprel, want_dtpmod, want_dtprel.
	(elfNN_ia64_tprel_base, elfNN_ia64_dtprel_base): New functions.
	(ia64_howto_table): Add TLS relocs, rename R_IA64_LTOFF_TP22 to
	R_IA64_LTOFF_TPREL22.
	(elf_code_to_howto_index): Add TLS relocs.
	(elfNN_ia64_check_relocs): Support TLS relocs.
	(allocate_global_data_got): Account for TLS .got data.
	(allocate_dynrel_entries): Account for TLS dynamic relocations.
	(elfNN_ia64_install_value): Supprt TLS relocs.
	(set_got_entry): Support TLS relocs.
	(elfNN_ia64_relocate_section): Likewise.

	* config/obj-elf.c (elf_common): Renamed from obj_elf_common.
	(obj_elf_common): Call elf_common.
	(obj_elf_tls_common): New function.
	(elf_pseudo_tab): Support .tls_common.
	(special_sections): Add .tdata and .tbss.
	(obj_elf_change_section): Set SEC_THREAD_LOCAL for SHF_TLS
	sections.
	(obj_elf_parse_section_letters): Support T in section flags (SHF_TLS).
	(obj_elf_parse_section_letters): Include T in error message.
	* config/tc-ppc.c (ppc_section_letter): Likewise.
	* config/tc-alpha.c (alpha_elf_section_letter): Likewise.
	(tc_gen_reloc): Handle SEC_THREAD_LOCAL the same way as
	SEC_MERGE.
	* config/tc-sparc.c (md_apply_fix3): Likewise.
	* config/tc-i386.c (tc_i386_fix_adjustable): Add TLS relocs.
	Define them if not BFD_ASSEMBLER.
	(lex_got): Support @TLSGD, @TLSLDM, @GOTTPOFF, @TPOFF, @DTPOFF
	and @NTPOFF.
	(md_apply_fix3): Add TLS relocs.
	* config/tc-ia64.c (enum reloc_func): Add FUNC_DTP_MODULE,
	FUNC_DTP_RELATIVE, FUNC_TP_RELATIVE, FUNC_LT_DTP_MODULE,
	FUNC_LT_DTP_RELATIVE, FUNC_LT_TP_RELATIVE.
	(pseudo_func): Support @dtpmod(), @dtprel() and @tprel().
	(ia64_elf_section_letter): Include T in error message.
	(md_begin): Support TLS operators.
	(md_operand): Likewise.
	(ia64_gen_real_reloc_type): Support TLS relocs.
	* testsuite/gas/i386/tlspic.s: New file.
	* testsuite/gas/i386/tlsd.s: New file.
	* testsuite/gas/i386/tlsnopic.s: New file.
	* testsuite/gas/i386/tlsd.d: New file.
	* testsuite/gas/i386/tlsnopic.d: New file.
	* testsuite/gas/i386/tlspic.d: New file.
	* testsuite/gas/i386/i386.exp: Add tlsd, tlsnopic and tlspic tests.
	* testsuite/gas/ia64/tls.s: New file.
	* testsuite/gas/ia64/tls.d: New file.
	* testsuite/gas/ia64/ia64.exp: Add tls test.
	* write.c (adjust_reloc_syms): Don't change symbols in
	SEC_THREAD_LOCAL sections to STT_SECTION + addend.

	* elf/common.h (PT_TLS, SHF_TLS, STT_TLS, DF_STATIC_TLS): Define.
	* elf/ia64.h (R_IA64_LTOFF_TPREL22): Renamed from R_IA64_LTOFF_TP22.
	* elf/i386.h: Add TLS relocs.

	* scripttempl/elf.sc: Add .rel{,a}.t{bss,data}, .tdata and .tbss.
	* ldlang.c (lang_add_section): Set SEC_THREAD_LOCAL for
	output section if necessary.  Handle .tbss.
	(lang_size_sections): Clear _raw_size for .tbss section
	(it allocates space in PT_TLS segment only).
	* ldwrite.c (build_link_order): Build link order for .tbss too.

	* readelf.c (get_segment_type): Add PT_TLS.
	(get_elf_section_flags): Add SHF_TLS.
	(get_dynamic_flags): Optimize.  Add DF_STATIC_TLS.
	(process_dynamic_segment): Use puts instead of printf.
	(get_symbol_type): Support STT_TLS.
	* objdump.c (dump_section_header): Remove SEC_CONSTRUCTOR_TEXT,
	SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS.
	Add SEC_THREAD_LOCAL.
2002-05-23 13:12:53 +00:00
..
doc * archures.c (bfd_lookup_arch): Move the list order comment.. 2002-04-20 03:25:20 +00:00
hosts Locale changes from Bruno Haible <haible@clisp.cons.org>. 2001-09-19 05:33:36 +00:00
po * dep-in.sed: Cope with absolute paths. 2002-04-04 14:04:39 +00:00
acinclude.m4 * acinclude.m4 (AM_INSTALL_LIBBFD): New. 2002-05-17 10:34:03 +00:00
aclocal.m4 * acinclude.m4 (AM_INSTALL_LIBBFD): New. 2002-05-17 10:34:03 +00:00
aix5ppc-core.c Replace bfd_read with bfd_bread. 2002-05-15 13:47:12 +00:00
aix386-core.c * section.c (bfd_section_init): Remove unnecessary initialisations. 2002-01-05 13:11:33 +00:00
aout0.c * version.h: New file. 2001-10-02 05:58:41 +00:00
aout32.c Update copyright notices 2001-03-08 21:04:02 +00:00
aout64.c Update copyright notices 2001-03-08 21:04:02 +00:00
aout-adobe.c Fix ld --just-symbols 2002-05-15 00:18:58 +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 Fix ld --just-symbols 2002-05-15 00:18:58 +00:00
aout-tic30.c Fix ld --just-symbols 2002-05-15 00:18:58 +00:00
aoutf1.h * section.c (bfd_section_init): Remove unnecessary initialisations. 2002-01-05 13:11:33 +00:00
aoutx.h * linker.c (link_action): Ignore duplicate warning syms. 2002-03-28 03:27:46 +00:00
archive64.c * Makefile.am: split up BFD_LIBS like statements in BFD32_LIBS and 2001-12-05 22:46:21 +00:00
archive.c * coff64-rs6000.c (_bfd_xcoff64_put_symbol_name): Prototype. 2002-03-21 09:15:18 +00:00
archures.c * archures.c (bfd_lookup_arch): Move the list order comment.. 2002-04-20 03:25:20 +00:00
armnetbsd.c * version.h: New file. 2001-10-02 05:58:41 +00:00
bfd-in2.h * elf.c (_bfd_elf_make_section_from_shdr): Set SEC_THREAD_LOCAL 2002-05-23 13:12:53 +00:00
bfd-in.h 2002-04-12 Michael Snyder <msnyder@redhat.com> 2002-04-12 23:02:12 +00:00
bfd.c * objdump.c (dump_headers): Fix output formatting for ELF32 2002-05-21 16:21:18 +00:00
binary.c Fix ld --just-symbols 2002-05-15 00:18:58 +00:00
bout.c Fix ld --just-symbols 2002-05-15 00:18:58 +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 Update copyright notices 2001-03-08 21:04:02 +00:00
cf-m68klynx.c 19990502 sourceware import 1999-05-03 07:29:11 +00:00
cf-sparclynx.c Update copyright notices 2001-03-08 21:04:02 +00:00
ChangeLog * elf.c (_bfd_elf_make_section_from_shdr): Set SEC_THREAD_LOCAL 2002-05-23 13:12:53 +00:00
ChangeLog-0001 Rotated ChangeLog 2002-01-07 12:10:15 +00:00
ChangeLog-9193 Update copyright notices 2001-03-08 21:04:02 +00:00
ChangeLog-9495 typo fix 2002-03-05 05:26:02 +00:00
ChangeLog-9697 Update copyright notices 2001-03-08 21:04:02 +00:00
ChangeLog-9899 Update copyright notices 2001-03-08 21:04:02 +00:00
cisco-core.c * section.c (bfd_section_init): Remove unnecessary initialisations. 2002-01-05 13:11:33 +00:00
coff64-rs6000.c Fix C_FILE auxent. 2002-05-18 13:13:12 +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 * coff-alpha.c (alpha_relocate_section): Unify warning message 2002-01-25 12:12:23 +00:00
coff-apollo.c Add missing prototypes 2001-08-25 09:49:44 +00:00
coff-arm.c For the Thumb BLX reloc round the relocation up rather than down. 2002-05-23 12:37:57 +00:00
coff-aux.c Update copyright notices 2001-03-08 21:04:02 +00:00
coff-go32.c * coff-go32.c: Set the alignment of dwarf2 linkonce sections to 0. 2001-08-21 22:39:47 +00:00
coff-h8300.c 2002-04-04 Daniel Jacobowitz <drow@mvista.com> 2002-04-04 19:53:38 +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 2002-04-04 Daniel Jacobowitz <drow@mvista.com> 2002-04-04 19:53:38 +00:00
coff-mips.c * coff-alpha.c (alpha_relocate_section): Unify warning message 2002-01-25 12:12:23 +00:00
coff-or32.c Fix compile time warning messages 2002-02-08 12:12:15 +00:00
coff-pmac.c Update copyright notices 2001-03-08 21:04:02 +00:00
coff-ppc.c 2002-04-04 Daniel Jacobowitz <drow@mvista.com> 2002-04-04 19:53:38 +00:00
coff-rs6000.c Fix ld --just-symbols 2002-05-15 00:18:58 +00:00
coff-sh.c 2002-05-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2002-05-11 17:15:53 +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 19990502 sourceware import 1999-05-03 07:29:11 +00:00
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 19990502 sourceware import 1999-05-03 07:29:11 +00:00
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 Update copyright notices 2001-03-08 21:04:02 +00:00
coff-z8k.c The patch contains mostly fixes for the disassembler. It also fixes 2002-04-25 10:59:24 +00:00
coffcode.h Fix ld --just-symbols 2002-05-15 00:18:58 +00:00
coffgen.c Don't mark info message for translation. 2002-01-25 15:13:52 +00:00
cofflink.c 2002-04-04 Daniel Jacobowitz <drow@mvista.com> 2002-04-04 19:53:38 +00:00
coffswap.h Fix problem with objdump and 16 bit R_BA. 2002-05-04 10:07:18 +00:00
config.bfd bfd: 2002-05-21 15:11:04 +00:00
config.in * configure.in: Revert 2002-04-07. Instead, auto-configure 2002-05-13 13:33:30 +00:00
configure * acinclude.m4 (AM_INSTALL_LIBBFD): New. 2002-05-17 10:34:03 +00:00
configure.com 19990502 sourceware import 1999-05-03 07:29:11 +00:00
configure.host * configure.host (hppa*64*-*-hpux*, hppa*64*-*-linux*): Add new 2002-01-22 00:47:21 +00:00
configure.in * acinclude.m4 (AM_INSTALL_LIBBFD): New. 2002-05-17 10:34:03 +00:00
COPYING Update copyright notices 2001-03-08 21:04:02 +00:00
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 Update copyright notices 2001-03-08 21:04:02 +00:00
cpu-alpha.c Update copyright notices 2001-03-08 21:04:02 +00:00
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 Replace 'arch' field with 'mach'. 2002-02-14 16:24:20 +00:00
cpu-avr.c Update copyright notices 2001-03-08 21:04:02 +00:00
cpu-cris.c Update copyright notices 2001-03-08 21:04:02 +00:00
cpu-d10v.c Update copyright notices 2001-03-08 21:04:02 +00:00
cpu-d30v.c 19990502 sourceware import 1999-05-03 07:29:11 +00:00
cpu-fr30.c Update copyright notices 2001-03-08 21:04:02 +00:00
cpu-h8300.c * dep-in.sed: Cope with absolute paths. 2002-04-04 14:04:39 +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 Update copyright notices 2001-03-08 21:04:02 +00:00
cpu-i370.c * dep-in.sed: Cope with absolute paths. 2002-04-04 14:04:39 +00:00
cpu-i386.c * cpu-i386.c (bfd_x86_64_arch): Rename to "i386:x86-64" 2002-03-18 16:42:43 +00:00
cpu-i860.c 2000-07-22 Jason Eckhardt <jle@cygnus.com> 2000-07-28 21:10:20 +00:00
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 Update copyright notices 2001-03-08 21:04:02 +00:00
cpu-m32r.c Update copyright notices 2001-03-08 21:04:02 +00:00
cpu-m68hc11.c Update copyright notices 2001-03-08 21:04:02 +00:00
cpu-m68hc12.c 2000-11-16 Kazu Hirata <kazu@hxi.com> 2000-11-16 20:48:09 +00:00
cpu-m68k.c Update copyright notices 2001-03-08 21:04:02 +00:00
cpu-m88k.c Update copyright notices 2001-03-08 21:04:02 +00:00
cpu-m10200.c 19990502 sourceware import 1999-05-03 07:29:11 +00:00
cpu-m10300.c Update copyright notices 2001-03-08 21:04:02 +00:00
cpu-mcore.c Update copyright notices 2001-03-08 21:04:02 +00:00
cpu-mips.c * cpu-mips.c (mips_compatible): Don't try to check machine 2002-05-19 21:06:34 +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 Add OpenRISC support 2001-04-24 15:08:16 +00:00
cpu-or32.c Add support for OpenRISC 32-bit embedded processor 2002-01-31 17:33:08 +00:00
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 * archures.c (bfd_lookup_arch): Add comment on list order. 2002-04-20 02:54:26 +00:00
cpu-rs6000.c Update copyright notices 2001-03-08 21:04:02 +00:00
cpu-s390.c * dep-in.sed: Cope with absolute paths. 2002-04-04 14:04:39 +00:00
cpu-sh.c Re-enable linking for sh5: 2002-04-17 19:31:53 +00:00
cpu-sparc.c * archures.c (bfd_default_compatible): Test bits_per_word. 2002-03-13 07:30:45 +00:00
cpu-tic30.c 19990502 sourceware import 1999-05-03 07:29:11 +00:00
cpu-tic54x.c Update copyright notices 2001-03-08 21:04:02 +00:00
cpu-tic80.c Update copyright notices 2001-03-08 21:04:02 +00:00
cpu-v850.c Locale changes from Bruno Haible <haible@clisp.cons.org>. 2001-09-19 05:33:36 +00:00
cpu-vax.c Update copyright notices 2001-03-08 21:04:02 +00:00
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 Update copyright notices 2001-03-08 21:04:02 +00:00
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 * dep-in.sed: Cope with absolute paths. 2002-04-04 14:04:39 +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 * elf64-ppc.c (ppc64_elf_relocate_section): Reinstate code 2002-05-04 12:01:02 +00:00
ecoff.c 2002-04-04 Daniel Jacobowitz <drow@mvista.com> 2002-04-04 19:53:38 +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 2001-04-03 David Mosberger <davidm@hpl.hp.com> 2001-04-03 14:45:43 +00:00
efi-app-ia64.c Update copyright notices 2001-03-08 21:04:02 +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 For the Thumb BLX reloc round the relocation up rather than down. 2002-05-23 12:37:57 +00:00
elf32-avr.c Support for more than 64k ELF sections. 2001-12-17 00:52:35 +00:00
elf32-cris.c * elf32-cris.c (cris_elf_howto_table) <R_CRIS_16_PCREL, 2002-04-05 23:11:32 +00:00
elf32-d10v.c 2002-02-08 Chris Demetriou <cgd@broadcom.com> 2002-02-08 19:18: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 * elf-bfd.h (struct elf_backend_data): Add rela_normal. 2002-05-07 00:16:53 +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 * elf32-hppa.c (elf32_hppa_size_stubs): Revert part of 2002-05-04, 2002-05-10 02:03:47 +00:00
elf32-hppa.h * elf32-hppa.c (struct elf32_hppa_link_hash_table): Add 2002-05-04 02:06:22 +00:00
elf32-i370.c * elf-bfd.h (struct elf_backend_data): Add rela_normal. 2002-05-07 00:16:53 +00:00
elf32-i386.c * elf.c (_bfd_elf_make_section_from_shdr): Set SEC_THREAD_LOCAL 2002-05-23 13:12:53 +00:00
elf32-i860.c * elf-bfd.h (struct elf_backend_data): Add rela_normal. 2002-05-07 00:16:53 +00:00
elf32-i960.c * coff-sparc.c: Add missing prototypes. 2001-08-21 08:40:23 +00:00
elf32-m32r.c * elf-bfd.h (struct elf_backend_data): Add rela_normal. 2002-05-07 00:16:53 +00:00
elf32-m68hc11.c Update copyright notices 2001-03-08 21:04:02 +00:00
elf32-m68hc12.c Update copyright notices 2001-03-08 21:04:02 +00:00
elf32-m68k.c * elf-bfd.h (struct elf_backend_data): Add rela_normal. 2002-05-07 00:16:53 +00:00
elf32-m88k.c Update copyright notices 2001-03-08 21:04:02 +00:00
elf32-mcore.c * elf-bfd.h (struct elf_backend_data): Add rela_normal. 2002-05-07 00:16:53 +00:00
elf32-mips.c * elf32-mips.c: Remove superfluous definitions copied from 2002-05-14 23:37:52 +00:00
elf32-openrisc.c * elf-bfd.h (struct elf_backend_data): Add rela_normal. 2002-05-07 00:16:53 +00:00
elf32-or32.c Add support for OpenRISC 32-bit embedded processor 2002-01-31 17:33:08 +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 * elf32-ppc.c (ppc_elf_create_got): New function. 2002-05-08 05:12:54 +00:00
elf32-s390.c * elf-bfd.h (struct elf_backend_data): Add rela_normal. 2002-05-07 00:16:53 +00:00
elf32-sh64.c * elf32-m32r.c (m32r_elf_add_symbol_hook): Check the hash table 2002-04-16 04:58:12 +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-nbsd.c bfd: 2002-01-08 04:23:02 +00:00
elf32-sh.c 2002-04-04 Daniel Jacobowitz <drow@mvista.com> 2002-04-04 19:53:38 +00:00
elf32-sparc.c * elf32-sparc.c (elf32_sparc_relocate_section): Don't emit dynamic 2002-04-03 17:42:39 +00:00
elf32-v850.c * elf-bfd.h (elf_backend_data <elf_backend_section_from_bfd_section>): 2002-01-17 13:02:40 +00:00
elf32-xstormy16.c * elf-bfd.h (struct elf_backend_data): Add rela_normal. 2002-05-07 00:16:53 +00:00
elf32.c Update copyright notices 2001-03-08 21:04:02 +00:00
elf64-alpha.c * elf64-alpha.c (elf64_alpha_relocate_section): Force relative relocs 2002-05-02 17:46:59 +00:00
elf64-gen.c * bfd.c (bfd_archive_filename): New function. 2001-09-20 23:30:37 +00:00
elf64-hppa.c * linker.c (link_action): Ignore duplicate warning syms. 2002-03-28 03:27:46 +00:00
elf64-hppa.h * elf64-hppa.h: Update copyright date. 2002-02-25 05:09:11 +00:00
elf64-mips.c * Makefile.am: Add elfxx-mips.c to the known backends. 2002-04-04 07:01:27 +00:00
elf64-mmix.c * elf32-m32r.c (m32r_elf_add_symbol_hook): Check the hash table 2002-04-16 04:58:12 +00:00
elf64-ppc.c * elf64-ppc.c (ppc64_elf_size_stubs): Don't strip .branch_lt. 2002-05-22 04:22:08 +00:00
elf64-ppc.h * elf64-ppc.c (ppc64_elf_addr16_ha_reloc): Delete. 2002-05-02 09:48:15 +00:00
elf64-s390.c * elf-bfd.h (struct elf_backend_data): Add rela_normal. 2002-05-07 00:16:53 +00:00
elf64-sh64.c * elf32-m32r.c (m32r_elf_add_symbol_hook): Check the hash table 2002-04-16 04:58:12 +00:00
elf64-sparc.c * elf32-m32r.c (m32r_elf_add_symbol_hook): Check the hash table 2002-04-16 04:58:12 +00:00
elf64-x86-64.c * elf-bfd.h (struct elf_backend_data): Add rela_normal. 2002-05-07 00:16:53 +00:00
elf64.c 19990502 sourceware import 1999-05-03 07:29:11 +00:00
elf-bfd.h * elf.c (_bfd_elf_make_section_from_shdr): Set SEC_THREAD_LOCAL 2002-05-23 13:12:53 +00:00
elf-eh-frame.c Fix ld --just-symbols 2002-05-15 00:18:58 +00:00
elf-hppa.h * elf32-hppa.c (hppa_unwind_entry_compare): Move to elf-hppa.h. 2002-04-08 11:01:43 +00:00
elf-m10200.c * elf-bfd.h (struct elf_backend_data): Add rela_normal. 2002-05-07 00:16:53 +00:00
elf-m10300.c * elf-bfd.h (struct elf_backend_data): Add rela_normal. 2002-05-07 00:16:53 +00:00
elf-strtab.c * elf-strtab.c (struct elf_strtab_hash_entry): Add u.next. 2001-12-18 11:47:59 +00:00
elf.c * elf.c (_bfd_elf_make_section_from_shdr): Set SEC_THREAD_LOCAL 2002-05-23 13:12:53 +00:00
elfarm-nabi.c * elfarm-nabi.c (elf32_arm_howto_table): Fix ABS16 masks. 2002-04-10 16:45:31 +00:00
elfarm-oabi.c Add missing prototypes 2001-08-25 09:49:44 +00:00
elfcode.h * elfcode.h (elf_slurp_symbol_table): Test elf_elfsections for NULL, 2001-12-19 23:54:26 +00:00
elfcore.h * elfcore.h (elf_core_file_p): Improve comment for last change. 2002-01-28 16:48:52 +00:00
elflink.c * linker.c (link_action): Ignore duplicate warning syms. 2002-03-28 03:27:46 +00:00
elflink.h * elf.c (_bfd_elf_make_section_from_shdr): Set SEC_THREAD_LOCAL 2002-05-23 13:12:53 +00:00
elfxx-ia64.c * elf.c (_bfd_elf_make_section_from_shdr): Set SEC_THREAD_LOCAL 2002-05-23 13:12:53 +00:00
elfxx-mips.c * elfxx-mips.c: Call it IRIX, not Irix in comments. 2002-05-14 23:23:59 +00:00
elfxx-mips.h Actually commit the new files ommitted before. 2002-04-04 07:10:00 +00:00
elfxx-target.h Fix ld --just-symbols 2002-05-15 00:18:58 +00:00
epoc-pe-arm.c Update copyright notices 2001-03-08 21:04:02 +00:00
epoc-pei-arm.c Update copyright notices 2001-03-08 21:04:02 +00:00
format.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
freebsd.h Update copyright notices 2001-03-08 21:04:02 +00:00
gen-aout.c * version.h: New file. 2001-10-02 05:58:41 +00:00
genlink.h Update copyright notices 2001-03-08 21:04:02 +00:00
go32stub.h * go32stub.h: Update stub. 2000-06-28 15:55:41 +00:00
hash.c Remove computation of len from inside hash loop. 2002-05-17 09:52:04 +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 * syms.c (_bfd_generic_make_empty_symbol): New function. 2002-01-06 07:30:35 +00:00
hpux-core.c * syms.c (_bfd_generic_make_empty_symbol): New function. 2002-01-06 07:30:35 +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 * linker.c (link_action): Ignore duplicate warning syms. 2002-03-28 03:27:46 +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 Fix ld --just-symbols 2002-05-15 00:18:58 +00:00
i386netbsd.c * version.h: New file. 2001-10-02 05:58:41 +00:00
i386os9k.c Fix ld --just-symbols 2002-05-15 00:18:58 +00:00
ieee.c Fix ld --just-symbols 2002-05-15 00:18:58 +00:00
ihex.c Fix ld --just-symbols 2002-05-15 00:18:58 +00:00
init.c Update copyright notices 2001-03-08 21:04:02 +00:00
irix-core.c * syms.c (_bfd_generic_make_empty_symbol): New function. 2002-01-06 07:30:35 +00:00
libaout.h * version.h: New file. 2001-10-02 05:58:41 +00:00
libbfd-in.h Fix ld --just-symbols 2002-05-15 00:18:58 +00:00
libbfd.c * libbfd.c (bfd_write_bigendian_4byte_int): Return true iff success. 2002-03-18 01:26:57 +00:00
libbfd.h * elf.c (_bfd_elf_make_section_from_shdr): Set SEC_THREAD_LOCAL 2002-05-23 13:12:53 +00:00
libcoff-in.h 2002-04-04 Daniel Jacobowitz <drow@mvista.com> 2002-04-04 19:53:38 +00:00
libcoff.h 2002-04-04 Daniel Jacobowitz <drow@mvista.com> 2002-04-04 19:53:38 +00:00
libecoff.h Fix ld --just-symbols 2002-05-15 00:18:58 +00:00
libhppa.h Update copyright notices 2001-03-08 21:04:02 +00:00
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 Update copyright notices 2001-03-08 21:04:02 +00:00
libpei.h Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
libxcoff.h XCOFF64 fixes. For setting arch/mach and for R_BR relocations. 2002-05-10 21:20:16 +00:00
linker.c 2002-05-21 H.J. Lu (hjl@gnu.org) 2002-05-22 05:06:18 +00:00
lynx-core.c * section.c (bfd_section_init): Remove unnecessary initialisations. 2002-01-05 13:11:33 +00:00
m68k4knetbsd.c * version.h: New file. 2001-10-02 05:58:41 +00:00
m68klinux.c 2002-04-04 Daniel Jacobowitz <drow@mvista.com> 2002-04-04 19:53:38 +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 add MAINTAINERS files 2000-07-05 19:28:06 +00:00
Makefile.am * acinclude.m4 (AM_INSTALL_LIBBFD): New. 2002-05-17 10:34:03 +00:00
Makefile.in * acinclude.m4 (AM_INSTALL_LIBBFD): New. 2002-05-17 10:34:03 +00:00
makefile.vms 19990502 sourceware import 1999-05-03 07:29:11 +00:00
merge.c * merge.c (_bfd_merge_sections): Don't segfault if there 2002-03-05 12:19:08 +00:00
mipsbsd.c * version.h: New file. 2001-10-02 05:58:41 +00:00
mmo.c Fix ld --just-symbols 2002-05-15 00:18:58 +00:00
mpw-config.in 19990502 sourceware import 1999-05-03 07:29:11 +00:00
mpw-make.sed 19990502 sourceware import 1999-05-03 07:29:11 +00:00
netbsd-core.c * section.c (bfd_section_init): Remove unnecessary initialisations. 2002-01-05 13:11:33 +00:00
netbsd.h Update copyright notices 2001-03-08 21:04:02 +00:00
newsos3.c * version.h: New file. 2001-10-02 05:58:41 +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 Update copyright notices 2001-03-08 21:04:02 +00:00
nlm64.c Update copyright notices 2001-03-08 21:04:02 +00:00
nlm-target.h Fix ld --just-symbols 2002-05-15 00:18:58 +00:00
nlm.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
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 Fix ld --just-symbols 2002-05-15 00:18:58 +00:00
opncls.c * opncls.c (_bfd_new_bfd_contained_in): Check return value of 2002-05-04 01:31:08 +00:00
osf-core.c * osf-core.c (osf_core_vec): OSF/1 (Digital Unix) core files are 2002-02-20 12:42:38 +00:00
pc532-mach.c * version.h: New file. 2001-10-02 05:58:41 +00:00
pdp11.c * linker.c (link_action): Ignore duplicate warning syms. 2002-03-28 03:27:46 +00:00
pe-arm.c Update copyright notices 2001-03-08 21:04:02 +00:00
pe-i386.c Update copyright notices 2001-03-08 21:04:02 +00:00
pe-mcore.c 19990502 sourceware import 1999-05-03 07:29:11 +00:00
pe-mips.c * coff-mips.c (mips_bfd_reloc_type_lookup): Replace 2001-12-02 13:14:48 +00:00
pe-ppc.c Update copyright notices 2001-03-08 21:04:02 +00:00
pe-sh.c Update copyright notices 2001-03-08 21:04:02 +00:00
pei-arm.c Update copyright notices 2001-03-08 21:04:02 +00:00
pei-i386.c 1999-09-11 Donn Terry <donn@interix.com> 1999-09-11 22:17:33 +00:00
pei-mcore.c 1999-09-11 Donn Terry <donn@interix.com> 1999-09-11 22:10:33 +00:00
pei-mips.c Update copyright notices 2001-03-08 21:04:02 +00:00
pei-ppc.c Update copyright notices 2001-03-08 21:04:02 +00:00
pei-sh.c Update copyright notices 2001-03-08 21:04:02 +00:00
peicode.h * bfd.c (bfd_archive_filename): New function. 2001-09-20 23:30:37 +00:00
peXXigen.c Do not assume that the first thunk is located in the same section as the 2002-05-15 15:28:12 +00:00
PORTING 19990502 sourceware import 1999-05-03 07:29:11 +00:00
ppcboot.c Fix ld --just-symbols 2002-05-15 00:18:58 +00:00
ptrace-core.c * section.c (bfd_section_init): Remove unnecessary initialisations. 2002-01-05 13:11:33 +00:00
README * README: Fix a typo. 2001-10-29 22:29:59 +00:00
reloc16.c Touches most files in bfd/, so likely will be blamed for everything.. 2001-09-18 09:57:26 +00:00
reloc.c * elf.c (_bfd_elf_make_section_from_shdr): Set SEC_THREAD_LOCAL 2002-05-23 13:12:53 +00:00
riscix.c * version.h: New file. 2001-10-02 05:58:41 +00:00
rs6000-core.c * configure.in: Revert 2002-04-07. Instead, auto-configure 2002-05-13 13:33:30 +00:00
sco5-core.c * syms.c (_bfd_generic_make_empty_symbol): New function. 2002-01-06 07:30:35 +00:00
section.c * elf.c (_bfd_elf_make_section_from_shdr): Set SEC_THREAD_LOCAL 2002-05-23 13:12:53 +00:00
som.c Fix ld --just-symbols 2002-05-15 00:18:58 +00:00
som.h * aout-encap.c: Fix comment typos. 2001-10-10 12:08:29 +00:00
sparclinux.c 2002-04-04 Daniel Jacobowitz <drow@mvista.com> 2002-04-04 19:53:38 +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 Fix ld --just-symbols 2002-05-15 00:18:58 +00:00
stab-syms.c Update copyright notices 2001-03-08 21:04:02 +00:00
stabs.c * stabs.c (_bfd_discard_section_stabs): Use PARAMS in function 2001-11-26 19:31:27 +00:00
stamp-h.in 19990502 sourceware import 1999-05-03 07:29:11 +00:00
sunos.c 2002-04-04 Daniel Jacobowitz <drow@mvista.com> 2002-04-04 19:53:38 +00:00
syms.c * elf.c (_bfd_elf_make_section_from_shdr): Set SEC_THREAD_LOCAL 2002-05-23 13:12:53 +00:00
sysdep.h * archive.c (offsetof): Remove define. 2001-08-19 23:42:47 +00:00
targets.c Fix ld --just-symbols 2002-05-15 00:18:58 +00:00
targmatch.sed * targmatch.sed: Delete case statements. 2001-08-29 03:39:47 +00:00
tekhex.c Fix ld --just-symbols 2002-05-15 00:18:58 +00:00
TODO 19990502 sourceware import 1999-05-03 07:29:11 +00:00
trad-core.c 2002-02-10 Daniel Jacobowitz <drow@mvista.com> 2002-02-11 02:17:39 +00:00
vaxnetbsd.c * version.h: New file. 2001-10-02 05:58:41 +00:00
versados.c Fix ld --just-symbols 2002-05-15 00:18:58 +00:00
version.h daily update 2002-05-23 00:00:04 +00:00
vms-gsd.c * syms.c (_bfd_generic_make_empty_symbol): New function. 2002-01-06 07:30:35 +00:00
vms-hdr.c * version.h: New file. 2001-10-02 05:58:41 +00:00
vms-misc.c * syms.c (_bfd_generic_make_empty_symbol): New function. 2002-01-06 07:30:35 +00:00
vms-tir.c Fixes for better translation into other languages 2002-01-30 16:07:28 +00:00
vms.c Fix ld --just-symbols 2002-05-15 00:18:58 +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 * merge.c (struct sec_merge_hash_entry): Add u.entsize and u.suffix 2001-05-11 12:23:48 +00:00
xcofflink.c Fix a problem with static linking with cross tools. 2002-04-30 04:32:51 +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.