deliverable/binutils-gdb.git
11 years ago2013-05-06 Sandra Loosemore <sandra@codesourcery.com>
Jeff Johnston [Mon, 6 May 2013 18:31:56 +0000 (18:31 +0000)] 
2013-05-06  Sandra Loosemore  <sandra@codesourcery.com>

        * COPYING.NEWLIB: Add Altera Corporation copyright.

11 years agogdb: btrace: fix indentation style
Mike Frysinger [Mon, 6 May 2013 18:03:33 +0000 (18:03 +0000)] 
gdb: btrace: fix indentation style

Most of this func had the incorrect indentation level (starting with 4
spaces instead of 2).

11 years ago * psympriv.h (struct partial_symtab): Augment comment for member
Doug Evans [Mon, 6 May 2013 16:45:13 +0000 (16:45 +0000)] 
* psympriv.h (struct partial_symtab): Augment comment for member
section_offsets.

11 years ago2013-05-06 Paul Brook <paul@codesourcery.com>
Catherine Moore [Mon, 6 May 2013 15:25:45 +0000 (15:25 +0000)] 
2013-05-06  Paul Brook  <paul@codesourcery.com>

        include/elf/
        * mips.h (R_MIPS_PC32): Update comment.

        * elf64-mips.c (elf_mips_gnu_pcrel32): New.
        (bfd_elf64_bfd_reloc_type_lookup, bfd_elf64_bfd_reloc_name_lookup,
        mips_elf64_rtype_to_howto): Handle R_MIPS_PC32.
        * elfn32-mips.c (elf_mips_gnu_pcrel32): New.
        (bfd_elfn32_bfd_reloc_type_lookup, bfd_elfn32_bfd_reloc_name_lookup,
        mips_elfn32_rtype_to_howto): Handle R_MIPS_PC32.

2013-05-06  Paul Brook  <paul@codesourcery.com>
    Catherine Moore  <clm@codesourcery.com>

        gas/
        * config/tc-mips.c (md_pcrel_from): Handle BFD_RELOC_32_PCREL.
        (limited_pcrel_reloc_p): Likewise.
(md_apply_fix): Likewise.
(tc_gen_reloc): Likewise.

11 years ago2013-05-06 Richard Sandiford <rdsandiford@googlemail.com>
Catherine Moore [Mon, 6 May 2013 15:00:01 +0000 (15:00 +0000)] 
2013-05-06  Richard Sandiford  <rdsandiford@googlemail.com>

* config/tc-mips.c (limited_pcrel_reloc_p): New function.
(mips_fix_adjustable): Adjust pc-relative check to use
limited_pc_reloc_p.

11 years agoReimplement shared library support on ppc-aix...
Joel Brobecker [Mon, 6 May 2013 14:15:50 +0000 (14:15 +0000)] 
Reimplement shared library support on ppc-aix...

... using the target_so_ops framework.

gdb/ChangeLog:

        * target.h (TARGET_OBJECT_AIX_LIBRARIES): New target_object enum.
        * features/library-list-aix.dtd: New file.
        * solib-aix.h, solib-aix.c: New file.
        * rs6000-aix-tdep.c: #include "solib.h" and "solib-aix.h".
        (rs6000_find_toc_address_hook): Delete.
        (rs6000_push_dummy_call): Rewrite code setting the TOC value.
        (rs6000_aix_init_osabi): Register solib_aix_so_ops.
        * rs6000-nat.c: Remove "xcoffsolib.h" include.  Include
        "xml-utils.h".
        (map_vmap, vmap_exec, vmap_ldinfo, add_vmap, objfile_symbol_add)
        (vmap_symtab, fixup_breakpoints): Delete.
        (rs6000_xfer_shared_libraries): New function.
        (rs6000_xfer_partial): Add TARGET_OBJECT_AIX_LIBRARIES handling.
        (vmap_secs, bss_data_overlap, vmap_add_symbols): Delete.
        (xcoff_relocate_symtab, xcoff_relocate_core): Delete.
        (rs6000_ptrace_ldinfo, rs6000_core_ldinfo)
        (rs6000_xfer_shared_library): New function.
        (find_toc_address): Delete.
        (_initialize_rs6000_nat): Do not set rs6000_find_toc_address_hook.
        * rs6000-tdep.h (rs6000_find_toc_address_hook): Remove.
        * xcoffread.c (record_minimal_symbol): Reloate symbol address
        before creating minimal symbol.  Adjust function description
        accordingly.
        (scan_xcoff_symtab): Replace call to
        prim_record_minimal_symbol_and_info by call to
        record_minimal_symbol.
        (xcoff_symfile_offsets): Reimplement mostly as a wrapper
        around default_symfile_offsets.
        * configure.tgt: Add solib-aix.o to gdb_target_obs for
        powerpc-aix targets.
        * config/rs6000/nm-rs6000.h: Delete.
        * config/powerpc/aix.mh (NAT_FILE): Delete.
        (NATDEPFILES): Remove xcoffsolib.o.
        * Makefile.in (XMLFILES): Add library-list-aix.dtd.
        (ALL_TARGET_OBS): Add solib-aix.o.
        (HFILES_NO_SRCDIR): Remove xcoffsolib.h and
        config/rs6000/nm-rs6000.h.  Add solib-aix.h.
        (ALLDEPFILES): Add solib-aix.c.  Remove xcoffsolib.c.
        * xcoffsolib.h, xcoffsolib.c: Delete.

        * solib.c (reload_shared_libraries): Remove reference to
        SOLIB_CREATE_INFERIOR_HOOK.
        * breakpoint.c (handle_solib_event): Remove reference to SOLIB_ADD.
        (disable_breakpoints_in_shlibs): Remove reference to PC_SOLIB.
        (momentary_bkpt_re_set): Replace SOLIB_ADD by solib_add in
        comment.
        * corelow.c (deprecated_core_resize_section_table): Delete.
        * exec.c: Remove include of xcoffsolib.h".
        (map_vmap, vmap): Delete.
        (exec_close_1): Remove references to vmap.
        (exec_file_attach): Remove vmap handling code, and reference
        to DEPRECATED_IBM6000_TARGET.
        (bfdsec_to_vmap): Delete.
        (exec_files_info): Remove block of code handling VMAP.
        * infcmd.c (post_create_inferior): Remove reference to
        SOLIB_CREATE_INFERIOR_HOOK and SOLIB_ADD.
        * infrun.c (follow_exec): Remove reference to
        SOLIB_CREATE_INFERIOR_HOOK.
        * stack.c (print_frame): Remove reference to PC_SOLIB.
        * solib-dsbt.c (dsbt_current_sos): Adjust comment.
        (dsbt_relocate_main_executable): Likewise.
        * solib-frv.c (frv_current_sos): Likewise.

