aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2005-06-272005-06-27 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+6
* elfxx-ia64.c (elfNN_hpux_backend_symbol_processing): Remove the extra `;'.
2005-06-27daily updateAlan Modra1-1/+1
2005-06-26daily updateAlan Modra1-1/+1
2005-06-25daily updateAlan Modra1-1/+1
2005-06-24daily updateAlan Modra1-1/+1
2005-06-23daily updateAlan Modra1-1/+1
2005-06-22daily updateAlan Modra1-1/+1
2005-06-21 * bfd/elf32-hppa.c (hppa_elf_hash_entry): Define.Dave Anglin2-612/+673
(hppa_stub_hash_entry): Define. (stub_hash_newfunc): Rename variables. (hppa_link_hash_newfunc): Likewise. (elf32_hppa_link_hash_table_free): Likewise. (hppa_stub_name): Likewise. (hppa_get_stub_entry): Likewise. (hppa_add_stub): Likewise. (hppa_type_of_stub): Likewise. (hppa_build_one_stub): Likewise. (hppa_size_one_stub): Likewise. (elf32_hppa_create_dynamic_sections): Likewise. (elf32_hppa_copy_indirect_symbol): Likewise. (elf32_hppa_check_relocs): Likewise. (elf32_hppa_gc_mark_hook): Likewise. (elf32_hppa_gc_sweep_hook): Likewise. (elf32_hppa_grok_psinfo): Likewise. (elf32_hppa_hide_symbol): Likewise. (elf32_hppa_adjust_dynamic_symbol): Likewise. (allocate_dynrelocs): Likewise. (clobber_millicode_symbols): Likewise. (readonly_dynrelocs): Likewise. (elf32_hppa_size_dynamic_sections): Likewise. (get_local_syms): Likewise. (elf32_hppa_size_stubs): Likewise. (hppa_record_segment_addr): Likewise. (final_link_relocate): Likewise. (elf32_hppa_relocate_section): Likewise. (elf32_hppa_finish_dynamic_symbol): Likewise.
2005-06-21daily updateAlan Modra1-1/+1
2005-06-202005-06-20 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu29-28/+195
PR 1025 * elf-m10300.c (mn10300_elf_check_relocs): Handle indirect symbol. * elf32-arm.c (elf32_arm_check_relocs): Likewise. * elf32-avr.c (elf32_avr_check_relocs): Likewise. * elf32-cris.c (cris_elf_check_relocs): Likewise. * elf32-d10v.c (elf32_d10v_check_relocs): Likewise. * elf32-dlx.c (elf32_dlx_check_relocs): Likewise. * elf32-fr30.c (fr30_elf_check_relocs): Likewise. * elf32-frv.c (elf32_frv_check_relocs): Likewise. * elf32-i370.c (i370_elf_check_relocs): Likewise. * elf32-iq2000.c (iq2000_elf_check_relocs): Likewise. * elf32-m32r.c (m32r_elf_check_relocs): Likewise. * elf32-m68hc1x.c (elf32_m68hc11_check_relocs): Likewise. * elf32-m68k.c (elf_m68k_check_relocs): Likewise. * elf32-mcore.c (mcore_elf_check_relocs): Likewise. * elf32-ms1.c (ms1_elf_check_relocs): Likewise. * elf32-msp430.c (elf32_msp430_check_relocs): Likewise. * elf32-openrisc.c (openrisc_elf_check_relocs): Likewise. * elf32-ppc.c (ppc_elf_check_relocs): Likewise. * elf32-s390.c (elf_s390_check_relocs): Likewise. * elf32-sh.c (sh_elf_check_relocs): Likewise. * elf32-v850.c (v850_elf_check_relocs): Likewise. * elf32-vax.c (elf_vax_check_relocs): Likewise. * elf64-mmix.c (mmix_elf_check_relocs): Likewise. * elf64-ppc.c (ppc64_elf_check_relocs): Likewise. * elf64-s390.c (elf_s390_check_relocs): Likewise. * elf64-sh64.c (sh_elf64_check_relocs): Likewise. * elfxx-mips.c (_bfd_mips_elf_check_relocs): Likewise. * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): Likewise.
2005-06-202005-06-20 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-2/+13
PR 1022 * elf32-hppa.c (elf32_hppa_check_relocs): Handle indirect symbol.
2005-06-202005-06-20 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-2/+18
PR 1025: * elf32-i386.c (elf_i386_check_relocs): Handle indirect symbol. * elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise.
2005-06-20daily updateAlan Modra1-1/+1
2005-06-19daily updateAlan Modra1-1/+1
2005-06-182005-06-18 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-0/+10
* reloc.c: Add BFD_RELOC_X86_64_GOTOFF64 and BFD_RELOC_X86_64_GOTPC32. * bfd-in2.h: Regenerated.
2005-06-18daily updateAlan Modra1-1/+1
2005-06-17 * elf.c (bfd_section_from_shdr): Kill bogus warning.Jakub Jelinek2-1/+4
2005-06-17 * elf.c (bfd_section_from_shdr): Fail if sh_entsize is bogus forJakub Jelinek4-8/+38
symbol, relocation, group or versym sections. * coffcode.h (coff_slurp_reloc_table): Don't crash if native_relocs is NULL. * peXXigen.c (pe_print_idata): Don't crash if dll_name or start_address doesn't point into the section.
2005-06-17bfd/Jan Beulich4-7/+82
2005-06-17 Jan Beulich <jbeulich@novell.com> * bfd-in2.h (elf_x86_64_reloc_type): Add BFD_RELOC_X86_64_GOTOFF64 and BFD_RELOC_X86_64_GOTPC32. * libbfd.h (bfd_reloc_code_real_names): Likewise. * elf64-x86-64.c (x86_64_elf_howto_table): Add entries for R_X86_64_PC64, R_X86_64_GOTOFF64, and R_X86_64_GOTPC32. (x86_64_reloc_map): Add entries for R_X86_64_PC64, R_X86_64_GOTOFF64, and R_X86_64_GOTPC32. (elf64_x86_64_info_to_howto): Adjust bounding relocation type. (elf64_x86_64_check_relocs): Also handle R_X86_64_PC64, R_X86_64_GOTOFF64, and R_X86_64_GOTPC32. (elf64_x86_64_relocate_section): Likewise. (elf64_x86_64_gc_sweep_hook): Also handle R_X86_64_PC64. gas/ 2005-06-17 Jan Beulich <jbeulich@novell.com> * config/tc-i386.c (reloc): Also handle BFD_RELOC_64_PCREL. (tc_i386_fix_adjustable): Include BFD_RELOC_X86_64_GOTOFF64, BFD_RELOC_X86_64_DTPOFF64, and BFD_RELOC_X86_64_TPOFF64. (output_disp): Do GOTPC conversion also for BFD_RELOC_X86_64_32S and BFD_RELOC_32_PCREL. Use BFD_RELOC_X86_64_GOTPC32 instead of aborting. (output_imm): Do GOTPC conversion also for BFD_RELOC_X86_64_32S. Use BFD_RELOC_X86_64_GOTPC32 instead of aborting. (tc_gen_reloc): Do GOTPC conversion also for BFD_RELOC_32_PCREL. Use BFD_RELOC_X86_64_GOTPC32 instead of aborting. Also handle BFD_RELOC_X86_64_GOTOFF64, BFD_RELOC_X86_64_GOTPC32, BFD_RELOC_X86_64_DTPOFF64, and BFD_RELOC_X86_64_TPOFF64. Also convert 8-byte pc-relative relocations. (lex_got): Use BFD_RELOC_X86_64_GOTOFF64 for 64-bit @gotoff. (i386_validate_fix): Likewise. (x86_cons): Also handle quad values in 64-bit mode. (i386_displacement): Also handle BFD_RELOC_X86_64_GOTOFF64. (md_apply_fix): Include BFD_RELOC_X86_64_DTPOFF64 and BFD_RELOC_X86_64_TPOFF64 in the TLS check. Also convert BFD_RELOC_64 to pc-relative variant. Also check for BFD_RELOC_64_PCREL. gas/testsuite/ 2005-06-17 Jan Beulich <jbeulich@novell.com> * gas/i386/x86-64-pcrel.s: Add insn requiring 64-bit pc-relative relocation. Add insns for all widths of non-pc-relative relocations. * gas/i386/x86-64-pcrel.d: Adjust. include/elf/ 2005-06-17 Jan Beulich <jbeulich@novell.com> * x86-64.h (elf_x86_64_reloc_type): Adjust comment for R_X86_64_GOTPCREL. Add R_X86_64_PC64, R_X86_64_GOTOFF64, and R_X86_64_GOTPC32.
2005-06-17daily updateAlan Modra1-1/+1
2005-06-16* archive.c: Include "libiberty.h".Mark Kettenis2-0/+5
2005-06-16daily updateAlan Modra1-1/+1
2005-06-15* elf32-v850.c (ELF_MACHINE_ALT2): Define so that binaries produced by theNick Clifton2-0/+6
GreenHills toolchain can be assimilated.
2005-06-15 * som.c (som_find_inliner_info): New.Dave Anglin2-0/+5
2005-06-15daily updateAlan Modra1-1/+1
2005-06-142005-06-14 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-2/+6
* elflink.c (_bfd_elf_merge_symbol): Fix a typo in comment.
2005-06-14 * elf.c (bfd_section_from_shdr): Fail if name is NULL.Jakub Jelinek3-0/+22
Prevent endless recursion on broken objects. * archive.c (do_slurp_coff_armap): Check for overflows.
2005-06-14daily updateAlan Modra1-1/+1
2005-06-13daily updateAlan Modra1-1/+1
2005-06-12daily updateAlan Modra1-1/+1
2005-06-11daily updateAlan Modra1-1/+1
2005-06-10 * elfcode.h (elf_write_relocs): Do nothing if there are noDaniel Jacobowitz2-0/+11
relocations.
2005-06-10 * dwarf2.c (decode_line_info): Revert last change. Instead setAlan Modra2-17/+13
initial low_pc to -1 to avoid need to test whether loc_pc has been set.
2005-06-10daily updateAlan Modra1-1/+1
2005-06-09* coffcode.h (sec_to_styp_flags): Set appropriate section flags when eitherChristopher Faylor2-1/+6
SEC_ALLOC OR SEC_LOAD.
2005-06-09* coffcode.h (sec_to_styp_flags): Remove read/write flags from noload sectionChristopher Faylor2-16/+20
header. Do not add STYP_NOLOAD since it does not appear to be a valid PE flag.
2005-06-092005-06-09 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-0/+11
PR 1000 * dwarf2.c (lookup_address_in_line_info_table): Restore code handling NULL function info, removed with 2005-04-03 change.
2005-06-09 * opncls.c (bfd_fopen): Mark returned BFD as cacheable if FD == -1.Mark Mitchell2-0/+12
2005-06-09 * elflink.c (elf_mark_used_section): Delete.Alan Modra3-32/+36
(bfd_elf_gc_sections): Call bfd_generic_gc_sections. * reloc.c (bfd_mark_used_section): New function. (bfd_generic_gc_sections): Call bfd_mark_used_section.
2005-06-09daily updateAlan Modra1-1/+1
2005-06-08 * opncls.c (bfd_fdopenr): Don't set bfd_error unconditionally.Alan Modra2-2/+5
2005-06-08 * opncls.c (bfd_fopen): Don't set bfd_error unconditionally.Alan Modra2-2/+5
2005-06-08daily updateAlan Modra1-1/+1
2005-06-08 * opncls.c (bfd_fdopenr): Add missing break statements.Mark Mitchell2-3/+7
2005-06-07 * opncls.c (bfd_fopen): New API.Mark Mitchell3-59/+79
(bfd_openr): Use it. (bfd_fdopenr): Likewise. * bfd-in2.h: Regenerated.
2005-06-07 * Makefile.am (ALL_MACHINES): Add ms1 support.Aldy Hernandez11-0/+752
(ALL_MACHINES_CFILES): Same. (BFD32_BACKENDS): Same. (BFD32_BACKENDS_CFILES): Same. * Makefile.in: Regenerate. * archures.c (bfd_architecture): Add ms1 entries. Externalize bfd_ms1_arch. (bfd_archures_list): Add bfd_ms1_arch. * bfd-in2.h: Regenerate. * cpu-ms1.c: New file. * elf32-ms1.c: New file. * targets.c: Define extern of bfd_elf32_ms1_vec. Add bfd_elf32_ms1_vec to _bfd_target_vector. * configure.in: Add bfd_elf32_ms1_vec case. * configure: Regenerate. * config.bfd: Add ms1-*-elf to table.
2005-06-07gas:Zack Weinberg1-0/+4
* cgen.c, cgen.h, tc.h, write.c, config/obj-coff.c * config/tc-a29k.c, config/tc-alpha.c, config/tc-alpha.h * config/tc-arc.c, config/tc-arc.h, config/tc-arm.c * config/tc-arm.h, config/tc-avr.c, config/tc-avr.h * config/tc-cris.c, config/tc-crx.c, config/tc-d10v.c * config/tc-d10v.h, config/tc-d30v.c, config/tc-d30v.h * config/tc-dlx.c, config/tc-dlx.h, config/tc-fr30.h * config/tc-frv.c, config/tc-frv.h, config/tc-h8300.c * config/tc-h8500.c, config/tc-hppa.c, config/tc-hppa.h * config/tc-i370.c, config/tc-i370.h, config/tc-i386.c * config/tc-i386.h, config/tc-i860.c, config/tc-i860.h * config/tc-i960.c, config/tc-i960.h, config/tc-ia64.c * config/tc-ip2k.c, config/tc-ip2k.h, config/tc-iq2000.c * config/tc-iq2000.h, config/tc-m32r.c, config/tc-m32r.h * config/tc-m68hc11.c, config/tc-m68hc11.h, config/tc-m68k.c * config/tc-m68k.h, config/tc-m88k.c, config/tc-maxq.c * config/tc-mcore.c, config/tc-mcore.h, config/tc-mips.c * config/tc-mips.h, config/tc-mmix.c, config/tc-mn10200.c * config/tc-mn10300.c, config/tc-msp430.c, config/tc-ns32k.c * config/tc-openrisc.h, config/tc-or32.c, config/tc-or32.h * config/tc-pdp11.c, config/tc-pj.c, config/tc-pj.h * config/tc-ppc.c, config/tc-ppc.h, config/tc-s390.c * config/tc-s390.h, config/tc-sh64.c, config/tc-sh.c * config/tc-sh.h, config/tc-sparc.c, config/tc-sparc.h * config/tc-tahoe.c, config/tc-tic30.c, config/tc-tic4x.c * config/tc-tic54x.c, config/tc-tic80.c, config/tc-v850.c * config/tc-v850.h, config/tc-vax.c, config/tc-vax.h * config/tc-w65.c, config/tc-xstormy16.c, config/tc-xstormy16.h * config/tc-xtensa.c, config/tc-z8k.c: Replace all instances of the string "_apply_fix3" with "_apply_fix". * po/POTFILES.in, po/gas.pot: Regenerate. bfd: * coff-i386.c: Change md_apply_fix3 to md_apply_fix in comment. cgen: * doc/porting.texi: Change all mention of md_apply_fix3 and gas_cgen_md_apply_fix3 to md_apply_fix and gas_cgen_md_apply_fix respectively.
2005-06-07missed committing fromAlan Modra1-1/+1
* elf64-ppc.h (ppc64_elf_edit_opd): Update prototype.
2005-06-07 * coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Init _bfd_find_line.Alan Modra3-0/+9
* coff64-rs6000.c (rs6000coff64_vec, aix5coff64_vec): Likewise.
2005-06-07daily updateAlan Modra1-1/+1