]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
22 years ago * security.cc (get_unix_group_sidlist): Create.
Corinna Vinschen [Fri, 19 Jul 2002 15:04:18 +0000 (15:04 +0000)]
* security.cc (get_unix_group_sidlist): Create.
(get_supplementary_group_sidlist): Evolve into get_unix_group_sidlist.
(get_user_local_groups): Add check for duplicates.
(get_user_primary_group): Suppress.
(get_group_sidlist): Silently ignore PDC unavailability.
Call get_unix_group_sidlist() before get_user_local_groups().
Remove call to get_supplementary_group_sidlist(). Never call
get_user_primary_group() as the passwd group is always included.
Add well_known_authenticated_users_sid in only one statement.

22 years ago* fhandler_serial.cc (fhandler_serial::tcflush): Fix typo.
Christopher Faylor [Fri, 19 Jul 2002 14:17:11 +0000 (14:17 +0000)]
* fhandler_serial.cc (fhandler_serial::tcflush): Fix typo.

22 years agoAdd IP2k GAS and OPCODES support.
Nick Clifton [Fri, 19 Jul 2002 07:52:39 +0000 (07:52 +0000)]
Add IP2k GAS and OPCODES support.

22 years ago2002-07-18 Chris Demetriou <cgd@broadcom.com>
Jeff Johnston [Thu, 18 Jul 2002 20:04:59 +0000 (20:04 +0000)]
2002-07-18  Chris Demetriou  <cgd@broadcom.com>

        * read.c (read): Don't assign past end of buffer, fix return value.

22 years ago2002-07-17 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 17 Jul 2002 23:25:44 +0000 (23:25 +0000)]
2002-07-17  Jeff Johnston  <jjohnstn@redhat.com>

        * configure.host(stdio64_dir): New setting that is used to
        enable building of new stdio64 directory.
        * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
        large files.
        (stmp-stdio64,stdio64.texi): New targets to optionally add in
        stdio64 info to info files.
        * libc/Makefile.in: Regenerated.
        * libc/configure: Ditto.
        * libc/configure.in: Add configuration variables that are set
        when stdio64 is selected as subdir in configure.host.
        * libc/libc.texinfo: Add optional menu item for Stdio64, based
        on whether STDIO64 flag is set or not.
        * libc/sys.tex: Add optional stdio64 syscalls based on whether
        STDIO64 flag is set or not.
        * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
        _r sycall routines.
        * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
        (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
        (__SL64): New file flag indicating file is opened via fopen64.
        * libc/include/sys/_types.h(_off64_t): Added.
        * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
        * libc/include/sys/reent.h(struct __sFILE64): New file structure
        for 64-bit offset large file support.
        (__FILE): New intermediate type either set to struct __sFILE64 or
        struct __sFILE, depending on whether __LARGE64_FILES is set or not.
        * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
        * libc/reent/Makefile.in: Regenerated.
        * libc/reent/fstat64r.c: New file.
        * libc/reent/lseek64r.c: Ditto.
        * libc/reent/open64r.c: Ditto.
        * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
        based on whether STDIO64 flag is set.
        * libc/stdio/stdio.tex: Add blank line.
        * libc/stdio64/Makefile.am: New file.
        * libc/stdio64/Makefile.in: Ditto.
        * libc/stdio64/fgetpos64.c: Ditto.
        * libc/stdio64/fopen64.: Ditto.
        * libc/stdio64/freopen64.c: Ditto.
        * libc/stdio64/fseeko64.c: Ditto.
        * libc/stdio64/fsetpos64.c: Ditto.
        * libc/stdio64/ftello64.c: Ditto.
        * libc/stdio64/local64.h: Ditto.
        * libc/stdio64/stdio64.c: Ditto.
        * libc/stdio64/stdio64.tex: Ditto.
        * libc/stdio64/tmpfile64.c: Ditto.
        * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
        open64.

22 years agoIndex: sim/common/ChangeLog
Andrew Cagney [Wed, 17 Jul 2002 21:20:09 +0000 (21:20 +0000)]
Index: sim/common/ChangeLog
2002-07-17  Andrew Cagney  <cagney@redhat.com>

* run-sim.h: Add #ifdef RUN_SIM_H wrapper.
(sim_set_callbacks, sim_size, sim_trace)
(sim_set_trace, sim_set_profile_size, sim_kill): Declare.  Moved
to here from "gdb/remote-sim.h".

Index: include/gdb/ChangeLog
2002-07-17  Andrew Cagney  <cagney@redhat.com>

* remote-sim.h: Update copyright.
(sim_set_callbacks, sim_size, sim_trace)
(sim_set_trace, sim_set_profile_size, sim_kill): Delete.  Moved to
"sim/common/run-sim.h".

22 years agoinclude/gdb:
Joern Rennecke [Wed, 17 Jul 2002 18:43:26 +0000 (18:43 +0000)]
include/gdb:
* sim-sh.h: Add enum constants for sh[1-4], sh3e, sh3?-dsp,
renumbering the sh-dsp registers to use distinct numbers.
sim/sh:
* Makefile.in (interp.o): Depend on $(srcroot)/include/gdb/sim-sh.h.
* interp.c: Include "gdb/sim-sh.h".
(sim_store_register, sim_fetch_register): Use constants defined there.
gdb:
* sh-tdep.c (sh_dsp_register_sim_regno): New function.
(sh_gdbarch_init): Use it for sh-dsp.

22 years agooops - omitted from previous delta
Nick Clifton [Wed, 17 Jul 2002 14:18:37 +0000 (14:18 +0000)]
oops - omitted from previous delta

22 years agoAdd IP2k support to BFD and LD
Nick Clifton [Wed, 17 Jul 2002 14:15:50 +0000 (14:15 +0000)]
Add IP2k support to BFD and LD

22 years ago2002-07-17 Danny Smith <dannysmith@users.sourceforge.net>
Danny Smith [Wed, 17 Jul 2002 04:49:01 +0000 (04:49 +0000)]
2002-07-17  Danny Smith  <dannysmith@users.sourceforge.net>

* include/commdlg.h: Define CDN_* notification message constants
as UINT.

2002-07-17  Mattia Barbon  <mbarbon@users.sourceforge.net>

* include/commctrl.h: Define notification message constants for
NMHDR.code as UINT.

22 years ago2002-07-17 Bart Oldeman <bart.oldeman@btinternet.com>
Danny Smith [Wed, 17 Jul 2002 03:37:45 +0000 (03:37 +0000)]
2002-07-17   Bart Oldeman  <bart.oldeman@btinternet.com>

* include/ddeml.h (MH_*) Add defines.
(MONHSZSTRUCT): Add structure and typedefs.
(MONLINKSTRUCT): Ditto.
(MONCONVSTRUCT): Ditto.
(MONCBSTRUCT): Ditto.
(MONERRSTRUCT): Ditto.
(MONMSGSTRUCT): Ditto.
* include/windef.h: Don't define __cdecl or _cdecl for
__WATCOM__.
Don't define _export or __export for __WATCOM__.
* include/windows.h (imm.h): #include.
* include/winnt.h (LPEXCEPTION_RECORD): Add typedef.

2002-07-17  Danny Smith <dannysmith@users.sourceforge.net>

* include/wtypes.h: Remove duplicate #includes of rhc.h and
rpcndr.h.

22 years ago * README: Add Running the Testsuite section.
Thomas Fitzsimmons [Wed, 17 Jul 2002 00:58:59 +0000 (00:58 +0000)]
* README: Add Running the Testsuite section.

22 years ago2002-07-16 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Wed, 17 Jul 2002 00:17:14 +0000 (00:17 +0000)]
2002-07-16  Chris Demetriou  <cgd@broadcom.com>

        * config.guess: Update to 2002-07-09 version.
        * config.sub: Update to 2002-07-03 version.