gdb/doc/ChangeLog:

        * gdbint.texinfo (Algorithms): Remove entries documenting
        DEPRECATED_IBM6000_TARGET, SOLIB_ADD, and
        SOLIB_CREATE_INFERIOR_HOOK.

11 years agoFix -Wpointer-sign warning in sol-thread.c
Joel Brobecker [Mon, 6 May 2013 12:55:52 +0000 (12:55 +0000)] 
Fix -Wpointer-sign warning in sol-thread.c

gdb/ChangeLog:

        * sol-thread.c (rw_common): Cast BUF to "gdb_byte *" in calls
        to target_write_memory and target_read_memory.

11 years agodarwin: warning resuming inferior after attach
Joel Brobecker [Mon, 6 May 2013 12:41:14 +0000 (12:41 +0000)] 
darwin: warning resuming inferior after attach

This patch avoids a warning when resuming the execution of a program
that we attached to. For instance:

    (gdb) attach 29989
    (gdb) continue
    Continuing.
    warning: Mach error at "/[...]/darwin-nat.c:738" in function
             "darwin_resume_thread": (os/kern) failure (0x5)

The warning is relatively harmless, but worrisome for the average
user.  The warning comes from the fact that darwin_wait recorded
that the fake stop event corresponding to the suspend action was
caused by the main thread being suspended on a SIGTRAP. As a result
of this, when resuming the program's execution, we try to resume
the thread's execution as well.  This is where the issue occurs,
as the thread was not in fact suspended, thus triggering the warning.

gdb/ChangeLog:

        * darwin-nat.c (darwin_setup_fake_stop_event): New function.
        (darwin_attach): Adjust using darwin_setup_fake_stop_event.

11 years agodarwin-nat: Print all hex values with 0x prefix.
Joel Brobecker [Mon, 6 May 2013 12:37:52 +0000 (12:37 +0000)] 
darwin-nat: Print all hex values with 0x prefix.

gdb/ChangeLog:

        * darwin-nat.c: Replace all "%x" instances in format strings
        into "0x%x" throughout.

11 years agodarwin-nat.c: Do not use gdb_assert on system call outcomes.
Joel Brobecker [Mon, 6 May 2013 12:35:46 +0000 (12:35 +0000)] 
darwin-nat.c: Do not use gdb_assert on system call outcomes.

There were many cases were we make a system call which could fail
due to reasons outside of the debugger control. We should handle
these situations a little more gracefully than triggering an
internal error.

gdb/ChangeLog:

        * darwin-nat.c (darwin_mourn_inferior): Replace call to
        gdb_assert by call to MACH_CHECK_ERROR.
        (darwin_attach_pid): Raise an error rather than a failed
        assertion when various system calls failed.  Report a warning
        instead of raising a failed assertion when PREV_NOT is not NULL
        after call to mach_port_request_notification.
        (darwin_ptrace_me): Raise an error rather than a failed
        assertion when read returns nonzero.

11 years agoamd64-darwin-tdep.c: Remove #include "gdb_assert.h"
Joel Brobecker [Mon, 6 May 2013 12:33:00 +0000 (12:33 +0000)] 
amd64-darwin-tdep.c: Remove #include "gdb_assert.h"

gdb_assert.h is already included from darwin-nat.h, so no need to
include it again...

gdb/ChangeLog:

        * amd64-darwin-tdep.c: Remove #include "gdb_assert.h".

11 years agoMove ChangeLog entry from sim/ to sim/ppc/...
Joel Brobecker [Mon, 6 May 2013 10:26:41 +0000 (10:26 +0000)] 
Move ChangeLog entry from sim/ to sim/ppc/...

... where it belongs.

11 years ago * elf64-ppc.c (opd_entry_value): Handle case where symbol
Alan Modra [Mon, 6 May 2013 09:32:55 +0000 (09:32 +0000)] 
* elf64-ppc.c (opd_entry_value): Handle case where symbol
hashes are not available.

11 years ago * elflink.c (elf_link_add_object_symbols): Don't save symbol
Alan Modra [Mon, 6 May 2013 08:45:40 +0000 (08:45 +0000)] 
* elflink.c (elf_link_add_object_symbols): Don't save symbol
hashes around loading as-needed library.  Zero them on allocation,
and restore to initial all-zero state if library not needed.
Arrange to reuse hashes if we load library again later.

11 years ago*** empty log message ***
gdbadmin [Mon, 6 May 2013 00:00:32 +0000 (00:00 +0000)] 
*** empty log message ***

11 years agodaily update
Alan Modra [Mon, 6 May 2013 00:00:06 +0000 (00:00 +0000)] 
daily update

11 years agogdb/
Jan Kratochvil [Sun, 5 May 2013 16:56:07 +0000 (16:56 +0000)] 
gdb/
* cleanups.c (restore_my_cleanups): New gdb_assert for SENTINEL_CLEANUP.

11 years agogdb/
Jan Kratochvil [Sun, 5 May 2013 16:54:26 +0000 (16:54 +0000)] 
gdb/
* event-top.c (display_gdb_prompt): Call missing do_cleanups.
* infcmd.c (get_return_value) <!stop_regs>: Do not overwrite CLEANUP.
* symfile.c (symfile_bfd_open): New variable back_to.  Do not leave
a stale cleanup.  Fix double free of NAME.

11 years agodaily update
Alan Modra [Sun, 5 May 2013 00:00:05 +0000 (00:00 +0000)] 
daily update

11 years ago*** empty log message ***
gdbadmin [Sun, 5 May 2013 00:00:03 +0000 (00:00 +0000)] 
*** empty log message ***

11 years agoAnnounce thread death on MS-Windows.
Eli Zaretskii [Sat, 4 May 2013 13:36:18 +0000 (13:36 +0000)] 
Announce thread death on MS-Windows.

* windows-nat.c (windows_delete_thread): Accept an additional
argument, the thread's exit code, and announce thread death when
print_thread_events is non-zero and we are deleting a thread that
is not the main thread.
(get_windows_debug_event): Pass thread exit code to
windows_delete_thread.

11 years agogas/testsuite/
Richard Sandiford [Sat, 4 May 2013 10:11:30 +0000 (10:11 +0000)] 
gas/testsuite/
* gas/mips/micromips-warn-branch-delay.d: Use numeric registers.

11 years agobfd/
Richard Sandiford [Sat, 4 May 2013 09:33:08 +0000 (09:33 +0000)] 
bfd/
* elf32-mips.c (elf_mips_copy_howto, elf_mips_jump_slot_howto):
Use _bfd_mips_elf_generic_reloc instead of bfd_elf_generic_reloc.
* elfn32-mips.c: Likewise.
* elf64-mips.c: Likewise.

