]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
22 years ago * pdp11.h: Add format codes for float instruction formats.
Alan Modra [Tue, 5 Mar 2002 03:09:01 +0000 (03:09 +0000)]
* pdp11.h: Add format codes for float instruction formats.

22 years agobump copyright
Christopher Faylor [Tue, 5 Mar 2002 02:23:39 +0000 (02:23 +0000)]
bump copyright

22 years ago * syscalls.cc (truncate64): Use ftruncate64 directly to not lose
Corinna Vinschen [Mon, 4 Mar 2002 16:47:41 +0000 (16:47 +0000)]
* syscalls.cc (truncate64): Use ftruncate64 directly to not lose
upper 32 bits.

22 years ago2002-03-04 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Mon, 4 Mar 2002 08:45:40 +0000 (08:45 +0000)]
2002-03-04  Robert Collins  <rbtcollins@hotmail.com>

        * cygserver_shm.cc (delete_shmnode): New function.
        (client_request_shm::serve): Use it.

22 years ago2002-03-04 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Mon, 4 Mar 2002 08:12:53 +0000 (08:12 +0000)]
2002-03-04  Robert Collins  <rbtcollins@hotmail.com>

        * cygserver_shm.cc (client_request_shm::serve): Implement SHM_DETACH.
        * shm.cc (shmdt): Implement.

22 years ago2002-03-04 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Mon, 4 Mar 2002 07:22:08 +0000 (07:22 +0000)]
2002-03-04  Robert Collins  <rbtcollins@hotmail.com>

        * cygserver_shm.cc: Run indent.
        (deleted_head): New global for storing shm id's pending deletion.
        (client_request_shm::serve): Return ENOSYS for invalid request types.
        Implement SHM_DEL - delete a shm id.
        * cygserver_shm.h (SHM_DEL): New type value.
        * shm.cc (delete_inprocess_shmds): New function, does what it's name implies.
        (shmctl): Implement shm_rmid control type.

22 years ago2002-03-04 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Sun, 3 Mar 2002 21:46:38 +0000 (21:46 +0000)]
2002-03-04  Robert Collins  <rbtcollins@hotmail.com>

        * Makefile.in (install): Remove install-bin to allow make install to work.

22 years ago2002-03-03 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Sun, 3 Mar 2002 12:52:59 +0000 (12:52 +0000)]
2002-03-03  Robert Collins  <rbtcollins@hotmail.com>

        * shm.cc (shmat): Prevent a compile error.
        (shmdt): Set errno as this function is incomplete.

22 years agofix reg key typo "Red Hat, Inc." -> "Cygnus Solutions"
David Starks-Browning [Sun, 3 Mar 2002 11:44:46 +0000 (11:44 +0000)]
fix reg key typo "Red Hat, Inc." -> "Cygnus Solutions"

22 years agoadd details about missing cygintl.dll, cygreadline5.dll, ...
David Starks-Browning [Sun, 3 Mar 2002 11:37:35 +0000 (11:37 +0000)]
add details about missing cygintl.dll, cygreadline5.dll, ...

22 years agoupdate bash+nt-emacs entry for Emacs 21.1 and JDE->JDEE.
David Starks-Browning [Sun, 3 Mar 2002 11:13:21 +0000 (11:13 +0000)]
update bash+nt-emacs entry for Emacs 21.1 and JDE->JDEE.

22 years ago"setup.exe" -> "Cygwin Setup" throughout. Other minor changes throughout.
David Starks-Browning [Sun, 3 Mar 2002 10:57:57 +0000 (10:57 +0000)]
"setup.exe" -> "Cygwin Setup" throughout.  Other minor changes throughout.

22 years ago * ChangeLog: Fix typo in last entry.
Danny Smith [Sat, 2 Mar 2002 10:49:56 +0000 (10:49 +0000)]
* ChangeLog: Fix typo in last entry.
* include/winsock2.h (IPPROTO_*): Add IPv6 defines.
* include/ws2tcpip.h: (IP_*): Add new defines.
(INET_ADDRSTRLEN, INET6_ADDRSTRLEN): Add defines.
(NI_*): Add getnameinfo constants and bitmasks.
(AI_*): Add getaddrinfo flags.
(EAI_*): Add getaddrinfo error codes.
(ip_mreq_source): Add new structure.
(ip_msfilter): Add new structure.
(IP_MSFILTER_SIZE): Add new macro.
(in_pktinfo): Add new structure.
Add preliminary IPv6 support.
(in6_addr): Add new structure and some defines.
(sockaddr_in6): Add new structure.
(in6addr_any, in6addr_loopback): Declare extern structures.
(IN6ADDR_ANY_INIT,IN6ADDR_LOOPBACK_INIT): Add
initialization macros for above.
(IN6_ARE_ADDR_EQUAL): Define macro.
(IN6_IS_ADDR_*): Define address testing macros.
(socklen_t) Add new typedef.
(ipv6_mreq): Add new structure.
(in6_pktinfo): Same.
(addrinfo): Same.
(freeaddrinfo):Add new prototype.
(getaddrinfo): Same.
(gai_strerror[AW]): Same.
(getnameinfo): Same.
(sockaddr_in6_old): Add structure.
(sockaddr_gen): Add union definition.
(INTERFACE_INFO): Use sockaddr_gen as members.
(INTERFACE_INFO_OLD): Add comment on workaround for problems
with INTERFACE_INFO on NT4 prior to sp4.
.

22 years ago* overview.sgml: Fix 'more more' typo.
Christopher Faylor [Fri, 1 Mar 2002 21:40:45 +0000 (21:40 +0000)]
* overview.sgml: Fix 'more more' typo.

22 years ago* configure.in (libstdcxx_flags): Don't add libstdc++-v3 flags for
Alexandre Oliva [Fri, 1 Mar 2002 00:52:59 +0000 (00:52 +0000)]
* configure.in (libstdcxx_flags): Don't add libstdc++-v3 flags for
libjava.
(CXX_FOR_TARGET): Add -shared-libgcc for libstdc++-v3 and libjava.

22 years ago* times.cc: Remove if 0'd code. Clean up slightly.
Christopher Faylor [Thu, 28 Feb 2002 19:36:11 +0000 (19:36 +0000)]
* times.cc: Remove if 0'd code.  Clean up slightly.

22 years ago* times.cc: Remove if 0'd code. Clean up slightly.
Christopher Faylor [Thu, 28 Feb 2002 19:06:42 +0000 (19:06 +0000)]
* times.cc: Remove if 0'd code.  Clean up slightly.

22 years ago2002-02-28 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Thu, 28 Feb 2002 14:30:38 +0000 (14:30 +0000)]
2002-02-28  Robert Collins  <rbtcollins@hotmail.com>

* Merged cygwin_daemon into head minus the new shm and ipc exports.

2002-02-28  Robert Collins  <rbtcollins@hotmail.com>

* fhandler_tty.cc (fhandler_tty_slave::open): More debugging.
(fhandler_tty_slave::read): Fix printf type for the handle.
* tty.cc (tty::common_init): Add a FIXME for security.

2002-01-29  Robert Collins  <rbtcollins@hotmail.com>

* Makefile.in (OBJS): Remove duplicate localtime.o.

2002-01-17  Robert Collins  <rbtcollins@hotmail.com>

* cygserver.cc (check_and_dup_handle): Consolidate the two variants for
simplicity.
Add Some basic debug output.
(client_request_attach_tty::serve): Use the new debug_printf for clarity.
Mark the duplicated handles as inheritable - fixup_after_fork() doesn't reopen
tty's.

2002-01-16  Robert Collins  <rbtcollins@hotmail.com>

* cygserver.cc (transport): Correct scope.
(client_request_attach_tty::serve): Add more debug information.
Fix erroneous use of transport instead of conn.
* cygserver_transport_pipes.cc (transport_layer_pipes::close): More debug.
(transport_layer_pipes::read): Ditto.
(transport_layer_pipes::write): Ditto.
(transport_layer_pipes::impersonate_client): Ditto.

