]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
18 years ago * libc/include/sys/features.h: Define _POSIX_MEMLOCK_RANGE for Cygwin.
Corinna Vinschen [Tue, 18 Oct 2005 18:39:46 +0000 (18:39 +0000)]
* libc/include/sys/features.h: Define _POSIX_MEMLOCK_RANGE for Cygwin.

18 years ago* sigproc.cc (child_info::sync): Use correct name when closing to prevent
Christopher Faylor [Tue, 18 Oct 2005 15:13:13 +0000 (15:13 +0000)]
* sigproc.cc (child_info::sync): Use correct name when closing to prevent
warnings when DEBUGGING.
* spawn.cc (spawn_guts): Set myself.hProcess to pi.hProcess since this may have
been zeroed by the previous sync.

18 years ago* sigproc.cc (child_info::sync): Fix typo which caused hProcess to never be
Christopher Faylor [Tue, 18 Oct 2005 04:20:46 +0000 (04:20 +0000)]
* sigproc.cc (child_info::sync): Fix typo which caused hProcess to never be
cleared.  Only clear hProcess when not forking.

18 years agoChange process_lock to lock_process throughout. Change all calls to new
Christopher Faylor [Mon, 17 Oct 2005 23:27:00 +0000 (23:27 +0000)]
Change process_lock to lock_process throughout.  Change all calls to new
cygthread to handle extra argument, throughout.
* cygthread.h (cygthread::callproc): Declare new method.
(cygthread::cygthread): Add optional length argument to allow copying arguments
to executing thread.
* cygthread.cc (cygthread::callproc): Define new method.
(cygthread::stub): Use callfunc to invoke thread func to allow potentially
allocating stack memory which will be returned.
(cygthread::simplestub): Ditto.
(cygthread::cygthread): Accept arglen argument.  Reset ev here prior to
activating thread.  Wait for ev after activating thread if we're copying
contents to the thread.  Wait until the end before setting h, to allow thread
synchronization.
(cygthread::release): Don't reset ev here.  Rely on that happening the next
time the thread is activated.
* pinfo.h (commune_process): Rename declaration from _pinfo::commune_process.
* pinfo.cc (commune_process): Ditto for definition.  Modify slightly to allow
running as a separate cygthread.
* sigproc.cc (child_info::sync): Always wait for both subproc_ready and any
hProcess if we have a cygwin parent.
(talktome): Change argument to be a pointer to siginfo_t.  Contiguously
allocate whole siginfo_t structure + any needed extra for eventual passing to
commune_process thread.
(wait_sig): Accommodate change in talktome argument.
* pipe.cc (fhandler_pipe::fixup_after_exec): Remove debugging.

18 years ago * autoload.cc: Never load wsock32.dll. Load all wsock32 function
Corinna Vinschen [Mon, 17 Oct 2005 21:22:18 +0000 (21:22 +0000)]
* autoload.cc: Never load wsock32.dll. Load all wsock32 function
from ws2_32.  Rearrange symbol order accordingly.  None of the ws2_32
functions is optional right now.
(wsadata): Move from net.cc here.  Define NO_COPY.
(wsock_init): Drop unused symbols ws2_32_handle and wsock32_handle.
(load_wsock32): Remove.
(WSACleanup): Remove.
* fhandler_socket.cc: Drop Winsock 1 accommodations throughout.
(fhandler_socket::readv): Accomodate new POSIX style struct msghdr.
(fhandler_socket::writev): Ditto.
(fhandler_socket::recvmsg): Ditto. Handle "old" applications using
former struct msghdr correctly.
* net.cc: Drop Winsock 1 accommodations throughout.
(wsadata): Move definition to autoload.cc.
(set_socket_inheritance): Remove.
(convert_ws1_ip_optname): New static function to convert Winsock1
IPPROTO_IP option values into Winsock2 IPPROTO_IP option values.
(cygwin_setsockopt): Remove wrong and incomplete cleartext printing
of optname.  For "old" applications, convert optname from Winsock1
to Winsock2 values before using them.  Add comment to describe the
IP_TOS weirdness on W2K and above.
(cygwin_getsockopt): Remove wrong and incomplete cleartext printing
of optname.  For "old" applications, convert optname from Winsock1
to Winsock2 values before using them.
* select.cc (start_thread_socket): Forget about winsock2_active.
* winsup.h (wsock32_handle): Remove declaration.
(ws2_32_handle): Ditto.
(netapi32_handle): Ditto.
(wsadata): Ditto.
(winsock2_active): Remove definition.
* include/cygwin/socket.h: Change formatting slightly.
(socklen_t): Move definition up in file.
(struct msghdr): Convert to POSIX style.
(struct cmsghdr): New type.
(CMSG_ALIGN): New macro.
(CMSG_LEN): Ditto.
(CMSG_SPACE): Ditto.
(CMSG_FIRSTHDR): Ditto.
(CMSG_NXTHDR): Ditto.
(CMSG_DATA): Ditto.
(SCM_RIGHTS): Ditto.
(struct OLD_msghdr): Define old msghdr structure for Cygwin internal
purposes.
(MSG_TRUNC): New macro.
(MSG_CTRUNC): Ditto.
(IP_OPTIONS): Redefine IPPROTO_IP option values to Winsock2 values.
Keep Winsock1 values for Cygwin internal purposes.
* include/cygwin/version.h: Bump API minor version.
(CYGWIN_VERSION_CHECK_FOR_USING_ANCIENT_MSGHDR): Define to check for
applications using old struct msghdr.
(CYGWIN_VERSION_CHECK_FOR_USING_WINSOCK1_VALUES): Define to check for
applications using old Winsock1 IPPROTO_IP values.

18 years ago2005-10-17 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 17 Oct 2005 21:17:17 +0000 (21:17 +0000)]
2005-10-17  Jeff Johnston  <jjohnstn@redhat.com>

        * arm/configure.in: Support building crt0.o when syscalls
        are disabled in newlib.
        * arm/configure: Regenerated.

18 years ago * configure.in (bfin-*-*): Use test, not brackets, in if statement.
Bernd Schmidt [Mon, 17 Oct 2005 12:54:34 +0000 (12:54 +0000)]
* configure.in (bfin-*-*): Use test, not brackets, in if statement.
* configure: Regenerate.

18 years agoCheck in previously ChangeLoged entry.
Christopher Faylor [Mon, 17 Oct 2005 03:20:20 +0000 (03:20 +0000)]
Check in previously ChangeLoged entry.

18 years ago * hppa.h (pa_opcodes): Add two fcmp opcodes. Reorder ftest opcodes.
John David Anglin [Sun, 16 Oct 2005 20:42:14 +0000 (20:42 +0000)]
* hppa.h (pa_opcodes): Add two fcmp opcodes.  Reorder ftest opcodes.
Add FLAG_STRICT to pa10 ftest opcode.