11 years ago * v850-tdep.c (elf-bfd.h, elf/v850.h): Include.
Kevin Buettner [Sat, 4 May 2013 06:25:20 +0000 (06:25 +0000)] 
* v850-tdep.c (elf-bfd.h, elf/v850.h): Include.
(R_149_REGNUM, E_NUM_OF_V850E2_REGS, E_SELID_1_R0_REGNUM)
(E_SELID_1_R31_REGNUM, E_SELID_2_R0_REGNUM, E_SELID_2_R31_REGNUM)
(E_SELID_3_R0_REGNUM, E_SELID_3_R31_REGNUM, E_SELID_4_R0_REGNUM)
(E_SELID_4_R31_REGNUM, E_SELID_5_R0_REGNUM, E_SELID_5_R31_REGNUM)
(E_SELID_6_R0_REGNUM, E_SELID_6_R31_REGNUM, E_SELID_7_R0_REGNUM, E_SELID_7_R31_REGNUM)
(E_VR0_REGNUM, E_VR31_REGNUM, E_NUM_OF_V850E3V5_REGS): Define.
(v850_abi, V850_ABI_GCC, V850_ABI_RH850): New enum and constants.
(gdbarch_tdep): New struct.
(v850e2_register_name): Use E_NUM_OF_V850E2_REGS instead of
E_NUM_REGS.
(v850e3v5_register_name): New function.
(v850_register_type): v850e3v5 vector registers are 64-bits wide.
(v850_use_struct_convention): Add `gdbarch' parameter.  Add new
code handling the struct return conventions for the RH850 ABI.
Update all callers.
(v850_eight_byte_align_p): New function.
(v850_push_call_dummy): Push structs by value, not by reference
for the RH850 ABI.  Add support for eight byte alignment.
(v850_dbtrap_breakpoint_from_pc): New function.
(v850_gdbarch_init): Add ABI detection code.  Register
v850e3v5_register_name for the v850e3v5 architecture.  Set the
number of registers for v850e3v5.  Register
v850_dbtrap_breakpoint_from_pc as appropriate.
(_initialize_gdbarch_init): Registration bfd_arch_v850_rh850.

11 years ago * objfiles.c (objfile_relocate): Use gdb_bfd_count_sections instead
Doug Evans [Sat, 4 May 2013 06:19:31 +0000 (06:19 +0000)] 
* objfiles.c (objfile_relocate): Use gdb_bfd_count_sections instead
of bfd_count_sections.
* solib-target.c (solib_target_relocate_section_addresses): Ditto.
* symfile.c (default_symfile_offsets): Ditto.
(syms_from_objfile_1): Ditto.  Make dummy addrs list an array of
one entry, not bfd_count_sections entries.

11 years ago * rl78-tdep.c (rl78_register_reggroup_p): Include SP in the
Kevin Buettner [Sat, 4 May 2013 06:14:53 +0000 (06:14 +0000)] 
* rl78-tdep.c (rl78_register_reggroup_p): Include SP in the
`save' and `restore' register groups.  Don't include SPL
or SPH in these groups.
(rl78_dwarf_reg_to_regnum):  Adjust mapping for
RL78_PC_REGNUM.  Add mappings for RL78_PSW_REGNUM,
RL78_ES_REGNUM, and RL78_CS_REGNUM.
(rl78_gdbarch_init): Set `dwarf2_addr_size' to 4.  Invoke
dwarf2_append_unwinders().

11 years agodaily update
Alan Modra [Sat, 4 May 2013 00:00:05 +0000 (00:00 +0000)] 
daily update

11 years ago*** empty log message ***
gdbadmin [Sat, 4 May 2013 00:00:02 +0000 (00:00 +0000)] 
*** empty log message ***

11 years agoFix to handle properly 'catch signal SIGINT' and SIGTRAP
Philippe Waroquiers [Fri, 3 May 2013 19:16:56 +0000 (19:16 +0000)] 
Fix to handle properly 'catch signal SIGINT' and SIGTRAP

11 years ago2013-05-03 Hafiz Abid Qadeer <abidh@codesourcery.com>
Hafiz Abid Qadeer [Fri, 3 May 2013 15:43:58 +0000 (15:43 +0000)] 
2013-05-03  Hafiz Abid Qadeer  <abidh@codesourcery.com>

* tracepoint.c (cmd_qtinit): Call 'stop_tracing'.

2013-05-03  Hafiz Abid Qadeer  <abidh@codesourcery.com>

* status-stop.exp (test_tstart_tstart): Check for error
returned by the second 'tstart' command.

11 years ago gold/
Maciej W. Rozycki [Fri, 3 May 2013 15:19:27 +0000 (15:19 +0000)] 
    gold/
        PR ld/15365
        * layout.cc (Layout::finalize): Make __ehdr_start STV_HIDDEN.

        ld/
        PR ld/15365
        * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
        Restrict __ehdr_start's export class to no less than STV_HIDDEN.

        ld/testsuite/
        PR ld/15365
        * ld-elf/ehdr_start.d: Expect __ehdr_start to be STB_LOCAL.
        * ld-mips-elf/ehdr_start-1.nd: New test.
        * ld-mips-elf/ehdr_start-2.nd: New test.
        * ld-mips-elf/ehdr_start-1.ld: New test linker script.
        * ld-mips-elf/ehdr_start-2.ld: New test linker script.
        * ld-mips-elf/ehdr_start-new.s: New test source.
        * ld-mips-elf/ehdr_start-o32.s: New test source.
        * ld-mips-elf/mips-elf.exp: Run the new tests.

11 years ago * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
Maciej W. Rozycki [Fri, 3 May 2013 15:01:19 +0000 (15:01 +0000)] 
* emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
Only call lang_for_each_statement if an ELF hash table is used.

11 years ago * ld-elf/provide-hidden-s.nd: New test.
Maciej W. Rozycki [Fri, 3 May 2013 14:57:15 +0000 (14:57 +0000)] 
* ld-elf/provide-hidden-s.nd: New test.
* ld-elf/provide-hidden-abs.nd: New test.
* ld-elf/provide-hidden-def.nd: New test.
* ld-elf/provide-hidden-dyn.nd: New test.
* ld-elf/provide-hidden-sec.nd: New test.
* ld-elf/provide-hidden-dynabs.nd: New test.
* ld-elf/provide-hidden-dynsec.nd: New test.
* ld-elf/provide-hidden-s.ld: New test linker script.
* ld-elf/provide-hidden-1.ld: New test linker script.
* ld-elf/provide-hidden-2.ld: New test linker script.
* ld-elf/provide-hidden-1.s: New test source.
* ld-elf/provide-hidden-2.s: New test source.
* ld-elf/provide-hidden-3.s: New test source.
* ld-elf/provide-hidden-4.s: New test source.
* ld-elf/provide-hidden.exp: New test script.

11 years ago2013-05-03 Hafiz Abid Qadeer <abidh@codesourcery.com>
Hafiz Abid Qadeer [Fri, 3 May 2013 14:03:57 +0000 (14:03 +0000)] 
2013-05-03  Hafiz Abid Qadeer  <abidh@codesourcery.com>

revert:
2013-04-19  Nathan Froyd  <froydnj@codesourcery.com>
* ppc-instructions (isel): New instruction.

11 years ago * merge.cc (Output_merge_string::do_add_input_section): Correct
Alan Modra [Fri, 3 May 2013 09:30:24 +0000 (09:30 +0000)] 
* merge.cc (Output_merge_string::do_add_input_section): Correct
scan for number of strings.  Rename vars to avoid shadowing.
Include missing terminator in input_size_.

11 years agooops - omitted from previous delta
Nick Clifton [Fri, 3 May 2013 08:33:19 +0000 (08:33 +0000)] 
oops - omitted from previous delta

11 years agodaily update
Alan Modra [Fri, 3 May 2013 00:00:05 +0000 (00:00 +0000)] 
daily update

11 years ago*** empty log message ***
gdbadmin [Fri, 3 May 2013 00:00:03 +0000 (00:00 +0000)] 
*** empty log message ***

11 years agogas/
Richard Sandiford [Thu, 2 May 2013 22:30:11 +0000 (22:30 +0000)] 
gas/
* config/tc-mips.c (mips_pseudo_table): Add stabd and stabs entries.
(s_mips_stab): Do not restrict to stabn only.

gas/testsuite/
* gas/mips/mips16-stabs.s, gas/mips/mips16-stabs.d: New test.
* gas/mips/mips.exp: Run it.

11 years ago * archures.c: Add some more MSP430 machine numbers.
Nick Clifton [Thu, 2 May 2013 21:06:15 +0000 (21:06 +0000)] 
* archures.c: Add some more MSP430 machine numbers.
* config.bfd (msp430): Define targ_selvecs.
* configure.in: Add bfd_elf32_msp430_ti_vec.
* cpu-msp430.c: Add some more MSP430 machine numbers.
* elf32-msp430.c Add support for MSP430X relocations.
Add support for TI compiler generated relocations.
Add support for sym_diff relocations.
Add support for relaxing out of range short branches into long
branches.
Add support for MSP430 attribute section.
* reloc.c: Add MSP430X relocations.
* targets.c: Add bfd_elf32_msp430_ti_vec.
* bfd-in2.h: Regenerate.
* configure: Regenerate.
* libbfd.h: Regenerate.

* readelf.c: Add support for MSP430X architecture.

* readelf.exp: Expect -wi test to fail for the MSP430.

* config/tc-msp430.c: Add support for the MSP430X architecture.
Add code to insert a NOP instruction after any instruction that
might change the interrupt state.
Add support for the LARGE memory model.
Add code to initialise the .MSP430.attributes section.
* config/tc-msp430.h: Add support for the MSP430X architecture.
* doc/c-msp430.texi: Document the new -mL and -mN command line
options.
* NEWS: Mention support for the MSP430X architecture.

* gas/all/gas.exp: Skip the DIFF1 test for the MSP430.
Expect the FORWARD test to pass for the MSP430.
Skip the REDEF tests for the MSP430.
Expect the 930509A test to fail for the MSP430.
* gas/all/sleb128-4.d: Skip for the MSP430.
* gas/elf/elf.exp: Set target_machine to msp430 for the MSP430.
Skip the EHOPT0 test for the MSP430.
Skip the REDEF and EQU-RELOC tests for the MSP430.
* gas/elf/section2.e-msp430: New file.
* gas/lns/lns-big-delta.d: Remove expectation of 20-bit
addresses.
* gas/lns/lns.exp: Use alternate LNS COMMON test for the MSP430.
* gas/msp430/msp430x.s: New test.
* gas/msp430/msp430x.d: Expected disassembly.
* gas/msp430/msp430.exp: Run new test.
* gas/msp430/opcode.d: Update expected disassembly.

* msp430.h: Add MSP430X relocs.
Add some more MSP430 machine numbers.
Add values used by .MSP430.attributes section.

* msp430.h: Add patterns for MSP430X instructions.

* Makefile.am: Add emsp430X.c
* Makefine.in: Regenerate.
* configure.tgt (msp430): Add msp430X emulation.
* ldmain.c (multiple_definition): Only disable relaxation if it
was enabled by the user.
* ldmain.h (RELAXATION_ENABLED_BY_USER): New macro.
* emulparams/msp430all.sh: Add support for MSP430X.
* emultempl/generic.em: (before_parse): Enable relaxation for the
MSP430.
* scripttempl/msp430.sc: Reorganize sections.  Add .rodata
section.
* scripttempl/msp430_3.sc: Likewise.
* NEWS: Mention support for MSP430X.

* ld-elf/flags1.d: Expect this test to pass on the MSP430.
* ld-elf/init-fini-arrays.d: Expect this test to fail on the
MSP430.
* ld-elf/merge.d: Expect this test to pass on the MSP430.
* ld-elf/sec64k.exp: Skip these tests for the MSP430.
* ld-gc/pr13683.d: Expect this test to fail on the MSP430.
* ld-srec/srec.exp: Expect these tests to fail on the MSP430.
* ld-undefined/undefined.exp: Expect the UNDEFINED LINE test to
fail on the MSP430.

* msp430-dis.c: Add support for MSP430X instructions.

11 years ago * dwarf.c (display_debug_lines_raw): Do not treat .debug_line.dwo
Nick Clifton [Thu, 2 May 2013 10:18:38 +0000 (10:18 +0000)] 
* dwarf.c (display_debug_lines_raw): Do not treat .debug_line.dwo
sections as if they were fragmentary .debug_line sections.
(display_debug_lines_decoded): Likewise.

11 years ago*** empty log message ***
gdbadmin [Thu, 2 May 2013 00:00:33 +0000 (00:00 +0000)] 
*** empty log message ***

11 years agodaily update
Alan Modra [Thu, 2 May 2013 00:00:05 +0000 (00:00 +0000)] 
daily update

11 years agoRestore empty string handling
H.J. Lu [Wed, 1 May 2013 19:45:27 +0000 (19:45 +0000)] 
Restore empty string handling

* merge.cc (Output_merge_string<Char_type>::do_add_input_section):
Restore empty string handling.

11 years agogold/
Cary Coutant [Wed, 1 May 2013 17:37:14 +0000 (17:37 +0000)] 
gold/
* stringpool.cc (Stringpool_template::new_key_offset): Fix
uninitialized warning.

11 years ago bfd/
Maciej W. Rozycki [Wed, 1 May 2013 17:27:46 +0000 (17:27 +0000)] 
bfd/
* config.bfd: Replace alpha*-*-linuxecoff* pattern with
alpha*-*-linux*ecoff*.

binutils/testsuite/
* lib/binutils-common.exp (is_elf_format): Also exclude
*-*-linux*ecoff*.

gas/
* configure.tgt: Replace alpha*-*-linuxecoff* pattern with
alpha*-*-linux*ecoff*.

ld/
* configure.tgt: Replace alpha*-*-linuxecoff* pattern with
alpha*-*-linux*ecoff*.  Update the `sed' pattern used to convert
from alpha*-*-linux-* to alpha*-*-linux*ecoff*.