Mon Oct  8  7:41:00 2001  Robert Collins <rbtcollins@hotmail.com>

* cygserver.cc (server_request::process): Rename client_request_shm_get to
client_request_shm.
* cygserver_process.cc (process_cache::add): Rename to add_task.
Use process_cleanup instead of process_request.
(process_cache::remove_process): New method.
(process::process): Initialize new members.
(process::~process): New member.
(process::cleanup): New method.
(process::add_cleanup_routine): New method.
(process_request::process): Rename to process_cleanup.
Call the process object's cleanup method and then delete it.
(process_process_param::request_loop): Remove the signalling process.
* cygserver_shm.cc: Globally rename client_request_shm_get to client_request_shm.
(client_request_shm_get::serve): Handle attach request counting.
* cygserver_shm.h: Globally rename client_request_shm_get to client_request_shm.
(class shm_cleanup): New class.
* shm.cc: Globally rename client_request_shm_get to client_request_shm.
(client_request_shm::client_request_shm): New constructor for attach requests.
(shmat): Use it.
* include/cygwin/cygserver_process.h (class process_request): Rename to
process_cleanup.
(class cleanup_routine): New class.
(class process): New members and methods to allow calling back when the process
terminates.

Thu Oct  4 14:12:00 2001  Robert Collins <rbtcollins@hotmail.com>
* cygserver.cc (request_loop): Make static.
(main): Use new cache constructor syntax.
Start cache worker threads.
Cleanup the cache at shutdown.
* cygserver_process.cc: Run indent.
(process_cache::process_cache): Add a trigger to use when adding a process.
(process_cache::process): Move process_entry to process.
Insert at the end of the list.
Trigger the request loop when new process's inserted.
(process_cache::process_requests): Do it.
(process_cache::add): New method.
(process_cache::handle_snapshot): New method.
(process::process): Merge in the process_entry fields.
(process::handle): Make a stub function.
(process::exit_code): New method.
(process_request::process): New method.
(process_process_param::request_loop): New method.
* cygserver_shm.cc: New header dependency - threaded_queue.h.
* threaded_queue.cc (threaded_queue::cleanup): Clearer messages.
(queue_process_param::stop): Short spinlock on interruptible threads.
* threaded_queue.h (class threaded_queue): New constructor.
* include/cygwin/cygserver_process.h (process_request): New class.
(process_entry): Remove.
(process): Merge in process_entry.
(process_cache): Inherit from threaded_queue.

Tue Oct  2 23:24:00 2001  Robert Collins <rbtcollins@hotmail.com>

* cygserver.cc (class server_process_param): Use new constructor syntax.
* cygserver_process.cc (process_cache::~process_cache): New function.
* threaded_queue.cc: Define condition debug_printf.
Run indent.
(threaded_queue::cleanup): Move queue_process_param guts to a method.
(threaded_queue::process_requests): Ditto.
(queue_process_param::queue_process_param): New method.
(queue_process_param::~queue_process_param): Ditto.
(queue_process_param::start): Ditto.
(queue_process_param::stop): Ditto.
* threaded_queue.h (class queue_process_param): Add support for
interruptible request loops.
* cygwin/include/cygwin/cygserver_process.h (class process_cache): Add
destructor.

Tue Oct  2 23:24:00 2001  Robert Collins <rbtcollins@hotmail.com>

* cygserver_client.cc: New flag allow_daemon to disable the daemon completely.
(cygserver_request): Check it.
(cygserver_init): Ditto.
* environ.cc (parse_thing): Add (no)daemon option.

Tue Oct  2 23:00:00 2001  Robert Collins <rbtcollins@hotmail.com>

* shm.cc: Update to handle include changes from HEAD.

Tue Oct  2 16:06:00 2001  Robert Collins <rbtcollins@hotmail.com>

* Makefile.in: Remove cygserver_shm.o from cygwin1.dll.
Rename cygserver_shm_outside.o to cygserver_shm.o.
* cygserver.cc (server_request::process): Use the new client_request
constructor.
* cygserver_client.cc: Remove the #ifdef's stubs for the server method
within cygwin.
(client_request_attach_tty::client_request_attach_tty): Use the new
client_request constructor.
(client_request_shutdown::client_request_shutdown): Ditto.
(client_request::client_request): Ditto.
* cygserver_shm.cc (client_request_shm_get::serve): Remove the
#ifdef'd stub for in-cygwin builds.
(client_request_shm_get::client_request_shm_get): Use the new
client_request constructor, and remove the in-cygwin variants.
* cygserver_shm.h (class client_request_shm_get): #ifndef test the
serve method - it's only used in cygserver.
* shm.cc (client_request_shm_get::client_request_shm_get): New function.
* include/cygwin/cygserver.h (request_header): New constructor.
(class client_request): Use it.
New constructor accepting the header size.
#ifndef test the server method - it's only used within cygserver.
(client_request_get_version): #ifdef test the server method.
(client_request_shutdown): Ditto.
(client_request_attach_tty): Ditto.

Tue Oct  2  9:57:00 2001  Robert Collins <rbtcollins@hotmail.com>

* Makefile.in: add threaded_queue.o to cygserver.exe.
* cygserver.cc: Include threaded_queue.h
(class server_request): Inherit from queue_request.
(class server_process_param): Inherit from queue_process_param.
(class server_request_queue): Inherit from threaded_queue.
(request_loop): Adjust for new types.
(server_request_queue::process_requests): Remove guts to
threaded_queue::process_requests.
(server_request::server_request): Adjust for new types.
(worker_function): Delete.
(server_request_queue::create_workers): Delete.
(server_request_queue::cleanup): Delete.
(server_request_queue::add): Move guts to threaded_queue::add.
* threaded_queue.cc: New file.
* threaded_queue.h: New file.

Mon Oct  1 12:38:00 2001  Robert Collins <rbtcollins@hotmail.com>

* cygserver.cc (client_request::serve): New function.
* cygserver_process.cc: Inlude <pthread.h> for pthread_once.
(process_cache::process_cache): Initialise a crtiical section for write access.
(process_cache::process): Use the critical section. Also add missing entries to
the cache.
(do_process_init): New function to initalise class process static variables.
(process::process): Ensure that the process access critical section is
initialised.
(process::handle): Close the handle of old process's when they have terminated
and we are returning the handle for a process with the same pid.
* cygserver_shm.cc: Run indent.
Include cygserver_process.h to allow process cache functionality.
(client_request_shm_get::serve): New parameter for process cache support.
Use the process cache, not OpenProcess to get a handle to the originating process.
Fix a handle leak with token_handle.
* cygserver_shm.h (class client_request_shm_get): Update ::serve for process
cache support.
* cygserver_transport_pipes.cc: Redefine debug_printf to be conditional on DEBUG.
* include/cygwin/cygserver.h: Do not implement client_request::serve in the
header.
* include/cygwin/cygserver_process.h (class process_cache): Add a write access
critical section to prevent races when requests from a  multithreaded
application arrive.

Sun Sep 30 23:41:00 2001  Robert Collins <rbtcollins@hotmail.com>

* Makefile.in: Add cygserver_process.o to cygserver.exe.
* cygserver.cc: Include signal.h and cygwin_version.h.
Define debug_printf as a macro.
Define DEBUG to a value.
(client_request_attach_tty::serve): Add beginning of process cache support.
Change from #ifdef DEBUG to work with new DEBUG style.
(client_request_get_version::serve): Add beginning of process cache support.
(class server_request): New prototype for support of process cache.
(class queue_process_param): New class to allow request loop threading.
(class server_request_queue): Add beginning of process cache support.
Allow request loop threading.
(request_loop): Thread function for request loops.
(server_request_queue::process_requests): Initiator for threaded request loops.
(client_request_shutdown::serve): Add beginning of process cache support.
(server_request::server_request): Ditto.
(server_request::process): Use debug_printf. Add beginning of process cache
support.
(server_request_queue::cleanup): Kill off any request loop threads.
(server_request_queue::add): Add beginning of process cache support.
(handle_signal): Trigger a shutdown.
(main): Print out some useful info at startup - version, date time.
Add process cache support.
Spawn a separate thread for the transport request loop, thus allowing concurrent
support for multiple transports.
* cygserver_client.cc (client_request_get_version::serve): Add process cache
support.
(client_request_attach_tty::serve): Add process cache support.
(client_request_shutdown::serve): Add process cache support.
* cygsserver_process.cc: New file with the process cache support.
* cygserver_shm.cc: Redefine debug_printf to allow conditional output.
* cygwin.din: Export shmdt().
* shm.cc: Run indent.
Update FIXME's.
(shmdt): New function.
* include/cygwin/cygserver.h (class client_request): Add process cache support.
(class client_request_get_version): Ditto.
(class client_request_shutdown): Ditto.
(class client_request_attach_tty): Ditto.
* include/cygwin/cygserver_process.h: New header for process cache support.