18 years ago * include/limits.h (SSIZE_MAX): Define.
Danny Smith [Sat, 15 Oct 2005 22:35:55 +0000 (22:35 +0000)]
* include/limits.h (SSIZE_MAX): Define.
(LLONG_MAX, LLONG_MIN, ULLONG_MAX): Separate from non-ISO names.

18 years ago2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 14 Oct 2005 21:11:39 +0000 (21:11 +0000)]
2005-10-14  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/math.h (HUGE_VALF, HUGE_VALL): New.
        * libm/common/Makefile.am: Add s_infconst.c support.
        * libm/common/Makefile.in: Regenerated.
        * libm/common/s_infconst.c: New file with float and
        long double infinity support added.
        * libm/math/Makefile.am: Remove s_infconst.c support.
        * libm/math/Makefile.in: Regenerated.
        * libm/math/s_infconst.c: Moved to common directory.
        * libm/mathfp/Makefile.am: Remove s_infconst.c support.
        * libm/mathfp/Makefile.in: Regenerated.
        * libm/mathfp/s_infconst.c: Moved to common directory.

18 years ago2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 14 Oct 2005 21:06:20 +0000 (21:06 +0000)]
2005-10-14  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/net/gethostbydns.c (dprintf): Rename to
        dbgprintf to prevent conflict with new dprintf function.

18 years ago2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 14 Oct 2005 21:03:13 +0000 (21:03 +0000)]
2005-10-14  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix up "inf" and
        "nan" processing for systems that have long double support.

18 years ago2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 14 Oct 2005 20:01:55 +0000 (20:01 +0000)]
2005-10-14  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/sys/types.h (int8_t): Add type.

18 years ago2005-10-14 Bob Wilson <bob.wilson@acm.org>
Jeff Johnston [Fri, 14 Oct 2005 18:55:57 +0000 (18:55 +0000)]
2005-10-14  Bob Wilson  <bob.wilson@acm.org>

        * libm/common/Makefile.am (doc): Do not append to $(TARGETDOC).
        * libm/common/Makefile.in: Regenerate.
        * libm/common/common.tex: Delete file.
        * libm/math/math.tex: Include .def files from common/.
        * libm/mathfp/mathfp.tex: Likewise.

18 years ago2005-10-14 Bob Wilson <bob.wilson@acm.org>
Jeff Johnston [Fri, 14 Oct 2005 18:45:19 +0000 (18:45 +0000)]
2005-10-14  Bob Wilson  <bob.wilson@acm.org>

        * libc/libc.texinfo (Top): Surround this node with @ifnottex
        instead of @ifinfo.  Update menu to add Introduction and match
        SUBDIRS order.
        (Introduction): New section.

18 years ago2005-10-14 Bob Wilson <bob.wilson@acm.org>
Jeff Johnston [Fri, 14 Oct 2005 18:37:24 +0000 (18:37 +0000)]
2005-10-14  Bob Wilson  <bob.wilson@acm.org>

        * libc/reent/reent.tex (Reentrancy): Replace "Cygnus C Library"
        with "Red Hat newlib C Library".
        * libc/sys.tex (Stubs): Likewise.
        * libm/math/math.tex (Math): Likewise.
        * libm/mathfp/mathfp.tex (Math): Likewise.

18 years ago* Makefile.in (MKDIRP): Just use raw $(INSTALL) rather than $(INSTALL_DATA).
Christopher Faylor [Fri, 14 Oct 2005 02:15:12 +0000 (02:15 +0000)]
* Makefile.in (MKDIRP): Just use raw $(INSTALL) rather than $(INSTALL_DATA).
Create directories with 755 permissions.

18 years ago2005-10-13 Wu Yongwei <adah@users.sourceforge.net>
Danny Smith [Thu, 13 Oct 2005 20:31:50 +0000 (20:31 +0000)]
2005-10-13  Wu Yongwei  <adah@users.sourceforge.net>

* include/tchar.h: Include <wchar.h> when _UNICODE is defined.
(_TEOF): New macro definition for _UNICODE and non_UNICODE cases.

18 years ago * gas/hppa/basic/basic.exp (do_system): Adjust for removal of lha
John David Anglin [Thu, 13 Oct 2005 02:26:34 +0000 (02:26 +0000)]
* gas/hppa/basic/basic.exp (do_system): Adjust for removal of lha
instructions from system.s.
* gas/hppa/basic/system.s (lha): Remove.

* hppa.h (pa_opcodes): Remove lha entries.

18 years ago* dir.cc (mkdir): Abandon use of PC_WRITABLE.
Christopher Faylor [Wed, 12 Oct 2005 20:38:38 +0000 (20:38 +0000)]
* dir.cc (mkdir): Abandon use of PC_WRITABLE.
(rmdir): Ditto.
* path.h (PC_WRITABLE): Delete.
* path.cc (path_conv::check): Remove PC_WRITABLE accommodations.  Revisit
later.

