aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2003-10-19daily updateAlan Modra1-1/+1
2003-10-18 Support linker relaxation of new R_MMIX_PUSHJ_STUBBABLE relocs.Hans-Peter Nilsson5-46/+539
* elf64-mmix.c (MAX_PUSHJ_STUB_SIZE): New macro. (struct _mmix_elf_section_data): New member pjs. (mmix_set_relaxable_size, mmix_elf_get_section_contents): New functions. (elf_mmix_howto_table): New entry for R_MMIX_PUSHJ_STUBBABLE. (mmix_reloc_map): Ditto. (mmix_elf_relocate_section): Handle R_MMIX_PUSHJ_STUBBABLE. (mmix_final_link_relocate, mmix_elf_check_common_relocs): Ditto. (mmix_elf_perform_relocation): Ditto. Don't mark parameter addr unused. (mmix_elf_check_relocs): Move early return to after mmix_elf_check_common_relocs call. (mmix_elf_symbol_processing): Fix cut-and-pasto in head comment. (_bfd_mmix_before_linker_allocation): Rename from _bfd_mmix_prepare_linker_allocated_gregs. All referers changed. Arrange to set the initial relaxable size of sections. (_bfd_mmix_after_linker_allocation): Rename from _bfd_mmix_finalize_linker_allocated_gregs. (mmix_elf_relax_section): Relax a R_MMIX_PUSHJ_STUBBABLE reloc. (bfd_elf64_get_section_contents): Define. * reloc.c: Add ENUMX for BFD_RELOC_MMIX_PUSHJ_STUBBABLE. * libbfd.h, bfd-in2.h: Regenerate.
2003-10-18daily updateAlan Modra1-1/+1
2003-10-17 * reloc.c (bfd_generic_relax_section): Default-setHans-Peter Nilsson2-3/+21
section->_cooked_size here. (bfd_generic_get_relocated_section_contents): Don't set it here. Explain why.
2003-10-17 * elf32-hppa.c (elf32_hppa_relocate_section): Skip relocation ifDave Anglin2-0/+10
output section has been discarded.
2003-10-17Fix normal operation for h8300-coff targetNick Clifton3-36/+66
2003-10-17* peXXigen.c (_bfd_XXi_swap_aouthdr_out): Don't calculate image size forChristopher Faylor2-1/+8
sections which lack size info.
2003-10-17 * configure.host: Add __USE_MINGW_FSEEK to HDEFINES forDanny Smith2-0/+9
mingw32.
2003-10-17daily updateAlan Modra1-1/+1
2003-10-162003-10-16 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-2/+6
* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Also warn undefined patterns with '*'.
2003-10-162003-10-16 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+15
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't use the last CIE from a different section. (_bfd_elf_write_section_eh_frame): Don't pad beyond the raw size of the output section.
2003-10-16.Roland McGrath1-0/+5
2003-10-162003-10-07 Roland McGrath <roland@redhat.com>Roland McGrath1-0/+1
* elf.c (_bfd_elf_make_section_from_phdr): Set alignment_power of new section from p_align header field.
2003-10-162003-10-16 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-2/+7
* elf32-xtensa.c (xtensa_read_table_entries): The external size of entry is 8 bytes.
2003-10-16Index: doc/ChangeLogAndrew Cagney44-79/+132
2003-10-15 Andrew Cagney <cagney@redhat.com> * bfdint.texi (BFD target vector symbols): Rename _get_symtab to _canonicalize_symtab. 2003-10-15 Andrew Cagney <cagney@redhat.com> * targets.c (BFD_JUMP_TABLE_SYMBOLS): Replace NAME##_get_symtab with NAME##_canonicalize_symtab. * libcoff-in.h (coff_canonicalize_symtab): Update. * xsym.h (bfd_sym_canonicalize_symtab): Update. * elf-bfd.h (_bfd_elf_canonicalize_symtab): Update. * coffgen.c (coff_canonicalize_symtab): Update. * libbfd-in.h (_bfd_nosymbols_canonicalize_symtab): Update. * libnlm.h (nlmNAME(canonicalize_symtab)): Update. * ieee.c (ieee_vec): Update comment. * libecoff.h (_bfd_ecoff_canonicalize_symtab): Update. * mmo.c (mmo_canonicalize_symtab): Update. * nlm-target.h (nlm_canonicalize_symtab): Update. * nlmcode.h (nlm_canonicalize_symtab): Update. * i386msdos.c (msdos_canonicalize_symtab): Update. * hp300hpux.c (MY (canonicalize_symtab)): Update. * oasys.c (oasys_canonicalize_symtab): Update. * som.c (som_canonicalize_symtab): Update. * pef.c (bfd_pef_canonicalize_symtab): Update. * nlmcode.h (nlm_canonicalize_symtab): Update. * xsym.c (bfd_sym_canonicalize_symtab): Update. * vms.c (vms_canonicalize_symtab): Update. * versados.c (versados_canonicalize_symtab): Update. * mach-o.c (bfd_mach_o_canonicalize_symtab): Update. * ieee.c (ieee_canonicalize_symtab): Update. * pdp11.c (NAME(aout,canonicalize_symtab)): Update. * reloc.c: Update comment. * libaout.h (NAME(aout,canonicalize_symtab)): Update. * coff64-rs6000.c (aix5coff64_vec): Update. * coff64-rs6000.c (bfd_xcoff_aix5_backend_data): Update. * coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Update. * aoutx.h (NAME(aout,canonicalize_symtab)): Update. * elfxx-target.h (bfd_elfNN_canonicalize_symtab): Update. * hp300hpux.c (MY_canonicalize_symtab): Update. * ecoff.c (_bfd_ecoff_canonicalize_symtab): Update. * aout-tic30.c (MY_canonicalize_symtab): Update. * aout-target.h (MY_canonicalize_symtab): Update. * ppcboot.c (ppcboot_canonicalize_symtab): Update. * elf.c (_bfd_elf_canonicalize_symtab): Update. * elfcode.h (elf_canonicalize_symtab): Update. * ihex.c (ihex_canonicalize_symtab): Update. * tekhex.c (tekhex_canonicalize_symtab): Update. * binary.c (binary_canonicalize_symtab): Update. * srec.c (srec_canonicalize_symtab): Update.
2003-10-16daily updateAlan Modra1-1/+1
2003-10-15 * elf32-h8300.c (elf_reloc_map): Fix a comment typo.Kazu Hirata2-1/+5
2003-10-15[bfd]Kaz Kojima4-2/+89
* elf32-sh.c (sh_elf_relocate_section): Handle R_SH_IMM_*_PCREL relocations. (sh_elf_check_relocs): Likewise. * elf32-sh64.c (elf_backend_merge_symbol_attribute): Define. (sh64_elf_merge_symbol_attribute): New. * elf64-sh64.c (elf_backend_merge_symbol_attribute): Define. (sh64_elf64_merge_symbol_attribute): New. [ld/testsuite] * ld-sh/sh64/rd-sh64.exp: If the test matches *-dso.d, copy the output of linker to the file tmpdir/*-dso.so. * ld-sh/sh64/stobin-0-dso.d: New. * ld-sh/sh64/stobin-1.d: New. * ld-sh/sh64/stobin.s: New. * ld-sh/sh64/stolib.s: New.
2003-10-15daily updateAlan Modra1-1/+1
2003-10-14 * elf-bfd.h (struct elf_backend_data): New function pointer memberKaz Kojima4-0/+22
elf_backend_merge_symbol_attribute. * elflink.h (elf_link_add_object_symbols): Adjust call to elf_backend_merge_symbol_attribute if the backend defined it. * elfxx-target.h (elf_backend_merge_symbol_attribute): New macro. (elfNN_bed): Add that to the initializer.
2003-10-14bfd ChangeLog:Bob Wilson2-88/+62
2003-10-14 Bob Wilson <bob.wilson@acm.org> * elf32-xtensa.c (get_is_linkonce_section): Delete. (xtensa_is_property_section, xtensa_is_littable_section): Use XTENSA_INSN_SEC_NAME and XTENSA_LIT_SEC_NAME macros. Do not recognize linkonce sections containing ".xt.insn" and ".xt.lit" substrings. (xtensa_get_property_section_name): Check section name instead of calling get_is_linkonce_section. Remove unused bfd parameter. Use XTENSA_INSN_SEC_NAME and XTENSA_LIT_SEC_NAME macros. Never generate linkonce section names by appending ".xt.insn" or ".xt.lit". (xtensa_read_table_entries): Remove bfd argument in call to xtensa_get_property_section_name. Free section name when done. (elf_xtensa_combine_prop_entries): Free leaking table. gas ChangeLog: 2003-10-14 Bob Wilson <bob.wilson@acm.org> * config/tc-xtensa.c (xtensa_create_property_segments): Remove bfd argument in call to xtensa_get_property_section_name. Formatting. include ChangeLog: 2003-10-14 Bob Wilson <bob.wilson@acm.org> * elf/xtensa.h: Formatting. Fix comments about property section names for linkonce sections.
2003-10-14daily updateAlan Modra1-1/+1
2003-10-13 * elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Don't addRichard Sandiford2-65/+31
DT_MIPS_LIBLIST or DT_MIPS_CONFLICT entries. (_bfd_mips_elf_finish_dynamic_symbol): Don't handle them. Don't handle DT_MIPS_MSYM. Set DT_RELSZ based on the number of relocations that were needed. (_bfd_mips_elf_modify_segment_map): Fix placement of PT_MIPS_OPTIONS. (_bfd_mips_elf_merge_private_bfd_data): Ignore EF_MIPS_UCODE.
2003-10-13bfd/H.J. Lu4-7/+65
2003-10-10 H.J. Lu <hongjiu.lu@intel.com> * bfd-in.h (bfd_elf32_ia64_after_parse): New prototype. (bfd_elf64_ia64_after_parse): Likewise. * bfd-in2.h: Regenerated. * elfxx-ia64.c (oor_ip): New. (oor_branch_size): Likewise. (bfd_elfNN_ia64_after_parse): Likewise. (elfNN_ia64_relax_section): Use oor_ip if oor_branch_size equals sizeof (oor_ip). ld/ 2003-10-10 H.J. Lu <hongjiu.lu@intel.com> * Makefile.am (eelf64_ia64.c): Also depend on $(srcdir)/emultempl/ia64elf.em. * Makefile.in: Regenerated. * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Set to ia64elf. * emultempl/ia64elf.em: New.
2003-10-13 * elf64-sh64.c (sh_elf64_relocate_section): Tidy up for theKaz Kojima2-2/+9
renumbering of some relocation numbers.
2003-10-13daily updateAlan Modra1-1/+1
2003-10-12daily updateAlan Modra1-1/+1
2003-10-11 * bfd.texinfo: Remove spurious backslash.Alan Modra2-1/+5
2003-10-11 * coff-sh.c: Move definition of MAP and guard more code withAlan Modra2-8/+8
COFF_IMAGE_WITH_PE.
2003-10-11Oops. missed a line.Alan Modra1-0/+1
2003-10-11 * section.c (bfd_get_section_size_before_reloc): Ignore reloc_done.Alan Modra3-4/+6
* bfd-in2.h: Regenerate.
2003-10-11daily updateAlan Modra1-1/+1
2003-10-102003-10-10 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu4-10/+16
* Makefile.am: Run "make dep-am". * Makefile.in: Regenerate. * doc/Makefile.in: Likewise.
2003-10-10daily updateAlan Modra1-1/+1
2003-10-092003-10-09 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+7
* cofflink.c: Include "safe-ctype.h". (coff_link_add_symbols): Use ISDIGIT instead of isdigit.
2003-10-09daily updateAlan Modra1-1/+1
2003-10-082003-10-08 Dave Brolley <brolley@redhat.com>Dave Brolley5-1/+18
On behalf of Michael Snyder <msnyder@redhat.com> * archures.c: Add FRV fr550 machine. * cpu-frv.c: Ditto. * elf32-frv.c: Ditto. * bfd-in2.h: Regenerate.
2003-10-08 * elfxx-mips.c (STUB_MOVE,STUB_LI16): Fix stub codeThiemo Seufer2-5/+13
for non-SGI N64 ABI. Improve code consitency.
2003-10-08Include bfd_elf64_sparc_vec if BFD64 is enabled.Nick Clifton2-2/+5
2003-10-08daily updateAlan Modra1-1/+1
2003-10-07* elf32-frv.c (elf32_frv_howto_table): Set R_FRV_LABEL16'sAlexandre Oliva2-1/+6
rightshift to 2.
2003-10-07bfd/Changelog:Nathan Sidwell6-34/+63
* libbfd-in.h (_bfd_link_section_stabs): Add string offset parameter. * cofflink.c (coff_link_add_symbols): Deal with split stab sections. * elflink.h (elf_link_add_object_symbols): Deal with split stab sections. * stabs.c (_bfd_link_section_stabs): Add string offset parameter. * libbfd.h: Regenerated. ld/ChangeLog: * ldwrite.c (unsplittable_name): New. (clone_section): Strip existing numeric suffix. Only truncate names for coff targets. (split_sections): Use unsplittable_name. binutils/ChangeLog: * objdump.c (read_section_stabs): Just read one section, return pointer to it. Add size parameter. (print_section_stabs): Add string offset parameter. Adjust. (struct stab_section_names): Add string offset member. (find_stabs_sections): Correct check for split section suffix, adjust read_section_stabs and print_section_stabs calls. (dump_stabs_section): Clear string_offset, free string table.
2003-10-07 * coffcode.h (coff_set_alignment_hook): With PE_COFF relocNathan Sidwell4-8/+46
overflow, set reloc start position to after the count reloc. Subtract one from num relocs. Give error on 0xffff relocs and no overflow. * cofflink.c (_bfd_coff_final_link): Deal with PE_COFF reloc overflow. * peXXigen.c (_bfd_XXi_swap_scnhdr_out): Do overflow if >= 0xffff.
2003-10-07daily updateAlan Modra1-1/+1
2003-10-062003-10-06 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-0/+37
* elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Pad the last CIE/FDE if needed.
2003-10-06Change target of hppa-netbsd portNick Clifton2-2/+6
2003-10-06Add i386-knetbsd-gnu triplet.Nick Clifton4-322/+313
2003-10-06daily updateAlan Modra1-1/+1
2003-10-05daily updateAlan Modra1-1/+1
2003-10-042003-10-04 Christian Groessler <chris@groessler.org>Christian Groessler2-3/+8
* coff-z8k.c (extra_case): Fix displacement length check for R_JR and R_CALLR.