11 years ago * lib/ld-lib.exp (check_shared_lib_support): Also exclude
Maciej W. Rozycki [Wed, 1 May 2013 17:22:03 +0000 (17:22 +0000)] 
* lib/ld-lib.exp (check_shared_lib_support): Also exclude
mips*-*-elf.

11 years ago * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
Maciej W. Rozycki [Wed, 1 May 2013 17:18:43 +0000 (17:18 +0000)] 
* emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
Use is_elf_hash_table rather than a handcoded condition.

11 years agoFix various -Wpointer-sign warnings in darwin-nat.c
Joel Brobecker [Wed, 1 May 2013 14:54:18 +0000 (14:54 +0000)] 
Fix various -Wpointer-sign warnings in darwin-nat.c

gdb/ChangeLog:

        * darwin-nat.c (darwin_read_write_inferior): Change types
        of parameters rdaddr and wraddr to "gdb_byte *". Change type
        of copy_count to "mach_msg_type_number_t".
        (darwin_read_dyld_info): Change type of parameter
        rdaddr to "gdb_byte *".

11 years agoFix -Wpointer-sign errors in solib-ia64-hpux.c
Joel Brobecker [Wed, 1 May 2013 14:33:00 +0000 (14:33 +0000)] 
Fix -Wpointer-sign errors in solib-ia64-hpux.c