Sun Sep 30  8:52:00 2001  Robert Collins <rbtcollins@hotmail.com>

* include/cygwin/cygserver_transport.h: Add copyright header.
* include/cygwin/cygserver_transport_pipes.h: Ditto.
* include/cygwin/cygserver_transport_sockets.h: Ditto.

Sat Sep 29 20:40:00 2001  Robert Collins <rbtcollins@hotmail.com>

* Makefile.in: Add cygserver_transport_sockets.o to DLL_OFILES.
Add cygserver_transport_sockets_outside.o to cygserver.exe.
* cygserver.cc: Include new include files.
* cygserver_client.cc: Ditto.
* cygserver_shm.h: No need to include <sys/socket.h> now.
* cygerver_transport.cc: Include new include files.
(transport_layer_base::transport_layer_base): Strip back to a stub.
(transport_layer_base::listen): Ditto.
(transport_layer_base::accept): Ditto.
(transport_layer_base::close): Ditto.
(transport_layer_base::read): Ditto.
(transport_layer_base::write): Ditto.
(transport_layer_base::connect): Ditto.
* cygserver_transport_pipes.cc: Include new header
"cygwin/cygserver_transport_pipes.h".
* cygserver_transport_sockets.cc: New file.
* dcrt0.cc: No need to include <sys/socket.h> now.
* fhandler_tty.cc: Ditto.
* tty.cc: Ditto.
* include/cygwin/cygserver_transport.h: Strip the base class to a stub.
Remove the cygserver_transport_pipes class.
* include/cygwin/cygserver_transport_pipes.h: New file.
* include/cygwin/cygserver_transport_sockets.h: New file.

Tue Sep 25 16:22:00 2001  Robert Collins <rbtcollins@hotmail.com>

* autoload.cc: Add dynamic load statement for 'ImpersonateNamedPipeClient'.
* Makefile.in: Add new object files, and build instructions for cygserver.exe.
* cygwin.din: Export ftok, shmat, shmctl and shmget.
* dcrt0.cc: Additional includes for cygserver support.
(dll_crt0_1): Initialise the cygserver client.
* fhandler.h (fhandler_tty): New method cygserver_attach_tty.
* fhandler_tty.cc: Additional includes for cygserver support.
(fhandler_tty_slave::open): Attempt to use the cygserver when obtaining
handles from the parent process. On failure or 9x use the current method.
(fhandler_tty_slave::cygserver_attach_tty): New function.
* fork.cc (fork_child): Fixup shm memory mapped areas.
* pinfo.h: Declare fixup_shms_after_fork().
* security.h: Declare alloc_sd().
* tty.cc: Additonal includes to support cygserver.
(tty::common_init): Don't allow others to open us if the cygserver is running.
* winsup.h: Declare cygserver_running.
* cygserver.cc: New file.
* cygserver_client.cc: New file.
* cygserver_shm.cc: New file.
* cygserver_shm.h: New file.
* cygserver_transport.cc: New file.
* cygserver_transport_pipes.cc: New file.
* ipc.cc: New file.
* shm.cc: New file.
* include/cygwin/cygserver.h: New file.
* include/cygwin/cygserver_transport.h: New file.
* include/sys/ipc.h: New file.
* include/sys/shm.h: New file.

2002-02-28  Robert Collins  <rbtcollins@hotmail.com>

* thread.cc (semaphore::TryWait): Set errno as required by posix 1003.1.
(__sem_wait): Ditto.
(__sem_trywait): Ditto.

22 years ago2002-02-28 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Thu, 28 Feb 2002 13:50:41 +0000 (13:50 +0000)]
2002-02-28  Robert Collins  <rbtcollins@hotmail.com>

        * thread.cc (semaphore::TryWait): Set errno as required by posix 1003.1.
        (__sem_wait): Ditto.
        (__sem_trywait): Ditto.

22 years ago* fdl.texi: New file.
Andrew Cagney [Thu, 28 Feb 2002 03:34:36 +0000 (03:34 +0000)]
* fdl.texi: New file.

22 years agoUpdate options
Christopher Faylor [Thu, 28 Feb 2002 00:08:52 +0000 (00:08 +0000)]
Update options

22 years ago * include/windows.h; Remove test for __W32API_MAJOR_VERSION
Danny Smith [Thu, 28 Feb 2002 00:03:11 +0000 (00:03 +0000)]
* include/windows.h; Remove test for __W32API_MAJOR_VERSION
when selecting winsock interface.
* include/winsock.h (SOCKET_ADDRESS_LIST): Add structure
definition and typedefs.
Expand FIXME comment.
(WSACOMPLETIONTYPE): Add enum.
(WSACOMPLETION): Add structure and typedefs.
(WSANSPIoctl): Add function prototpe and callback typedef.
(SIO_NSP_NOTIFY_CHANGE): Add define.
(sockaddr_storage): Add structure and typedefs.

22 years ago2002-02-27 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 27 Feb 2002 23:56:24 +0000 (23:56 +0000)]
2002-02-27  Jeff Johnston  <jjohnstn@redhat.com>

        * configure.host: Add check for --disable-newlib-io-float
        configuration option and add -DNO_FLOATING_POINT to newlib cflags
        if appropriate.
        * acinclude.m4: Added --disable-newlib-io-float option.
        * aclocal.m4: Regenerated.
        * configure: Ditto.
        * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
        * libc/*/aclocal.m4 libc/*/configure
        * libm/*/aclocal.m4 libm/*/configure: Ditto.
        * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
        if NO_FLOATING_POINT flag is not defined.

22 years ago* include/cygwin/version.h: Bump DLL minor number.
Christopher Faylor [Wed, 27 Feb 2002 23:06:55 +0000 (23:06 +0000)]
* include/cygwin/version.h: Bump DLL minor number.

22 years ago* winsup.api/systemcall.c (main): Ensure that stdin is redirected.
Christopher Faylor [Wed, 27 Feb 2002 23:01:10 +0000 (23:01 +0000)]
* winsup.api/systemcall.c (main): Ensure that stdin is redirected.

22 years agoChange copyright format.
Christopher Faylor [Wed, 27 Feb 2002 21:20:09 +0000 (21:20 +0000)]
Change copyright format.

22 years ago* cygcheck.cc (main): Eliminate non-GNU formatting glitch.
Christopher Faylor [Wed, 27 Feb 2002 16:25:30 +0000 (16:25 +0000)]
* cygcheck.cc (main): Eliminate non-GNU formatting glitch.

22 years ago* ssp.c (help_desk): Fix compiler warning. Christopher Faylor <cgf@redhat.com>
Christopher Faylor [Wed, 27 Feb 2002 16:10:17 +0000 (16:10 +0000)]
* ssp.c (help_desk): Fix compiler warning.  Christopher Faylor <cgf@redhat.com>
Change appropriate globals to statics throughout.
* cygcheck.cc (usage): Simplify usage output.  Generalize to allow use for
help.
(longopts): Add version option.
(opts): Add 'V" version option.
(print_version): New function.
(main): Accommodate new version option.  Accommodate usage parameter changes.
Use usage to output help message.
* Makefile.in (CXXFLAGS): Add override so that HAVE_DECL_GETOPT is defined.
(libbfd): Use -B rather than -L so that bfd from build directory is correctly
found.
(libintl): Ditto.

