binutils-gdb/bfd
Nick Clifton 8e45593ff3 2010-05-21 Daniel Jacobowitz <dan@codesourcery.com>
Joseph Myers  <joseph@codesourcery.com>
            Andrew Stubbs  <ams@codesourcery.com>

        bfd/
        * config.bfd (sh-*-uclinux* | sh[12]-*-uclinux*): Add
        bfd_elf32_shl_vec, and FDPIC vectors to targ_selvecs.
        * configure.in: Handle FDPIC vectors.
        * elf32-sh-relocs.h: Add FDPIC and movi20 relocations.
        * elf32-sh.c (DEFAULT_STACK_SIZE): Define.
        (SYMBOL_FUNCDESC_LOCAL): Define.  Use it instead of
        SYMBOL_REFERENCES_LOCAL for function descriptors.
        (fdpic_object_p): New.
        (sh_reloc_map): Add FDPIC and movi20 relocations.
        (sh_elf_info_to_howto, sh_elf_relocate_section): Handle new invalid
        range.
        (struct elf_sh_plt_info): Add got20 and short_plt.  Update all
        definitions.
        (FDPIC_PLT_ENTRY_SIZE, FDPIC_PLT_LAZY_OFFSET): Define.
        (fdpic_sh_plt_entry_be, fdpic_sh_plt_entry_le, fdpic_sh_plts): New.
        (FDPIC_SH2A_PLT_ENTRY_SIZE, FDPIC_SH2A_PLT_LAZY_OFFSET): Define.
        (fdpic_sh2a_plt_entry_be, fdpic_sh2a_plt_entry_le)
        (fdpic_sh2a_short_plt_be, fdpic_sh2a_short_plt_le, fdpic_sh2a_plts):
        New.
        (get_plt_info): Handle FDPIC.
        (MAX_SHORT_PLT): Define.
        (get_plt_index, get_plt_offset): Handle short_plt.
        (union gotref): New.
        (struct elf_sh_link_hash_entry): Add funcdesc, rename tls_type to
        got_type and adjust all uses.  Add GOT_FUNCDESC.
        (struct sh_elf_obj_tdata): Add local_funcdesc.  Rename
        local_got_tls_type to local_got_type.
        (sh_elf_local_got_type): Renamed from sh_elf_local_got_tls_type.  All
        users changed.
        (sh_elf_local_funcdesc): Define.
        (struct elf_sh_link_hash_table): Add sfuncdesc, srelfuncdesc, fdpic_p,
        and srofixup.
        (sh_elf_link_hash_newfunc): Initialize new fields.
        (sh_elf_link_hash_table_create): Set fdpic_p.
        (sh_elf_omit_section_dynsym): New.
        (create_got_section): Create .got.funcdesc, .rela.got.funcdesc
        and .rofixup.
        (allocate_dynrelocs): Allocate local function descriptors and space
        for R_SH_FUNCDESC-related relocations, and for rofixups.
        Handle GOT_FUNCDESC.  Create fixups.  Handle GOT entries which
        require function descriptors.
        (sh_elf_always_size_sections): Handle PT_GNU_STACK and __stacksize.
        (sh_elf_modify_program_headers): New.
        (sh_elf_size_dynamic_sections): Allocate function descriptors for
        local symbols.  Allocate .got.funcdesc contents.  Allocate rofixups.
        Handle local GOT entries of type GOT_FUNCDESC.  Create fixups for
        local GOT entries.  Ensure that FDPIC libraries always have a PLTGOT
        entry in the .dynamic section.
        (sh_elf_add_dyn_reloc, sh_elf_got_offset, sh_elf_initialize_funcdesc)
        (sh_elf_add_rofixup, sh_elf_osec_to_segment)
        (sh_elf_osec_readonly_p, install_movi20_field): New functions.
        (sh_elf_relocate_section): Handle new relocations, R_SH_FUNCDESC,
        R_SH_GOTFUNCDESC and R_SH_GOTOFFFUNCDESC.  Use sh_elf_got_offset
        and .got.plt throughout to find _GLOBAL_OFFSET_TABLE_.  Add rofixup
        read-only section warnings.  Handle undefined weak symbols.  Generate
        fixups for R_SH_DIR32 and GOT entries.  Check for cross-segment
        relocations and clear EF_SH_PIC.  Handle 20-bit relocations.
        Always generate R_SH_DIR32 for FDPIC instead of R_SH_RELATIVE.
        (sh_elf_gc_sweep_hook): Handle R_SH_FUNCDESC, R_SH_GOTOFF20,
        R_SH_GOTFUNCDESC, R_SH_GOTFUNCDESC20, and R_SH_GOTOFFFUNCDESC.
        Handle 20-bit relocations.
        (sh_elf_copy_indirect_symbol): Copy function descriptor reference
        counts.
        (sh_elf_check_relocs): Handle new relocations.  Make symbols
        dynamic for FDPIC relocs.  Account for rofixups.  Error for FDPIC
        symbol mismatches.  Allocate a GOT for R_SH_DIR32. Allocate fixups
        for R_SH_DIR32.
        (sh_elf_copy_private_data): Copy PT_GNU_STACK size.
        (sh_elf_merge_private_data): Copy initial flags.  Do not clobber
        non-mach flags.  Set EF_SH_PIC for FDPIC.  Reject FDPIC mismatches.
        (sh_elf_finish_dynamic_symbol): Do not handle got_funcdesc entries
        here.  Rename sgot to sgotplt and srel to srelplt.  Handle short_plt,
        FDPIC descriptors, and got20.  Create R_SH_FUNCDESC_VALUE for FDPIC.
        Use install_movi20_field.  Rename srel to srelgot.  Always generate
        R_SH_DIR32 for FDPIC instead of R_SH_RELATIVE.
        (sh_elf_finish_dynamic_sections): Fill in the GOT pointer in rofixup.
        Do not fill in reserved GOT entries for FDPIC.  Correct DT_PLTGOT.
        Rename sgot to sgotplt.  Assert that the right number of rofixups
        and dynamic relocations were allocated.
        (sh_elf_use_relative_eh_frame, sh_elf_encode_eh_address): New.
        (elf_backend_omit_section_dynsym): Use sh_elf_omit_section_dynsym.
        (elf_backend_can_make_relative_eh_frame)
        (elf_backend_can_make_lsda_relative_eh_frame)
        (elf_backend_encode_eh_address): Define.
        (TARGET_BIG_SYM, TARGET_BIG_NAME, TARGET_LITTLE_SYM)
        (TARGET_LITTLE_NAME, elf_backend_modify_program_headers, elf32_bed):
        Redefine for FDPIC vector.
        * reloc.c: Add SH FDPIC and movi20 relocations.
        * targets.c (_bfd_target_vector): Add FDPIC vectors.
        * configure, bfd-in2.h, libbfd.h: Regenerated.

        binutils/
        * readelf.c (get_machine_flags): Handle EF_SH_PIC and EF_SH_FDPIC.

        gas/
        * config/tc-sh.c (sh_fdpic): New.
        (sh_check_fixup): Handle relocations on movi20.
        (parse_exp): Do not reject PIC operators here.
        (build_Mytes): Check for unhandled PIC operators here.  Use
        sh_check_fixup for movi20.
        (enum options): Add OPTION_FDPIC.
        (md_longopts, md_parse_option, md_show_usage): Add --fdpic.
        (sh_fix_adjustable, md_apply_fix): Handle FDPIC and movi20 relocations.
        (sh_elf_final_processing): Handle --fdpic.
        (sh_uclinux_target_format): New.
        (sh_parse_name): Handle FDPIC relocation operators.
        * config/tc-sh.h (TARGET_FORMAT): Define specially for TE_UCLINUX.
        (sh_uclinux_target_format): Declare for TE_UCLINUX.
        * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): Set
        em=uclinux.
        * doc/c-sh.texi (SH Options): Document --fdpic.

        gas/testsuite/
        * gas/sh/basic.exp: Run new tests.  Handle uClinux like Linux.
        * gas/sh/fdpic.d: New file.
        * gas/sh/fdpic.s: New file.
        * gas/sh/reg-prefix.d: Force big-endian.
        * gas/sh/sh2a-pic.d: New file.
        * gas/sh/sh2a-pic.s: New file.
        * lib/gas-defs.exp (is_elf_format): Include sh*-*-uclinux*.

        include/elf/
        * sh.h (EF_SH_PIC, EF_SH_FDPIC): Define.
        (R_SH_FIRST_INVALID_RELOC_6, R_SH_LAST_INVALID_RELOC_6): New.  Adjust
        other invalid ranges.
        (R_SH_GOT20, R_SH_GOTOFF20, R_SH_GOTFUNCDESC, R_SH_GOTFUNCDESC20)
        (R_SH_GOTOFFFUNCDESC, R_SH_GOTOFFFUNCDESC20, R_SH_FUNCDESC)
        (R_SH_FUNCDESC_VALUE): New.

        ld/
        * Makefile.am (ALL_EMULATIONS): Add eshelf_fd.o and eshlelf_fd.o.
        (eshelf_fd.c, eshlelf_fd.c): New rules.
        * Makefile.in: Regenerate.
        * configure.tgt (sh-*-uclinux*): Add shelf_fd and shlelf_fd
        emulations.
        * emulparams/shelf_fd.sh: New file.
        * emulparams/shlelf_fd.sh: New file.
        * emulparams/shlelf_linux.sh: Update comment.

        ld/testsuite/
        * ld-sh/sh.exp: Handle uClinux like Linux.
        * lib/ld-lib.exp (is_elf_format): Include sh*-*-uclinux*.
        * ld-sh/fdpic-funcdesc-shared.d: New file.
        * ld-sh/fdpic-funcdesc-shared.s: New file.
        * ld-sh/fdpic-funcdesc-static.d: New file.
        * ld-sh/fdpic-funcdesc-static.s: New file.
        * ld-sh/fdpic-gotfuncdesc-shared.d: New file.
        * ld-sh/fdpic-gotfuncdesc-shared.s: New file.
        * ld-sh/fdpic-gotfuncdesc-static.d: New file.
        * ld-sh/fdpic-gotfuncdesc-static.s: New file.
        * ld-sh/fdpic-gotfuncdesci20-shared.d: New file.
        * ld-sh/fdpic-gotfuncdesci20-shared.s: New file.
        * ld-sh/fdpic-gotfuncdesci20-static.d: New file.
        * ld-sh/fdpic-gotfuncdesci20-static.s: New file.
        * ld-sh/fdpic-goti20-shared.d: New file.
        * ld-sh/fdpic-goti20-shared.s: New file.
        * ld-sh/fdpic-goti20-static.d: New file.
        * ld-sh/fdpic-goti20-static.s: New file.
        * ld-sh/fdpic-gotofffuncdesc-shared.d: New file.
        * ld-sh/fdpic-gotofffuncdesc-shared.s: New file.
        * ld-sh/fdpic-gotofffuncdesc-static.d: New file.
        * ld-sh/fdpic-gotofffuncdesc-static.s: New file.
        * ld-sh/fdpic-gotofffuncdesci20-shared.d: New file.
        * ld-sh/fdpic-gotofffuncdesci20-shared.s: New file.
        * ld-sh/fdpic-gotofffuncdesci20-static.d: New file.
        * ld-sh/fdpic-gotofffuncdesci20-static.s: New file.
        * ld-sh/fdpic-gotoffi20-shared.d: New file.
        * ld-sh/fdpic-gotoffi20-shared.s: New file.
        * ld-sh/fdpic-gotoffi20-static.d: New file.
        * ld-sh/fdpic-gotoffi20-static.s: New file.
        * ld-sh/fdpic-plt-be.d: New file.
        * ld-sh/fdpic-plt-le.d: New file.
        * ld-sh/fdpic-plt.s: New file.
        * ld-sh/fdpic-plti20-be.d: New file.
        * ld-sh/fdpic-plti20-le.d: New file.
        * ld-sh/fdpic-stack-default.d: New file.
        * ld-sh/fdpic-stack-size.d: New file.
        * ld-sh/fdpic-stack.s: New file.
