aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2006-05-11bfd/doc/Carlos O'Donell2-4/+8
2006-05-11 Carlos O'Donell <carlos@codesourcery.com> * bfd.texinfo: Rename "Index" to "BFD Index" gas/ 2006-05-11 Carlos O'Donell <carlos@codesourcery.com> * doc/as.texinfo: Rename "Index" to "AS Index", and "ABORT" to "ABORT (COFF)". ld/ 2006-05-11 Carlos O'Donell <carlos@codesourcery.com> * ld.texinfo: Rename "Index" to "LD Index"
2006-05-112006-05-11 Michael Matz <matz@suse.de>H.J. Lu2-0/+6
* elflink.c (match_group_member): Correctly iterate group members.
2006-05-112006-05-11 Paul Brook <paul@codesourcery.com>Paul Brook5-6/+141
bfd/ * elf32-arm.c (elf32_arm_reloc_map): Add MOVW and MOVT relocs. (elf32_arm_final_link_relocate): Handle MOVW and MOVT relocs. (elf32_arm_gc_sweep_hook, elf32_arm_check_relocs): Ditto. * reloc.c: Ditto. * bfd-in2.h: Regenerate. * libbfd.h: Regenerate. * libcoff.h: Regenerate. gas/ * config/tc-arm.c (parse_half): New function. (operand_parse_code): Remove OP_Iffff. Add OP_HALF. (parse_operands): Ditto. (do_mov16): Reject invalid relocations. (do_t_mov16): Ditto. Use Thumb reloc numbers. (insns): Replace Iffff with HALF. (md_apply_fix): Add MOVW and MOVT relocs. (tc_gen_reloc): Ditto. * doc/c-arm.texi: Document relocation operators ld/testsuite/ * ld-arm/arm-elf.exp: Add arm-movwt. * ld-arm/arm-movwt.d: New test. * ld-arm/arm-movwt.s: New test. * ld-arm/arm.ld: Add .far.
2006-05-11 * elf.c (_bfd_elf_init_private_section_data): Don't changeAlan Modra2-1/+7
section type if already set.
2006-05-11PR ld/2607Nick Clifton2-9/+30
* elfcode.h (valid_section_index_p): New function: Checks for a valid section index. Allows indicies in the range SHN_LOPROC to SHN_HIOS. (elf_object_p): Use valid_section_index_p.
2006-05-11Apply fixes to allow arm WinCE toolchain to produce working executables.Nick Clifton2-6/+15
2006-05-11daily updateAlan Modra1-1/+1
2006-05-10 PR 2342Alan Modra2-1/+6
* elflink.c (_bfd_elf_default_action_discarded): Revert 2006-02-16.
2006-05-10daily updateAlan Modra1-1/+1
2006-05-09* config/tc-arm.c (arm_fix_adjustable): For COFF, convert fixups againstNick Clifton2-4/+13
symbols which are not going to be placed into the symbol table. * coffcode.h (coff_write_relocs): Produce an error message if a an out-of-range symbol index is detected in a reloc.
2006-05-09 * elf64-ppc.c (ppc64_elf_finish_dynamic_symbol): Remove unusedBen Elliston2-4/+7
local variable `dynobj'.
2006-05-09daily updateAlan Modra1-1/+1
2006-05-08Remove bfd/ in ChangeLog entry.H.J. Lu1-1/+1
2006-05-08daily updateAlan Modra1-1/+1
2006-05-07daily updateAlan Modra1-1/+1
2006-05-06daily updateAlan Modra1-1/+1
2006-05-05* gas/config/tc-avr.h (TC_VALIDATE_FIX): Define. Disable fixups for PMEMNick Clifton2-67/+92
related expressions. * bfd/elf32-avr.c (elf32_avr_relax_delete_bytes): Iterate over all of the bfd's sections for the reloc-addend adjustments.
2006-05-05 * elf32-s390.c (invalid_tls_insn): Call bfd_set_error.Martin Schwidefsky3-11/+61
(elf_s390_relocate_section): Add code to do the GD->LE and LD->LE TLS linker optimizations if a brasl instruction is used for the __tls_get_offset function call. * elf64-s390.c (invalid_tls_insn): Call bfd_set_error.
2006-05-05 * elf64-ppc.c (ppc64_elf_tls_optimize): Only optimizeAlan Modra2-7/+71
R_PPC64_TPREL64 and R_PPC64_DTPMOD64 relocs when they are in the .toc and referenced by a TLS code sequence. (ppc64_elf_edit_toc): Cater for the unlikely situation that .toc is the first section in a file.
2006-05-05daily updateAlan Modra1-1/+1
2006-05-04 * aoutf1.h (struct external_sparc_core): Declare c_regs as structAndreas Schwab2-13/+23
regs instead of an array of int. (struct external_solaris_bcp_core): Likewise. (swapcore_sun3): Use offsetof instead of computing the offset manually. (swapcore_sparc): Likewise. Simplify reference to c_regs. (swapcore_solaris_bcp): Likewise.
2006-05-04 * elfxx-mips.c (_bfd_mips_elf_hide_symbol): Adjust handlingDaniel Jacobowitz2-1/+6
for missing GOTs.
2006-05-04 * bfd/cpu-arm.c (bfd_is_arm_mapping_symbol_name): Accept moreDaniel Jacobowitz2-3/+8
mapping symbols.
2006-05-04 * coff-or32.c (bfd_section_from_shdr): Remove unused localBen Elliston5-13/+10
variable `ptr'. * cofflink.c (process_embedded_commands): Remove unused local variables `had_read' and `had_shared'. * ecofflink.c (bfd_ecoff_debug_accumulate): Remove unused local variable `fdr_adr'. * ihex.c (ihex_read_section): Remove unused local variable `addr'.
2006-05-04daily updateAlan Modra1-1/+1
2006-05-03bfd/Alan Modra23-173/+230
* libbfd-in.h (_bfd_generic_new_section_hook): Declare. * section.c (bfd_abs_symbol, bfd_com_symbol): Delete. (bfd_und_symbol, bfd_ind_symbol): Delete. (BFD_FAKE_SECTION): Remove SYM_PTR param, set symbol_ptr_ptr to &SEC.symbol. (STD_SECTION): Adjust. (_bfd_generic_new_section_hook): New function, extracted from.. (bfd_section_init): ..here. (bfd_make_section_old_way): Call new_section_hook for abs, com, und and ind sections. * elf.c (_bfd_elf_large_com_section): Adjust. * aoutx.h (new_section_hook): Call _bfd_generic_new_section_hook. * pdp11.c (new_section_hook): Likewise. * coffcode.h (coff_new_section_hook): Likewise. * ecoff.c (_bfd_ecoff_new_section_hook): Likewise. * elf.c (_bfd_elf_new_section_hook): Likewise. * vms.c (vms_new_section_hook): Likwise. * elf32-arm.c (elf32_arm_new_section_hook): Check used_by_bfd isn't already set. * elf32-sh64.c (sh64_elf_new_section_hook): Likewise. * elf32-xtensa.c (elf_xtensa_new_section_hook): Likewise. * elf64-mmix.c (mmix_elf_new_section_hook): Likewise. * elf64-ppc.c (ppc64_elf_new_section_hook): Likewise. * elfxx-mips.c (_bfd_mips_elf_new_section_hook): Likewise. * elfxx-sparc.c (_bfd_sparc_elf_new_section_hook): Likewise. * ieee.c (ieee_new_section_hook): Likewise. Call _bfd_generic_new_section_hook too. * mmo.c (mmo_new_section_hook): Likewise. * oasys.c (oasys_new_section_hook): Likewise. * som.c (som_new_section_hook): Likewise. * coff-w65.c (reloc_processing): Don't use bfd_abs_symbol. * bfd-in2.h: Regenerate. * libbfd.h: Regenerate. gas/ * subsegs.c (subseg_get): Don't call obj_sec_set_private_data. * config/obj-elf.h (obj_sec_set_private_data): Delete. * config/tc-hppa.c (tc_gen_reloc): Don't use bfd_abs_symbol. * config/tc-mn10300.c (tc_gen_reloc): Likewise.
2006-05-03 * hash.c (DEFAULT_SIZE): Revert last change.Alan Modra2-23/+24
(higher_prime_number): Correct test for no larger prime. Don't abort on error, instead return 0. Depopulate primes[]. (bfd_hash_lookup): If we overflow size, refuse to grow table.
2006-05-03daily updateAlan Modra1-1/+1
2006-05-022006-05-02 Paul Brook <paul@codesourcery.com>Paul Brook2-1/+8
bfd/ * elf32-arm.c (elf32_arm_final_link_relocate): Set thumb funciton bit for R_ARM_REL32. gas/ * config/tc-arm.c (arm_optimize_expr): New function. * config/tc-arm.h (md_optimize_expr): Define (arm_optimize_expr): Add prototype. (TC_FORCE_RELOCATION_SUB_SAME): Define. ld/testsuite/ * ld-arm/arm-elf.exp: Add thumb-rel32. * ld-arm/thumb-rel32.d: New test. * ld-arm/thumb-rel32.s: New test.
2006-05-02 * archive.c (bfd_generic_archive_p): Remove unused local variableBen Elliston9-34/+18
`fail'. * dwarf2.c (decode_line_info): Remove unused local variable `basic_block'. * elfcode.h (elf_slurp_reloc_table_from_section): Remove unsed local varibale `s'. * tekhex.c (tekhex_write_object_contents): Remove unused local variable `bytes_written'. * aout-ns32k.c (MY_swap_std_reloc_out): Remove unused local variable `r_addend'. * elf32-dlx.c (dlx_rtype_to_howto): Remove breaks after returns. * elfxx-mips.c (_bfd_elf_mips_mach): Remove breaks after returns. (_bfd_ns32k_relocate_contents): Remove break after return. * elf.c (bfd_section_from_shdr): Remove breaks after returns.
2006-05-02Rename DEBUG to SYMBIAN_DEBUG to avoid conflicts with global DEBUG definitionNick Clifton2-25/+30
2006-05-02 * dwarf2.c: Formatting.Alan Modra10-100/+49
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Simplify output section check. * elf32-i370.c: Warning fixes inside #ifdef DEBUG. * elf32-m32c.c: Similarly. * elf32-ppc.c: Similarly. * elf32-v850.c: Similarly. * nlm32-sparc.c: Similarly. * elfcode.h: Similarly. (elf_symbol_flags): Delete. * elflink.c (elf_link_input_bfd): Comment typo.
2006-05-02daily updateAlan Modra1-1/+1
2006-05-01* bfd-in.h (bfd_hash_table): Add count field.DJ Delorie4-1/+112
* bfd-in2.h: Regenerate. * hash.c (higher_prime_number): New. (bfd_hash_table_inint_n): Init count field. (bfd_hash_lookup): Grow table as needed.
2006-05-01daily updateAlan Modra1-1/+1
2006-04-30daily updateAlan Modra1-1/+1
2006-04-29daily updateAlan Modra1-1/+1
2006-04-28daily updateAlan Modra1-1/+1
2006-04-27 PR binutils/2584Kaz Kojima2-24/+73
* tekhex.c (getvalue): Change return type to bfd_boolean and add the new parameter. Return false if the unexpected character is found. (getsym): Likewise. (first_phase): Change return type to bfd_boolean and return false if the unexpected character is found. Replace abort with returning false. (pass_over): Change return type to bfd_boolean and the type of the second argument to bfd_boolean (*) (bfd *, int, char *). Return false if FUNC returns false. (tekhex_object_p): Return NULL if pass_over fails.
2006-04-27 * coff-rs6000.c (xcoff_write_archive_contents_old): Warning fix.Alan Modra2-2/+6
2006-04-27daily updateAlan Modra1-1/+1
2006-04-262006-04-26 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-7/+21
PR binutils/2593 * elf.c (_bfd_elf_new_section_hook): Don't set section ELF type and flags if its BFD flags have been set. (_bfd_elf_init_private_section_data): Don't copy the output ELF section type from input if it has been set to something different.
2006-04-26Add missing changelog entryAndreas Jaeger1-0/+18
2006-04-26daily updateAlan Modra1-1/+1
2006-04-25Regenerate libbfd.h.H.J. Lu1-0/+2
2006-04-252006-04-25 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu6-5/+68
PR binutils/2467 * elf.c (_bfd_elf_close_and_cleanup): Check elf_tdata (abfd) is NULL first. * elf32-arm.c (elf32_arm_close_and_cleanup): Check if abfd->sections is NULL. (elf32_arm_bfd_free_cached_info): New. (bfd_elf32_bfd_free_cached_info): Defined. * elfxx-target.h (bfd_elfNN_bfd_free_cached_info): Default it to _bfd_free_cached_info. * libbfd-in.h (_bfd_free_cached_info): New. * libbfd: Regenerated. * opncls.c (_bfd_delete_bfd): Check if abfd->memory is NULL. (_bfd_free_cached_info): New.
2006-04-25daily updateAlan Modra1-1/+1
2006-04-24daily updateAlan Modra1-1/+1
2006-04-23daily updateAlan Modra1-1/+1
2006-04-22daily updateAlan Modra1-1/+1