22 years ago* standards.texi: Import February 14, 2002 version.
Andrew Cagney [Wed, 27 Feb 2002 02:13:36 +0000 (02:13 +0000)]
* standards.texi: Import February 14, 2002 version.
* make-stds.texi: Import 2001 version.
* Makefile.in (install): Depend on install-info.

22 years ago2002-02-25 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 25 Feb 2002 23:51:10 +0000 (23:51 +0000)]
2002-02-25  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/config.h: Add __extension__ in front of
        long long references.

22 years ago * cygwin.din (fstat64): New symbol.
Corinna Vinschen [Mon, 25 Feb 2002 17:47:51 +0000 (17:47 +0000)]
* cygwin.din (fstat64): New symbol.
(ftruncate64): Ditto.
(lseek64): Ditto.
(lstat64): Ditto.
(mmap64): Ditto.
(seekdir64): Ditto.
(stat64): Ditto.
(telldir64): Ditto.
(truncate64): Ditto.
* dir.cc (telldir64): New function.
(telldir): Call telldir64().
(seekdir64): New function.
(seekdir): Call seekdir64().
* fhandler.h: Redefine all methods using __off32_t to use __off64_t.
* fhandler.cc: Use __off64_t and struct __stat64 throughout.
* fhandler_clipboard.cc: Ditto.
* fhandler_disk_file.cc: Ditto.
* fhandler_dsp.cc: Ditto.
* fhandler_floppy.cc: Ditto.
* fhandler_mem.cc: Ditto.
* fhandler_random.cc: Ditto.
* fhandler_socket.cc: Ditto.
* fhandler_tape.cc: Ditto.
* fhandler_zero.cc: Ditto.
* pipe.cc: Ditto.
* glob.c: Ditto, call lstat64 and stat64 in Cygwin.
* mmap.cc: Use __off64_t throughout.
(mmap64): New function.
* sec_acl.cc (acl_worker): Use struct __stat64, call stat64 and lstat64.
* syscalls.cc (lseek64): New function.
(stat64_to_stat32): Ditto.
(fstat64): Ditto.
(stat64): Ditto.
(lstat64): Ditto.
(ftruncate64): Ditto.
(truncate64): Ditto.
(_fstat): Call fstat64.
(_stat): Call stat64.
(cygwin_lstat): Rename to avoid declaration problem.  Call lstat64.
(stat_worker): Use struct __stat64.
(access): Ditto.
(ftruncate): Call ftruncate64.
(truncate): Call truncate64.
* wincap.cc: Set flag has_64bit_file_access appropriately.
* wincap.h: Add flag has_64bit_file_access.
* winsup.h (ILLEGAL_SEEK): Define as __off64_t.
(stat_dev): Declare using struct __stat64.
(stat_worker): Ditto.
* include/cygwin/stat.h (struct __stat32): Define if compiling Cygwin.
(struct __stat64): Ditto.
(struct stat): Revert definition with explicitly sized datatypes.
Eliminate sized field names.
* include/cygwin/types.h (blksize_t): New type.
(__blkcnt32_t): Ditto.
(__blkcnt64_t): Ditto.
(blkcnt_t): Ditto.

22 years agoupdate copyright
Christopher Faylor [Mon, 25 Feb 2002 05:27:18 +0000 (05:27 +0000)]
update copyright

22 years agomissdit
Alan Modra [Mon, 25 Feb 2002 04:13:42 +0000 (04:13 +0000)]
missdit

22 years ago * ppc.h (PPC_OPCODE_POWER4, PPC_OPCODE_NOPOWER4): Define.
Alan Modra [Mon, 25 Feb 2002 03:42:59 +0000 (03:42 +0000)]
* ppc.h (PPC_OPCODE_POWER4, PPC_OPCODE_NOPOWER4): Define.

22 years ago2002-02-23 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Sun, 24 Feb 2002 00:04:00 +0000 (00:04 +0000)]
2002-02-23  Daniel Jacobowitz  <drow@mvista.com>

        * config.guess: Import from master sources, rev 1.232.
        * config.sub: Import from master sources, rev 1.246.

22 years ago * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
Corinna Vinschen [Sat, 23 Feb 2002 20:46:28 +0000 (20:46 +0000)]
* libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
(_stat): Ditto.

22 years ago * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
Corinna Vinschen [Sat, 23 Feb 2002 14:37:29 +0000 (14:37 +0000)]
* libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
of off_t.

22 years ago* Makefile.in (MAKEINFO): Don't assume makeinfo will be built just
Alexandre Oliva [Sat, 23 Feb 2002 10:08:09 +0000 (10:08 +0000)]
* Makefile.in (MAKEINFO): Don't assume makeinfo will be built just
because its Makefile is there; test for the executable instead.

22 years ago* sync.h (new_muto): Just accept an argument which denotes the name of the
Christopher Faylor [Fri, 22 Feb 2002 19:33:41 +0000 (19:33 +0000)]
* sync.h (new_muto): Just accept an argument which denotes the name of the
muto.  Use this argument to construct static storage.
* cygheap.cc (cygheap_init): Reflect above change.
* exceptions.cc (events_init): Ditto.
* malloc.cc (malloc_init): Ditto.
* path.cc (cwdstuff::init): Ditto.
* cygheap.h (cwdstuff): Change name of lock element to make it less generic.
* path.cc (cwdstuff::get_hash): Ditto.
(cwdstuff::get_initial): Ditto.
(cwdstuff::set): Ditto.
(cwdstuff::get): Ditto.
* sigproc.cc (proc_subproc): Ditto.
* debug.cc (lock_debug): Change to method.  Use method rather than macro
throughout.
* tty.h (tty_min::kill_pgrp): Declare new method.
* fhandler_termios.cc (tty_min::kill_pgrp): New method.
(fhandler_termios::line_edit): Use new method for killing process.
* dcrt0.cc (do_exit): Ditto.
* dtable.cc (dtable::get_debugger_info): New method for inheriting dtable info
from a debugger.
* tty.cc (tty_init): Attempt to grab file handle info from parent debugger, if
appropriate.  # dtable.cc (dtable::stdio_init): Make this a method.
(dtable::init_std_file_from_handle): Don't set fd unless it's not open.
(dtable::build_fhandler_from_name): Move name setting to
dtable::build_fhandler.
(dtable::build_fhandler): Add win32 name parameter.
* dcrt0.cc (dll_crt0_1): Change to use dtable stdio_init.
* dtable.h (dtable): Reflect build_fhandler parameter change.
* mmap.cc (mmap_record::alloc_fh): Don't set name parameter in build_fhandler.
* net.cc (fdsock): Remove set_name call since it is now handled by
build_fhandler.
* sigproc.cc (proc_subproc): Release muto as early as possible.

22 years ago * smallprint.c (rn): Allow long long values.
Corinna Vinschen [Fri, 22 Feb 2002 18:22:24 +0000 (18:22 +0000)]
* smallprint.c (rn): Allow long long values.
(__small_vsprintf): Add 'D', 'U' and 'X' formats for long long
parameters.

22 years agoinclude:
Jim Blandy [Thu, 21 Feb 2002 22:19:14 +0000 (22:19 +0000)]
include:

