OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
14 years ago * config.sub, config.guess: Update from upstream sources.
nickc [Wed, 23 Sep 2009 09:51:31 +0000 (09:51 +0000)]
    * config.sub, config.guess: Update from upstream sources.

14 years ago * ld-srec/srec.exp: Add xfails for bfin-*-linux-uclibc.
jiez [Wed, 23 Sep 2009 09:29:52 +0000 (09:29 +0000)]
* ld-srec/srec.exp: Add xfails for bfin-*-linux-uclibc.

14 years agoFix previous entry.
gingold [Wed, 23 Sep 2009 08:30:55 +0000 (08:30 +0000)]
Fix previous entry.

14 years ago2009-09-23 Tim E. Sneddon <tsneddon@kednos.com>
gingold [Wed, 23 Sep 2009 08:30:12 +0000 (08:30 +0000)]
2009-09-23  Tim E. Sneddon  <tsneddon@kednos.com>

       * gas/configure.com: Fix a typo.

14 years ago * elf32-bfin.c (_bfinfdpic_size_got_plt): Make sure empty
jiez [Wed, 23 Sep 2009 08:03:01 +0000 (08:03 +0000)]
* elf32-bfin.c (_bfinfdpic_size_got_plt): Make sure empty
.rel.plt and .plt sections are removed.
(elf32_bfinfdpic_size_dynamic_sections): Remove empty .dynbss
section.  Remove the duplicated removing of empty .rel.plt
section.

14 years ago * symbols.c (define_sym_at_dot): New function, extracted from..
amodra [Wed, 23 Sep 2009 06:10:08 +0000 (06:10 +0000)]
* symbols.c (define_sym_at_dot): New function, extracted from..
(colon): ..here.  Define error case cloned symbol.

14 years agoTolerate some whitespace differences in readelf output.
amodra [Wed, 23 Sep 2009 03:12:23 +0000 (03:12 +0000)]
Tolerate some whitespace differences in readelf output.

