binutils-gdb.git
15 years agomerge from gcc
DJ Delorie [Thu, 13 Aug 2009 17:04:01 +0000 (17:04 +0000)]
merge from gcc

15 years ago2009-08-13 Pedro Alves <pedro@codesourcery.com>
Pedro Alves [Thu, 13 Aug 2009 14:58:27 +0000 (14:58 +0000)]
2009-08-13  Pedro Alves  <pedro@codesourcery.com>

PR gdb/8869:

* language.c (language, type, range, case_sensitive): Make const.
(show_language_command): Don't call deprecated_show_value_hack.
Special case "auto".
(set_language_command): An unrecognized language is now an
internal error instead of a user error.  Don't call set_lang_str.
(show_type_command): Don't call deprecated_show_value_hack.
Special case "auto".  Use warning.
(set_type_command): An unrecognized type is now an internal error
instead of a user error.  Output type check mismatch with language
here.  Don't call set_type_str.
(show_range_command): Don't call deprecated_show_value_hack.
Special case "auto".  Use warning.
(set_range_command): An unrecognized range check is now an
internal error instead of a warning.  Output range check mismatch
with language here.  Don't call set_range_str.
(show_case_command): Don't call deprecated_show_value_hack.
Special case "auto".  Use warning.
(set_case_command): Don't call set_case_str.  An unrecognized case
check is now an internal error instead of a warning.  Output range
check mismatch with language here.  Don't call set_case_str.
(set_type_range_case): Don't call set_type_str, set_range_str or
set_case_str here.
(set_lang_str, set_type_str, set_range_str, set_case_str): Delete.
(add_language): Install or reinstall the "set language" command
here, and make it an enum command.  Build the enumeration and the
help string from the current list of known languages.
(_initialize_language): Don't install "set language" here.  Make
"set check type", "set check range" and "set case-sensitive" enum
commands.  Register the "auto" "local" and "unknown" languages in
that order.

2009-08-13  Pedro Alves  <pedro@codesourcery.com>

* gdb.base/default.exp: Adjust "set language test": it's now an
enum command.  Larger help string moved to "help set language".
* gdb.base/help.exp: Adjust "help set language" expected output,
now lists all known languages.

15 years ago Revert 2009-08-07 changes for PR gdb/8869:
Pedro Alves [Thu, 13 Aug 2009 14:56:19 +0000 (14:56 +0000)]
Revert 2009-08-07 changes for PR gdb/8869:

* language.c (set_language_command): Strip whitespace.
(set_type_command): Likewise.
(set_range_command): Likewise.

* language.c (language_completer): New function.
(range_or_type_completer): New function.
(case_completer): New function.
(_initialize_language): Set completers.
* cli/cli-decode.c (add_setshow_string_cmd): Return the "set"
command.
(add_setshow_string_noescape_cmd): Likewise.
(add_setshow_integer_cmd): Likewise.
(add_setshow_uinteger_cmd): Likewise.
(add_setshow_zinteger_cmd): Likewise.
(add_setshow_zuinteger_cmd): Likewise.
* command.h (add_setshow_string_cmd,
add_setshow_string_noescape_cmd, add_setshow_uinteger_cmd,
add_setshow_zinteger_cmd, add_setshow_zuinteger_cmd): Update.

15 years ago2009-08-12 Sriraman Tallam <tmsriram@google.com>
Sriraman Tallam [Thu, 13 Aug 2009 00:03:43 +0000 (00:03 +0000)]
2009-08-12  Sriraman Tallam  <tmsriram@google.com>

* icf.cc (Icf::find_identical_sections): Issue a warning when a
symbol in the --keep-unique list is not found.

15 years ago*** empty log message ***
gdbadmin [Thu, 13 Aug 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
Alan Modra [Thu, 13 Aug 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago2009-08-12 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Wed, 12 Aug 2009 23:00:27 +0000 (23:00 +0000)]
2009-08-12  Michael Snyder  <msnyder@vmware.com>

* remote.c (remote_add_inferior): Remove unused local.
(remote_add_thread): Ditto.
(read_ptid): Ditto.
(remote_current_thread): Ditto.
(remote_stop_ns): Ditto.
(remote_parse_stop_reply): Ditto.
(remote_get_pending_stop_replies): Ditto.
(remote_wait_ns): Ditto.
(remote_wait_as): Ditto.
(send_g_packet): Ditto.
(remote_fetch_registers): Ditto.
(store_register_using_P): Ditto.
(remote_store_registers): Ditto.
(remote_remove_breakpoint): Ditto.
(remote_write_qxfer): Ditto.
(remote_read_qxfer): Ditto.

15 years agoSriraman Tallam <tmsriram@google.com>
Sriraman Tallam [Wed, 12 Aug 2009 19:03:16 +0000 (19:03 +0000)]
Sriraman Tallam  <tmsriram@google.com>

* icf.cc (Icf::find_identical_sections): Unfold symbols that have
been maked as --keep-unique.
(Icf::unfold_section): New function.
* icf.h (Icf::unfold_section): New function.
* options.h (General_options::keep_unique): New option.
* testsuite/Makefile.am: Add commands to build icf_keep_unique_test.
* testsuite/Makefile.in: Regenerate.
* testsuite/icf_keep_unique_test.sh: New file.
* testsuite/icf_keep_unique_test.cc: New file.

15 years ago PR 10471
Cary Coutant [Wed, 12 Aug 2009 18:30:39 +0000 (18:30 +0000)]
PR 10471
* resolve.cc (Symbol_table::resolve): Check for references from
dynamic objects to hidden and internal symbols.
* testsuite/Makefile.am (hidden_test.sh): New test.
* testsuite/Makefile.in: Regenerate.
* testsuite/hidden_test.sh: New script.
* testsuite/hidden_test_1.c: New test source.
* testsuite/hidden_test_main.c: New test source.

15 years ago * po/fi.po: Updated Finnish translation.
Nick Clifton [Wed, 12 Aug 2009 16:13:18 +0000 (16:13 +0000)]
    * po/fi.po: Updated Finnish translation.

15 years ago2009-08-12 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Wed, 12 Aug 2009 12:40:55 +0000 (12:40 +0000)]
2009-08-12  Tristan Gingold  <gingold@adacore.com>

* ld.h (fat_user_section_struct): Add map_symbol_def_count field.
* ldlang.c (hash_entry_addr_cmp): New function.
(print_all_symbols): Sort the symbols by address before printing them.