2010-05-25 14:12:43 +00:00
..
doc PR ld/11624 2010-05-25 10:14:16 +00:00
hosts Undefine HAVE_PRPSINFO32_T/HAVE_PRSTATUS32_T before define. 2010-04-10 22:52:37 +00:00
po Updated Spanish translations. 2010-05-05 15:28:26 +00:00
acinclude.m4 * acinclude.m4: Add include of ../config/zlib.m4. 2009-11-24 22:47:20 +00:00
aclocal.m4 bfd/ 2010-05-07 12:28:50 +00:00
aix5ppc-core.c
aix386-core.c
aout0.c
aout32.c
aout64.c
aout-adobe.c 2009-11-23 Paul Brook <paul@codesourcery.com> 2009-11-23 14:41:33 +00:00
aout-arm.c Add -Wshadow to the gcc command line options used when compiling the binutils. 2009-12-11 13:42:17 +00:00
aout-cris.c include/aout/ 2009-10-02 14:40:41 +00:00
aout-ns32k.c
aout-sparcle.c
aout-target.h Update copyright year. 2010-03-24 15:41:59 +00:00
aout-tic30.c Update copyright year. 2010-03-24 15:41:59 +00:00
aoutf1.h
aoutx.h bfd/ChangeLog 2010-04-09 14:40:18 +00:00
archive64.c * archive64.c (bfd_elf64_archive_slurp_armap): Remove unused 2010-04-19 08:46:48 +00:00
archive.c PR ld/11624 2010-05-25 10:14:16 +00:00
archures.c bfd: 2010-03-25 21:12:36 +00:00
armnetbsd.c
bfd-in2.h 2010-05-21 Daniel Jacobowitz <dan@codesourcery.com> 2010-05-25 14:12:43 +00:00
bfd-in.h 2010-04-15 Andrew Haley <aph@redhat.com> 2010-04-21 16:32:31 +00:00
bfd.c 2010-04-01 Tristan Gingold <gingold@adacore.com> 2010-04-01 09:47:14 +00:00
bfd.m4 2010-01-04 Daniel Gutson <dgutson@codesourcery.com> 2010-01-05 00:40:07 +00:00
bfdio.c
bfdwin.c
binary.c 2009-11-23 Paul Brook <paul@codesourcery.com> 2009-11-23 14:41:33 +00:00
bout.c 2009-11-23 Paul Brook <paul@codesourcery.com> 2009-11-23 14:41:33 +00:00
cache.c 2009-12-11 Tristan Gingold <gingold@adacore.com> 2009-12-11 15:42:38 +00:00
cf-i386lynx.c
cf-sparclynx.c
ChangeLog 2010-05-21 Daniel Jacobowitz <dan@codesourcery.com> 2010-05-25 14:12:43 +00:00
ChangeLog-0001
ChangeLog-0203
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009 Move 2009 binutils ChangeLog to ChangeLog-2009. 2010-01-01 18:06:10 +00:00
ChangeLog-9193
ChangeLog-9495
ChangeLog-9697
ChangeLog-9899
cisco-core.c
coff64-rs6000.c Update copyright year. 2010-03-24 15:41:59 +00:00
coff-alpha.c Update copyright year. 2010-03-24 15:41:59 +00:00
coff-apollo.c
coff-arm.c * coff-arm.c (coff_arm_rtype_to_howto): Fix shadowed variable 2009-12-12 10:07:53 +00:00
coff-aux.c
coff-go32.c
coff-h8300.c
coff-h8500.c
coff-i386.c 2010-03-31 Kai Tietz <kai.tietz@onevision.com> 2010-03-31 16:32:02 +00:00
coff-i860.c
coff-i960.c
coff-ia64.c
coff-m68k.c
coff-m88k.c
coff-maxq.c
coff-mcore.c
coff-mips.c
coff-or32.c
coff-pmac.c
coff-ppc.c
coff-rs6000.c Update copyright year. 2010-03-24 15:41:59 +00:00
coff-sh.c
coff-sparc.c
coff-stgo32.c
coff-svm68k.c
coff-tic4x.c
coff-tic30.c
coff-tic54x.c
coff-tic80.c
coff-u68k.c
coff-w65.c
coff-we32k.c
coff-x86_64.c 2010-03-31 Kai Tietz <kai.tietz@onevision.com> 2010-03-31 16:32:02 +00:00
coff-z8k.c
coff-z80.c * coff-z80.c (z80coff_vec): Allow sections to be of type SEC_CODE or SEC_DATA 2009-10-17 17:18:28 +00:00
coffcode.h * coffcode.h (coff_write_object_contents): Enclose all occurrences 2010-05-11 04:42:10 +00:00
coffgen.c PR binutils/11512 2010-04-27 14:42:50 +00:00
cofflink.c * cofflink.c (_bfd_coff_link_input_bfd): Skip section symbols for 2009-10-10 04:58:48 +00:00
coffswap.h
compress.c
config.bfd 2010-05-21 Daniel Jacobowitz <dan@codesourcery.com> 2010-05-25 14:12:43 +00:00
config.in 2010-04-27 Kai Tietz <kai.tietz@onevision.com> 2010-04-27 17:26:09 +00:00
configure 2010-05-21 Daniel Jacobowitz <dan@codesourcery.com> 2010-05-25 14:12:43 +00:00
configure.com 2009-09-30 Tristan Gingold <gingold@adacore.com> 2009-09-30 13:12:50 +00:00
configure.host bfd/ChangeLog: 2010-02-15 19:25:47 +00:00
configure.in 2010-05-21 Daniel Jacobowitz <dan@codesourcery.com> 2010-05-25 14:12:43 +00:00
COPYING
corefile.c
cpu-alpha.c
cpu-arc.c
cpu-arm.c
cpu-avr.c
cpu-bfin.c
cpu-cr16.c
cpu-cr16c.c
cpu-cris.c
cpu-crx.c
cpu-d10v.c
cpu-d30v.c
cpu-dlx.c
cpu-fr30.c
cpu-frv.c
cpu-h8300.c
cpu-h8500.c
cpu-hppa.c
cpu-i370.c
cpu-i386.c
cpu-i860.c
cpu-i960.c
cpu-ia64-opc.c
cpu-ia64.c
cpu-ip2k.c
cpu-iq2000.c
cpu-l1om.c
cpu-lm32.c
cpu-m32c.c * cpu-m32c.c (m32c_scan): New function. Ensures that a scan for 2010-01-13 14:34:13 +00:00
cpu-m32r.c
cpu-m68hc11.c
cpu-m68hc12.c
cpu-m68k.c
cpu-m88k.c
cpu-m10200.c
cpu-m10300.c
cpu-maxq.c
cpu-mcore.c
cpu-mep.c
cpu-microblaze.c
cpu-mips.c revert erroneous commit 2010-05-06 15:02:24 +00:00
cpu-mmix.c
cpu-moxie.c
cpu-msp430.c
cpu-mt.c
cpu-ns32k.c
cpu-openrisc.c
cpu-or32.c
cpu-pdp11.c
cpu-pj.c
cpu-plugin.c
cpu-powerpc.c include/ 2010-02-08 01:59:38 +00:00
cpu-rs6000.c
cpu-rx.c bfd 2009-09-29 14:17:19 +00:00
cpu-s390.c
cpu-score.c
cpu-sh.c
cpu-sparc.c
cpu-spu.c
cpu-tic4x.c
cpu-tic6x.c bfd: 2010-03-25 21:12:36 +00:00
cpu-tic30.c
cpu-tic54x.c
cpu-tic80.c
cpu-v850.c
cpu-vax.c
cpu-w65.c
cpu-we32k.c
cpu-xc16x.c
cpu-xstormy16.c
cpu-xtensa.c
cpu-z8k.c
cpu-z80.c
demo64.c
dep-in.sed
dwarf1.c PR 11103 2010-01-11 09:53:27 +00:00
dwarf2.c * dwarf2.c (find_abstract_instance_name, scan_unit_for_symbols): Treat 2010-04-20 09:53:05 +00:00
ecoff.c * section.c (struct bfd_section): Delete has_tls_reloc, 2010-02-08 13:16:24 +00:00
ecofflink.c Update soruces to make alpha, arc and arm targets compile cleanly 2009-09-25 19:13:27 +00:00
ecoffswap.h
elf32-am33lin.c
elf32-arc.c
elf32-arm.c 2010-05-10 Andrew Stubbs <ams@codesourcery.com> 2010-05-11 17:36:33 +00:00
elf32-avr.c PR 11297: Add support for 8-bit relocations to the AVR toolchain. 2010-02-23 11:38:36 +00:00
elf32-avr.h
elf32-bfin.c * elf-bfd.h (emum elf_object_id): Rename to elf_target_id. Add 2010-02-04 09:16:43 +00:00
elf32-cr16.c * elf-bfd.h (emum elf_object_id): Rename to elf_target_id. Add 2010-02-04 09:16:43 +00:00
elf32-cr16c.c
elf32-cris.c * elf32-cris.c (cris_elf_relocate_section): Correct first argument 2010-03-31 22:44:49 +00:00
elf32-crx.c
elf32-d10v.c
elf32-d30v.c
elf32-dlx.c
elf32-fr30.c
elf32-frv.c * elf-bfd.h (emum elf_object_id): Rename to elf_target_id. Add 2010-02-04 09:16:43 +00:00
elf32-gen.c
elf32-h8300.c
elf32-hppa.c * elf-bfd.h (emum elf_object_id): Rename to elf_target_id. Add 2010-02-04 09:16:43 +00:00
elf32-hppa.h
elf32-i370.c Implement generic SHF_EXCLUDE. 2010-05-18 03:31:07 +00:00
elf32-i386.c Remove relocation against discarded sections for relocatable link. 2010-04-30 18:27:32 +00:00
elf32-i860.c
elf32-i960.c
elf32-ip2k.c Add -Wshadow to the gcc command line options used when compiling the binutils. 2009-12-11 13:42:17 +00:00
elf32-iq2000.c
elf32-lm32.c * elf-bfd.h (emum elf_object_id): Rename to elf_target_id. Add 2010-02-04 09:16:43 +00:00
elf32-m32c.c
elf32-m32r.c * elf-bfd.h (emum elf_object_id): Rename to elf_target_id. Add 2010-02-04 09:16:43 +00:00
elf32-m68hc1x.c * elf-bfd.h (emum elf_object_id): Rename to elf_target_id. Add 2010-02-04 09:16:43 +00:00
elf32-m68hc1x.h * elf-bfd.h (emum elf_object_id): Rename to elf_target_id. Add 2010-02-04 09:16:43 +00:00
elf32-m68hc11.c * elf-bfd.h (emum elf_object_id): Rename to elf_target_id. Add 2010-02-04 09:16:43 +00:00
elf32-m68hc12.c
elf32-m68k.c * elf-bfd.h (emum elf_object_id): Rename to elf_target_id. Add 2010-02-04 09:16:43 +00:00
elf32-m88k.c
elf32-mcore.c
elf32-mep.c
elf32-microblaze.c * elf-bfd.h (emum elf_object_id): Rename to elf_target_id. Add 2010-02-04 09:16:43 +00:00
elf32-mips.c
elf32-moxie.c
elf32-msp430.c
elf32-mt.c
elf32-openrisc.c
elf32-or32.c
elf32-pj.c
elf32-ppc.c Implement generic SHF_EXCLUDE. 2010-05-18 03:31:07 +00:00
elf32-ppc.h include/elf/ 2009-09-21 11:51:02 +00:00
elf32-rx.c Add -Wshadow to the gcc command line options used when compiling the binutils. 2009-12-11 13:42:17 +00:00
elf32-s390.c * elf-bfd.h (emum elf_object_id): Rename to elf_target_id. Add 2010-02-04 09:16:43 +00:00
elf32-score7.c * elf-bfd.h (emum elf_object_id): Rename to elf_target_id. Add 2010-02-04 09:16:43 +00:00
elf32-score.c * elf-bfd.h (emum elf_object_id): Rename to elf_target_id. Add 2010-02-04 09:16:43 +00:00
elf32-score.h
elf32-sh64-com.c
elf32-sh64.c
elf32-sh64.h
elf32-sh-relocs.h 2010-05-21 Daniel Jacobowitz <dan@codesourcery.com> 2010-05-25 14:12:43 +00:00
elf32-sh-symbian.c
elf32-sh.c 2010-05-21 Daniel Jacobowitz <dan@codesourcery.com> 2010-05-25 14:12:43 +00:00
elf32-sparc.c Don't set ELFOSABI_LINUX in dynamic ifunc-using executable. 2010-02-19 05:07:50 +00:00
elf32-spu.c include/elf/ 2010-04-24 01:05:25 +00:00
elf32-spu.h
elf32-tic6x.c bfd: 2010-04-20 22:03:00 +00:00
elf32-tic6x.h bfd: 2010-04-20 22:03:00 +00:00
elf32-v850.c * elf32-v850.c (v850_elf_perform_relocation): Fix overflow 2010-01-11 14:19:40 +00:00
elf32-vax.c * elf-bfd.h (emum elf_object_id): Rename to elf_target_id. Add 2010-02-04 09:16:43 +00:00
elf32-xc16x.c
elf32-xstormy16.c
elf32-xtensa.c * section.c (struct bfd_section): Delete has_tls_reloc, 2010-02-08 13:16:24 +00:00
elf32.c
elf64-alpha.c * elf-bfd.h (emum elf_object_id): Rename to elf_target_id. Add 2010-02-04 09:16:43 +00:00
elf64-gen.c
elf64-hppa.c * elf-bfd.h (emum elf_object_id): Rename to elf_target_id. Add 2010-02-04 09:16:43 +00:00
elf64-hppa.h
elf64-mips.c Update copyright year. 2010-03-24 15:41:59 +00:00
elf64-mmix.c
elf64-ppc.c * elf64-ppc.c (ppc64_elf_relocate_section): Correct NOP location 2010-04-13 04:05:29 +00:00
elf64-ppc.h * elf64-ppc.c (ppc64_elf_has_small_toc_reloc): New function. 2010-03-15 01:59:57 +00:00
elf64-s390.c * elf-bfd.h (emum elf_object_id): Rename to elf_target_id. Add 2010-02-04 09:16:43 +00:00
elf64-sh64.c * elf-bfd.h (emum elf_object_id): Rename to elf_target_id. Add 2010-02-04 09:16:43 +00:00
elf64-sparc.c Don't set ELFOSABI_LINUX in dynamic ifunc-using executable. 2010-02-19 05:07:50 +00:00
elf64-x86-64.c Remove relocation against discarded sections for relocatable link. 2010-04-30 18:27:32 +00:00
elf64.c
elf-attrs.c 2009-12-28 Daniel Gutson <dgutson@codesourcery.com> 2009-12-28 18:37:30 +00:00
elf-bfd.h Remove relocation against discarded sections for relocatable link. 2010-04-30 18:27:32 +00:00
elf-eh-frame.c bfd/ChangeLog 2010-04-09 14:40:18 +00:00
elf-hppa.h
elf-ifunc.c
elf-m10200.c
elf-m10300.c * elf-bfd.h (emum elf_object_id): Rename to elf_target_id. Add 2010-02-04 09:16:43 +00:00
elf-strtab.c
elf-vxworks.c
elf-vxworks.h
elf.c Implement generic SHF_EXCLUDE. 2010-05-18 03:31:07 +00:00
elfcode.h * elfcode.h (elf_swap_ehdr_out): Handle e_phnum > 0xffff. 2010-01-19 13:50:55 +00:00
elfcore.h * elfcode.h (elf_swap_ehdr_out): Handle e_phnum > 0xffff. 2010-01-19 13:50:55 +00:00
elflink.c * bfd/elflink.c (_bfd_elf_merge_symbol): Tighten up the test for early 2010-04-14 08:29:33 +00:00
elfn32-mips.c
elfxx-ia64.c 2010-05-14 Tristan Gingold <gingold@adacore.com> 2010-05-14 07:18:39 +00:00
elfxx-mips.c PR binutils/10858 2010-02-24 14:21:51 +00:00
elfxx-mips.h
elfxx-sparc.c * elfxx-sparc.c (struct elf_reloc_map): Delete. 2010-03-02 07:42:37 +00:00
elfxx-sparc.h include/ 2010-02-08 20:28:43 +00:00
elfxx-target.h 2009-11-23 Paul Brook <paul@codesourcery.com> 2009-11-23 14:41:33 +00:00
epoc-pe-arm.c
epoc-pei-arm.c
format.c
freebsd.h
gen-aout.c
genlink.h
go32stub.h
hash.c Add -Wshadow to the gcc command line options used when compiling the binutils. 2009-12-11 13:42:17 +00:00
host-aout.c
hp300bsd.c include/aout/ 2009-10-02 14:40:41 +00:00
hp300hpux.c
hppabsd-core.c
hpux-core.c
i386aout.c
i386bsd.c include/aout/ 2009-10-02 14:40:41 +00:00
i386dynix.c
i386freebsd.c
i386linux.c include/aout/ 2009-10-02 14:40:41 +00:00
i386lynx.c include/aout/ 2009-10-02 14:40:41 +00:00
i386mach3.c
i386msdos.c 2009-11-23 Paul Brook <paul@codesourcery.com> 2009-11-23 14:41:33 +00:00
i386netbsd.c
i386os9k.c 2009-11-23 Paul Brook <paul@codesourcery.com> 2009-11-23 14:41:33 +00:00
ieee.c Update copyright year. 2010-03-24 15:41:59 +00:00
ihex.c 2009-11-23 Paul Brook <paul@codesourcery.com> 2009-11-23 14:41:33 +00:00
init.c
irix-core.c
libaout.h
libbfd-in.h 2010-05-14 Tristan Gingold <gingold@adacore.com> 2010-05-14 07:18:39 +00:00
libbfd.c Add -Wshadow to the gcc command line options used when compiling the binutils. 2009-12-11 13:42:17 +00:00
libbfd.h 2010-05-21 Daniel Jacobowitz <dan@codesourcery.com> 2010-05-25 14:12:43 +00:00
libcoff-in.h Don't add IMAGE_FILE_RELOCS_STRIPPED for PIE. 2010-03-18 12:27:15 +00:00
libcoff.h Don't add IMAGE_FILE_RELOCS_STRIPPED for PIE. 2010-03-18 12:27:15 +00:00
libecoff.h Update copyright year. 2010-03-24 15:41:59 +00:00
libhppa.h
libieee.h
libnlm.h
liboasys.h
libpei.h
libxcoff.h
linker.c 2009-11-23 Paul Brook <paul@codesourcery.com> 2009-11-23 14:41:33 +00:00
lynx-core.c
m68k4knetbsd.c
m68klinux.c include/aout/ 2009-10-02 14:40:41 +00:00
m68knetbsd.c
m88kmach3.c include/aout/ 2009-10-02 14:40:41 +00:00
m88kopenbsd.c
mach-o-i386.c 2010-01-11 Tristan Gingold <gingold@adacore.com> 2010-01-11 15:39:41 +00:00
mach-o-target.c Update copyright year. 2010-03-24 15:41:59 +00:00
mach-o-x86-64.c 2010-01-13 Tristan Gingold <gingold@adacore.com> 2010-01-13 11:49:36 +00:00
mach-o.c Update copyright year. 2010-03-24 15:41:59 +00:00
mach-o.h 2010-01-11 Tristan Gingold <gingold@adacore.com> 2010-01-11 15:57:59 +00:00
MAINTAINERS
Makefile.am 2010-05-14 Tristan Gingold <gingold@adacore.com> 2010-05-14 07:18:39 +00:00
Makefile.in 2010-05-14 Tristan Gingold <gingold@adacore.com> 2010-05-14 07:18:39 +00:00
makefile.vms bfd/ 2010-01-12 10:16:50 +00:00
mep-relocs.pl
merge.c Add -Wshadow to the gcc command line options used when compiling the binutils. 2009-12-11 13:42:17 +00:00
mipsbsd.c include/aout/ 2009-10-02 14:40:41 +00:00
mmo.c 2009-11-23 Paul Brook <paul@codesourcery.com> 2009-11-23 14:41:33 +00:00
netbsd-core.c
netbsd.h
newsos3.c include/aout/ 2009-10-02 14:40:41 +00:00
nlm32-alpha.c
nlm32-i386.c
nlm32-ppc.c
nlm32-sparc.c Add -Wshadow to the gcc command line options used when compiling the binutils. 2009-12-11 13:42:17 +00:00
nlm32.c
nlm64.c
nlm-target.h 2009-11-23 Paul Brook <paul@codesourcery.com> 2009-11-23 14:41:33 +00:00
nlm.c
nlmcode.h
nlmswap.h
ns32k.h
ns32knetbsd.c
oasys.c Update copyright year. 2010-03-24 15:41:59 +00:00
opncls.c 2009-12-15 H.J. Lu <hongjiu.lu@intel.com> 2009-12-15 16:59:20 +00:00
osf-core.c
pc532-mach.c include/aout/ 2009-10-02 14:40:41 +00:00
pdp11.c Add -Wshadow to the gcc command line options used when compiling the binutils. 2009-12-11 13:42:17 +00:00
pe-arm-wince.c
pe-arm.c
pe-i386.c
pe-mcore.c
pe-mips.c
pe-ppc.c
pe-sh.c
pe-x86_64.c 2010-04-27 Kai Tietz <kai.tietz@onevision.com> 2010-04-27 17:26:09 +00:00
pef-traceback.h
pef.c Add -Wshadow to the gcc command line options used when compiling the binutils. 2009-12-11 13:42:17 +00:00
pef.h
pei-arm-wince.c
pei-arm.c
pei-i386.c
pei-ia64.c
pei-mcore.c
pei-mips.c
pei-ppc.c
pei-sh.c
pei-x86_64.c 2010-04-27 Kai Tietz <kai.tietz@onevision.com> 2010-04-27 17:26:09 +00:00
peicode.h PR binutils/10785 2009-10-16 07:14:43 +00:00
peXXigen.c bfd/ChangeLog 2010-04-09 14:40:18 +00:00
plugin.c * plugin.c (bfd_plugin_object_p): Pass iostream to fileno using 2010-03-17 08:50:36 +00:00
plugin.h
PORTING
ppcboot.c 2009-11-23 Paul Brook <paul@codesourcery.com> 2009-11-23 14:41:33 +00:00
ptrace-core.c
README
reloc16.c
reloc.c 2010-05-21 Daniel Jacobowitz <dan@codesourcery.com> 2010-05-25 14:12:43 +00:00
riscix.c
rs6000-core.c
sco5-core.c
section.c update copyright date 2010-02-08 13:47:22 +00:00
simple.c
som.c 2010-02-01 Tristan Gingold <gingold@adacore.com> 2010-02-01 13:10:38 +00:00
som.h
sparclinux.c include/aout/ 2009-10-02 14:40:41 +00:00
sparclynx.c
sparcnetbsd.c
srec.c 2009-11-23 Paul Brook <paul@codesourcery.com> 2009-11-23 14:41:33 +00:00
stab-syms.c
stabs.c
stamp-h.in
sunos.c
syms.c
sysdep.h
targets.c 2010-05-21 Daniel Jacobowitz <dan@codesourcery.com> 2010-05-25 14:12:43 +00:00
targmatch.sed
tekhex.c 2009-12-15 H.J. Lu <hongjiu.lu@intel.com> 2009-12-15 16:59:20 +00:00
ticoff.h
TODO
trad-core.c
vax1knetbsd.c
vaxbsd.c include/aout/ 2009-10-02 14:40:41 +00:00
vaxnetbsd.c
verilog.c bfd/ChangeLog 2010-04-09 14:40:18 +00:00
versados.c Add -Wshadow to the gcc command line options used when compiling the binutils. 2009-12-11 13:42:17 +00:00
version.h daily update 2010-05-25 00:00:05 +00:00
vms-alpha.c 2010-05-25 Tristan Gingold <gingold@adacore.com> 2010-05-25 12:41:16 +00:00
vms-lib.c 2010-05-14 Tristan Gingold <gingold@adacore.com> 2010-05-14 07:18:39 +00:00
vms-misc.c PR ld/11624 2010-05-25 10:14:16 +00:00
vms.h PR ld/11624 2010-05-25 10:14:16 +00:00
warning.m4 * warning.m4 (GCC_WARN_CFLAGS): Only add -Wshadow for gcc-4 and above. 2010-04-07 07:19:02 +00:00
xcoff-target.h
xcofflink.c bfd/ 2010-02-08 20:00:54 +00:00
xsym.c Add -Wshadow to the gcc command line options used when compiling the binutils. 2009-12-11 13:42:17 +00:00
xsym.h
xtensa-isa.c Add -Wshadow to the gcc command line options used when compiling the binutils. 2009-12-11 13:42:17 +00:00
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.