18 years ago * fhandler_disk_file.cc (fhandler_disk_file::rmdir): Convert an
Corinna Vinschen [Wed, 12 Oct 2005 12:54:34 +0000 (12:54 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::rmdir): Convert an
ERROR_INVALID_FUNCTION into an ERROR_FILE_NOT_FOUND.  Add comment
to explain why.

18 years ago * include/winbase.h (GetProcessId): Remove duplicate declaration.
Danny Smith [Wed, 12 Oct 2005 09:40:29 +0000 (09:40 +0000)]
* include/winbase.h (GetProcessId): Remove duplicate declaration.
Use _WIN32_WINNT >= 0x0501 guard.

18 years ago * include/stddef.h: Remove.
Danny Smith [Wed, 12 Oct 2005 09:02:24 +0000 (09:02 +0000)]
* include/stddef.h: Remove.
* include/stdarg.h: Remove.

18 years ago * mingwex/complex/csqrt.c (csqrt): The sign of real part
Danny Smith [Wed, 12 Oct 2005 06:46:18 +0000 (06:46 +0000)]
* mingwex/complex/csqrt.c (csqrt): The sign of real part
of result is positive when real part of arg == 0;
* mingwex/complex/csqrtf.c (csqrtf): Ditto.
* mingwex/complex/csqrtl.c (csqrtl): Ditto.

18 years ago * include/time.h (_time64): Correct prototype.
Danny Smith [Wed, 12 Oct 2005 00:28:11 +0000 (00:28 +0000)]
* include/time.h (_time64): Correct prototype.

18 years ago2005-10-11 Shaun Jackman <sjackman@gmail.com>
Jeff Johnston [Tue, 11 Oct 2005 23:59:32 +0000 (23:59 +0000)]
2005-10-11  Shaun Jackman  <sjackman@gmail.com>

        * libc/include/stdio.h (dprintf): New declaration.
        (vdprintf): Ditto.
        * libc/stdio/Makefile.am (GENERAL_SOURCES): Add dprintf.c
        and vdprintf.c.
        * libc/stdio/Makefile.in: Regenerate.
        * libc/stdio/dprintf.c: New file.
        * libc/stdio/vdprintf.c: New file.
        * libc/stdio/stdio.tex (dprintf): New entry.

18 years ago2005-10-11 David Weatherford <weath@tensilica.com>
Jeff Johnston [Tue, 11 Oct 2005 22:51:37 +0000 (22:51 +0000)]
2005-10-11  David Weatherford  <weath@tensilica.com>

        * libc/stdio/vfprintf.c (_VFPRINTF_R): Recognize 'F' format.
        Print "inf" and "nan" in lowercase for e/f/g formats and in
        uppercase for E/F/G formats.

18 years agoAdd ChangeLog: * include/winbase.h (GetProcessId): Declare.
Christopher Faylor [Tue, 11 Oct 2005 18:43:54 +0000 (18:43 +0000)]
Add ChangeLog: * include/winbase.h (GetProcessId): Declare.
Revert erroneous include/winsock.h checkin.

18 years agorevert erroneous checkin
Christopher Faylor [Tue, 11 Oct 2005 18:39:02 +0000 (18:39 +0000)]
revert erroneous checkin

18 years ago* Makefile.in: Make sure that directories are created prior to copying to them.
Christopher Faylor [Tue, 11 Oct 2005 18:27:05 +0000 (18:27 +0000)]
* Makefile.in: Make sure that directories are created prior to copying to them.

18 years ago* Makefile.common (CFLAGS_COMMON): Add -Wstrict-aliasing.
Christopher Faylor [Tue, 11 Oct 2005 18:17:59 +0000 (18:17 +0000)]
* Makefile.common (CFLAGS_COMMON): Add -Wstrict-aliasing.

18 years ago* net.cc (cygwin_gethostbyname): Remove debugging.
Christopher Faylor [Tue, 11 Oct 2005 16:35:31 +0000 (16:35 +0000)]
* net.cc (cygwin_gethostbyname): Remove debugging.

18 years ago * syslog.cc (try_connect_syslogd): Add priority parameter. Use writev
Corinna Vinschen [Tue, 11 Oct 2005 16:28:08 +0000 (16:28 +0000)]
* syslog.cc (try_connect_syslogd): Add priority parameter. Use writev
to add the priority to the message in a syslog conformant way.
(vsyslog): If facility isn't set in the priority, use default facility
as given in call to openlog. Fix agressive use of spaces in syslog
output. Call try_connect_syslogd with priority parameter.

18 years ago* (symlink_info::set_error): Change to return bool if input error should be
Christopher Faylor [Tue, 11 Oct 2005 16:06:10 +0000 (16:06 +0000)]
* (symlink_info::set_error): Change to return bool if input error should be
ignored.
(symlink_info::check): Treat path as a normal file if set_error returns false.

18 years ago * configure.in (arm-*-linux-gnueabi): Add to noconfigdirs
Kazu Hirata [Sun, 9 Oct 2005 16:35:55 +0000 (16:35 +0000)]
* configure.in (arm-*-linux-gnueabi): Add to noconfigdirs
target-libffi, target-qthreads, target-libjava, and
targetlibobjc.
* configure: Regenerate.

18 years ago * config/tc-hppa.c (strict): Don't initialize. Update comment.
John David Anglin [Sat, 8 Oct 2005 19:01:29 +0000 (19:01 +0000)]
* config/tc-hppa.c (strict): Don't initialize.  Update comment.
(pa_ip): Promote from PA 1.0 to 1.1 immediately when 1.1 match is
found.  Simplify handling of "ma" and "mb" completers.

* hppa.h (FLAG_STRICT): Revise comment.
(pa_opcode): Revise ordering rules.  Add/move strict pa10 variants
before corresponding pa11 opcodes.  Add strict pa10 register-immediate
entries for "fdc".

18 years ago2005-10-08 Paul Brook <paul@codesourcery.com>
Paul Brook [Sat, 8 Oct 2005 17:07:16 +0000 (17:07 +0000)]
2005-10-08  Paul Brook  <paul@codesourcery.com>

bfd/
* elf32-arm.c: Move #include "elf/arm.h" after libbfd.h.
(NUM_KNOWN_ATTRIBUTES): Define.
(aeabi_attribute, aeabi_attribute_list): Define.
(elf32_arm_obj_tdata): Add known_eabi_attributes and
other_eabi_attributes.
(uleb128_size, is_default_attr, eabi_attr_size,
elf32_arm_eabi_attr_size, write_uleb128, write_eabi_attribute,
elf32_arm_set_eabi_attr_contents, elf32_arm_bfd_final_link,
elf32_arm_new_eabi_attr, attr_strdup, elf32_arm_add_eabi_attr_int,
elf32_arm_add_eabi_attr_compat, copy_eabi_attributes,
elf32_arm_merge_eabi_attributes): New functions.
(elf32_arm_copy_private_bfd_data): Copy EABI object attributes.
(elf32_arm_fake_sections): Handle .ARM.attributes.
(elf32_arm_parse_attributes): New function.
(elf32_arm_section_from_shdr): Use it.
(bfd_elf32_bfd_final_link): Define.
gas/
* config/tc-arm.c: Don't provide fallback default for CPU_DEFAULT.
(arm_arch_used, thumb_arch_used, selected_cpu, selected_cpu_name):
New variables.
(arm_cpu_option_table): Add canonical_name.
(arm_cpus): Populate canonical_name field.
(s_arm_eabi_attribute, s_arm_arch, s_arm_cpu, s_arm_fpu,
aeabi_set_public_attributes, arm_md_end): New functions.
(md_pseudo_table): Add "cpu", "arch", "fpu" and "eabi_attribute".
(md_assemble): Set thumb_arch_used and arm_arch_used.
(md_begin): Set defaut cpu if CPU_DEFAULT not defined.
* config/tc-arm.h (md_end): Define.
* doc/c-arm.texi: Document .cpu, .arch, .fpu and .eabi_attribute.
gas/testsuite/
* gas/arm/eabi_attr_1.s: New test.
* gas/arm/eabi_attr_1.d: New test.
* gas/arm/arm7t.d: Only disassemble code sections.
* gas/arm/bignum1.d: Ignore Arm object attribute sections.
* gas/arm/mapping.d: Ditto.
* gas/arm/unwind.d: Ditto.
* gas/elf/section0.d: Ditto.
* gas/elf/section1.d: Ditto.
* gas/elf/elf.exp: Set target_machine for Arm EABI based targets.
* gas/elf/section2.e-armeabi: New file.
include/elf/
* arm.h: Add prototypes for BFD object attribute routines.
ld/testsuite/
* ld-arm/arm-rel31.d: Ignore Arm object attribute sections.
* ld-arm/arm-target1-abs.d: Ditto.
* ld-arm/arm-target1-rel.d: Ditto.
* ld-arm/arm-target2-abs.d: Ditto.
* ld-arm/arm-target2-got-rel.d: Ditto.
* ld-arm/arm-target2-rel.d: Ditto.

18 years ago * mingwex/fegetenv.c (fegetenv): Restore exception masks.
Danny Smith [Sat, 8 Oct 2005 02:14:45 +0000 (02:14 +0000)]
* mingwex/fegetenv.c (fegetenv): Restore exception masks.
* mingwex/feholdexcept.c (feholdexcept): Don't set exceptions
to non-stop. Use "fnclex" to clear exception flags.

18 years ago2005-10-07 Bob Wilson <bob.wilson@acm.org>
Jeff Johnston [Fri, 7 Oct 2005 18:07:26 +0000 (18:07 +0000)]
2005-10-07  Bob Wilson  <bob.wilson@acm.org>

        * libc/stdlib/mallocr.c (mALLOc, rEALLOCc, mEMALIGn): Set errno
        to ENOMEM on failure.

18 years ago2005-10-06 Ralf Corsepius <ralf.corsepius@rtems.org>
Jeff Johnston [Thu, 6 Oct 2005 19:46:21 +0000 (19:46 +0000)]
2005-10-06  Ralf Corsepius <ralf.corsepius@rtems.org>

        * libc/include/stdint.h: Add [u]int_fast<N>_t types.

18 years ago * Makefile.def (flags_to_pass): Add OBJDUMP_FOR_TARGET.
Daniel Jacobowitz [Thu, 6 Oct 2005 15:24:36 +0000 (15:24 +0000)]
* Makefile.def (flags_to_pass): Add OBJDUMP_FOR_TARGET.
* Makefile.tpl (BASE_TARGET_EXPORTS): Add OBJDUMP.
(OBJDUMP_FOR_TARGET, CONFIGURED_OBJDUMP_FOR_TARGET)
(USUAL_OBJDUMP_FOR_TARGET): New.
(EXTRA_TARGET_FLAGS): Add OBJDUMP.
* configure.in: Check for $OBJDUMP_FOR_TARGET.
* configure, Makefile: Regenerated.

18 years ago2005-10-05 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Wed, 5 Oct 2005 15:59:52 +0000 (15:59 +0000)]
2005-10-05  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl (all) [gcc-no-bootstrap]: Make prebootstrap packages
before other host packages.