15 years ago* config/tc-mep.c (md_estimate_size_before_relax): Handle weak
DJ Delorie [Wed, 12 Aug 2009 03:40:48 +0000 (03:40 +0000)]
* config/tc-mep.c (md_estimate_size_before_relax): Handle weak
symbols correctly.
(md_convert_frag): Likewise.
(md_pcrel_from_section): Likewise.
(mep_force_relocation): Likewise.

15 years ago*** empty log message ***
gdbadmin [Wed, 12 Aug 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
Alan Modra [Wed, 12 Aug 2009 00:00:09 +0000 (00:00 +0000)]
daily update

15 years ago * dwarf2loc.c (dwarf2_evaluate_loc_desc): Make a cleanup.
Tom Tromey [Tue, 11 Aug 2009 20:36:49 +0000 (20:36 +0000)]
* dwarf2loc.c (dwarf2_evaluate_loc_desc): Make a cleanup.
(dwarf2_loc_desc_needs_frame): Likewise.
* dwarf2expr.h (make_cleanup_free_dwarf_expr_context): Declare.
* dwarf2expr.c (free_dwarf_expr_context_cleanup): New function.
(make_cleanup_free_dwarf_expr_context): Likewise.
* dwarf2-frame.c (execute_stack_op): Make a cleanup.

15 years ago * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
Nathan Froyd [Tue, 11 Aug 2009 19:21:37 +0000 (19:21 +0000)]
* gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
all frame arguments.
* gdb.arch/altivec-regs.exp: Likewise.

15 years ago From Jie Zhang <jie.zhang@analog.com>
Bernd Schmidt [Tue, 11 Aug 2009 18:44:12 +0000 (18:44 +0000)]
From Jie Zhang  <jie.zhang@analog.com>
* config/tc-bfin.h (bfin_anomaly_checks): Declare.
(AC_05000074): Define.
(ENABLE_AC_05000074): Define.
* config/tc-bfin.c (enum bfin_cpu_type): New.
(bfin_cpu_t): Typedef.
(bfin_cpu_type): Define.
(bfin_si_revision): Define.
(bfin_anomaly_checks): Define.
(struct bfin_cpu): New.
(bfin_cpus[]): New. (struct bfin_cpu_isa): Define.
(bfin_isa): New global variable.
(OPTION_MCPU): Define.
(md_longopts[]): Add -mcpu option.
(md_parse_option): Deal with -mcpu option and initialize
bfin_anomaly_checks.
* doc/c-bfin.texi: Rename BFIN to Blackfin throughout.  Document
-mcpu option.
* config/bfin-parse.y (gen_multi_instr_1): Check anomaly
05000074.

15 years agogas/
Bernd Schmidt [Tue, 11 Aug 2009 18:29:41 +0000 (18:29 +0000)]
gas/
* config/bfin-parse.y (gen_multi_instr_1): New function.
(asm): Use it instead of bfin_gen_multi_instr.
(error): Add a format string when calling as_bad.
* config/bfin-defs.h (insn_regmask): Declare.
* config/tc-bfin.c (DREG_MASK, DREGH_MASK, DREGL_MASK, IREG_MASK): New
macros.
(decode_ProgCtrl_0, decode_LDSTpmod_0, decode_dagMODim_0,
decode_dagMODik_0, decode_dspLDST_0, decode_LDST_0, decode_LDSTiiFP_0,
decode_LDSTii_0, decode_dsp32mac_0, decode_dsp32mult_0,
decode_dsp32alu_0, decode_dsp32shift_0, decode_dsp32shitimm_0,
insn_regmask): New functions.
gas/testsuite/
* gas/bfin/parallel.s: Add more test cases.
* gas/bfin/parallel.d: Update accordingly.
* gas/bfin/resource_conflict.l: New test.
* gas/bfin/resource_conflict.s: New test.
* gas/bfin/bfin.exp: Add resource_conflict.

15 years agofix typo in gas error output (this is an assembler, not a compiler)
Mike Frysinger [Tue, 11 Aug 2009 17:16:37 +0000 (17:16 +0000)]
fix typo in gas error output (this is an assembler, not a compiler)

15 years ago2009-08-11 Doug Kwan <dougkwan@google.com>
Doug Kwan [Tue, 11 Aug 2009 17:09:14 +0000 (17:09 +0000)]
2009-08-11  Doug Kwan  <dougkwan@google.com>

* arm.cc: Update comments.
(Target_arm::do_finalize_sections): Add a special PT_ARM_EXIDX
segment to locate the .ARM.exidx section if present.

15 years ago Merge some FRV FDPIC changes into the Blackfin code.
Bernd Schmidt [Tue, 11 Aug 2009 11:41:17 +0000 (11:41 +0000)]
Merge some FRV FDPIC changes into the Blackfin code.
* elf32-bfin.c (struct bfinfdpic_elf_link_hash_table): Add pointer to
summary reloc information.
(bfinfdpic_dynamic_got_plt_info): New.
(_bfin_create_got_section): Create the PLT section here.
(elf32_bfinfdpic_create_dynamic_sections): Not here.
(_bfinfdpic_count_nontls_entries): Move out of...
(_bfinfdpic_count_got_plt_entries): ... here.
(_bfinfdpic_count_relocs_fixups): Likewise.
(_bfinfdpic_reset_got_plt_entries): New.
(_bfinfdpic_size_got_plt): Move out of...
(elf32_bfinfdpic_size_dynamic_sections): ... here.
(bfinfdpic_relocate_section): Be careful not to call
_bfinfdpic_add_rofixup or _bfinfdpic_add_dyn_reloc for deleted relocs.
(bfinfdpic_check_discarded_relocs, bfinfdpic_elf_discard_info):
New functions.
(elf_backend_discard_info): Define for FD-PIC.

15 years ago PR 10443
Nick Clifton [Tue, 11 Aug 2009 09:53:40 +0000 (09:53 +0000)]
    PR 10443
        * config/tc-arm.c (do_t_mov_cmp): Do not silently ignore shifted
        operands.
        * gas/arm/t16-bad.l: Update expected messages for moves with
        shifted operands.

15 years ago * elflink.c: Add FIXMEs for some places that require octets_per_byte
Alan Modra [Tue, 11 Aug 2009 02:21:34 +0000 (02:21 +0000)]
* elflink.c: Add FIXMEs for some places that require octets_per_byte
adjustments.
* elf-eh-frame.c: Likewise.
* merge.c: Likewise.

15 years ago * configure.in: Remove elf-ifunc.lo from common ELF files. Add
Alan Modra [Tue, 11 Aug 2009 02:14:17 +0000 (02:14 +0000)]
* configure.in:  Remove elf-ifunc.lo from common ELF files.  Add
to x86 and x86_64 configurations.
* configure: Regenerate.

15 years agodaily update
Alan Modra [Tue, 11 Aug 2009 00:00:07 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Tue, 11 Aug 2009 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

15 years agogdb/
Jan Kratochvil [Mon, 10 Aug 2009 22:09:22 +0000 (22:09 +0000)]
gdb/
* objfiles.c (gdb_bfd_unref): Use the bfd_usrdata accessor.
* solib.c (symbol_add_stub): Likewise.
* symfile.c (symfile_bfd_open): Assert BFD_USRDATA is NULL.

15 years agoinclude/coff/
Jan Kratochvil [Mon, 10 Aug 2009 22:02:41 +0000 (22:02 +0000)]
include/coff/
Fix references past allocated memory for i386-*-go32.
* ti.h (COFF_ADJUST_FILEHDR_IN_POST, COFF_ADJUST_FILEHDR_OUT_POST):
Reference F_TARGET_ID only when !COFF0_P.

15 years agobfd/
Jan Kratochvil [Mon, 10 Aug 2009 21:56:42 +0000 (21:56 +0000)]
bfd/
Stop using bfd_usrdata in libbfd.
* coff-stgo32.c (bfd_coff_go32stub): Remove.
(stub_bytes, comment): Replace STUBSIZE by GO32_STUBSIZE.
(adjust_filehdr_in_post): Declare the abfd parameter as unused.
Replace STUBSIZE by GO32_STUBSIZE.  Save now the stub in
filehdr_dst->u.go32.stub.  New comment with the reason.
(adjust_filehdr_out_pre): Replace STUBSIZE by GO32_STUBSIZE.
Substitute the removed macro bfd_coff_go32stub.
(adjust_filehdr_out_post, adjust_scnhdr_in_post, adjust_scnhdr_out_pre)
(adjust_scnhdr_out_post, adjust_aux_in_post, adjust_aux_out_pre)
(adjust_aux_out_post): Replace STUBSIZE by GO32_STUBSIZE.
(create_go32_stub, go32_stubbed_coff_bfd_copy_private_bfd_data):
Replace STUBSIZE by GO32_STUBSIZE.  Substitute the removed macro
bfd_coff_go32stub.
* coffcode.h (coff_mkobject_hook): Initialize coff->go32stub.
* libcoff-in.h (coff_data_type): New field go32stub.
* libcoff.h: Regenerated.

include/coff/
Stop using bfd_usrdata in libbfd.
* go32exe.h (struct external_filehdr_go32_exe <stub>, FILHSZ): Replace
STUBSIZE by GO32_STUBSIZE.
(STUBSIZE): Move the definition ...
* internal.h (GO32_STUBSIZE): ... here and rename it.
(struct internal_filehdr <go32stub>, F_GO32STUB): New.

15 years agobfd/
Jan Kratochvil [Mon, 10 Aug 2009 21:38:36 +0000 (21:38 +0000)]
bfd/
Fix go32 stub preservation by objcopy.
* coff-stgo32.c (adjust_filehdr_in_post): Use bfd_malloc.
(go32_stubbed_coff_bfd_copy_private_bfd_data): Optionally allocate OBFD
go32stub.

ld/testsuite/
Test go32 stub preservation by objcopy.
* ld-i386/i386.exp (go32 stub, go32 stub patch the source)
(go32 stub objcopy, go32 stub comparison after objcopy): New.

15 years agogas/
Jan Kratochvil [Mon, 10 Aug 2009 21:32:26 +0000 (21:32 +0000)]
gas/
Fix compilation of i386-*-go32.
* config/tc-i386.c (i386_target_format <TE_GO32>): New.
(i386_target_format <OBJ_MAYBE_COFF>): Compile only if !TE_GO32.
* config/te-go32.h (TARGET_FORMAT): Move the definition ...
* config/tc-i386.h <!i386_target_format>: ... here.

15 years ago2009-08-10 Paul Pluzhnikov <ppluzhnikov@google.com>
Paul Pluzhnikov [Mon, 10 Aug 2009 20:14:14 +0000 (20:14 +0000)]
2009-08-10  Paul Pluzhnikov  <ppluzhnikov@google.com>

* objfiles.c (qsort_cmp): Remove assert.
(preferred_obj_section): New function.
(update_section_map): Filter duplicates.

15 years ago * elf32-arm.c (elf32_arm_size_stubs): Don't die on undefined local
Nathan Sidwell [Mon, 10 Aug 2009 15:56:30 +0000 (15:56 +0000)]
* elf32-arm.c (elf32_arm_size_stubs): Don't die on undefined local
symbols.
(elf32_arm_final_link_relocate): Treat local undefined symbols the
same as global undefined symbols.
(elf32_arm_relocate_section): Give an error for local undefined
non-weak symbols, unless the reloc will not use the symbol.

15 years ago * readelf.c (get_arm_section_type_name): Added support for
Nick Clifton [Mon, 10 Aug 2009 14:56:34 +0000 (14:56 +0000)]
* readelf.c (get_arm_section_type_name): Added support for
    new sections headers.

    * arm.h: (SHT_ARM_DEBUGOVERLAY): New define.
    (SHT_ARM_OVERLAYSECTION): New define.

15 years ago * config/tc-arm.c (do_t_add_sub_w): Fixed constraints.
Nick Clifton [Mon, 10 Aug 2009 14:42:39 +0000 (14:42 +0000)]
    * config/tc-arm.c (do_t_add_sub_w): Fixed constraints.

        gas/testsuite/
        * gas/arm/sp-pc-usage-t.d: New test case.
        * gas/arm/sp-pc-usage-t.s: New file.

15 years ago bfd/
Nathan Sidwell [Mon, 10 Aug 2009 13:38:44 +0000 (13:38 +0000)]
bfd/
* elf32-ppc.c (shared_stub_entry, stub_entry): Use r12, not r11.
(ppc_elf_relax_section): Use symbol index to distinguish
relocatable stubs.

ld/testsuite/
* ld-powerpc/relax.s: New.
* ld-powerpc/relax.d: New.
* ld-powerpc/relaxr.d: New.
* ld-powerpc/powerpc.exp: Add new tests.

15 years ago2009-08-10 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Mon, 10 Aug 2009 09:35:24 +0000 (09:35 +0000)]
2009-08-10  Tristan Gingold  <gingold@adacore.com>

* solib-darwin.c (find_program_interpreter): Simplify the code by
looking up for the load_dylinker command instead of reading the
corresponding (but deprecated) section.
(darwin_solib_create_inferior_hook): Adjust: do not free the
interpreter path.

15 years ago2009-08-10 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Mon, 10 Aug 2009 09:32:55 +0000 (09:32 +0000)]
2009-08-10  Tristan Gingold  <gingold@adacore.com>

