OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
13 years ago2010-09-14 Kai Tietz <kai.tietz@onevision.com>
ktietz [Tue, 14 Sep 2010 20:25:33 +0000 (20:25 +0000)]
2010-09-14  Kai Tietz  <kai.tietz@onevision.com>

        * peXXigen.c (sort_x64_pdata): New helper.
        (_bfd_XXi_final_link_postscript): Do pdata sorting.

13 years agogdb
tromey [Tue, 14 Sep 2010 19:39:58 +0000 (19:39 +0000)]
gdb
PR symtab/8399:
* dwarf2loc.c (locexpr_describe_location_piece): Don't call error
for unrecognized frame base expression.
gdb/testsuite
PR symtab/8399:
* gdb.threads/tls.exp: Remove kfail.  Update expected output.

13 years agogdb
tromey [Tue, 14 Sep 2010 19:08:29 +0000 (19:08 +0000)]
gdb
PR exp/11803:
* value.c (value_static_field): Use value_of_variable.
gdb/testsuite
PR exp/11803:
* gdb.threads/tls.exp: Use C++.
(check_thread_local): Use K::another_thread_local.
* gdb.threads/tls.c (class K): New.
(another_thread_local): Now a member of K.
(spin): Update.  No longer K&R C.

13 years agoFix typo in my most recent ChangeLog entry. Regenerated file is
kevinb [Tue, 14 Sep 2010 17:09:41 +0000 (17:09 +0000)]
Fix typo in my most recent ChangeLog entry.  Regenerated file is
Makefile.in, not Makefile.

13 years ago * path.cc (symlink_info::check): Make sure AllocationSize and EndOfFile
corinna [Tue, 14 Sep 2010 14:10:38 +0000 (14:10 +0000)]
* path.cc (symlink_info::check): Make sure AllocationSize and EndOfFile
are stored in the right order when fetching the info from the
NtQueryDirectoryFile result.

13 years ago * doc/c-arm.texi: Document -mcpu=cortex-m4.
jiez [Tue, 14 Sep 2010 09:16:20 +0000 (09:16 +0000)]
* doc/c-arm.texi: Document -mcpu=cortex-m4.

13 years ago * m32r-rom.c: Replace winsock.h with winsock2.h header.
muller [Tue, 14 Sep 2010 08:01:09 +0000 (08:01 +0000)]
* m32r-rom.c: Replace winsock.h with winsock2.h header.
* remote-m32r-sdi.c: Replace winsock.h by winsock2.h.

13 years agodaily update
amodra [Tue, 14 Sep 2010 00:00:05 +0000 (00:00 +0000)]
daily update

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

13 years agoFix PR 11992: C++ 'this' scope sometimes does not work
swagiaal [Mon, 13 Sep 2010 20:41:04 +0000 (20:41 +0000)]
Fix PR 11992: C++ 'this' scope sometimes does not work

2010-09-13  Sami Wagiaalla  <swagiaal@redhat.com>

PR symtab/11992:
* c-exp.y (classify_name): Check is_a_member_of_this before returning
UNKNOWN_CPP_NAME.

2010-09-13  Sami Wagiaalla  <swagiaal@redhat.com>

* gdb.cp/koenig.cc: created class for testing member lookup.
* gdb.cp/koenig.exp: Added test for member lookup.

13 years ago[NEWS] Announce gdbserver support for x86-lynxos
brobecke [Mon, 13 Sep 2010 20:37:32 +0000 (20:37 +0000)]
[NEWS] Announce gdbserver support for x86-lynxos

This patch adjusts the NEWS entry for the LynxOS gdbserver to include
x86-lynxos to the list of supported platforms.

gdb/ChangeLog:

        * NEWS: Add x86-lynxos to the list of platforms supported by
        gdbserver.

13 years agogdb/testsuite/
jkratoch [Mon, 13 Sep 2010 20:05:03 +0000 (20:05 +0000)]
gdb/testsuite/
Fix false FAILs on sourcetree topdir directory containing "kill".
* gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
source line matching regexp.

13 years agoAdd support for x86 LynxOS
brobecke [Mon, 13 Sep 2010 19:11:03 +0000 (19:11 +0000)]
Add support for x86 LynxOS

This patch adds support for x86 LynxOS (tested on LynxOS 5.0).

gdb/gdbserver/ChangeLog:

        * lynx-i386-low.c: New file.
        * configure.srv: Add handling of i[34567]86-*-lynxos* targets.

13 years ago[NEWS] Announce support for PowerPC LynxOS 5.x.
brobecke [Mon, 13 Sep 2010 19:10:44 +0000 (19:10 +0000)]
[NEWS] Announce support for PowerPC LynxOS 5.x.

This adjusts the news entry about ppc-lynxos to add version 5.x
of the OS to the list of supported versions...

gdb/ChangeLog:

        * NEWS: Announce GDBserver support for version 5.x of ppc-lynxos.

13 years ago[LynxOS] Remove handling of PTRACE_* values removed in Lynx5.
brobecke [Mon, 13 Sep 2010 19:10:30 +0000 (19:10 +0000)]
[LynxOS] Remove handling of PTRACE_* values removed in Lynx5.

