external/binutils.git
12 years agoAdd support for sparc compare-and-branch instructions.
David S. Miller [Fri, 27 Apr 2012 18:03:13 +0000 (18:03 +0000)]
Add support for sparc compare-and-branch instructions.

opcodes/

* sparc-opc.c (CBCOND): New define.
(CBCOND_XCC): Likewise.
(cbcond): New helper macro.
(sparc_opcodes): Add compare-and-branch instructions.

gas/

* config/tc-sparc.c (sparc_arch_table): Add HWCAP_CBCOND to
sparc4, v8pluse, v8plusv, v9e, and v9v.
(sparc_ip): Handle R_SPARC_5 of immediate constants inline in
order to accomodate cbcond which otherwise would require two
relocations to be handled in a single instruction..

gas/testsuite/

* gas/sparc/cbcond.s: New file.
* gas/sparc/cbcond.d: New file.
* gas/sparc/sparc.exp: Run cbcond test.

12 years agoAdd support for SPARC T4 crypto instructions.
David S. Miller [Fri, 27 Apr 2012 18:02:35 +0000 (18:02 +0000)]
Add support for SPARC T4 crypto instructions.

include/opcode/

* sparc.h: Document new arg code' )' for crypto RS3
immediates.

opcodes/

* sparc-dis.c (print_insn_sparc): Handle ')'.
* sparc-opc.c (sparc_opcodes): Add crypto instructions.

gas/

* config/tc-sparc.c (sparc_ip): Likewise.  Accept instruction
names containing "_".
(sparc_arch_table): Add sparc4, v8pluse, and v9e.  Add crypto
hwcap masks to v8plusv and v9v.

gas/testsuite/

* gas/sparc/crypto.s: New file.
* gas/sparc/crypto.d: New file.
* gas/sparc/sparc.exp: Run crypto test.

12 years agoMove sparc opcode hwcaps out of sparc_opcode flags field.
David S. Miller [Fri, 27 Apr 2012 18:01:35 +0000 (18:01 +0000)]
Move sparc opcode hwcaps out of sparc_opcode flags field.

include/opcode/

* sparc.h (struct sparc_opcode): New field 'hwcaps'.
F_MUL32, F_DIV32, F_FDMULD, F_V8PLUS, F_POPC, F_VIS, F_VIS2,
F_ASI_BLK_INIT, F_FMAF, F_VIS3, F_HPC, F_RANDOM, F_TRANS,
F_FJFMAU, F_IMA, F_ASI_CACHE_SPARING, F_HWCAP_MASK): Delete.
(HWCAP_MUL32, HWCAP_DIV32, HWCAP_FSMULD, HWCAP_V8PLUS, HWCAP_POPC,
HWCAP_VIS, HWCAP_VIS2, HWCAP_ASI_BLK_INIT, HWCAP_FMAF,
HWCAP_VIS3, HWCAP_HPC, HWCAP_RANDOM, HWCAP_TRANS, HWCAP_FJFMAU,
HWCAP_IMA, HWCAP_ASI_CACHE_SPARING, HWCAP_AES, HWCAP_DES,
HWCAP_KASUMI, HWCAP_CAMELLIA, HWCAP_MD5, HWCAP_SHA1,
HWCAP_SHA256, HWCAP_SHA512, HWCAP_MPMUL, HWCAP_MONT, HWCAP_PAUSE,
HWCAP_CBCOND, HWCAP_CRC32): New defines.

opcodes/

* sparc-opc.c (sparc_opcodes): Rework table to put HWCAP values
into new struct sparc_opcode 'hwcaps' field instead of 'flags'.

gas/

* config/tc-sparc.c (sparc_arch_table): Rework to use HWCAP_*
masks.
(sparc_md_end): No longer need to translate hwcap_seen values into
ELF hwcap bits, they now match exactly.
(get_hwcap_name): Use HWCAP_* and handle new values.
(sparc_ip): Fetch hwcaps from insn->hwcaps instead of insn->flags.

12 years agoAdd new ELF_SPARC_HWCAP_* defines for features found on SPARC-T4.
David S. Miller [Fri, 27 Apr 2012 18:00:52 +0000 (18:00 +0000)]
Add new ELF_SPARC_HWCAP_* defines for features found on SPARC-T4.

include/elf/

* sparc.h: Add new ELF_SPARC_HWCAP_* defines for crypto,
pause, and compare-and-branch instructions.