* i386-darwin-tdep.c (i386_m128_p): New function.
(i386_darwin_arg_type_alignment): Ditto.
(i386_darwin_push_dummy_call): Ditto.
(i386_darwin_init_abi): Define Darwin specific push_dummy_call.
Adjust long_double size.  Adjust pc offset in setjump buffer.

15 years ago PR 10474
Alan Modra [Mon, 10 Aug 2009 07:50:56 +0000 (07:50 +0000)]
PR 10474
* ldemul.c (after_allocation_default): Run lang_relax_sections.
* ldlang.h (lang_relax_sections): Declare.
* ldlang.c (relax_sections): Delete.
(lang_relax_sections): New function.
(lang_process): Don't relax directly from here.
* emultempl/alphaelf.em (alpha_finish): Call finish_default.
* emultempl/armelf.em (arm_elf_after_allocation): Delete.  Move body..
(gld${EMULATION_NAME}_finish): ..to here.  Move existing code..
(gld${EMULATION_NAME}_after_allocation): ..to here.  New function.
(LDEMUL_AFTER_ALLOCATION): Update.
* emultempl/avrelf.em (avr_elf_finish, LDEMUL_FINISH): Delete.
(avr_elf_after_allocation): New function.
(LDEMUL_AFTER_ALLOCATION): Define.
* emultempl/elf-generic.em (gld${EMULATION_NAME}_map_segments): Call
lang_relax_sections.
* emultempl/elf32.em (gld${EMULATION_NAME}_finish): Delete.  Move..
(gld${EMULATION_NAME}_after_allocation): ..code to here.  New function.
(LDEMUL_AFTER_ALLOCATION, LDEMUL_FINISH): Update.
* emultempl/genelf.em (gld${EMULATION_NAME}_finish): Delete.  Move..
(gld${EMULATION_NAME}_after_allocation): ..code to here.  New function.
(LDEMUL_FINISH): Delete.
(LDEMUL_AFTER_ALLOCATION): Define.
* emultempl/hppaelf.em (gld${EMULATION_NAME}_finish): Delete.  Move..
(gld${EMULATION_NAME}_after_allocation): ..to here.  New function.
(LDEMUL_FINISH): Delete.
(LDEMUL_AFTER_ALLOCATION): Define.
* emultempl/m68hc1xelf.em (m68hc11elf_finish): Delete.  Move..
(m68hc11elf_after_allocation): ..to here.  New function.
(LDEMUL_FINISH): Delete.
(LDEMUL_AFTER_ALLOCATION): Define.
* emultempl/m68kelf.em (m68k_elf_after_allocation): Call
gld${EMULATION_NAME}_after_allocation.
* emultempl/mmix-elfnmmo.em (mmix_after_allocation): Call
gld${EMULATION_NAME}_after_allocation.
* emultempl/mmo.em (mmo_finish): Delete.  Move body..
(gld${EMULATION_NAME}_after_allocation): ..to here.  New function.
(LDEMUL_FINISH): Define.
* emultempl/ppc64elf.em (ppc_layout_sections_again): Set elf_gp.
(gld${EMULATION_NAME}_finish): Move code sizing sections..
(gld${EMULATION_NAME}_after_allocation): ..to here.
* emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation):
Call gld${EMULATION_NAME}_after_allocation.
* emultempl/spuelf.em (gld${EMULATION_NAME}_finish): Delete
bfd_elf_discard_info and map_segments call.