18 years ago2005-10-05 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Wed, 5 Oct 2005 07:30:22 +0000 (07:30 +0000)]
2005-10-05  Paolo Bonzini  <bonzini@gnu.org>

PR bootstrap/22340

* configure.in (default_target): Remove.
* Makefile.tpl (all): Do not use prerequisites as subroutines
(all) [gcc-bootstrap]: Bootstrap gcc first if it was not done yet.
(do-[+make_target+], check, install, [+bootstrap_target+]): Do not
use prerequisites as subroutines.
(check-host, check-target): New.
(bootstrap configure & all targets): Do not use stage*-start
if the directory layout is already ok.
(non-bootstrap configure & all targets): Prepend a $(unstage).
(stage[+id+]-bubble): Do that here.  Do not use NOTPARALLEL.
(NOTPARALLEL): Remove.
(unstage, stage variables): New variables.
(unstage, stage targets): Simply expand to those variables.

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

18 years agoFix mips-elf --enable-libmudflap make -j2 failure.
Jim Wilson [Wed, 5 Oct 2005 01:19:36 +0000 (01:19 +0000)]
Fix mips-elf --enable-libmudflap make -j2 failure.
* Makefile.def (lang_env_dependencies): Add libmudflap.
* Makefile.in: Regenerate.

18 years ago2005-10-04 Ralf Corsepius <ralf.corsepius@rtems.org>
Jeff Johnston [Tue, 4 Oct 2005 21:02:59 +0000 (21:02 +0000)]
2005-10-04  Ralf Corsepius <ralf.corsepius@rtems.org>

        * libc/include/stdint.h: Move magic to set __have_long* to the
        beginning.  Use #if __have* instead of #if defined(__have*).
        Minor typo fixes.

18 years ago2005-10-04 James E Wilson <wilson@specifix.com>
Jeff Johnston [Tue, 4 Oct 2005 20:47:39 +0000 (20:47 +0000)]
2005-10-04  James E Wilson  <wilson@specifix.com>

* libc/include/sys/dirent.h (_DIRENT_H_): Delete #include_next.  Add
#error.

18 years ago2005-10-03 James E Wilson <wilson@specifix.com>
Jeff Johnston [Mon, 3 Oct 2005 17:29:47 +0000 (17:29 +0000)]
2005-10-03  James E Wilson  <wilson@specifix.com>

        * mips/array.ld, mips/cfe.ld, mips/ddb-kseg0.ld, mips/ddb.ld,
        mips/dve.ld, mips/idt.ld, mips/idt32.ld, mips/idt64.ld,
        mips/idtecoff.ld, mips/jmr3904app-java.ld, mips/jmr3904app.ld,
        jmr3904dram-java.ld, mips/jmr3904dram.ld, mips/lsi.ld, mips/nullmon.ld,
        mips/pmon.ld: Add support for .bss.* sections.

18 years ago* cygheap.h (class process_lock): New class.
Christopher Faylor [Mon, 3 Oct 2005 17:23:54 +0000 (17:23 +0000)]
* cygheap.h (class process_lock): New class.
* dtable.h (class dtable): Add class process_lock as a friend.
* dcrt0.cc (get_exit_lock): Delete.
(do_exit): Use process_lock class instead of get_exit_lock.
* exceptions.cc (signal_exit): Ditto.
* pinfo.cc (pinfo::exit): Ditto.
(_pinfo::commune_process): Set process lock around this whole function.
(_pinfo::commune_request): Use process_lock rather than myself.lock.
* pinfo.h (pinfo::_lock): Delete.
(pinfo::initialize_lock): Delete.
(pinfo::lock): Delete.
(pinfo::unlock): Delete.
* winsup.h (get_exit_lock): Delete declaration.

18 years ago2005-10-03 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 3 Oct 2005 17:22:38 +0000 (17:22 +0000)]
2005-10-03  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/include/stdint.h: Include <sys/types.h> and
        incorporate Ralf's change below.

