Tristan Gingold
249a777b4c
2011-08-04 Tristan Gingold <gingold@adacore.com>
...
* config/obj-elf.c (obj_elf_section): Do not free name.
2011-08-04 07:44:44 +00:00
Alan Modra
93845b7514
daily update
2011-08-04 00:00:05 +00:00
gdbadmin
cb9785bfb0
*** empty log message ***
2011-08-04 00:00:03 +00:00
Philippe Waroquiers
934709f0f2
2011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
...
* breakpoint.c (update_global_location_list): Ensure
invariant 'first loc marked not duplicated and inserted,
following locs marked duplicated/not inserted' is respected
for multiple locations at the same address.
(unduplicated_should_be_inserted) New function.
(swap_insertion) New function.
2011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
* gdb.base/break-always.exp: Complete the test
with duplicated breakpoints and enabling/disabling them.
2011-08-03 21:17:09 +00:00
Maciej W. Rozycki
7c176fa823
* mips.h: Document the use of FP_D in MIPS16 mode. Adjust the
...
order of flags documented.
2011-08-03 21:09:46 +00:00
Jan Kratochvil
2421fe6f20
gdb/
...
* stack.c (print_frame_arguments_choices): Comment typo fix.
2011-08-03 15:17:10 +00:00
Nick Clifton
877807f8c4
* config/tc-arm.c (do_t_strexbh): New.
...
(insns): Update accordingly.
* gas/arm/strex-bad-t.d: New testcase.
* gas/arm/strex-bad-t.s: Likewise.
* gas/arm/strex-bad-t.l: Likewise.
* gas/arm/strex-t.s: Likewise.
* gas/arm/strex-t.d: Likewise.
2011-08-03 11:35:56 +00:00
Tristan Gingold
092d27ff47
2011-08-03 Tristan Gingold <gingold@adacore.com>
...
* mach-o.c (bfd_mach_o_canonicalize_symtab): Handle no symbols case.
(bfd_mach_o_read_symtab_symbols): Return if no symbols.
2011-08-03 08:12:07 +00:00
Alan Modra
6a1214e843
daily update
2011-08-03 00:00:05 +00:00
gdbadmin
67a9152d2e
*** empty log message ***
2011-08-03 00:00:03 +00:00
Tom Tromey
c26106c40a
PR gdb/11289:
...
* gdb.cp/overload.exp: Fix regexps. Remove kfails.
2011-08-02 20:59:44 +00:00
Quentin Neill
3929df0978
opcodes/
...
2011-08-02 Quentin Neill <quentin.neill@amd.com>
* i386-dis.c (xop_table): Remove spurious bextr insn.
2011-08-02 19:58:06 +00:00
Cary Coutant
9370ce59d1
Fix timestamps in three ChangeLog entries with wrong year.
2011-08-02 18:47:07 +00:00
Maciej W. Rozycki
80cab405aa
* elfxx-mips.c (check_4byte_branch): Remove function.
...
(check_relocated_bzc): New function.
(_bfd_mips_elf_relax_section): Permit the relaxation of LUI
instructions that immediately follow a compact branch
instruction.
2011-08-02 14:28:26 +00:00
Alan Modra
c7131b65ce
* elf64-ppc.c (build_plt_stub): Correct emitted relocs when no
...
plt_static_chain.
(ppc_build_one_stub): Adjust get_relocs call to suit..
(ppc_size_one_stub): ..and reloc sizing. Correct plt size corner case.
2011-08-02 04:44:45 +00:00
H.J. Lu
1164d29ab1
Add missing files.
2011-08-02 00:37:41 +00:00
Alan Modra
6fe94adbb6
daily update
2011-08-02 00:00:07 +00:00
gdbadmin
f997034fef
*** empty log message ***
2011-08-02 00:00:03 +00:00
H.J. Lu
d7921315ba
Check R_X86_64_32 overflow and allow R_X86_64_64 for x32.
...
bfd/
2011-08-01 H.J. Lu <hongjiu.lu@intel.com>
PR ld/13048
* archures.c (bfd_mach_i386_intel_syntax): New.
(bfd_mach_i386_i8086): Updated.
(bfd_mach_i386_i386): Likewise.
(bfd_mach_x86_64): Likewise.
(bfd_mach_x64_32): Likewise.
(bfd_mach_i386_i386_intel_syntax): Likewise.
(bfd_mach_x86_64_intel_syntax): Likewise.
(bfd_mach_x64_32_intel_syntax): Likewise.
(bfd_mach_l1om): Likewise.
(bfd_mach_l1om_intel_syntax): Likewise.
(bfd_mach_k1om): Likewise.
(bfd_mach_k1om_intel_syntax): Likewise.
* bfd-in2.h: Regenerated.
* cpu-i386.c (bfd_i386_compatible): Check mach instead of
bits_per_address.
(bfd_x64_32_arch_intel_syntax): Set bits_per_address to 64.
(bfd_x64_32_arch): Likewise.
* elf64-x86-64.c: Include "libiberty.h".
(x86_64_elf_howto_table): Append x32 R_X86_64_32.
(elf_x86_64_rtype_to_howto): Support x32 R_X86_64_32.
(elf_x86_64_reloc_type_lookup): Likewise.
(elf_x86_64_reloc_name_lookup): Likewise.
(elf_x86_64_relocate_section): Likewise.
(elf_x86_64_check_relocs): Allow R_X86_64_64 relocations for x32.
gas/
2011-08-01 H.J. Lu <hongjiu.lu@intel.com>
PR ld/13048
* config/tc-i386.c (handle_quad): Removed.
(md_pseudo_table): Remove "quad".
(tc_gen_reloc): Don't check BFD_RELOC_64 for disallow_64bit_reloc.
(x86_dwarf2_addr_size): New.
* config/tc-i386.h (x86_dwarf2_addr_size): New.
(DWARF2_ADDR_SIZE): Likewise.
gas/testsuite/
2011-08-01 H.J. Lu <hongjiu.lu@intel.com>
PR ld/13048
* gas/i386/ilp32/ilp32.exp: Don't run inval.
* gas/i386/ilp32/inval.l: Removed.
* gas/i386/ilp32/inval.s: Likewise.
* gas/i386/ilp32/quad.d: Expect R_X86_64_64 instead of
R_X86_64_32.
* gas/i386/ilp32/x86-64-pcrel.s: Add tests for movabs.
* gas/i386/ilp32/x86-64-pcrel.d: Updated.
ld/testsuite/
2011-08-01 H.J. Lu <hongjiu.lu@intel.com>
PR ld/13048
* ld-x86-64/ilp32-6.d: New.
* ld-x86-64/ilp32-6.s: Likewise.
* ld-x86-64/ilp32-7.d: Likewise.
* ld-x86-64/ilp32-7.s: Likewise.
* ld-x86-64/ilp32-8.d: Likewise.
* ld-x86-64/ilp32-8.s: Likewise.
* ld-x86-64/ilp32-9.d: Likewise.
* ld-x86-64/ilp32-9.s: Likewise.
* ld-x86-64/x86-64.exp: Run ilp32-6, ilp32-7, ilp32-8 and ilp32-9.
opcodes/
2011-08-01 H.J. Lu <hongjiu.lu@intel.com>
PR ld/13048
* i386-dis.c (print_insn): Optimize info->mach check.
2011-08-01 23:04:23 +00:00
Cary Coutant
c3f7b0e5a1
* gold/testsuite/Makefile.am (justsyms_exec): New testcase.
...
* gold/testsuite/Makefile.in: Regenerate.
* gold/testsuite/justsyms_exec.c: New source file.
* gold/testsuite/justsyms_lib.c: New source file.
2011-08-01 20:09:25 +00:00
H.J. Lu
00f51a41a8
Add Disp32S to 64bit call.
...
gas/testsuite/
2011-08-01 H.J. Lu <hongjiu.lu@intel.com>
PR gas/13046
* gas/i386/x86-64-branch.s: Add tests for direct branch.
* gas/i386/x86-64-branch.d: Updated.
* gas/i386/ilp32/x86-64-branch.d: Likewise.
opcodes/
2011-08-01 H.J. Lu <hongjiu.lu@intel.com>
PR gas/13046
* i386-opc.tbl: Add Disp32S to 64bit call.
* i386-tbl.h: Regenerated.
2011-08-01 19:25:48 +00:00
Thiago Jung Bauermann
3fbb6ffa98
Revert:
...
2011-07-31 Thiago Jung Bauermann <bauerman@br.ibm.com>
* breakpoint.c (insert_bp_location): Remove disabled_breaks
argument. Update callers.
2011-08-01 18:45:49 +00:00
Cary Coutant
9590bf2544
* layout.cc (Layout::set_segment_offsets): Don't realign text
...
segment if -Ttext was specified.
* object.cc (Sized_relobj_file::Sized_relobj_file): Store the ELF
file type.
* object.h (Sized_relobj_file::e_type): New function.
(Sized_relobj_file::e_type_): New data member.
* symtab.cc (Symbol_table::add_from_relobj): Don't add section
base address for ET_EXEC files.
* target.cc (Target::do_make_elf_object_implementation): Allow
ET_EXEC files with --just-symbols option.
2011-08-01 18:25:22 +00:00
Paul Pluzhnikov
9300444e01
fix date of last checkin
2011-08-01 16:03:06 +00:00
Paul Pluzhnikov
fbe12357d4
2011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
...
PR gdb/13045
* doublest.c (convert_doublest_to_floatformat): Pass correct
mantissa length to put_field.
testsuite/ChangeLog:
2011-07-30 Paul Pluzhnikov <ppluzhnikov@google.com>
PR gdb/13045
* gdb.base/float.exp: Add new test case for PR gdb/13045
* gdb.base/float.c: New file.
2011-08-01 16:02:03 +00:00
Jan Kratochvil
b1d288d356
gdb/
...
* stack.c (do_gdb_disassembly): Use RETURN_MASK_ERROR, simplify the
exception_print code path.
(backtrace_command): Remove variable e. Protect arg by make_cleanup in
advance. Simplify memset. Remove TRY_CATCH. Remove explicit xfree.
(backtrace_full_command): Remove variable e. Remove TRY_CATCH.
2011-08-01 14:57:48 +00:00
Jan Kratochvil
311b597087
gdb/
...
Code cleanup.
* stack.c (struct print_stack_frame_args, print_stack_frame_stub):
Remove, merge them into ...
(print_stack_frame): ... here with a TRY_CATCH. New variable e, remove
variable args and its initialization.
(struct print_args_args, print_args_stub): Remove, merge them into
print_frame.
(struct gdb_disassembly_stub_args, gdb_disassembly_stub): Remove, merge
them into ...
(do_gdb_disassembly): ... here. Remove variable args and its
initialization.
(print_frame): Remove variable args and its initialization, new
variable gdbarch and numargs (from print_args_stub), inline here
print_args_stub with a TRY_CATCH.
(struct backtrace_command_args, backtrace_command_stub): Remove, merge
them into ...
(backtrace_command, backtrace_full_command): ... here with a TRY_CATCH.
New variable e, remove variable btargs and its initialization.
2011-08-01 14:56:57 +00:00
Tristan Gingold
484a26a8cb
2011-08-01 Tristan Gingold <gingold@adacore.com>
...
* darwin-nat.c (darwin_decode_exception_message): Adjust assertion.
2011-08-01 14:07:09 +00:00
Nick Clifton
a8040cf231
PR ld/12974
...
* config/tc-arm.c (literal_pool): Add locs field.
(add_to_lit_pool): Initialise the locs entry for the new literal.
(s_ltorg): Generate a DWARF2 line number entry for each emitted
literal pool entry.
2011-08-01 11:27:14 +00:00
Tristan Gingold
1596988d53
2011-08-01 Tristan Gingold <gingold@adacore.com>
...
* write.c (write_relocs): Fix -Wshadow in DEBUG3 and DEBUG4.
2011-08-01 09:05:40 +00:00
Tristan Gingold
8d8385cfb8
2011-08-01 Tristan Gingold <gingold@adacore.com>
...
* frags.c (frag_grow): Simplify the code.
2011-08-01 08:05:49 +00:00
Alan Modra
d2421a70c1
daily update
2011-08-01 00:00:06 +00:00
gdbadmin
21b4fb0bd7
*** empty log message ***
2011-08-01 00:00:03 +00:00
Thiago Jung Bauermann
c30eee59c8
* breakpoint.c (insert_bp_location): Document return value.
...
(insert_breakpoint_locations): Fix documentation.
(remove_breakpoints): Add documentation.
2011-07-31 20:31:16 +00:00
Thiago Jung Bauermann
f116073bc3
* breakpoint.c (insert_bp_location): Remove disabled_breaks
...
argument. Update callers.
2011-07-31 20:29:33 +00:00
H.J. Lu
31ba042a69
Sync with gcc.
...
2011-07-26 H.J. Lu <hongjiu.lu@intel.com>
* testsuite/demangle-expected: Remove an extra line.
2011-07-31 19:57:23 +00:00
gdbadmin
98829260ac
*** empty log message ***
2011-07-31 00:00:32 +00:00
Alan Modra
f4d2b76f56
daily update
2011-07-31 00:00:06 +00:00
Jan Kratochvil
65aa373f6f
gdb/
...
* stack.c (print_frame_info): Comment typo fix.
2011-07-30 22:31:19 +00:00
Richard Sandiford
c310919936
gas/
...
* config/tc-mips.c (nops_for_vr4130): Revert previous commit.
2011-07-30 06:28:22 +00:00
Alan Modra
5db376f55d
daily update
2011-07-30 00:00:05 +00:00
gdbadmin
b3ffe92bdc
*** empty log message ***
2011-07-30 00:00:02 +00:00
Maciej W. Rozycki
f41e5fcc2a
* elfxx-mips.c (check_br32): Fix return type.
2011-07-29 22:56:57 +00:00
Maciej W. Rozycki
c088dedf73
* elfxx-mips.c (bz_insn_16): Correct opcode mask.
2011-07-29 22:52:21 +00:00
Maciej W. Rozycki
2309ddf222
bfd/
...
* elfxx-mips.c: Adjust comments throughout.
(mips_elf_relax_delete_bytes): Reshape code.
(_bfd_mips_elf_relax_section): Remove check for
R_MICROMIPS_GPREL16 relocations. Reshape code.
gas/
* config/tc-mips.c: Adjust comments throughout.
(reglist_lookup): Reshape code.
(jmp_reloc_p, jalr_reloc_p): Reformat.
(got16_reloc_p, hi16_reloc_p, lo16_reloc_p): Handle microMIPS
relocations.
(gpr_mod_mask): Remove unused variable.
(gpr_read_mask, gpr_write_mask): Reshape code.
(fpr_read_mask, fpr_write_mask): Likewise.
(nops_for_vr4130): Ensure non-microMIPS mode.
(can_swap_branch_p): Correct pinfo2 reference. Reshape code.
(append_insn): Skip Loongson 2F workaround in MIPS16 mode. Use
the outermost operator of a compound relocation to determines
the relocated field. Fix formatting.
(md_convert_frag): Reshape code.
include/opcode/
* mips.h: Clarify the description of microMIPS instruction
manipulation macros.
(MICROMIPSOP_MASK_MAJOR, MICROMIPSOP_SH_MAJOR): Remove macros.
2011-07-29 22:46:29 +00:00
Sterling Augustine
a50242fb51
2011-07-29 Sterling Augustine <saugustine@google.com>
...
* MAINTAINERS (Write After Approval): Add myself to the list.
2011-07-29 18:37:44 +00:00
Tom Tromey
267f65044f
* solib-target.c: Use DEF_VEC_I, not DEF_VEC_O.
...
(library_list_start_segment): Update.
(library_list_start_section): Update.
2011-07-29 17:38:47 +00:00
Nick Clifton
8c9461a4de
* gas/elf/warn-2.s: Add other types of NOP insn.
2011-07-29 11:02:40 +00:00
Tristan Gingold
69b1d6052d
2011-07-29 Tristan Gingold <gingold@adacore.com>
...
* frags.c (frag_var_init): New function.
(frag_var): Call frag_var_init to initialize.
(frag_variant): Ditto.
2011-07-29 07:34:14 +00:00
gdbadmin
c6198f6215
*** empty log message ***
2011-07-29 00:00:33 +00:00