22 years ago2002-07-16 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 16 Jul 2002 15:30:32 +0000 (15:30 +0000)]
2002-07-16  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
        if LIBC_EXTRA_LIB is present.
        * libc/Makefile.in: Regenerated.
        * libc/libc.texinfo: Add blank line.
        * libc/argz/Makefile.am: Add doc support.
        * libc/search/Makefile.am: Ditto.
        * libc/argz/Makefile.in: Regenerated.
        * libc/search/Makefile.in: Ditto.
        * libc/misc/misc.tex: Add ffs function.
        * libc/stdio/ftell.c: Fix missing doc delimeter in description.

22 years agojdf fix.
Christopher Faylor [Tue, 16 Jul 2002 03:12:55 +0000 (03:12 +0000)]
jdf fix.

22 years ago2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 15 Jul 2002 22:25:52 +0000 (22:25 +0000)]
2002-07-15  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
        definition that was removed in error.

Move definition before comment regarding H8300 macro definition.

22 years ago2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 15 Jul 2002 22:17:02 +0000 (22:17 +0000)]
2002-07-15  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
        definition that was removed in error.

22 years ago2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 15 Jul 2002 21:35:44 +0000 (21:35 +0000)]
2002-07-15  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/machine/ieeefp.h: Change to only define
        floating point defines (e.g one of __IEEE_BIG_ENDIAN or
        __IEEE_LITTLE_ENDIAN must be defined for each platform).
        * libc/include/sys/config.h: Include <machine/ieeefp.h> and
        remove redundant floating point definitions.

22 years ago2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 15 Jul 2002 21:13:32 +0000 (21:13 +0000)]
2002-07-15  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/callocr.c: Fix so code references
        calloc.

22 years ago2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 15 Jul 2002 20:16:32 +0000 (20:16 +0000)]
2002-07-15  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/Makefile.am: Add new files.
        * libc/sys/linux/Makefile.in: Regenerated.
        * libc/sys/linux/bp-sym.h: Moved to include directory.
        * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
        * libc/sys/linux/inode.c: Set _LIBC to 1.
        * libc/sys/linux/mq_close.c: Ditto.
        * libc/sys/linux/mq_getattr.c: Ditto.
        * libc/sys/linux/mq_open.c: Ditto.
        * libc/sys/linux/mq_receive.c: Ditto.
        * libc/sys/linux/mq_send.c: Ditto.
        * libc/sys/linux/mq_setattr.c: Ditto.
        * libc/sys/linux/mq_unlink.c: Ditto.
        * libc/sys/linux/calloc.c: New file.
        * libc/sys/linux/callocr.c: Ditto.
        * libc/sys/linux/cfreer.c: Ditto.
        * libc/sys/linux/config.h: Ditto.
        * libc/sys/linux/free.c: Ditto.
        * libc/sys/linux/freer.c: Ditto.
        * libc/sys/linux/msize.c: Ditto.
        * libc/sys/linux/msizer.c: Ditto.
        * libc/sys/linux/mstats.c: Ditto.
        * libc/sys/linux/mtrim.c: Ditto.
        * libc/sys/linux/mtrimr.c: Ditto.
        * libc/sys/linux/pvallocr.c: Ditto.
        * libc/sys/linux/realloc.c: Ditto.
        * libc/sys/linux/reallocr.c: Ditto.
        * libc/sys/linux/thread-m.h: Ditto.
        * libc/sys/linux/vallocr.c: Ditto.
        * libc/sys/linux/bp-checks.h: Ditto.
        * libc/sys/linux/libc-symbols.h: Ditto.
        * libc/sys/linux/libc-tsd.h: Ditto.
        * libc/sys/linux/libintl.h: Ditto.
        * libc/sys/linux/malign.c: Ditto.
        * libc/sys/linux/malignr.c: Ditto.
        * libc/sys/linux/mallinfor.c: Ditto.
        * libc/sys/linux/malloc.c: Ditto.
        * libc/sys/linux/mallocr.c: Ditto.
        * libc/sys/linux/malloptr.c: Ditto.
        * libc/sys/linux/mallstatsr.c: Ditto.
        * libc/sys/linux/mcheck.c: Ditto.
        * libc/sys/linux/mhooks.h: Ditto.
        * libc/sys/linux/include/bp-sym.h: Ditto.
        * libc/sys/linux/include/malloc.h: Ditto.
        * libc/sys/linux/include/mcheck.h: Ditto.
        * libc/sys/linux/machine/i386/getpagesize.c: New file.
        * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
        * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
        * libc/sys/linux/machine/i386/sysdep.h: New file.
        * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
        * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