18 years ago2005-10-03 Ralf Corsepius <ralf.corsepius@rtems.org>
Jeff Johnston [Mon, 3 Oct 2005 17:02:48 +0000 (17:02 +0000)]
2005-10-03  Ralf Corsepius <ralf.corsepius@rtems.org>

        * libc/include/stdint.h:
        Use __INTMAX_TYPE__ to derive intmax_t.
        Use __UINTMAX_TYPE__ to derive uintmax_t.
        Fix minor typo.

18 years agoadd other options
Christopher Faylor [Mon, 3 Oct 2005 16:39:29 +0000 (16:39 +0000)]
add other options

18 years agoRegenerated with 2.13 version of autoconf.
Catherine Moore [Mon, 3 Oct 2005 15:35:57 +0000 (15:35 +0000)]
Regenerated with 2.13 version of autoconf.

18 years ago * configure.in (bfin-*-*): Support bfin.
Catherine Moore [Mon, 3 Oct 2005 15:11:13 +0000 (15:11 +0000)]
* configure.in (bfin-*-*): Support bfin.
* configure: Regenerated.

18 years ago * uname.cc (uname): Disable use of GetNativeSystemInfo.
Corinna Vinschen [Mon, 3 Oct 2005 09:24:42 +0000 (09:24 +0000)]
* uname.cc (uname): Disable use of GetNativeSystemInfo.

18 years ago2005-10-02 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
Joshua Daniel Franklin [Sun, 2 Oct 2005 20:56:53 +0000 (20:56 +0000)]
2005-10-02  Joshua Daniel Franklin  <joshuadfranklin@yahoo.com>

* faq-what.xml: Add 2003 and WOW64 to "supported" FAQ.
* faq-programming.xml: Fix cygexec FAQ, building link.

18 years ago* dcrt0.cc (get_exit_lock): Use myself.lock rather than exit_lock.
Christopher Faylor [Sun, 2 Oct 2005 00:13:41 +0000 (00:13 +0000)]
* dcrt0.cc (get_exit_lock): Use myself.lock rather than exit_lock.
* exceptions.cc (exit_lock): Delete.
(events_init): Don't init exit_lock.
* (_pinfo::commune_process): Add per-PICOM debugging.
* sigproc.cc (talktome): Add some temporary debugging statements.
* fhandler_proc.cc (format_proc_cpuinfo): Cosmetic change.
(format_proc_partitions): Ditto.
* syscalls.cc (locked_append): Ditto.

18 years ago* dcrt0.cc (do_exit): Don't set ES_SET_MUTO here. Call get_exit_lock()
Christopher Faylor [Fri, 30 Sep 2005 23:52:13 +0000 (23:52 +0000)]
* dcrt0.cc (do_exit): Don't set ES_SET_MUTO here.  Call get_exit_lock()
instead.
(get_exit_lock): New function.  Grabs the lock and sets initial exit_state.
* exceptions.cc (try_to_debug): Use low_priority_sleep.
(sigpacket::process): Avoid handler if this is an exec stub.
(signal_exit): Use get_exit_lock rather than manipulating the exit_lock
critical section directly.
* pinfo.cc (pinfo::exit): Ditto.
* winsup.h (get_exit_lock): Declare.
(exit_lock): Delete declaration.

18 years ago * dis-asm.h (print_insn_bfin): Declare.
Catherine Moore [Fri, 30 Sep 2005 15:12:52 +0000 (15:12 +0000)]
* dis-asm.h (print_insn_bfin): Declare.
* elf/bfin.h: New file.
* elf/common.h (EM_BLACKFIN): Define.
* opcode/bfin.h: New file.

18 years ago2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 30 Sep 2005 14:50:57 +0000 (14:50 +0000)]
2005-09-30  H.J. Lu  <hongjiu.lu@intel.com>

* configure.in (*-*-darwin*): Build bfd, binutils and opcodes.
* configure: Regenerated.

18 years ago Fix typo.
Corinna Vinschen [Fri, 30 Sep 2005 11:03:35 +0000 (11:03 +0000)]
Fix typo.

18 years ago * fhandler_disk_file.cc: Change calls to pc.set_attributes into
Corinna Vinschen [Fri, 30 Sep 2005 11:02:47 +0000 (11:02 +0000)]
* fhandler_disk_file.cc: Change calls to pc.set_attributes into
calls to pc.file_attributes throughout.
* path.h (class path_conv): Remove superfluous set_attributes method.

18 years ago * fhandler_floppy.cc (fhandler_dev_floppy::get_drive_info): Use
Corinna Vinschen [Fri, 30 Sep 2005 10:54:45 +0000 (10:54 +0000)]
* fhandler_floppy.cc (fhandler_dev_floppy::get_drive_info): Use
fhandler method to access majoer device number.  Add comment to
explain floppy weirdness.

18 years ago * fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Also use
Corinna Vinschen [Fri, 30 Sep 2005 10:27:14 +0000 (10:27 +0000)]
* fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Also use
attributes stored in this->pc if call to GetFileInformationByHandle
failed.

18 years ago * fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Only write
Corinna Vinschen [Fri, 30 Sep 2005 08:05:42 +0000 (08:05 +0000)]
* fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Only write
attributes if call to GetFileInformationByHandle was successful.

18 years ago* fork.cc (frok::parent): Simplify error messages. Don't issue an error when
Christopher Faylor [Fri, 30 Sep 2005 00:18:30 +0000 (00:18 +0000)]
* fork.cc (frok::parent): Simplify error messages.  Don't issue an error when
child.remember fails.
(fork): When appropriate, build up an error message from grouped.error.

18 years ago * fhandler_floppy.cc (fhandler_dev_floppy::get_drive_info): Don't call
Corinna Vinschen [Thu, 29 Sep 2005 16:57:09 +0000 (16:57 +0000)]
* fhandler_floppy.cc (fhandler_dev_floppy::get_drive_info): Don't call
EX ioctls on floppy drives.

18 years ago * dir.cc (mkdir): Check for trailing /. or /.. component.
Corinna Vinschen [Thu, 29 Sep 2005 16:23:22 +0000 (16:23 +0000)]
* dir.cc (mkdir): Check for trailing /. or /.. component.
(rmdir): Ditto.
* path.cc (has_dot_last_component): New function.
* path.h (has_dot_last_component): Add declaration.

18 years ago * crt0.cc: Remove PPC considerations.
Corinna Vinschen [Thu, 29 Sep 2005 14:28:22 +0000 (14:28 +0000)]
* crt0.cc: Remove PPC considerations.
(WinMainCRTStartup): Add symbol as alias to mainCRTStartup.

18 years agoIndex: ChangeLog
Geoffrey Keating [Thu, 29 Sep 2005 01:00:26 +0000 (01:00 +0000)]
Index: ChangeLog
2005-09-28  Geoffrey Keating  <geoffk@apple.com>