Allow the user to specify functions for allocating memory for
splay tree roots and nodes.
* splay-tree.h (splay_tree_allocate_fn, splay_tree_deallocate_fn):
New types.
(splay_tree): New fields: `allocate', `deallocate', and
`allocate_data'.
(splay_tree_new_with_allocator): New function declaration.

libiberty:

* splay-tree.c (splay_tree_xmalloc_allocate,
splay_tree_xmalloc_deallocate): New functions.
(splay_tree_new): Call splay_tree_new_with_allocator, passing the
above functions and a dummy data pointer.
(splay_tree_new_with_allocator): New function.
(splay_tree_delete_helper, splay_tree_delete, splay_tree_insert,
splay_tree_remove): Use the splay tree's allocation and
deallocation functions.

22 years agoAdd missing clobbered register.
Nick Clifton [Wed, 20 Feb 2002 14:42:03 +0000 (14:42 +0000)]
Add missing clobbered register.

22 years ago * configure.host (newlib_cflags): When host is in m68* add
Thomas Fitzsimmons [Wed, 20 Feb 2002 00:47:07 +0000 (00:47 +0000)]
* configure.host (newlib_cflags): When host is in m68* add
-DCOMPACT_CTYPE.

22 years ago* fhandler.cc (fhandler_base::puts_readahead): Remove default parameter
Christopher Faylor [Tue, 19 Feb 2002 22:06:50 +0000 (22:06 +0000)]
* fhandler.cc (fhandler_base::puts_readahead): Remove default parameter
setting.  Newer gcc's complain about this.
(fhandler_base::set_readahead_valid): Ditto.
* fhandler_dsp.cc (Audio::open): Ditto.
(fhandler_dev_dsp::open): Ditto.

22 years ago* configure.in: Avoid building w32api or mingw if they don't exist.
Christopher Faylor [Tue, 19 Feb 2002 21:59:19 +0000 (21:59 +0000)]
* configure.in: Avoid building w32api or mingw if they don't exist.
* configure: Regenerate.

22 years ago* fork.cc (fork_parent): Use sec_user_nih to control process/thread
Christopher Faylor [Tue, 19 Feb 2002 05:58:44 +0000 (05:58 +0000)]
* fork.cc (fork_parent): Use sec_user_nih to control process/thread
inheritance/permission.
* spawn.cc (spawn_guts): Ditto.
* security.cc (create_token): Initialize token so that it is not tested for
bogus value later.  Use sec_user to control process/thread creation.
* security.h (__sec_user): Rename declaration from sec_user.
(sec_user_nih): Declare here as inline function wrapper for __sec_user.
(sec_user): Ditto.
* sigproc.cc (czombies): Allocate a character array for zombies to avoid
constructor overhead
(extremely hackish, I know).
(cpchildren): Ditto.
(pchildren): New define.
(zombies): Ditto.
(getsem): Use sec_user_nih to control semaphore inheritance/permission.

22 years ago * i386.h (push,pop): Fix Reg64 to WordReg to allow 16bit operands.
Jan Hubicka [Mon, 18 Feb 2002 16:32:25 +0000 (16:32 +0000)]
* i386.h (push,pop): Fix Reg64 to WordReg to allow 16bit operands.

22 years agoreformat
Christopher Faylor [Sun, 17 Feb 2002 22:00:28 +0000 (22:00 +0000)]
reformat

22 years ago* times.cc (hires::prime): Restore thread priority on failure condition.
Christopher Faylor [Sun, 17 Feb 2002 04:59:55 +0000 (04:59 +0000)]
* times.cc (hires::prime): Restore thread priority on failure condition.
* uinfo.cc (uinfo_init): Use more robust method for determining if process was
invoked from a non-cygwin process.
* sync.h (muto::init): Eliminate "inheritance" parameter.
(new_muto): Reflect removal of parameter.
* sync.cc (muto::init): Ditto.
* cygheap.cc (cygheap_init): Ditto.
* debug.cc (threadname_init): Ditto.
* exceptions.cc (events_init): Ditto.
* malloc.cc (malloc_init): Ditto.
* path.cc (cwdstuff::init): Ditto.
* sigproc.cc (sigproc_init): Ditto.
* grp.cc (group_lock): Use different method for locking with static member.
(read_etc_group): REALLY ensure that read lock mutex is released.
* passwd.cc (passwd_lock): Use different method for locking with static member.
(read_etc_passwd): REALLY ensure that read lock mutex is released.
* shared.cc (sec_user): Correct reversed inheritance test.

22 years agowhitespace cleanup
Christopher Faylor [Sat, 16 Feb 2002 17:47:48 +0000 (17:47 +0000)]
whitespace cleanup

22 years ago* mount.cc (usage): Fix typo in output.
Christopher Faylor [Fri, 15 Feb 2002 23:03:14 +0000 (23:03 +0000)]
* mount.cc (usage): Fix typo in output.

22 years ago2002-02-15 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 15 Feb 2002 21:19:40 +0000 (21:19 +0000)]
2002-02-15  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/config.h: Add definitions for
        __int16_t, __uint16_t, __int64_t, and __uint64_t.

22 years ago * include/ntsecpkg.h: New file.
Danny Smith [Fri, 15 Feb 2002 19:27:44 +0000 (19:27 +0000)]
* include/ntsecpkg.h: New file.
* include/schannel.h: New file.
* include/schnlsp.h: New file.
* include/security.h: New file.
* include/sspi.h: New file.
* include/ntsecapi.h (KERB_WRAP_NO_ENCRYPT,
MICROSOFT_KERBEROS_NAME_[AW]): Add missing constants
* include/wincrypt.h (CALG_*, X509_ASN_ENCODING.
PKCS_7_ASN_ENCODING, CERT_*, USAGE_MATCH_TYPE_AND,
USAGE_MATCH_TYPE_OR, szOID_*): Add missing constants
(struct _CRYPTOAPI_BLOB): Add structure and typedefs.
(SSL_EXTRA_CERT_CHAIN_POLICY_PARA,HTTPSPolicyCallbackData,
CERT_CHAIN_POLICY_PARA,CERT_CHAIN_POLICY_STATUS,
CRYPT_ALGORITHM_IDENTIFIER, CRYPT_BIT_BLOB,
CERT_PUBLIC_KEY_INFO, CERT_EXTENSION, CERT_INFO, CERT_CONTEXT,
CTL_USAGE, CERT_ENHKEY_USAGE, CERT_USAGE_MATCH,
CERT_CHAIN_PARA, CERT_CHAIN_FIND_BY_ISSUER_PARA,
CERT_TRUST_STATUS, CRL_ENTRY, CRL_INFO, CRL_CONTEXT,
CERT_REVOCATION_CRL_INFO, CERT_REVOCATION_INFO,
CERT_CHAIN_ELEMENT, CRYPT_ATTRIBUTE, CTL_ENTRY, CTL_INFO,
CTL_CONTEXT, CERT_TRUST_LIST_INFO, CERT_SIMPLE_CHAIN,
CERT_CHAIN_CONTEXT): Add missing structures.
(CertCloseStore, CertGetCertificateChain,
CertVerifyCertificateChainPolicy, CertFreeCertificateChain,
CertNameToStr[AW], CertOpenSystemStore[AW], CertOpenStore,
CertFindCertificateInStore, CertFreeCertificateContext,
CertGetIssuerCertificateFromStore,
CertFindChainInStore): Add missing functions.
(CertNameToStr, CertOpenSystemStore, CERT_FIND_SUBJECT_STR,
CERT_FIND_ISSUER_STR): Add Unicode mappings.
* lib/crypt32.def: New file.
* lib/secur32.def: Add mising stubs.
* lib/test.c: Include new headers.

22 years ago* hires.h (hires::usecs): Rename from utime. Accept an argument.
Christopher Faylor [Fri, 15 Feb 2002 17:06:40 +0000 (17:06 +0000)]
* hires.h (hires::usecs): Rename from utime.  Accept an argument.
* strace.cc (strace::microseconds): Use hires class for calculating times.
* sync.h (new_muto): Use NO_COPY explicitly in declaration.
* times.cc (gettimeofday): Reflect change in usecs argument.
(hires::usecs): Ditto.  Changed name from utime.
* winsup.h (NO_COPY): Add nocommon attribute to force setting aside space for
variable.
* regcomp.c (REQUIRE): Add a void cast to bypass a warning.

22 years ago* hires.h: New file.
Christopher Faylor [Fri, 15 Feb 2002 07:05:05 +0000 (07:05 +0000)]
* hires.h: New file.
* times.cc (gettimeofday): Use hires class for calculating current time.
(hires::prime): New method.
(hires::utime): Ditto.

22 years ago Support arbitrary length fill patterns.
Alan Modra [Fri, 15 Feb 2002 02:10:03 +0000 (02:10 +0000)]
Support arbitrary length fill patterns.
* bfdlink.h (enum bfd_link_order_type): Remove bfd_fill_link_order.
(struct bfd_link_order): Remove fill.  Add data.size.

22 years ago* strace.cc (attach_process): Change CW_STRACE_ON to CW_STRACE_TOGGLE.
Christopher Faylor [Thu, 14 Feb 2002 21:51:32 +0000 (21:51 +0000)]
* strace.cc (attach_process): Change CW_STRACE_ON to CW_STRACE_TOGGLE.

22 years ago* include/sys/cygwin.h (cygwin_getinfo_types): New CW_STRACE_ACTIVE.
Christopher Faylor [Thu, 14 Feb 2002 21:31:23 +0000 (21:31 +0000)]
* include/sys/cygwin.h (cygwin_getinfo_types): New CW_STRACE_ACTIVE.
* external.cc (cygwin_internal): Handle CW_STRACE_ACTIVE.

22 years ago* exceptions.cc (unused_sig_wrapper): Eliminate unused parameter to asm.
Christopher Faylor [Thu, 14 Feb 2002 21:20:06 +0000 (21:20 +0000)]
* exceptions.cc (unused_sig_wrapper): Eliminate unused parameter to asm.
* external.cc (cygwin_internal): Change CW_STRACE_ON to CW_STRACE_TOGGLE.
* strace.cc (strace::hello): Toggle strace on and off.
* sync.cc (muto::init): Renamed from constructor.
* sync.h (muto::new): Delete.
(muto::delete): Ditto.
(new_muto): Simplify.  Use muto.init for nearly everything.
* uinfo.cc (uinfo_init): Avoid closing a NULL handle.
* include/sys/cygwin.h (cygwin_getinfo_types): Rename CW_STRACE_OFF to
CW_STRACE_TOGGLE.  Delete CW_STRACE_OFF.
* include/sys/strace.h (strace): Add "inited" field.

22 years ago * include/ntsecpkg.h: New file.
Danny Smith [Thu, 14 Feb 2002 00:24:52 +0000 (00:24 +0000)]
* include/ntsecpkg.h: New file.
* include/schannel.h: New file.
* include/schnlsp.h: New file.
* include/security.h: New file.
* include/sspi.h: New file.
* include/ntsecapi.h (KERB_WRAP_NO_ENCRYPT,
MICROSOFT_KERBEROS_NAME_[AW]): Add missing constants
* include/wincrypt.h (CALG_*, X509_ASN_ENCODING.
PKCS_7_ASN_ENCODING, CERT_*, USAGE_MATCH_TYPE_AND,
USAGE_MATCH_TYPE_OR, szOID_*): Add missing constants
(struct _CRYPTOAPI_BLOB): Add structure and typedefs.
(SSL_EXTRA_CERT_CHAIN_POLICY_PARA,HTTPSPolicyCallbackData,
CERT_CHAIN_POLICY_PARA,CERT_CHAIN_POLICY_STATUS,
CRYPT_ALGORITHM_IDENTIFIER, CRYPT_BIT_BLOB,
CERT_PUBLIC_KEY_INFO, CERT_EXTENSION, CERT_INFO, CERT_CONTEXT,
CTL_USAGE, CERT_ENHKEY_USAGE, CERT_USAGE_MATCH,
CERT_CHAIN_PARA, CERT_CHAIN_FIND_BY_ISSUER_PARA,
CERT_TRUST_STATUS, CRL_ENTRY, CRL_INFO, CRL_CONTEXT,
CERT_REVOCATION_CRL_INFO, CERT_REVOCATION_INFO,
CERT_CHAIN_ELEMENT, CRYPT_ATTRIBUTE, CTL_ENTRY, CTL_INFO,
CTL_CONTEXT, CERT_TRUST_LIST_INFO, CERT_SIMPLE_CHAIN,
CERT_CHAIN_CONTEXT): Add missing structures.
(CertCloseStore, CertGetCertificateChain,
CertVerifyCertificateChainPolicy, CertFreeCertificateChain,
CertNameToStr[AW], CertOpenSystemStore[AW], CertOpenStore,
CertFindCertificateInStore, CertFreeCertificateContext,
CertGetIssuerCertificateFromStore,
CertFindChainInStore): Add missing functions.
(CertNameToStr, CertOpenSystemStore, CERT_FIND_SUBJECT_STR,
CERT_FIND_ISSUER_STR): Add Unicode mappings.
* lib/crypt32.def: New file.
* lib/secur32.def: Add mising stubs.
* lib/test.c: Include new headers.

22 years ago * include/windef.h (PROC,FARPROC,NEARPROC): Remove void
Danny Smith [Wed, 13 Feb 2002 22:15:55 +0000 (22:15 +0000)]
* include/windef.h (PROC,FARPROC,NEARPROC): Remove void
parameter.

22 years ago * include/windef.h (FARPROC,NEARPROC,PROC): Remove
Danny Smith [Wed, 13 Feb 2002 20:56:17 +0000 (20:56 +0000)]
* include/windef.h (FARPROC,NEARPROC,PROC): Remove
void parameter.

22 years agobfd:
Jason Thorpe [Wed, 13 Feb 2002 18:14:48 +0000 (18:14 +0000)]
bfd:
2002-02-13  Matt Fredette  <fredette@netbsd.org>

* elf32-m68k.c (elf32_m68k_print_private_bfd_data): Recognize
EF_M68000.

bintuls:
2002-02-13  Matt Fredette  <fredette@netbsd.org>

* readelf.c (get_machine_flags): Recognize EF_M68000.

gas:
2002-02-13  Matt Fredette  <fredette@netbsd.org>

* config/tc-m68k.c (md_show_usage): No longer display a
hard-coded "68020" for the default CPU, instead display the
canonical name of the true, configured default CPU.
(m68k_elf_final_processing): Mark objects for sub-68020
CPUs with the new EF_M68000 flag.

include/elf:
2002-02-13  Matt Fredette  <fredette@netbsd.org>

* m68k.h (EF_M68000): Define.

22 years ago2002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
Jeff Johnston [Wed, 13 Feb 2002 00:01:27 +0000 (00:01 +0000)]
2002-02-12  Hans-Peter Nilsson  <hp@bitrange.com>

        * libc/sys/mmixware/link.c: New.
        * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
        volatile.
        * libc/sys/mmixware/times.c (_times): Renamed from times.
        * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
        properly by reading previous contents, not through BinaryReadWrite.
        * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
        * libc/sys/mmixware/Makefile.in: Regenerate.

22 years ago * include/cygwin/acl.h: Fix definition of aclent_t.
Corinna Vinschen [Tue, 12 Feb 2002 21:21:32 +0000 (21:21 +0000)]
* include/cygwin/acl.h: Fix definition of aclent_t.

22 years agoAdd DT_PPC64_OPD and DT_PPC64_OPDSZ dynamic tags
Alan Modra [Tue, 12 Feb 2002 06:31:24 +0000 (06:31 +0000)]
Add DT_PPC64_OPD and DT_PPC64_OPDSZ dynamic tags

22 years ago * i386.h (push,pop): Allow 16bit operands in 64bit mode.
Jan Hubicka [Mon, 11 Feb 2002 11:56:20 +0000 (11:56 +0000)]
* i386.h (push,pop): Allow 16bit operands in 64bit mode.
(xchg): Fix.
(in, out): Disable 64bit operands.
(call, jmp): Avoid REX prefixes.
(jcxz): Prohibit in 64bit mode
(jrcxz, loop): Add 64bit variants.
(movq): Fix patterns.
(movmskps, pextrw, pinstrw): Add 64bit variants.

22 years agonew how-to.
Christopher Faylor [Mon, 11 Feb 2002 02:25:42 +0000 (02:25 +0000)]
new how-to.

22 years ago* Makefile.in (DLL_OFILES): Consolidate object files.
Christopher Faylor [Sun, 10 Feb 2002 21:26:27 +0000 (21:26 +0000)]
* Makefile.in (DLL_OFILES): Consolidate object files.

22 years ago * child_info.h, cygheap.h, fhandler_clipboard.cc, fhandler_dsp.cc,
Corinna Vinschen [Sun, 10 Feb 2002 13:50:13 +0000 (13:50 +0000)]
* child_info.h, cygheap.h, fhandler_clipboard.cc, fhandler_dsp.cc,
fhandler_floppy.cc, fhandler_mem.cc, fhandler_random.cc,
fhandler_tape.cc, fhandler_zero.cc, grp.cc, mmap.cc, passwd.cc,
pinfo.cc, pinfo.h, pipe.cc, sec_acl.cc, sec_helper.cc, security.cc,
security.h, thread.h, uinfo.cc, include/cygwin/acl.h: Fix copyright.

22 years ago * (child_info.h, cygheap.h, dcrt0.cc, dir.cc, fhandler.cc, fhandler.h,
Corinna Vinschen [Sun, 10 Feb 2002 13:38:51 +0000 (13:38 +0000)]
* (child_info.h, cygheap.h, dcrt0.cc, dir.cc, fhandler.cc, fhandler.h,
fhandler_clipboard.cc, fhandler_disk_file.cc, fhandler_dsp.cc,
fhandler_floppy.cc, fhandler_mem.cc, fhandler_random.cc,
fhandler_tape.cc, fhandler_zero.cc, grp.cc, mmap.cc, passwd.cc,
pinfo.cc, pinfo.h, pipe.cc, sec_acl.cc, sec_helper.cc, security.cc,
security.h, spawn.cc, syscalls.cc, thread.h, uinfo.cc, winsup.h):
Change usage of uid_t to __uid16_t, gid_t to __gid16_t and
off_t to __off32_t throughout.  Use INVALID_UID, INVALID_GID and
INVALID_SEEK instead casting -1 to the appropriate type.
* winsup.h: Define INVALID_UID, INVALID_GID and INVALID_SEEK.
* include/cygwin/acl.h: Define internal __aclent16_t and __aclent32_t
types.  Don't declare acl functions when compiling Cygwin.
* include/cygwin/grp.h: Declare getgrgid() and getgrnam() with
correct types for internal usage.

22 years ago * libc/include/grp.h: Don't declare group functions when compiling
Corinna Vinschen [Sun, 10 Feb 2002 13:26:29 +0000 (13:26 +0000)]
* libc/include/grp.h: Don't declare group functions when compiling
Cygwin.

22 years ago * uinfo.cc (internal_getlogin): Try evaluating user by SID even if
Corinna Vinschen [Sun, 10 Feb 2002 11:15:56 +0000 (11:15 +0000)]
* uinfo.cc (internal_getlogin): Try evaluating user by SID even if
ntsec is off.
(uinfo_init): Set primary group even if ntsec is off.

22 years ago * alpha.h (R_ALPHA_BRSGP): New.
Richard Henderson [Sat, 9 Feb 2002 22:54:16 +0000 (22:54 +0000)]
    * alpha.h (R_ALPHA_BRSGP): New.

22 years ago * libc/include/grp.h: Include Cygwin specific header.
Corinna Vinschen [Sat, 9 Feb 2002 20:40:37 +0000 (20:40 +0000)]
* libc/include/grp.h: Include Cygwin specific header.
* libc/include/sys/stat.h: Ditto.  Don't define `struct stat'
when compiling for Cygwin.
* libc/include/sys/types.h: Don't define off_t, uid_t
and gid_t when compiling for Cygwin.