* libc/sys/linux/sys/types.h: Add new types.

22 years ago * security.cc (get_group_sidlist): Fix formatting.
Corinna Vinschen [Mon, 15 Jul 2002 09:06:44 +0000 (09:06 +0000)]
* security.cc (get_group_sidlist): Fix formatting.

22 years ago* dcrt0.cc (initial_env): Force path and CYGWIN_DEBUG contents to lower case.
Christopher Faylor [Mon, 15 Jul 2002 03:48:52 +0000 (03:48 +0000)]
* dcrt0.cc (initial_env): Force path and CYGWIN_DEBUG contents to lower case.
* exceptions.cc (error_start_init): Use the name derived from GetModuleName
rather than myself->progname.

22 years ago* dcrt0.cc (dll_crt0_1): Move debug_init call back to here. Avoid a compiler
Christopher Faylor [Sun, 14 Jul 2002 19:15:32 +0000 (19:15 +0000)]
* dcrt0.cc (dll_crt0_1): Move debug_init call back to here.  Avoid a compiler
warning.
* shared.cc (memory_init): Remove debug_init call.
* debug.h (handle_list): Change "clexec" to "inherited".
* debug.cc: Remove a spurious declaration.
(setclexec): Conditionalize away since it is currently unused.
(add_handle): Use inherited field rather than clexec.
(debug_fixup_after_fork_exec): Ditto.  Move debugging output to delete_handle.
(delete_handle): Add debugging output.
* fhandler.cc (fhandler_base::set_inheritance): Don't bother setting
inheritance in debugging table since the handle was never protected anyway.
(fhandler_base::fork_fixup): Ditto.
* exceptions.cc (debugger_command): Revert.

22 years ago* debug.cc (clexec): Add missing `hl = hl->next'.
Christopher Faylor [Sun, 14 Jul 2002 16:16:33 +0000 (16:16 +0000)]
* debug.cc (clexec): Add missing `hl = hl->next'.

22 years ago* Makefile.in (cygrun.exe): Add a -lcygwin on the end.
Christopher Faylor [Sun, 14 Jul 2002 04:14:32 +0000 (04:14 +0000)]
* Makefile.in (cygrun.exe): Add a -lcygwin on the end.

22 years ago* Makefile.in (cygserver.exe): Add -lstdc++.
Christopher Faylor [Sun, 14 Jul 2002 04:03:01 +0000 (04:03 +0000)]
* Makefile.in (cygserver.exe): Add -lstdc++.
(cygrun.exe): Move -lgcc last.

22 years agoadd initial information
Christopher Faylor [Sat, 13 Jul 2002 21:15:10 +0000 (21:15 +0000)]
add initial information

22 years agocleanup a tad
Christopher Faylor [Sat, 13 Jul 2002 21:13:37 +0000 (21:13 +0000)]
cleanup a tad

22 years ago* dcrt0.cc (dll_crt0_1): Delay closing of some handles until cygheap has been
Christopher Faylor [Sat, 13 Jul 2002 21:08:13 +0000 (21:08 +0000)]
* dcrt0.cc (dll_crt0_1): Delay closing of some handles until cygheap has been
set up.
(break_here): New function, for debugging.
(initial_env): Add program name to "Sleeping" message.  Implement new
"CYGWIN_DEBUG" environment variable option.
* exceptions.cc (debugger_command): Add argument to dumper call.
* strace.cc (strace::hello): Use winpid if cygwin pid is unavailable.
(strace::vsprntf): Ditto.

22 years ago* debug.h (handle_list): Move here from debug.cc. Add "inherit" flag
Christopher Faylor [Sat, 13 Jul 2002 20:00:27 +0000 (20:00 +0000)]
* debug.h (handle_list): Move here from debug.cc.  Add "inherit" flag
functionality.
* cygheap.cc (init_cheap): Move cygheap_max calculation to _csbrk.
(_csbrk): Reorganize to not assume first allocation is <= 1 page.
(cygheap_setup_for_child): Mark protected handle as inheritable.
* cygheap.h (cygheap_debug): New struct.
(init_cygheap): Add new structure when debugging.
* dcrt0.cc (dll_crt0_1): Remove call to debug_init.  Close ppid_handle here, if
appropriate.  Don't protect subproc_ready, since it is already protected in the
parent.  Call memory_init prior to ProtectHandle to ensure that cygheap is set
up.  Call debug_fixup_after_fork_exec when appropriate.
(_dll_crt0): Don't close ppid_handle here.
* debug.cc: Use cygheap debug structure rather than static elements throughout.
(add_handle): Don't issue a warning if attempt to protect handle in exactly the
same way from exactly the same place.  Add pid info to warning output.  Accept
additional argument controlling whether handle is to be inherited.  Add pid to
stored information.
(debug_fixup_after_fork_exec): Renamed from debug_fixup_after_fork.  Reorganize
to avoid erroneously skipping handles.
(mark_closed): Add pid info to warning output.
(setclexec): Rename from setclexec_pid.
* fhandler.cc (fhandler_base::get_default_fmode): Minor reorg.
(fhandler_base::fstat): Add debugging output.
(fhandler_base::set_inheritance): Call setclexec rather than setclexec_pid.
(fhandler_base::fork_fixup): Ditto.
* fhandler_console.cc (get_tty_stuff): Mark protected handle as inheritable.
* fhandler_tty.cc (fhandler_tty_slave::open): Ditto.
* tty.cc (tty::make_pipes): Ditto.
(tty::common_init): Ditto.
* fork.cc (fork_parent): Ditto.
(fork_child): Close protected handles with correct name.  Remove
debug_fixup_after_fork call.
* fhandler_socket.cc (fhandler_socket::create_secret_event): Mark protected
handle as inheritable/non-inheritable, as appropriate.
* shared.cc (memory_init): Mark protected handle as inheritable.  Call
debug_init here.
* sigproc.cc (wait_sig): Close protected handle with correct name.
* spawn.cc (spawn_guts): Rename spr to subproc_ready and mark it as
inheritable.
* exceptions.cc (debugger_command): Try to run dumper.exe, if found.
* syscalls.cc (fstat64): Don't follow symlinks for path_conv lookup since path
is already resolved.