gdb/ChangeLog:

        * solib-ia64-hpux.c (ia64_hpux_read_dynamic_info): Change cast
        of &info->load_map from "char *" to "gdb_byte *".

11 years agoFix -Wpointer-sign errors in ia64-tdep.c
Joel Brobecker [Wed, 1 May 2013 14:31:55 +0000 (14:31 +0000)] 
Fix -Wpointer-sign errors in ia64-tdep.c

gdb/ChangeLog:

        * ia64-tdep.c (ia64_access_fpreg): Change cast of val
        from "char *" to "gdb_byte *".
        (ia64_access_rse_fpreg, ia64_access_mem): Likewise.

11 years ago2013-04-30 Chao-ying Fu <Chao-ying.Fu@imgtec.com>
Chao-ying Fu [Wed, 1 May 2013 01:04:45 +0000 (01:04 +0000)] 
2013-04-30  Chao-ying Fu  <Chao-ying.Fu@imgtec.com>

* gas/mips/ext-ill.s: New file.
* gas/mips/ext-ill.l: New file.
* gas/mips/mips.exp: Run new tests.

11 years ago2013-04-30 Chao-ying Fu <Chao-ying.Fu@imgtec.com>
Chao-ying Fu [Wed, 1 May 2013 01:02:01 +0000 (01:02 +0000)] 
2013-04-30  Chao-ying Fu  <Chao-ying.Fu@imgtec.com>

* config/tc-mips.c (mips_ip): Add sizelo.
For "+C", "+G", and "+H", set sizelo and compare against it.

11 years agodaily update
Alan Modra [Wed, 1 May 2013 00:00:05 +0000 (00:00 +0000)] 
daily update

11 years ago*** empty log message ***
gdbadmin [Wed, 1 May 2013 00:00:02 +0000 (00:00 +0000)] 
*** empty log message ***

11 years ago * dwarf2read.c (lookup_dwo_unit): Return NULL if DWO not found.
Doug Evans [Tue, 30 Apr 2013 23:19:41 +0000 (23:19 +0000)] 
* dwarf2read.c (lookup_dwo_unit): Return NULL if DWO not found.
(init_cutu_and_read_dies): Flag a complaint, not error, for bad
DWO stub.  If DWO isn't found, just use stub.
(lookup_dwo_cutu): Don't try DWO if there's a DWP file.

11 years ago * dwarf2read.c (dw2_find_symbol_file): Initialize filename before
Doug Evans [Tue, 30 Apr 2013 21:11:50 +0000 (21:11 +0000)] 
* dwarf2read.c (dw2_find_symbol_file): Initialize filename before
calling init_cutu_and_read_dies.

11 years ago * lib/ld-lib.exp (check_shared_lib_support): Match cris*-*-elf as
Hans-Peter Nilsson [Tue, 30 Apr 2013 17:19:38 +0000 (17:19 +0000)] 
* lib/ld-lib.exp (check_shared_lib_support): Match cris*-*-elf as
a negative pattern instead of cris*-*-*.

11 years agoline omitted from previous delta.
Nick Clifton [Tue, 30 Apr 2013 14:01:03 +0000 (14:01 +0000)] 
line omitted from previous delta.

11 years agold/testsuite/ld-arm: Fix ifunc-17 failure with arm-eabi.
Will Newton [Tue, 30 Apr 2013 13:40:27 +0000 (13:40 +0000)] 
ld/testsuite/ld-arm: Fix ifunc-17 failure with arm-eabi.

ld/testsuite/ChangeLog:

2013-04-30  Will Newton  <will.newton@linaro.org>

* ld-arm/arm-elf.exp: Use linker script for IFUNC test 17.
* ld-arm/ifunc-17.dd: Update offsets for linker script.
* ld-arm/ifunc-17.gd: Likewise.
* ld-arm/ifunc-17.rd: Likewise.

11 years ago * ld.texinfo (SORT_BY_ALIGNMENT): Fix and clarify typo - sections
Nick Clifton [Tue, 30 Apr 2013 12:52:58 +0000 (12:52 +0000)] 
* ld.texinfo (SORT_BY_ALIGNMENT): Fix and clarify typo - sections
are sorted by descending order of alignment.

11 years ago2013-04-30 Jan-Benedict Glaw <jbglaw@lug-owl.de>
Jan-Benedict Glaw [Tue, 30 Apr 2013 12:40:42 +0000 (12:40 +0000)] 
2013-04-30  Jan-Benedict Glaw  <jbglaw@lug-owl.de>