22 years ago * include/cygwin/grp.h: New file.
Corinna Vinschen [Sat, 9 Feb 2002 20:39:55 +0000 (20:39 +0000)]
* include/cygwin/grp.h: New file.
* include/cygwin/stat.h: Ditto.
* include/cygwin/types.h: Add definitions for __off32_t,
__off64_t, off_t, __uid16_t, __uid32_t, uid_t, __gid16_t,
__gid32_t and gid_t.
* include/sys/cygwin.h: Use correct uid and gid types.

22 years ago* libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
Matthew Green [Sat, 9 Feb 2002 13:01:46 +0000 (13:01 +0000)]
* libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
_REENT_EMERGENCY_SIZE, not sizeof(char *).

22 years ago * dtable.cc (dtable::dup2): Revert previous patch.
Corinna Vinschen [Sat, 9 Feb 2002 10:40:48 +0000 (10:40 +0000)]
* dtable.cc (dtable::dup2): Revert previous patch.
* fhandler.h: Ditto.
(fhandler_socket::recv): Define new method.
(fhandler_socket::send): Ditto.
* fhandler_socket.cc (fhandler_socket::recv): New method.
(fhandler_socket::send): Ditto.
(fhandler_socket::read): Call fhandler_socket::recv() now.
(fhandler_socket::write): Call fhandler_socket::send() now.
* net.cc (class wsock_event): Move definition to wsock_event.h.
(fdsock): Revert previous patch.
(cygwin_recv): Move implementation to fhandler_socket::recv().
(cygwin_send): Move implementation to fhandler_socket::send().
* wsock_event.h: New file.