22 years agofyx tipo.
Christopher Faylor [Fri, 12 Jul 2002 22:59:19 +0000 (22:59 +0000)]
fyx tipo.

22 years ago2002-07-12 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 12 Jul 2002 22:42:48 +0000 (22:42 +0000)]
2002-07-12  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
        instead of <asm/siginfo.h>.
        * libc/sys/linux/sys/signal.h: Change to include various linux
        <bits/xxx.h> header files, rather than <linux/signal.h> so as
        to work with multiple releases of glibc header files.

22 years ago* cygwin.in: Change erroneous entries.
Christopher Faylor [Fri, 12 Jul 2002 21:32:31 +0000 (21:32 +0000)]
* cygwin.in: Change erroneous entries.

22 years ago2002-07-12 Chris Demetriou <cgd@broadcom.com>
Jeff Johnston [Fri, 12 Jul 2002 17:55:04 +0000 (17:55 +0000)]
2002-07-12  Chris Demetriou  <cgd@broadcom.com>

        * mips/Makefile.in (GENOBJS2): New variable to name other
        commonly used objects.
        (DVEOBJS, JMR3904OBJS): Reference GENOBJS2.

        * mips/Makefile.in: Add support for Broadcom CFE firmware.
        * mips/configure.in: (mipsisa32*-*-*, *): Likewise.
        * mips/configure: Regenerate.
        * mips/cfe.c: New file.
        * mips/cfe.ld: New file.
        * mips/cfe_api.c: New file.
        * mips/cfe_api.h: New file.
        * mips/cfe_api_int.h: New file.
        * mips/cfe_error.h: New file.
        * mips/cfe_prestart.S: New file.

22 years ago2002-07-12 Chris Demetriou <cgd@broadcom.com>
Jeff Johnston [Fri, 12 Jul 2002 15:37:04 +0000 (15:37 +0000)]
2002-07-12  Chris Demetriou  <cgd@broadcom.com>

        * mips/array.ld (hardware_exit_hook, hardware_hazard_hook): New
        symbols for optionally-provided functions.
        * mips/ddb-kseg0.ld: Likewise.
        * mips/ddb.ld: Likewise.
        * mips/dve.ld: Likewise.
        * mips/idt.ld: Likewise.
        * mips/idt32.ld: Likewise.
        * mips/idt64.ld: Likewise.
        * mips/idtecoff.ld: Likewise.
        * mips/jmr3904app-java.ld: Likewise.
        * mips/jmr3904app.ld: Likewise.
        * mips/jmr3904dram-java.ld: Likewise.
        * mips/jmr3904dram.ld: Likewise.
        * mips/lsi.ld: Likewise.
        * mips/nullmon.ld: Likewise.
        * mips/pmon.ld: Likewise.
        * mips/crt0.S: Invoke hardware_exit_hook and hardware_hazard_hook
        functions if they are provided.
        (_exit): Handle __embedded_pic properly.

22 years ago* configure.in: Remove two redundant tests.
DJ Delorie [Thu, 11 Jul 2002 20:14:41 +0000 (20:14 +0000)]
* configure.in: Remove two redundant tests.

22 years ago* configure.in (mips*-*-irix6*o32): Enable stabs.
DJ Delorie [Thu, 11 Jul 2002 19:38:34 +0000 (19:38 +0000)]
* configure.in (mips*-*-irix6*o32): Enable stabs.

22 years ago2002-07-11 Chris Demetriou <cgd@broadcom.com>
Jeff Johnston [Thu, 11 Jul 2002 14:59:24 +0000 (14:59 +0000)]
2002-07-11  Chris Demetriou  <cgd@broadcom.com>

        * testsuite/newlib.search/hsearchtest.c: New file to test
        newlib/libc/search.
        * testsuite/newlib.search/hsearchtest.exp: Likewise.