Some of the PTRACE_ macros/values were removed in LynxOS 5.x.
Since we have not use them so far, the chances that we will use them
one day are very small.  So I decided to delete them.

gdb/gdbserver/ChangeLog:

        * lynx-low.c (ptrace_request_to_str): Remove handling for
        request values that have been removed in LynxOS 5.x.

13 years ago[LynxOS] Include sys/ptrace.h instead of ptrace.h.
brobecke [Mon, 13 Sep 2010 19:10:19 +0000 (19:10 +0000)]
[LynxOS] Include sys/ptrace.h instead of ptrace.h.

This is one of the changes needed in order to build gdbserver on
LynxOS 5.x.

Really interesting: On LynxOS 4.x, there is a #warning when sys/ptrace.h
is used (explaining that ptrace.h will be used instead), whereas this
file was removed from LynxOS 5.x. The contents of sys/ptrace.h on 4.x
(or at least the meat of it):

    #if defined(__GNUC__) || defined(__GNUG__)
    #if !defined(__NO_INCLUDE_WARN__)
    #warning Using <ptrace.h> instead of <sys/ptrace.h>
    #endif /* defined(__NO_INCLUDE_WARN__) */
    #endif /* defined(__GNUC__) || defined(__GNUG__) */

    #include <ptrace.h>

The fix I went for, for now, is to just include <sys/ptrace.h>
unconditionally.  I could have done some configury, but we already
have to build with -D__NO_INCLUDE_WARN__ to avoid the warnings
anyway, and that's unvoidable, due to system includes themselves
including the "wrong" header file.

Since <sys/ptrace.h> seems to be the choice that was made for LynxOS,
and since it works to include it on LynxOS 4.x, I think that's the simplest
solution.

gdb/gdbserver/ChangeLog:

        * lynx-low.c, lynx-ppc-low.c: Include <sys/ptrace.h> instead of
        <ptrace.h>

13 years ago * gdb.texinfo (GDB/MI Stack Manipulation) <-stack-list-frames>:
tromey [Mon, 13 Sep 2010 18:27:04 +0000 (18:27 +0000)]
* gdb.texinfo (GDB/MI Stack Manipulation) <-stack-list-frames>:
Document "fullname" and "from".

13 years ago * Makefile.in (HFILES_NO_SRCDIR): Add progspace.h.
tromey [Mon, 13 Sep 2010 17:59:58 +0000 (17:59 +0000)]
* Makefile.in (HFILES_NO_SRCDIR): Add progspace.h.

13 years agoSet 256bit vector type name to builtin_type_vec256i.
hjl [Mon, 13 Sep 2010 17:39:46 +0000 (17:39 +0000)]
Set 256bit vector type name to builtin_type_vec256i.

2010-09-13  H.J. Lu  <hongjiu.lu@intel.com>

* i386-tdep.c (i386_ymm_type): Set type name to
builtin_type_vec256i.

13 years ago * fhandler_process.cc (get_mem_values): Simplify code. Fix
corinna [Mon, 13 Sep 2010 13:02:18 +0000 (13:02 +0000)]
* fhandler_process.cc (get_mem_values): Simplify code.  Fix
NtQueryVirtualMemory loop so it handles memory allocation gracefully.
Always set errno to a useful value.

13 years ago * fhandler.h (class fhandler_base): Change inheritance of fstat_helper
corinna [Mon, 13 Sep 2010 11:17:34 +0000 (11:17 +0000)]
* fhandler.h (class fhandler_base): Change inheritance of fstat_helper
and fstat_by_...  methods to private.
(fhandler_base::fstat_helper): Drop all redundant arguments.
* fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Drop call
to fstat_by_nfs_ea here.  Drop fetching basic file information.
Drop setting file attributes.  Accommodate change in fstat_helper call.
(fhandler_base::fstat_by_name): Simplify.  Only fetch directory
information to get the inode number.  Drop setting file attributes.
Accommodate change in fstat_helper call.
(fhandler_base::fstat_fs): Call fstat_by_nfs_ea if on NFS.
(fhandler_base::fstat_helper): Drop all redundant arguments.  Use
information already collected in the fhandler.  Move heading comment
into code and drop dwFileAttributes comment.
* mmap.cc (mmap64): Call fstat_fs rather than fstat_by_handle.
* mount.cc (fs_info::update): Note that has_buggy_basic_info is unused.
* path.cc (symlink_info::check_reparse_point): Add comment.
(symlink_info::check): Fetch FileNetworkOpenInformation rather than
FileBasicInformation throughout, except on NFS.  Explain why.  Store
FILE_NETWORK_OPEN_INFORMATION in conv_hdl.  Remove
FILE_ATTRIBUTE_DIRECTORY attribute in conv_hdl for reparse point
symlinks.
* path.h (class path_conv_handle): Add FILE_NETWORK_OPEN_INFORMATION
member _fnoi.
(path_conv_handle::fnoi): New accessor method for _fnoi.
(path_conv::fnoi): New accessor method for cubv_hdl._fnoi.

