darling-gdb/bfd
Jakub Jelinek 8c37241be3 bfd/
* elflink.c (elf_bfd_final_link): Don't output STT_SECTION symbol
	into .dynsym if elf_section_data (sec)->dynindx <= 0.
	Adjust counting of last_local.
	(_bfd_elf_link_renumber_dynsyms): Don't assign dynindx to sections
	other than SHT_PROGBITS/SHT_NOBITS and neither for .got/.got.plt/.plt
	created by the linker nor !SHF_ALLOC.

	* elf32-i386.c (elf_i386_finish_dynamic_sections): Point
	DT_PLTGOT to the start of the .got.plt section instead of the
	.got output section.  Set sh_entsize for .got section in addition
	to .got.plt.
	(elf_i386_relocate_section): Don't assume _GLOBAL_OFFSET_TABLE_
	is at sgot->output_section->vma.
	* elf64-x86-64.c (elf64_x86_64_finish_dynamic_sections): Point
	DT_PLTGOT to the start of the .got.plt section instead of the
	.got output section.
	(elf64_x86_64_relocate_section): Don't assume _GLOBAL_OFFSET_TABLE_
	is at sgot->output_section->vma.  Set sh_entsize for .got section
	in addition to .got.plt.
	* elf.c (_bfd_elf_print_private_bfd_data): Handle PT_GNU_RELRO.
	(bfd_section_from_phdr): Likewise.
	(map_sections_to_segments): Likewise.
	(assign_file_positions_for_segments): Likewise.
	(get_program_header_size): Likewise.
	* elflink.c (bfd_elf_size_dynamic_sections): Set
	elf_tdata (output_bfd)->relro from info->relro.
	* elf-bfd.h (struct elf_obj_tdata): Add relro field.
include/
	* bfdlink.h (struct bfd_link_info): Add relro, relro_start and
	relro_end fields.
	* elf/common.h (PT_GNU_EH_FRAME, PT_GNU_STACK): Add comments.
	(PT_GNU_RELRO): Define.
binutils/
	* readelf.c (get_segment_type): Handle PT_GNU_RELRO.
ld/
	* genscripts.sh: Generate -z combreloc -z now -z relro scripts
	for binaries, -shared and -pie.
	* emulparams/elf_i386.sh (SEPARATE_GOTPLT): Set.
	* emulparams/elf_x86_64.sh (SEPARATE_GOTPLT): Set.
	* emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Rename to...
	(OTHER_RELRO_SECTIONS): ... this.
	* ldlex.l (DATA_SEGMENT_RELRO_END): Add.
	* emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
	-z relro and -z norelro.
	(gld${EMULATION_NAME}_list_options): Add it to usage.
	(gld${EMULATION_NAME}_get_script): Return -z combreloc -z now
	-z relro scripts when appropriate.
	* scripttempl/elf.sc: Unset SEPARATE_GOTPLT if RELRO_NOW is set.
	Create separate .got.plt section if SEPARATE_GOTPLT.
	Move sections which are only written during relocation handling
	to the beginning of RW segment.  If NO_SMALL_DATA, move .got
	before .data.  Add DATA_SEGMENT_RELRO_END directive.
	Include OTHER_RELRO_SECTIONS.
	* ldgram.y (DATA_SEGMENT_RELRO_END): Add.
	* ldexp.c (exp_print_token): Handle DATA_SEGMENT_RELRO_END.
	(fold_unary): Likewise.
	(fold_binary): Handle -z relro.
	* ldexp.h (struct exp_data_seg): Add exp_dataseg_relro_seen and
	exp_dataseg_relro_adjust phases.  Add relro_end field.
	* ldmain.c (main): Initialize link_info.relro to FALSE.
	* ldlang.c (lang_size_sections): Handle -z relro.
