aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2004-09-01daily updateAlan Modra1-1/+1
2004-08-31 * elf.c (special_sections): Add .gnu.linkonce.b modelled on .bss.Eric Botcazou2-0/+5
2004-08-31daily updateAlan Modra1-1/+1
2004-08-302004-08-30 Nathanael Nerode <neroden@gcc.gnu.org>Nathanael Nerode8-4633/+10910
* acinclude.m4: Require AC_CANONICAL_TARGET, not AC_CANONICAL_SYSTEM. Include ../config/acx.m4 and use ACX_NONCANONICAL_* where appropriate; replace uses of *_alias with *_noncanonical. * aclocal.m4: Rebuild with aclocal 1.4p6. * Makefile.in: Rebuild with automake 1.4p6. * doc/Makefile.in: Rebuild with automake 1.4p6. * configure.in: Autoupdate with autoupdate 2.59. * config.in: Regenerate with autoheader 2.59. * configure: Regnerate with autoconf 2.59.
2004-08-30daily updateAlan Modra1-1/+1
2004-08-29daily updateAlan Modra1-1/+1
2004-08-28 * elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Copy inputAlan Modra2-25/+28
symbol pointer arrays before modifying.
2004-08-28corrected versionAlan Modra1-5/+5
2004-08-28bfd/Alan Modra9-83/+88
* bfd.c (bfd_get_synthetic_symtab): Pass counts and both symbol tables. * elf-bfd.h (_bfd_elf_get_synthetic_symtab): Adjust. * elf.c (_bfd_elf_get_synthetic_symtab): Adjust. * libbfd-in.h (_bfd_nodynamic_get_synthetic_symtab): Adjust. * targets.c (struct bfd_target <_bfd_get_synthetic_symtab>): Adjust. * elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Don't read symbols. Use both symbol tables on non-relocatable objects. Use a common error exit. Fix "mid" warning. * libbfd.h: Regenerate. * bfd-in2.h: Regenerate. binutils/ * objdump.c (dump_bfd): Pass both symbol tables to bfd_get_synthetic_symtab.
2004-08-28daily updateAlan Modra1-1/+1
2004-08-27 * elf64-ppc.c (ppc64_elf_branch_reloc): Check .opd is in a regularAlan Modra2-210/+233
object file. (struct sfpr_def_parms): Save some space. (sfpr_define): Here too. * elf64-ppc.c (compare_symbols): Put section syms first. (sym_exists_at): New function. (ppc64_elf_get_synthetic_symtab): Use relocs to find code entry points only for relocatable files. Use .opd section contents otherwise. Generally clean up the code.
2004-08-27 * elf64-ppc.c (STD_R0_0R1, STD_R0_0R12, LD_R0_0R1, LD_R0_0R12,Alan Modra2-87/+273
LI_R12_0, STVX_VR0_R12_R0, LVX_VR0_R12_R0, MTLR_R0, SFPR_MAX): Define. (struct sfpr_def_parms): New. (sfpr_define): New function. (savegpr0, savegpr0_tail, restgpr0, restgpr0_tail): New functions. (savegpr1, savegpr1_tail, restgpr1, restgpr1_tail): New functions. (savefpr, savefpr0_tail, restfpr, restfpr0_tail): New functions. (savefpr1_tail, restfpr1_tail): New functions. (savevr, savevr_tail, restvr, restvr_tail): New functions. (MIN_SAVE_FPR, MAX_SAVE_FPR): Don't define. (ppc64_elf_func_desc_adjust): Use sfpr_define in place of existing code. Define all ABI mandated _save and _rest functions.
2004-08-27daily updateAlan Modra1-1/+1
2004-08-26 * INTERWORK_FLAG: Return true for EABIv3 objects.Paul Brook2-1/+7
2004-08-26daily updateAlan Modra1-1/+1
2004-08-25bfd/Alan Modra2-3/+8
* elf32-m32r.c (m32r_elf_relocate_section): Don't compare with TRUE or FALSE. ld/ * ldlang.c (lang_init): Don't compare with TRUE.
2004-08-25 * elf32-i386.c (elf_i386_relocate_section): Tweak last change soAlan Modra2-1/+6
that pcrel correction is applied for R_386_PC32.
2004-08-25 * elf32-i386.c (elf_i386_relocate_section): Zero section contentsAlan Modra2-3/+20
for R_386_32 and R_386_PC32 relocs against symbols defined in discarded sections.
2004-08-25Apply Dmitry Diky's patches to add relaxation to msp430.Nick Clifton5-98/+590
2004-08-25daily updateAlan Modra1-1/+1
2004-08-24(m32r_elf_relocate_section): Handle R_M32R_SDA16_RELA in the same way asNick Clifton2-1/+6
R_M32R_SDA16.
2004-08-24daily updateAlan Modra1-1/+1
2004-08-23daily updateAlan Modra1-1/+1
2004-08-22daily updateAlan Modra1-1/+1
2004-08-21 * elflink.c (_bfd_elf_section_already_linked): HandleDaniel Jacobowitz2-0/+35
SEC_LINK_DUPLICATES_SAME_CONTENTS.
2004-08-21daily updateAlan Modra1-1/+1
2004-08-20Fix typo in Alan Modra's 2004-08-16 entry.Ben Elliston1-1/+1
2004-08-20daily updateAlan Modra1-1/+1
2004-08-19 * config.bfd (arm*-*-symbianelf*): New target.Mark Mitchell2-1/+7
(arm*-*-eabi*): Likewise.
2004-08-19 * elf64-ppc.c (ppc_get_stub_entry): Change third param to aAlan Modra2-37/+48
"struct ppc_link_hash_entry *". (ppc64_elf_relocate_section): Ditto for type of h. Introduce h_elf to satisfy RELOC_FOR_GLOBAL_SYMBOL.
2004-08-19 * elf64-ppc.c (ppc64_elf_edit_opd): Support 16 byte long .opdJakub Jelinek3-27/+149
entries (where fd_aux overlaps next entry's fd_func). Add non_overlapping argument, use it. (ppc64_elf_check_relocs, ppc64_elf_gc_mark_hook, adjust_opd_syms, ppc64_elf_size_stubs, ppc64_elf_relocate_section, ppc64_elf_output_symbol_hook): Use address / 8 instead of address / 24 as indexes into opd_sym_map/opd_adjust array. * elf64-ppc.h (ppc64_elf_edit_opd): Adjust prototype. * emultempl/ppc64elf.em (non_overlapping_opd): New variable. (ppc_before_allocation): Pass it to ppc64_elf_edit_opd). (OPTION_NON_OVERLAPPING_OPD): Define. (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Add --non-overlapping-opd option.
2004-08-19daily updateAlan Modra1-1/+1
2004-08-18 * elf64-ppc.c (func_desc_adjust): Give undefined dot-symbols a valueAlan Modra2-0/+23
if we can look up their function descriptor in a regular file.
2004-08-18PR 324Nick Clifton2-0/+8
(coff_link_add_symbols): Check that the comdat pointer in the coff_section_data structure has been initialised before using it.
2004-08-18 PR 338Alan Modra2-1/+12
* elflink.c (bfd_elf_record_link_assignment): Add comment about changing bfd_link_hash_undefined to bfd_link_hash_new. * ldexp.c (fold_name): Don't call bfd_link_add_undef if the symbol was already on the undefs list.
2004-08-18daily updateAlan Modra1-1/+1
2004-08-17bfd/Jakub Jelinek6-6/+409
* elfxx-target.h (bfd_elfNN_get_synthetic_symtab): Only define if not yet defined. * elf64-ppc.c (bfd_elf64_get_synthetic_symtab): Define. (synthetic_opd, synthetic_relocatable): New variables. (compare_symbols, compare_relocs): New helper routines. (ppc64_elf_get_synthetic_symtab): New function. * bfd.c (bfd_get_synthetic_symtab): Rename dynsyms argument to relsyms. * bfd-in2.h: Regenerated. * elf.c (_bfd_elf_get_synthetic_symtab): Rename dynsyms argument to relsyms. Return 0 if abfd is relocatable. binutils/ * objdump.c (dump_bfd): For relocatable objects, pass syms instead of dynsyms to bfd_get_synthetic_symtab.
2004-08-17 * elflink.h (elf_gc_sweep): Keep non-alloc, non-load sections.Alan Modra2-3/+7
2004-08-17(is_arm_mapping_symbol_name): New function - return true when a symbol nameNick Clifton2-46/+94
matches the requirements for an ARM mapping symbol name. (arm_elf_find_function): New function based on elf_find_function in elf.c but skipping ARM mapping symbols and including thumb function symbols. (elf32_arm_find_nearest_line): Use arm_elf_find_function. (elf32_arm_output_symbol_hook): Use is_arm_mapping_symbol_name.
2004-08-17 * elf64-ppc.c (ppc64_elf_branch_reloc): New function.Alan Modra2-6/+39
(ppc64_elf_howto_raw): Use ppc64_elf_branch_reloc. (ppc64_elf_brtaken_reloc): Here too.
2004-08-17 * elf64-ppc.c (add_symbol_adjust): Correct mismatched functionAlan Modra2-6/+31
symbol visibility. (ppc64_elf_check_directives): Check that we have the right hash table before proceeding.
2004-08-17 * elf64-ppc.c (struct ppc64_elf_obj_tdata): Add "deleted_section".Alan Modra2-1/+21
(adjust_opd_syms): Attach opd syms for deleted entries to one of the sections that will be discarded.
2004-08-17daily updateAlan Modra1-1/+1
2004-08-16 * elflink.c (elf_section_complain_discarded): Ignore .fixup.Alan Modra2-0/+7
2004-08-16 * bfd.c (_bfd_default_error_handler): Account for doubled '%' inAlan Modra2-0/+7
free space available.
2004-08-16 * pdp11.c (struct pdp11_aout_reloc_external): Delete. ReplaceAlan Modra4-37/+37
occurrences with bfd_btye * thoughout file. * coff-rs6000.c (do_shared_object_padding): Warning fix. (xcoff_write_armap_big): Likewise. (xcoff_write_archive_contents_old): Likewise. (xcoff_write_archive_contents_big): Likewise. * elf64-mmix.c (mmix_elf_get_section_contents): Delete declaration.
2004-08-16daily updateAlan Modra1-1/+1
2004-08-15daily updateAlan Modra1-1/+1
2004-08-14daily updateAlan Modra1-1/+1
2004-08-13Convert file to ISO C90Nick Clifton2-313/+171