14 years ago*** empty log message ***
gdbadmin [Wed, 23 Sep 2009 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
amodra [Wed, 23 Sep 2009 00:00:04 +0000 (00:00 +0000)]
daily update

14 years ago * solib.c (solib_bfd_open): Relax a bit the compatibility check.
brobecke [Tue, 22 Sep 2009 23:03:30 +0000 (23:03 +0000)]
    * solib.c (solib_bfd_open): Relax a bit the compatibility check.

14 years ago * source.c (forget_cached_source_info): Clear last_source_visited.
drow [Tue, 22 Sep 2009 22:34:15 +0000 (22:34 +0000)]
* source.c (forget_cached_source_info): Clear last_source_visited.
(init_last_source_visited): Delete.
(directory_command): Do not clear last_source_visited.  Call
forget_cached_source_info only if required.
(unset_substitute_path_command, set_substitute_path_command): Call
forget_cached_source_info.
* mi/mi-cmd-env.c (mi_cmd_env_dir): Do not call
init_last_source_visited.
* defs.h (init_last_source_visited): Delete declaration.

14 years agomerge from gcc
dj [Tue, 22 Sep 2009 21:52:47 +0000 (21:52 +0000)]
merge from gcc

14 years ago2009-09-22 Ralf Corsépius <ralf.corsepius@rtems.org>
jjohnstn [Tue, 22 Sep 2009 21:49:19 +0000 (21:49 +0000)]
2009-09-22  Ralf Corsépius <ralf.corsepius@rtems.org>

        * libc/include/stdlib.h: Add posix_memalign.

14 years ago2009-09-22 Sterling Augustine <sterling@jaw.hq.tensilica.com>
sterling [Tue, 22 Sep 2009 21:47:03 +0000 (21:47 +0000)]
2009-09-22  Sterling Augustine  <sterling@jaw.hq.tensilica.com>

* config/tc-xtensa.c (md_apply_fix): Remove check for constant with
difference of of two symbols.
(xtensa_fix_adjustable): Likewise.

14 years ago2009-09-22 Ralf Corsépius <ralf.corsepius@rtems.org>
jjohnstn [Tue, 22 Sep 2009 21:24:55 +0000 (21:24 +0000)]
2009-09-22  Ralf Corsépius <ralf.corsepius@rtems.org>

        * configure.host (*-rtems*): Remove -DMISSING_SYSCALL_NAMES.
        Add -DHAVE_BLKSIZE, -D_NO_WORDEXP -D_NO_POPEN.

14 years ago2009-09-22 Ralf Corsépius <ralf.corsepius@rtems.org>
jjohnstn [Tue, 22 Sep 2009 21:23:13 +0000 (21:23 +0000)]
2009-09-22  Ralf Corsépius <ralf.corsepius@rtems.org>

        * configure.host (m32c): Move setting -DABORT_PROVIDED to second
        "case $host".

14 years ago PR gdb/10583:
tromey [Tue, 22 Sep 2009 21:14:56 +0000 (21:14 +0000)]
PR gdb/10583:
* python/py-value.c (valpy_int): Use PyLong_FromLongLong.
(valpy_long): Likewise.

14 years ago * testsuite/retain_symbols_file_test.sh (check_present): Change
ian [Tue, 22 Sep 2009 19:54:46 +0000 (19:54 +0000)]
* testsuite/retain_symbols_file_test.sh (check_present): Change
output file name to retain_symbols_file_test.stdout.
(check_absent): Likewise.

14 years agobinutils/
rsandifo [Tue, 22 Sep 2009 18:29:06 +0000 (18:29 +0000)]
binutils/
* objdump.c (disassemble_section): Use bfd_get_arch_size
instead of assuming that the address size is 32 bits.

14 years agoError out if building separately but srcdir has build remnants.
rwild [Tue, 22 Sep 2009 18:00:40 +0000 (18:00 +0000)]
Error out if building separately but srcdir has build remnants.

/:
PR bootstrap/32272
* configure.ac: Error out if $srcdir isn't '.' but contains
host-${host_noncanonical}.
* configure: Regenerate.

14 years ago(h-sint): add fixme
devans [Tue, 22 Sep 2009 17:44:01 +0000 (17:44 +0000)]
(h-sint): add fixme

14 years agogdb
tromey [Tue, 22 Sep 2009 17:39:52 +0000 (17:39 +0000)]
gdb
PR python/10680:
* eval.c (evaluate_subexp_standard) <do_call_it>: Handle internal
functions in EVAL_AVOID_SIDE_EFFECTS case.
gdb/testsuite
* gdb.python/py-function.exp: Add regression tests.

14 years ago2009-09-22 Ozkan Sezer <sezeroz@gmail.com>
ktietz [Tue, 22 Sep 2009 16:33:56 +0000 (16:33 +0000)]
2009-09-22  Ozkan Sezer  <sezeroz@gmail.com>

        * choose-temp.c: Include unistd.h for mingw targets.

14 years ago * main.c: Fix spelling error.
brobecke [Tue, 22 Sep 2009 15:44:12 +0000 (15:44 +0000)]
   * main.c: Fix spelling error.

14 years ago * autoload.cc (WSARecv): Define.
corinna [Tue, 22 Sep 2009 14:27:57 +0000 (14:27 +0000)]
* autoload.cc (WSARecv): Define.
* fhandler_socket.cc (fhandler_socket::recv_internal): Call WSARecv
instead of WSARecvFrom if no name parameter is given.  Explain why.

14 years agoMake *at functions more like Linux.
ericb [Tue, 22 Sep 2009 12:13:53 +0000 (12:13 +0000)]
Make *at functions more like Linux.

* syscalls.cc (faccessat): Fix typo, reject bad flags.
(fchmodat, fchownat, fstatat, utimensat, linkat, unlinkat): Reject
bad flags.

14 years ago * strfuncs.cc (sys_cp_mbstowcs): Reset shift state after handling
corinna [Tue, 22 Sep 2009 09:44:32 +0000 (09:44 +0000)]
* strfuncs.cc (sys_cp_mbstowcs): Reset shift state after handling
invalid multibyte sequence.

14 years ago * path.cc (symlink_worker): Rework error handling to generate Linux
corinna [Tue, 22 Sep 2009 09:24:29 +0000 (09:24 +0000)]
* path.cc (symlink_worker): Rework error handling to generate Linux
compatible errno in case of trailing slash in newpath.

14 years agoMatch dup2 and fcntl error values to POSIX.
ericb [Tue, 22 Sep 2009 04:09:02 +0000 (04:09 +0000)]
Match dup2 and fcntl error values to POSIX.

* dtable.h (OPEN_MAX_MAX): New macro.
* resource.cc (getrlimit) [RLIMIT_NOFILE]: Use it.
* dtable.cc (dtable::extend): Likewise.
* fcntl.cc (fcntl64): Obey POSIX rule with too-large F_DUPFD.
* syscalls.cc (dup2): Likewise.

14 years ago * MAINTAINERS: Add myself under Write After Approval.
jiez [Tue, 22 Sep 2009 03:22:58 +0000 (03:22 +0000)]
* MAINTAINERS: Add myself under Write After Approval.

14 years ago * gas/ppc/a2.d: Match PPC64 relocs.
amodra [Tue, 22 Sep 2009 03:10:24 +0000 (03:10 +0000)]
* gas/ppc/a2.d: Match PPC64 relocs.

14 years ago* rtl-c.scm (all rtx functions): Rename local estate to *estate*. It's an
devans [Tue, 22 Sep 2009 03:06:27 +0000 (03:06 +0000)]
* rtl-c.scm (all rtx functions): Rename local estate to *estate*.  It's an
artificial argument added to the rtx, so make it stand out.

14 years ago* ChangeLog-2002: Fix typo.
ericb [Tue, 22 Sep 2009 02:49:15 +0000 (02:49 +0000)]
* ChangeLog-2002: Fix typo.
* ChangeLog-2008: Likewise.

14 years ago * rtl-c.scm (/rtl-c-build-table): Renamed from rtl-c-build-table.
devans [Tue, 22 Sep 2009 02:37:27 +0000 (02:37 +0000)]
* rtl-c.scm (/rtl-c-build-table): Renamed from rtl-c-build-table.
All callers updated.  Add FIXME.

14 years agoo * ppc.h (ppc_cpu_t): Typedef to uint64_t.
amodra [Tue, 22 Sep 2009 02:36:26 +0000 (02:36 +0000)]
o * ppc.h (ppc_cpu_t): Typedef to uint64_t.

14 years agoDelete unused scripts.
amodra [Tue, 22 Sep 2009 00:17:48 +0000 (00:17 +0000)]
Delete unused scripts.

14 years agodaily update
amodra [Tue, 22 Sep 2009 00:00:04 +0000 (00:00 +0000)]
daily update

14 years ago*** empty log message ***
gdbadmin [Tue, 22 Sep 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago * windows-nat.c (ctrl_c_handler): Also handle CTRL_BREAK_EVENT.
muller [Mon, 21 Sep 2009 22:37:59 +0000 (22:37 +0000)]
* windows-nat.c (ctrl_c_handler): Also handle CTRL_BREAK_EVENT.

14 years ago2009-09-21 H.J. Lu <hongjiu.lu@intel.com>
hjl [Mon, 21 Sep 2009 21:50:18 +0000 (21:50 +0000)]
2009-09-21  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c: Remove white spaces.

14 years agoRequire c++ in stage1_languages with --enable-gold in combined bootstrap.
rwild [Mon, 21 Sep 2009 20:32:58 +0000 (20:32 +0000)]
Require c++ in stage1_languages with --enable-gold in combined bootstrap.

/:
* configure.ac: If bootstrapping a combined tree with
--enable-gold, require c++ in stage1_languages.
* configure: Regenerate.

14 years agotoplevel configure: bootstrap target_libs of stage1_languages.
rwild [Mon, 21 Sep 2009 20:31:02 +0000 (20:31 +0000)]
toplevel configure: bootstrap target_libs of stage1_languages.

/:
* configure.ac: Also add target_libs of stage1_languages to
bootstrap_target_libs.
* configure: Regenerate.

14 years ago * cp-support.h (cp_validate_operator): Declare new function.
kseitz [Mon, 21 Sep 2009 19:46:42 +0000 (19:46 +0000)]
* cp-support.h (cp_validate_operator): Declare new function.
* cp-support.c (cp_validate_operator): New function.
* linespec.c (decode_compound): For C++ check for a valid operator.

14 years ago * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
kseitz [Mon, 21 Sep 2009 19:46:15 +0000 (19:46 +0000)]
* gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
with invalid operator.

14 years ago * cygheap.h (cwdstuff::get_posix): Convert to const inline method just
corinna [Mon, 21 Sep 2009 19:29:15 +0000 (19:29 +0000)]
* cygheap.h (cwdstuff::get_posix): Convert to const inline method just
returning pointer to posix path.
(cwdstuff::reset_posix): Convert to non-inline method taking a wchar_t
pointer.
* path.cc (cwdstuff::set): Revert change from 2009-05-13.  Set posix
to valid incoming path again.
(cwdstuff::reset_posix): New implementation setting posix path from
incoming wchar_t path.  Explain usage.
(cwdstuff::get_posix): Drop implementation.
(cwdstuff::get): Drop special case to handle empty posix path.
* syscalls.cc (internal_setlocale): Store old posix cwd as wide char
path.  Restore posix cwd using new charset.  Explain why.

14 years agoDiagnose --enable-build-with-cxx --enable-bootstrap --enable-languages w/o c++
rwild [Mon, 21 Sep 2009 19:25:05 +0000 (19:25 +0000)]
Diagnose --enable-build-with-cxx --enable-bootstrap --enable-languages w/o c++

/:
* configure.ac: Diagnose --enable-build-with-cxx bootstrap
with --enable-languages not containing c++.
* configure: Regenerate.

14 years ago * c-exp.y (qualified_name): Call CHECK_TYPEDEF before deciding
kseitz [Mon, 21 Sep 2009 19:23:45 +0000 (19:23 +0000)]
* c-exp.y (qualified_name): Call CHECK_TYPEDEF before deciding
that a type is not an aggregate type.

14 years ago * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
kseitz [Mon, 21 Sep 2009 19:23:22 +0000 (19:23 +0000)]
* gdb.cp/classes.exp (do_tests): Add tests to print a constructor
and destructor using typedef name of class.
* gdb.cp/classes.cc (class Base1): Add a destructor.
(base1): New typedef.
(use_methods): Instanitate an object of type base1.
* gdb.cp/templates.exp (test_template_typedef): New procedure.
(do_tests): Call test_template_typedef.
* gdb.cp/templates.cc (Baz::~Baz): New method.
(intBazOne): New typedef.
(main): Instantiate intBazOne.

14 years agold/testsuite/
rsandifo [Mon, 21 Sep 2009 19:11:50 +0000 (19:11 +0000)]
ld/testsuite/
PR ld/10681
* ld-elf/eh6.d: Expect absolute pointers in shared libraries to
be converted into PC-relative form.

14 years agobfd/
rsandifo [Mon, 21 Sep 2009 19:07:43 +0000 (19:07 +0000)]
bfd/
* elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Extend previous
patch to handle the new personality relaxation.

ld/testsuite/
* ld-mips-elf/eh-frame5.d: Expect PC-relative encodings
to include DW_EH_PE_sdata4.

14 years agobfd/
rsandifo [Mon, 21 Sep 2009 18:55:06 +0000 (18:55 +0000)]
bfd/
* elf-eh-frame.c (make_pc_relative): New function.
(_bfd_elf_write_section_eh_frame): Use it.

ld/testsuite/
* ld-mips-elf/eh-frame1-n32.d: Expect PC-relative encodings
to include DW_EH_PE_sdata4.
* ld-mips-elf/eh-frame2-n32.d: Likewise.
* ld-mips-elf/eh-frame1-n64.d: Expect PC-relative encodings
to include DW_EH_PE_sdata8.
* ld-mips-elf/eh-frame2-n64.d: Likewise.

14 years ago2009-09-21 Jason Orendorff <jason.orendorff@gmail.com>
tromey [Mon, 21 Sep 2009 16:18:39 +0000 (16:18 +0000)]
2009-09-21  Jason Orendorff  <jason.orendorff@gmail.com>

PR python/10666:
* python/py-function.c (fnpy_init): Use xstrdup.

14 years ago2009-09-21 Ken Werner <ken.werner@de.ibm.com>
jjohnstn [Mon, 21 Sep 2009 16:07:34 +0000 (16:07 +0000)]
2009-09-21  Ken Werner  <ken.werner@de.ibm.com>

        * spu/getpagesize.c: Align getpagesize implementation to POSIX

14 years ago * openrisc.cpu (or32 isa): Fix setup-semantics.
devans [Mon, 21 Sep 2009 15:32:13 +0000 (15:32 +0000)]
* openrisc.cpu (or32 isa): Fix setup-semantics.

14 years ago * rtl.scm (rtx-class-*?): Delete, unused.
devans [Mon, 21 Sep 2009 15:24:19 +0000 (15:24 +0000)]
* rtl.scm (rtx-class-*?): Delete, unused.
(rtx-style-function?, rtx-style-operand?, rtx-style-macro?): Ditto.

14 years ago * read.scm (/CGEN-RTL-VERSION): Initialize to #f.
devans [Mon, 21 Sep 2009 15:18:54 +0000 (15:18 +0000)]
* read.scm (/CGEN-RTL-VERSION): Initialize to #f.
(init-reader!): Set /CGEN-RTL-VERSION to default.

* read.scm (cpu-load): Print load parameters.

14 years ago * dev.scm (load-doc): Set verbose-level to 2.
devans [Mon, 21 Sep 2009 15:14:37 +0000 (15:14 +0000)]
* dev.scm (load-doc): Set verbose-level to 2.

14 years ago * lib/gas-defs.exp (gas_test_error): Mark internal error/assertion
macro [Mon, 21 Sep 2009 13:15:28 +0000 (13:15 +0000)]
* lib/gas-defs.exp (gas_test_error): Mark internal error/assertion
failures seen in output as fails.  Also record output being
matched for fails.

14 years ago * gas/mips/eret-1.d: Adjust regexps for robustness.
macro [Mon, 21 Sep 2009 13:13:04 +0000 (13:13 +0000)]
* gas/mips/eret-1.d: Adjust regexps for robustness.
* gas/mips/eret-2.d: Likewise.
* gas/mips/eret-3.d: Likewise.
* gas/mips/eret-1.s: Reformat for readability.  Add a label
at the beginning.
* gas/mips/eret-2.s: Add a label at the beginning.

14 years ago * gas/mips/eret-1.s: Add trailing padding.
macro [Mon, 21 Sep 2009 13:10:07 +0000 (13:10 +0000)]
* gas/mips/eret-1.s: Add trailing padding.
* gas/mips/eret-2.s: Likewise.
* gas/mips/eret-3.s: Likewise.
* gas/mips/eret-1.d: Adjust accordingly.  Force a 32-bit ABI.
* gas/mips/eret-2.d: Likewise.
* gas/mips/eret-3.d: Likewise.

14 years ago * gas/mips/mips.exp: Fix a typo.
macro [Mon, 21 Sep 2009 13:08:36 +0000 (13:08 +0000)]
* gas/mips/mips.exp: Fix a typo.

14 years ago * doc/gdb.texinfo: Escape "{" and "}".
jiez [Mon, 21 Sep 2009 12:48:35 +0000 (12:48 +0000)]
* doc/gdb.texinfo: Escape "{" and "}".

14 years agoinclude/elf/
amodra [Mon, 21 Sep 2009 11:51:01 +0000 (11:51 +0000)]
include/elf/
* ppc.h (DT_PPC_TLSOPT): Define.
* ppc64.h (DT_PPC64_TLSOPT): Define.
bfd/
* elf32-ppc.c (TLS_GET_ADDR_GLINK_SIZE): Define.
(ADD_3_12_2, BEQLR, CMPWI_11_0, LWZ_11_3, LWZ_12_3): Define.
(MR_0_3, MR_3_0): Define.
(struct ppc_elf_link_hash_table): Add no_tls_get_addr_opt.
(ppc_elf_select_plt_layout): Save emit_stub_syms param earlier.
(ppc_elf_tls_setup): Add no_tls_get_addr_opt param and save to hash
table.  Check for presense of __tls_get_addr_opt
(allocate_dynrelocs): Increase glink entry size for __tls_get_addr.
(ppc_elf_size_dynamic_sections): Add DT_PPC_TLS_OPT tag.
(write_glink_stub): Add param p.
(ppc_elf_relocate_section): Adjust write_glink_stub call.
(ppc_elf_finish_dynamic_symbol): Emit special glink call stub for
__tls_get_addr.
* elf32-ppc.h (ppc_elf_tls_setup): Update prototype.
* elf64-ppc.c (struct ppc_link_hash_table): Add no_tls_get_addr_opt.
(ppc64_elf_tls_setup): Add no_tls_get_addr_opt param and save to hash
table.  Check for presense of __tls_get_addr_opt.
(ppc64_elf_size_dynamic_sections): Add DT_PPC64_TLS_OPT tag.
(LD_R11_0R3, LD_R12_0R3, MR_R0_R3, CMPDI_R11_0, ADD_R3_R12_R13,
BEQLR, MR_R3_R0, MFLR_R11, STD_R11_0R1, BCTRL, LD_R11_0R1,
LD_R2_0R1, MTLR_R11): Define.
(build_tls_get_addr_stub): New function.
(ppc_build_one_stub): Call it.
(ppc_size_one_stub): Add extra size for __tls_get_addr stub.
(ppc64_elf_relocate_section): Don't change nop to ld 2,40(1) for
__tls_get_addr plt call.
* elf64-ppc.h (ppc64_elf_tls_setup): Update prototype.
binutils/
* readelf.c (get_ppc_dynamic_type): Add TLSOPT.
(get_ppc64_dynamic_type): Likewise.
ld/
* emultempl/ppc32elf.em (no_tls_get_addr_opt): New var.
(ppc_before_allocation): Pass to ppc_elf_tls_setup.
(OPTION_NO_TLS_GET_ADDR_OPT): Define.  Redefine other options in
terms of previous option.
(PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add
--no-tls-get-addr-optimize.
(PARSE_AND_LIST_ARGS_CASES): Handle it.
* emultempl/ppc64elf.em (no_tls_get_addr_opt): New var.
(ppc_before_allocation): Pass to ppc64_elf_tls_setup.
(OPTION_NO_TLS_GET_ADDR_OPT): Define.
(PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add
--no-tls-get-addr-optimize.
(PARSE_AND_LIST_ARGS_CASES): Handle it.
ld/testsuite/
* ld-powerpc/tlslib.s: Delete dot-symbol entry syms.  Add
__tls_get_addr_opt.
* ld-powerpc/tlslib32.s: Add __tls_get_addr_opt.
* ld-powerpc/oldtlslib.s: New file, old-abi version of tlslib.s.
* ld-powerpc/powerpc.exp: Build old-abi library and use it in
two new link tests.
* ld-powerpc/tlsexe.d: Update for new __tls_get_addr stub.
* ld-powerpc/tlsexe.g, * ld-powerpc/tlsexe.r, *ld-powerpc/tlsexe32.d,
* ld-powerpc/tlsexe32.g, * ld-powerpc/tlsexe32.r,
* ld-powerpc/tlsexetoc.d, * ld-powerpc/tlsexetoc.g,
* ld-powerpc/tlsexetoc.r: Likewise.

14 years ago * new-features.sgml (ov-new1.7-file): Add new hardlink behaviour on
corinna [Mon, 21 Sep 2009 11:01:19 +0000 (11:01 +0000)]
* new-features.sgml (ov-new1.7-file): Add new hardlink behaviour on
filesystems not supporting hardlinks.
* overview2.sgml (ov-hi-files): Change descripton accordingly.

14 years ago * fhandler_disk_file.cc (fhandler_disk_file::link): Drop faking hardlink
corinna [Mon, 21 Sep 2009 10:56:50 +0000 (10:56 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::link): Drop faking hardlink
creation on filesystems not supporting hardlinks.

14 years agogas/
bje [Mon, 21 Sep 2009 10:29:06 +0000 (10:29 +0000)]
gas/
* config/tc-ppc.c (md_show_usage): Document -mpcca2.
* doc/c-ppc.texi (PowerPC-Opts): Document -mppca2.

gas/testsuite/
* gas/ppc/a2.s: New.
* gas/ppc/a2.d: Likewise.
* gas/ppc/ppc.exp: Run the a2 dump test.

include/opcode/
* ppc.h (PPC_OPCODE_PPCA2): New.

opcodes/
* ppc-dis.c (ppc_opts): Add "ppca2" entry.
* ppc-opc.c (powerpc_opcodes): Add eratilx, eratsx, eratsx.,
eratre, wchkall, eratwe, ldawx., mdfcrx., mfdcr. mtdcrx., icswx,
icswx., mtdcr., dci, wclrone, wclrall, wclr, erativax, tlbsrx.,
ici mnemonics.
(ERAT_T): New operand.
(XWC_MASK): New mask.
(XOPL2): New macro.
(PPCA2): Define.

14 years ago2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
pmuldoon [Mon, 21 Sep 2009 09:39:51 +0000 (09:39 +0000)]
2009-09-21  Phil Muldoon <pmuldoon@redhat.com>

PR python/10633

* c-lang.c (c_printstr): Do not loop past  options->print_max when
iterating with wchar_iterate.

2009-09-21  Phil Muldoon <pmuldoon@redhat.com>

PR python/10633

* gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
Function.
(run_lang_tests): Add print elements test.

14 years ago2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
pmuldoon [Mon, 21 Sep 2009 09:32:26 +0000 (09:32 +0000)]
2009-09-21  Phil Muldoon <pmuldoon@redhat.com>

* python/py-value.c (valpy_getitem): Test value before allowing
subscript operation.

2009-09-21  Phil Muldoon <pmuldoon@redhat.com>

* gdb.python/py-value.exp (test_subscript_regression): New
function.  Test for invalid subscripts.
* gdb.python/py-value.c (main): Add test array, and pointer to it.
(ptr_ref): New function.

14 years ago2009-09-21 Hui Zhu <teawater@gmail.com>
teawater [Mon, 21 Sep 2009 05:57:09 +0000 (05:57 +0000)]
2009-09-21  Hui Zhu  <teawater@gmail.com>
    Michael Snyder  <msnyder@vmware.com>

* amd64-linux-tdep.c (amd64_all_but_ip_registers_record): New
function.
(amd64_linux_syscall_record): Call
amd64_all_but_ip_registers_record if syscall is
sys_rt_sigreturn.
(AMD64_LINUX_redzone, AMD64_LINUX_xstate,
AMD64_LINUX_frame_size): New macros.
(amd64_linux_record_signal): New function.
(amd64_linux_init_abi): Call set_gdbarch_process_record_signal.

14 years ago2009-09-21 Hui Zhu <teawater@gmail.com>
teawater [Mon, 21 Sep 2009 05:55:52 +0000 (05:55 +0000)]
2009-09-21  Hui Zhu  <teawater@gmail.com>
    Michael Snyder  <msnyder@vmware.com>

* i386-linux-tdep.c (i386_all_but_ip_registers_record): New
function.
(i386_linux_intx80_sysenter_record): Call
i386_all_but_ip_registers_record if syscall is sys_sigreturn
or sys_rt_sigreturn.
(I386_LINUX_xstate, I386_LINUX_frame_size): New macros.
(i386_linux_record_signal): New function.
(i386_linux_init_abi): Call set_gdbarch_process_record_signal.

14 years ago2009-09-21 Hui Zhu <teawater@gmail.com>
teawater [Mon, 21 Sep 2009 05:54:09 +0000 (05:54 +0000)]
2009-09-21  Hui Zhu  <teawater@gmail.com>
    Michael Snyder  <msnyder@vmware.com>

* record.c (record_end_entry): New struct.
(record_type): Add end.
(record_arch_list_add_end): Set rec->u.end.sigval to
TARGET_SIGNAL_0.
(record_message_args): New struct.
(record_message): Call gdbarch_process_record_signal.
(do_record_message): Add argument "signal".
(record_resume): Ditto.
(record_wait): Ditto.  Check record_list->u.end.sigval
in replay mode.

14 years ago2009-09-21 Hui Zhu <teawater@gmail.com>
teawater [Mon, 21 Sep 2009 05:52:03 +0000 (05:52 +0000)]
2009-09-21  Hui Zhu  <teawater@gmail.com>
    Michael Snyder  <msnyder@vmware.com>

* gdbarch.sh (process_record_signal): New interface.

14 years ago* dcrt0.cc (dll_crt0_1): Add another hack to REALLY make sure that cxx_malloc
cgf [Mon, 21 Sep 2009 02:32:05 +0000 (02:32 +0000)]
* dcrt0.cc (dll_crt0_1): Add another hack to REALLY make sure that cxx_malloc
is always set to the cygwin version.

14 years ago* external.cc (cygwin_internal): Add hack to always reset cxx_malloc to proper
cgf [Mon, 21 Sep 2009 02:19:30 +0000 (02:19 +0000)]
* external.cc (cygwin_internal): Add hack to always reset cxx_malloc to proper
value.
* lib/_cygwin_crt0_common.cc (_cygwin_crt0_common): Relocate wayward comment.

14 years ago * gas/ppc/e500mc.d: Remove blank line at the end of file.
bje [Mon, 21 Sep 2009 01:58:00 +0000 (01:58 +0000)]
* gas/ppc/e500mc.d: Remove blank line at the end of file.

14 years agodaily update
amodra [Mon, 21 Sep 2009 00:00:05 +0000 (00:00 +0000)]
daily update

14 years ago*** empty log message ***
gdbadmin [Mon, 21 Sep 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago * rtl.scm (rtx-strdump): Use write instead of display.
devans [Sun, 20 Sep 2009 21:22:03 +0000 (21:22 +0000)]
* rtl.scm (rtx-strdump): Use write instead of display.

14 years agold/testsuite/
rsandifo [Sun, 20 Sep 2009 11:11:37 +0000 (11:11 +0000)]
ld/testsuite/
* ld-mips-elf/elf-rel-got-n64-linux.d: Expect BALs.
* ld-mips-elf/elf-rel-xgot-n64-linux.d: Likewise.

14 years ago*** empty log message ***
gdbadmin [Sun, 20 Sep 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
amodra [Sun, 20 Sep 2009 00:00:04 +0000 (00:00 +0000)]
daily update

14 years ago * varobj.c (varobj_update): Initialize children_changed.
brobecke [Sat, 19 Sep 2009 16:02:36 +0000 (16:02 +0000)]
    * varobj.c (varobj_update): Initialize children_changed.

14 years ago* exceptions.cc (sigpacket::process): Explicitly set thread-specific handler
cgf [Sat, 19 Sep 2009 15:34:19 +0000 (15:34 +0000)]
* exceptions.cc (sigpacket::process): Explicitly set thread-specific handler
function to zero to avoid transferring to incorrect location.
(_cygtls::call_signal_handler): Don't transfer to handler if there is no
handler to transfer to.

14 years ago * mi/mi-cmd-stack.c (list_args_or_locals): Workaround
vprus [Sat, 19 Sep 2009 11:12:42 +0000 (11:12 +0000)]
* mi/mi-cmd-stack.c (list_args_or_locals): Workaround
gcc warning.

14 years ago * gdb.texinfo (GDB/MI Stack Manipulation): Document
vprus [Sat, 19 Sep 2009 10:46:20 +0000 (10:46 +0000)]
* gdb.texinfo (GDB/MI Stack Manipulation): Document
-stack-list-variables.

14 years ago * mi/mi-cmds.h (mi_cmd_stack_list_variables): Declare.
vprus [Sat, 19 Sep 2009 09:59:29 +0000 (09:59 +0000)]
* mi/mi-cmds.h (mi_cmd_stack_list_variables): Declare.
* mi/mi-cmds.c (mi_cmds): Register -stack-list-variables.
* mi/mi-cmd-stack.c (enum what_to_list): New.
(list_args_or_locals): Accept what_to_list parameter.
Use 'variables' as output name of all are requested.
(mi_cmd_stack_list_variables): New.
(mi_cmd_stack_list_locals, mi_cmd_stack_list_args): Adjust.

14 years ago * config/djgpp/fnchange.lst: Add missing edits.
eliz [Sat, 19 Sep 2009 09:46:44 +0000 (09:46 +0000)]
* config/djgpp/fnchange.lst: Add missing edits.

14 years agobfd/
rsandifo [Sat, 19 Sep 2009 08:06:10 +0000 (08:06 +0000)]
bfd/
* elf-bfd.h (eh_cie_fde): Add personality_offset and
make_per_encoding_relative to the CIE structure.  Add a padding field.
* elf-eh-frame.c (_bfd_elf_eh_frame_section_offset): Use 0x70
rather than 0xf0 when masking out the base address encoding
Record the offset of personality data from the start of the CIE.
Remove a repeated elf_backend_can_make_relative_eh_frame check.
(find_merged_cie): Take an info argument.  If the personality
binds locally, try converting an absolute personality into
a local one.
(_bfd_elf_discard_section_eh_frame): Use 0x70 rather than 0xf0
when masking out the base address encoding.  Update the call to
find_merged_cie.
(_bfd_elf_eh_frame_section_offset): Discard relocations against
the personality data if we are converting into PC-relative form.
(_bfd_elf_write_section_eh_frame): Use 0x70 rather than 0xf0
when masking out the base address encoding.  Handle
make_per_encoding_relative.

ld/testsuite/
* ld-mips-elf/eh-frame5.s, ld-mips-elf/eh-frame5.ld,
ld-mips-elf/eh-frame5.d: New test.
* ld-mips-elf/mips-elf.exp: Run it.

14 years ago2009-09-18 Maxim Grigoriev <maxim2405@gmail.com>
maxim2405 [Sat, 19 Sep 2009 03:56:31 +0000 (03:56 +0000)]
2009-09-18  Maxim Grigoriev  <maxim2405@gmail.com>

        * xtensa-tdep.c (call0_analyze_prologue): Replace INT_MAX by UNIT_MAX.

14 years ago* libc/include/sys/unistd.h: Declare getpagesize as returning POSIX-mandated
cgf [Sat, 19 Sep 2009 02:30:50 +0000 (02:30 +0000)]
* libc/include/sys/unistd.h: Declare getpagesize as returning POSIX-mandated
int.
* libc/sys/linux/sys/unistd.h: Ditto.

14 years ago*** empty log message ***
gdbadmin [Sat, 19 Sep 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
amodra [Sat, 19 Sep 2009 00:00:04 +0000 (00:00 +0000)]
daily update

14 years ago* exceptions.cc (sigpacket::process): Give sigwait() processing precedence even
cgf [Fri, 18 Sep 2009 21:27:02 +0000 (21:27 +0000)]
* exceptions.cc (sigpacket::process): Give sigwait() processing precedence even
when a handler is present.
* syscalls.cc (getpagesize): Change return to 'int'.

14 years agoRevert accidental checkin.
hjl [Fri, 18 Sep 2009 20:34:30 +0000 (20:34 +0000)]
Revert accidental checkin.

14 years ago * object.cc (Sized_relobj::do_count): Test should_retain_symbol map.
csilvers [Fri, 18 Sep 2009 20:03:22 +0000 (20:03 +0000)]
* object.cc (Sized_relobj::do_count): Test should_retain_symbol map.
* options.cc: Include <cerrno> and <fstream>.
(General_options::finalize): Parse -retain-symbols-file tag.
* options.h: New flag.
(General_options): New method should_retain_symbol, new
variable symbols_to_retain.
* symtab.cc (Symbol_table::sized_finalize_symbol): Test
should_retain_symbol map.
* testsuite/Makefile.am (retain_symbols_file_test): New test.
* testsuite/Makefile.in: Regenerate.
* testsuite/retain_symbols_file_test.sh: New file.

14 years ago * object.cc (Sized_relobj::do_count): Test should_retain_symbol map.
csilvers [Fri, 18 Sep 2009 20:02:21 +0000 (20:02 +0000)]
* object.cc (Sized_relobj::do_count): Test should_retain_symbol map.
* options.cc: Include <cerrno> and <fstream>.
(General_options::finalize): Parse -retain-symbols-file tag.
* options.h: New flag.
(General_options): New method should_retain_symbol, new
variable symbols_to_retain.
* symtab.cc (Symbol_table::sized_finalize_symbol): Test
should_retain_symbol map.
* testsuite/Makefile.am (retain_symbols_file_test): New test.
* testsuite/Makefile.in: Regenerate.
* testsuite/retain_symbols_file_test.sh: New file.

14 years ago * gdb.texinfo (GDB/MI Variable Objects): -enable-pretty-printing
tromey [Fri, 18 Sep 2009 18:03:45 +0000 (18:03 +0000)]
* gdb.texinfo (GDB/MI Variable Objects): -enable-pretty-printing
is experimental.

14 years agogdb/
jkratoch [Fri, 18 Sep 2009 17:33:50 +0000 (17:33 +0000)]
gdb/
* objfiles.c (free_objfile): Clear SYMFILE_OBJFILE if it is OBJFILE.
* rs6000-nat.c (vmap_ldinfo): Only assertion check SYMFILE_OBJFILE now.
* symfile.c (syms_from_objfile, symbol_file_clear): Likewise.

14 years agoFix ChangeLog date.
uweigand [Fri, 18 Sep 2009 15:49:26 +0000 (15:49 +0000)]
Fix ChangeLog date.

14 years ago * rs6000-tdep.c (rs6000_builtin_type_vec128): Add v2_double
uweigand [Fri, 18 Sep 2009 15:48:21 +0000 (15:48 +0000)]
* rs6000-tdep.c (rs6000_builtin_type_vec128): Add v2_double
union member.