15 years ago * elf32-ppc.c (ppc_elf_relax_section): Ignore non-code sections.
Alan Modra [Mon, 10 Aug 2009 07:24:33 +0000 (07:24 +0000)]
* elf32-ppc.c (ppc_elf_relax_section): Ignore non-code sections.

15 years ago * elflink.c (_bfd_elf_adjust_dynamic_symbol): Don't clear plt
Alan Modra [Mon, 10 Aug 2009 06:14:04 +0000 (06:14 +0000)]
* elflink.c (_bfd_elf_adjust_dynamic_symbol): Don't clear plt
info for STT_GNU_IFUNC.
* elf32-ppc.c (ppc_elf_check_relocs): Count a needed plt entry
on got refs in case the symbol turns out to be ifunc.
(ppc_elf_gc_sweep_hook): Similarly.
(ppc_elf_adjust_dynamic_symbol): Adjust assertion.
(allocate_dynrelocs): Don't specially allocate got relocs for ifunc.
(ppc_elf_size_dynamic_sections): Likewise.
(ppc_elf_relocate_section): Likewise.

15 years ago2009-08-10 Hui Zhu <teawater@gmail.com>
Hui Zhu [Mon, 10 Aug 2009 03:06:34 +0000 (03:06 +0000)]
2009-08-10  Hui Zhu  <teawater@gmail.com>

Add Linux AMD64 process record support.

* amd64-linux-tdep.c (amd64_linux_record_tdep): New variable.
This struct has the argument for the function
"record_linux_system_call".
(amd64_linux_syscall_record): New function. Parse the
system call instruction and call function
"record_linux_system_call" to record execute log.
(i386_linux_init_abi): Initialize "amd64_linux_record_tdep".
Set "amd64_linux_syscall_record" to "i386_syscall_record".

15 years ago2009-08-10 Hui Zhu <teawater@gmail.com>
Hui Zhu [Mon, 10 Aug 2009 03:04:45 +0000 (03:04 +0000)]
2009-08-10  Hui Zhu  <teawater@gmail.com>

Add process record Linux system call 64 bits support.

        * linux-record.h (linux_record_tdep): Add size_pointer,
        size_size_t, size_iovec and arg6.  Change the values of
size_int, size_long and size_ulong to
gdbarch_int_bit (gdbarch) / TARGET_CHAR_BIT,
gdbarch_long_bit (gdbarch) / TARGET_CHAR_BIT,
gdbarch_long_bit (gdbarch) / TARGET_CHAR_BIT.
* i386-linux-tdep.c (i386_linux_init_abi): Ditto.
(i386_linux_intx80_sysenter_record): Add a check for system
call number.
        * linux-record.c (record_linux_system_call): Make this
        function support 64 bits.