22 years ago * fhandler_disk_file.cc (fhandler_disk_file::open): Don't
Corinna Vinschen [Thu, 11 Jul 2002 14:05:17 +0000 (14:05 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::open): Don't
move the file pointer to the end of file if O_APPEND is
specified in the open flags.

22 years agojdf patch
Christopher Faylor [Thu, 11 Jul 2002 02:06:50 +0000 (02:06 +0000)]
jdf patch

22 years agoFix name typo.
Jeff Johnston [Wed, 10 Jul 2002 22:18:31 +0000 (22:18 +0000)]
Fix name typo.

22 years ago2002-07-10 Florian Shrack <florian.schrack@freenet.de>
Jeff Johnston [Wed, 10 Jul 2002 22:15:49 +0000 (22:15 +0000)]
2002-07-10  Florian Shrack  <florian.schrack@freenet.de>

        * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
        a terminal.
        * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.

22 years ago * readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED,
Jakub Jelinek [Wed, 10 Jul 2002 15:28:34 +0000 (15:28 +0000)]
* readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED,
DT_GNU_CONFLICT* and DT_GNU_LIBLISZ*.
(get_section_type_name): Handle SHT_GNU_LIBLIST.
(process_dynamic_segment): Handle DT_GNU_CONFLICTSZ,
DT_GNU_LIBLISTSZ and DT_GNU_PRELINKED.
(process_gnu_liblist): New.
(process_file): Call it.

* elf/common.h (SHT_GNU_LIBLIST, DT_GNU_PRELINKED,
DT_GNU_CONFLICT*, DT_GNU_LIBLIST*): Define.

22 years agomore jdf
Christopher Faylor [Wed, 10 Jul 2002 00:30:53 +0000 (00:30 +0000)]
more jdf

22 years ago * config/tc-mips.c (macro_build): Handle MIPS16 insns.
Thiemo Seufer [Tue, 9 Jul 2002 14:21:40 +0000 (14:21 +0000)]
* config/tc-mips.c (macro_build): Handle MIPS16 insns.
(mips_ip): Likewise.
* mips.h (INSN_MIPS16): New define.
* mips-dis.c (mips_isa_type): Add MIPS16 insn handling.
* mips-opc.c (I16): New define.
(mips_builtin_opcodes): Make jalx an I16 insn.

22 years agoMerge changes from MinGW
Earnie Boyd [Tue, 9 Jul 2002 13:24:02 +0000 (13:24 +0000)]
Merge changes from MinGW

22 years ago * lib/ntdll.def: Remove \r.
Earnie Boyd [Tue, 9 Jul 2002 13:11:54 +0000 (13:11 +0000)]
* lib/ntdll.def: Remove \r.

22 years ago* debug.cc: Avoid explicit zeroing of globals.
Christopher Faylor [Tue, 9 Jul 2002 04:37:13 +0000 (04:37 +0000)]
* debug.cc: Avoid explicit zeroing of globals.
(lock_debug): Make locker a static member.  Avoid unlocking when already
unlocked (from Conrad Scott).
(debug_init): Initialize lock_debug::locker here.
* fork.cc (fork_child): Fix up fdtab earlier to avoid some (but not all)
confusion with close-on-exec craziness.

22 years agoMore jdf changes.
Christopher Faylor [Tue, 9 Jul 2002 04:27:47 +0000 (04:27 +0000)]
More jdf changes.

22 years ago* configure.in: Don't build grez.
DJ Delorie [Mon, 8 Jul 2002 22:18:40 +0000 (22:18 +0000)]
* configure.in: Don't build grez.
* Makefile.in: Ditto.

22 years ago* Makefile.in: Remove references to bsp, cygmon, libstub.
DJ Delorie [Mon, 8 Jul 2002 20:43:20 +0000 (20:43 +0000)]
* Makefile.in: Remove references to bsp, cygmon, libstub.
* configure.in: Ditto.

* configure.in: Remove leftover reference to gdbtest.

22 years ago2002-07-08 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 8 Jul 2002 18:05:58 +0000 (18:05 +0000)]
2002-07-08  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/math.h (MAXFLOAT): Added.

22 years ago* configure.in (gxx_include_dir): Change to match versioned
DJ Delorie [Mon, 8 Jul 2002 17:14:04 +0000 (17:14 +0000)]
* configure.in (gxx_include_dir):  Change to match versioned
C++ headers if --enable-version-specific-runtime-libs is used.

22 years agoJoshua Daniel Franklin update.
Christopher Faylor [Mon, 8 Jul 2002 16:30:01 +0000 (16:30 +0000)]
Joshua Daniel Franklin update.

22 years agoSome small speedups.
Joern Rennecke [Mon, 8 Jul 2002 12:56:32 +0000 (12:56 +0000)]
Some small speedups.

22 years agogas/ChangeLog
Alan Modra [Mon, 8 Jul 2002 10:03:11 +0000 (10:03 +0000)]
gas/ChangeLog
* config/tc-i386.c (process_suffix): Remove intel mode movsx and
movzx fudges.
(md_assemble): Instead, zap the suffix here.

include/opcode/ChangeLog
* i386.h: Remove IgnoreSize from movsx and movzx.

22 years agodoc patch.
Christopher Faylor [Sun, 7 Jul 2002 00:55:51 +0000 (00:55 +0000)]
doc patch.

22 years ago* configure.in: Check for libiconv.a.
Christopher Faylor [Sun, 7 Jul 2002 00:54:38 +0000 (00:54 +0000)]
* configure.in: Check for libiconv.a.
* configure: Regenerate.
* Makefile.in: Add libiconv.a to libraries required for dumper.exe.

22 years ago* Makefile.in: Use MINGW stuff from Makefile.common.
Christopher Faylor [Sun, 7 Jul 2002 00:44:08 +0000 (00:44 +0000)]
* Makefile.in: Use MINGW stuff from Makefile.common.

22 years ago* testsuite/winsup.api/winsup.exp: Add -mwin32 to gcc flags so windows.h will
Christopher Faylor [Sun, 7 Jul 2002 00:43:28 +0000 (00:43 +0000)]
* testsuite/winsup.api/winsup.exp: Add -mwin32 to gcc flags so windows.h will
be found.

22 years ago* Makefile.common (MINGW_INCLUDES): Simplify.
Christopher Faylor [Sun, 7 Jul 2002 00:42:09 +0000 (00:42 +0000)]
* Makefile.common (MINGW_INCLUDES): Simplify.
(MINGW_CFLAGS): New.
(MINGW_CXXFLAGS): Ditto.

