OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
16 years agodaily update
amodra [Fri, 17 Aug 2007 00:00:06 +0000 (00:00 +0000)]
daily update

16 years agobfd/
hjl [Thu, 16 Aug 2007 18:49:41 +0000 (18:49 +0000)]
bfd/

2007-08-16  H.J. Lu  <hongjiu.lu@intel.com>

* elf.c: Revert last change.

binutils/

2007-08-16  H.J. Lu  <hongjiu.lu@intel.com>

* readelf.c: Revert last change.

include/elf/

2007-08-16  H.J. Lu  <hongjiu.lu@intel.com>

* common.h: Revert last change.

16 years ago * fhandler_disk_file.cc (fhandler_disk_file::fchmod): Handle S_IFSOCK
corinna [Thu, 16 Aug 2007 16:59:23 +0000 (16:59 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fchmod): Handle S_IFSOCK
mode bit by setting the SYSTEM attribute.
* fhandler_socket.cc (fhandler_socket::fchmod): Add S_IFSOCK mode bit
when calling fhandler_disk_file::fchmod.  Don't set attributes here.

16 years ago * path.h (path_conv::operator char *): Delete.
corinna [Thu, 16 Aug 2007 15:07:40 +0000 (15:07 +0000)]
* path.h (path_conv::operator char *): Delete.
(path_conv::operator const char *): Delete.
* dlfcn.cc: Throughout, replace path_conv::operator char * and
path_conv::operator const char * by call to path_conv::get_win32
for easier transition to UNICODE_PATHs.
* fhandler_socket.cc: Ditto.
* hookapi.cc: Ditto.
* path.cc: Ditto.
* spawn.cc: Ditto.
* syscalls.cc: Ditto.
* uinfo.cc: Ditto.

16 years agoevent-loop.c (gdb_wait_for_event): Move statement into if block.
msnyder [Thu, 16 Aug 2007 14:51:22 +0000 (14:51 +0000)]
event-loop.c (gdb_wait_for_event): Move statement into if block.

16 years ago * dir.cc (readdir_worker): Convert w32name to PUNICODE_STRING.
corinna [Thu, 16 Aug 2007 14:46:23 +0000 (14:46 +0000)]
* dir.cc (readdir_worker): Convert w32name to PUNICODE_STRING.
* sec_acl.cc (getacl): Convert debug output to print native NT path.
* security.cc (set_file_attribute): Ditto.
* syscalls.cc (try_to_bin): Ditto and fix buggy debug statement.

16 years ago * ntdll.h (RtlAcquirePebLock): Declare.
corinna [Thu, 16 Aug 2007 14:30:53 +0000 (14:30 +0000)]
* ntdll.h (RtlAcquirePebLock): Declare.
(RtlReleasePebLock): Declare.
* path.cc (cwdstuff::set): Change PEB only while it's locked.

16 years ago * fhandler.h (fhandler_base::get_namehash): Use NT native path.
corinna [Thu, 16 Aug 2007 14:10:04 +0000 (14:10 +0000)]
* fhandler.h (fhandler_base::get_namehash): Use NT native path.
* fhandler_disk_file.cc (readdir_get_ino): Ditto in call to
hash_path_name.

16 years ago * ld-srec/srec.exp: Always pass "-G 0". Remove all powerpc
amodra [Thu, 16 Aug 2007 13:51:26 +0000 (13:51 +0000)]
* ld-srec/srec.exp: Always pass "-G 0".  Remove all powerpc
xfails.

16 years agobfd/
hjl [Thu, 16 Aug 2007 13:38:06 +0000 (13:38 +0000)]
bfd/

2007-08-16  H.J. Lu  <hongjiu.lu@intel.com>

* elf.c (get_segment_type): Change PT_GNU_STACK to PT_GNU_ATTR.
(bfd_section_from_phdr): Likewise.
(get_program_header_size): Likewise. Add a PT_GNU_ATTR segment
if there is an attribute section.
(_bfd_elf_map_sections_to_segments): Likewise.
(IS_SECTION_IN_INPUT_SEGMENT): Likewise.

binutils/

2007-08-16  H.J. Lu  <hongjiu.lu@intel.com>

* readelf.c (get_segment_type): Change PT_GNU_STACK to
PT_GNU_ATTR.

include/elf/

2007-08-16  H.J. Lu  <hongjiu.lu@intel.com>

* common.h (PT_GNU_STACK): Renamed to ...
(PT_GNU_ATTR): This.
(PT_GNU_STACK): New.  Make an alias of PT_GNU_ATTR.

16 years ago * ntdll.h (RtlCreateUnicodeStringFromAsciiz): Fix declaration.
corinna [Thu, 16 Aug 2007 10:41:45 +0000 (10:41 +0000)]
* ntdll.h (RtlCreateUnicodeStringFromAsciiz): Fix declaration.
(RtlUpcaseUnicodeChar): Declare.
* path.cc (hash_path_name): Split into three functions, taking
the path as char *, PWCSTR, or PUNICODE_STRING.  Move implementation
into PUNICODE_STRING-based function.  Drop old drive-relative path
consideration.
* winsup.h (iswdirsep): Like isdirsep but for WCHARs.
(isabspath_u): Like isabspath, for PUNICODE_STRINGs.
(iswabspath): Like isabspath, for PWCHARs.
(hash_path_name): Add new declarations.

16 years agodaily update
amodra [Thu, 16 Aug 2007 00:00:06 +0000 (00:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Thu, 16 Aug 2007 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago * ada-lang.c (resolve_subexp): Correct arity of binary operators.
brobecke [Wed, 15 Aug 2007 18:43:14 +0000 (18:43 +0000)]
    * ada-lang.c (resolve_subexp): Correct arity of binary operators.

16 years ago * ada-lang.c (possible_user_operator_p): Alternative fix to last
brobecke [Wed, 15 Aug 2007 18:36:37 +0000 (18:36 +0000)]
    * ada-lang.c (possible_user_operator_p): Alternative fix to last
        checkin guarding against NULL.

16 years ago * path.cc (get_nt_native_path): Allow to convert special paths which
corinna [Wed, 15 Aug 2007 16:27:08 +0000 (16:27 +0000)]
* path.cc (get_nt_native_path): Allow to convert special paths which
have no native NT path representation for simplified debug output.
* syscalls.cc: Convert debug output to print native NT path.
(unlink): Drop redundant debug output.

16 years ago * fhandler_disk_file.cc (fhandler_disk_file::link): Drop superfluous
corinna [Wed, 15 Aug 2007 15:31:18 +0000 (15:31 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::link): Drop superfluous
test for trailing dot.
* path.h (path_conv::operator []): Remove.

16 years ago * fhandler_socket.cc (get_inet_addr): Use NT native functions for
corinna [Wed, 15 Aug 2007 15:17:04 +0000 (15:17 +0000)]
* fhandler_socket.cc (get_inet_addr): Use NT native functions for
accessing the file representing the local socket.
(fhandler_socket::bind): Ditto.
* ntdll.h: Declare NtReadFile.

16 years ago PR 4923
amodra [Wed, 15 Aug 2007 06:03:11 +0000 (06:03 +0000)]
PR 4923
* emultempl/elf32.em (after_open): Return immediately when
        non-ELF output.

16 years ago2007-08-14 Michael Snyder <msnyder@access-company.com>
msnyder [Wed, 15 Aug 2007 00:19:43 +0000 (00:19 +0000)]
2007-08-14  Michael Snyder  <msnyder@access-company.com>

* tui-command.c, tui-data.c, tui-disasm.c, tui-file.c, tui-io.c,
tui-layout.c, tui-regs.c, tui-source.c, tui-win.c, tui-windata.c,
tui-wingeneral.c, tui-winsource.c: Coding standard, && and ||
go at beginning of new line.

16 years agodaily update
amodra [Wed, 15 Aug 2007 00:00:06 +0000 (00:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Wed, 15 Aug 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago2007-08-14 Michael Snyder <msnyder@access-company.com>
msnyder [Tue, 14 Aug 2007 23:50:39 +0000 (23:50 +0000)]
2007-08-14  Michael Snyder  <msnyder@access-company.com>

* tui-data.c, tui-data.h, tui-disasm.c, tui-disasm.h, tui-hooks.c,
tui-io.c, tui-layout.c, tui-layout.h, tui-out.c, tui-regs.c,
tui-source.c, tui-source.h, tui-stack.c, tui-win.c, tui-win.h,
tui-windata.c, tui-windata.h, tui-wingeneral.c, tui-winsource.c,
tui-winsource.h, tui.c, tui.h: Function declarations and
definitions, wrap long lines.

16 years ago2007-08-14 Michael Snyder <msnyder@access-company.com>
msnyder [Tue, 14 Aug 2007 21:39:22 +0000 (21:39 +0000)]
2007-08-14  Michael Snyder  <msnyder@access-company.com>

* tui-command.c, tui-data.c, tui-disasm.c, tui-layout.c,
tui-regs.c, tui-win.c, tui-windata.c, tui-winsource.c, tui.c:
Reformat block comments to GNU standard.

16 years ago2007-08-14 Michael Snyder <msnyder@access-company.com>
msnyder [Tue, 14 Aug 2007 21:20:09 +0000 (21:20 +0000)]
2007-08-14  Michael Snyder  <msnyder@access-company.com>

* tui-command.c, tui-data.c, tui-data.h, tui-disasm.c, tui-file.c,
tui-hooks.c, tui-interp.c, tui-io.c, tui-layout.c, tui-out.c,
tui-regs.c, tui-regs.h, tui-source.c, tui-stack.c, tui-win.c,
tui-windata.c, tui-wingeneral.c, tui-winsource.c, tui-winsource.h,
tui.c, tui.h: Comment reformatting to coding standard (capitals,
spaces after periods, etc).

16 years ago2007-08-14 Michael Snyder <msnyder@access-company.com>
msnyder [Tue, 14 Aug 2007 21:19:59 +0000 (21:19 +0000)]
2007-08-14  Michael Snyder  <msnyder@access-company.com>

* tui-command.c, tui-data.c, tui-data.h, tui-disasm.c, tui-file.c,
tui-hooks.c, tui-interp.c, tui-io.c, tui-layout.c, tui-out.c,
tui-regs.c, tui-regs.h, tui-source.c, tui-stack.c, tui-win.c,
tui-windata.c, tui-wingeneral.c, tui-winsource.c, tui-winsource.h,
tui.c, tui.h: Comment reformatting to coding standard (capitals,
spaces after periods, etc).

16 years ago2007-08-14 Michael Snyder <msnyder@access-company.com>
msnyder [Tue, 14 Aug 2007 20:23:28 +0000 (20:23 +0000)]
2007-08-14  Michael Snyder  <msnyder@access-company.com>

* tui-data.c, tui-data.h, tui-disasm.c, tui-hooks.c, tui-layout.c,
tui-regs.c, tui-source.c, tui-stack.c, tui-win.c, tui-windata.c,
tui-wingeneral.c, tui-wingeneral.h, tui-winsource.c, tui.c,
tui-winsource.h: Whitespace changes, fix pointer declarations
to be consistant.

16 years ago * ada-lang.c (field_alignment): Guard against NULL.
brobecke [Tue, 14 Aug 2007 20:16:16 +0000 (20:16 +0000)]
    * ada-lang.c (field_alignment): Guard against NULL.

16 years ago * MAINTAINERS (Global Maintainers): Add self.
brobecke [Tue, 14 Aug 2007 20:10:47 +0000 (20:10 +0000)]
    * MAINTAINERS (Global Maintainers): Add self.

16 years ago2007-08-14 Michael Snyder <msnyder@access-company.com>
msnyder [Tue, 14 Aug 2007 19:51:31 +0000 (19:51 +0000)]
2007-08-14  Michael Snyder  <msnyder@access-company.com>

* mi/mi-interp.c (mi_cmd_interpreter_exec): Dead code, dead variable.

16 years agobfd/
hjl [Tue, 14 Aug 2007 19:48:20 +0000 (19:48 +0000)]
bfd/

2007-08-14  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/4918
* elf32-i386.c (elf_i386_relocate_section): Allow R_386_PC32
on ___tls_get_addr for GD->LE/LD->LE transitions when not
building shared library.

* elf64-x86-64.c (elf64_x86_64_relocate_section): Allow
R_X86_64_PC32 on __tls_get_addr for GD->LE/LD->LE transitions
when not building shared library.

ld/testsuite/

2007-08-14  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/4918
* ld-i386/i386.exp (i386tests): Add tlsgd1 and tlsld1 tests.
* ld-x86-64/x86-64.exp (x86_64tests): Likewise.

* ld-i386/tlsgd1.dd: New file.
* ld-i386/tlsgd1.s: Likewise.
* ld-i386/tlsld1.dd: Likewise.
* ld-i386/tlsld1.s: Likewise.
* ld-x86-64/tlsgd1.dd: Likewise.
* ld-x86-64/tlsgd1.s: Likewise.
* ld-x86-64/tlsld1.dd: Likewise.
* ld-x86-64/tlsld1.s: Likewise.

16 years ago2007-08-14 Michael Snyder <msnyder@access-company.com>
msnyder [Tue, 14 Aug 2007 18:32:45 +0000 (18:32 +0000)]
2007-08-14  Michael Snyder  <msnyder@access-company.com>

* ada-lang.c (possible_user_operator_p): Guard against NULL.

16 years ago2007-08-14 Michael Snyder <msnyder@access-company.com>
msnyder [Tue, 14 Aug 2007 18:26:45 +0000 (18:26 +0000)]
2007-08-14  Michael Snyder  <msnyder@access-company.com>

* varobj.c (cplus_describe_child): Guard against null.
Use "NULL" instead of "0" to initialize pointers.

16 years ago * path.cc (symlink_info::check): In case of ERROR_SHARING_VIOLATION and
corinna [Tue, 14 Aug 2007 16:19:13 +0000 (16:19 +0000)]
* path.cc (symlink_info::check): In case of ERROR_SHARING_VIOLATION and
ERROR_ACCESS_DENIED, try to get file attributes by using directory
functions.

16 years ago * path.cc (fs_info::update): Correctly handle the volume root directory.
corinna [Tue, 14 Aug 2007 15:54:45 +0000 (15:54 +0000)]
* path.cc (fs_info::update): Correctly handle the volume root directory.

16 years ago * arm-tdep.c (arm_gdbarch_init): Allow unknown ABI and FPU settings
drow [Tue, 14 Aug 2007 15:46:59 +0000 (15:46 +0000)]
* arm-tdep.c (arm_gdbarch_init): Allow unknown ABI and FPU settings
to match any gdbarch with matching OSABI.  Set default ABI and FPU
after running the OSABI handler.

16 years ago * fhandler.h (fhandler_base::pc): Make public.
corinna [Tue, 14 Aug 2007 14:48:52 +0000 (14:48 +0000)]
* fhandler.h (fhandler_base::pc): Make public.
* fhandler_disk_file.cc (fhandler_disk_file::link): Drop extern
declaration of stat_suffixes.  Use NT native path in debug output.
(fhandler_base::utimes_fs): Simplify closeit case.  Use close_fs
to close newly opened file handle.
(fhandler_base::open_fs): Use NT native path in debug output.
* path.cc: Throughout drop extern declaration of stat_suffixes.
* path.h (stat_suffixes): Declare.
* sec_acl.cc (acl_worker): Drop extern declaration of stat_suffixes.
* times.cc (utimes_worker): Take path_conv as parameter instead of
single-byte pathnam, drop nofollow argument, accommodate throughout.
Compare UNICODE paths when enumerating file descriptors.  Fix
formatting.  Use NT native path in debug output.

16 years ago * config/i386/linux.mh (NATDEPFILES): Move corelow.o from here...
drow [Tue, 14 Aug 2007 12:51:57 +0000 (12:51 +0000)]
* config/i386/linux.mh (NATDEPFILES): Move corelow.o from here...
* config/i386/linux.mt (TDEPFILES): ...to here.

16 years agoFix changelog formatting
vprus [Tue, 14 Aug 2007 11:18:56 +0000 (11:18 +0000)]
Fix changelog formatting

16 years ago gdb/
vprus [Tue, 14 Aug 2007 11:09:45 +0000 (11:09 +0000)]
gdb/
* breakpoint.c (disable_breakpoints_in_shlibs): Remove
the 'silent' parameter and code to implement that.
* breakpoint.h (disable_breakpoints_in_shlibs): Adjust
prototype.
* win32-nat.c: Adjust.
* solib.c: Adjust.

16 years ago gdb/
vprus [Tue, 14 Aug 2007 11:09:36 +0000 (11:09 +0000)]
gdb/
* breakpoint.c (disable_breakpoints_in_shlibs): Remove
the 'silent' parameter and code to implement that.
* breakpoint.h (disable_breakpoints_in_shlibs): Adjust
prototype.
* win32-nat.c: Adjust.
* solib.c: Adjust.

16 years ago * config/tc-ia64.c (tc_gen_reloc): Return NULL if relocation is
schwab [Tue, 14 Aug 2007 10:44:12 +0000 (10:44 +0000)]
* config/tc-ia64.c (tc_gen_reloc): Return NULL if relocation is
unrepresentable.

16 years ago * config/tc-ia64.c (tc_gen_reloc): Return NULL if relocation is
schwab [Tue, 14 Aug 2007 10:43:41 +0000 (10:43 +0000)]
* config/tc-ia64.c (tc_gen_reloc): Return NULL if relocation is
unrepresentable.

16 years ago gdb/
vprus [Tue, 14 Aug 2007 08:11:45 +0000 (08:11 +0000)]
    gdb/
        * breakpoint.c (update_breakpoints_after_exec): Don't
        set address to zero.

16 years ago2007-08-14 Jan Kratochvil <jan.kratochvil@redhat.com>
jkratoch [Tue, 14 Aug 2007 08:04:47 +0000 (08:04 +0000)]
2007-08-14  Jan Kratochvil  <jan.kratochvil@redhat.com>

* elfcode.h (NAME(_bfd_elf,bfd_from_remote_memory)): LOADBASE is now
initialized only on the first PT_LOAD.  New variable LOADBASE_SET.
Removed PF_R checking for IA-64 vDSOs as redundant now.
Code advisory: Roland McGrath

16 years ago2007-08-13 Michael Snyder <msnyder@access-company.com>
msnyder [Tue, 14 Aug 2007 00:31:35 +0000 (00:31 +0000)]
2007-08-13  Michael Snyder  <msnyder@access-company.com>

* valops.c: Whitespace clean-up.

16 years ago*** empty log message ***
gdbadmin [Tue, 14 Aug 2007 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Tue, 14 Aug 2007 00:00:06 +0000 (00:00 +0000)]
daily update

16 years ago2007-08-13 Michael Snyder <msnyder@access-company.com>
msnyder [Mon, 13 Aug 2007 23:06:33 +0000 (23:06 +0000)]
2007-08-13  Michael Snyder  <msnyder@access-company.com>

* tui/tui-winsource.c (tui_alloc_source_buffer): Clean up allocation.

16 years ago2007-08-13 Michael Snyder <msnyder@access-company.com>
msnyder [Mon, 13 Aug 2007 23:02:08 +0000 (23:02 +0000)]
2007-08-13  Michael Snyder  <msnyder@access-company.com>

* event-top.c (command_line_handler): Memory leak.

16 years ago2007-08-13 Michael Snyder <msnyder@access-company.com>
msnyder [Mon, 13 Aug 2007 22:57:39 +0000 (22:57 +0000)]
2007-08-13  Michael Snyder  <msnyder@access-company.com>

* mi/mi-cmd-var.c (mi_cmd_var_set_format): Memory leak.
No need to make copy.

16 years ago2007-08-13 Michael Snyder <msnyder@access-company.com>
msnyder [Mon, 13 Aug 2007 22:25:12 +0000 (22:25 +0000)]
2007-08-13  Michael Snyder  <msnyder@access-company.com>

* source.c (find_source_lines): Require symtab 's'.

16 years agobfd/
rsandifo [Mon, 13 Aug 2007 21:16:36 +0000 (21:16 +0000)]
bfd/
* elfxx-mips.c (mips_elf_link_hash_table): Add computed_got_sizes.
(mips_elf_record_global_got_symbol): Increment local_gotno for
each forced-local symbol.
(_bfd_mips_elf_check_relocs): Pass forced-local call symbols to
mips_elf_record_global_got_symbol for VxWorks too.
(_bfd_mips_elf_always_size_sections): Set computed_got_sizes
to true after computing the GOT size.
(_bfd_mips_elf_hide_symbol): Increase local_gotno whenever
got.offset == 1.  Only adjust global_gotno if computed_got_sizes.
For VxWorks, add a local entry when hiding a symbol that needs a
plt but has not been marked as needing a global got entry.
(_bfd_mips_elf_link_hash_table_create): Set computed_got_sizes to
false.

ld/testsuite/
* ld-mips-elf/vxworks-forced-local-1.d,
* ld-mips-elf/vxworks-forced-local-1.s,
* ld-mips-elf/vxworks-forced-local-1.ver: New test.
* ld-mips-elf/mips-elf.exp: Run it.
* ld-mips-elf/tlsdyn-o32-2.d: Adjust for removal of unnecessary
local GOT entry.
* ld-mips-elf/tlsdyn-o32-2.got: Likewise.
* ld-mips-elf/tlsdyn-o32-3.d: Likewise.
* ld-mips-elf/tlsdyn-o32-3.got: Likewise.
* ld-mips-elf/vxworks1-lib.dd: Likewise.
* ld-mips-elf/vxworks1-lib.rd: Likewise.

16 years ago * mmap.cc: Call NtClose instead of CloseHandle throughout.
corinna [Mon, 13 Aug 2007 19:44:30 +0000 (19:44 +0000)]
* mmap.cc: Call NtClose instead of CloseHandle throughout.
(CreateMapping): Drop unused last argument.  Accommodate throughout.
(mmap64): Re-open file with execute permissions using NtOpenFile.

16 years ago * fhandler.h (fhandler_base::close_fs): Reintroduce (as inline function)
corinna [Mon, 13 Aug 2007 19:15:46 +0000 (19:15 +0000)]
* fhandler.h (fhandler_base::close_fs): Reintroduce (as inline function)
for clearness.
* fhandler_disk_file.cc (fhandler_base::fstat_fs): Revert previous
change.
(fhandler_base::open_fs): Ditto.
* fhandler_socket.cc (fhandler_socket::close): Ditto.

16 years ago2007-08-13 Carlos O'Donell <carlos@codesourcery.com>
jjohnstn [Mon, 13 Aug 2007 18:13:36 +0000 (18:13 +0000)]
2007-08-13  Carlos O'Donell  <carlos@codesourcery.com>

* arm/crt0.S: Remove '.set' for __stack, hardware_init_hook,
and software_init_hook.

16 years ago * Makefile.in (DLL_OFILES): Remove delqueue.o.
corinna [Mon, 13 Aug 2007 17:16:03 +0000 (17:16 +0000)]
* Makefile.in (DLL_OFILES): Remove delqueue.o.
* delqueue.cc: Delete.
* fhandler.h (fhandler_base::close_fs): Drop declaration.
(fhandler_disk_file::close): Drop declaration.
* fhandler_disk_file.cc (fhandler_base::fstat_fs): Call close instead of
close_fs.
(fhandler_base::fstat_helper): Use open FH_UNIX handle in call to
get_file_attribute.
(fhandler_base::open_fs): Call close instead of get_file_attribute.
(fhandler_disk_file::close): Remove.
(fhandler_base::close_fs): Remove.
* fhandler_socket.cc (fhandler_socket::close): Just call
fhandler_base::close for FH_UNIX sockets.
* shared.cc (user_shared_initialize): Drop call to
user_shared->delqueue.init.
* shared_info.h (CURR_USER_MAGIC): Change according to below change.
(MAX_DELQUEUES_PENDING): Remove.
(class delqueue_list): Remove.
(class user_info): Remove delqueue.
* syscalls.cc (close_all_files): Drop call to
user_shared->delqueue.process_queue.
(unlink): Drop delqueue handling.

16 years ago * devices.in (dev_storage): Use native NT device name for kmsg mailslot.
corinna [Mon, 13 Aug 2007 15:08:25 +0000 (15:08 +0000)]
* devices.in (dev_storage): Use native NT device name for kmsg mailslot.
* devices.cc: Regenerate.
* fhandler.cc (fhandler_base::operator =): Use path_conv assignment
operator.
(fhandler_base::set_name): Ditto.
(fhandler_base::open): Use NT native path in debug output.
* fhandler_mailslot.cc: Convert to NT native function calls.
* ntdll.h (struct _FILE_MAILSLOT_SET_INFORMATION): Define.
(NtCreateMailslotFile): Declare.
* path.cc (path_conv::set_normalized_path): Don't set wide_path to NULL.
(path_conv::set_name): Remove unused function.
* path.h (path_conv::set_name): Drop declaration.
(path_conv::operator =): Define.

16 years ago2007-08-13 Frank Ch. Eigler <fche@redhat.com>
fche [Mon, 13 Aug 2007 14:47:43 +0000 (14:47 +0000)]
2007-08-13  Frank Ch. Eigler  <fche@redhat.com>

* common_model.h: Change #include guard name.

2007-08-13  Frank Ch. Eigler  <fche@redhat.com>

* sh.h: Protect CGEN_CPU_FPU macro against multiple definitions.
* common_model.h: Change #include guard name.

16 years ago * config/default.exp: New file.
drow [Mon, 13 Aug 2007 14:35:58 +0000 (14:35 +0000)]
* config/default.exp: New file.

16 years ago* standards.texi: Import 22 July 2007 version.
nickc [Mon, 13 Aug 2007 09:45:22 +0000 (09:45 +0000)]
* standards.texi: Import 22 July 2007 version.
* fdl.texi: Import version 1.2.
* make-stds.texi: Import 2006 version.

16 years ago * NEWS: Add a marker for the 2.18 features.
drow [Mon, 13 Aug 2007 01:56:12 +0000 (01:56 +0000)]
* NEWS: Add a marker for the 2.18 features.

16 years ago * doc/Makefile.am (AM_MAKEINFOFLAGS, TEXI2DVI): Include
drow [Mon, 13 Aug 2007 01:52:58 +0000 (01:52 +0000)]
* doc/Makefile.am (AM_MAKEINFOFLAGS, TEXI2DVI): Include
$(top_srcdir)/../../bfd/doc.
* doc/Makefile.in: Regenerate.

16 years ago * coffgen.c (coff_get_normalized_symtab): Correct cast.
drow [Mon, 13 Aug 2007 01:45:11 +0000 (01:45 +0000)]
* coffgen.c (coff_get_normalized_symtab): Correct cast.

16 years ago * configure.ac (TOPLEVEL_CONFIGURE_ARGUMENTS, baseargs): Pass
bje [Mon, 13 Aug 2007 01:32:31 +0000 (01:32 +0000)]
* configure.ac (TOPLEVEL_CONFIGURE_ARGUMENTS, baseargs): Pass
--silent if $silent.
* configure: Regenerate.

16 years ago * elf.c (elf_modify_segment_map): Add remove_empty_load param.
amodra [Mon, 13 Aug 2007 00:44:19 +0000 (00:44 +0000)]
* elf.c (elf_modify_segment_map): Add remove_empty_load param.
Don't remove empty PT_LOAD header if false.
(_bfd_elf_map_sections_to_segments): If user phdrs, pass false
to elf_modify_segment_map.
(assign_file_positions_for_load_sections): Pass false to
elf_modify_segment_map.

16 years agobfd/
amodra [Mon, 13 Aug 2007 00:20:55 +0000 (00:20 +0000)]
bfd/
* elf64-ppc.c (ADDI_R12_R12, LD_R11_0R2, LD_R2_0R2): Define.
Update stub comments.
(build_plt_stub): Build two variants, one without "addis".
(ppc_build_one_stub): Build stubs without "addis" if possible.
(ppc_size_one_stub): Size new stubs.
ld/testsuite/
* ld-powerpc/relbrlt.s (.text.pad2): Adjust space.
* ld-powerpc/relbrlt.d: Update.
* ld-powerpc/tlsexe.d: Update.
* ld-powerpc/tlsexe.g: Update.
* ld-powerpc/tlsexe.r: Update.
* ld-powerpc/tlsexetoc.d: Update.
* ld-powerpc/tlsexetoc.g: Update.
* ld-powerpc/tlsexetoc.r: Update.
* ld-powerpc/tlsso.d: Update.
* ld-powerpc/tlsso.g: Update.
* ld-powerpc/tlsso.r: Update.
* ld-powerpc/tlstocso.d: Update.
* ld-powerpc/tlstocso.g: Update.

16 years agodaily update
amodra [Mon, 13 Aug 2007 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Mon, 13 Aug 2007 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago* faq-programming.xml: Clarify where to run "make check".
cgf [Sun, 12 Aug 2007 19:45:45 +0000 (19:45 +0000)]
* faq-programming.xml: Clarify where to run "make check".

16 years ago * src-release (DEVO_SUPPORT): Add COPYING3 and COPYING3.LIB.
drow [Sun, 12 Aug 2007 19:05:42 +0000 (19:05 +0000)]
* src-release (DEVO_SUPPORT): Add COPYING3 and COPYING3.LIB.

16 years ago * configure.in (ALL_LINGUAS): Add fi.
drow [Sun, 12 Aug 2007 18:59:45 +0000 (18:59 +0000)]
* configure.in (ALL_LINGUAS): Add fi.
* po/fi.po: New file.
* configure: Regenerated.

16 years ago * fhandler.cc (fhandler_base::open): Remove HIDDEN_DOT_FILES code.
corinna [Sun, 12 Aug 2007 15:42:02 +0000 (15:42 +0000)]
* fhandler.cc (fhandler_base::open): Remove HIDDEN_DOT_FILES code.
* fhandler_disk_file.cc (fhandler_disk_file::mkdir): Ditto.
* path.cc (symlink_worker): Ditto.

16 years ago * syscalls.cc (getw): Remove redundant implementation.
corinna [Sun, 12 Aug 2007 15:20:15 +0000 (15:20 +0000)]
* syscalls.cc (getw): Remove redundant implementation.
(putw): Ditto.
(wcscmp): Ditto.
(wcslen): Ditto.
(memccpy): Ditto.

16 years ago * ntdll.h: Add descriptive comments to special Rtl functions.
corinna [Sun, 12 Aug 2007 12:48:00 +0000 (12:48 +0000)]
* ntdll.h: Add descriptive comments to special Rtl functions.
(STATUS_OBJECT_PATH_NOT_FOUND): Define.
(STATUS_BUFFER_OVERFLOW): Define.
(FILE_SUPERSEDED): Define.
(FILE_OPENED): Define.
(FILE_CREATED): Define.
(FILE_OVERWRITTEN): Define.
(FILE_EXISTS): Define.
(FILE_DOES_NOT_EXIST): Define.
(PIO_APC_ROUTINE): Typedef.
(NtFsControlFile): Fix parameter types to use PIO_APC_ROUTINE.
(NtWriteFile): Declare.
(RtlInt64ToHexUnicodeString): Declare.
* strfuncs.cc: Include ntdll.h.
(RtlInt64ToHexUnicodeString): New function.
* syscalls.cc (try_to_bin): Rewrite using native NT functions.
Only try to create recycle bin after unsuccessfully trying to move
file.  Also try to create special files in recycle bin so that Windows
Explorer isn't unnecessarily stampeded.

16 years agodaily update
amodra [Sun, 12 Aug 2007 00:00:06 +0000 (00:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Sun, 12 Aug 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago2007-08-11 Michael Snyder <msnyder@access-company.com>
msnyder [Sat, 11 Aug 2007 20:08:37 +0000 (20:08 +0000)]
2007-08-11  Michael Snyder  <msnyder@access-company.com>

* completer.c: Spelling fix in comments.

16 years agobfd/
rsandifo [Sat, 11 Aug 2007 17:31:23 +0000 (17:31 +0000)]
bfd/
* config.bfd (sh-*-vxworks): Define targ_underscore to "yes".

16 years ago2007-08-10 Michael Snyder <msnyder@access-company.com>
msnyder [Sat, 11 Aug 2007 00:28:30 +0000 (00:28 +0000)]
2007-08-10  Michael Snyder  <msnyder@access-company.com>

* gdbtypes.c: Coding standard cleanup.

16 years ago2007-08-10 Michael Snyder <msnyder@access-company.com>
msnyder [Sat, 11 Aug 2007 00:22:18 +0000 (00:22 +0000)]
2007-08-10  Michael Snyder  <msnyder@access-company.com>

* gdbtypes.c: Comment/whitespace cleanup.

16 years ago*** empty log message ***
gdbadmin [Sat, 11 Aug 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Sat, 11 Aug 2007 00:00:06 +0000 (00:00 +0000)]
daily update

16 years ago2007-08-10 Michael Snyder <msnyder@access-company.com>
msnyder [Fri, 10 Aug 2007 22:08:18 +0000 (22:08 +0000)]
2007-08-10  Michael Snyder  <msnyder@access-company.com>

* stabsread.c (read_huge_number): Attempt to compute value before
values that it depends on.

16 years ago2007-08-10 Michael Snyder <msnyder@access-company.com>
msnyder [Fri, 10 Aug 2007 22:01:27 +0000 (22:01 +0000)]
2007-08-10  Michael Snyder  <msnyder@access-company.com>

* linespec.c (decode_dollar): Dead code, ptr can't be non-null.
(decode_objc): Use "NULL" instead of 0.
(find_method): Ditto.
(decode_all_digits): Ditto.
(decode_dollar): Ditto.

16 years ago2007-08-10 Michael Snyder <msnyder@access-company.com>
msnyder [Fri, 10 Aug 2007 21:52:38 +0000 (21:52 +0000)]
2007-08-10  Michael Snyder  <msnyder@access-company.com>

* mi/mi-main.c (mi_cmd_data_evaluate_expression): Resource leak.

16 years ago2007-08-10 Michael Snyder <msnyder@access-company.com>
msnyder [Fri, 10 Aug 2007 21:44:22 +0000 (21:44 +0000)]
2007-08-10  Michael Snyder  <msnyder@access-company.com>

* mi/mi-cmd-var.c (mi_cmd_var_list_children): Memory leak.

16 years ago2007-08-10 Michael Snyder <msnyder@access-company.com>
msnyder [Fri, 10 Aug 2007 20:42:44 +0000 (20:42 +0000)]
2007-08-10  Michael Snyder  <msnyder@access-company.com>

* solib-svr4.c (enable_break): Don't free tmp_pathname until
after closing bfd.

16 years ago2007-08-10 Michael Snyder <msnyder@access-company.com>
msnyder [Fri, 10 Aug 2007 20:35:08 +0000 (20:35 +0000)]
2007-08-10  Michael Snyder  <msnyder@access-company.com>

* completer.c: Comment/whitespace cleanup.

16 years ago2007-08-10 Carlos O'Donell <carlos@codesourcery.com>
jjohnstn [Fri, 10 Aug 2007 19:36:46 +0000 (19:36 +0000)]
2007-08-10  Carlos O'Donell  <carlos@codesourcery.com>

        2007-07-12  Daniel Jacobowitz  <dan@codesourcery.com>

        * arm/syscalls.c (_stat): Use _close

        * arm/syscalls.c (struct poslog): Rename to...
        (struct fdent): ... this.
        (FILE_HANDLE_OFFSET): Remove.
        (findslot): Return a struct fdent* if fd is valid, otherwise return NULL.
        (newslot): New function.
        (remap_handle): Remove.
        (initialise_monitor_handles): Use stdout as fallback for stderr.
        (wrap): Rename to...
        (checkerror): ...  this.
        (_swiread): Use checkerror() for the return of SWI calls.  Correct the use of r0.
        (_read): Use findslot().  Return EBADF on bad handle.
        (_swilseek): Call findslot().  Check for valid whence.  Check for negative offset when using
        SEEK_CUR, and check for overflow.  Use checkerror().  Check *_Flen calls for errors.
        (_swiwrite): Correct the use of r0.
        (_write): Call findslot().
        (_swiopen): Call findslot().  Check for valid flags.  Use checkerror().  Call newslot().
        Handle O_TRUNC, and O_WRONLY.  Return index into openfiles[] for fd.
        (_swiclose): Correct the use of r0.
        (_close): Handle stderr == stdout case.  Only reclaim handle if _swiclose succeeded.
        (_getpid): Use __attribute__((unused)).
        (_sbrk): Fix formatting.
        (_swistat): New function.
        (_stat): Call _swistat().
        (_fstat): Call _swistat().
        (_unlink): Correct the use of r0.
        (isatty): Call finslot().  Correct the use of r0.
        (_system): Call checkerror().  Correct the use of r0.
        (_rename): Correct the use of r0.

16 years ago * Makefile.in (i386nbsd-nat.o): Add missing dependency.
brobecke [Fri, 10 Aug 2007 17:52:09 +0000 (17:52 +0000)]
    * Makefile.in (i386nbsd-nat.o): Add missing dependency.

16 years ago2007-08-10 Maxim Grigoriev <maxim2405@gmail.com>
maxim2405 [Fri, 10 Aug 2007 17:49:48 +0000 (17:49 +0000)]
2007-08-10  Maxim Grigoriev  <maxim2405@gmail.com>

* remote-fileio.c (remote_fileio_resize_fd_map): Initialize newly
allocated file descriptors.

16 years ago * Makefile.in: Minor cleanup throughout; add some missing variables,
brobecke [Fri, 10 Aug 2007 17:26:45 +0000 (17:26 +0000)]
    * Makefile.in: Minor cleanup throughout; add some missing variables,
        add some missing rules, remove some rules that are no longer needed,
        and fix the dependencies in several rules.

16 years ago * path.cc (fillout_mntent): Fix calculation of unicode buffer size.
corinna [Fri, 10 Aug 2007 16:47:22 +0000 (16:47 +0000)]
* path.cc (fillout_mntent): Fix calculation of unicode buffer size.

16 years ago* sim-memopt.c (memory_options): Mention that the memory-size switch accepts suffixes.
nickc [Fri, 10 Aug 2007 14:26:33 +0000 (14:26 +0000)]
* sim-memopt.c (memory_options): Mention that the memory-size switch accepts suffixes.
  (parse_size): Handle a suffix on the size value.
* sim-options.c (standard_options): Mention that the mem-size switch accepts suffixes.
  (standard_option_handler): Handle a suffix on the size value.

16 years agoAdd M R Swami Reddy as CR16/CRX support maintainer.
nickc [Fri, 10 Aug 2007 13:25:31 +0000 (13:25 +0000)]
Add M R Swami Reddy as CR16/CRX support maintainer.

16 years agoAdd a marker for the 2.18 features.
nickc [Fri, 10 Aug 2007 13:21:39 +0000 (13:21 +0000)]
Add a marker for the 2.18 features.

16 years agoUpdated Finnish, Irish and Vietnamese translations
nickc [Fri, 10 Aug 2007 13:16:31 +0000 (13:16 +0000)]
Updated Finnish, Irish and Vietnamese translations

16 years agoMention PR ld/4877.
hjl [Fri, 10 Aug 2007 12:41:33 +0000 (12:41 +0000)]
Mention PR ld/4877.

16 years ago2007-08-10 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 10 Aug 2007 12:36:20 +0000 (12:36 +0000)]
2007-08-10  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.