* Makefile.tpl (BASE_TARGET_EXPORTS): Add LIPO, STRIP.
(LIPO_FOR_TARGET): New.
(CONFIGURED_LIPO_FOR_TARGET): New.
(USUAL_LIPO_FOR_TARGET): New.
(STRIP_FOR_TARGET): New.
(CONFIGURED_STRIP_FOR_TARGET): New.
(USUAL_STRIP_FOR_TARGET): New.
* Makefile.def (flags_to_pass): Add LIPO_FOR_TARGET and
STRIP_FOR_TARGET.
* configure.in: Set LIPO_FOR_TARGET, STRIP_FOR_TARGET,
CONFIGURED_LIPO_FOR_TARGET, CONFIGURED_STRIP_FOR_TARGET.
* Makefile.in: Regenerate.
* configure.in: Regenerate.

Index: gcc/ChangeLog
2005-09-28  Geoffrey Keating  <geoffk@apple.com>

* Makefile.in: Export LIPO_FOR_TARGET, STRIP_FOR_TARGET.
(stage1-start): Delete old libgcc and libunwind before moving
anything into the stage directory.
(stage2-start): Likewise.
(stage3-start): Likewise.
(stage4-start): Likewise.
(stageprofile-start): Likewise.
(stagefeedback-start): Likewise.
* config.gcc (*-*-darwin*): Automatically use CPU-specific darwin.h
header in tm_file and CPU-specific t-darwin in tmake_file.
(i[34567]86-*-darwin*): Don't change tm_file.
(powerpc-*-darwin*): Don't change tm_file or tmake_file.
* config/darwin.h (REAL_LIBGCC_SPEC): Rewrite to use proper libgcc
shared library stub for target OS version.
* config/t-slibgcc-darwin (SHLIB_SOLINK): Delete.
(SHLIB_LINK): Don't make SHLIB_SOLINK.
(SHLIB_INSTALL): Don't install SHLIB_SOLINK.
(libgcc_s.%.dylib): New.
(LIBGCC): Define.
(install-darwin-libgcc-stubs): New.
(INSTALL_LIBGCC): New append.
* config/i386/darwin-libgcc.10.4.ver: New.
* config/i386/darwin-libgcc.10.5.ver: New.
* config/i386/t-darwin: New.
* config/rs6000/darwin-libgcc.10.4.ver: New.
* config/rs6000/darwin-libgcc.10.5.ver: New.
* config/rs6000/darwin.h (REAL_LIBGCC_SPEC): Delete.
* config/rs6000/t-darwin (SHLIB_VERPFX): Define.

18 years agoFix typo.
Christopher Faylor [Wed, 28 Sep 2005 23:24:57 +0000 (23:24 +0000)]
Fix typo.

18 years agoChange name from commune_recv to commune_process throughout. Change name from
Christopher Faylor [Wed, 28 Sep 2005 22:56:47 +0000 (22:56 +0000)]
Change name from commune_recv to commune_process throughout.  Change name from
commune_send to commune_request throughout.
* pinfo.h (PICOM_EXTRASTR): New flag.
(PICOM_FIFO): Define with new flag.
(_pinfo::hello_pid): Delete.
(_pinfo::tothem): Delete.
(_pinfo::fromthem): Delete.
(_pinfo::commune_process): Rename from commune_recv.  Add a siginfo_t argument
to declaration.
(_pinfo::commune_request): Rename from commune_send.  Change DWORD to
__uint32_t in declaration.
* pinfo.cc (_pinfo::commune_process): Rename from commune_recv.  Add siginfo_t
argument.  Use information from argument rather than reading from another pipe.
Synchronize with other process's commune event.
(_pinfo::commune_request): Rename from commune_send.  Change DWORD to __uint32
in argument.  Fill out information in new siginfo_t element and rely on
extended operation of sig_send rather than trying to deal with synchronization
issues here.  Use process handle and read pipe information filled out by
sig_send to gather information from the other process.
* sigproc.cc (sig_send): Take special action if "communing" to ensure
synchronization with the other process and to return information about the
other process to the caller.
(talktome): Accept a siginfo_t and handle arguments.  Read additional
information from the signal pipe when _si_commune._si_code has the
PICOM_EXTRASTR flag set.
(wait_sig): Pass the transmitted siginfo_t struct and the pipe handle to
talktome.  Close pipe read handle as soon as possible after we detect that
we're exiting.

18 years ago* hookapi.cc (hook_or_detect_cygwin): Correct inverted test for whether to
Christopher Faylor [Wed, 28 Sep 2005 20:20:57 +0000 (20:20 +0000)]
* hookapi.cc (hook_or_detect_cygwin): Correct inverted test for whether to
allocate a buffer by always allocating a buffer.

18 years ago * fhandler.h (class fhandler_dev_raw): Delete current_position and
Corinna Vinschen [Wed, 28 Sep 2005 19:33:18 +0000 (19:33 +0000)]
* fhandler.h (class fhandler_dev_raw): Delete current_position and
eof_detected status flag.  Delete is_eom and is_eof methods.
Move drive_size, bytes_per_sector, eom_detected status flag, as well
as the methods read_file, write_file, raw_read and raw_write to ...
(class fhandler_dev_floppy): ... here. Remove is_eom and is_eof
methods.  Add dup method.
* fhandler_floppy.cc (IS_EOM): New macro.
(fhandler_dev_floppy::is_eom): Remove.
(fhandler_dev_floppy::is_eof): Remove.
(fhandler_dev_floppy::fhandler_dev_floppy): Initialize status flags.
(fhandler_dev_floppy::get_drive_info): Only call EX functions on
systems supporting them and stop suffering strange delays.
(fhandler_dev_floppy::read_file): Move here, drop setting
current_position.
(fhandler_dev_floppy::write_file): Move here, drop setting
current_position.
(fhandler_dev_floppy::open): Rearrange comment.
(fhandler_dev_floppy::dup): New method.
(fhandler_dev_floppy::get_current_position): New inline method.  Use
instead of former current_position were appropriate.
(fhandler_dev_floppy::raw_read): Move here.  Drop EOF handling.
(fhandler_dev_floppy::raw_write): Move here.  Drop EOF handling.
(fhandler_dev_floppy::lseek): Remove useless conditions.  Convert
sector_aligned_offset to LARGE_INTEGER to improve SetFilePointer call.
(fhandler_dev_floppy::ioctl): Move blocksize check in RDSETBLK case
to here.
* fhandler_raw.cc (fhandler_dev_raw::is_eom): Remove.
(fhandler_dev_raw::is_eof): Remove.
(fhandler_dev_raw::write_file): Remove.
(fhandler_dev_raw::read_file): Remove.
(fhandler_dev_raw::raw_read): Remove.
(fhandler_dev_raw::raw_write): Remove.
(fhandler_dev_raw::dup): Drop copying removed members.
(fhandler_dev_raw::ioctl): Drop blocksize testing.
* wincap.h: Implement has_disk_ex_ioctls throughout.
* wincap.cc: Ditto.
(wincap_vista): Preliminary wincaps for Windows Vista/Longhorn.
(wincapc::init): Add Vista/Longhorn handling.

