]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
18 years ago* ntdll.h: (temporarily?) Add more functions for querying directory.
Christopher Faylor [Wed, 25 Jan 2006 05:57:20 +0000 (05:57 +0000)]
* ntdll.h: (temporarily?) Add more functions for querying directory.

18 years ago* dir.cc (readdir_worker): Turn off expensive inode calculation.
Christopher Faylor [Tue, 24 Jan 2006 19:03:20 +0000 (19:03 +0000)]
* dir.cc (readdir_worker): Turn off expensive inode calculation.

18 years ago * fhandler_process.cc (fhandler_process::fill_filebuf): Disable
Corinna Vinschen [Tue, 24 Jan 2006 17:40:55 +0000 (17:40 +0000)]
* fhandler_process.cc (fhandler_process::fill_filebuf): Disable
stripping the .exe suffix from the link target in PROCESS_EXE and
PROCESS_EXENAME case.
* path.cc (realpath): Tack on .exe suffix if necessary.

18 years ago2006-01-24 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 24 Jan 2006 17:24:02 +0000 (17:24 +0000)]
2006-01-24  Jeff Johnston  <jjohnstn@redhat.com>

        * acinclude.m4: Add nodefine to AM_INIT_AUTOMAKE macro invocation
        so as not to define PACKAGE and VERSION in newlib.h.
        * aclocal.m4: Regenerated.
        * configure: Ditto.
        * newlib.hin: Ditto.

18 years ago * fhandler_disk_file.cc (fhandler_base::fstat_helper): Try harder
Corinna Vinschen [Tue, 24 Jan 2006 12:32:33 +0000 (12:32 +0000)]
* fhandler_disk_file.cc (fhandler_base::fstat_helper): Try harder
to determine remote file systems with reliable inode numbers.  Add
longish comment.

18 years ago * include/commctrl.h: Correct spelling of 'compatibility' in
Danny Smith [Tue, 24 Jan 2006 02:19:28 +0000 (02:19 +0000)]
    * include/commctrl.h: Correct spelling of 'compatibility' in
comments.
* include/setupapi.h: Likewise.
* include/ws2tcpip.h: Likewise.

18 years ago2006-01-24 Danny Smith <dannysmith@users.sourceforge.net>
Danny Smith [Tue, 24 Jan 2006 01:02:31 +0000 (01:02 +0000)]
2006-01-24  Danny Smith  <dannysmith@users.sourceforge.net>

        * include/ddk/winddk.h (KeGetCurrentKPCR): Support -masm=intel.

2006-01-24  Jiri Malak  <Jiri.Malak@iol.cz>

WATCOM compatibility changes.
* include/ddk/ntddk.h (DECL_IMPORT): Define using __declspec,
rather than __attribute__.
(DECL_EXPORT): Likewise.
* include/ddk/winddk.h (DDKAPI): Avoid using __attribute__.
(DDKFASTAPI): Likewise.
(DDKCDECLAPI): Likwise.
(KeGetCurrentKPCR): Provide __WATCOMC__ syntax for inline code.

18 years ago * fhandler_socket.cc (fhandler_socket::fixup_after_fork): Reset
Corinna Vinschen [Mon, 23 Jan 2006 15:10:57 +0000 (15:10 +0000)]
* fhandler_socket.cc (fhandler_socket::fixup_after_fork): Reset
inheritance for duplicated socket.

18 years ago2006-01-23 Brandon Sneed <brandon@redf.net>
Danny Smith [Mon, 23 Jan 2006 08:10:32 +0000 (08:10 +0000)]
2006-01-23  Brandon Sneed  <brandon@redf.net>

* setupapi.def: Add all CM_* functions defined in ddk/cfgmgr32.h
to exports.

18 years ago.
Christopher Faylor [Sat, 21 Jan 2006 04:41:57 +0000 (04:41 +0000)]
.

18 years ago* include/cygwin/version.h: Bump API minor number to 151.
Christopher Faylor [Sat, 21 Jan 2006 02:24:17 +0000 (02:24 +0000)]
* include/cygwin/version.h: Bump API minor number to 151.
* dir.cc (__opendir_with_d_ino): New function.
(opendir): Set flag if we should be calculating inodes.
(readdir_worker): Calculate d_ino by calling stat if the user has asked for it.
(seekdir64): Maintain all persistent flag settings.
* fhandler.h (dirent_states): Add dirent_set_d_ino.
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Reflect changes to
dirent structure.
* fhandler_virtual.cc (fhandler_virtual::opendir): Ditto.
* include/sys/dirent.h (struct dirent): Coalesce two similar structures.
Remove all threads of the apparently highly confusing references to inodes.
Add support for calculating a real inode if __USE_EXPENSIVE_CYGWIN_D_INO is
defined.

18 years ago2006-01-20 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 20 Jan 2006 22:42:46 +0000 (22:42 +0000)]
2006-01-20  Jeff Johnston  <jjohnstn@redhat.com>

        * acconfig.h: New file to generate newlib.hin from.
        * newlib.hin: Regenerated.
        * stamp-h.in: Regenerated.
        * Makefile.am: Add ACLOCAL_AMFLAGS so aclocal can be
        called automatically.
        * Makefile.in: Regenerated.
        * acinclude.m4: Add proper comment for hack in previous change.
        * aclocal.m4 */aclocal.m4: Regenerated.
        * configure */configure: Regenerated.

18 years ago* include/sys/dirent.h: Add comments for people who are REALLY confused about
Christopher Faylor [Fri, 20 Jan 2006 16:04:40 +0000 (16:04 +0000)]
* include/sys/dirent.h: Add comments for people who are REALLY confused about
whether they should be using something called __invalid_d_ino or not.

