]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
19 years ago* include/cygwin/version.h: Bump DLL minor number to 19.
Christopher Faylor [Sun, 3 Jul 2005 02:03:58 +0000 (02:03 +0000)]
* include/cygwin/version.h: Bump DLL minor number to 19.

19 years agoUpdate function declarations to ISO C90 formatting
Nick Clifton [Fri, 1 Jul 2005 11:16:27 +0000 (11:16 +0000)]
Update function declarations to ISO C90 formatting

19 years agomerge from gcc
DJ Delorie [Thu, 30 Jun 2005 23:02:54 +0000 (23:02 +0000)]
merge from gcc

19 years ago * fhandler.cc (fhandler_base::readv): Use malloc/free instead of alloca.
Corinna Vinschen [Thu, 30 Jun 2005 17:00:10 +0000 (17:00 +0000)]
* fhandler.cc (fhandler_base::readv): Use malloc/free instead of alloca.
(fhandler_base::writev): Ditto.

19 years ago* cygerrno.h: Make multi-inclusion safe.
Christopher Faylor [Thu, 30 Jun 2005 02:52:14 +0000 (02:52 +0000)]
* cygerrno.h: Make multi-inclusion safe.
* fhandler_termios.cc (fhandler_termios::tcsetpgrp): Deal with EINTR.
* dcrt0.cc (dll_crt0_0): Accommodate init_console_handler argument change.
* winsup.h: Ditto.
* fhandler_tty.cc (fhandler_tty_slave::open): Ditto.
* exceptions.cc (init_console_handler): Ditto.  Ignore console events if we're
not attached to a terminal.
* fhandler_tty.cc (fhandler_tty_slave::open): Ditto.
* wincap.cc: Implement has_null_console_handler_routine throughout.
* wincap.h: Ditto.

19 years agorevert erroneous checkin
Christopher Faylor [Thu, 30 Jun 2005 02:51:31 +0000 (02:51 +0000)]
revert erroneous checkin

19 years ago* autoload.cc (LoadDLLprime): Use a more descriptive name for autoload text
Christopher Faylor [Wed, 29 Jun 2005 23:05:41 +0000 (23:05 +0000)]
* autoload.cc (LoadDLLprime): Use a more descriptive name for autoload text
sections.
* cygwin.sc: Ditto.

19 years ago * setup.com (mpw): Remove unused directive.
Ben Elliston [Wed, 29 Jun 2005 19:12:31 +0000 (19:12 +0000)]
* setup.com (mpw): Remove unused directive.

19 years agoRemove dejagnu/ entry.
Ben Elliston [Wed, 29 Jun 2005 02:05:07 +0000 (02:05 +0000)]
Remove dejagnu/ entry.

19 years ago2005-06-28 Dave Korn <dave.korn@artimi.com>
Jeff Johnston [Tue, 28 Jun 2005 17:03:18 +0000 (17:03 +0000)]
2005-06-28  Dave Korn  <dave.korn@artimi.com>

        * libm/common/s_lrint.c (lrint):  Fix signed-vs-unsigned comparison
        and miscalculation caused by fp representation of zero.
        * libm/common/sf_lrint.c (lrintf):  Likewise.

19 years ago * fhandler_disk_file.cc (fhandler_disk_file::facl): Add missing break.
Corinna Vinschen [Mon, 27 Jun 2005 14:18:13 +0000 (14:18 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::facl): Add missing break.

19 years ago * path.cc (path_conv::check): Don't strip trailing dots and spaces
Corinna Vinschen [Fri, 24 Jun 2005 09:15:05 +0000 (09:15 +0000)]
* path.cc (path_conv::check): Don't strip trailing dots and spaces
at the start of the path.

19 years ago * fhandler.cc (rootdir): Don't set errno.
Corinna Vinschen [Fri, 24 Jun 2005 09:12:15 +0000 (09:12 +0000)]
* fhandler.cc (rootdir): Don't set errno.
* syscalls.cc (statvfs): Set errno to ENOTDIR if rootdir() failed.

19 years ago2005-06-22 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Thu, 23 Jun 2005 07:34:15 +0000 (07:34 +0000)]
2005-06-22  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.def (stagefeedback): Come after profile.
Define profiledbootstrap target.
* Makefile.tpl (profiledbootstrap): Remove.
(stageprofile-end): Zap stagefeedback.
(stagefeedback-start): Copy all .gcda files, not only GCC's.
* Makefile.in: Regenerate.

19 years ago * fhandler.h (class fhandler_dev_tape): Add declaration for
Corinna Vinschen [Wed, 22 Jun 2005 19:59:19 +0000 (19:59 +0000)]
* fhandler.h (class fhandler_dev_tape): Add declaration for
fixup_after_fork and set_close_on_exec.
* fhandler_tape.cc (fhandler_dev_tape::open): Create mt_mtx mutex
inheritable.
(fhandler_dev_tape::close): Close mt_mtx.
(fhandler_dev_tape::dup): Duplicate mt_mtx and mt_evt as necessary.
(fhandler_dev_tape::fixup_after_fork): New method.
(fhandler_dev_tape::set_close_on_exec): New method.