22 years ago * net.cc (get_2k_ifconf): Create interface entries for tokenring cards.
Corinna Vinschen [Sat, 9 Feb 2002 09:01:18 +0000 (09:01 +0000)]
* net.cc (get_2k_ifconf): Create interface entries for tokenring cards.

22 years agoContribute sh64-elf.
Alexandre Oliva [Sat, 9 Feb 2002 03:15:34 +0000 (03:15 +0000)]
Contribute sh64-elf.
2000-12-01  Alexandre Oliva  <aoliva@redhat.com>
* configure.in: Added sh64-*-*.

22 years ago * dtable.cc (dtable::dup2): Store fd for fhandler_socket.
Corinna Vinschen [Fri, 8 Feb 2002 11:54:10 +0000 (11:54 +0000)]
* dtable.cc (dtable::dup2): Store fd for fhandler_socket.
* fhandler.h (fhandler_base::set_fd): New virtual method.
(fhandler_base::get_fd): Ditto.
(fhandler_socket::set_fd): Ditto.
(fhandler_socket::get_fd): Ditto.
* fhandler_socket.cc (fhandler_socket::read): Call cygwin_recv instead
of native Winsock recv.
(fhandler_socket::write): Call cygwin_send instead of native Winsock
send.
* net.cc (fdsock): Store fd in fhandler_socket.