12 years ago*** empty log message ***
gdbadmin [Fri, 27 Apr 2012 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
Alan Modra [Fri, 27 Apr 2012 00:00:05 +0000 (00:00 +0000)]
daily update

12 years agogdb/
Jan Kratochvil [Thu, 26 Apr 2012 20:32:30 +0000 (20:32 +0000)]
gdb/
Fix DW_AT_lower_bound defaults for DWARF-4+.
* dwarf2read.c (read_subrange_type): Remove initialization of low and
high.  New variable low_default_is_valid.  Implement DWARF-4+
DW_AT_lower_bound defaults.  Print complaint for DW_AT_lower_bound with
no default by the DWARF standard.

12 years ago gdb/
Maciej W. Rozycki [Thu, 26 Apr 2012 16:56:18 +0000 (16:56 +0000)]
gdb/
* infrun.c (handle_inferior_event): Move the check for return
trampolines ahead of the check for function trampolines.
* mips-tdep.h (MIPS_S2_REGNUM, MIPS_GP_REGNUM): New macros.
* mips-tdep.c (mips_str_mips16_call_stub): New variable.
(mips_str_mips16_ret_stub): Likewise.
(mips_str_call_fp_stub): Likewise.
(mips_str_call_stub): Likewise.
(mips_str_fn_stub): Likewise.
(mips_str_pic): Likewise.
(mips_in_frame_stub): New function.
(mips_unwind_pc): Return the return address rather than the PC
if the PC of an intermediate frame is inside a call thunk.
(mips_is_stub_suffix): New function.
(mips_is_stub_mode): Likewise.
(mips_get_mips16_fn_stub_pc): Likewise.
(mips_skip_mips16_trampoline_code): Update to handle all the
currently generated stub types.  Don't recurse into __fn_stub
thunks.  Remove heuristics to handle stubs beyond etext/_etext.
Use cooked register accesses.
(mips_in_return_stub): Reintroduce function.
(mips_skip_trampoline_code): Traverse trampolines recursively.
(mips_gdbarch_init): Handle MIPS16 return trampolines.

gdb/testsuite/
* gdb.arch/mips16-thunks-inmain.c: New file.
* gdb.arch/mips16-thunks-main.c: New file.
* gdb.arch/mips16-thunks-sin.c: New file.
* gdb.arch/mips16-thunks-sinfrob.c: New file.
* gdb.arch/mips16-thunks-sinfrob16.c: New file.
* gdb.arch/mips16-thunks-sinmain.c: New file.
* gdb.arch/mips16-thunks-sinmips16.c: New file.
* gdb.arch/mips16-thunks.exp: New file.

12 years agoMention GDB 7.4.1 release in CL.
gdbadmin [Thu, 26 Apr 2012 16:25:55 +0000 (16:25 +0000)]
Mention GDB 7.4.1 release in CL.

12 years ago * arm-tdep.h (VFP_REGISTER_SIZE): Define.
Jonathan Larmour [Thu, 26 Apr 2012 15:20:14 +0000 (15:20 +0000)]
* arm-tdep.h (VFP_REGISTER_SIZE): Define.
* features/arm-with-m-vfp-d16.xml: New file. Describes
Cortex-M with VFPv4-sp-d16 FPU register layout.
* features/Makefile (WHICH): Add arm-with-m-vfp-d16.
* features/arm-with-m-vfp-d16.c: New. Generated from above.
* arm-tdep.c: Include arm-with-m-vfp-d16.c.
(arm-register_g_packet_guesses): Add vfp-d16 guess.
(_initialise_arm_tdep): Initialize arm-with-m-vfp-d16 tdesc.

12 years ago* elf32-m68k.c (elf_m68k_check_relocs): Mark non-GOT references
Andreas Schwab [Thu, 26 Apr 2012 14:38:45 +0000 (14:38 +0000)]
* elf32-m68k.c (elf_m68k_check_relocs): Mark non-GOT references
also when generating PIE.
(elf_m68k_discard_copies): Mark undefined weak symbols referenced
by relocations as dynamic.

12 years agoRevert accidental check-in.
Hans-Peter Nilsson [Thu, 26 Apr 2012 13:52:16 +0000 (13:52 +0000)]
Revert accidental check-in.

12 years ago Make bfd asserts cause linker errors.
Hans-Peter Nilsson [Thu, 26 Apr 2012 13:51:14 +0000 (13:51 +0000)]
Make bfd asserts cause linker errors.
* ldmain.c (default_bfd_assert_handler): New variable.
(ld_bfd_assert_handler): New function.
(main): Call bfd_set_assert_handler.

12 years ago Provide a way for programs to recognize BFD_ASSERT calls.
Hans-Peter Nilsson [Thu, 26 Apr 2012 13:49:52 +0000 (13:49 +0000)]
Provide a way for programs to recognize BFD_ASSERT calls.
* bfd.c (bfd_assert_handler_type): New API type.
(bfd_set_assert_handler, bfd_get_assert_handler): New API functions.
(_bfd_assert_handler): New variable.
(_bfd_default_assert_handler): New function.
(bfd_assert): Call _bfd_assert_handler, not _bfd_error_handler.
* libbfd-in.h (_bfd_assert_handler): Declare.
* libbfd.h, bfd-in2.h: Regenerate.

12 years ago * arm.cc (Target_arm::do_is_defined_by_abi): Make sym a const
Ian Lance Taylor [Thu, 26 Apr 2012 00:07:21 +0000 (00:07 +0000)]
* arm.cc (Target_arm::do_is_defined_by_abi): Make sym a const
pointer.
(Stub_addend_reader::operator()): Declare Arm_relocate_functions
as a class, not a struct.
(Target_arm::scan_span_for_cortex_a8_erratum): Likewise.
(Target_arm::apply_cortex_a8_workaround): Likewise.
* gc.h: Declare Reloc_types as a struct, not a class.
* object.h: Declare Symbols_data as a struct.
* reloc.h: Declare Read_relocs_data as a struct.
* target.h: Declare Relocate_info as a struct.

12 years agodaily update
Alan Modra [Thu, 26 Apr 2012 00:00:12 +0000 (00:00 +0000)]
daily update

12 years ago*** empty log message ***
gdbadmin [Thu, 26 Apr 2012 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

12 years ago * cli/cli-decode.c (print_doc_line): Use stream instead of
Doug Evans [Wed, 25 Apr 2012 21:56:01 +0000 (21:56 +0000)]
* cli/cli-decode.c (print_doc_line): Use stream instead of
current_uiout.

12 years agoback out previous change
Doug Evans [Wed, 25 Apr 2012 20:55:47 +0000 (20:55 +0000)]
back out previous change

12 years ago * cli/cli-decode.c (print_doc_line): Use stream instead of
Doug Evans [Wed, 25 Apr 2012 18:58:57 +0000 (18:58 +0000)]
* cli/cli-decode.c (print_doc_line): Use stream instead of
current_uiout.

12 years ago2012-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
Sergio Durigan Junior [Wed, 25 Apr 2012 18:36:05 +0000 (18:36 +0000)]
2012-04-25  Sergio Durigan Junior  <sergiodj@redhat.com>

* features/arm-with-iwmmxt.c: Regenerate.
* features/arm-with-m-fpa-layout.c: Likewise.
* features/arm-with-m.c: Likewise.
* features/arm-with-neon.c: Likewise.
* features/arm-with-vfpv2.c: Likewise.
* features/arm-with-vfpv3.c: Likewise.
* features/mips-dsp-linux.c: Likewise.
* features/mips-linux.c: Likewise.
* features/mips64-dsp-linux.c: Likewise.
* features/mips64-linux.c: Likewise.
* features/s390-linux32.c: Likewise.
* features/s390-linux32v1.c: Likewise.
* features/s390-linux32v2.c: Likewise.
* features/s390-linux64.c: Likewise.
* features/s390-linux64v1.c: Likewise.
* features/s390-linux64v2.c: Likewise.
* features/s390x-linux64.c: Likewise.
* features/s390x-linux64v1.c: Likewise.
* features/s390x-linux64v2.c: Likewise.
* features/tic6x-c62x-linux.c: Likewise.
* features/tic6x-c62x.c: Likewise.
* features/tic6x-c64x-linux.c: Likewise.
* features/tic6x-c64x.c: Likewise.
* features/tic6x-c64xp-linux.c: Likewise.
* features/tic6x-c64xp.c: Likewise.
* target-descriptions.c: Only generate `field_type' and `type'
variables when needed.

12 years ago * doc/binutils.texi: Add -D/--enable-deterministic-archives option
Cary Coutant [Wed, 25 Apr 2012 17:50:14 +0000 (17:50 +0000)]
* doc/binutils.texi: Add -D/--enable-deterministic-archives option
to strip and objcopy.
* objcopy.c (deterministic): New global variable.
(strip_options): Add --enable-deterministic-archives.
(copy_options): Likewise.
(copy_usage): Likewise.
(strip_usage): Likewise.
(copy_archive): When stripping all, don't add archive map; set
deterministic output when requested.
(strip_main): Add -D/--enable-deterministic-archives option.
(copy_main): Likewise.

12 years ago * gdb.texinfo (Go): Fix thinko.
Doug Evans [Wed, 25 Apr 2012 16:13:17 +0000 (16:13 +0000)]
* gdb.texinfo (Go): Fix thinko.

12 years agoUpdate config.sub to 2012-04-18 version.
Joel Brobecker [Wed, 25 Apr 2012 15:53:25 +0000 (15:53 +0000)]
Update config.sub to 2012-04-18 version.

ChangeLog:

        * config.sub: Update to 2012-04-18 version from official repo.

12 years agoFix location of entry added last.
Joel Brobecker [Wed, 25 Apr 2012 15:16:29 +0000 (15:16 +0000)]
Fix location of entry added last.

12 years agoCorrupted path caused by "cd" command.
Joel Brobecker [Wed, 25 Apr 2012 15:14:59 +0000 (15:14 +0000)]
Corrupted path caused by "cd" command.

gdb/ChangeLog:

* cli/cli-cmds.c (cd_command): Use memmove instead of strcpy.

12 years ago Initial pass at Go language support.
Doug Evans [Wed, 25 Apr 2012 14:07:23 +0000 (14:07 +0000)]
Initial pass at Go language support.
* NEWS: Mention Go.
* Makefile.in (SFILES): Add go-exp.y, go-lang.c, go-typeprint.c,
go-valprint.c.
(COMMON_OBS): Add go-lang.o, go-val.print.o, go-typeprint.o.
(YYFILES): Add go-exp.c.
(YYOBJ): Add go-exp.o.
(local-maintainer-clean): Delete go-exp.c.
* defs.h (enum language): Add language_go.
* dwarf2read.c: #include "go-lang.h".
(fixup_go_packaging): New function.
(process_full_comp_unit): Call it when processing Go CUs.
(dwarf2_physname): Add Go support.
(read_file_scope): Handle missing language spec for GNU Go.
(set_cu_language): Handle DW_LANG_Go.
* go-exp.y: New file.
* go-lang.h: New file.
* go-lang.c: New file.
* go-typeprint.c: New file.
* go-valprint.c: New file.
* symtab.c: #include "go-lang.h".
(symbol_set_language): Handle language_go.
(symbol_find_demangled_name, symbol_set_names): Ditto.
(symbol_natural_name, demangle_for_lookup, find_main_name): Ditto.

testsuite/
* configure.ac: Create gdb.go/Makefile.
* configure: Regenerate.
* gdb.base/default.exp: Add "go" to "set language" testing.
* gdb.go/Makefile.in: New file.
* gdb.go/basic-types.exp: New file.
* gdb.go/chan.exp: New file.
* gdb.go/chan.go: New file.
* gdb.go/handcall.exp: New file.
* gdb.go/handcall.go: New file.
* gdb.go/hello.exp: New file.
* gdb.go/hello.go: New file.
* gdb.go/integers.exp: New file.
* gdb.go/integers.go: New file.
* gdb.go/methods.exp: New file.
* gdb.go/methods.go: New file.
* gdb.go/package.exp: New file.
* gdb.go/package1.go: New file.
* gdb.go/package2.go: New file.
* gdb.go/print.exp: New file.
* gdb.go/strings.exp: New file.
* gdb.go/strings.go: New file.
* gdb.go/types.exp: New file.
* gdb.go/types.go: New file.
* gdb.go/unsafe.exp: New file.
* gdb.go/unsafe.go: New file.
* lib/future.exp: Add Go support.
(gdb_find_go, gdb_find_go_linker): New procs.
(gdb_default_target_compile): Add Go support.
* lib/gdb.exp (skip_go_tests): New proc.
* lib/go.exp: New file.

doc/
* gdb.texinfo (Supported Languages): Add Go.
(Go): New node.

12 years ago * gdb.threads/linux-dp.exp: Unset 'seen' before 'array set'.
Tom Tromey [Wed, 25 Apr 2012 13:54:00 +0000 (13:54 +0000)]
* gdb.threads/linux-dp.exp: Unset 'seen' before 'array set'.

12 years agogdb/doc
Yao Qi [Wed, 25 Apr 2012 10:59:10 +0000 (10:59 +0000)]
gdb/doc
* gdbint.texinfo (Testsuite): New section `Board settings'.

12 years agoavoid a few strncpy-induced buffer overruns
Jim Meyering [Wed, 25 Apr 2012 08:16:43 +0000 (08:16 +0000)]
avoid a few strncpy-induced buffer overruns

* procfs.c (procfs_make_note_section): Be sure to NUL-terminate
fname and psargs before trying to concatenate.
* tui/tui-stack.c (tui_get_function_from_frame): NUL-terminate
"name" before applying strchr.

12 years ago2012-04-25 Siva Chandra Reddy <sivachandra@google.com>
Siva Chandra Reddy [Wed, 25 Apr 2012 07:08:07 +0000 (07:08 +0000)]
2012-04-25  Siva Chandra Reddy  <sivachandra@google.com>

* CONTRIBUTE: Use unified diff instead of context diff when
generating patches.

12 years agodaily update
Alan Modra [Wed, 25 Apr 2012 00:00:05 +0000 (00:00 +0000)]
daily update

12 years ago*** empty log message ***
gdbadmin [Wed, 25 Apr 2012 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

12 years agogold: Add linker relaxation of tail calls on sparc.
David S. Miller [Tue, 24 Apr 2012 22:40:23 +0000 (22:40 +0000)]
gold: Add linker relaxation of tail calls on sparc.

gold/

* sparc.cc (Target_sparc::Relocate::relax_call): New function.
(Target_sparc::Relocate::relocate): Call it for R_SPARC_WDISP30
and R_SPARC_WPLT30.

12 years ago * incremental-dump.cc (find_input_containing_global): Replace
Cary Coutant [Tue, 24 Apr 2012 22:05:28 +0000 (22:05 +0000)]
* incremental-dump.cc (find_input_containing_global): Replace
magic number with symbolic constant.
(dump_incremental_inputs): Update version number.
* incremental.cc (Output_section_incremental_inputs): Update version
number; import symbolic constants from Incremental_inputs_reader.
(Incremental_inputs::create_data_sections): Align relocations
section correctly for 64-bit targets.
(Output_section_incremental_inputs::set_final_data_size): Use symbolic
constants; add padding.
(Output_section_incremental_inputs::write_header): Add assert for
header_size.
(Output_section_incremental_inputs::write_input_files): Add assert
for input_entry_size.
(Output_section_incremental_inputs::write_info_blocks): Add padding;
add assert for object_info_size, input_section_entry_size,
global_sym_entry_size.
* incremental.h (Incremental_inputs_reader): Add symbolic constants
for data structure sizes; use them.
(Incremental_input_entry_reader): Import symbolic constants from
Incremental_inputs_reader; use them.

12 years ago * mips-tdep.c (mips_about_to_return): Remove dead MIPS16 support
Maciej W. Rozycki [Tue, 24 Apr 2012 19:56:02 +0000 (19:56 +0000)]
* mips-tdep.c (mips_about_to_return): Remove dead MIPS16 support
code.  Handle JR.HB correctly.

12 years ago * mips-tdep.c
Maciej W. Rozycki [Tue, 24 Apr 2012 19:44:16 +0000 (19:44 +0000)]
* mips-tdep.c
(is_mips16_addr, unmake_mips16_addr, make_mips16_addr): Group
with the other MIPS16 helpers.

12 years ago2012-04-24 Sergio Durigan Junior <sergiodj@redhat.com>
Sergio Durigan Junior [Tue, 24 Apr 2012 18:10:31 +0000 (18:10 +0000)]
2012-04-24  Sergio Durigan Junior  <sergiodj@redhat.com>

* observer.sh: Conditionally declare `args', thus cleaning up
unused instances of this variable.

12 years ago* ld-x86-64/plt-nacl.pd: Fix expected nop padding.
Roland McGrath [Tue, 24 Apr 2012 17:24:20 +0000 (17:24 +0000)]
* ld-x86-64/plt-nacl.pd: Fix expected nop padding.
* ld-x86-64/tlsdesc-nacl.pd: Likewise.

12 years ago PR ld/13990
Hans-Peter Nilsson [Tue, 24 Apr 2012 16:14:31 +0000 (16:14 +0000)]
PR ld/13990
* ld-arm/arm-elf.exp: Run gc-hidden-1.
* ld-arm/gc-hidden-1.d: New test-file.
* ld-arm/gcdfn.s, ld-arm/hideall.ld, ld-arm/hidfn.s,
ld-arm/main.s: New files.

12 years ago PR ld/13990
Hans-Peter Nilsson [Tue, 24 Apr 2012 16:09:12 +0000 (16:09 +0000)]
PR ld/13990
* elf32-arm.c (elf32_arm_gc_sweep_hook): Handle a forced-local
symbol, where PLT refcount is set to -1.

12 years ago * linux-low.h (PTRACE_ARG3_TYPE): Move macro from linux-low.c.
Thiago Jung Bauermann [Tue, 24 Apr 2012 15:03:43 +0000 (15:03 +0000)]
* linux-low.h (PTRACE_ARG3_TYPE): Move macro from linux-low.c.
(PTRACE_ARG4_TYPE): Likewise.
(PTRACE_XFER_TYPE): Likewise.
* linux-arm-low.c (arm_prepare_to_resume): Cast third argument of
ptrace to PTRACE_ARG3_TYPE.
* linux-low.c (PTRACE_ARG3_TYPE): Move macro to linux-low.h.
(PTRACE_ARG4_TYPE): Likewise.
(PTRACE_XFER_TYPE): Likewise.
(linux_detach_one_lwp): Cast fourth argument of
ptrace to long then PTRACE_ARG4_TYPE.
(regsets_fetch_inferior_registers): Cast third argument of
ptrace to long then PTRACE_ARG3_TYPE.
(regsets_store_inferior_registers): Likewise.

12 years agogdb:
Yao Qi [Tue, 24 Apr 2012 14:33:12 +0000 (14:33 +0000)]
gdb:
Revert this patch to allow breakpoint always-inserted
in record target.
2011-12-05  Pedro Alves  <pedro@codesourcery.com>
        * breakpoint.c: Include record.h.
        (breakpoints_always_inserted_mode): Return false when the record
        target is in use.

* breakpoint.c (iterate_over_bp_locations): New.
* breakpoint.h: Declare.
New typedef walk_bp_location_callback.
* record.c (record_open): Call record_init_record_breakpoints.
(record_sync_record_breakpoints): New.
(record_init_record_breakpoints): New.
* NEWS: Mention supporting breakpoint always-inserted mode in
record target.

12 years ago2012-04-24 Marc Khouzam <marc.khouzam@ericsson.com>
Marc Khouzam [Tue, 24 Apr 2012 14:26:22 +0000 (14:26 +0000)]
2012-04-24  Marc Khouzam  <marc.khouzam@ericsson.com>

  * mi/mi-main.c (mi_cmd_execute): Choose a live thread not just
any thread.

12 years agogdb/
Yao Qi [Tue, 24 Apr 2012 13:20:16 +0000 (13:20 +0000)]
gdb/
* breakpoint.c (ep_is_catchpoint): Renamed to ...
(is_catchpoint): ... it.
(print_one_breakpoint_location): Caller update.
* breakpoint.h: Update declaration.

12 years ago PR ld/13991
Alan Modra [Tue, 24 Apr 2012 05:12:40 +0000 (05:12 +0000)]
PR ld/13991
bfd/
* bfd/elf-bfd.h (_bfd_elf_link_just_syms): Define as
_bfd_generic_link_just_syms.
* bfd/elflink.c (_bfd_elf_link_just_syms): Delete.
* bfd/linker.c (_bfd_generic_link_just_syms): Set sec_info_type.

* bfd/bfd-in.h (discarded_section): Renamed from elf_discarded_section.
* bfd/section.c (SEC_INFO_TYPE_NONE, SEC_INFO_TYPE_STABS,
SEC_INFO_TYPE_MERGE, SEC_INFO_TYPE_EH_FRAME,
SEC_INFO_TYPE_JUST_SYMS): Renamed from corresponding ELF_INFO_TYPE.
* bfd/elf-eh-frame.c, * bfd/elf-m10200.c, * bfd/elf-m10300.c,
* bfd/elf.c, * bfd/elf32-arm.c, * bfd/elf32-avr.c, * bfd/elf32-bfin.c,
* bfd/elf32-cr16.c, * bfd/elf32-cr16c.c, * bfd/elf32-cris.c,
* bfd/elf32-crx.c, * bfd/elf32-d10v.c, * bfd/elf32-epiphany.c,
* bfd/elf32-fr30.c, * bfd/elf32-frv.c, * bfd/elf32-h8300.c,
* bfd/elf32-hppa.c, * bfd/elf32-i370.c, * bfd/elf32-i386.c,
* bfd/elf32-i860.c, * bfd/elf32-ip2k.c, * bfd/elf32-iq2000.c,
* bfd/elf32-lm32.c, * bfd/elf32-m32c.c, * bfd/elf32-m32r.c,
* bfd/elf32-m68hc1x.c, * bfd/elf32-m68k.c, * bfd/elf32-mcore.c,
* bfd/elf32-mep.c, * bfd/elf32-moxie.c, * bfd/elf32-msp430.c,
* bfd/elf32-mt.c, * bfd/elf32-openrisc.c, * bfd/elf32-ppc.c,
* bfd/elf32-rl78.c, * bfd/elf32-rx.c, * bfd/elf32-s390.c,
* bfd/elf32-score.c, * bfd/elf32-score7.c, * bfd/elf32-sh.c,
* bfd/elf32-spu.c, * bfd/elf32-tic6x.c, * bfd/elf32-tilepro.c,
* bfd/elf32-v850.c, * bfd/elf32-vax.c, * bfd/elf32-xc16x.c,
* bfd/elf32-xstormy16.c, * bfd/elf32-xtensa.c, * bfd/elf64-alpha.c,
* bfd/elf64-hppa.c, * bfd/elf64-ia64-vms.c, * bfd/elf64-mmix.c,
* bfd/elf64-ppc.c, * bfd/elf64-s390.c, * bfd/elf64-sh64.c,
* bfd/elf64-x86-64.c, * bfd/elflink.c, * bfd/elfnn-ia64.c,
* bfd/elfxx-mips.c, * bfd/elfxx-sparc.c, * bfd/elfxx-tilegx.c,
* bfd/reloc.c: Update all references.
* bfd/bfd-in2.h: Regenerate.
ld/
* ld/ldlang.c (size_input_section): Use sec_info_type rather than
usrdata->flags.just_syms.
* ld/ldwrite.c (build_link_order): Likewise.
* ld/emultempl/hppaelf.em (build_section_lists): Likewise.
* ld/emultempl/ppc64elf.em (build_toc_list): Likewise.
* ld/emultempl/armelf.em (build_section_lists): Likewise.
(after_allocation): Update for renamed sec_info_type value.
* ld/emultempl/tic6xdsbt.em: Likewise.

12 years agogdb: Enable gdbserver by default on sparc-*-linux*
David S. Miller [Tue, 24 Apr 2012 03:33:16 +0000 (03:33 +0000)]
gdb: Enable gdbserver by default on sparc-*-linux*

This appears to be an oversight, since this is done already for
sparc64-*-linux*, and essentially every other linux target.

gdb/

* configure.tgt (sparc-*-linux*): Set build_gdbserver to yes.

12 years ago*** empty log message ***
gdbadmin [Tue, 24 Apr 2012 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
Alan Modra [Tue, 24 Apr 2012 00:00:05 +0000 (00:00 +0000)]
daily update

12 years agogold: Maintain sparc ELF header bits properly
David S. Miller [Mon, 23 Apr 2012 23:42:03 +0000 (23:42 +0000)]
gold: Maintain sparc ELF header bits properly

gold/

* sparc.cc (class Target_sparc): Add elf_machine_, elf_flags_,
and elf_flags_set_.
(Target_sparc::Target_sparc): Initialize new fields.
(Target_sparc::do_make_elf_object): New function.
(Target_sparc::do_adjust_elf_header): New function.

12 years agoelfcpp/
Cary Coutant [Mon, 23 Apr 2012 23:31:15 +0000 (23:31 +0000)]
elfcpp/

* elfcpp_swap.h (struct Swap_aligned32): New template.

gold/

* gdb-index.cc (Gdb_index::do_write): Use Swap_aligned32 for writing
CU range table of gdb index.

12 years ago * buildsym.c (add_free_pendings): Remove.
Tom Tromey [Mon, 23 Apr 2012 18:53:16 +0000 (18:53 +0000)]
* buildsym.c (add_free_pendings): Remove.
* buildsym.h (add_free_pendings): Remove.

12 years ago* ld-pie/pie.exp: Remove extra braces.
Andreas Schwab [Mon, 23 Apr 2012 18:03:28 +0000 (18:03 +0000)]
* ld-pie/pie.exp: Remove extra braces.

12 years agogdb/doc/
Jan Kratochvil [Mon, 23 Apr 2012 17:26:01 +0000 (17:26 +0000)]
gdb/doc/
* gdb.texinfo (Auto-loading safe path): Add trailing @dots{}.
Three times.

12 years agogdb/doc/
Jan Kratochvil [Mon, 23 Apr 2012 17:20:56 +0000 (17:20 +0000)]
gdb/doc/
* gdb.texinfo (Auto-loading safe path): Remove trailing [@dots{}].
Three times.

12 years ago * dwarf2read.c (partial_die_full_name): Record DW_FORM_ref_addr in
Doug Evans [Mon, 23 Apr 2012 16:46:02 +0000 (16:46 +0000)]
* dwarf2read.c (partial_die_full_name): Record DW_FORM_ref_addr in
attr.u.unsnd instead of attr.u.addr.
(read_attribute_value) Ditto for cases DW_FORM_ref_addr,
DW_FORM_ref1, DW_FORM_ref2, DW_FORM_ref4, DW_FORM_reg8,
DW_FORM_ref_udata.
(dump_die_shallow): Update cases DW_FORM_ref_addr,
DW_FORM_ref1, DW_FORM_ref2, DW_FORM_ref4.  Add cases DW_FORM_ref8,
DW_FORM_ref_udata.
(dwarf2_get_ref_die_offset): Use DW_UNSND for reference attributes.

12 years ago * mips-tdep.c (mips_n32n64_return_value): Fix coding style.
Maciej W. Rozycki [Mon, 23 Apr 2012 16:00:19 +0000 (16:00 +0000)]
* mips-tdep.c (mips_n32n64_return_value): Fix coding style.
(mips_o32_return_value): Likewise.
(mips_o64_return_value): Likewise.

12 years ago*** empty log message ***
gdbadmin [Mon, 23 Apr 2012 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
Alan Modra [Mon, 23 Apr 2012 00:00:06 +0000 (00:00 +0000)]
daily update

12 years agogdb/doc/
Jan Kratochvil [Sun, 22 Apr 2012 15:49:21 +0000 (15:49 +0000)]
gdb/doc/
* gdb.texinfo (Auto-loading safe path): Replace @itemize @bullet
by @table @asis.  Fix formatting of one item.

12 years ago*** empty log message ***
gdbadmin [Sun, 22 Apr 2012 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
Alan Modra [Sun, 22 Apr 2012 00:00:05 +0000 (00:00 +0000)]
daily update

12 years agoAdd proper handling for internal functions and STT_GNU_IFUNC symbols in Ada mode.
Paul N. Hilfinger [Sat, 21 Apr 2012 22:12:59 +0000 (22:12 +0000)]
Add proper handling for internal functions and STT_GNU_IFUNC symbols in Ada mode.

The code for handling calls to internal functions (esp., Python
functions) and for handling STT_GNU_IFUNC had not been added to the Ada
expression evaluator.  This change adapts them from eval.c.

gdb/Changelog:

        * ada-lang.c (ada_evaluate_subexp): Add cases for
          TYPE_CODE_INTERNAL_FUNCTION and for TYPE_GNU_IFUNC, following
          their treatment in eval.c.

12 years agoHandle sparc compare-and-branch
David S. Miller [Sat, 21 Apr 2012 19:03:52 +0000 (19:03 +0000)]
Handle sparc compare-and-branch

SPARC-T4 adds a "compare and branch" instruction which fuses
a compare and a branch instruction into one.  The branch
is non-delayed, there are no anulling facilities, and the
displacement is 10-bits.

This also corrects the existing bit test for Branch on
Integer Register.  The distinguising characteristic between
Branch on Integer Register and Compare-and-Branch is bit
28.  The existing code was checking bit 24 for zero, but
that's pointless because bit 24 is already covered by
the "X_OP2 (insn) == 3" test.

gdb/

* sparc-tdep.c (X_DISP10): Define.
(sparc_analyze_control_transfer): Handle compare-and-branch.

12 years ago*** empty log message ***
gdbadmin [Sat, 21 Apr 2012 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
Alan Modra [Sat, 21 Apr 2012 00:00:05 +0000 (00:00 +0000)]
daily update

12 years ago * features/Makefile (WHICH): Add arm-with-m and arm-with-m-fpa-layout.
Jonathan Larmour [Fri, 20 Apr 2012 23:39:58 +0000 (23:39 +0000)]
    * features/Makefile (WHICH): Add arm-with-m and arm-with-m-fpa-layout.
        * arm-tdep.c (arm_register_g_packet_guesses): Fix comment.

12 years ago * mips-tdep.c (mips_float_register_p): New function.
Maciej W. Rozycki [Fri, 20 Apr 2012 23:31:39 +0000 (23:31 +0000)]
* mips-tdep.c (mips_float_register_p): New function.
(mips_convert_register_float_case_p): Use mips_float_register_p.
(mips_register_type): Likewise.
(mips_print_register): Likewise.
(print_gp_register_row): Likewise.
(mips_print_registers_info): Likewise.

12 years ago * mips-tdep.c (mips_elf_make_msymbol_special): Fix identification
Maciej W. Rozycki [Fri, 20 Apr 2012 23:01:51 +0000 (23:01 +0000)]
* mips-tdep.c (mips_elf_make_msymbol_special): Fix identification
of mips16 symbols.

12 years ago2012-04-20 Andrew Pinski <apinski@cavium.com>
Andrew Pinski [Fri, 20 Apr 2012 22:59:48 +0000 (22:59 +0000)]
2012-04-20  Andrew Pinski  <apinski@cavium.com>

        * MAINTAINERS (Write After Approval): Add myself to the list.

12 years ago2012-04-20 Sergio Durigan Junior <sergiodj@redhat.com>
Sergio Durigan Junior [Fri, 20 Apr 2012 22:56:45 +0000 (22:56 +0000)]
2012-04-20  Sergio Durigan Junior  <sergiodj@redhat.com>

* MAINTAINERS: Update my e-mail address.

12 years agogold: Fix parameterization of do_adjust_elf_header
David S. Miller [Fri, 20 Apr 2012 22:23:47 +0000 (22:23 +0000)]
gold: Fix parameterization of do_adjust_elf_header

gold/

* target.cc (Sized_target::do_adjust_elf_header): Use big_endian
instead of false.

12 years ago2012-04-20 Pedro Alves <palves@redhat.com>
Pedro Alves [Fri, 20 Apr 2012 17:58:49 +0000 (17:58 +0000)]
2012-04-20  Pedro Alves  <palves@redhat.com>

gdb/
* acx_configure_dir.m4 (ACX_CONFIGURE_DIR): Handle absolute
$srcdir.
* configure: Regenerate.

gdb/gdbserver/
* configure: Regenerate.

12 years ago2012-04-20 Sergio Durigan Junior <sergiodj@redhat.com>
Sergio Durigan Junior [Fri, 20 Apr 2012 16:57:17 +0000 (16:57 +0000)]
2012-04-20  Sergio Durigan Junior  <sergiodj@redhat.com>

* cp-support.h: Include `gdb_vecs.h'.  Delete `const_char_ptr' VEC
declaration.
* gdb_vecs.h: Declare `const_char_ptr' VEC.

12 years agowhitespace/tabify
Pedro Alves [Fri, 20 Apr 2012 16:36:24 +0000 (16:36 +0000)]
whitespace/tabify

12 years ago2012-04-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
Andreas Krebbel [Fri, 20 Apr 2012 11:45:54 +0000 (11:45 +0000)]
2012-04-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* elf32-s390.c (ELF_DYNAMIC_INTERPRETER): Set to the GCC default.
* elf64-s390.c (ELF_DYNAMIC_INTERPRETER): Set to the GCC default.

12 years ago2012-04-20 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Fri, 20 Apr 2012 10:21:33 +0000 (10:21 +0000)]
2012-04-20  Tristan Gingold  <gingold@adacore.com>

* config/tc-ia64.c (obj_elf_vms_common): New function.
(md_pseudo_table): Add .vms_common pseudo.
* config/obj-elf.h (obj_elf_section_name): Add a prototype.
* config/obj-elf.c (obj_elf_section_name): Make it public.

12 years agogdb/
Jan Kratochvil [Fri, 20 Apr 2012 07:17:58 +0000 (07:17 +0000)]
gdb/
Fix compilation compatibility with python-2.4
* python/py-type.c (convert_field): Cast ADDRSTRING for
PyObject_SetAttrString as non-const.  New comment.

12 years ago*** empty log message ***
gdbadmin [Fri, 20 Apr 2012 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
Alan Modra [Fri, 20 Apr 2012 00:00:05 +0000 (00:00 +0000)]
daily update

12 years ago * top.c (quit_target): Use all_cleanups.
Tom Tromey [Thu, 19 Apr 2012 20:18:26 +0000 (20:18 +0000)]
* top.c (quit_target): Use all_cleanups.
* main.c (captured_command_loop): Use all_cleanups.
* exceptions.c (throw_exception): Use all_cleanups.

12 years ago2012-04-19 Pedro Alves <palves@redhat.com>
Pedro Alves [Thu, 19 Apr 2012 19:34:52 +0000 (19:34 +0000)]
2012-04-19  Pedro Alves  <palves@redhat.com>

gdb/
* Makefile.in (GNULIB_BUILDDIR): New.
(LIBGNU, INCGNU, GNULIB_H): Adjust.
(SUBDIRS): Add $(GNULIB_BUILDDIR).
(CLEANDIRS). Remove gnulib/import.
(REQUIRED_SUBDIRS): Replace gnulib/import with $(GNULIB_BUILDDIR).
(all-lib): Ditto.
(distclean): Remove the $(GNULIB_BUILDDIR) directory.
(gnulib/import/Makefile): Replace gnulib/import with
$(GNULIB_BUILDDIR).  Set CONFIG_FILES to just Makefile.
(ACLOCAL_AMFLAGS): Remove '-I gnulib/import/m4'.
(aclocal_m4_deps): Remove the gnulib dependencies.  Add
acx_configure_dir.m4.
* acinclude.m4: Include acx_configure_dir.m4.
* acx_configure_dir.m4: New file.
* aclocal.m4: Regenerate.
        * configure.ac: Remove gl_EARLY, gl_INIT and AM_INIT_AUTOMAKE
        calls.  Configure gnulib using ACX_CONFIGURE_DIR.
        (GNULIB): New variable.
        (GNULIB_STDINT_H): Adjust.
        (AC_OUTPUT): Don't output gnulib/Makefile.
        * gdb/defs.h: Include build-gnulib/config.h.
        * aclocal.m4: Regenerate.
        * config.in: Regenerate.
        * configure: Regenerate.

        * gnulib/Makefile.in: New file.
        * gnulib/configure.ac: New file.
        * gnulib/aclocal.m4: New file.
        * gnulib/config.in: New file.
        * gnulib/configure: New file.
* gnulib/: Re-run gnulib-tool to adjust.

        gdb/gdbserver/
        * Makefile.in (GNULIB_BUILDDIR): New.
(LIBGNU, INCGNU, GNULIB_H): Adjust.
        (SUBDIRS, CLEANDIRS, REQUIRED_SUBDIRS): New.
        (all, install-only, uninstall, clean-info, all-lib, clean): No
        longer pass GNULIB_FLAGS_TO_PASS.  Use subdir_do.
        (maintainer-clean realclean distclean): Use subdir_do.
        (subdir_do): New.
        (gnulib/import/Makefile): Adjust.  Replace gnulib/import with
$(GNULIB_BUILDDIR).  Don't pass argument to config.status.
        * acinclude.m4: Include acx_configure_dir.m4.
        * configure.ac: Remove gl_EARLY, gl_INIT, and AM_INIT_AUTOMAKE
        calls.  Call AC_PROG_RANLIB.  Configure gnulib using
        ACX_CONFIGURE_DIR.
        (GNULIB): New.
        (GNULIB_STDINT_H): Adjust.
        (AC_OUTPUT): Don't output gnulib/Makefile anymore.
        * gdbreplay.c: Include build-gnulib/config.h.
        * server.h: Likewise.
        * aclocal.m4: Regenerate.
        * config.in: Regenerate.
        * configure: Regenerate.

12 years agoRevert commit that should not have gone in.
Pedro Alves [Thu, 19 Apr 2012 19:32:15 +0000 (19:32 +0000)]
Revert commit that should not have gone in.

12 years ago * cleanups.h (struct cleanup): Move to cleanups.c.
Doug Evans [Thu, 19 Apr 2012 19:11:02 +0000 (19:11 +0000)]
* cleanups.h (struct cleanup): Move to cleanups.c.
(make_cleanup_dtor_ftype): New typedef.
(make_cleanup_dtor): Use it.
(ALL_CLEANUPS): Replace with ...
(all_cleanups): ... this.  Declare.  All uses updated.
* cleanups.c: #include "gdb_assert.h".
(sentinel_cleanup): New static global.
(SENTINEL_CLEANUP): Define.
(cleanup_chain, final_cleanup_chain): Initialize to SENTINEL_CLEANUP.
(make_my_cleanup2): Assert result is non-NULL.
(all_cleanups): New function.
(save_my_cleanups): Initialize new chain to SENTINEL_CLEANUP instead
of NULL.

12 years ago2012-04-19 Pedro Alves <palves@redhat.com>
Pedro Alves [Thu, 19 Apr 2012 17:18:18 +0000 (17:18 +0000)]
2012-04-19  Pedro Alves  <palves@redhat.com>

* Makefile.in (GNULIB_BUILDDIR): New.
(LIBGNU, INCGNU, GNULIB_H): Adjust.
(SUBDIRS): Add $(GNULIB_BUILDDIR).
(CLEANDIRS). Remove gnulib/import.
(REQUIRED_SUBDIRS): Replace gnulib/import with $(GNULIB_BUILDDIR).
(all-lib): Ditto.
(distclean): Remove the $(GNULIB_BUILDDIR) directory.
(gnulib/import/Makefile): Replace gnulib/import with
$(GNULIB_BUILDDIR).  Set CONFIG_FILES to just Makefile.
(ACLOCAL_AMFLAGS): Remove '-I gnulib/import/m4'.
(aclocal_m4_deps): Remove the gnulib dependencies.  Add
acx_configure_dir.m4.
* acinclude.m4: Include acx_configure_dir.m4.
* acx_configure_dir.m4: New file.
* aclocal.m4: Regenerate.
        * configure.ac: Remove gl_EARLY, gl_INIT and AM_INIT_AUTOMAKE
        calls.  Configure gnulib using ACX_CONFIGURE_DIR.
        (GNULIB): New variable.
        (GNULIB_STDINT_H): Adjust.
        (AC_OUTPUT): Don't output gnulib/Makefile.
        * gdb/defs.h: Include build-gnulib/config.h.
        * acx_configure_dir.m4: New file.
        * aclocal.m4: Regenerate.
        * config.in: Regenerate.
        * configure: Regenerate.

        * gnulib/Makefile.in: New file.
        * gnulib/configure.ac: New file.
        * gnulib/aclocal.m4: New file.
        * gnulib/config.in: New file.
        * gnulib/configure: New file.
* gnulib/: Re-run gnulib-tool to adjust.

        gdbserver/
        * Makefile.in (GNULIB_BUILDDIR): New.
(LIBGNU, INCGNU, GNULIB_H): Adjust.
        (SUBDIRS, CLEANDIRS, REQUIRED_SUBDIRS): New.
        (all, install-only, uninstall, clean-info, all-lib, clean): No
        longer pass GNULIB_FLAGS_TO_PASS.  Use subdir_do.
        (maintainer-clean realclean distclean): Use subdir_do.
        (subdir_do): New.
        (gnulib/import/Makefile): Adjust.  Replace gnulib/import with
$(GNULIB_BUILDDIR).  Don't pass argument to config.status.
        * acinclude.m4: Include acx_configure_dir.m4.
        * configure.ac: Remove gl_EARLY, gl_INIT, and AM_INIT_AUTOMAKE
        calls.  Call AC_PROG_RANLIB.  Configure gnulib using
        ACX_CONFIGURE_DIR.
        (GNULIB): New.
        (GNULIB_STDINT_H): Adjust.
        (AC_OUTPUT): Don't output gnulib/Makefile anymore.
        * gdbreplay.c: Include build-gnulib/config.h.
        * server.h: Likewise.
        * aclocal.m4: Regenerate.
        * config.in: Regenerate.
        * configure: Regenerate.

12 years ago2012-04-19 Pedro Alves <palves@redhat.com>
Pedro Alves [Thu, 19 Apr 2012 17:15:07 +0000 (17:15 +0000)]
2012-04-19  Pedro Alves  <palves@redhat.com>

* Makefile.in (HFILES_NO_SRCDIR): Remove gnulib/wchar.in.h.
Adjust paths to gnulib imported files.
C

12 years ago2012-04-19 Pedro Alves <palves@redhat.com>
Pedro Alves [Thu, 19 Apr 2012 16:55:28 +0000 (16:55 +0000)]
2012-04-19  Pedro Alves  <palves@redhat.com>

* Makefile.in (HFILES_NO_SRCDIR): Remove gnulib/wchar.in.h.
Adjust paths to gnulib imported files.

12 years ago2012-04-19 Pedro Alves <palves@redhat.com>
Pedro Alves [Thu, 19 Apr 2012 15:27:52 +0000 (15:27 +0000)]
2012-04-19  Pedro Alves  <palves@redhat.com>

gdb/
* gnulib/: Move whole directory ...
* gnulib/import/: ... here, and re-rerun gnulib-tool to adjust.
* Makefile.in (LIBGNU, INCGNU, GNULIB_H, CLEANDIRS)
(REQUIRED_SUBDIRS, all-lib, gnulib/Makefile, ACLOCAL_AMFLAGS)
(aclocal_m4_deps): Adjust.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* configure.ac: Adjust AC_OUTPUT output.

gdbserver/
* Makefile.in (LIBGNU, INCGNU): Adjust.
(GNULIB_FLAGS_TO_PASS, GNULIB_H): Adjust.
(all, install-only, uninstall, clean-info, all-lib, clean)
(maintainer-clean, Makefile, gnulib/Makefile): Adjust.
* configure.ac: Adjust AC_OUTPUT output.
* aclocal.m4: Regenerate.
* configure: Regenerate.

12 years ago2012-04-19 Pedro Alves <palves@redhat.com>
Pedro Alves [Thu, 19 Apr 2012 13:26:25 +0000 (13:26 +0000)]
2012-04-19  Pedro Alves  <palves@redhat.com>

* Makefile.in (generated_files): New.
(server_h): Remove the explicit dependency on config.h, and depend
on $generated_files.

12 years ago2012-04-19 Pedro Alves <palves@redhat.com>
Pedro Alves [Thu, 19 Apr 2012 12:10:06 +0000 (12:10 +0000)]
2012-04-19  Pedro Alves  <palves@redhat.com>

* Makefile.in (INCGNU): Add -Ignulib.

12 years ago2012-04-19 Pedro Alves <palves@redhat.com>
Pedro Alves [Thu, 19 Apr 2012 12:02:56 +0000 (12:02 +0000)]
2012-04-19  Pedro Alves  <palves@redhat.com>

* Makefile.in (GNULIB_INCLUDE_DIR): Rename to ...
(INCGNU): ... this, and spell out -I here.
(GNULIB_LIB): Rename to ...
(LIBGNU): ... this.
(INCLUDE_CFLAGS, gdbserver$(EXEEXT), $(GNULIB_LIB) rule): Adjust.

12 years ago2012-04-19 Pedro Alves <palves@redhat.com>
Pedro Alves [Thu, 19 Apr 2012 11:58:57 +0000 (11:58 +0000)]
2012-04-19  Pedro Alves  <palves@redhat.com>

* config.in: Regenerate.

12 years agoMove entries to right place. Drop config.in entry, as I forgot to
Pedro Alves [Thu, 19 Apr 2012 11:57:39 +0000 (11:57 +0000)]
Move entries to right place.  Drop config.in entry, as I forgot to
actually do what it says.

12 years ago2012-04-19 Pedro Alves <palves@redhat.com>
Pedro Alves [Thu, 19 Apr 2012 10:23:03 +0000 (10:23 +0000)]
2012-04-19  Pedro Alves  <palves@redhat.com>

* configure.ac: Remove AC_CHECK_DECLS check for memmem.
* server.h (memmem): Remove declaration.
* config.in: Regenerate.
* configure: Regenerate.

12 years agobfd/
Thomas Schwinge [Thu, 19 Apr 2012 09:50:24 +0000 (09:50 +0000)]
bfd/
* elf32-sh.c (elf_sh_link_hash_entry): Specify an enum identifier for
got_type.
(allocate_dynrelocs, sh_elf_relocate_section, sh_elf_check_relocs): Use
it.

12 years agogdb:
Yao Qi [Thu, 19 Apr 2012 05:58:52 +0000 (05:58 +0000)]
gdb:
        * Makefile.in (SFILES): Add common/vec.c and remove vec.c.
        (vec.o): New rule.
        * vec.c: Move it ...
        * common/vec.c: ... here.
        * vec.h: Move it ...
        * common/vec.h: ... here.

gdb/gdbserver:

        * Makefile.in (SFILES): Add common/vec.c.
        (OBS): Add vec.o.
        (vec.o): New rule.

12 years agogdb/gdbserver/
Yao Qi [Thu, 19 Apr 2012 05:05:11 +0000 (05:05 +0000)]
gdb/gdbserver/
* remote-utils.c (prepare_resume_reply): Replace with macro
target_core_of_thread.
* server.c (handle_qxfer_threads_proper): Likewise.
* target.h (traget_core_of_thread): New macro.

12 years agogdb/
Yao Qi [Thu, 19 Apr 2012 01:58:07 +0000 (01:58 +0000)]
gdb/
* gdb-code-style.el: New.

12 years ago*** empty log message ***
gdbadmin [Thu, 19 Apr 2012 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
Alan Modra [Thu, 19 Apr 2012 00:00:04 +0000 (00:00 +0000)]
daily update