18 years ago * fhandler_socket.cc (fhandler_socket::prepare): Fix debug output.
Corinna Vinschen [Fri, 20 Jan 2006 10:22:38 +0000 (10:22 +0000)]
* fhandler_socket.cc (fhandler_socket::prepare): Fix debug output.
(fhandler_socket::release): Add debug output for WSAEventSelect failure.
(fhandler_socket::ioctl): Always cancel WSAEventSelect before switching
to blocking mode.  Only set nonblocking flag if ioctlsocket call
succeeded.  Only print new socket state if ioctlsocket call succeeded.

18 years ago* cygcheck.cc (common_paths): Add "patch".
Christopher Faylor [Thu, 19 Jan 2006 21:16:38 +0000 (21:16 +0000)]
* cygcheck.cc (common_paths): Add "patch".

18 years ago* cygcheck.cc (init_paths): Record first_nonsys_path.
Christopher Faylor [Thu, 19 Jan 2006 20:17:11 +0000 (20:17 +0000)]
* cygcheck.cc (init_paths): Record first_nonsys_path.
(find_on_path): Start on first nonsys path when !search_sysdirs.

18 years agowhite space
Christopher Faylor [Thu, 19 Jan 2006 18:57:41 +0000 (18:57 +0000)]
white space

18 years ago* fhandler_disk_file.cc (fhandler_disk_file::opendir): Check posix path for
Christopher Faylor [Thu, 19 Jan 2006 18:55:07 +0000 (18:55 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Check posix path for
root rather than windows path.

18 years ago* dir.cc (readdir_worker): Fill in invalid fields with -1. Accommodate name
Christopher Faylor [Thu, 19 Jan 2006 05:34:39 +0000 (05:34 +0000)]
* dir.cc (readdir_worker): Fill in invalid fields with -1.  Accommodate name
change from __ino32 to __invalid_ino32.
* include/sys/dirent.h (__invalid_ino32): Rename from __ino32.  Don't define
unused d_type macros.

18 years agoRemove references to and files from old texinfo FAQ.
Joshua Daniel Franklin [Thu, 19 Jan 2006 02:44:17 +0000 (02:44 +0000)]
Remove references to and files from old texinfo FAQ.

18 years ago2006-01-18 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Thu, 19 Jan 2006 00:32:21 +0000 (00:32 +0000)]
2006-01-18  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * Makefile.in: Bump cygwin build number.

18 years agoinclude/elf/ChangeLog:
Alexandre Oliva [Wed, 18 Jan 2006 21:07:47 +0000 (21:07 +0000)]
include/elf/ChangeLog:
Introduce TLS descriptors for i386 and x86_64.
* common.h (DT_TLSDESC_GOT, DT_TLSDESC_PLT): New.
* i386.h (R_386_TLS_GOTDESC, R_386_TLS_DESC_CALL, R_386_TLS_DESC):
New.
* x86-64.h (R_X86_64_GOTPC32_TLSDESC, R_X86_64_TLSDESC_CALL,
R_X86_64_TLSDESC): New.
bfd/ChangeLog:
Introduce TLS descriptors for i386 and x86_64.
* reloc.c (BFD_RELOC_386_TLS_GOTDESC, BFD_RELOC_386_TLS_DESC,
BFD_RELOC_386_TLS_DESC_CALL, BFD_RELOC_X86_64_GOTPC32_TLSDESC,
BFD_RELOC_X86_64_TLSDESC, BFD_RELOC_X86_64_TLSDESC_CALL): New.
* libbfd.h, bfd-in2.h: Rebuilt.
* elf32-i386.c (elf_howto_table): New relocations.
(R_386_tls): Adjust.
(elf_i386_reloc_type_lookup): Map new relocations.
(GOT_TLS_GDESC, GOT_TLS_GD_BOTH_P): New macros.
(GOT_TLS_GD_P, GOT_TLS_GDESC_P, GOT_TLS_GD_ANY_P): New macros.
(struct elf_i386_link_hash_entry): Add tlsdesc_got field.
(struct elf_i386_obj_tdata): Add local_tlsdesc_gotent field.
(elf_i386_local_tlsdesc_gotent): New macro.
(struct elf_i386_link_hash_table): Add sgotplt_jump_table_size.
(elf_i386_compute_jump_table_size): New macro.
(link_hash_newfunc): Initialize tlsdesc_got.
(elf_i386_link_hash_table_create): Set sgotplt_jump_table_size.
(elf_i386_tls_transition): Handle R_386_TLS_GOTDESC and
R_386_TLS_DESC_CALL.
(elf_i386_check_relocs): Likewise.  Allocate space for
local_tlsdesc_gotent.
(elf_i386_gc_sweep_hook): Handle R_386_TLS_GOTDESC and
R_386_TLS_DESC_CALL.
(allocate_dynrelocs): Count function PLT relocations.  Reserve
space for TLS descriptors and relocations.
(elf_i386_size_dynamic_sections): Reserve space for TLS
descriptors and relocations.  Set up sgotplt_jump_table_size.
Don't zero reloc_count in srelplt.
(elf_i386_always_size_sections): New.  Set up _TLS_MODULE_BASE_.
(elf_i386_relocate_section): Handle R_386_TLS_GOTDESC and
R_386_TLS_DESC_CALL.
(elf_i386_finish_dynamic_symbol): Use GOT_TLS_GD_ANY_P.
(elf_backend_always_size_sections): Define.
* elf64-x86-64.c (x86_64_elf_howto): Add R_X86_64_GOTPC32_TLSDESC,
R_X86_64_TLSDESC, R_X86_64_TLSDESC_CALL.
(R_X86_64_standard): Adjust.
(x86_64_reloc_map): Map new relocs.
(elf64_x86_64_rtype_to_howto): New, split out of...
(elf64_x86_64_info_to_howto): ... this function, and...
(elf64_x86_64_reloc_type_lookup): ... use it to map elf_reloc_val.
(GOT_TLS_GDESC, GOT_TLS_GD_BOTH_P): New macros.
(GOT_TLS_GD_P, GOT_TLS_GDESC_P, GOT_TLS_GD_ANY_P): New macros.
(struct elf64_x86_64_link_hash_entry): Add tlsdesc_got field.
(struct elf64_x86_64_obj_tdata): Add local_tlsdesc_gotent field.
(elf64_x86_64_local_tlsdesc_gotent): New macro.
(struct elf64_x86_64_link_hash_table): Add tlsdesc_plt,
tlsdesc_got and sgotplt_jump_table_size fields.
(elf64_x86_64_compute_jump_table_size): New macro.
(link_hash_newfunc): Initialize tlsdesc_got.
(elf64_x86_64_link_hash_table_create): Initialize new fields.
(elf64_x86_64_tls_transition): Handle R_X86_64_GOTPC32_TLSDESC and
R_X86_64_TLSDESC_CALL.
(elf64_x86_64_check_relocs): Likewise.  Allocate space for
local_tlsdesc_gotent.
(elf64_x86_64_gc_sweep_hook): Handle R_X86_64_GOTPC32_TLSDESC and
R_X86_64_TLSDESC_CALL.
(allocate_dynrelocs): Count function PLT relocations.  Reserve
space for TLS descriptors and relocations.
(elf64_x86_64_size_dynamic_sections): Reserve space for TLS
descriptors and relocations.  Set up sgotplt_jump_table_size,
tlsdesc_plt and tlsdesc_got.  Make room for them.  Don't zero
reloc_count in srelplt.  Add dynamic entries for DT_TLSDESC_PLT
and DT_TLSDESC_GOT.
(elf64_x86_64_always_size_sections): New.  Set up
_TLS_MODULE_BASE_.
(elf64_x86_64_relocate_section): Handle R_386_TLS_GOTDESC and
R_386_TLS_DESC_CALL.
(elf64_x86_64_finish_dynamic_symbol): Use GOT_TLS_GD_ANY_P.
(elf64_x86_64_finish_dynamic_sections): Set DT_TLSDESC_PLT and
DT_TLSDESC_GOT.  Set up TLS descriptor lazy resolver PLT entry.
(elf_backend_always_size_sections): Define.
binutils/ChangeLog:
Introduce TLS descriptors for i386 and x86_64.
* readelf.c (get_dynamic_type): Handle DT_TLSDESC_GOT and
DT_TLSDESC_PLT.
gas/ChangeLog:
Introduce TLS descriptors for i386 and x86_64.
* config/tc-i386.c (tc_i386_fix_adjustable): Handle
BFD_RELOC_386_TLS_GOTDESC, BFD_RELOC_386_TLS_DESC_CALL,
BFD_RELOC_X86_64_GOTPC32_TLSDESC, BFD_RELOC_X86_64_TLSDESC_CALL.
(optimize_disp): Emit fix up for BFD_RELOC_386_TLS_DESC_CALL and
BFD_RELOC_X86_64_TLSDESC_CALL immediately, and clear the
displacement bits.
(build_modrm_byte): Set up zero modrm for TLS desc calls.
(lex_got): Handle @tlsdesc and @tlscall.
(md_apply_fix, tc_gen_reloc): Handle the new relocations.
ld/testsuite/ChangeLog:
Introduce TLS descriptors for i386 and x86_64.
* ld-i386/i386.exp: Run on x86_64-*-linux* and amd64-*-linux*.
Add new tests.
* ld-i386/pcrel16.d: Add -melf_i386.
* ld-i386/pcrel8.d: Likewise.
* ld-i386/tlsbindesc.dd: New.
* ld-i386/tlsbindesc.rd: New.
* ld-i386/tlsbindesc.s: New.
* ld-i386/tlsbindesc.sd: New.
* ld-i386/tlsbindesc.td: New.
* ld-i386/tlsdesc.dd: New.
* ld-i386/tlsdesc.rd: New.
* ld-i386/tlsdesc.s: New.
* ld-i386/tlsdesc.sd: New.
* ld-i386/tlsdesc.td: New.
* ld-i386/tlsgdesc.dd: New.
* ld-i386/tlsgdesc.rd: New.
* ld-i386/tlsgdesc.s: New.
* ld-x86-64/x86-64.exp: Run new tests.
* ld-x86-64/tlsbindesc.dd: New.
* ld-x86-64/tlsbindesc.rd: New.
* ld-x86-64/tlsbindesc.s: New.
* ld-x86-64/tlsbindesc.sd: New.
* ld-x86-64/tlsbindesc.td: New.
* ld-x86-64/tlsdesc.dd: New.
* ld-x86-64/tlsdesc.pd: New.
* ld-x86-64/tlsdesc.rd: New.
* ld-x86-64/tlsdesc.s: New.
* ld-x86-64/tlsdesc.sd: New.
* ld-x86-64/tlsdesc.td: New.
* ld-x86-64/tlsgdesc.dd: New.
* ld-x86-64/tlsgdesc.rd: New.
* ld-x86-64/tlsgdesc.s: New.

18 years agomerge from gcc
DJ Delorie [Wed, 18 Jan 2006 21:05:51 +0000 (21:05 +0000)]
merge from gcc

18 years ago* heap.cc (heap_init): Remove Sleep.
Christopher Faylor [Wed, 18 Jan 2006 20:40:52 +0000 (20:40 +0000)]
* heap.cc (heap_init): Remove Sleep.

18 years ago * net.cc (rresvport): Remove extern declaration.
Corinna Vinschen [Wed, 18 Jan 2006 18:37:35 +0000 (18:37 +0000)]
* net.cc (rresvport): Remove extern declaration.

18 years ago * autoload.cc (rresvport): Remove.
Corinna Vinschen [Wed, 18 Jan 2006 18:24:33 +0000 (18:24 +0000)]
* autoload.cc (rresvport): Remove.
* net.cc (last_used_rrecvport): New global shared variable.
(cygwin_rresvport): Implement rresvport without using rresvport from
wsock32.

18 years agoWasn't going to check this in but since it did get checked in, here's a ChangeLog.
Christopher Faylor [Wed, 18 Jan 2006 16:11:53 +0000 (16:11 +0000)]
Wasn't going to check this in but since it did get checked in, here's a ChangeLog.

18 years agobad_keywords
Christopher Faylor [Wed, 18 Jan 2006 15:57:56 +0000 (15:57 +0000)]
bad_keywords

18 years ago * include/cygwin/socket.h (struct sockaddr_storage): Fix typo in
Corinna Vinschen [Wed, 18 Jan 2006 15:37:23 +0000 (15:37 +0000)]
* include/cygwin/socket.h (struct sockaddr_storage): Fix typo in
ss_family member name.

18 years ago* cygpath.cc (dowin): Remove stray debugging printf statement.
Dave Korn [Wed, 18 Jan 2006 12:34:59 +0000 (12:34 +0000)]
* cygpath.cc (dowin):  Remove stray debugging printf statement.

18 years ago * mt/ms2.ld (.sram): Correct typo in section names.
Nathan Sidwell [Wed, 18 Jan 2006 10:57:19 +0000 (10:57 +0000)]
* mt/ms2.ld (.sram): Correct typo in section names.

18 years ago2006-01-17 Chris Sutcliffe <ir0nh34d@users.sf.net>
Chris Sutcliffe [Tue, 17 Jan 2006 18:56:12 +0000 (18:56 +0000)]
2006-01-17  Chris Sutcliffe  <ir0nh34d@users.sf.net>

        * include/w32api.h: Increment version to 3.6.
        * Makefile.in: Ditto.

18 years ago PR binutils/1486
Andreas Schwab [Tue, 17 Jan 2006 17:39:17 +0000 (17:39 +0000)]
PR binutils/1486
binutils/:
* configure.in: Don't define DISASSEMBLER_NEEDS_RELOCS.
* configure: Regenerate.
* objdump.c (struct objdump_disasm_info): Don't check for
DISASSEMBLER_NEEDS_RELOCS.
(objdump_print_addr): Likewise.
(disassemble_bytes): Check disassembler_needs_relocs from
disassemble_info at run-time instead of DISASSEMBLER_NEEDS_RELOCS
at compile-time.
(disassemble_section): Likewise.
(disassemble_data): Initialize it.

include/:
* dis-asm.h (struct disassemble_info): Add
disassembler_needs_relocs.

objdump/:
* disassemble.c (disassemble_init_for_target): Set
disassembler_needs_relocs for bfd_arch_arm.

18 years agocopyright
Christopher Faylor [Tue, 17 Jan 2006 15:37:13 +0000 (15:37 +0000)]
copyright

18 years ago * Makefile.in: Replace etcdir with sysconfdir.
Corinna Vinschen [Tue, 17 Jan 2006 12:33:46 +0000 (12:33 +0000)]
* Makefile.in: Replace etcdir with sysconfdir.

18 years ago* include/cygwin/version.h: Bump DLL minor version number to 20.
Christopher Faylor [Tue, 17 Jan 2006 03:49:04 +0000 (03:49 +0000)]
* include/cygwin/version.h: Bump DLL minor version number to 20.

18 years ago2006-01-16 Nathan Sidwell <nathan@codesourcery.com>
Jeff Johnston [Mon, 16 Jan 2006 23:23:30 +0000 (23:23 +0000)]
2006-01-16  Nathan Sidwell  <nathan@codesourcery.com>

        * mt/Makefile.in (SCRIPTS, CRT0): Add ms2 files.
        (crt0-ms2.o): New target.
        * mt/crt0-ms2.S, mt/exit-ms2.c, mt/ms2.ld, mt/startup-ms2.S: New.

18 years agofix minor typo
Christopher Faylor [Mon, 16 Jan 2006 19:52:21 +0000 (19:52 +0000)]
fix minor typo

18 years ago * configure.in: Add AC_PROG_INSTALL handling.
Corinna Vinschen [Mon, 16 Jan 2006 17:48:36 +0000 (17:48 +0000)]
* configure.in: Add AC_PROG_INSTALL handling.
* configure: Regenerate.
* Makefile.in (install): Install CYGWIN_LICENSE.

18 years agoSync top level config files from the master config repository
Nick Clifton [Mon, 16 Jan 2006 17:34:37 +0000 (17:34 +0000)]
Sync top level config files from the master config repository

18 years ago * CYGWIN_LICENSE: Fix contact information.
Corinna Vinschen [Mon, 16 Jan 2006 14:57:34 +0000 (14:57 +0000)]
* CYGWIN_LICENSE: Fix contact information.

18 years ago * Makefile.in (cygcheck.exe): Do not link against libwininet.a.
Corinna Vinschen [Sun, 15 Jan 2006 09:29:02 +0000 (09:29 +0000)]
* Makefile.in (cygcheck.exe): Do not link against libwininet.a.
* cygcheck.cc (pInternetCloseHandle): Define global function pointer.
(display_internet_error): Use it.
(package_grep): Attempt to load wininet.dll at runtime.  Call WinInet
API through function pointers throughout.

18 years ago * cygcheck.cc (dump_sysinfo): Convert k32 to HMODULE.
Corinna Vinschen [Fri, 13 Jan 2006 15:36:29 +0000 (15:36 +0000)]
* cygcheck.cc (dump_sysinfo): Convert k32 to HMODULE.

18 years ago * uname.cc (uname): Concatenate a "-WOW64" to utsname's sysname
Corinna Vinschen [Fri, 13 Jan 2006 14:00:10 +0000 (14:00 +0000)]
* uname.cc (uname): Concatenate a "-WOW64" to utsname's sysname
member to see when running under WOW64.

18 years ago * cygcheck.cc (dump_sysinfo): Convert osname to const and remove casts
Corinna Vinschen [Fri, 13 Jan 2006 13:39:05 +0000 (13:39 +0000)]
* cygcheck.cc (dump_sysinfo): Convert osname to const and remove casts
in subsequent assignments.  Recognize Longhorn/Vista and report as not
yet supported.  Recognize when running under WOW64 and report native
CPU type.  Slightly rearrange \n printing.

18 years ago * net.cc (cygwin_setsockopt): Ignore errors when setting IP_TOS on
Corinna Vinschen [Fri, 13 Jan 2006 10:18:31 +0000 (10:18 +0000)]
* net.cc (cygwin_setsockopt): Ignore errors when setting IP_TOS on
Windows 2000 and above. Clarify the comment about IP_TOS and move
to the place where the magic happens.
(get_ifconf): Remove unused code.
* wincap.h (wincaps::has_disabled_user_tos_setting): New element.
* wincap.cc: Implement above element throughout.

18 years ago* faq-setup.xml (faq.setup.setup): Correct URL typo.
Joshua Daniel Franklin [Fri, 13 Jan 2006 03:55:23 +0000 (03:55 +0000)]
* faq-setup.xml (faq.setup.setup): Correct URL typo.
(faq.setup.snapshots): Clarify.

18 years ago* cygcheck.cc: Replace ` with ' throughout.
Christopher Faylor [Thu, 12 Jan 2006 17:43:53 +0000 (17:43 +0000)]
* cygcheck.cc: Replace ` with ' throughout.

18 years ago * wincap.cc: New file.
Corinna Vinschen [Thu, 12 Jan 2006 16:59:15 +0000 (16:59 +0000)]
* wincap.cc: New file.
* wincap.h: New file.
* Makefile.in: Accomodate having our own wincap implementation now.

18 years ago * Update copyrights.
Corinna Vinschen [Thu, 12 Jan 2006 15:53:51 +0000 (15:53 +0000)]
* Update copyrights.

18 years ago * doctool.c (scan_directory): Ignore "CVS" directories.
Corinna Vinschen [Thu, 12 Jan 2006 11:31:55 +0000 (11:31 +0000)]
* doctool.c (scan_directory): Ignore "CVS" directories.

18 years ago* fhandler_console.cc (set_console_state_for_spawn): Fix to recognize ttys >=
Christopher Faylor [Thu, 12 Jan 2006 05:17:12 +0000 (05:17 +0000)]
* fhandler_console.cc (set_console_state_for_spawn): Fix to recognize ttys >=
0.

18 years ago* fhandler.h (set_console_state_for_spawn): Whackamole the argument back to a
Christopher Faylor [Thu, 12 Jan 2006 05:03:15 +0000 (05:03 +0000)]
* fhandler.h (set_console_state_for_spawn): Whackamole the argument back to a
bool.
* spawn.cc (spawn_guts): Ditto, i.e., once again call
set_console_state_for_spawn with an indication of whether we're about to start
a cygwin process.
* fhandler_console.cc (set_console_state_for_spawn): Don't set the console
state if we know we're starting a cygwin process or if we're using a "real"
tty.

18 years agocopyright
Christopher Faylor [Thu, 12 Jan 2006 04:52:51 +0000 (04:52 +0000)]
copyright

18 years agocopyright
Christopher Faylor [Thu, 12 Jan 2006 04:41:06 +0000 (04:41 +0000)]
copyright

18 years ago2006-01-11 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 11 Jan 2006 23:50:33 +0000 (23:50 +0000)]
2006-01-11  Jeff Johnston  <jjohnstn@redhat.com>

        * acinclude.m4: Add hack to prevent INSTALL in subdirs
        from being set to "../".
        * Makefile.am: Pass INSTALL in AM_MAKEFLAGS.
        * aclocal.m4: Regenerated.
        * configure: Ditto.
        * Makefile.in: Ditto.
        * doc/aclocal.m4: Ditto.
        * doc/configure: Ditto.
        * iconvdata/aclocal.m4: Ditto.
        * iconvdata/configure: Ditto.
        * libc/*/aclocal.m4: Ditto.
        * libc/*/configure: Ditto.
        * libc/libc.texinfo: Ditto.
        * libm/*/aclocal.m4: Ditto.
        * libm/*/configure: Ditto.