15 years ago2009-08-10 Hui Zhu <teawater@gmail.com>
Hui Zhu [Mon, 10 Aug 2009 03:02:39 +0000 (03:02 +0000)]
2009-08-10  Hui Zhu  <teawater@gmail.com>

Add AMD64 process record instruction set support.

* i386-tdep.h (gdbarch_tdep): Add record_regmap for registers
because the AMD64's registers order in GDB is not same with
I386 instructions.
Add i386_syscall_record to be the syscall function handle
interface.
(record_i386_regnum): Number for record_regmap.
* i386-tdep.c (OT_QUAD): For 64 bits.
(i386_record_s): Add rex_x, rex_b, rip_offset and
popl_esp_hack for AMD64 instruction set. And regmap for
record_regmap.
(i386_record_lea_modrm_addr): Support AMD64 instruction set
64 bits lea.
(i386_record_lea_modrm): Ditto.
(i386_record_push): New function.  Record the execution log
of push.
(I386_RECORD_ARCH_LIST_ADD_REG): New macro to record the
register.
(i386_process_record): Support AMD64 instruction set.
* amd64-tdep.c (amd64_record_regmap): For record_regmap.
(amd64_init_abi): Set amd64_record_regmap to record_regmap.

15 years agoRevert the previous change.
Doug Kwan [Mon, 10 Aug 2009 02:29:30 +0000 (02:29 +0000)]
Revert the previous change.

http://sourceware.org/ml/binutils-cvs/2009-08/msg00043.html