19 years ago * security.cc (get_initgroups_sidlist): Drop special_pgrp parameter.
Corinna Vinschen [Tue, 21 Jun 2005 20:38:05 +0000 (20:38 +0000)]
* security.cc (get_initgroups_sidlist): Drop special_pgrp parameter.
(get_setgroups_sidlist): Avoid duplicate groups in group list.
(create_token): Remove special_pgrp local variable.  Accomodate
change to get_initgroups_sidlist call.

19 years ago * uinfo.cc (uinfo_init): Call reimpersonate to set the main thread's
Corinna Vinschen [Tue, 21 Jun 2005 20:09:31 +0000 (20:09 +0000)]
* uinfo.cc (uinfo_init): Call reimpersonate to set the main thread's
impersonation token.

19 years ago* how-using.texinfo: Add FAQ about firewall software. Update
Joshua Daniel Franklin [Tue, 21 Jun 2005 05:52:25 +0000 (05:52 +0000)]
* how-using.texinfo: Add FAQ about firewall software. Update
        section on mounting and specifically note using managed mounts.

19 years agoIndex: include/ChangeLog
Geoffrey Keating [Tue, 21 Jun 2005 00:28:25 +0000 (00:28 +0000)]
Index: include/ChangeLog
2005-06-20  Geoffrey Keating  <geoffk@apple.com>

* libiberty.h (strverscmp): Prototype.

Index: libiberty/ChangeLog
2005-06-20  Geoffrey Keating  <geoffk@apple.com>

* strverscmp.c: New.
* Makefile.in (CFILES): Add strverscmp.c.
(CONFIGURED_OFILES): Add strverscmp.o.
(strverscmp.o): New rule.
(stamp-functions): Add $(srcdir) to files in source directory.
* configure.ac (funcs): Add strverscmp.
(AC_CHECK_FUNCS): Add strverscmp.
* configure: Regenerate.
* functions.texi: Regenerate.

19 years agogas/
H.J. Lu [Mon, 20 Jun 2005 23:18:38 +0000 (23:18 +0000)]
gas/

2005-06-20  H.J. Lu  <hongjiu.lu@intel.com>

PR 1013
* config/tc-i386.c (md_assemble): Don't call optimize_disp on
movabs.
(optimize_disp): Optimize only if possible. Don't use 64bit
displacement on non-constants and do same on constants if
possible.

gas/testsuite/

2005-06-20  H.J. Lu  <hongjiu.lu@intel.com>

PR 1013
* i386/x86_64.s: Add absolute 64bit addressing tests for mov.
* i386/x86_64.s: Updated.

include/opcode/

2005-06-20  H.J. Lu  <hongjiu.lu@intel.com>

PR 1013
* i386.h (i386_optab): Update comments for 64bit addressing on
mov. Allow 64bit addressing for mov and movq.

19 years ago * fhandler_proc.cc (format_proc_partitions): Only list recognized
Corinna Vinschen [Mon, 20 Jun 2005 19:58:26 +0000 (19:58 +0000)]
* fhandler_proc.cc (format_proc_partitions): Only list recognized
partitions.  Use partition number given by PartitionNumber member.

19 years agofix indentation
Christopher Faylor [Mon, 20 Jun 2005 15:33:50 +0000 (15:33 +0000)]
fix indentation

