aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2006-05-03 * subsegs.h (struct frchain): Delete frch_seg.Alan Modra7-512/+458
(frchain_root): Delete. (seg_info): Define as macro. * subsegs.c (frchain_root): Delete. (abs_seg_info, und_seg_info, absolute_frchain): Delete. (subsegs_begin, subseg_change): Adjust for above. (subseg_set_rest): Likewise. Add new frchain structs to seginfo rather than to one big list. (subseg_get): Don't special case abs, und sections. (subseg_new, subseg_force_new): Don't set frchainP here. (seg_info): Delete. (subsegs_print_statistics): Adjust frag chain control list traversal. * debug.c (dmp_frags): Likewise. * dwarf2dbg.c (first_frag_for_seg): Don't start looking for frag at frchain_root. Make use of known frchain ordering. (last_frag_for_seg): Likewise. (get_frag_fix): Likewise. Add seg param. (process_entries, out_debug_aranges): Adjust get_frag_fix calls. * write.c (chain_frchains_together_1): Adjust for struct frchain. (SUB_SEGMENT_ALIGN): Likewise. (subsegs_finish): Adjust frchain list traversal. * config/tc-xtensa.c (xtensa_cleanup_align_frags): Likewise. (xtensa_fix_target_frags, xtensa_mark_narrow_branches): Likewise. (xtensa_mark_zcl_first_insns, xtensa_fix_a0_b_retw_frags): Likewise. (xtensa_fix_b_j_loop_end_frags): Likewise. (xtensa_fix_close_loop_end_frags): Likewise. (xtensa_fix_short_loop_frags, xtensa_sanity_check): Likewise. (retrieve_segment_info): Delete frch_seg initialisation.
2006-05-03gdb/ChangeLog:Jim Blandy2-3/+14
2006-05-03 Vladimir Prus <ghost@cs.msu.su> * varobj.c (c_value_of_variable): Ignore top-level references. (Committed by Jim Blandy.)
2006-05-032006-05-03 Thiemo Seufer <ths@mips.com>Thiemo Seufer4-130/+138
[ opcodes/ChangeLog ] * mips-opc.c (mips_builtin_opcodes): Fix mftr argument order. [ gas/testsuite/ChangeLog ] * gas/mips/mips32-mt.d: Fix mftr argument order.
2006-05-032006-05-03 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+5
* binutils-all/copy-3.d: Fix a typo.
2006-05-03bfd/Alan Modra28-205/+262
* 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-032006-05-03 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-0/+24
* binutils-all/copy-3.d: New. * objcopy.exp: Run copy-3.
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-03*** empty log message ***gdbadmin1-1/+1
2006-05-02Avoid confusing error message for trivial profiled testcase.Jim Wilson2-1/+11
* gprof.c (main): When setting default output_style, add separate checks for INPUT_HISTOGRAM and INPUT_CALL_GRAPH.
2006-05-022006-05-02 Dave Korn <dave.korn@artimi.com>Dave Korn3-2/+7
* binutils-all/copy-1.d (name): Correct spelling of 'setting'. * binutils-all/copy-2.d (name): Likewise.
2006-05-02 * config/tc-arm.c (do_iwmmxt_wldstbh): Don't multiply offset by 4Joseph Myers7-5/+27
here. (md_apply_fix3): Multiply offset by 4 here for BFD_RELOC_ARM_CP_OFF_IMM_S2 and BFD_RELOC_ARM_T32_CP_OFF_IMM_S2. testsuite: * gas/arm/iwmmxt.s: Increase offsets for wstrb and wstrh. * gas/arm/iwmmxt.d: Update expected results. * gas/arm/iwmmxt-bad2.s: Test wstrb, wstrh, wldrb and wldrh. * gas/arm/iwmmxt-bad2.l: Update expected error messages.
2006-05-022006-05-02 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-4/+27
Jan Beulich <jbeulich@novell.com> * config/tc-i386.c (output_invalid_buf): Change size for unsigned char. * config/tc-tic30.c (output_invalid_buf): Likewise. * config/tc-i386.c (output_invalid): Cast none-ascii char to unsigned char. * config/tc-tic30.c (output_invalid): Likewise.
2006-05-02binutils/Daniel Jacobowitz17-56/+92
* doc/Makefile.am (AM_MAKEINFOFLAGS): New. (TEXI2POD): Use AM_MAKEINFOFLAGS. (config.texi): Don't set top_srcdir. * doc/binutils.texi: Don't use top_srcdir. * aclocal.m4, Makefile.in, doc/Makefile.in: Regenerated. gas/ * doc/Makefile.am (AM_MAKEINFOFLAGS): New. (TEXI2POD): Use AM_MAKEINFOFLAGS. (asconfig.texi): Don't set top_srcdir. * doc/as.texinfo: Don't use top_srcdir. * aclocal.m4, Makefile.in, doc/Makefile.in: Regenerated. ld/ * Makefile.am (AM_MAKEINFOFLAGS): Add libiberty. (TEXI2POD): Use AM_MAKEINFOFLAGS. (configdoc.texi): Don't set top_srcdir. * ld.texinfo: Don't use top_srcdir. * aclocal.m4, Makefile.in: Regenerated.
2006-05-02 * texi2pod.pl: Handle -I.Daniel Jacobowitz2-4/+18
2006-05-022006-05-02 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu4-4/+10
* ld-cdtest/cdtest-foo.cc (Foo::Foo): Add const to char *. * ld-cdtest/cdtest-foo.h (Foo::Foo): Likewise. * ld-srec/sr3.cc (Foo::Foo): Likewise.
2006-05-022006-05-02 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-11/+19
* config/tc-i386.c (output_invalid_buf): Change size to 16. * config/tc-tic30.c (output_invalid_buf): Likewise. * config/tc-i386.c (output_invalid): Use snprintf instead of sprintf. * config/tc-ia64.c (declare_register_set): Likewise. (emit_one_bundle): Likewise. (check_dependencies): Likewise. * config/tc-tic30.c (output_invalid): Likewise.
2006-05-022006-05-02 Paul Brook <paul@codesourcery.com>Paul Brook9-1/+81
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* binutils-all/copy-2.d: Change the name of the section whose flags areNick Clifton3-4/+22
changed to "foo" so that the test will work with PE based targets. Skip this test for AOUT based targeted. * binutils-all/copytest.s: New file.
2006-05-02 * mips-dis.c (print_insn_args): Force mips16 to odd addresses.Thiemo Seufer2-3/+25
(print_mips16_insn_arg): Force mips16 to odd addresses.
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 * config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS): Make single bitBen Elliston2-1/+4
field unsigned.
2006-05-02 * sb.h (sb_list_vector): Move to sb.c.Ben Elliston3-11/+11
* sb.c (free_list): Use type of sb_list_vector directly. (sb_build): Fix off-by-one error in assertion about `size'.
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-02Fix typo.DJ Delorie1-1/+1
2006-05-02* configure.in: Restore CFLAGS if GM P isn't present.DJ Delorie3-2/+7
* configure: Regenerate.
2006-05-02daily updateAlan Modra1-1/+1
2006-05-02*** empty log message ***gdbadmin1-1/+1
2006-05-01* gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list ofMark Kettenis2-0/+6
NetBSD/ELF targets.
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-01* gdb.base/sigbpt.exp (stepi_out): FAIL when inserting aMark Kettenis4-0/+24
single-step breakpoint fails; make this a KFAIL on sparc*-*-openbsd*. * gdb.base/siginfo.exp: Likewise. * gdb.base/sigstep.exp (advance, advancei): Likewise.
2006-05-01* breakpoint.c (insert_single_step_breakpoint): Make a failure toMark Kettenis2-1/+9
insert a single-step breakpoint an error instead of a warning. * breakpoint.c (remove_single_step_breakpoints): Bail out early if no breakpoints are inserted.
2006-05-012006-05-01 Nathan J. Williams <nathanw@wasabisystems.com>Nathan J. Williams2-2/+7
* ppcnbsd-tdep.c (ppcnbsd_return_value): Change type of last two arguments from void * to gdb_byte *.
2006-05-012006-05-01 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+5
* binutils-all/objcopy.exp: Run "copy-1" for ELF only.
2006-05-01 * listing.c (listing_listing): Remove useless loop.Ben Elliston5-30/+16
* macro.c (macro_expand): Remove is_positional local variable. * read.c (s_comm_internal): Simplify `if' condition 1 || x -> 1 and simplify surrounding expressions, where possible. (assign_symbol): Likewise. (s_weakref): Likewise. * symbols.c (colon): Likewise.
2006-05-01 * subsegs.c (subseg_set_rest): Always set seginfp->frchainP if NULL.Alan Modra2-1/+5
2006-05-01 * binutils-all/objcopy.exp (objcopy_test_readelf): Remove stray ;Ben Elliston2-1/+5
2006-05-01*** empty log message ***gdbadmin1-1/+1
2006-05-01daily updateAlan Modra1-1/+1
2006-04-30[ gas/ChangeLog ]Thiemo Seufer7-0/+173
2006-04-30 Thiemo Seufer <ths@mips.com> David Ung <davidu@mips.com> * config/tc-mips.c (validate_mips_insn): Handling of udi cases. (mips_immed): New table that records various handling of udi instruction patterns. (mips_ip): Adds udi handling. [ include/opcode/ChangeLog ] 2006-04-30 Thiemo Seufer <ths@mips.com> David Ung <davidu@mips.com> * mips.h: Defines udi bits and masks. Add description of characters which may appear in the args field of udi instructions. [ opcodes/ChangeLog ] 2006-04-30 Thiemo Seufer <ths@mips.com> David Ung <davidu@mips.com> * mips-opc.c (mips_builtin_opcodes): Add udi instructions "udi0" to "udi15". * mips-dis.c (print_insn_args): Adds udi argument handling.
2006-04-302006-04-26 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-19/+58
* ld-elfvers/vers.exp: Xfail vers7a, vers7, vers23a, vers23b, vers23c, vers23d, vers23, vers25a, vers25b1, vers25b2, vers27a, vers27b, vers27c1, vers27c2, vers27d4 and vers27d5 if PIC is required.
2006-04-302006-04-29 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu4-0/+29
* gas/i386/fp.d: New file. * gas/i386/fp.s: Likewise. * gas/i386/i386.exp: Run "fp".
2006-04-30daily updateAlan Modra1-1/+1
2006-04-30*** empty log message ***gdbadmin1-1/+1
2006-04-29Move opcode ChangeLog entry to opcode/ChangeLog.H.J. Lu2-8/+8
2006-04-29Fix buglet noticed while looking at PR 1298.Jim Wilson2-2/+9
* m68k-dis.c (match_insn_m68k): Restore fprintf_func before printing error message.
2006-04-29*** empty log message ***gdbadmin1-1/+1
2006-04-29daily updateAlan Modra1-1/+1
2006-04-28Don't mis-spell your boss' name...Thiemo Seufer2-5/+5