18 years ago * include/wincrypt.h (WINADVAPI): Add to prototypes of
Danny Smith [Wed, 11 Jan 2006 23:19:16 +0000 (23:19 +0000)]
* include/wincrypt.h (WINADVAPI): Add to prototypes of
advapi32.dll functions.

18 years ago * include/winsock2.h (struct sockaddr_storage): Use RFC 2553
Danny Smith [Wed, 11 Jan 2006 22:56:05 +0000 (22:56 +0000)]
* include/winsock2.h (struct sockaddr_storage):  Use RFC 2553
names for padding size constants.

18 years ago * include/aclapi.h (WINADVAPI): Add to prototypes.
Danny Smith [Wed, 11 Jan 2006 22:49:06 +0000 (22:49 +0000)]
* include/aclapi.h (WINADVAPI): Add to prototypes.
* include/winreg.h (WINADVAPI): Likewise.
* include/winsvc.h (WINADVAPI): Likewise.

18 years ago * dcrt0.cc (dll_crt0_0): Remove call to wincap.init.
Corinna Vinschen [Tue, 10 Jan 2006 18:11:32 +0000 (18:11 +0000)]
* dcrt0.cc (dll_crt0_0): Remove call to wincap.init.
* init.cc (dll_entry): Rename is_wow64_proc to wow64_test_stack_marker.
Call wincap.init here before doing anything else.  Use wincap.is_wow64
to determine if we're running in a WOW64 emulator.
* mmap.cc (MapViewNT): Don't use AT_ROUND_TO_PAGE in WOW64, it's
apparently not supported.
(mmap64): Don't create mappings beyond EOF, which would need to use
AT_ROUND_TO_PAGE, on WOW64.
* wincap.cc (wincap): Throw into the .cygwin_dll_common section.
(wincapc::init): Determine if running in WOW64 and set wow_64 flag.
* wincap.h (class wincapc): Add wow64 member.
(wincapc::is_wow64): New method.