config/
* picflag.m4: Merge from GCC.
* dfp.m4: Ditto.
* bootstrap-asan.mk: Ditto.
* ChangeLog: Ditto.

11 years agoFix display of structures/bitfields in register description.
Walfred Tedeschi [Tue, 30 Apr 2013 12:33:52 +0000 (12:33 +0000)] 
Fix display of structures/bitfields in register description.

Add support for displaying structures and bitfields for registers when
executing "maint print c-tdesc". This command is also used when
converting the xml target description file into c file.

Example of the behaviour is given below reporting a snipet of the xml file
and a snippet of the c code generated.

XML file contains:
...
    <union id="vecint">
      <field name="v4" type="v4int8"/>
      <field name="v2" type="v2int16"/>
    </union>

    <struct id="struct1">
      <field name="v4" type="v4int8"/>
      <field name="v2" type="v2int16"/>
    </struct>

    <struct id="struct2" size="8">
      <field name="f1" start="0" end="34"/>
      <field name="f2" start="63" end="63"/>
    </struct>
...

Setting this xml file as target description file and
issuing the maintenance print c-tdesc the following output
is obtained:

  feature = tdesc_create_feature (result, "extra");
  field_type = tdesc_named_type (feature, "int8");
  tdesc_create_vector (feature, "v4int8", field_type, 4);

  field_type = tdesc_named_type (feature, "int16");
  tdesc_create_vector (feature, "v2int16", field_type, 2);

  type = tdesc_create_union (feature, "vecint");
  field_type = tdesc_named_type (feature, "v4int8");
  tdesc_add_field (type, "v4", field_type);
  field_type = tdesc_named_type (feature, "v2int16");
  tdesc_add_field (type, "v2", field_type);

C output is not supported type "struct1".

This is finally the issue.

2013-03-27  Walfred Tedeschi  <walfred.tedeschi@intel.com>

        * target-descriptions.c (maint_print_c_tdesc_cmd):
        Add case to parse structures as register types and
        bitfields.

testsuite/

* gdb.xml/maint_print_struct.exp: New file.
* gdb.xml/maint_print_struct.xml: New file.

Change-Id: I2e20b095d508319c80275e724a9452c7e2834067
Signed-off-by: Walfred Tedeschi <walfred.tedeschi@intel.com>
11 years ago PR binutils/15417
Nick Clifton [Tue, 30 Apr 2013 12:13:09 +0000 (12:13 +0000)] 
PR binutils/15417
* elflink.c (elf_link_add_object_symbols): Initialise 'idx' to
zero.

11 years agoFix date in some of my recent ChangeLog entries...
Joel Brobecker [Tue, 30 Apr 2013 11:56:23 +0000 (11:56 +0000)] 
Fix date in some of my recent ChangeLog entries...

11 years agoFix -Wpointer-sign warning in sol-thread.c
Joel Brobecker [Tue, 30 Apr 2013 11:52:13 +0000 (11:52 +0000)] 
Fix -Wpointer-sign warning in sol-thread.c

This fixes a couple of compiler warnings in rw_common when calling
target_read_memory/target_write_memory due to the type of parameter
"buf" (char *) not matching what these function expect (gdb_byte *).

gdb/ChangeLog:

        * sol-thread.c (rw_common): Change type of parameter "buf"
        to "gdb_byte *".
        (ps_pdwrite, ps_ptwrite): Cast parameter "buf" in call to
        rw_common to "gdb_byte *" instead of "char *".

11 years agoFix build error in sol-thread.c:info_cb
Joel Brobecker [Tue, 30 Apr 2013 11:36:45 +0000 (11:36 +0000)] 
Fix build error in sol-thread.c:info_cb

gdb/ChangeLog:

        * sol-thread.c (info_cb) [ti.ti_startfunc != 0]: Change type
        of local variable msym to const struct bound_minimal_symbol.
        Adjust use accordingly.
        [ti.ti_state == TD_THR_SLEEP]: Likewise.

11 years agoAdd myself as a maintainer.
Walfred Tedeschi [Tue, 30 Apr 2013 11:17:20 +0000 (11:17 +0000)] 
Add myself as a maintainer.

Change-Id: Ie1b0cb082a384144eef327e9294949e9bacc4415

11 years ago2013-04-30 Samuel Thibault <samuel.thibault@gnu.org>
Thomas Schwinge [Tue, 30 Apr 2013 09:27:43 +0000 (09:27 +0000)] 
2013-04-30  Samuel Thibault  <samuel.thibault@gnu.org>

* i386gnu-nat.c (CREG_OFFSET): New macro.
(creg_offset): New array.
(CREG_ADDR): Use creg_offset instead of reg_offset.

11 years agomep: define gdbarch_pc_regnum instead of gdbarch_write_pc.
Joel Brobecker [Tue, 30 Apr 2013 08:28:54 +0000 (08:28 +0000)] 
mep: define gdbarch_pc_regnum instead of gdbarch_write_pc.

gdb/ChangeLog:

    * mep-tdep.c (mep_write_pc): Delete.
    (mep_gdbarch_init): Remove call to set_gdbarch_write_pc.
    Add call to set_gdbarch_pc_regnum.

11 years agoDelete ChangeLog entry with no corresponding change in sources.
Joel Brobecker [Tue, 30 Apr 2013 08:28:31 +0000 (08:28 +0000)] 
Delete ChangeLog entry with no corresponding change in sources.

This ChangeLog entry was the result of a result of botched commit
which resulted in the ChangeLog update being checked in, while
the actual code code itself did not make it to CVS.

This patch deletes the entry in gdb/ChangeLog titled:

    mep: define gdbarch_pc_regnum instead of gdbarch_write_pc.

11 years agofilestuff.c: Include "gdb_dirent.h" instead of <dirent.h>
Joel Brobecker [Tue, 30 Apr 2013 08:20:47 +0000 (08:20 +0000)] 
filestuff.c: Include "gdb_dirent.h" instead of <dirent.h>

gdb/ChangeLog:

        * common/filestuff.c: Replace #include <dirent.h> by
        #include "gdb_dirent.h".

11 years agofilestuff.c: Use gdb_stat.h instead of <sys/stat.h>
Joel Brobecker [Tue, 30 Apr 2013 08:20:04 +0000 (08:20 +0000)] 
filestuff.c: Use gdb_stat.h instead of <sys/stat.h>

gdb/ChangeLog:

        * common/filestuff.c: Replace #include <sys/stat.h> by
        #include "gdb_stat.h".

11 years ago * elflink.c (bfd_elf_record_link_assignment): Dont make
Alan Modra [Tue, 30 Apr 2013 01:05:18 +0000 (01:05 +0000)] 
* elflink.c (bfd_elf_record_link_assignment): Dont make
STV_INTERNAL symbols STV_HIDDEN.

