aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-01-16bfd/H.J. Lu18-17/+319
2007-01-16 H.J. Lu <hongjiu.lu@intel.com> PR ld/3831 * elf-bfd.h (bfd_elf_link_mark_dynamic_symbol): Add an argument, Elf_Internal_Sym *. * elflink.c (bfd_elf_link_mark_dynamic_symbol): Mark a data symbol dynamic if info->dynamic_data is TRUE. (bfd_elf_record_link_assignment): Updated call to bfd_elf_record_link_assignment. (_bfd_elf_merge_symbol): Likewise. Always call bfd_elf_link_mark_dynamic_symbol. include/ 2007-01-16 H.J. Lu <hongjiu.lu@intel.com> PR ld/3831 * bfdlink.h (bfd_link_info): Rename dynamic to dynamic_list. Add dynamic and dynamic_data. ld/ 2007-01-16 H.J. Lu <hongjiu.lu@intel.com> PR ld/3831 * NEWS: Mention -Bsymbolic-functions, --dynamic-list-data and --dynamic-list-cpp-new. * ld.texinfo: Document -Bsymbolic-functions, --dynamic-list-data and --dynamic-list-cpp-new. * ldlang.c (lang_append_dynamic_list_cpp_new): New. (lang_process): Change link_info.dynamic to link_info.dynamic_list. (lang_append_dynamic_list): Likewise. * ldmain.c (main): Likewise. Initialize link_info.dynamic and link_info.dynamic_data to FALSE. * ldlang.h (lang_append_dynamic_list_cpp_new): New. * lexsup.c (option_values): Add OPTION_DYNAMIC_LIST_DATA and OPTION_DYNAMIC_LIST_CPP_NEW. (ld_options): Add entries for -Bsymbolic-functions, --dynamic-list-data and --dynamic-list-cpp-new. Make -Bsymbolic-functions an alias of --dynamic-list-data. (parse_args): Change link_info.dynamic to link_info.dynamic_list. Set link_info.dynamic to TRUE for --dynamic-list and --dynamic-list-cpp-typeinfo. Handle --dynamic-list-data and --dynamic-list-cpp-new. ld/testsuite/ 2007-01-16 H.J. Lu <hongjiu.lu@intel.com> PR ld/3831 * ld-elf/del.cc: New. * ld-elf/dl5.cc: Likewise. * ld-elf/dl5.out: Likewise. * ld-elf/new.cc: Likewise. * ld-elf/shared.exp: Add tests for --dynamic-list-data and --dynamic-list-cpp-new.
2007-01-16Fix 'selected frame' varobjs.Vladimir Prus2-24/+27
* varobj.c (struct varobj): Remove the error field. (varobj_set_value): Don't check var->error. (install_new_value): Don't set var->error. (varobj_update): Always pass the new value of the root via install_new_value. (create_child): Don't set error field. (new_variable): Likewise. (c_value_of_root): Always reevaluate the value of selected frame varobjs in the selected frame. Don't call reinit_frame_cache.
2007-01-16*** empty log message ***gdbadmin1-1/+1
2007-01-15 * corefile.c (parse_error): New function.Ben Elliston2-14/+27
(read_function_mappings): Check calls to fscanf and report any errors in parsing the mapping file.
2007-01-15daily updateAlan Modra1-1/+1
2007-01-15 * source.c (_initialize_source): Improve the help text ofJoel Brobecker2-5/+18
the substitute-path commands.
2007-01-15*** empty log message ***gdbadmin1-1/+1
2007-01-14daily updateAlan Modra1-1/+1
2007-01-142007-01-14 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-2/+51
* ld-symbolic.m4: New.
2007-01-14 * frv-tdep.c (frv_gdbarch_init, frv_register_name)Mark Kettenis2-10/+12
(frv_breakpoint_from_pc, frv_gdbarch_adjust_breakpoint_address) (frv_skip_prologue): Remove prototypes. (frv_adjust_breakpoint_address): Renamed from frv_gdbarch_adjust_breakpoint_address. (frv_gdbarch_init): Adjust.
2007-01-14*** empty log message ***gdbadmin1-1/+1
2007-01-13 * gdbarch.sh (deprecated_extract_return_value)Mark Kettenis8-132/+11
(deprecated_store_return_value): Remove. (extract_return_value, store_return_value): Remove default values. * gdbarch.c, gdbarch.h: Regenerate. * arch-utils.c, arch-utils.h (legacy_extract_return_value) (legacy_store_return_value): Remove. * regcache.c, regcache.h (deprecated_grub_regcache_for_registers): Remove.
2007-01-13daily updateAlan Modra1-1/+1
2007-01-13 * mi/mi-main.c: Remove obsolete comment.Mark Kettenis2-1/+3
2007-01-13 * regcache.c, regcache.h (deprecated_register_bytes)Mark Kettenis3-143/+4
(deprecated_read_register_bytes) (deprecated_write_register_bytes): Remove.
2007-01-13* frame.c (get_frame_register_bytes, put_frame_register_bytes):Mark Kettenis2-0/+7
Don't forget to move destination pointer.
2007-01-132007-01-13 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-15/+20
* config/tc-i386.c (build_modrm_byte): Check number of operands when procssing memory/register operand.
2007-01-13*** empty log message ***gdbadmin1-1/+1
2007-01-12daily updateAlan Modra1-1/+1
2007-01-12* gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)Nick Roberts2-18/+18
(test_path_specification): Use objdir instead of srcdir to always get an absolute filename.
2007-01-12*** empty log message ***Nick Roberts1-0/+6
2007-01-12 * gdb.cp/member-ptr.cc (class Padding): Make contents public.Daniel Jacobowitz2-0/+5
2007-01-122076-01-12 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-2/+5
* Makefile.am (BFD_LIBS): Removed. * Makefile.in: Regenerated.
2007-01-12revert 2007-01-11 Nathan Sidwell <nathan@codesourcery.com>Nathan Sidwell22-132/+57
* lib/gdb.exp (gdb_compile_test): New. (skip_ada_tests, skip_java_tests): New. (gdb_compile): Use gdb_compile_test for f77. * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result. * lib/java.exp (compile_java_from_source): Remove runtests check, use gdb_compile_test to record result. * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp, gdb.ada/exec_changed.exp, gdb.ada/start.exp, gdb.ada/watch_arg.exp, gdb.ada/null_record.exp, gdb.ada/array_return.exp, gdb.ada/arrayidx.exp, gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp, gdb.fortran/array-element.exp, gdb.fortran/subarray.exp, gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp, gdb.java/jmisc.exp, gdb.java/jprint.exp, gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip, adjust gdb_compile invocations.
2007-01-12PR gas/3856Nick Clifton2-2/+18
* macro.c (expand_irp): Do not ignore spaces inside quoted strings.
2007-01-12missed from last commitAlan Modra1-0/+9
2007-01-12 * config/tc-spu.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.Alan Modra4-34/+15
* config/tc-m32r.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete. * config/tc-mn10300.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete. (TC_FORCE_RELOCATION): Define. (TC_FORCE_RELOCATION_LOCAL): Define. * config/tc-mn10300.c (mn10300_fix_adjustable): Adjust.
2007-01-122076-01-11 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu5-19/+32
PR binutils/3631 * Makefile.am (OFILES): Add @bfd64_libs@. (libbfd_la_SOURCES): Remove $(BFD64_LIBS_CFILES). * Makefile.in: Regenerated. * configure.in (bfd_libs): Replaced by ... (bfd64_libs): This. * configure: Regenerated.
2007-01-12 * input-file.c (input_file_open): Check fgets return.Alan Modra2-4/+8
2007-01-12 * ar.c (open_inarch): Check fwrite return. Use size_t.Alan Modra3-14/+19
(extract_file): Likewise. Remove test for "negative" file size. * readelf.c (process_program_headers): Check fscanf return.
2007-01-12 * pex-unix.c (writeerr): Cast write result to void.Ben Elliston2-1/+3
2007-01-12 * ld-elf/header.d: Allow arbitrary lines between "Program Header"Hans-Peter Nilsson2-1/+7
and "Sections". Only run on *-*-linux*.
2007-01-12merge from gccDJ Delorie1-1/+1
2007-01-12 * choose-temp.c (choose_temp_base): Check the result of the callBen Elliston2-2/+6
to mktemp rather than testing the length of the modified string.
2007-01-12*** empty log message ***gdbadmin1-1/+1
2007-01-112007-01-11 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-2/+6
* bucomm.c (template_in_dir): Fix typo.
2007-01-11daily updateAlan Modra1-1/+1
2007-01-11* config/i386/nm-i386gnu.h (CHILD_PREPARE_TO_STORE): Remove.Mark Kettenis2-3/+4
2007-01-11Move ChangeLog entry to the right placeVladimir Prus2-11/+11
2007-01-11 * spu-tdep.c (spu_analyze_prologue): Fix erroneous backtraceUlrich Weigand2-0/+11
past entry function with recent newlib.
2007-01-11 * gdb.mi/mi-var-cp.cc (reference_update_tests):Vladimir Prus2-2/+10
Make sure the variable we're using is in scope. (reference_to_pointer): Likewise.
2007-01-11 * gdb.texinfo (GDB/MI Variable Objects): Improve theVladimir Prus2-26/+58
introduction. Specify -var-update more exactly.
2007-01-11 * frame.c (get_prev_frame_1): Check PC_REGNUM before using it.Daniel Jacobowitz2-3/+14
2007-01-112007-01-11 Paul Brook <paul@codesourcery.com>Paul Brook5-2/+15
gas/ * config/tc-arm.c (do_t_add_sub): Use Rd and Rs. gas/testsuite/ * gas/arm/thumb2_add.d: Add test for missing operand. * gas/arm/thumb2_add.s: Ditto.
2007-01-112007-01-11 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini5-14/+29
* configure.in: Change == to = in test command. * configure: Regenerate. 2007-01-11 Paolo Bonzini <bonzini@gnu.org> * warnings.m4: Use m4_expand_once to clear the AC_SUBST'ed variable. (ACX_PROG_CC_WARNINGS_ARE_ERRORS): Fix typo. Add optional 2nd argument.
2007-01-11PR gas/3707Nick Clifton2-2/+6
* config/tc-arm.c (md_begin): Cope with an NULL mcpu_fpu_opt variable.
2007-01-112007-01-11 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini2-11/+20
* config/warnings.m4: Add second parameter with name of variable. Always append to the variable if it exists.
2007-01-11bfd/Nathan Sidwell8-2/+56
* elf.c (assign_file_positions_for_load_sections): We can require fewer phdrs than expected. ld/ * emultempl/elf-generic.em (gdl_map_segments): Only allow header shrinkage for the first few iterations. ld/testsuite/ * ld-elf/header.d: New. * ld-elf/header.t: New. * ld-elf/header.s: New.
2007-01-11* gas/mcore/allinsn.s: Remove use of '#' before numbers - it is a line ↵Nick Clifton3-137/+139
comment character. * gas/mcore/allinsn.d: Adjust expected disassembly to match real output.
2007-01-11 * lib/gdb.exp (gdb_compile_test): New.Nathan Sidwell22-57/+132
(skip_ada_tests, skip_java_tests): New. (gdb_compile): Use gdb_compile_test for f77. * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result. * lib/java.exp (compile_java_from_source): Remove runtests check, use gdb_compile_test to record result. * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp, gdb.ada/exec_changed.exp, gdb.ada/start.exp, gdb.ada/watch_arg.exp, gdb.ada/null_record.exp, gdb.ada/array_return.exp, gdb.ada/arrayidx.exp, gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp, gdb.fortran/array-element.exp, gdb.fortran/subarray.exp, gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp, gdb.java/jmisc.exp, gdb.java/jprint.exp, gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip, adjust gdb_compile invocations.