aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2007-05-06daily updateAlan Modra1-1/+1
2007-05-05daily updateAlan Modra1-1/+1
2007-05-042007-05-04 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-4/+11
* elflink.c (elf_link_sort_relocs): Return if both .rela.dyn and .rel.dyn aren't present.
2007-05-04* elflink.c (elf_link_sort_relocs): If both .rela.dyn and .rel.dyn sectionsNick Clifton2-19/+159
are present examine the indirect sections in an attempt to compute the correct relocation size. If there is any ambiguity, produce an error and refuse to sort.
2007-05-04daily updateAlan Modra1-1/+1
2007-05-032007-05-03 Sandra Loosemore <sandra@codesourcery.com>Sandra Loosemore2-1/+5
bfd/ * elf32-arm.c (allocate_dynrelocs): Fix typo in comment.
2007-05-03PR gas/3041Nick Clifton2-1/+11
* gas/config/tc-m68k.c (relaxable_symbol): Do not relax weak symbols. (tc_gen_reloc): Adjust the addend of relocs against weak symbols. (md_apply_fix): Put zero values into the frags referencing weak symbols. * bfd/aoutx.h (swap_std_reloc_out): Treat relocs against weak symbols in the same way as relocs against external symbols.
2007-05-03daily updateAlan Modra1-1/+1
2007-05-02include/elf/Alan Modra2-9/+28
* internal.h (ELF_IS_SECTION_IN_SEGMENT): Check both file offset and vma for appropriate sections. bfd/ * elf.c (assign_file_positions_for_load_sections): Set sh_offset here. Set sh_type to SHT_NOBITS if we won't be allocating file space. Don't bump p_memsz for non-alloc sections. Adjust section-in-segment check. (assign_file_positions_for_non_load_sections): Don't set sh_offset here for sections that have already been handled above.
2007-05-02daily updateAlan Modra1-1/+1
2007-05-01daily updateAlan Modra1-1/+1
2007-04-30bfd/Alan Modra3-16/+1283
* elf32-spu.c (struct spu_link_hash_table): Add stack_analysis and emit_stack_syms bitfields. (get_sym_h): Read all symbols if stack analysis will be done. (spu_elf_create_sections): Add stack_analysis and emit_stack_syms params, and stash in hash table. (is_hint): Split off from.. (is_branch): ..here. Adjust callers. (spu_elf_size_stubs): Add stack_analysis param. Arrange to read and keep all syms. (write_one_stub): Fix mem leak. (find_function_stack_adjust): New function. (sort_syms_syms, sort_syms_psecs): New vars. (sort_syms): New function. (struct call_info, struct function_info): New. (struct spu_elf_stack_info): New. (alloc_stack_info, maybe_insert_function, func_name): New functions. (is_nop, insns_at_end, check_function_ranges): Likewise. (find_function, insert_callee, mark_functions_via_relocs): Likewise. (pasted_function, interesting_section, discover_functions): Likewise. (mark_non_root, call_graph_traverse, build_call_tree): Likewise. (sum_stack, spu_elf_stack_analysis, spu_elf_final_link): Likewise. (bfd_elf32_bfd_final_link): Define. * elf32-spu.h (struct _spu_elf_section_data): Add stack_info field. (spu_elf_create_sections, spu_elf_size_stubs): Update prototypes. include/ * bfdlink.h (struct bfd_link_info): Add "info" and "minfo". ld/ * ldmain.c (link_callbacks): Init info and minfo fields. * ldmisc.c (minfo): Do nothing if no map file. * emultempl/spuelf.em (stack_analysis, emit_stack_syms): New vars. (spu_after_open): Adjust spu_elf_create_sections call. (spu_before_allocation): Likewise for spu_elf_size_stubs. (OPTION_SPU_STACK_ANALYSIS, OPTION_SPU_STACK_SYMS): Define. (PARSE_AND_LIST_LONGOPTS): Add new entries. (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise. * gen-doc.texi: Add @set for SPU and other missing targets. * ld.texinfo: Update man page selection to match gen-doc.texi. Document SPU features.
2007-04-30daily updateAlan Modra1-1/+1
2007-04-29daily updateAlan Modra1-1/+1
2007-04-28 * elfxx-mips.c (mips_elf_create_dynamic_relocation): Don't accessThiemo Seufer2-4/+12
memory which we might not own.
2007-04-28daily updateAlan Modra1-1/+1
2007-04-27 * elf32-xtensa.c (elf_xtensa_make_sym_local): Restore deleted function.Bob Wilson2-20/+46
(elf_xtensa_hide_symbol, elf_backend_hide_symbol): Likewise. (elf_xtensa_allocate_dynrelocs): Use elf_xtensa_make_sym_local.
2007-04-27 * elf32-xtensa.c (xtensa_read_table_entries): Step through tableBob Wilson2-53/+54
contents and relocs in parallel.
2007-04-27 * elf32-xtensa.c (relax_property_section): Remove extra irel increment.Bob Wilson2-1/+4
2007-04-27Write Mimi's name in ASCII.Alan Modra4-17/+9
2007-04-27daily updateAlan Modra1-1/+1
2007-04-26bfd/Alan Modra2-3/+10
* sysdep.h: Include config.h first. Many files: Include sysdep.h before bfd.h. * Makefile.am: Run "make dep-am". * Makefile.in: Regenerate. binutils/ * bucumm.h: Split off host dependencies to.. * sysdep.h: ..here. Many files: Include sysdep.h. Remove duplicate headers and reorder. * Makefile.am: Run "make dep-am". * Makefile.in: Regenerate. ld/ Many files: Include sysdep.h first. Remove duplicate headers. * Makefile.am: Run "make dep-am". * Makefile.in: Regenerate. opcodes/ * Makefile.am: Run "make dep-am". * Makefile.in: Regenerate. * ns32k-dis.c: Include sysdep.h first.
2007-04-26bfd/Alan Modra281-485/+497
Many files: Include sysdep.h before bfd.h. * Makefile.am: Run "make dep-am". * Makefile.in: Regenerate. binutils/ * bucumm.h: Split off host dependencies to.. * sysdep.h: ..here. Many files: Include sysdep.h. Remove duplicate headers and reorder. * Makefile.am: Run "make dep-am". * Makefile.in: Regenerate. ld/ Many files: Include sysdep.h first. Remove duplicate headers. * Makefile.am: Run "make dep-am". * Makefile.in: Regenerate. opcodes/ * Makefile.am: Run "make dep-am". * Makefile.in: Regenerate. * ns32k-dis.c: Include sysdep.h first.
2007-04-26daily updateAlan Modra1-1/+1
2007-04-25 * sysdep.h: Revert last change.Alan Modra2-0/+6
2007-04-25daily updateAlan Modra1-1/+1
2007-04-24Fix compile time warnings (at -O3 with gcc 4.1.2)Nick Clifton3-1/+8
2007-04-24 * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Warn ifAlan Modra2-1/+13
eh_frame_hdr table won't be created.
2007-04-24 * Makefile.in: Regenerate.Alan Modra2-2/+7
2007-04-24 * acinclude.m4: Include config/stdint.m4.Alan Modra7-4/+3220
* configure.in: Invoke GCC_HEADER_STDINT. * sysdep.h: Don't include ansidecl.h here. * configure: Regenerate. * config.in: Regenerate. * Makefile.in: Regenerate.
2007-04-24daily updateAlan Modra1-1/+1
2007-04-23 gas/testsuite/Nathan Sidwell5-9/+83
* gas/m68k/br-isaa.s: New. * gas/m68k/br-isaa.d: New. * gas/m68k/br-isab.s: New. * gas/m68k/br-isab.d: New. * gas/m68k/br-isac.s: New. * gas/m68k/br-isac.d: New. * gas/m68k/all.exp: Adjust. gas/ * config/tc-m68k.c (mcf54455_ctrl): New. (HAVE_LONG_DISP, HAVE_LONG_CALL, HAVE_LONG_COND): New. (m68k_archs): Add isac. (m68k_cpus): Add 54455 family. (m68k_ip): Split Bg into Bb, Bs, Bg. (m68k_elf_final_processing): Add ISA_C. * doc/c-m68k.texi (M680x0 Options): Add isac. include/opcode/ * m68k.h (mcfisa_c): New. (mcfusp, mcf_mask): Adjust. bfd/ * archures.c (bfd_mach_mcf_isa_c, bfd_mach_mcf_isa_c_mac, bfd_mach_mcf_isa_c_emac): New. * elf32-m68k.c (ISAC_PLT_ENTRY_SIZE, elf_isac_plt0_entry, elf_isac_plt_entry, elf_isac_plt_info): New. (elf32_m68k_object_p): Add ISA_C. (elf32_m68k_print_private_bfd_data): Print ISA_C. (elf32_m68k_get_plt_info): Detect ISA_C. * cpu-m68k.c (arch_info): Add ISAC. (m68k_arch_features): Likewise, (bfd_m68k_compatible): ISAs B & C are not compatible. opcodes/ * m68k-opc.c: Mark mcfisa_c instructions.
2007-04-23daily updateAlan Modra1-1/+1
2007-04-22daily updateAlan Modra1-1/+1
2007-04-21* ecoff.c (_bfd_ecoff_write_armap): Initialise rehash.Nick Clifton4-5/+16
(ecoff_link_add_archive_symbols): Likewise. * coff-m68k.c (m68kcoff_common_addend_rtype_to_howto): Initialise relent.howto. * ieee.c (parse_int): Initialise x. (must_parse_int): Initialise result. (ieee_slurp_external_symbols): Initialise value.
2007-04-21 * config.bfd (spu-*-elf): Delete targ_selvecs.Alan Modra2-1/+4
2007-04-21daily updateAlan Modra1-1/+1
2007-04-20daily updateAlan Modra1-1/+1
2007-04-19* coffcode.h (coff_rtype_to_howto): Initialise genrel.howto.Nick Clifton2-0/+5
2007-04-19missed from last commitAlan Modra1-1/+84
2007-04-19 * bfd.c (bfd_demangle): New function.Alan Modra5-14/+25
* Makefile.am: Run "make dep-am". * Makefile.in: Regenerate. * bfd-in2.h: Regenerate.
2007-04-19daily updateAlan Modra1-1/+1
2007-04-182007-04-18 Matthias Klose <doko@ubuntu.com>Daniel Jacobowitz3-6/+18
* Makefile.am (libbfd_la_LDFLAGS): Use bfd soversion. (bfdver.h): Use the date in non-release builds for the soversion. * Makefile.in: Regenerate. 2007-04-18 Matthias Klose <doko@ubuntu.com> * Makefile.am (libopcodes_la_LDFLAGS): Use bfd soversion. * Makefile.in: Regenerate.
2007-04-18daily updateAlan Modra1-1/+1
2007-04-172007-04-17 Paul Brook <paul@codesourcery.com>Paul Brook6-15/+84
bfd/ * elf.c (_bfd_elf_is_function_type): New function. * elflink.c (_bfd_elf_merge_symbol): Use bed->is_function_type. (_bfd_elf_dynamic_symbol_p, _bfd_elf_symbol_refs_local_p, is_global_data_symbol_definition, elf_link_add_object_symbols): Ditto. * elf-bfd.h (elf_backend_data): Add is_function_type. (_bfd_elf_is_function_type): Add prototype. * elfxx-target.h (elf_backend_is_function_type): Add default definition. (elfNN_bed): Add elf_backend_is_function_type. * elf32-arm.c (elf32_arm_is_function_type): New function. (elf_backend_is_function_type): Define. ld/testsuite/ * ld-arm/preempt-app.s: New test. * ld-arm/preempt-app.sym: New. * ld-arm/arm-elf.exp: Add preempt-app.
2007-04-17 * elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): PutDaniel Jacobowitz2-7/+16
DT_MIPS_RLD_MAP before DT_DEBUG again.
2007-04-17daily updateAlan Modra1-1/+1
2007-04-16daily updateAlan Modra1-1/+1
2007-04-15daily updateAlan Modra1-1/+1
2007-04-14 * Makefile.am: Add ACLOCAL_AMFLAGS.Steve Ellcey6-757/+763
* configure.in: Change macro call order. * Makefile.in: Regnerate. * doc/Makefile.in: Regenerate. * configure: Regenerate.