18 years ago Revert erroneous checkin.
Corinna Vinschen [Wed, 28 Sep 2005 19:22:25 +0000 (19:22 +0000)]
Revert erroneous checkin.

18 years ago * fhandler.h (class fhandler_dev_raw): Delete current_position and
Corinna Vinschen [Wed, 28 Sep 2005 19:02:53 +0000 (19:02 +0000)]
* fhandler.h (class fhandler_dev_raw): Delete current_position and
eof_detected status flag.  Delete is_eom and is_eof methods.
Move drive_size, bytes_per_sector, eom_detected status flag, as well
as the methods read_file, write_file, raw_read and raw_write to ...
(class fhandler_dev_floppy): ... here. Remove is_eom and is_eof
methods.  Add dup method.
* fhandler_floppy.cc (IS_EOM): New macro.
(fhandler_dev_floppy::is_eom): Remove.
(fhandler_dev_floppy::is_eof): Remove.
(fhandler_dev_floppy::fhandler_dev_floppy): Initialize status flags.
(fhandler_dev_floppy::get_drive_info): Only call EX functions on
systems supporting them and stop suffering strange delays.
(fhandler_dev_floppy::read_file): Move here, drop setting
current_position.
(fhandler_dev_floppy::write_file): Move here, drop setting
current_position.
(fhandler_dev_floppy::open): Rearrange comment.
(fhandler_dev_floppy::dup): New method.
(fhandler_dev_floppy::get_current_position): New inline method.  Use
instead of former current_position were appropriate.
(fhandler_dev_floppy::raw_read): Move here.  Drop EOF handling.
(fhandler_dev_floppy::raw_write): Move here.  Drop EOF handling.
(fhandler_dev_floppy::lseek): Remove useless conditions.  Convert
sector_aligned_offset to LARGE_INTEGER to improve SetFilePointer call.
(fhandler_dev_floppy::ioctl): Move blocksize check in RDSETBLK case
to here.
* fhandler_raw.cc (fhandler_dev_raw::is_eom): Remove.
(fhandler_dev_raw::is_eof): Remove.
(fhandler_dev_raw::write_file): Remove.
(fhandler_dev_raw::read_file): Remove.
(fhandler_dev_raw::raw_read): Remove.
(fhandler_dev_raw::raw_write): Remove.
(fhandler_dev_raw::dup): Drop copying removed members.
(fhandler_dev_raw::ioctl): Drop blocksize testing.
* wincap.h: Implement has_disk_ex_ioctls throughout.
* wincap.cc: Ditto.
(wincap_vista): Preliminary wincaps for Windows Vista/Longhorn.
(wincapc::init): Add Vista/Longhorn handling.

18 years ago* dcrt0.cc (getstack): New function.
Christopher Faylor [Wed, 28 Sep 2005 15:18:49 +0000 (15:18 +0000)]
* dcrt0.cc (getstack): New function.
(alloc_stack): Use tls stuff for stack info rather than calling VirtualQuery.
(dll_crt0_0): Initialize _impure_ptr stuff much earlier.  Move
init_console_handler here.
* fork.cc (class frok): New class renamed from local fork() struct.
(stack_base): Change argument type.  Use tls stuff to determine stack info
rather than calling VirtualQuery.
(frok::child): Rename from fork_child.  Eliminate now unneeded arguments.
(frok::parent): Rename from fork_parent and ditto.  Set error and errno as
appropriate.  Fixup impersonation in cleanup, if needed.  Try harder to set
errno appropriately.
(fork): Define "grouped" as a frok type.  Deal with errors from fork_parent
here.
* init.cc (dll_entry): Remove init_console_handler call.

18 years ago* pinfo.cc (_pinfo::dup_proc_pipe): Ignore error if the child process has just
Christopher Faylor [Wed, 28 Sep 2005 13:55:04 +0000 (13:55 +0000)]
* pinfo.cc (_pinfo::dup_proc_pipe): Ignore error if the child process has just
gone away.

18 years ago* init.cc (prime_threads): Make this static, as it should be.
Christopher Faylor [Wed, 28 Sep 2005 02:43:29 +0000 (02:43 +0000)]
* init.cc (prime_threads): Make this static, as it should be.
(dll_entry): Apply cosmetic changes to define closer to the way MSDN suggests.

18 years ago2005-09-27 Ralf Corsepius <ralf.corsepius@rtems.org>
Jeff Johnston [Tue, 27 Sep 2005 20:49:53 +0000 (20:49 +0000)]
2005-09-27  Ralf Corsepius <ralf.corsepius@rtems.org>

        * libc/include/stdint.h: Correct __STDINT_EXP macro incorrectly
        handling GCC >= 4.

18 years ago * pthread.cc (mangle_sem_name): Use cygheap->shared_prefix instead
Corinna Vinschen [Tue, 27 Sep 2005 20:34:19 +0000 (20:34 +0000)]
* pthread.cc (mangle_sem_name): Use cygheap->shared_prefix instead
of fiddling with wincap.has_terminal_services manually.

18 years ago * cygheap.cc (cygheap_init): Add GLOBAL_PRIV to hProcToken explicitely
Corinna Vinschen [Tue, 27 Sep 2005 19:04:38 +0000 (19:04 +0000)]
* cygheap.cc (cygheap_init): Add GLOBAL_PRIV to hProcToken explicitely
since hProcImpToken isn't initialized here.
* shared.cc (open_shared): Always print mapname instead of name in
debug output.

18 years ago* strace.cc (strace::vsprntf): Avoid printing a zero pid.
Christopher Faylor [Tue, 27 Sep 2005 18:54:32 +0000 (18:54 +0000)]
* strace.cc (strace::vsprntf): Avoid printing a zero pid.

18 years ago * init.cc (dll_entry): Call IsWow64Process with GetCurrentProcess
Corinna Vinschen [Tue, 27 Sep 2005 17:44:29 +0000 (17:44 +0000)]
* init.cc (dll_entry): Call IsWow64Process with GetCurrentProcess
as process handle since hMainProc isn't initialized here.

18 years ago * fhandler_floppy.cc (fhandler_dev_floppy::get_drive_info): Always
Corinna Vinschen [Tue, 27 Sep 2005 15:33:02 +0000 (15:33 +0000)]
* fhandler_floppy.cc (fhandler_dev_floppy::get_drive_info): Always
try IOCTL_DISK_GET_DRIVE_GEOMETRY_EX and
IOCTL_DISK_GET_PARTITION_INFO_EX ioctls first, to allow access to GPT
partitioned disks.  Fall back to old non-EX ioctls otherwise.
Add comment to explain NT4 weirdness.