ld/testsuite/
	* ld-i386/tlspic.rd: Adjust for section reordering changes
	and removal of unneeded STT_SECTION symbols from .dynsym.
	* ld-i386/tlspic.dd: Likewise.
	* ld-i386/tlspic.sd: Likewise.
	* ld-i386/tlsbin.rd: Likewise.
	* ld-i386/tlsbinpic.s: Likewise.
	* ld-i386/tlsbin.dd: Likewise.
	* ld-i386/tlsbin.sd: Likewise.
	* ld-i386/tlsnopic.rd: Likewise.
	* ld-i386/tlsnopic1.s: Likewise.
	* ld-i386/combreloc.d: Likewise.
	* ld-i386/tlsnopic.dd: Likewise.
	* ld-i386/tlsnopic.sd: Likewise.
	* ld-x86-64/tlspic.rd: Likewise.
	* ld-x86-64/tlspic.dd: Likewise.
	* ld-x86-64/tlsbin.dd: Likewise.
	* ld-x86-64/tlspic.sd: Likewise.
	* ld-x86-64/tlsbin.sd: Likewise.
	* ld-x86-64/tlspic.td: Likewise.
	* ld-x86-64/tlsbin.td: Likewise.
	* ld-x86-64/tlsbin.rd: Likewise.
	* ld-s390/tlspic1.s: Likewise.
	* ld-s390/tlsbinpic.s: Likewise.
	* ld-s390/tlspic.rd: Likewise.
	* ld-s390/tlsbin.rd: Likewise.
	* ld-s390/tlspic.dd: Likewise.
	* ld-s390/tlsbin.dd: Likewise.
	* ld-s390/tlsbin.sd: Likewise.
	* ld-s390/tlsbin.td: Likewise.
	* ld-s390/tlspic.sd: Likewise.
	* ld-s390/tlspic.td: Likewise.
	* ld-s390/tlspic1_64.s: Likewise.
	* ld-s390/tlsbinpic_64.s: Likewise.
	* ld-s390/tlspic_64.rd: Likewise.
	* ld-s390/tlsbin_64.rd: Likewise.
	* ld-s390/tlspic_64.dd: Likewise.
	* ld-s390/tlsbin_64.dd: Likewise.
	* ld-s390/tlspic_64.sd: Likewise.
	* ld-s390/tlspic_64.td: Likewise.
	* ld-s390/tlsbin_64.td: Likewise.
	* ld-s390/tlsbin_64.sd: Likewise.
	* ld-powerpc/tlsexe32.r: Likewise.
	* ld-powerpc/tlsso32.r: Likewise.
	* ld-powerpc/tlsso32.d: Likewise.
	* ld-powerpc/tlsso32.g: Likewise.
	* ld-powerpc/tlsso32.t: Likewise.
	* ld-powerpc/tlsexe.r: Likewise.
	* ld-powerpc/tlsso.r: Likewise.
	* ld-powerpc/tlsso.g: Likewise.
	* ld-powerpc/tlsexetoc.r: Likewise.
	* ld-powerpc/tlstocso.r: Likewise.
	* ld-powerpc/tlstocso.g: Likewise.
	* ld-ia64/tlspic.rd: Likewise.
	* ld-ia64/tlspic.dd: Likewise.
	* ld-ia64/tlspic.sd: Likewise.
	* ld-ia64/tlspic.td: Likewise.
	* ld-ia64/tlsbin.rd: Likewise.
	* ld-ia64/tlsbin.sd: Likewise.
	* ld-ia64/tlsbin.td: Likewise.
	* ld-elfvsb/elfvsb.exp: XFAIL non-PIC load offset tests on s390x.
	* ld-shared/shared.exp: Likewise.