18 years ago2006-01-10 Eric Blake <ebb9@byu.net>
Jeff Johnston [Tue, 10 Jan 2006 17:09:43 +0000 (17:09 +0000)]
2006-01-10  Eric Blake  <ebb9@byu.net>

* libc/stdio/freopen.c (_freopen_r): Fix use of oflags.
* libc/stdio64/freopen64.c (_freopen64_r): Likewise.

18 years ago2006-01-10 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 10 Jan 2006 16:51:58 +0000 (16:51 +0000)]
2006-01-10  Jeff Johnston  <jjohnstn@redhat.com>

        * libm/mathfp/s_frexp.c: Check for special values on
        the original input, not the manipulated output value.
        * libm/mathfp/sf_frexp.c: Ditto.
        * libm/mathfp/s_atangent.c: Don't use local value branch
        when checking for quadrant.
        * libm/mathfp/sf_atangent.c: Ditto.

18 years ago* fhandler_proc.cc (format_proc_cpuinfo): Avoid leading whitespace in model
Christopher Faylor [Tue, 10 Jan 2006 16:49:28 +0000 (16:49 +0000)]
* fhandler_proc.cc (format_proc_cpuinfo): Avoid leading whitespace in model
name.

18 years ago.
Christopher Faylor [Tue, 10 Jan 2006 14:49:20 +0000 (14:49 +0000)]
.