22 years agoAdd missing entry from 2002-06-25
Christopher Faylor [Sun, 7 Jul 2002 00:40:52 +0000 (00:40 +0000)]
Add missing entry from 2002-06-25

22 years ago * libc/machine/sh/Makefile.am (lib_a_SOURCES):
Joern Rennecke [Sun, 7 Jul 2002 00:27:20 +0000 (00:27 +0000)]
* libc/machine/sh/Makefile.am (lib_a_SOURCES):
Make strcmp.S unconditional.
* libc/machine/sh/Makefile.in: Regenerate.
* libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
* strcmp.S (strcmp): Add SHmedia variant.  Use different registers
for SHcompact.

22 years ago * fhandler.h (fhandler_socket::is_unconnected): Constify.
Corinna Vinschen [Sat, 6 Jul 2002 11:16:07 +0000 (11:16 +0000)]
* fhandler.h (fhandler_socket::is_unconnected): Constify.
(fhandler_socket::is_connect_pending): Ditto.
(fhandler_socket::is_connected): Ditto.
(fhandler_socket::set_connect_state): New method.
(struct select_record): Add member `except_on_write'.
(select_record::select_record): Initialize all bool values to `false'.
* fhandler_socket.cc: Use set_connect_state() method throughout.
(fhandler_socket::connect): Set state always to connected if connection
isn't pending.
* net.cc (cygwin_getsockopt): Revert erroneous previous patch.
* select.cc (set_bits): Check for `except_on_write'.  Set fd in
write_fds if set.  Set connect state to connected if fd has been
returned by WINSOCK_SELECT.
(peek_socket): Check for `except_on_write'.
(start_thread_socket): Ditto.
(fhandler_socket::select_write): Don't set `write_ready' if connect
is pending.  Set `except_on_write' if connect is pending.

22 years agoadd missing entry
Christopher Faylor [Fri, 5 Jul 2002 22:00:46 +0000 (22:00 +0000)]
add missing entry

22 years ago* ntdll.h (_SYSTEM_PROCESSOR_TIMES): Force eight byte alignment.
Christopher Faylor [Fri, 5 Jul 2002 21:58:49 +0000 (21:58 +0000)]
* ntdll.h (_SYSTEM_PROCESSOR_TIMES): Force eight byte alignment.
(_SYSTEM_TIME_OF_DAY_INFORMATION): Ditto.

22 years ago * fhandler.h (UNCONNECTED): New define.
Corinna Vinschen [Fri, 5 Jul 2002 18:26:23 +0000 (18:26 +0000)]
* fhandler.h (UNCONNECTED): New define.
(CONNECT_PENDING): Ditto.
(CONNECTED): Ditto.
(class fhandler_socket): Add member `had_connect_or_listen'.
Add member functions `is_unconnected', `is_connect_pending' and
`is_connected'.
* fhandler_socket.cc (fhandler_socket::connect): Set member
`had_connect_or_listen' according to return code of WinSock
call.
(fhandler_socket::listen): Ditto.
* net.cc (cygwin_getsockopt): Modify SO_ERROR return value in
case of socket with pending connect().
* select.cc (peek_socket): Only add socket to matching fd_set
if it's not "ready".  Call WINSOCK_SELECT only if at least one
socket is in one of the fd_sets.
(start_thread_socket): Only add socket to matching fd_set
if it's not "ready".
(fhandler_socket::select_write): Set write_ready to true also
if socket isn't connected or listening.

22 years ago2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 4 Jul 2002 23:25:06 +0000 (23:25 +0000)]
2002-07-04  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
        define before including <sys/lock.h>.

22 years ago* ltcf-cxx.sh (hpux*): Modify to support ia64-*-hpux*.
Alexandre Oliva [Thu, 4 Jul 2002 22:51:16 +0000 (22:51 +0000)]
* ltcf-cxx.sh (hpux*): Modify to support ia64-*-hpux*.

22 years ago2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 4 Jul 2002 22:51:08 +0000 (22:51 +0000)]
2002-07-04  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/utime.h: Add include of <_ansi.h>.
        * libc/sys/linux/Makefile.am: Add utimes.c.
        * libc/sys/linux/Makefile.in: Regenerated.
        * libc/sys/linux/inode.c(__umask): New static routine.
        (umask): Written to use __umask and attempt to thread lock.
        (getumask): New function written to use __umask and thread lock.
        * libc/sys/linux/utimes.c: New file.
        * libc/sys/linux/sys/time.h: Fix utimes prototype.
        * libc/sys/linux/sys/utime.h: New file.

22 years ago * Remove files (should have been done on 2002-06-20).
Thomas Fitzsimmons [Thu, 4 Jul 2002 20:22:35 +0000 (20:22 +0000)]
* Remove files (should have been done on 2002-06-20).

22 years ago * process.c: Add comment.
Thomas Fitzsimmons [Thu, 4 Jul 2002 20:00:49 +0000 (20:00 +0000)]
* process.c: Add comment.

22 years ago * libtool.m4: New file.
Thomas Fitzsimmons [Thu, 4 Jul 2002 19:57:57 +0000 (19:57 +0000)]
* libtool.m4: New file.
* libc/sys/linux/process.c: Implement vfork in terms of fork,
rather than as a syscall.

22 years ago2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 4 Jul 2002 19:33:54 +0000 (19:33 +0000)]
2002-07-04  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/stdio.h: Add new prototypes.
        * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
        * libc/stdio/Makefile.in: Regenerated.
        * libc/stdio/fseek.c: Add fseeko documentation.
        * libc/stdio/ftell.c: Add ftello documentation.
        * libc/stdio/fseeko.c: New file.
        * libc/stdio/ftello.c: New file.