2004-05-11 17:08:38 +00:00
..
doc Add (linker) support for CR16C processor 2004-03-30 14:04:32 +00:00
hosts
po * Makefile.am: Remove all mention of elflink.h. 2004-03-27 10:58:09 +00:00
acinclude.m4 * gettext.m4: Quote names of macros to be defined by AC_DEFUN 2004-01-14 13:41:37 +00:00
aclocal.m4 * Makefile.am: Run "make dep-am". 2004-03-19 07:00:51 +00:00
aix5ppc-core.c * aix5ppc-core.c: Fix comment typos. 2003-11-24 18:06:40 +00:00
aix386-core.c * bfd-in.h (bfd_int64_t, bfd_uint64_t): New types. 2004-03-15 14:21:43 +00:00
aout0.c
aout32.c
aout64.c
aout-adobe.c * section.c (bfd_make_section_anyway): Add all sections to hash tab. 2004-04-30 14:23:40 +00:00
aout-arm.c * aix5ppc-core.c: Fix comment typos. 2003-11-24 18:06:40 +00:00
aout-cris.c
aout-encap.c
aout-ns32k.c * aix5ppc-core.c: Fix comment typos. 2003-11-24 18:06:40 +00:00
aout-sparcle.c
aout-target.h * section.c (bfd_make_section_anyway): Add all sections to hash tab. 2004-04-30 14:23:40 +00:00
aout-tic30.c * section.c (bfd_make_section_anyway): Add all sections to hash tab. 2004-04-30 14:23:40 +00:00
aoutf1.h * aout-target.h, aoutf1.h, bfdio.c, bfdwin.c: Update copyright date. 2003-11-04 11:30:54 +00:00
aoutx.h * aix5ppc-core.c: Fix comment typos. 2003-11-24 18:06:40 +00:00
archive64.c
archive.c PR/136 - Have bfd_cache_lookup_worker() abort rather than return an 2004-05-05 15:39:11 +00:00
archures.c Add support for 521x,5249,547x,548x. 2004-05-05 14:33:14 +00:00
armnetbsd.c
bfd-in2.h Add support for 521x,5249,547x,548x. 2004-05-05 14:33:14 +00:00
bfd-in.h [ bfd/ChangeLog ] 2004-04-21 20:52:31 +00:00
bfd.c * section.c (bfd_make_section_anyway): Add all sections to hash tab. 2004-04-30 14:23:40 +00:00
bfdio.c 2004-04-21 Andrew Cagney <cagney@redhat.com> 2004-04-21 17:05:12 +00:00
bfdwin.c * aout-target.h, aoutf1.h, bfdio.c, bfdwin.c: Update copyright date. 2003-11-04 11:30:54 +00:00
binary.c * section.c (bfd_make_section_anyway): Add all sections to hash tab. 2004-04-30 14:23:40 +00:00
bout.c * section.c (bfd_make_section_anyway): Add all sections to hash tab. 2004-04-30 14:23:40 +00:00
cache.c PR/136 - Have bfd_cache_lookup_worker() abort rather than return an 2004-05-05 15:39:11 +00:00
cf-i386lynx.c
cf-m68klynx.c
cf-sparclynx.c
ChangeLog bfd/ 2004-05-11 17:08:38 +00:00
ChangeLog-0001
ChangeLog-0203 Split ChangeLog files. 2004-01-02 11:16:21 +00:00
ChangeLog-9193
ChangeLog-9495
ChangeLog-9697
ChangeLog-9899
cisco-core.c
coff64-rs6000.c * section.c (bfd_make_section_anyway): Add all sections to hash tab. 2004-04-30 14:23:40 +00:00
coff-a29k.c
coff-alpha.c * section.c (bfd_make_section_anyway): Add all sections to hash tab. 2004-04-30 14:23:40 +00:00
coff-apollo.c * aout-target.h, aoutf1.h, bfdio.c, bfdwin.c: Update copyright date. 2003-11-04 11:30:54 +00:00
coff-arm.c Remainder of fixes for ARM WINCE support 2004-01-09 13:59:55 +00:00
coff-aux.c
coff-go32.c
coff-h8300.c Add support for relaxing the 32bit ldc/stc instructions. 2004-02-09 12:15:57 +00:00
coff-h8500.c
coff-i386.c Add support for a .secrel32 x86 reloc to allow DWARF" debug information to used 2004-04-20 12:17:16 +00:00
coff-i860.c * coff-i860.c (coff_i860_reloc_nyi): Return bfd_reloc_not_supported. 2003-12-04 12:08:42 +00:00
coff-i960.c
coff-ia64.c
coff-m68k.c
coff-m88k.c * aix5ppc-core.c: Fix comment typos. 2003-11-24 18:06:40 +00:00
coff-mcore.c * aix5ppc-core.c: Fix comment typos. 2003-11-24 18:06:40 +00:00
coff-mips.c * section.c (bfd_make_section_anyway): Add all sections to hash tab. 2004-04-30 14:23:40 +00:00
coff-or32.c
coff-pmac.c
coff-ppc.c * aix5ppc-core.c: Fix comment typos. 2003-11-24 18:06:40 +00:00
coff-rs6000.c * section.c (bfd_make_section_anyway): Add all sections to hash tab. 2004-04-30 14:23:40 +00:00
coff-sh.c * coff-sh.c: Move definition of MAP and guard more code with 2003-10-11 13:08:44 +00:00
coff-sparc.c * aout-target.h, aoutf1.h, bfdio.c, bfdwin.c: Update copyright date. 2003-11-04 11:30:54 +00:00
coff-stgo32.c
coff-svm68k.c
coff-tic4x.c
coff-tic30.c
coff-tic54x.c * bfd-in.h (bfd_getb64, bfd_getl64): Replace bfd_byte* with void*. 2004-03-15 12:23:11 +00:00
coff-tic80.c
coff-u68k.c
coff-w65.c * aout-target.h, aoutf1.h, bfdio.c, bfdwin.c: Update copyright date. 2003-11-04 11:30:54 +00:00
coff-we32k.c * aout-target.h, aoutf1.h, bfdio.c, bfdwin.c: Update copyright date. 2003-11-04 11:30:54 +00:00
coff-z8k.c * cpu-z8k.c: Convert to ISO C90. 2003-11-28 20:07:44 +00:00
coffcode.h * coffcode.h (coff_write_object_contents) [COFF_IMAGE_WITH_PE]: 2004-05-07 15:08:49 +00:00
coffgen.c * aout-target.h, aoutf1.h, bfdio.c, bfdwin.c: Update copyright date. 2003-11-04 11:30:54 +00:00
cofflink.c * aix5ppc-core.c: Fix comment typos. 2003-11-24 18:06:40 +00:00
coffswap.h
config.bfd * configure.in (bfd_elf32_frvfdpic_vec): New. 2004-05-06 02:46:29 +00:00
config.in * Makefile.am: Run "make dep-am". 2004-03-19 07:00:51 +00:00
configure * configure.in (bfd_elf32_frvfdpic_vec): New. 2004-05-06 02:46:29 +00:00
configure.com
configure.host 2004-02-14 Andrew Cagney <cagney@redhat.com> 2004-02-14 15:38:20 +00:00
configure.in * configure.in (bfd_elf32_frvfdpic_vec): New. 2004-05-06 02:46:29 +00:00
COPYING
corefile.c
cpu-a29k.c
cpu-alpha.c * aix5ppc-core.c: Fix comment typos. 2003-11-24 18:06:40 +00:00
cpu-arc.c
cpu-arm.c * aix5ppc-core.c: Fix comment typos. 2003-11-24 18:06:40 +00:00
cpu-avr.c
cpu-cr16c.c Add (linker) support for CR16C processor 2004-03-30 14:04:32 +00:00
cpu-cris.c
cpu-d10v.c
cpu-d30v.c
cpu-dlx.c
cpu-fr30.c
cpu-frv.c Add fr450 support. 2004-03-01 10:11:46 +00:00
cpu-h8300.c Fix normal operation for h8300-coff target 2003-10-17 10:23:33 +00:00
cpu-h8500.c * aout-target.h, aoutf1.h, bfdio.c, bfdwin.c: Update copyright date. 2003-11-04 11:30:54 +00:00
cpu-hppa.c * aout-target.h, aoutf1.h, bfdio.c, bfdwin.c: Update copyright date. 2003-11-04 11:30:54 +00:00
cpu-i370.c
cpu-i386.c
cpu-i860.c
cpu-i960.c
cpu-ia64-opc.c * aout-target.h, aoutf1.h, bfdio.c, bfdwin.c: Update copyright date. 2003-11-04 11:30:54 +00:00
cpu-ia64.c
cpu-ip2k.c
cpu-iq2000.c * cpu-iq2000.c (arch_info_struct): Warning fix. 2003-11-04 23:58:06 +00:00
cpu-m32r.c Add support for the M32R2 processor. 2003-12-03 17:38:48 +00:00
cpu-m68hc11.c
cpu-m68hc12.c
cpu-m68k.c Add support for 521x,5249,547x,548x. 2004-05-05 14:33:14 +00:00
cpu-m88k.c
cpu-m10200.c
cpu-m10300.c * aout-target.h, aoutf1.h, bfdio.c, bfdwin.c: Update copyright date. 2003-11-04 11:30:54 +00:00
cpu-mcore.c
cpu-mips.c * elfxx-mips.h, elfxx-mips.c, cpu-mips.c: Convert prototypes. 2003-12-08 20:04:34 +00:00
cpu-mmix.c
cpu-msp430.c * aout-target.h, aoutf1.h, bfdio.c, bfdwin.c: Update copyright date. 2003-11-04 11:30:54 +00:00
cpu-ns32k.c * aix5ppc-core.c: Fix comment typos. 2003-11-24 18:06:40 +00:00
cpu-openrisc.c
cpu-or32.c
cpu-pdp11.c
cpu-pj.c
cpu-powerpc.c * cpu-powerpc.c (powerpc_compatible): Any ISA in the PowerPC 2003-11-20 18:42:21 +00:00
cpu-rs6000.c * aout-target.h, aoutf1.h, bfdio.c, bfdwin.c: Update copyright date. 2003-11-04 11:30:54 +00:00
cpu-s390.c
cpu-sh.c 2003-03-03 Andrew Stubbs <andrew.stubbs@superh.com> 2004-03-03 18:01:49 +00:00
cpu-sparc.c
cpu-tic4x.c
cpu-tic30.c
cpu-tic54x.c
cpu-tic80.c
cpu-v850.c Add binutils support for v850e1 processor 2003-09-04 11:04:38 +00:00
cpu-vax.c
cpu-w65.c
cpu-we32k.c
cpu-xstormy16.c
cpu-xtensa.c
cpu-z8k.c * cpu-z8k.c: Convert to ISO C90. 2003-11-28 20:07:44 +00:00
demo64.c
dep-in.sed
dwarf1.c
dwarf2.c * dwarf2.c (add_line_info): Also set info->filename to NULL if 2004-05-07 00:01:25 +00:00
ecoff.c [ bfd/ChangeLog ] 2004-04-24 06:12:25 +00:00
ecofflink.c [ bfd/ChangeLog ] 2004-04-24 06:12:25 +00:00
ecoffswap.h Remove MPW support, no longer used. 2004-03-27 05:45:50 +00:00
efi-app-ia32.c * aout-target.h, aoutf1.h, bfdio.c, bfdwin.c: Update copyright date. 2003-11-04 11:30:54 +00:00
efi-app-ia64.c
elf32-am33lin.c * aout-target.h, aoutf1.h, bfdio.c, bfdwin.c: Update copyright date. 2003-11-04 11:30:54 +00:00
elf32-arc.c
elf32-arm.h * elf32-arm.h (elf32_arm_relocate_section): Remove R_ARM_PLT32 2004-05-06 23:43:40 +00:00
elf32-avr.c * elf-bfd.h (RELOC_FOR_GLOBAL_SYMBOL): Add input_bfd, input_section 2004-03-22 02:28:17 +00:00
elf32-cr16c.c 2004-04-02 H.J. Lu <hongjiu.lu@intel.com> 2004-04-02 15:26:04 +00:00
elf32-cris.c * Makefile.am: Remove all mention of elflink.h. 2004-03-27 10:58:09 +00:00
elf32-d10v.c * Makefile.am: Remove all mention of elflink.h. 2004-03-27 10:58:09 +00:00
elf32-d30v.c * elf32-arm.h: Fix comment typos. 2003-11-27 18:49:39 +00:00
elf32-dlx.c * Makefile.am: Remove all mention of elflink.h. 2004-03-27 10:58:09 +00:00
elf32-fr30.c * Makefile.am: Remove all mention of elflink.h. 2004-03-27 10:58:09 +00:00
elf32-frv.c * elf32-frv.c (_frvfdpic_add_dyn_reloc): Don't warn when we get 2004-05-08 07:05:32 +00:00
elf32-gen.c * elfxx-target.h (bfd_elfNN_bfd_link_add_symbols): Define. 2004-03-26 05:55:15 +00:00
elf32-h8300.c * Makefile.am: Remove all mention of elflink.h. 2004-03-27 10:58:09 +00:00
elf32-hppa.c * Makefile.am: Remove all mention of elflink.h. 2004-03-27 10:58:09 +00:00
elf32-hppa.h
elf32-i370.c * elf64-ppc.c (elf_backend_add_symbol_hook): Define. 2004-03-26 06:13:40 +00:00
elf32-i386.c bfd/ 2004-05-11 17:08:38 +00:00
elf32-i860.c * elf-bfd.h (RELOC_FOR_GLOBAL_SYMBOL): Add input_bfd, input_section 2004-03-22 02:28:17 +00:00
elf32-i960.c * elf-bfd.h (is_elf_hash_table): Take hash tab rather than info arg. 2003-12-01 06:28:24 +00:00
elf32-ip2k.c * elf-bfd.h (RELOC_FOR_GLOBAL_SYMBOL): Add input_bfd, input_section 2004-03-22 02:28:17 +00:00
elf32-iq2000.c * Makefile.am: Remove all mention of elflink.h. 2004-03-27 10:58:09 +00:00
elf32-m32r.c * Makefile.am: Remove all mention of elflink.h. 2004-03-27 10:58:09 +00:00
elf32-m68hc1x.c * Makefile.am: Remove all mention of elflink.h. 2004-03-27 10:58:09 +00:00
elf32-m68hc1x.h * elf64-ppc.c (elf_backend_add_symbol_hook): Define. 2004-03-26 06:13:40 +00:00
elf32-m68hc11.c * elf32-arm.h: Fix comment typos. 2003-11-27 18:49:39 +00:00
elf32-m68hc12.c * elf32-m68hc1x.c: Update to ISO C90; replace PTR with void*. 2003-10-04 21:02:53 +00:00
elf32-m68k.c * Makefile.am: Remove all mention of elflink.h. 2004-03-27 10:58:09 +00:00
elf32-m88k.c
elf32-mcore.c * Makefile.am: Remove all mention of elflink.h. 2004-03-27 10:58:09 +00:00
elf32-mips.c [ bfd/ChangeLog ] 2004-04-24 22:07:14 +00:00
elf32-msp430.c * elf-bfd.h (RELOC_FOR_GLOBAL_SYMBOL): Add input_bfd, input_section 2004-03-22 02:28:17 +00:00
elf32-openrisc.c * Makefile.am: Remove all mention of elflink.h. 2004-03-27 10:58:09 +00:00
elf32-or32.c
elf32-pj.c
elf32-ppc.c bfd/ 2004-04-22 14:45:32 +00:00
elf32-ppc.h * bfd-in.h (_bfd_elf_tls_setup): Declare. 2003-11-04 06:16:39 +00:00
elf32-s390.c bfd/ 2004-04-22 14:45:32 +00:00
elf32-sh64-com.c
elf32-sh64.c 2004-04-27 H.J. Lu <hongjiu.lu@intel.com> 2004-04-27 16:06:07 +00:00
elf32-sh64.h
elf32-sh.c bfd/ 2004-04-23 02:47:39 +00:00
elf32-sparc.c bfd/ 2004-04-22 14:45:32 +00:00
elf32-v850.c * Makefile.am: Remove all mention of elflink.h. 2004-03-27 10:58:09 +00:00
elf32-vax.c * Makefile.am: Remove all mention of elflink.h. 2004-03-27 10:58:09 +00:00
elf32-xstormy16.c * Makefile.am: Remove all mention of elflink.h. 2004-03-27 10:58:09 +00:00
elf32-xtensa.c * elf32-xtensa.c (xtensa_read_table_entries): Use section _cooked_size 2004-04-27 21:28:16 +00:00
elf32.c
elf64-alpha.c * elf64-alpha.c (elf64_alpha_read_ecoff_info): Don't assign 2004-04-27 03:13:15 +00:00
elf64-gen.c * elfxx-target.h (bfd_elfNN_bfd_link_add_symbols): Define. 2004-03-26 05:55:15 +00:00
elf64-hppa.c * Makefile.am: Remove all mention of elflink.h. 2004-03-27 10:58:09 +00:00
elf64-hppa.h
elf64-mips.c * elf64-mips.c (mips_elf64_slurp_one_reloc_table): Call 2004-01-14 03:06:02 +00:00
elf64-mmix.c * Makefile.am: Remove all mention of elflink.h. 2004-03-27 10:58:09 +00:00
elf64-ppc.c * Makefile.am: Remove all mention of elflink.h. 2004-03-27 10:58:09 +00:00
elf64-ppc.h * bfd-in.h (_bfd_elf_tls_setup): Declare. 2003-11-04 06:16:39 +00:00
elf64-s390.c bfd/ 2004-04-22 14:45:32 +00:00
elf64-sh64.c * Makefile.am: Remove all mention of elflink.h. 2004-03-27 10:58:09 +00:00
elf64-sparc.c * elf64-alpha.c (elf64_alpha_read_ecoff_info): Don't assign 2004-04-27 03:13:15 +00:00
elf64-x86-64.c bfd/ 2004-05-11 17:08:38 +00:00
elf64.c
elf-bfd.h bfd/ 2004-05-11 17:08:38 +00:00
elf-eh-frame.c * elf-bfd.h (struct elf_backend_data): Added 2004-02-28 00:35:45 +00:00
elf-hppa.h * Makefile.am: Remove all mention of elflink.h. 2004-03-27 10:58:09 +00:00
elf-m10200.c * elf-bfd.h (RELOC_FOR_GLOBAL_SYMBOL): Add input_bfd, input_section 2004-03-22 02:28:17 +00:00
elf-m10300.c * Makefile.am: Remove all mention of elflink.h. 2004-03-27 10:58:09 +00:00
elf-strtab.c * merge.c (struct sec_merge_sec_info): Update comment. 2003-10-29 22:59:37 +00:00
elf.c bfd/ 2004-05-11 17:08:38 +00:00
elfarm-nabi.c * elf32-arm.h (elf32_arm_final_link_relocate): Add R_ARM_ALU*. 2004-03-31 10:20:12 +00:00
elfarm-oabi.c
elfcode.h bfd/ 2004-04-22 14:45:32 +00:00
elfcore.h
elflink.c bfd/ 2004-05-11 17:08:38 +00:00
elfn32-mips.c * elf32-mips.c (ELF_MAXPAGESIZE): Redefine for traditional 2004-01-05 22:09:38 +00:00
elfxx-ia64.c * elf64-alpha.c (elf64_alpha_read_ecoff_info): Don't assign 2004-04-27 03:13:15 +00:00
elfxx-mips.c [ bfd/ChangeLog ] 2004-04-24 22:07:14 +00:00
elfxx-mips.h * elf64-ppc.c (elf_backend_add_symbol_hook): Define. 2004-03-26 06:13:40 +00:00
elfxx-target.h * section.c (bfd_make_section_anyway): Add all sections to hash tab. 2004-04-30 14:23:40 +00:00
epoc-pe-arm.c
epoc-pei-arm.c
format.c * ChangeLog: Fix typos. 2003-11-30 18:40:41 +00:00
freebsd.h
gen-aout.c * aout-target.h, aoutf1.h, bfdio.c, bfdwin.c: Update copyright date. 2003-11-04 11:30:54 +00:00
genlink.h
go32stub.h
hash.c * coff-rs6000.c: Remove ARGSUSED and VARARGS. 2003-12-01 06:33:01 +00:00
host-aout.c
hp300bsd.c
hp300hpux.c * ChangeLog: Fix typos. 2003-11-30 18:40:41 +00:00
hppabsd-core.c Remove checks of the return value from bfd_cache_ookup() 2004-05-05 15:46:35 +00:00
hpux-core.c * hpux-core.c (hpux_core_core_file_p): Add cast in call to 2004-04-22 23:17:07 +00:00
i386aout.c
i386bsd.c
i386dynix.c
i386freebsd.c
i386linux.c * ChangeLog: Fix typos. 2003-11-30 18:40:41 +00:00
i386lynx.c
i386mach3.c
i386msdos.c * section.c (bfd_make_section_anyway): Add all sections to hash tab. 2004-04-30 14:23:40 +00:00
i386netbsd.c
i386os9k.c * section.c (bfd_make_section_anyway): Add all sections to hash tab. 2004-04-30 14:23:40 +00:00
ieee.c * section.c (bfd_make_section_anyway): Add all sections to hash tab. 2004-04-30 14:23:40 +00:00
ihex.c * section.c (bfd_make_section_anyway): Add all sections to hash tab. 2004-04-30 14:23:40 +00:00
init.c * aout-target.h, aoutf1.h, bfdio.c, bfdwin.c: Update copyright date. 2003-11-04 11:30:54 +00:00
irix-core.c * bfd-in.h (bfd_int64_t, bfd_uint64_t): New types. 2004-03-15 14:21:43 +00:00
libaout.h 2004-04-21 Andrew Cagney <cagney@redhat.com> 2004-04-21 16:58:57 +00:00
libbfd-in.h * section.c (bfd_make_section_anyway): Add all sections to hash tab. 2004-04-30 14:23:40 +00:00
libbfd.c * bfd-in.h (bfd_int64_t, bfd_uint64_t): New types. 2004-03-15 14:21:43 +00:00
libbfd.h * section.c (bfd_make_section_anyway): Add all sections to hash tab. 2004-04-30 14:23:40 +00:00
libcoff-in.h 2003-10-19 Andrew Cagney <cagney@redhat.com> 2003-10-20 14:38:46 +00:00
libcoff.h 2003-10-19 Andrew Cagney <cagney@redhat.com> 2003-10-20 14:38:46 +00:00
libecoff.h [ bfd/ChangeLog ] 2004-04-24 06:12:25 +00:00
libhppa.h
libieee.h
libnlm.h * aout-adobe.c (aout_adobe_set_section_contents): Constify location. 2003-11-04 10:41:52 +00:00
liboasys.h
libpei.h
libxcoff.h
linker.c include/ 2004-03-22 22:58:04 +00:00
lynx-core.c
m68k4knetbsd.c
m68klinux.c * ChangeLog: Fix typos. 2003-11-30 18:40:41 +00:00
m68klynx.c
m68knetbsd.c
m88kmach3.c
mach-o-target.c
mach-o.c * section.c (bfd_make_section_anyway): Add all sections to hash tab. 2004-04-30 14:23:40 +00:00
mach-o.h * ChangeLog: Fix typos. 2003-11-30 18:40:41 +00:00
MAINTAINERS
Makefile.am * elflink.c: Include libiberty.h. 2004-04-08 15:17:35 +00:00
Makefile.in * elflink.c: Include libiberty.h. 2004-04-08 15:17:35 +00:00
makefile.vms
merge.c * merge.c (struct sec_merge_sec_info): Update comment. 2003-10-29 22:59:37 +00:00
mipsbsd.c * ChangeLog: Fix typos. 2003-11-30 18:40:41 +00:00
mmo.c * section.c (bfd_make_section_anyway): Add all sections to hash tab. 2004-04-30 14:23:40 +00:00
netbsd-core.c * libaout.h (enum machine_type): Add M_POWERPC_NETBSD. 2004-04-18 20:55:55 +00:00
netbsd.h
newsos3.c
nlm32-alpha.c * coff-i860.c (coff_i860_reloc_nyi): Return bfd_reloc_not_supported. 2003-12-04 12:08:42 +00:00
nlm32-i386.c * aout-adobe.c (aout_adobe_set_section_contents): Constify location. 2003-11-04 10:41:52 +00:00
nlm32-ppc.c * aout-adobe.c (aout_adobe_set_section_contents): Constify location. 2003-11-04 10:41:52 +00:00
nlm32-sparc.c * aout-adobe.c (aout_adobe_set_section_contents): Constify location. 2003-11-04 10:41:52 +00:00
nlm32.c
nlm64.c
nlm-target.h * section.c (bfd_make_section_anyway): Add all sections to hash tab. 2004-04-30 14:23:40 +00:00
nlm.c * aout-target.h, aoutf1.h, bfdio.c, bfdwin.c: Update copyright date. 2003-11-04 11:30:54 +00:00
nlmcode.h * aout-adobe.c (aout_adobe_set_section_contents): Constify location. 2003-11-04 10:41:52 +00:00
nlmswap.h
ns32k.h
ns32knetbsd.c
oasys.c * section.c (bfd_make_section_anyway): Add all sections to hash tab. 2004-04-30 14:23:40 +00:00
opncls.c 2004-04-22 Andrew Cagney <cagney@redhat.com> 2004-04-23 00:22:57 +00:00
osf-core.c * bfd-in.h (bfd_int64_t, bfd_uint64_t): New types. 2004-03-15 14:21:43 +00:00
pc532-mach.c
pdp11.c * bfd-in.h (bfd_getb64, bfd_getl64): Replace bfd_byte* with void*. 2004-03-15 12:23:11 +00:00
pe-arm.c
pe-i386.c Add support for generating DWARF2 debug sections in the x86 PE port 2004-04-29 16:40:20 +00:00
pe-mcore.c
pe-mips.c [ bfd/ChangeLog ] 2004-04-24 06:12:25 +00:00
pe-ppc.c
pe-sh.c
pef-traceback.h
pef.c * section.c (bfd_make_section_anyway): Add all sections to hash tab. 2004-04-30 14:23:40 +00:00
pef.h
pei-arm.c
pei-i386.c Add support for generating DWARF2 debug sections in the x86 PE port 2004-04-29 16:40:20 +00:00
pei-mcore.c
pei-mips.c
pei-ppc.c
pei-sh.c
peicode.h Only skip one instance of each prefix character, if they are present. 2003-12-16 11:10:42 +00:00
peXXigen.c * coffcode.h (coff_write_object_contents) [COFF_IMAGE_WITH_PE]: 2004-05-07 15:08:49 +00:00
PORTING
ppcboot.c * section.c (bfd_make_section_anyway): Add all sections to hash tab. 2004-04-30 14:23:40 +00:00
ptrace-core.c * bfd-in.h (bfd_int64_t, bfd_uint64_t): New types. 2004-03-15 14:21:43 +00:00
README
reloc16.c * ChangeLog: Fix typos. 2003-11-30 18:40:41 +00:00
reloc.c [ bfd/ChangeLog ] 2004-04-29 05:14:22 +00:00
riscix.c
rs6000-core.c
sco5-core.c Remove checks of the return value from bfd_cache_ookup() 2004-05-05 15:46:35 +00:00
section.c bfd/ 2004-05-02 14:36:25 +00:00
simple.c * simple.c (bfd_simple_get_relocated_section_contents): Don't 2004-04-16 03:29:13 +00:00
som.c * som.c (som_bfd_is_group_section): Define. 2004-05-02 06:21:08 +00:00
som.h * som.c (struct som_misc_symbol_info): Add is_comdat, is_common and 2004-04-28 18:02:49 +00:00
sparclinux.c * ChangeLog: Fix typos. 2003-11-30 18:40:41 +00:00
sparclynx.c 2003-10-19 Andrew Cagney <cagney@redhat.com> 2003-10-20 14:38:46 +00:00
sparcnetbsd.c
srec.c * section.c (bfd_make_section_anyway): Add all sections to hash tab. 2004-04-30 14:23:40 +00:00
stab-syms.c
stabs.c (struct stab_link_includes_totals): Add field 'symb' that keeps the characters 2004-04-01 08:40:05 +00:00
stamp-h.in
sunos.c bfd/ 2004-04-22 14:45:32 +00:00
syms.c * ChangeLog: Fix typos. 2003-11-30 18:40:41 +00:00
sysdep.h * aout-target.h, aoutf1.h, bfdio.c, bfdwin.c: Update copyright date. 2003-11-04 11:30:54 +00:00
targets.c * configure.in (bfd_elf32_frvfdpic_vec): New. 2004-05-06 02:46:29 +00:00
targmatch.sed
tekhex.c * section.c (bfd_make_section_anyway): Add all sections to hash tab. 2004-04-30 14:23:40 +00:00
ticoff.h
TODO
trad-core.c Remove checks of the return value from bfd_cache_ookup() 2004-05-05 15:46:35 +00:00
vax1knetbsd.c
vaxbsd.c
vaxnetbsd.c
versados.c * section.c (bfd_make_section_anyway): Add all sections to hash tab. 2004-04-30 14:23:40 +00:00
version.h daily update 2004-05-11 00:00:06 +00:00
vms-gsd.c * ChangeLog: Fix typos. 2003-11-30 18:40:41 +00:00
vms-hdr.c * ChangeLog: Fix typos. 2003-11-30 18:40:41 +00:00
vms-misc.c * ChangeLog: Fix typos. 2003-11-30 18:40:41 +00:00
vms-tir.c
vms.c * section.c (bfd_make_section_anyway): Add all sections to hash tab. 2004-04-30 14:23:40 +00:00
vms.h * aout-adobe.c (aout_adobe_set_section_contents): Constify location. 2003-11-04 10:41:52 +00:00
xcoff-target.h
xcofflink.c Rename bfd_link_hash_entry field "next" -> "und_next". 2003-12-02 23:00:00 +00:00
xsym.c * section.c (bfd_make_section_anyway): Add all sections to hash tab. 2004-04-30 14:23:40 +00:00
xsym.h * ChangeLog: Fix typos. 2003-11-30 18:40:41 +00:00
xtensa-isa.c
xtensa-modules.c

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.