18 years ago* spawn.cc (spawn_guts): Reorganize slightly so that 16 bit check is done prior
Christopher Faylor [Tue, 10 Jan 2006 02:39:22 +0000 (02:39 +0000)]
* spawn.cc (spawn_guts): Reorganize slightly so that 16 bit check is done prior
to check for command.com/cmd.com.  Don't bother setting CREATE_SUSPENDED flag
for a MS-DOS process since it doesn't work anyway.  Avoid calling remember()
when the child process has already exited.
(av::fixup): Explicitly set cygexec flag to falseon a 16 bit process.

18 years ago * xtensa-config.h (XCHAL_HAVE_MUL32_HIGH): Define.
Bob Wilson [Mon, 9 Jan 2006 23:47:37 +0000 (23:47 +0000)]
* xtensa-config.h (XCHAL_HAVE_MUL32_HIGH): Define.

18 years ago2006-01-09 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 9 Jan 2006 20:01:09 +0000 (20:01 +0000)]
2006-01-09  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdio/freopen.c: Switch to use isatty instead of _isatty.
        * libc/stdio64/freopen64.c: Ditto.

18 years ago2006-01-09 Eric Blake <ebb9@byu.net>
Jeff Johnston [Mon, 9 Jan 2006 17:51:01 +0000 (17:51 +0000)]
2006-01-09  Eric Blake  <ebb9@byu.net>

        * libc/stdio/freopen.c (_freopen_r): Accept NULL filename.
        * libc/stdio64/freopen64.c (_freopen64_r): Likewise.