22 years agoContribute sh64-elf.
Alexandre Oliva [Fri, 8 Feb 2002 07:11:13 +0000 (07:11 +0000)]
Contribute sh64-elf.
2001-03-13  Alexandre Oliva  <aoliva@redhat.com>
* configure.host (newlib_cflags) [sh*-*-*]: Enable long long
support in printf.
2001-01-29  Alexandre Oliva  <aoliva@redhat.com>
* libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
any labels.
2001-01-24  Alexandre Oliva  <aoliva@redhat.com>
* libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
2000-12-16  Alexandre Oliva  <aoliva@redhat.com>
* libc/machine/sh/configure.in: Rework conditionals.
* libc/machine/sh/Makefile.am: Likewise.
* libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
2000-12-01  Alexandre Oliva  <aoliva@redhat.com>
* configure.host: Match `sh*'.
* libc/include/machine/setjmp.h: Define for SH5.
* libc/machine/sh/configure.in: Detect SH5.
* libc/machine/sh/configure: Rebuilt.
* libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
* libc/machine/sh/Makefile.in: Rebuilt.
* libc/machine/sh/asm.h: Adjust for SH5.
* libc/machine/sh/setjmp.S: Implement in SHmedia.
* libc/sys/sh/crt0.S: Likewise.
* libc/sys/sh/trap.S: Likewise.

22 years agoContribute sh64-elf.
Alexandre Oliva [Fri, 8 Feb 2002 05:05:58 +0000 (05:05 +0000)]
Contribute sh64-elf.
2002-01-23  Alexandre Oliva  <aoliva@redhat.com>
* sh.h (R_SH_GOTPLT32, R_SH_GOT_LOW16, R_SH_GOT_MEDLOW16,
R_SH_GOT_MEDHI16, R_SH_GOT_HI16, R_SH_GOTPLT_LOW16,
R_SH_GOTPLT_MEDLOW16, R_SH_GOTPLT_MEDHI16, R_SH_GOTPLT_HI16,
R_SH_PLT_LOW16, R_SH_PLT_MEDLOW16, R_SH_PLT_MEDHI16,
R_SH_PLT_HI16, R_SH_GOTOFF_LOW16, R_SH_GOTOFF_MEDLOW16,
R_SH_GOTOFF_MEDHI16, R_SH_GOTOFF_HI16, R_SH_GOTPC_LOW16,
R_SH_GOTPC_MEDLOW16, R_SH_GOTPC_MEDHI16, R_SH_GOTPC_HI16,
R_SH_GOT10BY4, R_SH_GOTPLT10BY4, R_SH_GOT10BY8,
R_SH_GOTPLT10BY8, R_SH_COPY64, R_SH_GLOB_DAT64, R_SH_JMP_SLOT64,
R_SH_RELATIVE64): New relocs.
(R_SH_FIRST_INVALID_RELOC_4): Adjust.
2001-05-16  Alexandre Oliva  <aoliva@redhat.com>
* sh.h: Renumbered and renamed some SH5 relocations to match
official numbers and names; moved unmaching ones to the range
0xf2-0xff.
2001-01-06  Hans-Peter Nilsson  <hpn@cygnus.com>
* sh.h (sh64_get_contents_type): Declare.
(sh64_address_is_shmedia): Likewise.
2000-12-30  Hans-Peter Nilsson  <hpn@cygnus.com>
* sh.h (sh64_elf_crange): New type.
(struct sh64_section_data): New.
(sh64_elf_section_data): New macro.
(EF_SH5): Rename back from EF_SH64.
2000-12-18  Hans-Peter Nilsson  <hpn@cygnus.com>
* sh.h (SHF_SH5_ISA32_MIXED, SHT_SH5_CR_SORTED,
SH64_CRANGES_SECTION_NAME, SH64_CRANGE_SIZE,
SH64_CRANGE_CR_ADDR_OFFSET, SH64_CRANGE_CR_SIZE_OFFSET,
SH64_CRANGE_CR_TYPE_OFFSET): New macros.
2000-12-12  Hans-Peter Nilsson  <hpn@cygnus.com>
* sh.h (EF_SH64): Don't define EF_SH64_ABI64.
2000-11-27  Hans-Peter Nilsson  <hpn@cygnus.com>
* sh.h (EF_SH64_32BIT_ABI, EF_SH64_64BIT_ABI): Delete.
(EF_SH64_ABI64): New.
2000-11-23  Hans-Peter Nilsson  <hpn@cygnus.com>
* sh.h (EF_SH64): Rename from EF_SH5.
(EF_SH64_32BIT_ABI): New.
(EF_SH64_64BIT_ABI): New.
(R_SH_PT_16, R_SH_SHMEDIA_CODE
R_SH_IMMU5, R_SH_IMMS6, R_SH_IMMU6, R_SH_IMMS10, R_SH_IMMS10BY2,
R_SH_IMMS10BY4, R_SH_IMMS10BY8, R_SH_IMMS16, R_SH_IMMU16,
R_SH_IMM_LOW16, R_SH_IMM_LOW16_PCREL, R_SH_IMM_MEDLOW16,
R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16, R_SH_IMM_MEDHI16_PCREL,
R_SH_IMM_HI16, R_SH_IMM_HI16_PCREL, R_SH_64, R_SH_64_PCREL): New
relocs.
2000-09-01  Ben Elliston  <bje@redhat.com>
* sh.h (EF_SH5): Define.

22 years agoContribute sh64-elf.
Alexandre Oliva [Fri, 8 Feb 2002 05:01:25 +0000 (05:01 +0000)]
Contribute sh64-elf.
2000-11-25  Hans-Peter Nilsson  <hpn@cygnus.com>
* dis-asm.h (print_insn_sh64): New prototype.
(print_insn_sh64l): New prototype.
(print_insn_sh64x_media): New prototype.

22 years ago2002-02-07 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 7 Feb 2002 19:15:15 +0000 (19:15 +0000)]
2002-02-07  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
        (mach_add_obj): Conditionally set to setjmp.o or nothing.
        (LIB_SOURCES): Remove $(mach_add_src).
        (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
        (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
        * libc/machine/i386/Makefile.in: Regenerate.

22 years ago * net.cc (cygwin_getsockname): Fix handling of NULL sun_path.
Corinna Vinschen [Thu, 7 Feb 2002 15:04:32 +0000 (15:04 +0000)]
* net.cc (cygwin_getsockname): Fix handling of NULL sun_path.

22 years ago* opcodes disassembler extension
Frank Ch. Eigler [Tue, 5 Feb 2002 19:40:42 +0000 (19:40 +0000)]
* opcodes disassembler extension

[includes]
2002-02-04  Frank Ch. Eigler  <fche@redhat.com>

* dis-asm.h (disassemble_info): New field `insn_sets'.
(INIT_DISASSEMBLE_INFO): Clear it.

[opcodes]
2002-02-04  Frank Ch. Eigler  <fche@redhat.com>

* cgen-dis.in (print_insn_@arch@): Support disassemble_info.insn_sets.

22 years ago*** empty log message ***
Mark Salter [Tue, 5 Feb 2002 18:13:21 +0000 (18:13 +0000)]
*** empty log message ***

22 years agoAdd eh stuff and .jcr.
Mark Salter [Tue, 5 Feb 2002 18:12:23 +0000 (18:12 +0000)]
Add eh stuff and .jcr.

22 years agoAdd crti to startfile.
Mark Salter [Tue, 5 Feb 2002 18:11:13 +0000 (18:11 +0000)]
Add crti to startfile.

22 years agoAdd init/fini support.
Mark Salter [Tue, 5 Feb 2002 18:09:18 +0000 (18:09 +0000)]
Add init/fini support.

22 years agomerge from gcc
DJ Delorie [Tue, 5 Feb 2002 17:53:03 +0000 (17:53 +0000)]
merge from gcc

22 years agoFix typo.
Jeff Johnston [Tue, 5 Feb 2002 17:17:28 +0000 (17:17 +0000)]
Fix typo.

22 years ago2002-02-05 Manik Raina <manik@cisco.com>
Jeff Johnston [Tue, 5 Feb 2002 17:14:35 +0000 (17:14 +0000)]
2002-02-05  Manik Raina <manik@cisco.com>

        * libc/misc/dprintf (parse_number): #if 0 unused function.
        * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
        s, p, k, and outstr.
        * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.

22 years ago2002-02-04 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 5 Feb 2002 00:29:31 +0000 (00:29 +0000)]
2002-02-04  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.NEWLIB: Remove advertising clause from
        Berkeley and Red Hat licenses.

22 years ago2002-02-04 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 4 Feb 2002 18:38:44 +0000 (18:38 +0000)]
2002-02-04  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
        _REENT_CHECK_EMERGENCY macro.

22 years agoRemove redundant entry.
DJ Delorie [Sun, 3 Feb 2002 13:16:18 +0000 (13:16 +0000)]
Remove redundant entry.

22 years agomerge from gcc
DJ Delorie [Sun, 3 Feb 2002 13:12:31 +0000 (13:12 +0000)]
merge from gcc

22 years ago* libc/reent/signgam.c (__signgam): Fix error in previous.
Matthew Green [Sun, 3 Feb 2002 12:53:04 +0000 (12:53 +0000)]
* libc/reent/signgam.c (__signgam): Fix error in previous.

22 years ago* implement a new `struct _reent' that is significantly smaller. use this
Matthew Green [Sun, 3 Feb 2002 09:24:18 +0000 (09:24 +0000)]
* implement a new `struct _reent' that is significantly smaller.  use this
if _REENT_SMALL is defined in config.h.  define this for xstormy16.

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