18 years ago * libiberty.h (expandargv): New function.
Mark Mitchell [Mon, 26 Sep 2005 21:02:57 +0000 (21:02 +0000)]
* libiberty.h (expandargv): New function.

* argv.c (safe-ctype.h): Include it.
(ISBLANK): Remove.
(stdio.h): Include.
(buildargv): Use ISSPACE instead of ISBLANK.
(expandargv): New function.
* Makefile.in: Regenerated.

18 years ago * errno.cc (errmap): Map ERROR_SEEK and ERROR_SECTOR_NOT_FOUND.
Corinna Vinschen [Mon, 26 Sep 2005 15:27:15 +0000 (15:27 +0000)]
* errno.cc (errmap): Map ERROR_SEEK and ERROR_SECTOR_NOT_FOUND.

18 years ago* exceptions.cc (_cygtls::call_signal_handler): Minor cleanup.
Christopher Faylor [Mon, 26 Sep 2005 14:58:16 +0000 (14:58 +0000)]
* exceptions.cc (_cygtls::call_signal_handler): Minor cleanup.

18 years ago * fhandler.h (class fhandler_dev_raw): Add drive information members
Corinna Vinschen [Mon, 26 Sep 2005 14:55:40 +0000 (14:55 +0000)]
* fhandler.h (class fhandler_dev_raw): Add drive information members
drive_size, current_position and bytes_per_sector.
(fhandler_dev_floppy::get_drive_info): Declare.
* fhandler_floppy.cc (fhandler_dev_floppy::is_eom): Define ERROR_SEEK
and ERROR_SECTOR_NOT_FOUND as end-of-medium conditions.
(fhandler_dev_floppy::get_drive_info): New method to have one function
retrieving drive info.
(fhandler_dev_floppy::open): Call get_drive_info to get drive
information right from the start.
(fhandler_dev_floppy::lseek): Use and set drive information members.
Especially keep track of current_position.
(fhandler_dev_floppy::ioctl): Ditto.
* fhandler_raw.cc (fhandler_dev_raw::write_file): Keep track of
current_position.
(fhandler_dev_raw::read_file): Ditto.
(fhandler_dev_raw::raw_read): Never try to read beyond end-of-medium.
(fhandler_dev_raw::dup): Handle new drive information members.

18 years ago* exceptions.cc (handle_exceptions): Just si_code to SI_KERNEL first and let it
Christopher Faylor [Mon, 26 Sep 2005 14:51:48 +0000 (14:51 +0000)]
* exceptions.cc (handle_exceptions): Just si_code to SI_KERNEL first and let it
be overridden.
* exceptions.cc (_cygtls::call_signal_handler): Call signal handler with extra
siginfo_t * and void * parameters when SA_SIGINFO flag is set.
* signal.cc (signal): Clear SA_SIGINFO flag.
(sigqueue): Fix incorrect setting of si_code.
* sigproc.cc (signal_fixup_after_exec): Clear SA_SIGINFO flag when setting
handler to SIG_DFL.

18 years ago* pinfo.cc (proc_waiter): Properly fill out si_code as according to SUSv3.
Christopher Faylor [Mon, 26 Sep 2005 13:47:27 +0000 (13:47 +0000)]
* pinfo.cc (proc_waiter): Properly fill out si_code as according to SUSv3.
* exceptions.cc (handle_exceptions): Properly fill out si_code as according to
SUSv3.

18 years ago* exceptions.cc (handle_exceptions): Properly fill out si_code.
Christopher Faylor [Mon, 26 Sep 2005 13:23:47 +0000 (13:23 +0000)]
* exceptions.cc (handle_exceptions): Properly fill out si_code.

18 years ago* sigproc.cc (wait_sig): Cosmetic change.
Christopher Faylor [Mon, 26 Sep 2005 01:27:36 +0000 (01:27 +0000)]
* sigproc.cc (wait_sig): Cosmetic change.
* pinfo.cc (pinfo::exit): Don't explicitly remove myself since some other
thread may still be using it.

18 years ago2005-09-25 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
Joshua Daniel Franklin [Mon, 26 Sep 2005 00:29:51 +0000 (00:29 +0000)]
2005-09-25  Joshua Daniel Franklin  <joshuadfranklin@yahoo.com>

* faq.xml: Remove copyright section, link to license.html
* faq-sections.xml: Remove copyright section, link to license.html
* faq-programming.xml: Remove confusing reference to Red Hat.
* faq-what.xml: Reword "supported" FAQ.

18 years ago * hppa.h (pa_opcodes): Add new "fdc" and "fic" opcode entries.
John David Anglin [Sun, 25 Sep 2005 02:33:54 +0000 (02:33 +0000)]
* hppa.h (pa_opcodes): Add new "fdc" and "fic" opcode entries.

18 years ago* sigproc.cc (sigproc_terminate): More reversion of always-exit-from-sigthread
Christopher Faylor [Sat, 24 Sep 2005 19:17:49 +0000 (19:17 +0000)]
* sigproc.cc (sigproc_terminate): More reversion of always-exit-from-sigthread
change.

18 years ago * include/math.h (HUGE_VALF, HUGE_VALL, INFINITY, NAN)
Danny Smith [Sat, 24 Sep 2005 01:26:24 +0000 (01:26 +0000)]
* include/math.h (HUGE_VALF, HUGE_VALL, INFINITY, NAN)
Avoid raising FP exceptions.

18 years ago* shared.cc (open_shared): Add crucial bit of debugging info.
Christopher Faylor [Fri, 23 Sep 2005 23:56:17 +0000 (23:56 +0000)]
* shared.cc (open_shared): Add crucial bit of debugging info.

18 years agoSemi-reversion of always-exit-from-sigthread change of 2005-09-15.
Christopher Faylor [Fri, 23 Sep 2005 23:37:52 +0000 (23:37 +0000)]
Semi-reversion of always-exit-from-sigthread change of 2005-09-15.
* exceptions.cc (sigpacket::process): Eliminate return after call to reinstated
noreturn function.
(signal_exit): Allow function to exit when a captive process has been
terminated.
* pinfo.cc (pinfo::exit): Enter exit_lock here.  Once again exit here under
control of exit_lock.
* sigproc.cc (sig_send): Don't wait for completion if process is exiting.
Remove special __SIGEXIT accommodations.
(wait_sig): Just exit the thread when a __SIGEXIT has been detected.  Don't
exit the process.

18 years ago* net.cc (cygwin_gethostbyname): Remove debugging cruft.
Christopher Faylor [Fri, 23 Sep 2005 23:25:25 +0000 (23:25 +0000)]
* net.cc (cygwin_gethostbyname): Remove debugging cruft.

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