18 years agoDefine EM_ALTERA_NIOS2 and EM_NIOS32.
Nick Clifton [Mon, 9 Jan 2006 17:21:17 +0000 (17:21 +0000)]
Define EM_ALTERA_NIOS2 and EM_NIOS32.

18 years ago Check FreeBSD upstream changes and apply important patches.
Corinna Vinschen [Mon, 9 Jan 2006 15:10:14 +0000 (15:10 +0000)]
Check FreeBSD upstream changes and apply important patches.
* sysv_sem.cc (__semctl): Check copyin return value (from 1.76).
* sysv_shm.cc (shminit): Actually use the iterating variable in the
for loop when trying to avoid overflow (from 1.102).

18 years ago * include/getopt.h (getopt_long_only): Declare.
Corinna Vinschen [Mon, 9 Jan 2006 12:41:54 +0000 (12:41 +0000)]
* include/getopt.h (getopt_long_only): Declare.

18 years ago * cygwin.din: Export getsubopt.
Corinna Vinschen [Mon, 9 Jan 2006 12:37:08 +0000 (12:37 +0000)]
* cygwin.din: Export getsubopt.
* include/cygwin/version.h: Bump API minor version.

18 years ago* fhandler_tty.cc (fhandler_tty_slave::dup): Don't assign a controlling
Christopher Faylor [Sun, 8 Jan 2006 21:34:00 +0000 (21:34 +0000)]
* fhandler_tty.cc (fhandler_tty_slave::dup): Don't assign a controlling
terminal to a process when duped.  Linux doesn't do this, so we won't either.