11 years agodaily update
Alan Modra [Tue, 30 Apr 2013 00:00:04 +0000 (00:00 +0000)] 
daily update

11 years ago*** empty log message ***
gdbadmin [Tue, 30 Apr 2013 00:00:02 +0000 (00:00 +0000)] 
*** empty log message ***

11 years ago PR python/14204:
Tom Tromey [Mon, 29 Apr 2013 17:32:43 +0000 (17:32 +0000)] 
PR python/14204:
* gdb.texinfo (Python API): Fix menu entry.
(Blocks In Python): Fix subsubsection text.  Rewrite intro.
Define global and static block.  Add example.  Clarify
block relationship for inline functions.

11 years ago * gdb.texinfo (Python API): Mention Python help and keyword
Tom Tromey [Mon, 29 Apr 2013 17:30:26 +0000 (17:30 +0000)] 
* gdb.texinfo (Python API): Mention Python help and keyword
arguments.  Move pagination text to Basic Python.
(Basic Python): Put pagination text here.  Document
close-on-exec, SIGCHLD, and SIGINT.

11 years ago2013-04-29 Alexander Ivchenko <alexander.ivchenko@intel.com>
Cary Coutant [Mon, 29 Apr 2013 17:15:09 +0000 (17:15 +0000)] 
2013-04-29  Alexander Ivchenko  <alexander.ivchenko@intel.com>

gold/
* output.cc (Output_section::add_merge_input_section): Allow
to merge sections if the alignment is more than character size.
* merge.h (Output_merge_string::Output_merge_string): Remove
assert.
* merge.cc (Output_merge_string<Char_type>::do_add_input_section): Count
only not-null strings. Check the alignment of strings.
* stringpool.h
(Stringpool_template<Stringpool_char>::Stringpool_template): Add
alignment as the argument.
(Stringpool_template<Stringpool_char>::addralign_): New class member.
* stringpool.cc (Stringpool_template<Stringpool_char>::new_key_offset):
Align non-zero length strings according to the addralign_.
(Stringpool_template<Stringpool_char>::set_string_offsets):
Updating offsets according to the given alignment.
* testsuite/Makefile.am (text_section_grouping): Test if string
literals are getting merged.
* testsuite/Makefile.in: Regenerate.
* testsuite/merge_string_literals_1.c: New file.
* testsuite/merge_string_literals_2.c: Ditto.
* testsuite/merge_string_literals.sh: Ditto.

11 years ago * config.guess: Update from config repo.
Jan-Benedict Glaw [Mon, 29 Apr 2013 15:13:53 +0000 (15:13 +0000)] 
* config.guess: Update from config repo.
* config.sub: Ditto.

11 years ago * elflink.c (_bfd_elf_gc_mark_extra_sections): Remove mark from
Nick Clifton [Mon, 29 Apr 2013 13:38:59 +0000 (13:38 +0000)] 
* elflink.c (_bfd_elf_gc_mark_extra_sections): Remove mark from
fragmented .debug_line sections associated with unmarked code
sections.

* dwarf.c (read_debug_line_header): New function.  Reads in a
header in a .debug_line section.
(display_debug_lines_raw): Use new function.  Handle fragmentary
.debug_line sections.
(display_debug_lines_decoded): Likewise.
* readelf.c (process_section_headers): Handle fragmenatry
.debug_line sections.
(display_debug_section): Likewise.

* as.c (Options): Add -gdwarf-sections.
(parse_args): Likewise.
* as.h (flag_dwarf_sections): Declare.
* dwarf2dbg.c (emit_fixed_inc_line_addr): Skip section changes.
(process_entries): When -gdwarf-sections is enabled generate
fragmentary .debug_line sections.
(out_debug_line): Set the section for the .debug_line section end
symbol.
* doc/as.texinfo: Document -gdwarf-sections.
* NEWS: Mention -gdwarf-sections.

* gas/elf/dwarf2-3.d: Fix expected readelf output.

* scripttempl/DWARF.sc: Add support for .debug_line.* and
.debug_line_end.

11 years agomep: define gdbarch_pc_regnum instead of gdbarch_write_pc.
Joel Brobecker [Mon, 29 Apr 2013 10:10:35 +0000 (10:10 +0000)] 
mep: define gdbarch_pc_regnum instead of gdbarch_write_pc.

gdb/ChangeLog:

* mep-tdep.c (mep_write_pc): Delete.
(mep_gdbarch_init): Remove call to set_gdbarch_write_pc.
Add call to set_gdbarch_pc_regnum.

11 years agoUse gdbarch_pc_regnum instead of gdbarch_write_pc.
Joel Brobecker [Mon, 29 Apr 2013 10:08:46 +0000 (10:08 +0000)] 
Use gdbarch_pc_regnum instead of gdbarch_write_pc.

gdb/ChangeLog:

* m32r-tdep.c (m32r_write_pc): Delete.
(m32r_gdbarch_init): Remove call to set_gdbarch_write_pc.
Add call to set_gdbarch_pc_regnum.

11 years ago * dwarf2read.c (handle_DW_AT_stmt_list): Avoid ARI warning for
Pierre Muller [Mon, 29 Apr 2013 09:52:07 +0000 (09:52 +0000)] 
* dwarf2read.c (handle_DW_AT_stmt_list): Avoid ARI warning for
editCase function rule.
(get_DW_AT_signature_type): Likewise.

11 years agobfd/efl32-arm.c: Fix handling of IRELATIVE relocs.
Will Newton [Mon, 29 Apr 2013 09:48:32 +0000 (09:48 +0000)] 
bfd/efl32-arm.c: Fix handling of IRELATIVE relocs.

bfd/ChangeLog:

2013-04-24  Will Newton  <will.newton@linaro.org>

* elf32-arm.c (elf32_arm_populate_plt_entry): Call
elf32_arm_add_dynreloc when emitting R_ARM_IRELATIVE relocs.

ld/testsuite/ChangeLog:

2013-04-24  Will Newton  <will.newton@linaro.org>

* ld-arm/arm-elf.exp: Add IFUNC test 17.
* ld-arm/ifunc-17.dd: New file.
* ld-arm/ifunc-17.gd: Likewise.
* ld-arm/ifunc-17.rd: Likewise.
* ld-arm/ifunc-17.s: Likweise.
* ld-arm/ifunc-1.rd: Reorder relocs to match linker output.
* ld-arm/ifunc-2.rd: Likewise.
* ld-arm/ifunc-5.rd: Likewise.
* ld-arm/ifunc-6.rd: Likewise.