22 years ago2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 4 Jul 2002 18:56:17 +0000 (18:56 +0000)]
2002-07-04  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
        * libc/stdio/Makefile.in: Regenerated.
        * libc/stdio/asprintf.c: New file.
        * libc/stdio/vasprintf.c: Ditto.
        * libc/stdio/fvwrite.c: Add code to dynamically reallocate
        the buffer for asprintf support.
        * libc/stdio/sprintf.c: Add asprintf documentation.
        * libc/stdio/vfprintf.c: Add vasprintf documentation.
        * libc/include/stdio.h: Add new prototypes.

22 years ago * fhandler_socket.cc (fhandler_socket::set_sun_path): Don't free
Corinna Vinschen [Thu, 4 Jul 2002 17:18:14 +0000 (17:18 +0000)]
* fhandler_socket.cc (fhandler_socket::set_sun_path): Don't free
memory here.  Allow NULL parameter.

22 years ago * fhandler_socket.cc (fhandler_socket::dup): Add missing copy operation
Corinna Vinschen [Thu, 4 Jul 2002 15:32:34 +0000 (15:32 +0000)]
* fhandler_socket.cc (fhandler_socket::dup): Add missing copy operation
on sun_path.

22 years ago* winsup.api/pthread/cancel1.c: New test. Port from pthreads-win32
Egor Duda [Thu, 4 Jul 2002 15:18:35 +0000 (15:18 +0000)]
* winsup.api/pthread/cancel1.c: New test. Port from pthreads-win32
project.
* winsup.api/pthread/cancel2.c: Ditto.
* winsup.api/pthread/cancel3.c: Ditto.
* winsup.api/pthread/cancel4.c: Ditto.
* winsup.api/pthread/cancel5.c: Ditto.

22 years ago2002-06-25 Thomas Pfaff <tpfaff@gmx.net>
Robert Collins [Thu, 4 Jul 2002 14:17:30 +0000 (14:17 +0000)]
2002-06-25  Thomas Pfaff  <tpfaff@gmx.net>

        * include/pthread.h (PTHREAD_CANCELED): Defined a reasonable
        value.
* pthread.cc (pthread_exit): Call method instead of function.
(pthread_setcancelstate): Ditto.
(pthread_setcanceltype): Ditto.
(pthread_testcancel): Ditto.
* thread.h (pthread::cancel_event): New member.
        (__pthread_cancel_self): New prototype.
(pthread::exit): New Method.
(pthread::cancel): Ditto.
(pthread::testcancel): Ditto.
(pthread::cancel_self): Ditto.
(pthread::static_cancel_self): Ditto.
(pthread::setcancelstate): Ditto.
(pthread::setcanceltype): Ditto.
(__pthread_cancel): Give c++ linkage.
(__pthread_exit): Remove.
(__pthread_setcancelstate): Ditto.
(__pthread_setcanceltype): Ditto.
(__pthread_testcancel): Ditto.
 * thread.cc (pthread::pthread): Inititialize cancel_event.
(pthread::~pthread): Close cancel_event if needed.
(pthread::create): Create cancel_event.
(pthread::exit): New method. Replacement for __pthread_exit.
(pthread::cancel): New method.
(pthread::testcancel): Ditto.
(pthread::static_cancel_self); New static method.
(pthread::setcancelstate): New method. Replacement for
__pthread_setcancelstate.
(pthread::setcanceltype): New method. Replacement for
__pthread_setcanceltype.
(pthread::pop_cleanup_handler): Added lock for async cancel safe
cancellation.
(pthread::thread_init_wrapper): Change __pthread_exit to
thread->exit().
(__pthread_cancel): Call method thread->cancel().
(__pthread_exit): Remove.
(__pthread_setcancelstate): Ditto.
(__pthread_setcanceltype): Ditto.
(__pthread_testcancel): Ditto.

22 years ago Let RPC API work with or without windows.h.
Danny Smith [Thu, 4 Jul 2002 08:29:56 +0000 (08:29 +0000)]
Let RPC API work with or without windows.h.

* include/rpc.h: Conditionally include <windows.h> before
header guard.
* include/wtypes.h: Include <rpc.h> and <rpcndr.h> before
header guard.

22 years ago* Makefile.in: Eliminate unneeded Makefile recreation rule.
Christopher Faylor [Thu, 4 Jul 2002 03:08:00 +0000 (03:08 +0000)]
* Makefile.in: Eliminate unneeded Makefile recreation rule.

22 years ago* configure.in: Make --without-x work.
DJ Delorie [Wed, 3 Jul 2002 23:35:31 +0000 (23:35 +0000)]
* configure.in: Make --without-x work.

22 years ago* include/cygwin/version.h: Bump DLL minor number.
Christopher Faylor [Wed, 3 Jul 2002 22:25:38 +0000 (22:25 +0000)]
* include/cygwin/version.h: Bump DLL minor number.

22 years ago* include/sys/statfs.h: New header file.
Christopher Faylor [Wed, 3 Jul 2002 20:31:39 +0000 (20:31 +0000)]
* include/sys/statfs.h: New header file.

22 years ago* dtable.cc (cygwin_attach_handle_to_fd): Default to implicit bin mode if none
Christopher Faylor [Wed, 3 Jul 2002 18:02:54 +0000 (18:02 +0000)]
* dtable.cc (cygwin_attach_handle_to_fd): Default to implicit bin mode if none
specified.
* fhandler.cc (fhandler_base::init): Make bin argument a guarantee rather than
a suggestion.
* path.cc (path_conv::check): Load flag returned from cygwin_conv_to_win32_path
into path_flags.

22 years ago * tty.cc (tty::common_init): Reverse logic of cygserver check in
Conrad Scott [Wed, 3 Jul 2002 15:56:35 +0000 (15:56 +0000)]
* tty.cc (tty::common_init): Reverse logic of cygserver check in
call to SetKernelObjectSecurity.