18 years ago* environ.cc (spenvs[]): windir -> WINDIR.
Christopher Faylor [Sun, 8 Jan 2006 20:10:51 +0000 (20:10 +0000)]
* environ.cc (spenvs[]): windir -> WINDIR.

18 years ago* fhandler_console.cc (fhandler_console::need_invisible): Remove duplicate
Christopher Faylor [Sat, 7 Jan 2006 18:00:19 +0000 (18:00 +0000)]
* fhandler_console.cc (fhandler_console::need_invisible): Remove duplicate
test.

18 years ago* fhandler.h (set_console_state_for_spawn): Eliminate argument from
Christopher Faylor [Sat, 7 Jan 2006 17:57:26 +0000 (17:57 +0000)]
* fhandler.h (set_console_state_for_spawn): Eliminate argument from
declaration.
* fhandler.cc (set_console_state_for_spawn): Eliminate argument from
definition.  Always check for invisible console.
(fhandler_console::need_invisible): Don't do anything if the windows station is
already not visible.
* spawn.cc (spawn_guts): Accommodate change of argument to
set_console_state_for_spawn.

18 years ago2006-01-06 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 6 Jan 2006 20:59:13 +0000 (20:59 +0000)]
2006-01-06  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/include/getopt.h: Add macros needed by
        new version of getopt.c in libc/stdlib.

18 years ago* sigproc.cc (no_signals_available): Use existence of signal thread handle to
Christopher Faylor [Thu, 5 Jan 2006 22:38:51 +0000 (22:38 +0000)]
* sigproc.cc (no_signals_available): Use existence of signal thread handle to
figure out if we can actually send signals rather than relying on my_sendsig.
(hwait_sig): Make static.
(sigproc_init): Don't set my_sendsig to anything special.  Use new global
static hwait_sig.
(wait_sig): Set hwait_sig to NULL when we are exiting.

18 years ago* cygcheck.cc (dump_sysinfo): Report the failing drive to prevent having to
Christopher Faylor [Thu, 5 Jan 2006 18:31:26 +0000 (18:31 +0000)]
* cygcheck.cc (dump_sysinfo): Report the failing drive to prevent having to
guess.

18 years ago* Makefile.tpl (clean-stage[+id+]-[+prefix+][+module+]): Remove
Alexandre Oliva [Thu, 5 Jan 2006 17:45:45 +0000 (17:45 +0000)]
* Makefile.tpl (clean-stage[+id+]-[+prefix+][+module+]): Remove
@ from continuation.
* Makefile.in: Rebuilt.

18 years ago* include/getopt.h: Accommodate recent unfortunate newlib changes.
Christopher Faylor [Thu, 5 Jan 2006 17:35:14 +0000 (17:35 +0000)]
* include/getopt.h: Accommodate recent unfortunate newlib changes.

18 years ago(fix ChangeLog and check in remaining files)
Christopher Faylor [Thu, 5 Jan 2006 16:26:22 +0000 (16:26 +0000)]
(fix ChangeLog and check in remaining files)
* sigproc.cc (sigproc_init): Move clearing of sync_startup here to lessen the
likelihood of trying to deal with non-cygwin threads in dll_entry.
* fhandler_console: Fix set_console_state_for_spawn comment.

18 years ago* cygtls.cc (_cygtls::remove): Don't output debugging info if this isn't a
Christopher Faylor [Thu, 5 Jan 2006 16:23:19 +0000 (16:23 +0000)]
* cygtls.cc (_cygtls::remove): Don't output debugging info if this isn't a
cygwin thread.

18 years ago* spawn.cc (spawn_guts): Invert the argument to set_console_state_for_spawn.
Christopher Faylor [Thu, 5 Jan 2006 16:21:14 +0000 (16:21 +0000)]
* spawn.cc (spawn_guts): Invert the argument to set_console_state_for_spawn.

18 years ago* fhandler_console.cc (fhandler_console::need_invisible): Only try to open
Christopher Faylor [Thu, 5 Jan 2006 03:58:19 +0000 (03:58 +0000)]
* fhandler_console.cc (fhandler_console::need_invisible): Only try to open
"CygwinInvisible" windows station if opening of default station fails.  Use
CloseWindowStation to close window station handle.

18 years ago* fhandler_console.cc (fhandler_console::need_invisible): Open up the security
Christopher Faylor [Thu, 5 Jan 2006 00:49:17 +0000 (00:49 +0000)]
* fhandler_console.cc (fhandler_console::need_invisible): Open up the security
of the newly created windows station.

18 years ago2006-01-04 Paul Brook <paul@codesourcery.com>
Jeff Johnston [Wed, 4 Jan 2006 21:30:52 +0000 (21:30 +0000)]
2006-01-04  Paul Brook  <paul@codesourcery.com>

        * m68k/bcc.ld: Add .got.plt and .got
        * m68k/idp.ld: Ditto.
        * m68k/idpgdb: Ditto.
        * m68k/mvme135.ld: Ditto.
        * m68k/sbc5204.ld: Ditto.
        * m68k/sbc5206.ld: Ditto.
        * m68k/sim.ld: Ditto.

18 years ago2006-01-04 Gregory Pietsch <gpietsch@comcast.net>
Jeff Johnston [Wed, 4 Jan 2006 21:21:52 +0000 (21:21 +0000)]
2006-01-04  Gregory Pietsch  <gpietsch@comcast.net>

        * libc/stdlib/getopt.c: Replaced with version
        that adds getopt_long and getopt_long_only support.
        * libc/include/getopt.h: New file.

18 years ago2006-01-05 Michael Gerdau <mgd@technosis.de>
Danny Smith [Wed, 4 Jan 2006 20:59:28 +0000 (20:59 +0000)]
2006-01-05  Michael Gerdau  <mgd@technosis.de>