15 years ago*** empty log message ***
gdbadmin [Mon, 10 Aug 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
Alan Modra [Mon, 10 Aug 2009 00:00:06 +0000 (00:00 +0000)]
daily update

15 years agobfd/
Bernd Schmidt [Sun, 9 Aug 2009 16:45:05 +0000 (16:45 +0000)]
bfd/
From Mike Frysinger <michael.frysinger@analog.com>
* elf32-bfin.c (bfin_howto_table, bfin_reloc_map, bfin_check_relocs,
bfin_final_link_relocate, bfin_relocate_section, bfin_gc_sweep_hook,
_bfinfdpic_emit_got_relocs_plt_entries, bfinfdpic_relocate_section,
bfinfdpic_gc_sweep_hook, bfinfdpic_check_relocs,
bfin_finish_dynamic_symbol, bfd_bfin_elf32_create_embedded_relocs):
Adjust to match the renamed reloc definitions.

gas/testsuite/
From Mike Frysinger <michael.frysinger@analog.com>
* gas/bfin/reloc.d: Adjust for the renamed relocations.

include/elf/
From Mike Frysinger <michael.frysinger@analog.com>
* bfin.h (R_BFIN_UNUSED, R_BFIN_PCREL5M2, R_BFIN_UNUSED1,
R_BFIN_PCREL10, R_BFIN_PCREL12_JUMP, R_BFIN_RIMM16,
R_BFIN_LUIMM16, R_BFIN_HUIMM16, R_BFIN_PCREL12_JUMP_S,
R_BFIN_PCREL24_JUMP_X, R_BFIN_PCREL24, R_BFIN_UNUSEDB,
R_BFIN_UNUSEDC, R_BFIN_PCREL24_JUMP_L, R_BFIN_PCREL24_CALL_X,
R_BFIN_VAR_EQ_SYMB, R_BFIN_BYTE_DATA, R_BFIN_BYTE2_DATA,
R_BFIN_BYTE4_DATA, R_BFIN_PCREL11, R_BFIN_PUSH, R_BFIN_CONST,
R_BFIN_ADD, R_BFIN_SUB, R_BFIN_MULT, R_BFIN_DIV, R_BFIN_MOD,
R_BFIN_LSHIFT, R_BFIN_RSHIFT, R_BFIN_AND, R_BFIN_OR, R_BFIN_XOR,
R_BFIN_LAND, R_BFIN_LOR, R_BFIN_LEN, R_BFIN_NEG, R_BFIN_COMP,
R_BFIN_PAGE, R_BFIN_HWPAGE, R_BFIN_ADDR, R_BFIN_PLTPLC,
R_BFIN_GOT, R_BFIN_MAX): Renamed from R_unused0, R_pcrel5ms,
R_unused1, R_pcrel10, R_pcrel12_jump, R_rimm16, R_luimm16,
R_huimm16, R_pcrel12_jump_s, R_pcrel24_jump_x, R_pcrel24,
R_unusedb, R_unusedc, R_pcrel24_jump_l, R_pcrel24_call_x,
R_var_eq_symb, R_byte_data, R_byte2_data, R_byte4_data, R_pcrel11,
R_push, R_const, R_add, R_sub, R_mult, R_div, R_mod, R_lshift,
R_rshift, R_and, R_or, R_xor, R_land, R_lor, R_len, R_neg, R_comp,
R_page, R_hwpage, R_addr, R_pltpc, R_got.

15 years agoAdd EM_resnnn, new EM_ entries, change EM_MICROBLAZE.
Michael Eager [Sun, 9 Aug 2009 13:42:26 +0000 (13:42 +0000)]
Add EM_resnnn, new EM_ entries, change EM_MICROBLAZE.

15 years ago*** empty log message ***
gdbadmin [Sun, 9 Aug 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
Alan Modra [Sun, 9 Aug 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago * bfd-target.c (struct target_bfd_data): New.
Pedro Alves [Sat, 8 Aug 2009 16:32:37 +0000 (16:32 +0000)]
* bfd-target.c (struct target_bfd_data): New.
(target_bfd_xfer_partial): Adjust to get at the section table from
the new structure.
(target_bfd_get_section_table): Ditto.
(target_bfd_xclose): Ditto.  Get the bfd pointer from the
target_bfd_data structure, from the section table.
(target_bfd_reopen): Store a struct target_bfd_data in the
target_ops to_data field, instead of a target_section_table.

15 years ago2009-08-08 Aleksandar Ristovski <aristovski@qnx.com>
Hui Zhu [Sat, 8 Aug 2009 01:57:44 +0000 (01:57 +0000)]
2009-08-08  Aleksandar Ristovski  <aristovski@qnx.com>
            Hui Zhu  <teawater@gmail.com>

* record.c (record_store_registers): Remove unused variable.

15 years ago PR 10494
Alan Modra [Sat, 8 Aug 2009 01:43:28 +0000 (01:43 +0000)]
PR 10494
* elf.c (_bfd_elf_make_section_from_shdr): When setting up section
LMAs, use ELF_IS_SECTION_IN_SEGMENT to match sections with headers.

15 years ago*** empty log message ***
gdbadmin [Sat, 8 Aug 2009 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
Alan Modra [Sat, 8 Aug 2009 00:00:06 +0000 (00:00 +0000)]
daily update

15 years agogdb
Tom Tromey [Fri, 7 Aug 2009 23:28:13 +0000 (23:28 +0000)]
gdb
* language.c (set_language_command): Strip whitespace.
(set_type_command): Likewise.
(set_range_command): Likewise.
gdb/testsuite
* gdb.base/setshow.exp: Add tests for changes to set language, set
check range, and set check type.

15 years ago PR gdb/8869:
Tom Tromey [Fri, 7 Aug 2009 20:44:15 +0000 (20:44 +0000)]
PR gdb/8869:
* language.c (language_completer): New function.
(range_or_type_completer): New function.
(case_completer): New function.
(_initialize_language): Set completers.
* cli/cli-decode.c (add_setshow_string_cmd): Return the "set"
command.
(add_setshow_string_noescape_cmd): Likewise.
(add_setshow_integer_cmd): Likewise.
(add_setshow_uinteger_cmd): Likewise.
(add_setshow_zinteger_cmd): Likewise.
(add_setshow_zuinteger_cmd): Likewise.
* command.h (add_setshow_string_cmd,
add_setshow_string_noescape_cmd, add_setshow_uinteger_cmd,
add_setshow_zinteger_cmd, add_setshow_zuinteger_cmd): Update.

15 years ago binutils/testsuite/
Daniel Jacobowitz [Fri, 7 Aug 2009 19:32:06 +0000 (19:32 +0000)]
binutils/testsuite/
* binutils-all/testranges.s: Use %progbits.  Use ";#" for comments.

15 years ago gas/
Daniel Jacobowitz [Fri, 7 Aug 2009 19:30:31 +0000 (19:30 +0000)]
gas/
* config/tc-arm.c (marked_pr_dependency, mapstate): Delete global
variables.
(mapping_state): Use the section's mapstate.
(mapping_state_2): Likewise.  Skip special sections.
(s_arm_unwind_fnend): Use the section's marked_pr_dependency.
(arm_elf_change_section): Do not set deleted globals.
* config/tc-arm.h (struct arm_segment_info_type): Document
marked_pr_dependency.

gas/testsuite/
* gas/arm/mapping2.s: Test code after .ident.

15 years ago*** empty log message ***
Sriraman Tallam [Fri, 7 Aug 2009 18:48:44 +0000 (18:48 +0000)]
*** empty log message ***

15 years ago*** empty log message ***
Sriraman Tallam [Fri, 7 Aug 2009 18:29:54 +0000 (18:29 +0000)]
*** empty log message ***

15 years ago * elf32-microblaze.c (microblaze_elf_check_relocs): Avoid strict
Tom Tromey [Fri, 7 Aug 2009 17:10:43 +0000 (17:10 +0000)]
* elf32-microblaze.c (microblaze_elf_check_relocs): Avoid strict
aliasing error.

15 years agoMention MicroBlaze.
Michael Eager [Fri, 7 Aug 2009 12:12:52 +0000 (12:12 +0000)]
Mention MicroBlaze.

15 years agomissed from last commit
Alan Modra [Fri, 7 Aug 2009 06:26:33 +0000 (06:26 +0000)]
missed from last commit

15 years ago*** empty log message ***
gdbadmin [Fri, 7 Aug 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
Alan Modra [Fri, 7 Aug 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago2009-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
Paul Pluzhnikov [Thu, 6 Aug 2009 23:25:49 +0000 (23:25 +0000)]
2009-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>

gold/10400
* dwarf2-frame.c (qsort_fde_cmp): Use stable sort.

15 years ago2009-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
Paul Pluzhnikov [Thu, 6 Aug 2009 23:19:47 +0000 (23:19 +0000)]
2009-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>

* dwarf2-frame.c (struct dwarf2_cie): Remove 'next'.
(struct dwarf2_cie_table): New.
(struct dwarf2_fde): Remove 'next'.
(struct dwarf2_fde_table): New.
(struct comp_unit): Remove 'cie'.
(bsearch_cie_cmp, bsearch_fde_cmp): New function.
(find_cie, dwarf2_frame_find_fde): Use bsearch.
(add_cie, add_fde): Use array instead of linked list.
(decode_frame_entry, decode_frame_entry_1): New parameters.
(qsort_fde_cmp): New function.
(dwarf2_build_frame_info): Adjust.

15 years ago(Server Prefix): Explain that server prefix suppresses
Nick Roberts [Thu, 6 Aug 2009 23:08:16 +0000 (23:08 +0000)]
(Server Prefix): Explain that server prefix suppresses
confirmation request.

15 years ago*** empty log message ***
Nick Roberts [Thu, 6 Aug 2009 23:06:54 +0000 (23:06 +0000)]
*** empty log message ***

15 years ago * configure.ac: Add Microblaze target.
Nick Clifton [Thu, 6 Aug 2009 17:46:43 +0000 (17:46 +0000)]
    * configure.ac: Add Microblaze target.
        * configure: Regenerate.

15 years ago Add support for Xilinx MicroBlaze processor.
Nick Clifton [Thu, 6 Aug 2009 17:38:04 +0000 (17:38 +0000)]
    Add support for Xilinx MicroBlaze processor.

        * bfd/Makefile.am: Add cpu-microblaze.{lo,c}, elf32-microblaze.{lo,c}.
        * bfd/Makefile.in: Same.
        * bfd/archures.c: Add bfd_arch_microblaze.
        * bfd/bfd-in2.h: Regenerate.
        * bfd/config.bfd: Add microblaze target.
        * bfd/configure: Add bfd_elf32_microblaze_vec target.
        * bfd/configure.in: Same.
        * bfd/cpu-microblaze.c: New.
        * bfd/elf32-microblaze.c: New.
        * bfd/libbfd-in.h: Add prototype _bfd_dwarf2_fixup_section_debug_loc().
        * bfd/libbfd.h: Regenerate.
        * bfd/reloc.c: Add MICROBLAZE relocations.
        * bfd/section.c: Add struct relax_table and relax_count to section.
        * bfd/targets.c: Add bfd_elf32_microblaze_vec.
        * binutils/MAINTAINERS: Add self as maintainer.
        * binutils/readelf.c: Include elf/microblaze.h, add EM_MICROBLAZE &
        EM_MICROBLAZE_OLD to guess_is_rela(), dump_relocations(),
        get_machine_name().
        * config.sub: Add microblaze target.
        * configure: Same.
        * configure.ac: Same.
        * gas/Makefile.am: add microblaze to CPU_TYPES, config/tc-microblaze.c to
        TARGET_CPU_CFILES, config/tc-microblaze.h to TARGET_CPU_HFILES, add
        DEP_microblaze_elf target.
        * gas/Makefile.in: Same.
        * gas/config/tc-microblaze.c: Add MicroBlaze assembler.
        * gas/config/tc-microblaze.h: Add header for tc-microblaze.c.
        * gas/configure: Add microblaze target.
        * gas/configure.in: Same.
        * gas/configure.tgt: Same.
        * gas/doc/Makefile.am: Add c-microblaze.texi to CPU_DOCS.
        * gas/doc/Makefile.in: Same.
        * gas/doc/all.texi: Set MICROBLAZE.
        * gas/doc/as.texinfo: Add MicroBlaze doc links.
        * gas/doc/c-microblaze.texi: New MicroBlaze docs.
        * include/dis-asm.h: Decl print_insn_microblaze().
        * include/elf/common.h: Define EM_MICROBLAZE & EM_MICROBLAZE_OLD.
        * include/elf/microblaze.h: New reloc definitions.
        * ld/Makefile.am: Add eelf32mb_linux.o, eelf32microblaze.o to
        ALL_EMULATIONS, targets.
        * ld/Makefile.in: Same.
        * ld/configure.tgt: Add microblaze*-linux*, microblaze* targets.
        * ld/emulparams/elf32mb_linux.sh: New.
        * ld/emulparams/elf32microblaze.sh. New.
        * ld/scripttempl/elfmicroblaze.sc: New.
        * opcodes/Makefile.am: Add microblaze-opc.h to HFILES, microblaze-dis.c to
        CFILES, microblaze-dis.lo to ALL_MACHINES, targets.
        * opcodes/Makefile.in: Same.
        * opcodes/configure: Add bfd_microblaze_arch target.
        * opcodes/configure.in: Same.
        * opcodes/disassemble.c: Define ARCH_microblaze, return
        print_insn_microblaze().
        * opcodes/microblaze-dis.c: New MicroBlaze disassembler.
        * opcodes/microblaze-opc.h: New MicroBlaze opcode definitions.
        * opcodes/microblaze-opcm.h: New MicroBlaze opcode types.

15 years agoCorrect date.
H.J. Lu [Thu, 6 Aug 2009 16:23:30 +0000 (16:23 +0000)]
Correct date.

15 years ago2009-08-03 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 6 Aug 2009 16:22:36 +0000 (16:22 +0000)]
2009-08-03  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/10492
* binutils-all/objcopy.exp: Run strip-10.

* binutils-all/strip-10.d: New.
* binutils-all/unique.s: Likewise.

15 years ago PR binutils/10492
Jakub Jelinek [Thu, 6 Aug 2009 13:08:24 +0000 (13:08 +0000)]
PR binutils/10492
* elf.c (sym_is_global): Return true even for BSF_GNU_UNIQUE
symbols.
* elf32-mips.c (mips_elf_sym_is_global): Likewise.
* elfn32-mips.c (mips_elf_sym_is_global): Likewise.

15 years ago bfd/
Nathan Sidwell [Thu, 6 Aug 2009 13:05:24 +0000 (13:05 +0000)]
bfd/
* elf32-arm.c (elf32_arm_size_stubs): Call layout_sections_again
at least once when fixing cortex-a8.

ld/testsuite/
* ld-arm/arm-elf.exp: Add new test.
* ld-arm/cortex-a8-fix-hdr.d: New.
* ld-arm/cortex-a8-fix-hdr.s: New.
* ld-arm/cortex-a8-fix-hdr.t: New.

15 years ago * score-tdep.c: Support a new Sunplus CT S+core variant, S+core 3.
Don Lee [Thu, 6 Aug 2009 10:28:38 +0000 (10:28 +0000)]
* score-tdep.c: Support a new Sunplus CT S+core variant, S+core 3.
* score-tdep.h: Ditto.
* NEWS: Ditto.
* configure.tgt: Test do we have a simulator.
* MAINTAINERS: Add myself under target score

15 years ago * config/tc-arm.c (md_assemble): Call mapping_state from inside a
Nick Clifton [Thu, 6 Aug 2009 10:10:50 +0000 (10:10 +0000)]
    * config/tc-arm.c (md_assemble): Call mapping_state from inside a
        block in case it is a null macro.

15 years ago(defaulted_query): Don't ask for confirmation if server
Nick Roberts [Thu, 6 Aug 2009 08:19:58 +0000 (08:19 +0000)]
(defaulted_query): Don't ask for confirmation if server
prefix is used.

15 years ago*** empty log message ***
Nick Roberts [Thu, 6 Aug 2009 08:11:22 +0000 (08:11 +0000)]
*** empty log message ***

15 years agodaily update
Alan Modra [Thu, 6 Aug 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Thu, 6 Aug 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago2009-08-05 Chao-ying Fu <fu@mips.com>
Chao-ying Fu [Wed, 5 Aug 2009 21:24:21 +0000 (21:24 +0000)]
2009-08-05  Chao-ying Fu  <fu@mips.com>

* gas/mips/jal-svr4pic.d, gas/mips/jal-xgot.d,
gas/mips/mips-abi32-pic2.d: Add R_MIPS_JALR relocations after jalr.

15 years ago2009-08-05 Chao-ying Fu <fu@mips.com>
Chao-ying Fu [Wed, 5 Aug 2009 21:22:15 +0000 (21:22 +0000)]
2009-08-05  Chao-ying Fu  <fu@mips.com>

* config/tc-mips.c (MIPS_JALR_HINT_P): New define. For IRIX, it is
true for new abi.  For non-IRIX targets, it is always true.
(macro_build_jalr): If MIPS_JALR_HINT_P, emit BFD_RELOC_MIPS_JALR.

15 years ago2009-08-05 Chao-ying Fu <fu@mips.com>
Chao-ying Fu [Wed, 5 Aug 2009 21:17:51 +0000 (21:17 +0000)]
2009-08-05  Chao-ying Fu  <fu@mips.com>

* elf32-mips.c (mips_reloc_map): Add BFD_RELOC_MIPS_JALR.
* elfxx-mips.c (JAL_TO_BAL_P): New define to transform JAL to BAL
for CPUs.  It is true for RM9000.
(JALR_TO_BAL_P): New define to transform JALR to BAL.  It is true
for all CPUs.
(mips_elf_perform_relocation): Use JAL_TO_BAL_P and JALR_TO_BAL_P
to guard the transformation.

15 years ago*** empty log message ***
Sriraman Tallam [Wed, 5 Aug 2009 20:51:56 +0000 (20:51 +0000)]
*** empty log message ***

15 years agobfd/
Trevor Smigiel [Wed, 5 Aug 2009 20:40:34 +0000 (20:40 +0000)]
bfd/
* elf32-spu.h (spu_elf_params): Add member emit_fixups.
(spu_elf_size_sections): Declare prototype.
* elf32-spu.c (spu_link_hash_table): Add member sfixup.
(FIXUP_RECORD_SIZE, FIXUP_GET, FIXUP_PUT): New macros.
(spu_elf_emit_fixup): New function.
(spu_elf_relocate_section): Emit fixup for each SPU_ADDR32.
(spu_elf_size_sections): New function.
ld/
* emulparams/elf32_spu.sh (OTHER_READONLY_SECTIONS): Add .fixup
section and __fixup_start symbol.
* emultempl/spuelf.em (params): Initialize emit_fixups member.
(spu_before_allocation): Call spu_elf_size_sections.
(OPTION_SPU_EMIT_FIXUPS): Define.
(PARSE_AND_LIST_LONGOPTS): Add --emit-fixups.
(PARSE_AND_LIST_ARGS_CASES): Handle --emit-fixups.
* ld.texinfo (--emit-fixups): Document.
ld/testsuite/
* ld-spu/fixup.d: New.
* ld-spu/fixup.s: New.

15 years ago * gdb.texinfo (Separate Debug Files, Remote Protocol): Clarified
Eli Zaretskii [Wed, 5 Aug 2009 17:47:09 +0000 (17:47 +0000)]
    * gdb.texinfo (Separate Debug Files, Remote Protocol): Clarified
        CRC definitions.

15 years ago * spu-tdep.h (SPUADDR_SPU): Cast result to int.
Tom Tromey [Wed, 5 Aug 2009 15:11:45 +0000 (15:11 +0000)]
* spu-tdep.h (SPUADDR_SPU): Cast result to int.

15 years ago/gas:
Eric B. Weddington [Wed, 5 Aug 2009 12:47:33 +0000 (12:47 +0000)]
/gas:
2009-08-05  Eric B. Weddington  <eric.weddington@atmel.com>

* config/tc-avr.c (mcu_types): Add attiny2313a, attiny4313, attiny261a,
attiny861a, atmega644pa, attiny24a, attiny44a.
* doc/c-avr.texi: Likewise.

15 years ago bfd/
Nathan Sidwell [Wed, 5 Aug 2009 12:36:14 +0000 (12:36 +0000)]
bfd/
* elf32-arm.c (elf32_arm_stub_type): Add arm_stub_a8_veneer_lwm.
(arm_build_one_stub): Build a8 veneers as a separate pass.
(cortex_a8_erratum_scan): Add prev_num_a8_fixes and stub_changed_p
parameters.  Use them to check if we create a different a8 fixup
than the previous pass.
(elf32_arm_size_stubs): Move scope of stub_changed and
prev_num_a8_fixes into main loop.
(elf32_arm_build_stubs): Build a8 veneers in a second pass.

ld/testsuite/
* ld-arm/cortex-a8-far-1.s: New.
* ld-arm/cortex-a8-far-2.s: New.
* ld-arm/cortex-a8-far.d: New.
* ld-arm/arm-elf.exp: Add new test.

15 years ago2009-08-04 Sandra Loosemore <sandra@codesourcery.com>
Sandra Loosemore [Wed, 5 Aug 2009 00:44:01 +0000 (00:44 +0000)]
2009-08-04  Sandra Loosemore  <sandra@codesourcery.com>

gas/
* doc/c-mips.texi (MIPS Opts): List 1004K options for -march.
* config/tc-mips.c (mips_cpu_info_table): Add 1004K cores.

15 years ago*** empty log message ***
gdbadmin [Wed, 5 Aug 2009 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
Alan Modra [Wed, 5 Aug 2009 00:00:11 +0000 (00:00 +0000)]
daily update

15 years ago2009-08-04 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
Thiago Jung Bauermann [Tue, 4 Aug 2009 20:41:13 +0000 (20:41 +0000)]
2009-08-04  Thiago Jung Bauermann  <thiago.bauermann@gmail.com>

gdb/
* linux-tdep.c (check_is_pie_binary,
_initialize_linux_tdep): New functions.

gdb/testsuite/
* gdb.base/pie-support.exp: New file.
* gdb.base/pie-support.c: New file.

15 years ago2009-08-04 Paul Pluzhnikov <ppluzhnikov@google.com>
Paul Pluzhnikov [Tue, 4 Aug 2009 18:46:05 +0000 (18:46 +0000)]
2009-08-04  Paul Pluzhnikov  <ppluzhnikov@google.com>

* objfiles.h (OBJF_KEEPBFD): Delete.
(gdb_bfd_unref): New prototype.
* objfiles.c (gdb_bfd_unref): New function.
(free_objfile): Call gdb_bfd_unref.
* solib.c (free_so): Likewise.
(symbol_add_stub): Set refcount.

15 years ago2009-08-04 Hui Zhu <teawater@gmail.com>
Michael Snyder [Tue, 4 Aug 2009 18:19:52 +0000 (18:19 +0000)]
2009-08-04  Hui Zhu  <teawater@gmail.com>
    Michael Snyder  <msnyder@vmware.com>

* record.c (record_mem_entry): New field 'mem_entry_not_accessible'.
(record_arch_list_add_mem): Initialize 'mem_entry_not_accessible'.
(record_wait): Set 'mem_entry_not_accessible' flag if target
memory not readable.  Don't try to change target memory if
'mem_entry_not_accessible' is set.

15 years ago * config/tc-arm.c (my_get_expression): Detect missing expressions.
Nathan Sidwell [Tue, 4 Aug 2009 14:56:10 +0000 (14:56 +0000)]
* config/tc-arm.c (my_get_expression): Detect missing expressions.

testsuite/
* gas/arm/missing.s: New.
* gas/arm/missing.d: New.
* gas/arm/missing.l: New.

15 years ago PR 10474
Alan Modra [Tue, 4 Aug 2009 08:15:24 +0000 (08:15 +0000)]
    PR 10474
* emultempl/ppc32elf.em (ppc_before_allocation): Test rawsize,
not size, after lang_reset_memory_regions.