22 years ago New directory. Created to contain a copy of the texi2pod.pl script so that
Nick Clifton [Wed, 3 Jul 2002 11:20:13 +0000 (11:20 +0000)]
 New directory.  Created to contain a copy of the texi2pod.pl script so that
it is in the same place as the version in the FSF GCC sources.

22 years ago * autoload.cc (WSAEventSelect): Define new autoload function.
Corinna Vinschen [Wed, 3 Jul 2002 09:20:24 +0000 (09:20 +0000)]
* autoload.cc (WSAEventSelect): Define new autoload function.
(WSAEnumNetworkEvents): Ditto.
* fhandler_socket.cc (fhandler_socket::accept): If socket is
in blocking mode wait for incoming connection and signal.

22 years ago* configure.in: Rearrange target Makefile fragment collection.
DJ Delorie [Wed, 3 Jul 2002 03:23:47 +0000 (03:23 +0000)]
* configure.in: Rearrange target Makefile fragment collection.

22 years ago* cygheap.cc (init_cheap): Rearrange error message.
Christopher Faylor [Wed, 3 Jul 2002 03:20:50 +0000 (03:20 +0000)]
* cygheap.cc (init_cheap): Rearrange error message.
(cygheap_fixup_in_child): Ditto.
* dtable.cc: Remove if 0'ed code.
* fhandler_dsp.cc (fhandler_dev_dsp::open): Force binmode.
* sec_helper.cc (cygsid::get_id): Use system_printf for error message.
* tty.cc (tty::common_init): Ditto.

22 years ago * libc/search/hcreate.c: Remove advertising clause from license.
Thomas Fitzsimmons [Wed, 3 Jul 2002 00:33:58 +0000 (00:33 +0000)]
* libc/search/hcreate.c: Remove advertising clause from license.
* libc/search/hcreate_r.c: Likewise.

22 years ago* net.cc (cygwin_getpeername): Defend against NULL pointer dereference.
Christopher Faylor [Tue, 2 Jul 2002 23:57:05 +0000 (23:57 +0000)]
* net.cc (cygwin_getpeername): Defend against NULL pointer dereference.

22 years ago* Makefile.in: Don't try to build gdbtest, tgas, ispell, inet, or
DJ Delorie [Tue, 2 Jul 2002 18:57:43 +0000 (18:57 +0000)]
* Makefile.in: Don't try to build gdbtest, tgas, ispell, inet, or
cvs[src].
* configure.in: Ditto.

22 years ago2002-07-02 Chris Demetriou <cgd@broadcom.com>
Jeff Johnston [Tue, 2 Jul 2002 18:18:58 +0000 (18:18 +0000)]
2002-07-02  Chris Demetriou  <cgd@broadcom.com>

        * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
        (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
        Check that one of them is defined and error out if not.
        Add any platforms defined in <machine/ieeefp.h> that are missing.
        * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
        (DB_LITTLE_ENDIAN): New defines.
        * libc/search/hash.c: Replace all incorrect checks for
        _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
        BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
        * libc/search/hash_page.c: Likewise.

22 years ago * mkgroup.c: Add function pointers for functions from advapi32.dll.
Corinna Vinschen [Tue, 2 Jul 2002 12:59:43 +0000 (12:59 +0000)]
* mkgroup.c: Add function pointers for functions from advapi32.dll.
(load_netapi): Load used functions from advapi32.dll.
(main): Use function pointers instead of statically linked functions
from advapi32.dll.

22 years ago * include/cygwin/version.h: Bump API minor version.
Corinna Vinschen [Tue, 2 Jul 2002 09:40:07 +0000 (09:40 +0000)]
* include/cygwin/version.h: Bump API minor version.

22 years ago * security.cc (get_logon_server): Interpret a zero length
Corinna Vinschen [Tue, 2 Jul 2002 09:02:53 +0000 (09:02 +0000)]
* security.cc (get_logon_server): Interpret a zero length
domain as the local domain.
(get_group_sidlist): Add authenticated users SID to SYSTEM's group
list instead of SYSTEM itself.
(verify_token): Accept the primary group sid if it equals
the token user sid.

22 years ago * cygwin.din (__fpclassifyd): Add symbol.
Corinna Vinschen [Tue, 2 Jul 2002 08:44:54 +0000 (08:44 +0000)]
* cygwin.din (__fpclassifyd): Add symbol.
(__fpclassifyf): Ditto.
(__signbitd): Ditto.
(__signbitf): Ditto.

22 years ago * security.h (DONT_INHERIT): Eliminate definition.
Corinna Vinschen [Tue, 2 Jul 2002 08:11:15 +0000 (08:11 +0000)]
* security.h (DONT_INHERIT): Eliminate definition.
(INHERIT_ALL): Ditto.
(INHERIT_ONLY): Ditto.
* sec_acl.cc: Use appropriate defines from accctrl.h instead of the
above throughout.
* security.cc: Ditto.

22 years ago2002-07-02 Danny Smith <dannysmith@users.sourceforge.net>
Danny Smith [Tue, 2 Jul 2002 05:50:10 +0000 (05:50 +0000)]
2002-07-02  Danny Smith <dannysmith@users.sourceforge.net>

* include/commctrl.h (WC_*): Remove some duplicate defines.

2002-07-02  Ken Fitlike  <kenfitlike@hotmail.com>

* include/commctrl.h (WC_IPADDRESS[AW]): Add defines and
UNICODE mappings.
(IPM*): Add defines.
(IPN_*): Add defines.
(NMIPADDRESS): Add structure and typedefs.
(MAKEIPADDRESS): Add macro.
(MAKEIPRANGE): Add macro.
(FIRST_IPADDRESS): Add macro.
(SECOND_IPADDRESS): Add macro.
(THIRD_IPADDRESS): Add macro.
(FOURTH_IPADDRESS): Add macro.

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