* fhandler_tty.cc (fhandler_tty_slave::init): Use tty::setpgid method.

13 years ago2010-09-13 Kai Tietz <kai.tietz@onevision.com>
ktietz [Mon, 13 Sep 2010 07:13:34 +0000 (07:13 +0000)]
2010-09-13  Kai Tietz  <kai.tietz@onevision.com>

        * gas/pe/pe.exp: Add x64 SEH tests.
        * gas/pe/peseh-x64.s: New.
        * gas/pe/peseh-x64.d: New.
        * gas/pe/peseh-x64-2.s: New.
        * gas/pe/peseh-x64-2.d: New.
        * gas/pe/peseh-x64-3.s: New.
        * gas/pe/peseh-x64-3.d: New.

13 years ago*** empty log message ***
gdbadmin [Mon, 13 Sep 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

13 years agodaily update
amodra [Mon, 13 Sep 2010 00:00:05 +0000 (00:00 +0000)]
daily update

13 years ago2010-09-12 Michael Snyder <msnyder@vmware.com>
msnyder [Sun, 12 Sep 2010 21:49:40 +0000 (21:49 +0000)]
2010-09-12  Michael Snyder  <msnyder@vmware.com>

* i386-tdep.c (i386_gdbarch_init): Fix typo in comments.

13 years ago * symtab.h (Symbol::needs_dynamic_reloc): Non-PIC calls from
ccoutant [Sun, 12 Sep 2010 19:58:01 +0000 (19:58 +0000)]
* symtab.h (Symbol::needs_dynamic_reloc): Non-PIC calls from
position-independent executables to shared libraries need dynamic
relocations.
(Symbol::may_need_copy_reloc): Do not generate COPY relocs in
position-independent executables.
* testsuite/Makefile.am (two_file_mixed_pie_test): New test.
* testsuite/Makefile.in: Regenerate.

13 years ago * sec_acl.cc (acl_worker): Remove.
corinna [Sun, 12 Sep 2010 19:43:55 +0000 (19:43 +0000)]
* sec_acl.cc (acl_worker): Remove.
(acl32): Implement acl_worker functionality here.
(lacl32): Just return -1 with errno set to ENOSYS.
(lacl): Ditto.
* include/cygwin/acl.h (lacl): Remove this call.

13 years ago* sigproc.cc (sig_dispatch_pending): Remove debugging statement.
cgf [Sun, 12 Sep 2010 19:13:09 +0000 (19:13 +0000)]
* sigproc.cc (sig_dispatch_pending): Remove debugging statement.
(sigproc_init): Wrap a long line.

13 years agoFix typo in comments.
hjl [Sun, 12 Sep 2010 18:33:15 +0000 (18:33 +0000)]
Fix typo in comments.

2010-09-12  H.J. Lu  <hongjiu.lu@intel.com>

* i386-tdep.c (i386_gdbarch_init): Fix typo in comments.

13 years ago* cygthread.h (cygthread::cygthread): Reorganize slightly.
cgf [Sun, 12 Sep 2010 15:49:29 +0000 (15:49 +0000)]
* cygthread.h (cygthread::cygthread): Reorganize slightly.
* dcrt0.cc (dll_crt0_0): Move sigproc initialization later to ensure everything
we need has been set up.
(dll_crt0_1): Streamline some logic slightly.
* sigproc.cc (no_signals_available): Add back dropped test for macro parameter.
* fhandler_console.cc (fhandler_console::write): Show a little bit of what's
being written to the console in debugging output.

13 years ago * syscalls.cc (start_transaction): Make inline function. Move up to be
corinna [Sun, 12 Sep 2010 11:41:53 +0000 (11:41 +0000)]
* syscalls.cc (start_transaction): Make inline function.  Move up to be
more generally available.
(stop_transaction): Ditto.
(unlink_nt): Potentially start transaction when trying to delete file
with DOS R/O attribute set.  If file is .lnk symlink, check for number
of hardlinks.  Add "out" label and only return via "out".  Rearrange
reversion of DOS R/O attribute and, on success, only revert R/O
attribute if file is .lnk symlink with more than one hardlink.  Add
length comment to explain why.

13 years ago*** empty log message ***
gdbadmin [Sun, 12 Sep 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

13 years agodaily update
amodra [Sun, 12 Sep 2010 00:00:05 +0000 (00:00 +0000)]
daily update

13 years agoRemove amd64_register_name.
hjl [Sat, 11 Sep 2010 19:09:33 +0000 (19:09 +0000)]
Remove amd64_register_name.

2010-09-11  H.J. Lu  <hongjiu.lu@intel.com>

* amd64-tdep.c (amd64_register_name): Removed.
(amd64_init_abi): Don't call set_gdbarch_register_name.

* i386-tdep.c (i386_ymmh_regnum_p): Make it static.

* i386-tdep.h (i386_ymmh_regnum_p): Removed.

13 years agogdb/
jkratoch [Sat, 11 Sep 2010 16:00:20 +0000 (16:00 +0000)]
gdb/
Redirect also uiout and stdtarg{,err} in execute_command_to_string.
* cli-logging.c (struct saved_output_files) <targerr>: New.
(set_logging_redirect, pop_output_files, handle_redirections):
Redirect also gdb_stdtargerr.
* defs.h (struct ui_out, make_cleanup_ui_out_redirect_pop): New
declarations.
* event-top.c (gdb_setup_readline, gdb_disable_readline): Redirect
also gdb_stdtargerr.
* top.c (execute_command_to_string): Move make_cleanup_ui_file_delete
to the top.  Redirect also gdb_stdlog, gdb_stdtarg and gdb_stdtargerr.
Use ui_out_redirect, register make_cleanup_ui_out_redirect_pop.
* tui/tui-io.c (tui_setup_io): Redirect also gdb_stdtargerr.
* utils.c (do_ui_out_redirect_pop, make_cleanup_ui_out_redirect_pop):
New functions.

gdb/testsuite/
* gdb.python/python.exp (set height 0, collect help from uiout)
(verify help to uiout): New tests.

13 years ago * new-features.sgml: Mention fenv support.
davek [Sat, 11 Sep 2010 11:42:15 +0000 (11:42 +0000)]
* new-features.sgml: Mention fenv support.

13 years ago * fhandler_disk_file.cc (fhandler_disk_file::rmdir): More thoroughly
corinna [Sat, 11 Sep 2010 10:58:39 +0000 (10:58 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::rmdir): More thoroughly
check the existence condition on remote drives.  Enhance comment.

13 years agowinsup/cygwin/ChangeLog:
davek [Sat, 11 Sep 2010 06:53:26 +0000 (06:53 +0000)]
winsup/cygwin/ChangeLog:

* Makefile.in (DLL_OFILES): Add new fenv.o module.
(fenv_CFLAGS): New flags definition for fenv.o compile.
* autoload.cc (std_dll_init): Use fenv.h functions instead of direct
manipulation of x87 FPU registers.
* crt0.c (mainCRTStartup): Likewise.
* cygwin.din (feclearexcept, fegetexceptflag, feraiseexcept,
fesetexceptflag, fetestexcept, fegetround, fesetround, fegetenv,
feholdexcept, fesetenv, feupdateenv, fegetprec, fesetprec,
feenableexcept, fedisableexcept, fegetexcept, _feinitialise,
_fe_dfl_env, _fe_nomask_env): Export new functions and data items.
* fenv.cc: New file.
* posix.sgml: Update status of newly-implemented APIs.
* include/fenv.h: Likewise related header.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.

13 years agodaily update
amodra [Sat, 11 Sep 2010 00:00:05 +0000 (00:00 +0000)]
daily update

13 years ago*** empty log message ***
gdbadmin [Sat, 11 Sep 2010 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

13 years agomerge from gcc
dj [Fri, 10 Sep 2010 23:17:28 +0000 (23:17 +0000)]
merge from gcc

13 years ago2010-09-10 James Lyon <jameslyon0@googlemail.com>
tromey [Fri, 10 Sep 2010 22:42:04 +0000 (22:42 +0000)]
2010-09-10  James Lyon  <jameslyon0@googlemail.com>

http://sourceware.org/bugzilla/show_bug.cgi?id=11572
* cp-demangle.c (d_find_pack): Add case for
DEMANGLE_COMPONENT_LAMBDA.
* testsuite/demangle-expected: Add regression test.

13 years agogdb/testsuite/
jkratoch [Fri, 10 Sep 2010 20:29:25 +0000 (20:29 +0000)]
gdb/testsuite/
* gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
is_lp64_target to check 64bit target.

13 years ago * syscalls.cc (rename): Limit retry loop in case of sharing violation
corinna [Fri, 10 Sep 2010 19:55:26 +0000 (19:55 +0000)]
* syscalls.cc (rename): Limit retry loop in case of sharing violation
to about a second.

13 years ago * syscalls.cc (fstatat): Call stat_worker directly from here.
corinna [Fri, 10 Sep 2010 18:51:43 +0000 (18:51 +0000)]
* syscalls.cc (fstatat): Call stat_worker directly from here.

13 years ago * hppa-tdep.c (unwind_command): Use host_address_to_string function
muller [Fri, 10 Sep 2010 16:17:11 +0000 (16:17 +0000)]
* hppa-tdep.c (unwind_command): Use host_address_to_string function
to display a host address.
* monitor.c (monitor_read_memory): Likewise.
* xtensa-tdep.c (xtensa_push_dummy_call): Likewise.

13 years ago * coffread.c (struct coff_symbol): Change c_value type from `long' to
muller [Fri, 10 Sep 2010 16:12:20 +0000 (16:12 +0000)]
* coffread.c (struct coff_symbol): Change c_value type from `long' to
`CORE_ADDRESS' as it might contain target addresses.

13 years ago * alpha-mdebug-tdep.c (find_proc_desc): Use SYMBOL_VALUE_BYTES macro
muller [Fri, 10 Sep 2010 16:04:58 +0000 (16:04 +0000)]
* alpha-mdebug-tdep.c (find_proc_desc): Use SYMBOL_VALUE_BYTES macro
before cast to pointer to avoid warning.

13 years ago * flock.cc (allow_others_to_sync): Define MAX_PROCESS_SD_SIZE. Use
corinna [Fri, 10 Sep 2010 14:53:43 +0000 (14:53 +0000)]
* flock.cc (allow_others_to_sync): Define MAX_PROCESS_SD_SIZE.  Use
instead of ACL_DEFAULT_SIZE.
* sec_acl.cc (setacl): Use TLS buffer to allow maximum ACL size.
* security.h (ACL_DEFAULT_SIZE): Drop definition.
(ACL_MAXIMUM_SIZE): Define.
(SD_MAXIMUM_SIZE): Define.
* security.cc (get_file_sd): Allocate security_decscriptor with size
SD_MAXIMUM_SIZE.
(alloc_sd): Use TLS buffer to allow maximum ACL size.

13 years ago * src/opcodes/dlx-dis.c (print_insn_dlx): Use dlx_insn type for
muller [Fri, 10 Sep 2010 13:00:54 +0000 (13:00 +0000)]
* src/opcodes/dlx-dis.c (print_insn_dlx): Use dlx_insn type for
dlx_insn_type array.

13 years ago * objcopy.c: Add --interleave-width option to allow interleaving
nickc [Fri, 10 Sep 2010 12:11:27 +0000 (12:11 +0000)]
    * objcopy.c: Add --interleave-width option to allow interleaving
        of more than one byte at a time.
        (copy_width): New variable.
        (copy_options): Add --interleave-width.
        (copy_section): When interleaving copy in units of copy_width
        bytes.
        (copy_main): Parse the new option.
        * doc/binutils: Document the new option.
        * NEWS: Mention the new feature.

        * binutils-all/objcopy.exp: Add test of new --interleave-width
        option.

13 years ago PR gold/11997
nickc [Fri, 10 Sep 2010 11:50:23 +0000 (11:50 +0000)]
    PR gold/11997
        * testsuite/memory_test.t: Discard any sections that are not
        needed.

13 years ago * mount.cc (class fs_info_cache): New class to cache filesystem
corinna [Fri, 10 Sep 2010 10:04:28 +0000 (10:04 +0000)]
* mount.cc (class fs_info_cache): New class to cache filesystem
information.
(fs_info::update): Check FileFsVolumeInformation against filesystem
cache and use it, if filesystem is already available.  Add filesystem
to cache, if not.  Only request FileFsObjectIdInformation if
FILE_SUPPORTS_OBJECT_IDS is set in filesystem flags.
* ntdll.h (struct _FILE_FS_VOLUME_INFORMATION): Add pragma pack so the
structure size is matching the OS expectations.  Add __dummy member
used in filesystem cache.

13 years ago * security.cc (get_file_sd): Add bool parameter justcreated. Use
corinna [Fri, 10 Sep 2010 09:32:12 +0000 (09:32 +0000)]
* security.cc (get_file_sd): Add bool parameter justcreated.  Use
GetSecurityInfo only if justcreated is true, NtQuerySecurityObject
otherwise.  Add comment to explain why.  Don't waste time to call
NtQuerySecurityObject twice, just allocate big enough area.
(get_file_attribute): Call get_file_sd with justcreated set to false.
(set_file_attribute): Call get_file_sd with justcreated depending on
S_JUSTCREATED pseudo file attribute.
(check_file_access): Call get_file_sd with justcreated set to false.
* sec_acl.cc (setacl): Ditto.
(getacl): Ditto.
* security.h: Convert many functions to regparm functions.
(get_file_sd): Declare with extra bool parameter.

13 years ago * fhandler_procsys.cc (fhandler_procsys::exists): Rearrange to handle
corinna [Fri, 10 Sep 2010 08:06:00 +0000 (08:06 +0000)]
* fhandler_procsys.cc (fhandler_procsys::exists): Rearrange to handle
dangling symlinks correctly.  Fix comments.
(fhandler_procsys::fill_filebuf): Remove useless comment.

13 years ago * ld-gc/abi-note.d: Exclude aout and oldld targets.
amodra [Fri, 10 Sep 2010 07:18:34 +0000 (07:18 +0000)]
* ld-gc/abi-note.d: Exclude aout and oldld targets.
* ld-gc/start.d: Likewise.
* ld-scripts/section-match-1.d: Likewise, and tic30.

13 years ago PR ld/11931
amodra [Fri, 10 Sep 2010 01:23:12 +0000 (01:23 +0000)]
PR ld/11931
* ldlang.h (lang_for_each_statement_worker): Declare.
* ldlang.c (lang_for_each_statement_worker): Make global.  Don't
recurse into children of output_section_statement with constraint
set to -1.
(print_assignment): Handle NULL output_section->bfd_section.
(lang_size_sections_1): Ignore output section statement address
when constraint is -1.
* emultempl/xtensaelf.em (lang_for_each_statement_worker): Delete.

13 years ago * ld-scripts/rgn-at5.d: Restrict to *-*-linux*.
hp [Fri, 10 Sep 2010 01:00:28 +0000 (01:00 +0000)]
* ld-scripts/rgn-at5.d: Restrict to *-*-linux*.

13 years ago*** empty log message ***
gdbadmin [Fri, 10 Sep 2010 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

13 years agodaily update
amodra [Fri, 10 Sep 2010 00:00:05 +0000 (00:00 +0000)]
daily update

13 years ago * v850-tdep.c (v850_gdbarch_init): Change the v850's `char'
kevinb [Thu, 9 Sep 2010 23:04:46 +0000 (23:04 +0000)]
* v850-tdep.c (v850_gdbarch_init): Change the v850's `char'
type to be signed.

13 years agoCheck VEXW1 for 2-byte VEX prefix.
hjl [Thu, 9 Sep 2010 21:12:37 +0000 (21:12 +0000)]
Check VEXW1 for 2-byte VEX prefix.

2010-09-09  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (build_vex_prefix): Check VEXW1 for 2-byte
VEX prefix.

13 years ago * doc/c-tic6x.texi (.c6xabi_attribute): Document directive.
jsm28 [Thu, 9 Sep 2010 20:56:12 +0000 (20:56 +0000)]
* doc/c-tic6x.texi (.c6xabi_attribute): Document directive.

13 years agogdb/testsuite/
jkratoch [Thu, 9 Sep 2010 20:00:48 +0000 (20:00 +0000)]
gdb/testsuite/
* gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
(test_ld) <powerpc64-*>: New.

13 years agoSupport building gold with gcc 4.2/4.3.
hjl [Thu, 9 Sep 2010 19:57:05 +0000 (19:57 +0000)]
Support building gold with gcc 4.2/4.3.

2010-09-09  H.J. Lu  <hongjiu.lu@intel.com>

PR gold/11996
* object.cc (Sized_relobj::do_finalize_local_symbols): Remove
"This::" to work around a bug in gcc 4.2.

* testsuite/ifuncmain7.c (foo_ifunc): Add __attribute__ ((used)).

13 years agoDon't warn zero LMA adjustment.
hjl [Thu, 9 Sep 2010 19:22:25 +0000 (19:22 +0000)]
Don't warn zero LMA adjustment.

bfd/

2010-09-09  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/11998
* elf.c (assign_file_positions_for_load_sections): Don't warn
zero LMA adjustment.

ld/testsuite/

2010-09-09  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/11998
* ld-scripts/rgn-at5.d: New.
* ld-scripts/rgn-at5.s: Likewise.
* ld-scripts/rgn-at5.t: Likewise.

13 years agomerge from gcc
dj [Thu, 9 Sep 2010 17:39:47 +0000 (17:39 +0000)]
merge from gcc

13 years agoAdd missing ChangeLog entries.
hjl [Thu, 9 Sep 2010 16:54:53 +0000 (16:54 +0000)]
Add missing ChangeLog entries.

13 years ago * dwarf2read.c (fixup_partial_die): Do not set dummy name for
uweigand [Thu, 9 Sep 2010 16:42:39 +0000 (16:42 +0000)]
* dwarf2read.c (fixup_partial_die): Do not set dummy name for
anonymous class partial DIEs.

13 years ago * dwarf2read.c (fixup_partial_die): Do not set dummy name for
uweigand [Thu, 9 Sep 2010 16:42:07 +0000 (16:42 +0000)]
* dwarf2read.c (fixup_partial_die): Do not set dummy name for
anonymous class partial DIEs.

13 years ago2010-09-09 Rafael Espindola <espindola@google.com>
espindola [Thu, 9 Sep 2010 15:29:00 +0000 (15:29 +0000)]
2010-09-09  Rafael Espindola  <espindola@google.com>

* layout.cc (Layout::attach_allocated_section_to_segment): Don't put
sections with different PF_X flags in the same segment.
(Layout::find_first_load_seg): Search all segments to find the first
one.
* options.h (rosegment): New.

13 years ago * libc/sys/sysnecv850/Makefile.am (lib_a_SOURCES): Provide an
kevinb [Thu, 9 Sep 2010 14:54:23 +0000 (14:54 +0000)]
* libc/sys/sysnecv850/Makefile.am (lib_a_SOURCES): Provide an
empty definition.
* libc/sys/sysnecv850/Makefile: Regenerate.

13 years ago * configure.ac: Add --enable-inprocess-agent option.
nathan [Thu, 9 Sep 2010 13:16:38 +0000 (13:16 +0000)]
* configure.ac: Add --enable-inprocess-agent option.
* configure: Rebuilt.

13 years ago * dwarf.c (decode_location_expression): Fix data adjustment
jakub [Thu, 9 Sep 2010 12:08:59 +0000 (12:08 +0000)]
* dwarf.c (decode_location_expression): Fix data adjustment
for DW_OP_GNU_implicit_pointer in v3+.

13 years ago * gas/config/tc-arm.c (arm_cpus): Add cortex-a15 entry.
mgretton [Thu, 9 Sep 2010 12:08:12 +0000 (12:08 +0000)]
* gas/config/tc-arm.c (arm_cpus): Add cortex-a15 entry.
* gas/doc/c-arm.texi: Document -mcpu=cortex-a15.

13 years ago * gas/config/tc-m68k.c (tc_gen_reloc): Handle references to defined
nickc [Thu, 9 Sep 2010 10:48:15 +0000 (10:48 +0000)]
    * gas/config/tc-m68k.c (tc_gen_reloc): Handle references to defined
        weak symbols first if generating an a.out object.

13 years agobinutils/
gingold [Thu, 9 Sep 2010 10:46:31 +0000 (10:46 +0000)]
binutils/
2010-09-09  Tristan Gingold  <gingold@adacore.com>

* NEWS: Add entry to NEWS for hppa/som.

ld/
2010-09-09  Tristan Gingold  <gingold@adacore.com>

* NEWS: Add a entry for alpha-vms.

13 years agoFix PR number in previous delta.
nickc [Thu, 9 Sep 2010 10:40:53 +0000 (10:40 +0000)]
Fix PR number in previous delta.

13 years ago PR gas/11931
nickc [Thu, 9 Sep 2010 10:37:46 +0000 (10:37 +0000)]
    PR gas/11931
        * gas/mn10300/pr11931.s: New file: Test case.
        * gas/mn10300/pr11931.d: New file: Expected output.
        * gas/mn10300/basic.exp: Run the new test.

13 years ago * dwarf.h (debug_info): Add offset_info and dwarf_version fields.
jakub [Thu, 9 Sep 2010 10:18:11 +0000 (10:18 +0000)]
* dwarf.h (debug_info): Add offset_info and dwarf_version fields.
* dwarf.c (decode_location_expression): Add offset_size and
dwarf_version arguments.  Prefix DIE offset with 0x for
DW_OP_call{2,4,_ref}.  Fix up DW_OP_call_ref operand size,
complain if in frame info section.  Handle
DW_OP_GNU_implicit_pointer.
(read_and_display_attr_value, display_debug_loc,
display_debug_frames): Adjust decode_location_expression callers.
(process_debug_info): Save offset_size and dwarf_version values
into debug_information array.

* dwarf2.h (DW_OP_GNU_implicit_pointer): New.

13 years ago * elflink.c (bfd_elf_final_link): Correct calculation of
bernds [Thu, 9 Sep 2010 09:55:00 +0000 (09:55 +0000)]
* elflink.c (bfd_elf_final_link): Correct calculation of
max_external_reloc_size.

13 years ago * config/tc-arm.c (md_apply_fix): Check if widened add, sub are
nickc [Thu, 9 Sep 2010 09:09:40 +0000 (09:09 +0000)]
    * config/tc-arm.c (md_apply_fix): Check if widened add, sub are
        flag-setting and handle accordingly.

        * gas/arm/addsw-bad.s: New file.
        * gas/arm/addsw-bad.l: New file.
        * gas/arm/addsw-bad.d: New file.

13 years ago PR gas/11972
nickc [Thu, 9 Sep 2010 07:40:09 +0000 (07:40 +0000)]
    PR gas/11972
        * config/tc-arm.c (parse_big_immediate): Allow for bignums being
        extended to the size of a .octa.

13 years ago2010-09-03 Rafael Espindola <espindola@google.com>
espindola [Thu, 9 Sep 2010 00:13:07 +0000 (00:13 +0000)]
2010-09-03  Rafael Espindola  <espindola@google.com>

      * layout.cc (Layout::set_segment_offsets): Always advance to a new page.

13 years ago*** empty log message ***
gdbadmin [Thu, 9 Sep 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

13 years agodaily update
amodra [Thu, 9 Sep 2010 00:00:04 +0000 (00:00 +0000)]
daily update

13 years ago2010-09-08 Doug Kwan <dougkwan@google.com>
dougkwan [Wed, 8 Sep 2010 23:54:51 +0000 (23:54 +0000)]
2010-09-08  Doug Kwan  <dougkwan@google.com>

* arm.cc (Arm_exidx_cantunwind::do_print_to_mapfile): New method.
(Arm_relobj::do_relocate_sections): Add new parameter for output
file to match the parent.
(Target_arm::scan_reloc_section_for_stubs): Use would-be final values
of local symbols instead of input values.  Update code to track
changes in gold::relocate_section.
* object.cc (Sized_relobj::compute_final_local_value): New methods.
(Sized_relobj::compute_final_local_value_internal): New methods.
(Sized_relobj::do_finalize_local_symbols): Move code from loop
body into private version of Sized_relobj::compute_final_local_value.
Call the inline method.
* object.h (Symbol_value::Symbol_value): Define destructor.  Free
merged symbol value if there is one.
(Symbol_value::has_output_value): New method defintiion.
(Sized_relobj::Compute_final_local_value_status): New enum type.
(Sized_relobj::compute_final_local_value): New methods.
(Sized_relobj::compute_final_local_value_internal): New methods.
* Makefile.am (check_SCRIPTS): Add arm_branch_out_of_range.sh
and arm_cortex_a8.sh.
(thumb_bl_out_of_range_local, arm_cortex_a8_b_cond, arm_cortex_a8_bl,
arm_cortex_a8_blx, arm_cortex_a8_local, arm_corte_a8_local_reloc):
New tests.
* Makefile.in: Regenerate.
* testsuite/arm_bl_out_of_range.s: Update test.
* testsuite/thumb_bl_out_of_range.s: Ditto.
* testsuite/thumb_blx_out_of_range.s: Ditto.
* testsuite/arm_branch_out_of_range.sh: New file.
* testsuite/arm_cortex_a8.sh: Ditto.
* testsuite/arm_cortex_a8_b.s: Ditto.
* testsuite/arm_cortex_a8_b_cond.s: Ditto.
* testsuite/arm_cortex_a8_b_local.s: Ditto.
* testsuite/arm_cortex_a8_bl.s: Ditto.
* testsuite/arm_cortex_a8_blx.s: Ditto.
* testsuite/arm_cortex_a8_local.s: Ditto.
* testsuite/arm_cortex_a8_local_reloc.s: Ditto.
* testsuite/thumb_bl_out_of_range_local.s: Ditto.

13 years ago * gdb.cp/templates.exp (test_template_args): Allow "struct".
drow [Wed, 8 Sep 2010 23:41:39 +0000 (23:41 +0000)]
* gdb.cp/templates.exp (test_template_args): Allow "struct".

13 years ago * dwarf2read.c (dwarf2_compute_name): Check that the first
drow [Wed, 8 Sep 2010 23:34:11 +0000 (23:34 +0000)]
* dwarf2read.c (dwarf2_compute_name): Check that the first
argument is a pointer.

13 years ago * dwarf2read.c (read_func_scope, read_structure_type)
drow [Wed, 8 Sep 2010 23:14:52 +0000 (23:14 +0000)]
* dwarf2read.c (read_func_scope, read_structure_type)
(read_common_block): Check for a NULL return from new_symbol.

13 years ago2010-09-08 Rafael Espindola <espindola@google.com>
espindola [Wed, 8 Sep 2010 21:06:53 +0000 (21:06 +0000)]
2010-09-08  Rafael Espindola  <espindola@google.com>

* Makefile.am (memory_test.stdout): Run readelf with -W
* Makefile.in: Regenerate.
* testsuite/memory_test.sh: Make the regexps accept both 32 and 64 bit outputs.

13 years ago2010-09-08 Rafael Espindola <espindola@google.com>
espindola [Wed, 8 Sep 2010 20:08:14 +0000 (20:08 +0000)]
2010-09-08  Rafael Espindola  <espindola@google.com>

* script-sections.cc (Script_sections::add_memory_region): Convert
field precision to int.
* script.cc (script_set_section_region, script_set_section_region):
Convert field precision to int.

13 years agogdb/
jkratoch [Wed, 8 Sep 2010 19:49:28 +0000 (19:49 +0000)]
gdb/
* dwarf2read.c (dwarf2_read_index): Return on no SEC_HAS_CONTENTS.

13 years ago gdb/
drow [Wed, 8 Sep 2010 19:09:42 +0000 (19:09 +0000)]
gdb/
* dwarf2read.c (read_structure_type): Move processing of
fields and member functions from here...
(process_structure_scope): ... to here.

gdb/testsuite/
* gdb.cp/templates.cc (Empty, FunctionArg): New classes.
(FunctionArg::method): New function.
(empty, arg): New variables.
(main): Call arg.method.
* gdb.cp/templates.exp (test_template_args): New function.
(do_tests): Call it.

13 years ago * gnu-v3-abi.c (gnuv3_print_method_ptr): Do not use
drow [Wed, 8 Sep 2010 18:53:33 +0000 (18:53 +0000)]
* gnu-v3-abi.c (gnuv3_print_method_ptr): Do not use
the domain type.
(gnuv3_make_method_ptr): Likewise.

13 years ago2010-09-08 Rafael Espindola <espindola@google.com>
espindola [Wed, 8 Sep 2010 18:31:34 +0000 (18:31 +0000)]
2010-09-08  Rafael Espindola  <espindola@google.com>

* arm.cc (do_finalize_sections): Create the __exidx_start and
__exdix_end symbols even when the section is missing.

13 years ago * breakpoint.c (create_breakpoint): Add missing _().
tromey [Wed, 8 Sep 2010 18:05:39 +0000 (18:05 +0000)]
* breakpoint.c (create_breakpoint): Add missing _().

13 years ago * dwarf2-frame.h (dwarf2_frame_build_info): Delete, unused.
devans [Wed, 8 Sep 2010 17:52:48 +0000 (17:52 +0000)]
* dwarf2-frame.h (dwarf2_frame_build_info): Delete, unused.

13 years ago * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
uweigand [Wed, 8 Sep 2010 17:49:53 +0000 (17:49 +0000)]
* gdb.threads/threxit-hop-specific.exp: Use "continue" instead
of "next" to proceed over pthread_exit call.

13 years ago * config/tc-arm.c (create_neon_reg_alias): Deal with case
nathan [Wed, 8 Sep 2010 17:49:19 +0000 (17:49 +0000)]
* config/tc-arm.c (create_neon_reg_alias): Deal with case
sensitivity.