OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
15 years ago2008-08-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
Ulrich Weigand [Tue, 5 Aug 2008 21:10:29 +0000 (21:10 +0000)]
2008-08-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

PR build/2490
* solib-pa64.c: Only compile if both HAVE_ELF_HP_H and __LP64__ are
defined.

15 years ago * bcache.c (deprecated_bcache_added): Initialize obstack.
Tom Tromey [Tue, 5 Aug 2008 20:43:16 +0000 (20:43 +0000)]
* bcache.c (deprecated_bcache_added): Initialize obstack.
(bcache_xmalloc): Don't initialize obstack.
(bcache_xfree): Conditionally free obstack.
(bcache_memory_used): Update.

15 years ago * symfile.c (add_psymbol_to_bcache): Return a const pointer. Use
Tom Tromey [Tue, 5 Aug 2008 20:41:15 +0000 (20:41 +0000)]
* symfile.c (add_psymbol_to_bcache): Return a const pointer.  Use
bcache_full.
(append_psymbol_to_list): Accept a const pointer.
(add_psymbol_to_list): Fix const correctness.
* bcache.h: (deprecated_bcache_added, deprecated_bcache): Remove.
(bcache_full): Declare.
* bcache.c (bcache_data, deprecated_bcache): Remove.
(bcache): Use bcache_full.
(bcache_full): Rename from deprecated_bcache_added.  Change return
type.

15 years agoRemove all files from the following directories:
Jim Meyering [Tue, 5 Aug 2008 16:54:05 +0000 (18:54 +0200)]
Remove all files from the following directories:

   binutils
   gas
   gdb/gdbtk
   gold
   gprof
   itcl
   ld
   libgui
   winsup

The offending files in those directories had been pulled in by runs
of "git cvsimport" (it failed to exclude the directories excluded in
the initial cvs-to-git conversion).  I've added gdb/gdbtk to the list
of excluded directories on the advice of Tom Tromey, and because its
presence make a stock "./configure && make" fail due to absence of tcl
configuration bits.

15 years ago* dll_init.cc (dll_global_dtors): Add an additional test to avoid walking the
Christopher Faylor [Tue, 5 Aug 2008 14:26:46 +0000 (14:26 +0000)]
* dll_init.cc (dll_global_dtors): Add an additional test to avoid walking the
linked list if it is empty.
(dll_list::detach): Don't set dll_global_dtors_recorded if we aren't actually
going to record any dlls.

15 years ago PR gas/6656
Alan Modra [Tue, 5 Aug 2008 08:13:48 +0000 (08:13 +0000)]
PR gas/6656
* dwarf2dbg.c (dwarf2_directive_file): Disable gas generated
debug info if we see compiler generated debug info.
(dwarf2_directive_loc): Likewise.  Remove redundant debug_type test.

15 years ago * coffcode.h (coff_slurp_line_table): bfd_alloc lineno_cache first
Alan Modra [Tue, 5 Aug 2008 03:03:46 +0000 (03:03 +0000)]
* coffcode.h (coff_slurp_line_table): bfd_alloc lineno_cache first
so that we don't inadvertently free it.  Use bfd_alloc for sort
arrays, and memcpy sorted line table.

15 years ago * solib-svr4.c (BKPT_AT_SYMBOL): Remove, always defined.
Stan Shebs [Tue, 5 Aug 2008 00:16:22 +0000 (00:16 +0000)]
* solib-svr4.c (BKPT_AT_SYMBOL): Remove, always defined.
(bkpt_names): Remove SOLIB_BKPT_NAME, never defined.
(enable_break): Remove test of BKPT_AT_SYMBOL.

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