11 years agold-plugin/lto.exp: Disable ld/12942 test for gcc < 4.7.0.
Will Newton [Mon, 29 Apr 2013 08:57:48 +0000 (08:57 +0000)] 
ld-plugin/lto.exp: Disable ld/12942 test for gcc < 4.7.0.

The test for ld/12942 fails with gcc versions before 4.7.0. This patch
disables this test with these versions of gcc.

ld/testsuite/ChangeLog:

2013-04-29  Will Newton  <will.newton@linaro.org>

* ld-plugin/lto.exp: Disable ld/12942 test for gcc < 4.7.0.

11 years ago * elf64-aarch64.c (elf64_aarch64_check_relocs): Move relocation
Nick Clifton [Mon, 29 Apr 2013 08:33:51 +0000 (08:33 +0000)] 
* elf64-aarch64.c (elf64_aarch64_check_relocs): Move relocation
error check up and add error message.

11 years ago * ./contrib/ari/gdb_ari.sh (editCase rule): Fix spelling error.
Pierre Muller [Mon, 29 Apr 2013 08:32:18 +0000 (08:32 +0000)] 
* ./contrib/ari/gdb_ari.sh (editCase rule): Fix spelling error.

11 years ago * emultempl/pe.em [cygwin]: Do not merge rdata with v2
Nick Clifton [Mon, 29 Apr 2013 08:22:16 +0000 (08:22 +0000)] 
* emultempl/pe.em [cygwin]: Do not merge rdata with v2
psuedo-relocs.

11 years agoAdd ARI marker to get_DW_AT_signature_type.
Joel Brobecker [Mon, 29 Apr 2013 05:05:44 +0000 (05:05 +0000)] 
Add ARI marker to get_DW_AT_signature_type.

gdb/ChangeLog:

        * dwarf2read.c (get_DW_AT_signature_type): Add ARI marker.

11 years agodaily update
Alan Modra [Mon, 29 Apr 2013 00:00:04 +0000 (00:00 +0000)] 
daily update

11 years ago*** empty log message ***
gdbadmin [Mon, 29 Apr 2013 00:00:02 +0000 (00:00 +0000)] 
*** empty log message ***

11 years agold/
Thomas Schwinge [Sun, 28 Apr 2013 14:52:55 +0000 (14:52 +0000)] 
ld/
* scripttempl/armbpabi.sc: Replace "source" usage with ".".
* scripttempl/avr.sc: Likewise.
* scripttempl/elf.sc: Likewise.
* scripttempl/elf32cr16.sc: Likewise.
* scripttempl/elf32crx.sc: Likewise.
* scripttempl/elf32msp430.sc: Likewise.
* scripttempl/elf32msp430_3.sc: Likewise.
* scripttempl/elf32sh-symbian.sc: Likewise.
* scripttempl/elf64hppa.sc: Likewise.
* scripttempl/elf_chaos.sc: Likewise.
* scripttempl/elfd10v.sc: Likewise.
* scripttempl/elfd30v.sc: Likewise.
* scripttempl/elfi370.sc: Likewise.
* scripttempl/elfm68hc11.sc: Likewise.
* scripttempl/elfm68hc12.sc: Likewise.
* scripttempl/elfxgate.sc: Likewise.
* scripttempl/elfxtensa.sc: Likewise.
* scripttempl/epiphany_4x4.sc: Likewise.
* scripttempl/i386beos.sc: Likewise.
* scripttempl/i386go32.sc: Likewise.
* scripttempl/ia64vms.sc: Likewise.
* scripttempl/ip2k.sc: Likewise.
* scripttempl/iq2000.sc: Likewise.
* scripttempl/mep.sc: Likewise.
* scripttempl/mmo.sc: Likewise.
* scripttempl/v850.sc: Likewise.
* scripttempl/v850_rh850.sc: Likewise.
* scripttempl/xstormy16.sc: Likewise.

11 years agogdb/
Yao Qi [Sun, 28 Apr 2013 08:58:29 +0000 (08:58 +0000)] 
gdb/

* solib-dsbt.c (fetch_loadmap): Re-indent.
(displacement_from_map, enable_break2): Likewise.
(dsbt_relocate_section_addresses): Likewise.

11 years agodaily update
Alan Modra [Sun, 28 Apr 2013 00:00:04 +0000 (00:00 +0000)] 
daily update

11 years ago*** empty log message ***
gdbadmin [Sun, 28 Apr 2013 00:00:02 +0000 (00:00 +0000)] 
*** empty log message ***

11 years ago * target-reloc.h (relocate_section): If the reloc offset is out of
Ian Lance Taylor [Sat, 27 Apr 2013 00:53:16 +0000 (00:53 +0000)] 
* target-reloc.h (relocate_section): If the reloc offset is out of
range, pass VIEW as NULL to relocate.relocate.
* arm.cc (Target_arm:Relocate::relocate): Check for a NULL view.
* i386.cc (Target_i386::Relocate::relocate): Likewise.
* powerpc.cc (Target_powerpc::Relocate::relocate): Likewise.
* sparc.cc (Target_sparc::Relocate::relocate): Likewise.
* tilegx.cc (Target_tilegx::Relocate::relocate): Likewise.
* x86_64.cc (Target_x86_64::Relocate::relocate): Likewise.

11 years ago*** empty log message ***
gdbadmin [Sat, 27 Apr 2013 00:00:32 +0000 (00:00 +0000)] 
*** empty log message ***

11 years agodaily update
Alan Modra [Sat, 27 Apr 2013 00:00:05 +0000 (00:00 +0000)] 
daily update

11 years ago2013-04-26 Geoff Pike <gpike@chromium.org>
Cary Coutant [Fri, 26 Apr 2013 21:38:57 +0000 (21:38 +0000)] 
2013-04-26  Geoff Pike  <gpike@chromium.org>

gold/
* gold.cc (queue_final_tasks): invoke layout->queue_build_id_tasks().
* layout.cc (Hash_task): New class.
(Layout::queue_build_id_tasks): New function.
(Layout::write_build_id): Handle single-thread portion of build ID
computation.  (In some cases, all of it is single-threaded.)  Replace
{sha1,md5}_process_bytes with {sha1,md5}_buffer to get the same
functionality in fewer lines of code.
* layout.h (Layout::queue_build_id_tasks): New function declaration.
* options.h (General_options): make "--build-id" default to tree
rather than sha1.  Add two new options related to --build-id=tree:
--build-id-chunk-size-for-treehash and
--build-id-min-file-size-for-treehash.
* Makefile.am: add testing of --build-id=tree and related new options
(these tests will be invoked by "make check").
* Makefile.in: Regenerate.

This page took 0.064404 seconds and 4 git commands to generate.