* include/winbase.h (WINADVAPI): Define.

18 years ago* path.cc (dot_special_chars): Add ", <, >, and |.
Christopher Faylor [Wed, 4 Jan 2006 16:20:30 +0000 (16:20 +0000)]
* path.cc (dot_special_chars): Add ", <, >, and |.

18 years ago2006-01-04 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Wed, 4 Jan 2006 13:11:22 +0000 (13:11 +0000)]
2006-01-04  Paolo Bonzini  <bonzini@gnu.org>

Sync from gcc:

2006-01-04  Paolo Bonzini  <bonzini@gnu.org>

        PR bootstrap/24252

        * Makefile.def (flags_to_pass): Add STAGE1_CFLAGS and STAGE1_LANGUAGES.
        * Makefile.tpl (OBJDUMP): New.
        (EXTRA_HOST_FLAGS): Add it.
        (EXTRA_GCC_FLAGS): Remove flags already specified in flags_to_pass.

        * Makefile.tpl (stage[+id+]-start, stage[+id+]-end): Do not try
        to use symbolic links between directories.  Avoid race conditions
        or make them harmless.
        * configure.in: Do not try to use symbolic links between directories.

        * Makefile.def (LEAN): Pass.
        * Makefile.tpl (LEAN): Define.
        (stage[+id+]-start): Accept that the previous directory does not
        exist, if the bootstrap is lean.
        (stage[+id+]-bubble): Invoke lean bootstrap commands after
        stage[+id+]-start.  Use a makefile variable and an `if' instead of a
        configure substitution.
        ([+compare-target+]): Likewise.
        ([+bootstrap-target+]-lean): New.
        * configure.in: Remove lean bootstrap support from here.

        * Makefile.in: Regenerate.
        * configure: Regenerate.

2006-01-02  Andreas Schwab  <schwab@suse.de>

        * configure.in: When reconfiguring remove Makefile in
        all stage directories.
        * configure: Regenerate.

18 years ago* fhandler_console.cc (beep): Use MB_OK which is documented as using the
Christopher Faylor [Wed, 4 Jan 2006 04:47:19 +0000 (04:47 +0000)]
* fhandler_console.cc (beep): Use MB_OK which is documented as using the
default bell rather than -1 which seems to behave differently on different
versions of Windows.

18 years ago* fhandler_process.cc (fhandler_process::readdir): Add missing argument to
Christopher Faylor [Wed, 4 Jan 2006 03:43:55 +0000 (03:43 +0000)]
* fhandler_process.cc (fhandler_process::readdir): Add missing argument to
syscall_printf.
* fhandler_console.cc (fhandler_console::need_invisible): Use made-up name for
windows station rather than asking Windows to create one for us.
* spawn.cc (spawn_guts): Don't mess with console if we're detaching.

18 years ago* include/winuser.h (CreateWindowStation): Correctly identify first argument as
Christopher Faylor [Wed, 4 Jan 2006 03:42:18 +0000 (03:42 +0000)]
* include/winuser.h (CreateWindowStation): Correctly identify first argument as
constant.
(CreateWindowStation@): Ditto.

18 years ago* dir.cc (readdir_worker): Minor code cleanup.
Christopher Faylor [Tue, 3 Jan 2006 17:44:26 +0000 (17:44 +0000)]
* dir.cc (readdir_worker): Minor code cleanup.
* fhandler_console.cc (beep): Use a more Windows-generic wav file if the beep
is missing.  Use a more foolproof way to find out whether we should be
recreating the missing key.
* registry.h (reg_key::_disposition): New field.
(reg_key::created): New function.
* registry.cc (reg_key::reg_key): Set _disposition to zero by default.
(reg_key::build_key): Fill in _disposition field.

18 years ago* dir.cc (readdir_worker): Ensure that saw_dot flags are updated when not
Christopher Faylor [Tue, 3 Jan 2006 15:42:56 +0000 (15:42 +0000)]
* dir.cc (readdir_worker): Ensure that saw_dot flags are updated when not
handling inodes.

18 years ago* include/uxtheme.h [_WIN32_WINNT >= 0x0501]
Dimitri Papadopoulos [Tue, 3 Jan 2006 09:04:07 +0000 (09:04 +0000)]
* include/uxtheme.h  [_WIN32_WINNT >= 0x0501]
(TMT_*, BT_*): Add constants.

18 years ago* fhandler_console.cc (beep): New function. Restores missing "Default Beep",
Christopher Faylor [Tue, 3 Jan 2006 01:15:29 +0000 (01:15 +0000)]
* fhandler_console.cc (beep): New function.  Restores missing "Default Beep",
if necessary.
(fhandler_console::write_normal): Use beep().

18 years ago2006-02-01 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Mon, 2 Jan 2006 18:55:51 +0000 (18:55 +0000)]
2006-02-01  Paolo Bonzini  <bonzini@gnu.org>

        PR target/25259
        * stdint.m4: New.

18 years ago* dcrt0.cc (_dll_crt0): Move more leftover debugging stuff.
Christopher Faylor [Mon, 2 Jan 2006 15:48:29 +0000 (15:48 +0000)]
* dcrt0.cc (_dll_crt0): Move more leftover debugging stuff.
(cygwin_dll_init): Remove unneeded initializations.  Call _dll_crt0 rather than
dll_crt0_1.
* dcrt0.cc (_dll_crt0): Move more leftover debugging stuff.
(cygwin_dll_init): Remove unneeded initializations.  Call _dll_crt0 rather than
dll_crt0_1.

This page took 0.070491 seconds and 5 git commands to generate.