15 years ago*** empty log message ***
gdbadmin [Tue, 5 Aug 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago * symtab.h (Symbol::use_plt_offset): New function.
Ian Lance Taylor [Mon, 4 Aug 2008 22:22:13 +0000 (22:22 +0000)]
* symtab.h (Symbol::use_plt_offset): New function.
* i386.cc (Relocate::relocate): Call Symbol::use_plt_offset.
* powerpc.cc (Relocate::relocate): Likewise.
* sparc.cc (Relocate::relocate): Likewise.
* x86_64.cc (Relocate::relocate): Likewise.
* testsuite/weak_plt.sh: New test.
* testsuite/weak_plt_main.cc: New test.
* testsuite/weak_plt_shared.cc: New test.
* testsuite/Makefile.am (check_SCRIPTS): Add weak_plt.sh.
(check_PROGRAMS): Add weak_plt.
(check_DATA): Add weak_plt_shared.so.
(weak_plt_main_pic.o, weak_plt): New targets.
(weak_plt_shared_pic.o, weak_plt_shared.so): New targets.
* testsuite/Makefile.in: Rebuild.

* testsuite/Makefile.am (weak_alias_test_1.so): Depend upon
gcctestdir/ld.
(weak_alias_test_2.so, weak_alias_test_4.so): Likewise.
* testsuite/Makefile.in: Rebuild.

15 years agoChanges suggested by Dave Korn.
Christopher Faylor [Mon, 4 Aug 2008 15:55:31 +0000 (15:55 +0000)]
Changes suggested by Dave Korn.
* dcrt0.cc (cygwin_exit): Remove (hopefully) extraneous call to
dll_global_dtors.
* dll_init.cc (dll_global_dtors): Run destructors in reverse dependency/load
order.
* dll_init.h (dll_list): Add dll_global_dtors as a friend.

15 years ago* cygcheck.cc (load_cygwin): Duplicate argv list since it disappears when
Christopher Faylor [Mon, 4 Aug 2008 15:30:06 +0000 (15:30 +0000)]
* cygcheck.cc (load_cygwin): Duplicate argv list since it disappears when
cygwin1.dll is unloaded.

15 years ago * elf32-spu.c (spu_elf_auto_overlay): Use the maximum possible
Alan Modra [Mon, 4 Aug 2008 13:01:41 +0000 (13:01 +0000)]
* elf32-spu.c (spu_elf_auto_overlay): Use the maximum possible
if --fixed-space request is too large.

15 years ago * dwarf2dbg.c: Remove superfluous forward function declarations.
Alan Modra [Mon, 4 Aug 2008 10:55:47 +0000 (10:55 +0000)]
* dwarf2dbg.c: Remove superfluous forward function declarations.
(DWARF2_FORMAT): Add section arg.
(out_header): New function, split out from..
(out_debug_line): ..here.
(out_debug_aranges): Use out_header.
(out_debug_abbrev): Add info_seg and line_seg args.  Use
DW_FORM_data8 (for DW_AT_stmt_list) if line_seg is 64-bit.
(out_debug_info): Use out_header.  Output 8 byte DW_AT_stmt_list
if line_seg is 64-bit.
(dwarf2_finish): Adjust out_debug_abbrev call.
* config/tc-mips.h (DWARF2_FORMAT, mips_dwarf2_format): Add sec arg.
* config/tc-mips.c (mips_dwarf2_format): Likewise.

15 years agoSet LC_ALL=C rather than unsetting LC_COLLATE for sort.
Alan Modra [Mon, 4 Aug 2008 06:55:30 +0000 (06:55 +0000)]
Set LC_ALL=C rather than unsetting LC_COLLATE for sort.

15 years agodaily update
Alan Modra [Mon, 4 Aug 2008 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Mon, 4 Aug 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago * readelf.c (get_osabi_name <ELFOSABI_AROS>): Change name.
Alan Modra [Sun, 3 Aug 2008 23:23:26 +0000 (23:23 +0000)]
* readelf.c (get_osabi_name <ELFOSABI_AROS>): Change name.

15 years ago * common.h (ELFOSABI_AROS): Update comment.
Alan Modra [Sun, 3 Aug 2008 23:20:42 +0000 (23:20 +0000)]
* common.h (ELFOSABI_AROS): Update comment.

15 years ago * mt-spu (all-ld): Update for ld Makefile changes.
Alan Modra [Sun, 3 Aug 2008 03:38:07 +0000 (03:38 +0000)]
* mt-spu (all-ld): Update for ld Makefile changes.

15 years ago * Makefile.am (spu_ovl.o): Merge rule into..
Alan Modra [Sun, 3 Aug 2008 03:26:02 +0000 (03:26 +0000)]
* Makefile.am (spu_ovl.o): Merge rule into..
(spu_ovl.o_c): ..this one.  Only run cpp for spu target.
* Makefile.in: Regenerate.

15 years ago*** empty log message ***
gdbadmin [Sun, 3 Aug 2008 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

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

15 years ago * tcl.m4: Remove. I changed my mind.
Keith Seitz [Sat, 2 Aug 2008 23:37:49 +0000 (23:37 +0000)]
    * tcl.m4: Remove. I changed my mind.
        * acinclude.m4: Include ../config/tcl.m4.
        (CY_AC_TCL_PRIVATE_HEADERS): New macro.
        (CY_AC_TK_PRIVATE_HEADERS): New macro.
        * configure.ac: When using in-tree tcl/tk, include
        Tcl's/Tk's platform directory.
        When using installed Tcl/Tk, use CY_AC_{TCL,TK}_PRIVATE_HEADERS
        to find the private header files.
        * aclocal.m4: Regenerated.
        * configure: Regenerated.
        * Makefile.in: Regenerated.
        * library/Makefile.in: Regenerated.
        * src/Makefile.in: Regenerated.

15 years ago * tcl.m4: Remove. I changed my mind.
Keith Seitz [Sat, 2 Aug 2008 23:33:36 +0000 (23:33 +0000)]
    * tcl.m4: Remove. I changed my mind.
        * acinclude.m4: Include ../config/tcl.m4.
        (CY_AC_TCL_PRIVATE_HEADERS): New macro.
        (CY_AC_TK_PRIVATE_HEADERS): New macro.
        * configure.ac: When using in-tree tcl/tk, include
        Tcl's/Tk's platform directory.
        When using installed Tcl/Tk, use CY_AC_{TCL,TK}_PRIVATE_HEADERS
        to find the private header files.
        * aclocal.m4: Regenerated.
        * configure: Regenerated.
        * library/Makefile.in: Regenerated.
        * src/Makefile.in: Regenerated.

15 years ago * generic/gdbtk-cmds.c: Don't include itcl.h.
Keith Seitz [Sat, 2 Aug 2008 22:08:32 +0000 (22:08 +0000)]
    * generic/gdbtk-cmds.c: Don't include itcl.h.
        * generic/gdbtk-hooks.c: Likewise.
        * generic/gdbtk.c: Include tcl.h and tk.h instead of itcl.h
        and itk.h.
        (gdbtk_init): Rewrite to accommodate using a system-provided
        Tcl, Tk, Itcl, Itk.
        (gdbtk_source_start_file) [!_WIN32]: Don't call error() when
        we fail to source the start file. Just dump the message to stderr.
        Throw an exception indicating the failure.
        * library/ehandler.itb (GDBEventHander::dispatch): "itcl_info" is
        deprecated: use "itcl::find objects" instead.
        * library/managedwin.itb (window_instance): Ditto.
        (restart): Ditto.
        (shutdown): Ditto.
        (_open): Ditto.
        (find): Ditto.
        * library/globalpref.itb (_build_win): Don't pass config arguments
        for libgui widgets to the constructor. Configure the widget after
        creation.
        * library/srcpref.itb (_build_win): Ditto.
        * library/main.tcl: Update Tcl, Tk, Itcl, Itk, and Iwidgets (just
        added to this loop) version requirements.
        No need to initialize Iwidgets separately.
        * plugins/Make-rules (TCLHDIR): Renamed to TCL_INCLUDES. Change
        all references.
        (TCL_BUILD_LIB_SPEC): Renamed to TCL_LIBRARY. Change all references.
        * plugins/acinclude.m4: Include the standard tcl.m4 instead
        of the sourceware-derived one.
        * plugins/configure.ac: Use Tcl's standard SC_* macros instead of
        the sourceware-derived CYG_AC_* macros.
        Add logic to deal with using a system-supplied Tcl/Tk.
        * plugins/configure: Regenerated.
        * plugins/Makefile.in: Regenerated.

15 years ago * acinclude.m4: Include ../config/tcl.m4 to pick up
Keith Seitz [Sat, 2 Aug 2008 21:36:05 +0000 (21:36 +0000)]
    * acinclude.m4: Include ../config/tcl.m4 to pick up
        standard Tcl configury bits.
        Remove all Tcl, Tk, Itcl, Itk, etc definitions.
        * configure.ac: Don't check if ../itcl exists when building
        gdbtk. It could be installed.
        Rewrite gdbtk configury to allow for using system-supplied
        Tcl and Tk. Gdbtk no longer requires build-time access to
        itcl and itk.
        * Makefile.in: Remove everything related to itcl and itk.
        Rewrite the Tcl bits for gdbtk to correspond to rewrite of
        configure.ac.
        Remove v850ice.o build rule.
        (ALL_TCL_CFLAGS): New convenience defintion. Change all
        gdbtk sources to use it.
        * configure: Regenerate.

15 years ago * tcl.m4 (SC_PATH_TCLCONFIG): Add some simple logic to deal
Keith Seitz [Sat, 2 Aug 2008 21:20:13 +0000 (21:20 +0000)]
    * tcl.m4 (SC_PATH_TCLCONFIG): Add some simple logic to deal
        with cygwin.
        (SC_PATH_TKCONFIG): Likewise.

15 years ago * itk/configure.ac: Add missing bits to actually fill in
Keith Seitz [Sat, 2 Aug 2008 20:34:24 +0000 (20:34 +0000)]
    * itk/configure.ac: Add missing bits to actually fill in
        itkConfig.sh.
        * itk/itkConfig.sh.in: Rewrite substitution values so that
        this file looks more like itcl/itclConfig.sh.in.
        * itk/configure: Regenerated.

15 years ago Include the spu_ovl ASCII form in the repository files.
Jan Kratochvil [Sat, 2 Aug 2008 16:25:43 +0000 (16:25 +0000)]
Include the spu_ovl ASCII form in the repository files.
* emultempl/spuelf.em: No longer use `bin2c', use now `spu_ovl.o_c'.
* Makefile.am (eelf32_spu.c): Depend now on `spu_ovl.o_c'.
($(srcdir)/emultempl/spu_ovl.o_c): New target.
($(srcdir)/emultempl/spu_ovl.o): Rename to...
(spu_ovl.o): ...this one.
* Makefile.in: Regenerate.
* emultempl/spu_ovl.o_c: New file.
* emultempl/spu_ovl.o: File removed.

15 years ago * elf32-spu.c (mark_overlay_section): Move code calculating
Alan Modra [Sat, 2 Aug 2008 06:44:43 +0000 (06:44 +0000)]
* elf32-spu.c (mark_overlay_section): Move code calculating
max_overlay_size to correct block.
(spu_elf_auto_overlay): Don't use %x in einfo error message.

15 years agogas/
Peter Bergner [Sat, 2 Aug 2008 04:38:50 +0000 (04:38 +0000)]
gas/
* config/tc-ppc.c (parse_cpu): Rename altivec_or_spe to retain_flags.
Handle -mvsx and -mpower7.
(md_show_usage): Document -mpower7 and -mvsx.
* doc/as.texinfo (Target PowerPC): Document -mvsx.
* doc/c-ppc.texi (PowerPC-Opts): Document -mvsx and -mpower7.

gas/testsuite/
* gas/ppc/power7.d: New.
* gas/ppc/power7.s: Likewise.
* gas/ppc/ppc.exp: Run power7 test.

include/opcode/
* ppc.h (PPC_OPCODE_VSX, PPC_OPERAND_VSR): New.

opcodes/
* ppc-dis.c (powerpc_init_dialect): Handle power7 and vsx options.
(print_insn_powerpc): Prepend 'vs' when printing VSX registers.
(print_ppc_disassembler_options): Document -Mpower7 and -Mvsx.
* ppc-opc.c (insert_xt6): New static function.
(extract_xt6): Likewise.
(insert_xa6): Likewise.
(extract_xa6: Likewise.
(insert_xb6): Likewise.
(extract_xb6): Likewise.
(insert_xb6s): Likewise.
(extract_xb6s): Likewise.
(XS6, XT6, XA6, XB6, XB6S, DM, XX3, XX3DM, XX1_MASK, XX3_MASK,
XX3DM_MASK, PPCVSX): New.
(powerpc_opcodes): Add opcodes "lxvd2x", "lxvd2ux", "stxvd2x",
"stxvd2ux", "xxmrghd", "xxmrgld", "xxpermdi", "xvmovdp", "xvcpsgndp".

15 years agodaily update
Alan Modra [Sat, 2 Aug 2008 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Sat, 2 Aug 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago* dcrt0.cc (dll_crt0_1): Add a symbol denoting return from call to main().
Christopher Faylor [Fri, 1 Aug 2008 19:12:48 +0000 (19:12 +0000)]
* dcrt0.cc (dll_crt0_1): Add a symbol denoting return from call to main().
* exceptions.cc (stack_info::walk): Stop walking the stack when we hit
_cygwin_exit_return rather than just blindly stopping when PC becomes zero.

15 years agoMissed ChangeLog entry for last change.
Pedro Alves [Fri, 1 Aug 2008 16:53:56 +0000 (16:53 +0000)]
Missed ChangeLog entry for last change.

* Makefile.am ($(srcdir)/ia64-asmtab.c): Remove line continuation.
* Makefile.in: Regenerate.

15 years ago * Makefile.am ($(srcdir)/ia64-asmtab.c): Remove line continuation.
Pedro Alves [Fri, 1 Aug 2008 14:35:06 +0000 (14:35 +0000)]
* Makefile.am ($(srcdir)/ia64-asmtab.c): Remove line continuation.
* Makefile.in: Regenerate.

15 years agobinutils/
H.J. Lu [Fri, 1 Aug 2008 14:21:27 +0000 (14:21 +0000)]
binutils/

2008-08-01  H.J. Lu  <hongjiu.lu@intel.com>

* dwarf.c (dwarf_regnames_i386): Remove AVX registers.
(dwarf_regnames_x86_64): Likewise.

gas/testsuite/

2008-08-01  H.J. Lu  <hongjiu.lu@intel.com>

* gas/cfi/cfi-i386.s: Remove tests for AVX register maps.
* gas/cfi/cfi-x86_64.s: Likewise.

* gas/cfi/cfi-i386.d: Updated.
* gas/cfi/cfi-x86_64.d: Likewise.

opcodes/

2008-08-01  H.J. Lu  <hongjiu.lu@intel.com>

* i386-reg.tbl: Use Dw2Inval on AVX registers.
* i386-tbl.h: Regenerated.

15 years ago * elfcore.h (elf_core_file_p): Ensure we have a backend match
Alan Modra [Fri, 1 Aug 2008 12:21:28 +0000 (12:21 +0000)]
* elfcore.h (elf_core_file_p): Ensure we have a backend match
with the correct arch size before rejecting the generic fallback.
* elfcode.h (elf_object_p): Likewise.  Ensure arch size matches
before accepting a target.

15 years ago * elf.c (rewrite_elf_program_header): Don't wrap p_paddr to
Alan Modra [Fri, 1 Aug 2008 06:39:03 +0000 (06:39 +0000)]
* elf.c (rewrite_elf_program_header): Don't wrap p_paddr to
include file or program headers.

15 years agogas/
Peter Bergner [Fri, 1 Aug 2008 02:44:11 +0000 (02:44 +0000)]
gas/
* config/tc-ppc.c (parse_cpu) <power6>: Accept Altivec instructions.
<cell>: Likewise.

gas/testsuite/
* gas/ppc/cell.s: Add altivec instructions.
* gas/ppc/cell.d: Update expected output.
* gas/ppc/power6.d: New.
* gas/ppc/power6.s: Likewise.
* gas/ppc/ppc.exp (powerpc64*-*-*): Move cell from here to...
(powerpc*-*-*): Here.  Run power6 test.

15 years ago * coffread.c (coff_symtab_read): Remove FUNCTION_EPILOGUE_SIZE.
Stan Shebs [Fri, 1 Aug 2008 01:08:59 +0000 (01:08 +0000)]
* coffread.c (coff_symtab_read): Remove FUNCTION_EPILOGUE_SIZE.

* gdbint.texinfo: Remove FUNCTION_EPILOGUE_SIZE.

15 years agodaily update
Alan Modra [Fri, 1 Aug 2008 00:00:06 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Fri, 1 Aug 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years agomerge from gcc
DJ Delorie [Thu, 31 Jul 2008 22:01:30 +0000 (22:01 +0000)]
merge from gcc

15 years agomerge from gcc
DJ Delorie [Thu, 31 Jul 2008 19:06:35 +0000 (19:06 +0000)]
merge from gcc

15 years ago * configure.ac: Check for memmem declaration.
Pedro Alves [Thu, 31 Jul 2008 17:46:33 +0000 (17:46 +0000)]
* configure.ac: Check for memmem declaration.
* server.c [HAVE_MALLOC_H]: Include malloc.h.
(disable_packet_vCont, disable_packet_Tthread, disable_packet_qC)
(disable_packet_qfThreadInfo): Unconditionally compile.
* server.h [!HAVE_DECL_MEMMEM]: Declare memmem.
* configure, config.in: Regenerate.

15 years ago * path.cc (symlink_info::check): Handle (and explain) a special case
Corinna Vinschen [Thu, 31 Jul 2008 14:48:27 +0000 (14:48 +0000)]
* path.cc (symlink_info::check): Handle (and explain) a special case
when accessing files matching DOS device names on SMB shares.

15 years ago * spawn.cc (spawn_guts): Check constructed short pathname for being
Corinna Vinschen [Thu, 31 Jul 2008 14:41:19 +0000 (14:41 +0000)]
* spawn.cc (spawn_guts): Check constructed short pathname for being
a DOS device name and fall back to long path name, if so.

15 years ago * lib/mi-support.exp (mi_load_shlibs): New.
Vladimir Prus [Thu, 31 Jul 2008 07:38:50 +0000 (07:38 +0000)]
* lib/mi-support.exp (mi_load_shlibs): New.
* gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.

15 years ago2008-07-31 Takashi Ono <t_ono@hkfreak.net>
Danny Smith [Thu, 31 Jul 2008 07:27:52 +0000 (07:27 +0000)]
2008-07-31  Takashi Ono  <t_ono@hkfreak.net>

* pe-dll.c (generate_relocs): Don't generate relocs for
undefined weak symbols.

15 years ago * emultempl/spuelf.em: Abort on the missing required `spu_ovl.o'.
Jan Kratochvil [Thu, 31 Jul 2008 05:27:54 +0000 (05:27 +0000)]
* emultempl/spuelf.em: Abort on the missing required `spu_ovl.o'.

15 years ago*** empty log message ***
gdbadmin [Thu, 31 Jul 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
Alan Modra [Thu, 31 Jul 2008 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago * objfiles.c (TARGET_KEEP_SECTION): Remove.
Stan Shebs [Wed, 30 Jul 2008 21:53:07 +0000 (21:53 +0000)]
* objfiles.c (TARGET_KEEP_SECTION): Remove.
(add_to_objfile_sections): Remove use.

15 years ago * lib/mi-support.exp (get_mi_thread_list)
Vladimir Prus [Wed, 30 Jul 2008 17:08:45 +0000 (17:08 +0000)]
* lib/mi-support.exp (get_mi_thread_list)
(check_mi_and_console_threads): New, moved from ...
* gdb.mi/mi-pthread.exp: ...here.
* gdb.mi/gdb669.exp (get_mi_thread_list)
(check_mi_and_console_threads): Delete.
* gdb.mi/mi2-pthread.exp: Likewise.

15 years ago2008-07-30 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Wed, 30 Jul 2008 15:03:54 +0000 (15:03 +0000)]
2008-07-30 Paolo Bonzini  <bonzini@gnu.org>

Sync with gcc:
2008-07-30 Paolo Bonzini  <bonzini@gnu.org>

        * configure.ac: Add makefile fragments for hpux.
        * Makefile.def (flags_to_pass): Add ADA_CFLAGS.
        * Makefile.tpl (HOST_EXPORTS): Pass ADA_CFLAGS.
        * configure: Regenerate.
        * Makefile.in: Regenerate.

2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

        * Makefile.tpl ($(srcdir)/configure): Update dependencies.
        * Makefile.in: Regenerate.
        * configure: Regenerate.

config:
2008-07-30  Paolo Bonzini  <bonzini@gnu.org>

* mh-pa: New, from gcc/config/pa/x-ada.
* mh-pa-hpux10: New, from gcc/config/pa/x-ada-hpux10.

2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>

        * tls.m4: Fix typos.

15 years ago * fhandler_disk_file.cc (fhandler_base::fstat_by_name): Check for
Corinna Vinschen [Wed, 30 Jul 2008 14:41:57 +0000 (14:41 +0000)]
* fhandler_disk_file.cc (fhandler_base::fstat_by_name): Check for
file systems incapable of handling FileIdBothDirectoryInformation
correctly.
(fhandler_disk_file::opendir): Ditto.
* path.cc (fs_info::update): Always clear at the start.
Rearrange to make certain tests only on non-Samba, non-NFS remote
drives.
Add test for file systems known to be incapable of handling
FileIdBothDirectoryInformation correctly.  Right now that's just
"UNIXFS".
* path.h (struct fs_info): Add has_buggy_fileid_dirinfo flag and
accessor methods.
(class path_conv): Add has_buggy_fileid_dirinfo method.

15 years ago * sec_auth.cc (extract_nt_dom_user): Return domain and user name as
Corinna Vinschen [Wed, 30 Jul 2008 12:10:20 +0000 (12:10 +0000)]
* sec_auth.cc (extract_nt_dom_user): Return domain and user name as
WCHAR.
(cygwin_logon_user): Accommodate above change.  Convert password to
WCHAR and call LogonUserW.
* external.cc (cygwin_internal): Accommodate above change.
* security.h (extract_nt_dom_user): Change prototype accordingly.

15 years ago * ld-elf/sec-to-seg.exp: New test: Checks the assignment of
Nick Clifton [Wed, 30 Jul 2008 10:28:31 +0000 (10:28 +0000)]
    * ld-elf/sec-to-seg.exp: New test: Checks the assignment of
        sections to segments.
        * ld-elf/sec-to-seg1.s: Test source file.
        * ld-elf/sec-to-seg2.s: Test source file.
        * ld-elf/sec-to-seg-script-same-page.t: Test linker script.
        * ld-elf/sec-to-seg-script-adjoining-pages.t: Test linker script.
        * ld-elf/sec-to-seg-script-disjoint-pages.t: Test linker script.

15 years agoinclude/opcode/
Alan Modra [Wed, 30 Jul 2008 06:29:21 +0000 (06:29 +0000)]
include/opcode/
* ppc.h (PPC_OPCODE_405): Define.
(PPC_OPERAND_FSL, PPC_OPERAND_FCR, PPC_OPERAND_UDI): Define.
gas/
* config/tc-ppc.c (parse_cpu): Separate handling of -m403/405.
(md_show_usage): Likewise.
opcodes/
* ppc-dis.c (print_insn_powerpc): Disassemble FSL/FCR/UDI fields.
* ppc-opc.c (powerpc_operands): Add Xilinx APU related operands.
(insert_sprg, PPC405): Use PPC_OPCODE_405.
(powerpc_opcodes): Add Xilinx APU related opcodes.

15 years ago* Makefile.in: Link cygcheck with -lntdll even without mingw-zlib.
Christopher Faylor [Wed, 30 Jul 2008 06:07:42 +0000 (06:07 +0000)]
* Makefile.in: Link cygcheck with -lntdll even without mingw-zlib.

15 years ago* cygwin.din (_getutline): Remove.
Christopher Faylor [Wed, 30 Jul 2008 04:58:23 +0000 (04:58 +0000)]
* cygwin.din (_getutline): Remove.
* lib/bsdlib.cc (login): Make argument const as per linux.
(logout): Ditto.
* syscalls.cc (getutid): Ditto.
(getutline): Ditto.
(pututline): Ditto.
(getutxent): Add comment mentioning non-thread-safety.
(getutxid): Ditto.
(getutxline): Ditto.
(pututxline): Ditto.
* sys/utmp.h: Declare arguments to various functions as const as per linux.
Remove bogus _getutline definition.

15 years agoSilence gcc printf warnings
Alan Modra [Wed, 30 Jul 2008 04:34:55 +0000 (04:34 +0000)]
Silence gcc printf warnings

15 years ago(missing changelog entry)
Christopher Faylor [Wed, 30 Jul 2008 01:37:55 +0000 (01:37 +0000)]
(missing changelog entry)
* include/cygwin/version.h: Add comment indicating that current API number bump
also has another consequence.

15 years ago * cli/cli-decode.c (lookup_cmd_1): Use memcpy.
Tom Tromey [Wed, 30 Jul 2008 01:10:16 +0000 (01:10 +0000)]
* cli/cli-decode.c (lookup_cmd_1): Use memcpy.
(lookup_cmd_composition): Likewise.

15 years ago * cli/cli-cmds.c (edit_command): Remove unused variables. Delete
Tom Tromey [Wed, 30 Jul 2008 01:08:34 +0000 (01:08 +0000)]
* cli/cli-cmds.c (edit_command): Remove unused variables.  Delete
dead code.  Fix indentation.

15 years agodaily update
Alan Modra [Wed, 30 Jul 2008 00:00:06 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Wed, 30 Jul 2008 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago * script.cc (Script_options::finalize_symbols): Finalize SECTIONS
Ian Lance Taylor [Tue, 29 Jul 2008 22:58:02 +0000 (22:58 +0000)]
* script.cc (Script_options::finalize_symbols): Finalize SECTIONS
symbols before other symbols.
* testsuite/script_test_2.cc (test_addr): Declare.
(test_addr_alias): Declare.
(main): Check that test_addr and test_addr_alias have the right
values.
* testsuite/script_test_2.t: Define test_addr_alias and
test_addr.

15 years ago * gdbint.texinfo: General round of cleanup and minor
Stan Shebs [Tue, 29 Jul 2008 20:26:53 +0000 (20:26 +0000)]
* gdbint.texinfo: General round of cleanup and minor
clarifications.
(Breakpoint Handling): Remove mention of BREAKPOINT macro.
(Longjmp Support): Update description to reflect how it is done
for targets without using native header.
(Symbol Handling): Add a little more general explanation.
(COFF, ELF): Mention stabs encapsulation.
(DWARF 3): New section.
(Adding a New Host): Scrub out some obsolete bits.
(Generic Host Support Files): Mention ser-pipe.c, ser-mingw.c.
(Host Conditionals): Remove descriptions of NO_STD_REGS,
HAVE_MMAP, HAVE_TERMIO, INT_MAX etc, LONGEST, HAVE_LONG_DOUBLE,
PRINTF_HAS_LONG_DOUBLE, SCANF_HAS_LONG_DOUBLE, L_SET, SEEK_CUR,
SEEK_SET, STOP_SIGNAL, USG.
(Raw and Virtual Register Representations): Ditto for
DEPRECATED_REGISTER_RAW_SIZE, DEPRECATED_REGISTER_VIRTUAL_SIZE,
DEPRECATED_REGISTER_VIRTUAL_TYPE, REGISTER_CONVERT_TO_TYPE.
(Target Conditionals): Ditto for DEPRECATED_FP_REGNUM,
DEPRECATED_FRAMELESS_FUNCTION_INVOCATION, DEPRECATED_FRAME_CHAIN,
DEPRECATED_FRAME_CHAIN_VALID, DEPRECATED_FRAME_INIT_SAVED_REGS,
DEPRECATED_FRAME_SAVED_PC, DEPRECATED_FUNCTION_START_OFFSET,
DEPRECATED_REGISTER_VIRTUAL_SIZE,
DEPRECATED_REGISTER_VIRTUAL_TYPE,
DEPRECATED_USE_STRUCT_CONVENTION.
Describe gdbarch_deprecated_fp_regnum.
Update description of gdbarch_print_insn.
(Adding a New Target): Scrub out obsolete bits.
(Obsolete Conditionals): Remove entire section.

15 years ago * main.c (captured_main): Remove long-unused #if 0 blocks.
Stan Shebs [Tue, 29 Jul 2008 14:16:14 +0000 (14:16 +0000)]
* main.c (captured_main): Remove long-unused #if 0 blocks.

15 years ago* include/cygwin/version.h: Add comment indicating that current API number bump
Christopher Faylor [Tue, 29 Jul 2008 14:07:21 +0000 (14:07 +0000)]
* include/cygwin/version.h: Add comment indicating that current API number bump
also has another consequence.

15 years ago * common/genmloop.sh: Add new parameter: -shell to specify the
Nick Clifton [Tue, 29 Jul 2008 13:53:02 +0000 (13:53 +0000)]
    * common/genmloop.sh: Add new parameter: -shell to specify the
        command interpreter to use to run the input file.  This is
        necessary because otherwise SHELL is taken from the user's
        environment, and not from the makefile that invoked this script
        and the user might not be running an sh-like shell.
        * cris/Makefile.in: Pass -shell parameter to genmloop.sh.
        * fr30/Makefile.in: Likewise.
        * frv/Makefile.in: Likewise.
        * i960/Makefile.in: Likewise.
        * iq2000/Makefile.in: Likewise.
        * m32r/Makefile.in: Likewise.

        * frv/mloop.in: Add missing start of line comment marker.

15 years ago * Makefile.in (DLL_OFILES): Remove v8 regexp files.
Corinna Vinschen [Tue, 29 Jul 2008 10:40:36 +0000 (10:40 +0000)]
* Makefile.in (DLL_OFILES): Remove v8 regexp files.
(OBSOLETE_FUNCTIONS): Remove v8 regexp functions.
(NEW_FUNCTIONS): Remove POSIX regex functions.
* cygwin.din: Export POSIX regex functions with their correct symbol
name.  Export with posix_ prefix for backward compatibility.
* syscalls.cc (regfree): Remove ancient fake function.
* regex/regex.h: Remove renaming regex functions within Cygwin.
* regexp/*: Remove.
* include /cygwin/version,.h: Bump API minor number.

15 years ago*** empty log message ***
gdbadmin [Tue, 29 Jul 2008 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
Alan Modra [Tue, 29 Jul 2008 00:00:05 +0000 (00:00 +0000)]
daily update

15 years agoReplace __mingw_snprintf() with new generic family implementation; likewise, replace...
keithmarshall [Mon, 28 Jul 2008 23:24:20 +0000 (23:24 +0000)]
Replace __mingw_snprintf() with new generic family implementation; likewise, replace __mingw_vsnprintf().

15 years ago Lay foundations for new printf() function family implementation.
keithmarshall [Mon, 28 Jul 2008 22:57:43 +0000 (22:57 +0000)]
Lay foundations for new printf() function family implementation.

15 years ago * elfxx-mips.c (mips_elf_calculate_relocation): Avoid generating
Daniel Jacobowitz [Mon, 28 Jul 2008 22:14:53 +0000 (22:14 +0000)]
* elfxx-mips.c (mips_elf_calculate_relocation): Avoid generating
relocations for undefined weak symbols with non-default visibility.
(_bfd_mips_elf_check_relocs): Use possibly_dynamic_relocs for
global symbols in shared libraries.
(allocate_dynrelocs): New function.
(_bfd_mips_elf_adjust_dynamic_symbol): Do not handle
possibly_dynamic_relocs here.
(_bfd_mips_elf_size_dynamic_sections): Call allocate_dynrelocs.

15 years ago * Makefile.in (just-check): Remove. Move body to...
Tom Tromey [Mon, 28 Jul 2008 20:05:58 +0000 (20:05 +0000)]
* Makefile.in (just-check): Remove.  Move body to...
(check): ... here.

15 years ago * linux-low.c (sys/dir.h, sys/user.h): Remove includes.
Doug Evans [Mon, 28 Jul 2008 18:28:56 +0000 (18:28 +0000)]
* linux-low.c (sys/dir.h, sys/user.h): Remove includes.
(linux_write_memory): Remove declaration of errno.

15 years agobfd/ChangeLog:
Alexandre Oliva [Mon, 28 Jul 2008 18:07:04 +0000 (18:07 +0000)]
bfd/ChangeLog:
* elf32-i386.c (struct elf_i386_link_hash_table): Added field
tls_module_base.
(elf_i386_link_hash_table_create): Initialize it.
(elf_i386_always_size_sections): Set it.
(set_tls_module_base): New.
(elf_i386_relocate_sections): Call it.
* elf64-x86-64.c (struct elf64_x86_64_link_hash_table): Added
field tls_module_base.
(elf64_x86_64_link_hash_table_create): Initialize it.
(elf64_x86_64_always_size_sections): Set it.
(set_tls_module_base): New.
(elf64_x86_64_relocate_sections): Call it.
Reported by Cary Coutant <ccoutant@google.com>
ld/testsuite/ChangeLog:
* ld-i386/tlsbindesc.dd: Adjust incorrect expectations for LD to
LE relaxation.
* ld-x86-64/tlsbindesc.dd: Likewise.
* ld-i386/tlsbindesc.rd: Adjust address of _TLS_MODULE_BASE_.
* ld-x86-64/tlsbindesc.rd: Likewise.
Reported by Cary Coutant <ccoutant@google.com>

15 years ago * annotate.h (deprecated_annotate_starting_hook): Remove.
Tom Tromey [Mon, 28 Jul 2008 17:53:51 +0000 (17:53 +0000)]
* annotate.h (deprecated_annotate_starting_hook): Remove.
(deprecated_annotate_stopped_hook): Remove.
(deprecated_annotate_exited_hook): Remove.
* Makefile.in (annotate.o): Depend on observer_h.
* top.c (deprecated_delete_breakpoint_hook): Remove.
(deprecated_create_breakpoint_hook): Likewise.
(deprecated_modify_breakpoint_hook): Likewise.
* interps.c (clear_interpreter_hooks): Update for removed hooks.
* breakpoint.c (mention): Don't call removed hook.
(delete_breakpoint): Likewise.
(disable_breakpoint): Likewise.
(do_enable_breakpoint): Likewise.
* annotate.c: Include observer.h.
(breakpoint_changed): Change type of argument.
(_initialize_annotate): Register observers.
(deprecated_annotate_starting_hook): Remove.
(deprecated_annotate_stopped_hook): Remove.
(deprecated_annotate_exited_hook): Remove.
(annotate_starting): Update for hook removal.
(annotate_stopped): Likewise.
(annotate_exited): Likewise.
* defs.h (deprecated_delete_breakpoint_hook): Remove.
(deprecated_create_breakpoint_hook): Likewise.
(deprecated_modify_breakpoint_hook): Likewise.

15 years ago * main.c (captured_main): Don't use BEFORE_MAIN_LOOP_HOOK.
Tom Tromey [Mon, 28 Jul 2008 16:28:58 +0000 (16:28 +0000)]
* main.c (captured_main): Don't use BEFORE_MAIN_LOOP_HOOK.

15 years agowarning fix
Alan Modra [Mon, 28 Jul 2008 06:48:00 +0000 (06:48 +0000)]
warning fix

15 years ago * elf32-arm.c (arm_map_one_stub): Declare variables at beginning
Alan Modra [Mon, 28 Jul 2008 06:46:31 +0000 (06:46 +0000)]
* elf32-arm.c (arm_map_one_stub): Declare variables at beginning
of block.
* elf32-avr.c (get_local_syms): Likewise.

15 years ago * readelf.c (print_vma): Typo fix.
Alan Modra [Mon, 28 Jul 2008 04:14:40 +0000 (04:14 +0000)]
* readelf.c (print_vma): Typo fix.

15 years agobfd/
Alan Modra [Mon, 28 Jul 2008 04:07:31 +0000 (04:07 +0000)]
bfd/
PR 6769
* bfd-in.h (BFD_VMA_FMT): Define.
(printf_vma, sprintf_vma): Use the above.
(_bfd_int64_low, _bfd_int64_high): Delete.
* bfd-in2.h: Regenerate.
binutils/
PR 6769
* readelf.c (print_dec_vma, print_hex_vma): Delete.
(print_vma): Use BFD_VMA_FMT.
* size.c (size_number, rprint_number): Likewise.

15 years ago*** empty log message ***
gdbadmin [Mon, 28 Jul 2008 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
Alan Modra [Mon, 28 Jul 2008 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago* dcrt0.cc (dll_crt0_0): Remove calling malloc_init and
Christopher Faylor [Sun, 27 Jul 2008 22:31:48 +0000 (22:31 +0000)]
* dcrt0.cc (dll_crt0_0): Remove calling malloc_init and
user_shared_initialize_1 from here.
(dll_crt0_1): Remove dynamically_loaded check.  Just call malloc_init and
user_shared_initialize unconditionally.
* shared.cc (user_shared_create): Rename from user_shared_initialize.
(user_shared_initialize): Rename from user_shared_initialize_1.  Move complete
user_shared content initialization code here from user_shared_create.
* syscalls.cc (seteuid32): Remove call to user_shared_initialize_1.  That is
implied by the "true" argument to user_shared_create().

15 years ago * configure.ac: Check for the GNU/Linux ptrace signature.
Daniel Jacobowitz [Sun, 27 Jul 2008 21:18:50 +0000 (21:18 +0000)]
* configure.ac: Check for the GNU/Linux ptrace signature.
* configure: Regenerated.

15 years ago * linux-nat.c (resume_callback): Add more debugging output.
Daniel Jacobowitz [Sun, 27 Jul 2008 21:12:40 +0000 (21:12 +0000)]
* linux-nat.c (resume_callback): Add more debugging output.
(linux_nat_has_pending_sigint): New function, based on
linux_nat_has_pending.
(set_ignore_sigint, maybe_clear_ignore_sigint): New functions.
(stop_wait_callback): Remove flush_mask handling.  Honor
ignore_sigint.  Call maybe_clear_ignore_sigint.  Pass NULL
to recursive calls.
(linux_nat_has_pending, flush_callback): Remove.
(linux_nat_filter_event): Check for ignore_sigint.
(linux_nat_wait): Remove flush_mask support and call to
flush_callback.  Use set_ignore_sigint and maybe_clear_ignore_sigint.
* linux-nat.h (struct lwp_info): Add ignore_sigint field.

* gdb.threads/manythreads.exp: Use remote_expect instead of after.
Add a test for duplicated SIGINTs.

15 years ago * linux-nat.c (count_events_callback, select_event_lwp_callback): Only
Daniel Jacobowitz [Sun, 27 Jul 2008 21:05:37 +0000 (21:05 +0000)]
* linux-nat.c (count_events_callback, select_event_lwp_callback): Only
report events from resumed threads.

* gdb.threads/schedlock.exp (get_args): Update to work for any
value of NUM.
(Top level): Report the number of threads that did not resume.

15 years ago * gdb.dwarf2/dw2-compressed.S: Also define __start.
Daniel Jacobowitz [Sun, 27 Jul 2008 21:01:45 +0000 (21:01 +0000)]
* gdb.dwarf2/dw2-compressed.S: Also define __start.

15 years ago * lib/mi-support.exp (default_mi_gdb_start): Remove check for
Daniel Jacobowitz [Sun, 27 Jul 2008 20:57:42 +0000 (20:57 +0000)]
* lib/mi-support.exp (default_mi_gdb_start): Remove check for
non-MI prompt.

15 years ago * mips-linux-tdep.c (mips_linux_syscall_next_pc): New function.
Daniel Jacobowitz [Sun, 27 Jul 2008 20:52:42 +0000 (20:52 +0000)]
* mips-linux-tdep.c (mips_linux_syscall_next_pc): New function.
(mips_linux_init_abi): Set tdep->syscall_next_pc.
* mips-tdep.c (enum mips_fpu_type, struct gdbarch_tdep): Move to
mips-tdep.h.
(mips32_next_pc): Handle the syscall instruction.
* mips-tdep.h (enum mips_fpu_type, struct gdbarch_tdep): New,
from mips-tdep.c.  Add syscall_next_pc to gdbarch_tdep.

15 years ago* mount.cc (mount_info::init): Add location where we're looking for fstab to
Christopher Faylor [Sun, 27 Jul 2008 16:59:07 +0000 (16:59 +0000)]
* mount.cc (mount_info::init): Add location where we're looking for fstab to
temporary message.
* lib/cygwin_crt0.c (cygwin_crt0): Simplify by eliminating accommodations for
ancient cygwin DLLs.
* lib/crt0.h: Include <windows.h> directly since it is needed.