19 years ago * include/winldap.h (ldap_simple_bindW, ldap_simple_bind_sW,
Danny Smith [Sun, 19 Jun 2005 07:25:11 +0000 (07:25 +0000)]
* include/winldap.h (ldap_simple_bindW, ldap_simple_bind_sW,
ldap_bindW, ldap_bind_sW): Change PCHAR arg to PWCHAR.
Thanks to: Christian  <chhd at users dot sf dot net>

19 years ago * glob.c: (glob0): New local variable `limit`. Use in calls to glob1
Corinna Vinschen [Sat, 18 Jun 2005 19:04:25 +0000 (19:04 +0000)]
* glob.c: (glob0): New local variable `limit`. Use in calls to glob1
and globextend.
(glob1): Add `limit' parameter.
(glob2): Ditto.
(glob3): Ditto.
(globextend): Ditto. Implement GLOB_LIMIT handling.
* include/glob.h (GLOB_LIMIT): New define.
* include/cygwin/version.h: Bump API minor number.

19 years agoCorrect typo in ChangeLog
Danny Smith [Sat, 18 Jun 2005 07:53:49 +0000 (07:53 +0000)]
Correct typo in ChangeLog

19 years ago * include/winbase.h (GETTEXTEX): Correct name of lpUsedDefChar field.
Danny Smith [Sat, 18 Jun 2005 07:51:33 +0000 (07:51 +0000)]
* include/winbase.h  (GETTEXTEX): Correct name of lpUsedDefChar field.
Thanks to: Saulius Menkevicius  <bobas at users dot sf dot net>

19 years ago * include/winbase.h (GolbalDiscard): Define as macro.
Danny Smith [Sat, 18 Jun 2005 07:36:02 +0000 (07:36 +0000)]
* include/winbase.h  (GolbalDiscard): Define as macro.
Thanks to: David Golub  <david_golub  at users dot sf dot net>

19 years ago* wincap.h (wincaps::detect_win16_exe): Declare.
Christopher Faylor [Sat, 18 Jun 2005 01:36:18 +0000 (01:36 +0000)]
* wincap.h (wincaps::detect_win16_exe): Declare.
(wincapc::detect_win16_exe): Implement.
* wincap.cc: Populate detect_win16_exe where appropriate.
* spawn.cc (spawn_guts): Only go out of the way to detect 16-bit apps on
systems which are flummoxed by them.

19 years ago* spawn.cc (spawn_guts): Detect when executing a 16-bit application and avoid
Christopher Faylor [Sat, 18 Jun 2005 01:27:06 +0000 (01:27 +0000)]
* spawn.cc (spawn_guts): Detect when executing a 16-bit application and avoid
setting the process pipe since this causes conniptions in Windows 9x.

19 years ago * cygwin.din (inet_pton): Export.
Corinna Vinschen [Fri, 17 Jun 2005 20:01:59 +0000 (20:01 +0000)]
* cygwin.din (inet_pton): Export.
(inet_ntop): Export.
* net.cc (cygwin_inet_pton): Implement inet_pton for AF_INET for now.
(cygwin_inet_ntop): Implement inet_ntop for AF_INET for now.
* include/arpa/inet.h (inet_pton): Declare.
(inet_ntop): Declare.
* include/cygwin/version.h: Bump API minor number.

19 years ago * elf/external.h (GRP_ENTRY_SIZE): Define.
Jakub Jelinek [Fri, 17 Jun 2005 13:37:23 +0000 (13:37 +0000)]
* elf/external.h (GRP_ENTRY_SIZE): Define.

* readelf.c (CHECK_ENTSIZE_VALUES, CHECK_ENTSIZE): Define.
(process_section_headers): Use it.
(process_relocs): Don't crash if symsec is not SHT_SYMTAB
or SHT_DYNSYM.
(process_version_sections): Use sizeof (Elf_External_Versym)
instead of sh_entsize.

19 years ago * fhandler.h (fhandler_union): Add missing members corresponding to
Corinna Vinschen [Fri, 17 Jun 2005 11:44:45 +0000 (11:44 +0000)]
* fhandler.h (fhandler_union): Add missing members corresponding to
fhandler_fifo and fhandler_netdrive.

19 years agobfd/
Jan Beulich [Fri, 17 Jun 2005 08:03:59 +0000 (08:03 +0000)]
bfd/
2005-06-17  Jan Beulich  <jbeulich@novell.com>

* bfd-in2.h (elf_x86_64_reloc_type): Add BFD_RELOC_X86_64_GOTOFF64
and BFD_RELOC_X86_64_GOTPC32.
* libbfd.h (bfd_reloc_code_real_names): Likewise.
* elf64-x86-64.c (x86_64_elf_howto_table): Add entries for
R_X86_64_PC64, R_X86_64_GOTOFF64, and R_X86_64_GOTPC32.
(x86_64_reloc_map): Add entries for R_X86_64_PC64, R_X86_64_GOTOFF64,
and R_X86_64_GOTPC32.
(elf64_x86_64_info_to_howto): Adjust bounding relocation type.
(elf64_x86_64_check_relocs): Also handle R_X86_64_PC64,
R_X86_64_GOTOFF64, and R_X86_64_GOTPC32.
(elf64_x86_64_relocate_section): Likewise.
(elf64_x86_64_gc_sweep_hook): Also handle R_X86_64_PC64.

gas/
2005-06-17  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.c (reloc): Also handle BFD_RELOC_64_PCREL.
(tc_i386_fix_adjustable): Include BFD_RELOC_X86_64_GOTOFF64,
BFD_RELOC_X86_64_DTPOFF64, and BFD_RELOC_X86_64_TPOFF64.
(output_disp): Do GOTPC conversion also for BFD_RELOC_X86_64_32S
and BFD_RELOC_32_PCREL. Use BFD_RELOC_X86_64_GOTPC32 instead of
aborting.
(output_imm): Do GOTPC conversion also for BFD_RELOC_X86_64_32S.
Use BFD_RELOC_X86_64_GOTPC32 instead of aborting.
(tc_gen_reloc): Do GOTPC conversion also for BFD_RELOC_32_PCREL.
Use BFD_RELOC_X86_64_GOTPC32 instead of aborting. Also handle
BFD_RELOC_X86_64_GOTOFF64, BFD_RELOC_X86_64_GOTPC32,
BFD_RELOC_X86_64_DTPOFF64, and BFD_RELOC_X86_64_TPOFF64. Also
convert 8-byte pc-relative relocations.
(lex_got): Use BFD_RELOC_X86_64_GOTOFF64 for 64-bit @gotoff.
(i386_validate_fix): Likewise.
(x86_cons): Also handle quad values in 64-bit mode.
(i386_displacement): Also handle BFD_RELOC_X86_64_GOTOFF64.
(md_apply_fix): Include BFD_RELOC_X86_64_DTPOFF64 and
BFD_RELOC_X86_64_TPOFF64 in the TLS check. Also convert BFD_RELOC_64
to pc-relative variant. Also check for BFD_RELOC_64_PCREL.

gas/testsuite/
2005-06-17  Jan Beulich  <jbeulich@novell.com>

* gas/i386/x86-64-pcrel.s: Add insn requiring 64-bit pc-relative
relocation. Add insns for all widths of non-pc-relative relocations.
* gas/i386/x86-64-pcrel.d: Adjust.

include/elf/
2005-06-17  Jan Beulich  <jbeulich@novell.com>

* x86-64.h (elf_x86_64_reloc_type): Adjust comment for
R_X86_64_GOTPCREL. Add R_X86_64_PC64, R_X86_64_GOTOFF64, and
R_X86_64_GOTPC32.

19 years ago2005-06-16 Christopher Faylor <cgf@timesys.com>
Jeff Johnston [Thu, 16 Jun 2005 19:14:01 +0000 (19:14 +0000)]
2005-06-16  Christopher Faylor  <cgf@timesys.com>

        * libc/stdio/vfprintf.c (cvt): Don't rely on pointer aliasing to
        determine characteristics of long double.  Use a union instead.
        * ldtoa.c (_ldtoa_r): Ditto.
        (_ldcheck): Ditto.
        (_strtold): Ditto.
        (union uconv): New union.

19 years ago * syscalls.cc (statvfs): Handle the case when GetDiskFreeSpaceEx
Corinna Vinschen [Thu, 16 Jun 2005 15:46:40 +0000 (15:46 +0000)]
* syscalls.cc (statvfs): Handle the case when GetDiskFreeSpaceEx
succeeds but GetDiskFreeSpace fails by faking bytes-per-sector and
sectors-per-cluster values.

19 years ago * profile/profile.h (_MCOUNT_CALL): Define as regparm(2)
Danny Smith [Thu, 16 Jun 2005 12:14:21 +0000 (12:14 +0000)]
* profile/profile.h (_MCOUNT_CALL): Define as regparm(2)
(_MCOUNT_DECL): Use it.
(MCOUNT): Save and restore eax, ecx, edx registers.
* profile/mcount.c (_mcount): ANSI-fy.

19 years ago * include/_mingw.h (__MINGW_GNUC_PREREQ): Define. Use to
Danny Smith [Thu, 16 Jun 2005 11:41:49 +0000 (11:41 +0000)]
* include/_mingw.h (__MINGW_GNUC_PREREQ): Define. Use to
guard __MINGW_ATTRIB macro definitions.
* include/math.h (logb[fl]):  Don't define inlines for
GCC-4.0+ && __FAST_MATH__.
(rint[fl], lrint[fl], llrint[fl]); Likewise.  Clean up
line-continuation backslashes.

19 years agoadd missing entry
Christopher Faylor [Wed, 15 Jun 2005 22:51:05 +0000 (22:51 +0000)]
add missing entry

19 years ago* cygthread.cc (cygthread::detach): Fix debugging output.
Christopher Faylor [Wed, 15 Jun 2005 22:50:31 +0000 (22:50 +0000)]
* cygthread.cc (cygthread::detach): Fix debugging output.
* dcrt0.cc (dll_crt0_1): Create signal_arrived early -- before any filename
manipulation.
* sigproc.cc (sigproc_init): Don't create signal_arrived here.
* fork.cc (fork_child): Ditto.

19 years ago* path.cc (path_conv::check): Always reset to FH_FS when component != 0 and
Christopher Faylor [Tue, 14 Jun 2005 23:52:53 +0000 (23:52 +0000)]
* path.cc (path_conv::check): Always reset to FH_FS when component != 0 and
FH_NETDRIVE to fix problems with strict case checking.

19 years ago PR libgcj/19877:
Tom Tromey [Tue, 14 Jun 2005 20:27:38 +0000 (20:27 +0000)]
PR libgcj/19877:
* no-executables.m4: Call real AC_FUNC_MMAP when cache variable
is set but not 'no'.

19 years ago * parse_pe.c (exclusion::sort_and_check): Remove crude cast.
Corinna Vinschen [Tue, 14 Jun 2005 12:42:57 +0000 (12:42 +0000)]
* parse_pe.c (exclusion::sort_and_check): Remove crude cast.

19 years ago * sysv_sem.cc (semu_list): Define static to avoid gcc 4.x compiler
Corinna Vinschen [Tue, 14 Jun 2005 12:22:14 +0000 (12:22 +0000)]
* sysv_sem.cc (semu_list): Define static to avoid gcc 4.x compiler
warning.

19 years ago* depstand.m4, lead-dot.m4: New files.
DJ Delorie [Mon, 13 Jun 2005 18:06:59 +0000 (18:06 +0000)]
* depstand.m4, lead-dot.m4: New files.

19 years ago* depcomp: Update from automake CVS. Add 'ia64hp' stanza.
DJ Delorie [Mon, 13 Jun 2005 18:01:01 +0000 (18:01 +0000)]
* depcomp: Update from automake CVS.  Add 'ia64hp' stanza.
In 'cpp' stanza, support '#line' as well as '# '.

19 years ago * fhandler_socket.cc (fhandler_socket::recvmsg): Avoid SEGV in OpenSSH
Corinna Vinschen [Sun, 12 Jun 2005 12:01:09 +0000 (12:01 +0000)]
* fhandler_socket.cc (fhandler_socket::recvmsg): Avoid SEGV in OpenSSH
when trying to pass file descriptor by setting msg->msg_accrightslen
to 0.

19 years ago* Makefile.in: Avoid initial heap allocation since cygwin has its own heap.
Christopher Faylor [Sat, 11 Jun 2005 21:00:23 +0000 (21:00 +0000)]
* Makefile.in: Avoid initial heap allocation since cygwin has its own heap.

19 years ago * hppa.h (pa_opcodes): Use cM and cX instead of cm and cx,
John David Anglin [Sat, 11 Jun 2005 15:33:52 +0000 (15:33 +0000)]
* hppa.h (pa_opcodes): Use cM and cX instead of cm and cx,
respectively, in various floating-point load and store patterns.

19 years ago* fhandler_console.cc (fhandler_console::read): Fix a compiler warning.
Christopher Faylor [Sat, 11 Jun 2005 05:09:25 +0000 (05:09 +0000)]
* fhandler_console.cc (fhandler_console::read): Fix a compiler warning.

19 years ago* winsup.api/pthread/cancel2.c: Use explicit initializer for mutex.
Christopher Faylor [Sat, 11 Jun 2005 04:59:53 +0000 (04:59 +0000)]
* winsup.api/pthread/cancel2.c: Use explicit initializer for mutex.
* winsup.api/pthread/mutex4.c (main): Ditto.
* winsup.api/pthread/mutex5.c: Reflect change in cygwin default mutex type.
* winsup.api/pthread/mutex6d.c: Ditto.

19 years ago* include/pthread.h: Change PTHREAD_MUTEX_DEFAULT to PTHREAD_MUTEX_NORMAL.
Christopher Faylor [Sat, 11 Jun 2005 04:56:36 +0000 (04:56 +0000)]
* include/pthread.h: Change PTHREAD_MUTEX_DEFAULT to PTHREAD_MUTEX_NORMAL.
Revert PTHREAD_MUTEX_INITIALIZER to PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP
since that is actually closer to what linux does.
* thread.h (cw_cancel_action): New enum.
(cancelable_wait): Use cw_cancel_action as third argument.
* thread.cc (cancelable_wait): Ditto.  Don't wait for cancel if cancel_action
== cw_no_cancel.
(pthread::create): Don't wait for cancel event since that is racy.
(pthread_mutex::pthread_mutex): Set default to PTHREAD_MUTEX_ERRORCHECK.
(pthread_mutexattr::pthread_mutexattr): Ditto.
(pthread_mutex::_lock): Tell cancelable_wait not to wait for cancellation
event.
(semaphore::_timedwait): Accommodate change in cancelable_wait args.
(pthread::join): Ditto.

19 years ago * fhandler_socket.cc (fhandler_socket::sendto): Always initialize
Corinna Vinschen [Fri, 10 Jun 2005 21:47:24 +0000 (21:47 +0000)]
* fhandler_socket.cc (fhandler_socket::sendto): Always initialize
ret to 0.
(fhandler_socket::sendmsg): Ditto.

19 years ago* winsup.api/winsup.exp: Remove (temporarily?) -nostdinc from build since it
Christopher Faylor [Fri, 10 Jun 2005 19:32:29 +0000 (19:32 +0000)]
* winsup.api/winsup.exp: Remove (temporarily?) -nostdinc from build since it
causes compile failures with gcc 3.4.4.

19 years agowhitespace changes to hopefully force snapshot run.
Christopher Faylor [Fri, 10 Jun 2005 18:44:26 +0000 (18:44 +0000)]
whitespace changes to hopefully force snapshot run.

19 years ago * cygwin.din (imaxabs): Export.
Corinna Vinschen [Fri, 10 Jun 2005 12:11:35 +0000 (12:11 +0000)]
* cygwin.din (imaxabs): Export.
(imaxdiv): Export.
(llabs): Export.
(lldiv): Export.
(strtoimax): Export.
(strtoumax): Export.
* include/inttypes.h (imaxabs): Activate declaration.
(imaxdiv): Ditto.
(strtoimax): Ditto.
(strtoumax): Ditto.
* include/cygwin/version.h: Bump API minor.

19 years ago* cygthread.cc (cygthread::detach): Improve diagnostics for what should be an
Christopher Faylor [Thu, 9 Jun 2005 23:48:08 +0000 (23:48 +0000)]
* cygthread.cc (cygthread::detach): Improve diagnostics for what should be an
impossible failure condition.

19 years ago* cygtls.h (_local_storage::setmode_file): New element.
Christopher Faylor [Thu, 9 Jun 2005 22:33:57 +0000 (22:33 +0000)]
* cygtls.h (_local_storage::setmode_file): New element.
(_local_storage::setmode_mode): New element.
* tlsoffsets.h: Regenerate.
* cygwin.din (setmode): Define as cygwin_getmode.
* syscalls.cc (setmode_helper): Use setmode_* variables from tls rather than
using unthreadsafe static.
(setmode): Break out fwalk stuff.
(cygwin_setmode): New function.  Put fwalk stdio stuff here.

19 years ago* thread.cc (pthread_mutex::_lock): Use cancelable_wait rather than
Christopher Faylor [Thu, 9 Jun 2005 20:59:59 +0000 (20:59 +0000)]
* thread.cc (pthread_mutex::_lock): Use cancelable_wait rather than
WaitForSingleObject.

19 years ago* cygwin.sc: Place .cygwin_dll_common in a more sensible spot.
Christopher Faylor [Thu, 9 Jun 2005 20:46:00 +0000 (20:46 +0000)]
* cygwin.sc: Place .cygwin_dll_common in a more sensible spot.

19 years ago* cygwin.sc: Place .cygwin_dll_common.
Christopher Faylor [Thu, 9 Jun 2005 19:29:27 +0000 (19:29 +0000)]
* cygwin.sc: Place .cygwin_dll_common.
* init.cc (threadfunc_ix): Use a more common name for the section name.

19 years ago* include/pthread.h (PTHREAD_MUEXT_INITIALIZER): Change to
Christopher Faylor [Thu, 9 Jun 2005 15:30:44 +0000 (15:30 +0000)]
* include/pthread.h (PTHREAD_MUEXT_INITIALIZER): Change to
PTHREAD_NORMAL_MUTEX_INITIALIZER_NP to be closer to linux default.

19 years ago* thread.cc (cancelable_wait): No-op change to make sure that res is always a
Christopher Faylor [Thu, 9 Jun 2005 05:14:02 +0000 (05:14 +0000)]
* thread.cc (cancelable_wait): No-op change to make sure that res is always a
valid WFMO return.

19 years agoChange pthread::cancelable_wait to just cancelable_wait, throughout.
Christopher Faylor [Thu, 9 Jun 2005 05:11:51 +0000 (05:11 +0000)]
Change pthread::cancelable_wait to just cancelable_wait, throughout.
* thread.h (cw_sig_wait): New enum.
(fast_mutex::lock): Use cancelable_wait with resumable signal.
(cancelable_wait): Change fourth argument to cw_sig_wait enum.
* thread.cc (cancelable_wait): Ditto.  Loop on signal detection if fourth
argument == cw_sig_resume.

19 years ago* cygwin.sc: Apparently nonloading sections need to go last.
Christopher Faylor [Wed, 8 Jun 2005 20:56:34 +0000 (20:56 +0000)]
* cygwin.sc: Apparently nonloading sections need to go last.

19 years ago* cygwin.sc: Restore resource and reloc sections and use more modern syntax for
Christopher Faylor [Wed, 8 Jun 2005 20:18:23 +0000 (20:18 +0000)]
* cygwin.sc: Restore resource and reloc sections and use more modern syntax for
stabs sections.

19 years agoopcodes:
Zack Weinberg [Wed, 8 Jun 2005 17:27:41 +0000 (17:27 +0000)]
opcodes:
* arm-opc.h: Delete; fold contents into ...
* arm-dis.c: ... here.  Move includes of internal COFF headers
next to includes of internal ELF headers.
(streq, WORD_ADDRESS, BDISP, BDISP23): Delete, unused.
(struct arm_opcode): Rename struct opcode32.  Make 'assembler' const.
(struct thumb_opcode): Rename struct opcode16.  Make 'assembler' const.
(arm_conditional, arm_fp_const, arm_shift, arm_regname, regnames)
(iwmmxt_wwnames, iwmmxt_wwssnames):
Make const.
(regnames): Remove iWMMXt coprocessor register sets.
(iwmmxt_regnames, iwmmxt_cregnames): New statics.
(get_arm_regnames): Adjust fourth argument to match above changes.
(set_iwmmxt_regnames): Delete.
(print_insn_arm): Constify 'c'.  Use ISO syntax for function
pointer calls.  Expand sole use of BDISP.  Use iwmmxt_regnames
and iwmmxt_cregnames, not set_iwmmxt_regnames.
(print_insn_thumb16, print_insn_thumb32): Constify 'c'.  Use
ISO syntax for function pointer calls.
include:
* dis-asm.h (get_arm_regnames): Update prototype.

19 years ago* environ.cc (spenvs): Remove cut/paste error which associated CYGWIN_DEBUG
Christopher Faylor [Wed, 8 Jun 2005 15:42:58 +0000 (15:42 +0000)]
* environ.cc (spenvs): Remove cut/paste error which associated CYGWIN_DEBUG
with HOME.

19 years ago * security.cc (cygwin_logon_user): Run LogonUser in the primary
Corinna Vinschen [Wed, 8 Jun 2005 10:06:17 +0000 (10:06 +0000)]
* security.cc (cygwin_logon_user): Run LogonUser in the primary
process token context.  Fix potential handle leak.

19 years ago * common.h (EM_MS1): Define.
Aldy Hernandez [Tue, 7 Jun 2005 21:10:08 +0000 (21:10 +0000)]
* common.h (EM_MS1): Define.

* ms1.h: New file.

19 years ago * dis-asm.h: Externalize print_insn_ms1.
Aldy Hernandez [Tue, 7 Jun 2005 21:08:36 +0000 (21:08 +0000)]
* dis-asm.h: Externalize print_insn_ms1.

19 years ago * pinfo.cc (pinfo::init): Define sa_buf as PSECURITY_ATTRIBUTES and
Corinna Vinschen [Tue, 7 Jun 2005 19:31:42 +0000 (19:31 +0000)]
* pinfo.cc (pinfo::init): Define sa_buf as PSECURITY_ATTRIBUTES and
allocate dynamically.
(pinfo::set_acl): Replace sa_buf by dynamically allocated acl_buf.
* sec_acl.cc (setacl): Allocate acl dynamically.
* sec_helper.cc (sec_acl): Add test for alignment of acl when
DEBUGGING is defined.
(__sec_user): Same for sa_buf.
* security.cc (verify_token): Define sd_buf as PSECURITY_DESCRIPTOR
and allocate dynamically.
(alloc_sd): Allocate acl dynamically.
security.h (sec_user_nih): Change first parameter to
SECURITY_ATTRIBUTES *.
(sec_user): Ditto.
* sigproc.cc (wait_sig): Define sa_buf as PSECURITY_ATTRIBUTES and
allocate dynamically.
* syscalls.cc (seteuid32): Define dacl_buf as PACL and allocate
dynamically.
* uinfo.cc (cygheap_user::init): Define sa_buf as PSECURITY_ATTRIBUTES
and allocate dynamically.
* winbase.h (ilockincr): Mark first argument of inline assembly as
earlyclobber.
(ilockdecr): Ditto.

19 years ago* cygthread.cc (cygthread::detach): Make error message a little more detailed.
Christopher Faylor [Tue, 7 Jun 2005 18:41:31 +0000 (18:41 +0000)]
* cygthread.cc (cygthread::detach): Make error message a little more detailed.
* fhandler.cc (fhandler_base::raw_read): Ditto for debug message.
* dcrt0.cc (do_exit): Add some more synchronization tests.
* fhandler_fifo.cc (fhandler_fifo::dup): Don't duplicate a nonexistent handle.
Use derived return value rather than always retuning 0.
* fhandler_netdrive.cc (fhandler_netdrive::exists): Wnet -> WNet.
* winsup.h (exit_states): Add a couple of new exit states.

19 years ago * configure.in <cris-*, crisv32-*>: Enable target-libffi again for
Hans-Peter Nilsson [Tue, 7 Jun 2005 09:33:44 +0000 (09:33 +0000)]
* configure.in <cris-*, crisv32-*>: Enable target-libffi again for
*-*-linux* and *-*-elf.
* configure: Regenerate.

19 years agoSync with gcc-toplevel
Hans-Peter Nilsson [Tue, 7 Jun 2005 06:18:26 +0000 (06:18 +0000)]
Sync with gcc-toplevel

19 years ago * configure.in (unsupported_languages): New macro.
Hans-Peter Nilsson [Tue, 7 Jun 2005 00:04:15 +0000 (00:04 +0000)]
* configure.in (unsupported_languages): New macro.
<mmix-knuth-mmixware>: Set unsupported_languages.  Name explicit
non-ported target libraries in noconfigdirs.
<cris-*, crisv32-*> Ditto, except for non-aout, non-elf,
non-linux-gnu.  Remove libgcj_ex_libffi.
  <lang_frag loop>: Set add_this_lang=no if the language is in
unsupported_languages.
* configure: Regenerate.

19 years agomerge from gcc
DJ Delorie [Mon, 6 Jun 2005 22:13:35 +0000 (22:13 +0000)]
merge from gcc

19 years ago* cygload/cygload.exp: .cpp -> .cc.
Christopher Faylor [Mon, 6 Jun 2005 21:28:22 +0000 (21:28 +0000)]
* cygload/cygload.exp: .cpp -> .cc.

19 years ago* Makefile.in: Test cygload.
Christopher Faylor [Mon, 6 Jun 2005 21:13:31 +0000 (21:13 +0000)]
* Makefile.in: Test cygload.
* cygload: New directory.
* cygload/README: New file.
* cygload/Makefile: Ditto.
* cygload/cygload.h: Ditto.
* cygload/cygload.cc: Ditto.
* cygload/cygload.exp: Ditto.

19 years agoreformat ChangeLog entry slightly.
Christopher Faylor [Mon, 6 Jun 2005 21:12:00 +0000 (21:12 +0000)]
reformat ChangeLog entry slightly.

19 years ago* configure.in: Fix typo in handling of --with-mpfr-dir.
DJ Delorie [Mon, 6 Jun 2005 18:36:50 +0000 (18:36 +0000)]
* configure.in: Fix typo in handling of --with-mpfr-dir.
* configure: Regenerate.

19 years ago * path.cc (symlink_info::check): If GetFileAttributes returns
Corinna Vinschen [Mon, 6 Jun 2005 16:58:39 +0000 (16:58 +0000)]
* path.cc (symlink_info::check): If GetFileAttributes returns
with ERROR_SHARING_VIOLATION, the file exists.

19 years ago * uname.cc (uname): Change "amd64" to "x86_64" as on Linux.
Corinna Vinschen [Mon, 6 Jun 2005 16:17:10 +0000 (16:17 +0000)]
* uname.cc (uname): Change "amd64" to "x86_64" as on Linux.

19 years ago * uname.cc (uname): Add missing break.
Corinna Vinschen [Mon, 6 Jun 2005 15:58:08 +0000 (15:58 +0000)]
* uname.cc (uname): Add missing break.

19 years ago * include/_mingw.h (__MINGW_ATTRIBUTE_NONNULL): Fix typo
Danny Smith [Mon, 6 Jun 2005 08:21:53 +0000 (08:21 +0000)]
* include/_mingw.h (__MINGW_ATTRIBUTE_NONNULL): Fix typo
in GNUC version guard.

19 years ago* Makefile.in: Build sync.o with -fomit-frame-pointer and -O3.
Christopher Faylor [Sun, 5 Jun 2005 04:15:16 +0000 (04:15 +0000)]
* Makefile.in: Build sync.o with -fomit-frame-pointer and -O3.

19 years ago* sync.cc (muto::acquire): Remove unneeded brackets and fix whitespace.
Christopher Faylor [Sun, 5 Jun 2005 04:07:46 +0000 (04:07 +0000)]
* sync.cc (muto::acquire): Remove unneeded brackets and fix whitespace.

19 years ago* malloc.cc: Update to Doug Lea's malloc v2.8.0.
Christopher Faylor [Sun, 5 Jun 2005 03:47:36 +0000 (03:47 +0000)]
* malloc.cc: Update to Doug Lea's malloc v2.8.0.

19 years agoSlight rearragement
Joshua Daniel Franklin [Sun, 5 Jun 2005 02:16:07 +0000 (02:16 +0000)]
Slight rearragement

19 years ago* how-programming.texinfo: Add "How do I load cygwin1.dll dynamically from a
Christopher Faylor [Sat, 4 Jun 2005 02:14:13 +0000 (02:14 +0000)]
* how-programming.texinfo: Add "How do I load cygwin1.dll dynamically from a
Visual Studio or MinGW application?"

19 years ago* dcrt0.cc (cygwin_dll_init): Now initializes main_environ and cygtls. Comment
Christopher Faylor [Sat, 4 Jun 2005 02:11:50 +0000 (02:11 +0000)]
* dcrt0.cc (cygwin_dll_init): Now initializes main_environ and cygtls.  Comment
to explain the caveats of this method.
* how-cygtls-works.txt: New file.

19 years ago2005-06-03 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 3 Jun 2005 18:57:30 +0000 (18:57 +0000)]
2005-06-03  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdlib/mallocr.c (MALLOC_COPY): Switch to use memmove
        instead of memcpy.

19 years agoinclude/
Alan Modra [Fri, 3 Jun 2005 09:52:47 +0000 (09:52 +0000)]
include/
* bfdlink.h (struct bfd_link_callbacks): Add einfo.
bfd/
* configure.in: Bump version
* configure: Regenerate.
* elflink.c (elf_link_input_bfd): Use einfo linker callback to print
discarded section sym refs and kill linker output.
* simple.c (simple_dummy_einfo): New function.
(bfd_simple_get_relocated_section_contents): Init callbacks.einfo.
ld/
* ldmain.c (link_callbacks): Add einfo.
(add_archive_element): Use passed info, not link_info.
(constructor_callback): Likewise.
(reloc_overflow): Don't handle null bfd specially.
(reloc_dangerous, unattached_reloc): Likewise.
* ldmisc.c (vfinfo <B>): Print "ld generated" for null bfd.
(vfinfo <C, D, G>): Handle null bfd.  Wrap comments.

19 years ago* dlfcn.cc (get_full_path_of_dll): Use a relative path when converting so that
Christopher Faylor [Fri, 3 Jun 2005 01:07:40 +0000 (01:07 +0000)]
* dlfcn.cc (get_full_path_of_dll): Use a relative path when converting so that
the standard Windows rules for finding a library will be used if no path is
given.  Stop explicitly searching /usr/bin since that is now in effect.

19 years ago* config.sub: Add cases for the Renesas m32c. (This patch has been
Jim Blandy [Thu, 2 Jun 2005 21:23:04 +0000 (21:23 +0000)]
* config.sub: Add cases for the Renesas m32c.  (This patch has been
accepted into the master sources.)

19 years ago * configure.in: Set noconfigdirs for ms1.
Aldy Hernandez [Thu, 2 Jun 2005 19:56:31 +0000 (19:56 +0000)]
    * configure.in: Set noconfigdirs for ms1.

        * configure: Regenerate.

19 years agomerge from gcc
DJ Delorie [Thu, 2 Jun 2005 03:05:03 +0000 (03:05 +0000)]
merge from gcc

19 years agoRevert 2005-05-30 close_all_files changes.
Christopher Faylor [Thu, 2 Jun 2005 02:36:50 +0000 (02:36 +0000)]
Revert 2005-05-30 close_all_files changes.
* spawn.cc (spawn_guts): When execing, close all files after the child has
synced with us.

19 years ago* fhandler_disk_file.cc (fhandler_disk_file::fchown): Make sure that disk open
Christopher Faylor [Thu, 2 Jun 2005 01:50:23 +0000 (01:50 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fchown): Make sure that disk open
is called in case we're passed in a non-existent device.

19 years ago* include/machine/stdlib.h: New file.
Christopher Faylor [Wed, 1 Jun 2005 18:24:31 +0000 (18:24 +0000)]
* include/machine/stdlib.h: New file.

19 years ago* thread.h (List_remove): Revert most of 2005-05-30 change.
Christopher Faylor [Wed, 1 Jun 2005 14:55:45 +0000 (14:55 +0000)]
* thread.h (List_remove): Revert most of 2005-05-30 change.

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