]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
19 years ago* cygheap.h (cygheap_types): Add HEAP_COMMUNE.
Christopher Faylor [Wed, 24 Aug 2005 04:38:39 +0000 (04:38 +0000)]
* cygheap.h (cygheap_types): Add HEAP_COMMUNE.
* fhandler_proc.cc: Use cygheap rather than user heap for allocation of filebuf
throughout.
* fhandler_registry.cc: Ditto.
* fhandler_virtual.cc: Ditto.
* fhandler_process.cc: Ditto.
(get_mem_values): Use malloc/realloc/free rather than new.
* pinfo.cc (_pinfo::commune_send): Allocate on cygwin heap rather than user
heap.  Avoid calling ReadFile when correct number of characters have been read
or suffer buffer corruption.
(_pinfo::fd): Allocate on cygwin heap rather than user heap.
(_pinfo::fds): Ditto.
(_pinfo::root): Ditto.
(_pinfo::cwd): Ditto.
(_pinfo::cmdline): Ditto.
* devices.h (FH_DEV): New define.
* devices.in: Detect lone /dev.
* devices.cc: Regenerate.
* path.cc (path_conv::check): Treat FH_DEV as a special case.

19 years ago* sigproc.h (set_signal_mask): Remove default on second parameter and make pass
Christopher Faylor [Tue, 23 Aug 2005 22:22:52 +0000 (22:22 +0000)]
* sigproc.h (set_signal_mask): Remove default on second parameter and make pass
by reference.
* signal.cc (abort): Accommodate change to set_signal_mask.
* select.cc (pselect): Ditto.
* exceptions.cc (handle_sigsuspend): Ditto.
(ctrl_c_handler): Ditto.
(sighold): Ditto.
(sigrelse): Ditto.
(set_process_mask_delta): Ditto.
(_cygtls::call_signal_handler): Ditto.
* fhandler_disk_file.cc (fhandler_disk_file::readdir): Return ENMFILE if
__handle is not set.  Set __handle to NULL when out of files.
(fhandler_disk_file::rewinddir): Don't close handle if it's NULL.
(fhandler_disk_file::closedir): Ditto.

19 years agoSync from gcc sources:
Richard Earnshaw [Tue, 23 Aug 2005 18:13:01 +0000 (18:13 +0000)]
Sync from gcc sources:
        * Makefile.def (libssp): Add to lang_env_dependencies.
        * Makefile.in: Regenerate.

19 years ago* dir.cc (readdir_worker): Make static. Only add '.' and '..' when readdir
Christopher Faylor [Tue, 23 Aug 2005 03:58:09 +0000 (03:58 +0000)]
* dir.cc (readdir_worker): Make static.  Only add '.' and '..' when readdir
fails due to ENMFILE.
* fhandler_disk_file.cc (fhandler_disk_file::readdir): Only close handle on
error != ENMFILE.

19 years ago2005-08-22 Shaun Jackman <sjackman@gmail.com>
Jeff Johnston [Mon, 22 Aug 2005 21:13:35 +0000 (21:13 +0000)]
2005-08-22  Shaun Jackman  <sjackman@gmail.com>

        * libc/include/_syslist.h: If HAVE_OPENDIR is not defined,
        define _opendir as opendir, _readdir as readdir, and
        _closedir as closedir so that the implementations in
        libc/posix will be used.

19 years ago * mtinfo.h (mtinfo_drive::error): Fix argument bug in debug_printf call.
Corinna Vinschen [Mon, 22 Aug 2005 16:12:01 +0000 (16:12 +0000)]
* mtinfo.h (mtinfo_drive::error): Fix argument bug in debug_printf call.

19 years agoadd missing entry
Christopher Faylor [Sat, 20 Aug 2005 06:21:20 +0000 (06:21 +0000)]
add missing entry

19 years ago* cygerrno.h (geterrno_from_win_error): Change declaration to default to using
Christopher Faylor [Sat, 20 Aug 2005 06:19:55 +0000 (06:19 +0000)]
* cygerrno.h (geterrno_from_win_error): Change declaration to default to using
GetLastError and EACCESS.
* cygwin.din: Export readdir_r.
* include/cygwin/version.h: Bump API version number to 138.
* syscalls.cc (readdir_worker): New function, renamed from old readdir()
function.
(readdir): Use readdir_worker.
(readdir_r): New function.
* fhandler.h (fhandler_base::readdir): Accommodate second argument indicating
dirent buffer.
(fhandler_disk_file::readdir): Ditto.
(fhandler_cygdrive::readdir): Ditto.
(fhandler_proc::readdir): Ditto.
(fhandler_netdrive::readdir): Ditto.
(fhandler_registry::readdir): Ditto.
(fhandler_process::readdir): Ditto.
* fhandler.cc (fhandler_base::readdir): Ditto.
* fhandler_disk_file.cc (fhandler_disk_file::readdir): Ditto.
* fhandler_cygdrive.cc (fhandler_cygdrive::readdir): Ditto.
* fhandler_proc.cc (fhandler_proc::readdir): Ditto.
* fhandler_netdrive.cc (fhandler_netdrive::readdir): Ditto.
* fhandler_registry.cc (fhandler_registry::readdir): Ditto.
* fhandler_process.cc (fhandler_process::readdir): Ditto.

19 years ago* fhandler.h (dirent_states): Add dirent_saw_proc.
Christopher Faylor [Fri, 19 Aug 2005 16:29:43 +0000 (16:29 +0000)]
* fhandler.h (dirent_states): Add dirent_saw_proc.
* fhandler_disk_file.cc (fhandler_disk_file::readdir): Fill in "proc" if it is
the root dir and it is missing.

19 years ago* fhandler.h (dirent_states): Add dirent_isroot, dirent_saw_cygdrive,
Christopher Faylor [Fri, 19 Aug 2005 16:18:42 +0000 (16:18 +0000)]
* fhandler.h (dirent_states): Add dirent_isroot, dirent_saw_cygdrive,
dirent_saw_dev.
* dir.cc (opendir): Don't zero __flags here.  Push that responsibility to
opendir methods.
(seekdir): Preserve dirent_isrrot in __flags.
(rewinddir): Ditto.
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Set dirent_isroot
appropriately.
(fhandler_disk_file::readdir): Fill in "cygdrive" and "dev" if it is the root
dir and they are missing.
* fhandler_process.cc (fhandler_process::opendir): Set __flags here.
* fhandler_virtual.cc (fhandler_virtual::opendir): Set __flags here.

19 years ago* m32c/Makefile.in (m16cmon.ld, m32cmon.ld): Fix output names.
DJ Delorie [Fri, 19 Aug 2005 16:18:04 +0000 (16:18 +0000)]
* m32c/Makefile.in (m16cmon.ld, m32cmon.ld): Fix output names.
(*.o): Add dependencies.
* m32c/m32csys.h: Move syscall location to 0x400 as per Renesas
recommendations.

19 years ago* winsup.h (create_pipe): Declare new function.
Christopher Faylor [Fri, 19 Aug 2005 14:56:48 +0000 (14:56 +0000)]
* winsup.h (create_pipe): Declare new function.
(CreatePipe): New define.
* miscfuncs.cc (create_pipe): Define new function.

19 years ago * passwd.c (longopts): Add --logonserver option.
Corinna Vinschen [Thu, 18 Aug 2005 20:25:43 +0000 (20:25 +0000)]
* passwd.c (longopts): Add --logonserver option.
(opts): Add -d option.
(GetPW): Add server parameter which is given to Net functions.
(ChangePW): Ditto.
(PrintPW): Ditto.
(SetModals): Ditto.
(usage): Add description for -d/--logonserver option.
(main): Add option handling for -d/--logonserver.  Use LOGONSERVER
environment variable content for server to contact, unless
-d/--logonserver option is given.  If both is missing, use NULL.

19 years ago* fhandler.h (fhandler_tty_common::lseek): Declare new method.
Christopher Faylor [Thu, 18 Aug 2005 20:17:10 +0000 (20:17 +0000)]
* fhandler.h (fhandler_tty_common::lseek): Declare new method.
(fhandler_tty_slave::lseek): Delete old method.
(fhandler_tty_master::lseek): Delete old method.
* fhandler_tty.cc (fhandler_tty_common::lseek): Define new method.

19 years ago* m32c/Makefile.in: Block out memory regions reserved for monitors
DJ Delorie [Thu, 18 Aug 2005 18:43:45 +0000 (18:43 +0000)]
* m32c/Makefile.in: Block out memory regions reserved for monitors
and simulators.  Add monitor link scripts.

19 years ago * fhandler_socket.cc (fhandler_socket::recvfrom): Always initialize
Corinna Vinschen [Thu, 18 Aug 2005 13:14:15 +0000 (13:14 +0000)]
* fhandler_socket.cc (fhandler_socket::recvfrom): Always initialize
ret to 0.
(fhandler_socket::recvmsg): Ditto.

19 years ago * errno.cc (strerror): Check errnum for underflow.
Corinna Vinschen [Thu, 18 Aug 2005 08:35:19 +0000 (08:35 +0000)]
* errno.cc (strerror): Check errnum for underflow.

19 years agoRemove a29k files.
Alan Modra [Thu, 18 Aug 2005 03:59:23 +0000 (03:59 +0000)]
Remove a29k files.

19 years agoRemove a29k support.
Alan Modra [Thu, 18 Aug 2005 03:49:39 +0000 (03:49 +0000)]
Remove a29k support.

19 years ago* textbinary.sgml: Correct incorrect information about ability to specify text
Christopher Faylor [Wed, 17 Aug 2005 18:23:39 +0000 (18:23 +0000)]
* textbinary.sgml: Correct incorrect information about ability to specify text
mode in fopen().

19 years agomerge from gcc
DJ Delorie [Wed, 17 Aug 2005 18:03:25 +0000 (18:03 +0000)]
merge from gcc

19 years ago* dcrt0.cc (dll_crt0_1): Tweak debugging stuff.
Christopher Faylor [Wed, 17 Aug 2005 16:10:48 +0000 (16:10 +0000)]
* dcrt0.cc (dll_crt0_1): Tweak debugging stuff.
* fhandler_tty.cc (fhandler_tty_common::close): Rearrange the code so that the
master end of the input and output pipes is closed before signalling an EOF
event to the slave.
(fhandler_pty_master::close): Likewise.

19 years ago2005-08-17 Christian Groessler <chris@groessler.org>
Christian Groessler [Wed, 17 Aug 2005 15:52:29 +0000 (15:52 +0000)]
2005-08-17  Christian Groessler  <chris@groessler.org>

* Makefile.tpl: (USUAL_CC_FOR_TARGET): Add missing trailing slash.
* Makefile.in: Regenerate.

19 years ago2005-08-17 Michael Jung <mjung@iss.tu-darmstadt.de>
Danny Smith [Wed, 17 Aug 2005 10:57:17 +0000 (10:57 +0000)]
2005-08-17  Michael Jung  <mjung@iss.tu-darmstadt.de>

* lib/shell32.c (CLSID_RecycleBin, CLSID_ControlPanel,
CLSID_MyComputer,CLSID_Internet, CLSID_NetworkPlaces,
CLSID_MyDocuments, CLSID_FolderShortcut): Add GUIDs.

19 years ago2005-08-17 Martin Fuchs <martin-fuchs@gmx.net>
Danny Smith [Wed, 17 Aug 2005 08:29:08 +0000 (08:29 +0000)]
2005-08-17  Martin Fuchs <martin-fuchs@gmx.net>

* include/shlobj.h (IContextMenu3): Define.
* include/shlguid.h (IID_IContextMenu3): Declare.
* lib/shell32.c (IID_IContextMenu3): Define.

2005-08-17  Martin Fuchs <martin-fuchs@gmx.net>

* include/shlobj.h (SHFormatDrive): Declaration of function
and associated constants.

19 years ago * cygcheck.cc (dump_sysinfo_services): Properly null-terminate 'buf'.
Brian Dessent [Wed, 17 Aug 2005 00:52:43 +0000 (00:52 +0000)]
    * cygcheck.cc (dump_sysinfo_services): Properly null-terminate 'buf'.
        Avoid extraneous cygrunsrv invocation if 'verbose' is true.

19 years ago2005-08-16 Shaun Jackman <sjackman@gmail.com>
Jeff Johnston [Tue, 16 Aug 2005 18:05:35 +0000 (18:05 +0000)]
2005-08-16  Shaun Jackman  <sjackman@gmail.com>

        * arm/syscalls.c (initialise_monitor_handles): Set
        monitor_stderr to the result of SWI_open(":tt", "a")
        instead of simply duplicating stdout.

19 years agogas/
Daniel Jacobowitz [Mon, 15 Aug 2005 15:37:15 +0000 (15:37 +0000)]
gas/
* config/tc-ppc.c (parse_cpu): Add -me300 support.
(md_show_usage): Likewise.
* doc/c-ppc.texi (PowerPC-Opts): Document it.
include/opcode/
* ppc.h (PPC_OPCODE_E300): Define.
opcodes/
* ppc-dis.c (powerpc_dialect): Handle e300.
(print_ppc_disassembler_options): Likewise.
* ppc-opc.c (PPCE300): Define.
(powerpc_opcodes): Mark icbt as available for the e300.
binutils/
* doc/binutils.texi (objdump): Document -M e300.

19 years ago * init.cc (respawn_wow64_process): Make inline function. Remove
Corinna Vinschen [Sun, 14 Aug 2005 19:48:07 +0000 (19:48 +0000)]
* init.cc (respawn_wow64_process): Make inline function.  Remove
"noreturn" attribute.  Add additional check if parent process is
actually a 64 bit process.
(dll_entry): Only test WOW64 processes with a stack in the usual
"dangerous" process space area.

19 years ago * Include/_mingw.h: Increment version to 3.8.
Chris Sutcliffe [Sat, 13 Aug 2005 12:52:43 +0000 (12:52 +0000)]
    * Include/_mingw.h: Increment version to 3.8.
        * Makefile.in: Ditto.

19 years ago * s390.h (s390_opcode_cpu_val): Add enum for cpu type z9-109.
Martin Schwidefsky [Fri, 12 Aug 2005 18:02:38 +0000 (18:02 +0000)]
* s390.h (s390_opcode_cpu_val): Add enum for cpu type z9-109.

19 years agotoplevel:
Paolo Bonzini [Fri, 12 Aug 2005 14:22:33 +0000 (14:22 +0000)]
toplevel:
2005-08-12  Paolo Bonzini  <bonzini@gnu.org>

* configure.in: Replace NCN_STRICT_CHECK_TOOL with
NCN_STRICT_CHECK_TOOLS, and likewise for NCN_STRICT_CHECK_TARGET_TOOLS.
Look for alternate names of the target cc and c++

config:
2005-08-12  Paolo Bonzini  <bonzini@gnu.org>

* config/acx.m4 (NCN_CHECK_TARGET_TOOL, NCN_STRICT_CHECK_TOOL,
NCN_STRICT_CHECK_TARGET_TOOL): Remove.
(NCN_STRICT_CHECK_TOOLS, NCN_STRICT_CHECK_TARGET_TOOLS): New,

19 years ago * include/ddk/hidsdi.h: New file.
Danny Smith [Fri, 12 Aug 2005 09:16:18 +0000 (09:16 +0000)]
* include/ddk/hidsdi.h:  New file.
* lib/ddk/hid.def: Uncomment symbols and add stdcall suffix for
functions declared in hidsdi.h.
Thanks to:  Alex J Lennon  <ajlennon at organixconsulting dot com>

19 years ago * lib/imm32.def (ImmDisableIME): Add stub.
Danny Smith [Fri, 12 Aug 2005 09:11:40 +0000 (09:11 +0000)]
* lib/imm32.def (ImmDisableIME): Add stub.
Thanks to: "kidmin"  <kidmin at users dot sourceforge dot net>

19 years agowhite space
Christopher Faylor [Fri, 12 Aug 2005 02:39:13 +0000 (02:39 +0000)]
white space

19 years agofix typo
Christopher Faylor [Thu, 11 Aug 2005 17:18:18 +0000 (17:18 +0000)]
fix typo

19 years ago* fhandler_serial.cc (fhandler_serial::tcgetattr): Return current baud rate
Christopher Faylor [Thu, 11 Aug 2005 17:03:18 +0000 (17:03 +0000)]
* fhandler_serial.cc (fhandler_serial::tcgetattr): Return current baud rate
regardless of current DTR state.

19 years ago* dcrt0.cc: Remove ld_preload declaration.
Christopher Faylor [Thu, 11 Aug 2005 16:30:48 +0000 (16:30 +0000)]
* dcrt0.cc: Remove ld_preload declaration.
* winsup.h: Move ld_preload declaration here.
* fork.cc (fork_child): Call ld_preload() before returning.

19 years ago* child_info. (CURR_CHILD_INFO_MAGIC): Refresh.
Christopher Faylor [Thu, 11 Aug 2005 16:13:30 +0000 (16:13 +0000)]
* child_info.  (CURR_CHILD_INFO_MAGIC): Refresh.
(child_info::child_info()): New constructor.
(child_info_spawn::child_info_spawn()): Ditto.
(child_info_spawn::operator new): New operator.
(child_info_spawn::set): New function.
* spawn.cc (av()): New constructor.
(av::operator new): New operator.
(av::set): New function.
(spawn_guts): Reorganize so that classes which allocates are defined early in
the function so that it can be properly cleaned up after an efault.  Set errno
to E2BIG in the event of a SEGV situation.

19 years agoAttempting to add include/objsafe.h again...
Dimitri Papadopoulos [Thu, 11 Aug 2005 09:04:13 +0000 (09:04 +0000)]
Attempting to add include/objsafe.h again...

19 years ago * include/w32api.h: Increment version to 3.3.
Chris Sutcliffe [Thu, 11 Aug 2005 02:13:36 +0000 (02:13 +0000)]
    * include/w32api.h: Increment version to 3.3.
        * Makefile.in: Ditto.

19 years ago* MAINTAINERS (CPU Ports): Add CPU port maintainer section.
DJ Delorie [Wed, 10 Aug 2005 21:16:14 +0000 (21:16 +0000)]
* MAINTAINERS (CPU Ports): Add CPU port maintainer section.

19 years ago2005-08-10 Stephen Huw Clarke <stephen.clarke@st.com>
Jeff Johnston [Wed, 10 Aug 2005 21:02:28 +0000 (21:02 +0000)]
2005-08-10  Stephen Huw Clarke  <stephen.clarke@st.com>

        * libm/common/sf_fmax.c: Fix to properly handle NaNs.
        * libm/common/s_max.c: Ditto.
        * libm/common/sf_fmin.c: Ditto.
        * libm/common/s_min.c: Ditto.

19 years ago2005-08-10 DJ Delorie <dj@redhat.com>
Jeff Johnston [Wed, 10 Aug 2005 20:35:13 +0000 (20:35 +0000)]
2005-08-10  DJ Delorie  <dj@redhat.com>

        * configure.host: Add m32c support.
        * libc/include/machine/ieeefp.h: Likewise.
        * libc/include/machine/setjmp.h: Likewise.
        * libc/include/sys/config.h: Likewise.
        * libc/machine/m32c: New directory, Renesas R8C/M16C/M32C support.
        * libc/machine/m32c/aclocal.m4: New file.
        * libc/machine/m32c/configure: Ditto.
        * libc/machine/m32c/configure.in: Ditto.
        * libc/machine/m32c/Makefile.am: Ditto.
        * libc/machine/m32c/Makefile.in: Ditto.
        * libc/machine/m32c/setjmp.S: Ditto.

19 years agoAdd * qualifier for file list.
Jeff Johnston [Wed, 10 Aug 2005 20:29:55 +0000 (20:29 +0000)]
Add * qualifier for file list.

19 years ago2005-08-10 DJ Delorie <dj@redhat.com>
Jeff Johnston [Wed, 10 Aug 2005 20:29:33 +0000 (20:29 +0000)]
2005-08-10  DJ Delorie  <dj@redhat.com>

        * configure.in: Add m32c support.
        * configure: Regenerated
        * m32c: New directory, Renesas R8C/M16C/M32C support.
        * m32c/abort.S m32c/argvlen.S m32c/argv.S m32c/chdir.S,
        m32c/chmod.S m32c/close.S m32c/configure m32c/configure.in,
        m32c/crt0.S, m32c/crtn.S, m32c/exit.S, m32c/fstat.S,
        m32c/genscript, m32c/getpid.S, m32c/gettimeofday.S,
        m32c/heaptop.S, m32c/isatty.S, m32c/kill.S, m32c/link.S,
        m32c/lseek.S, m32c/m32csys.h, m32c/m32c.tmpl, m32c/Makefile.in,
        m32c/open.S, m32c/read.S, m32c/sbrk.c, m32c/stat.S, m32c/time.S,
        m32c/times.S, m32c/unlink.S, m32c/utime.S, m32c/write.S: New files

19 years ago * include/wctype.h (towupper, towlower): Change arg and return value
Danny Smith [Wed, 10 Aug 2005 10:10:32 +0000 (10:10 +0000)]
* include/wctype.h (towupper, towlower): Change arg and return value
types to wint_t.
* include/ctype.h (towupper, towlower): Likewise.

19 years ago * mthr_stub.c (__mingwthr_key_dtor): Replace assert(0) with
Danny Smith [Wed, 10 Aug 2005 10:05:02 +0000 (10:05 +0000)]
* mthr_stub.c (__mingwthr_key_dtor): Replace assert(0) with
a diagnostic, guarded by #ifdef DEBUG.
(__mingwthr_remove_key_dtor): Likewise.

19 years ago * hppa.h (SHT_PARISC_DLKM, SHF_PARISC_WEAKORDER, PT_PARISC_WEAKORDER):
John David Anglin [Wed, 10 Aug 2005 02:51:52 +0000 (02:51 +0000)]
* hppa.h (SHT_PARISC_DLKM, SHF_PARISC_WEAKORDER, PT_PARISC_WEAKORDER):
New defines.

19 years ago* cygserver.cc (main): Call wincap.init() earlier to avoid a NULL dereference.
Christopher Faylor [Mon, 8 Aug 2005 19:46:48 +0000 (19:46 +0000)]
* cygserver.cc (main): Call wincap.init() earlier to avoid a NULL dereference.

19 years ago* include/sys/cdefs.h: Remove extra line.
Christopher Faylor [Mon, 8 Aug 2005 18:54:28 +0000 (18:54 +0000)]
* include/sys/cdefs.h: Remove extra line.

19 years ago * security.cc (get_reg_security): New static function.
Corinna Vinschen [Mon, 8 Aug 2005 16:30:15 +0000 (16:30 +0000)]
* security.cc (get_reg_security): New static function.
(get_nt_object_security): Call get_reg_security for registry keys
to circumvent problems with predefined registry keys.

19 years ago * fhandler_process.cc (fhandler_process::open): Allow opening of
Corinna Vinschen [Mon, 8 Aug 2005 15:33:32 +0000 (15:33 +0000)]
* fhandler_process.cc (fhandler_process::open): Allow opening of
/proc/<pid>/fd for reading.
* fhandler_registry.cc (fhandler_registry::open): Ditto for registry
keys.

19 years ago* include/sys/cdefs.h (__CONCAT): Define.
Christopher Faylor [Mon, 8 Aug 2005 15:00:39 +0000 (15:00 +0000)]
* include/sys/cdefs.h (__CONCAT): Define.
* include/elf.h: New file.
* include/sys/elf32.h: Ditto.
* include/sys/elf64.h: Ditto.
* include/sys/elf_common.h: Ditto.
* include/sys/elf_generic.h: Ditto.

19 years ago* cygwin.sc: Use simpler method to align .cygheap.
Christopher Faylor [Mon, 8 Aug 2005 13:53:05 +0000 (13:53 +0000)]
* cygwin.sc: Use simpler method to align .cygheap.
* dllfixdbg: Just copy .stab and .stabstr sections when making cygwin1.dbg,
rather than relying on objcopy to keep only the debug sections since objcopy
seems to get it wrong.
* dtable.cc (build_fh_pc): Check setting fh to fhandler_nodevice for NULL, too.

19 years ago * ftw.c: Include winsup.h.
Corinna Vinschen [Mon, 8 Aug 2005 13:39:56 +0000 (13:39 +0000)]
* ftw.c: Include winsup.h.
* nftw.c: Ditto.
* include/ftw.h: Guard declarations appropriately.

19 years ago * moldname.def.in (sleep, beep, seterrormode): Remove.
Danny Smith [Mon, 8 Aug 2005 10:22:20 +0000 (10:22 +0000)]
* moldname.def.in (sleep, beep, seterrormode): Remove.

19 years ago * Makefile.in (DLL_OFILES): Add fts.o, ftw.o, nftw.o.
Corinna Vinschen [Mon, 8 Aug 2005 09:45:42 +0000 (09:45 +0000)]
* Makefile.in (DLL_OFILES): Add fts.o, ftw.o, nftw.o.
* cygwin.din: Export fts_children, fts_close, fts_get_clientptr,
fts_get_stream, fts_open, fts_read, fts_set, fts_set_clientptr,
ftw, nftw.
* fts.c: New file, imported from FreeBSD.
* ftw.c: Ditto.
* nftw.c: Ditto.
* include/fts.h: Ditto.
* include/ftw.h: Ditto.
* include/cygwin/version.h: Bump API minor number.

19 years ago2005-08-08 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Mon, 8 Aug 2005 09:21:05 +0000 (09:21 +0000)]
2005-08-08  Paolo Bonzini  <bonzini@gnu.org>

* configure.in (CC_FOR_TARGET, CXX_FOR_TARGET, GCJ_FOR_TARGET,
GCC_FOR_TARGET, RAW_CXX_FOR_TARGET, GFORTRAN_FOR_TARGET): Find
them with NCN_STRICT_CHECK_TARGET_TOOL, like the other target
tools; remove code to manually set them.
(Target tools): Look in the environment for them.
* Makefile.tpl (CC_FOR_TARGET, CXX_FOR_TARGET, GCJ_FOR_TARGET,
GCC_FOR_TARGET, RAW_CXX_FOR_TARGET, GFORTRAN_FOR_TARGET): Redefine.
(AS_FOR_TARGET, LD_FOR_TARGET, NM_FOR_TARGET): Look into gcc
build directory.
(CONFIGURED_CC_FOR_TARGET, CONFIGURED_CXX_FOR_TARGET,
CONFIGURED_GCJ_FOR_TARGET, CONFIGURED_GCC_FOR_TARGET,
CONFIGURED_GFORTRAN_FOR_TARGET, USUAL_CC_FOR_TARGET,
USUAL_CXX_FOR_TARGET, USUAL_GCJ_FOR_TARGET, USUAL_GCC_FOR_TARGET,
USUAL_RAW_CXX_FOR_TARGET, USUAL_GFORTRAN_FOR_TARGET): New.
(CXX_FOR_TARGET_FOR_RECURSIVE_MAKE,
RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE, RECURSE_FLAGS): Delete.
* configure: Regenerate.
* Makefile.in: Regenerate.

19 years ago* Makefile.in (dtable_CFLAGS): Use -fomit-frame-pointer and -fcheck-new.
Christopher Faylor [Mon, 8 Aug 2005 04:06:07 +0000 (04:06 +0000)]
* Makefile.in (dtable_CFLAGS): Use -fomit-frame-pointer and -fcheck-new.
* cygheap.cc (cmalloc): Only emit system_printf warnings on failure if
DEBUGGING.
(crealloc): Ditto.
(ccalloc): Ditto.
* dtable.cc (build_fh_name): Treat NULL return from cnew as indicative of
EMFILE condition.
(build_fh_dev): Ditto.
(dtable::dup_worker): Handle NULL return from build_fh_pc.
(dtable::vfork_child_dup): Trust dup_worker to set errno.
* fhandler.h (fhandler_base::new): Mark as nothrow.

19 years ago* dllfixdbg: New perl script.
Christopher Faylor [Mon, 8 Aug 2005 02:27:43 +0000 (02:27 +0000)]
* dllfixdbg: New perl script.
* configure.in: Detect objcopy, objdump, strip.
* configure: Regenerate.
* Makefile.in: Pass target objcopy/objdump to new dllfixdbg script.  Remove
previous perl check.
* cygwin.sc: Add .gnu_debuglink_overlay section for eventual replacement with
.gnu_debuglink section.  Revert move of cygheap to end of image.

19 years ago * Makefile.in: Allow previous patch to work in a 64 bit environment.
Corinna Vinschen [Sun, 7 Aug 2005 09:21:09 +0000 (09:21 +0000)]
* Makefile.in: Allow previous patch to work in a 64 bit environment.

19 years agorevert erroneous checkin
Christopher Faylor [Sun, 7 Aug 2005 02:38:46 +0000 (02:38 +0000)]
revert erroneous checkin

19 years ago* Makefile.in: Warn when end of cygheap is not on 64k boundary.
Christopher Faylor [Sun, 7 Aug 2005 02:38:13 +0000 (02:38 +0000)]
* Makefile.in: Warn when end of cygheap is not on 64k boundary.
* cygwin.sc: Try harder to ensure that cygheap is on a 64k boundary.  Move
cygheap to end of image to stop interference from unstripped debug regions.

19 years ago* include/endian.h: Move everything into this file and define things more like
Christopher Faylor [Sat, 6 Aug 2005 23:00:06 +0000 (23:00 +0000)]
* include/endian.h: Move everything into this file and define things more like
linux.
* include/cygwin/types.h: Include endian.h.
* include/sys/dirent.h: Define DT_* types and conversion macros.
* pinfo.cc (pinfo::init): Remove special handling for PID_ALLPIDS and execed
code, even though it probably still isn't quite right.

19 years agoUpdate to switch FAQ from texinfo to DocBook.
Joshua Daniel Franklin [Sat, 6 Aug 2005 05:14:41 +0000 (05:14 +0000)]
Update to switch FAQ from texinfo to DocBook.

19 years ago * thread.cc (pthread::create(3 args)): Make bool.
Corinna Vinschen [Fri, 5 Aug 2005 16:14:41 +0000 (16:14 +0000)]
* thread.cc (pthread::create(3 args)): Make bool.
(pthread_null::create): Ditto.
(pthread::create(4 args)): Check return of inner create rather than
calling is_good_object().
* thread.h: Ditto.

19 years ago * fhandler_tty.cc (fhandler_tty_slave::tcflush): Return either 0 or -1.
Corinna Vinschen [Fri, 5 Aug 2005 16:11:21 +0000 (16:11 +0000)]
* fhandler_tty.cc (fhandler_tty_slave::tcflush): Return either 0 or -1.

19 years ago * thread.cc (pthread_cond_timedwait): Check abstime for validity
Corinna Vinschen [Fri, 5 Aug 2005 11:31:33 +0000 (11:31 +0000)]
* thread.cc (pthread_cond_timedwait): Check abstime for validity
according to SUSv3.  Rewrite timeout check and waitlength calculation
to avoid overflow problems.

19 years ago * hppa.h (PF_HP_CODE, PF_HP_MODIFY, PF_HP_LAZYSWAP): Revise defines.
John David Anglin [Thu, 4 Aug 2005 17:15:07 +0000 (17:15 +0000)]
* hppa.h (PF_HP_CODE, PF_HP_MODIFY, PF_HP_LAZYSWAP): Revise defines.
(PF_HP_CODE_DEPR, PF_HP_MODIFY_DEPR, PF_HP_LAZYSWAP_DEPR): New
deprecated defines.
(DT_HP_EPLTREL, DT_HP_EPLTRELSZ, DT_HP_FILTERED, DT_HP_FILTER_TLS,
DT_HP_COMPAT_FILTERED, DT_HP_LAZYLOAD, DT_HP_BIND_NOW_COUNT, DT_PLT,
DT_PLT_SIZE, DT_DLT, DT_DLT_SIZE, DT_HP_BIND_DEPTH_FIRST, DT_HP_GST,
DT_HP_SHLIB_FIXED, DT_HP_MERGE_SHLIB_SEG, DT_HP_NODELETE, DT_HP_GROUP,
DT_HP_PROTECT_LINKAGE_TABLE, PT_HP_OPT_ANNOT, PT_HP_HSL_ANNOT,
PT_HP_STACK, PT_HP_CORE_UTSNAME, NT_HP_COMPILER, NT_HP_COPYRIGHT,
NT_HP_VERSION, NT_HP_SRCFILE_INFO, NT_HP_LINKER, NT_HP_INSTRUMENTED,
NT_HP_UX_OPTIONS): Define.

19 years ago * hppa.h: Update copyright dates.
John David Anglin [Wed, 3 Aug 2005 15:08:52 +0000 (15:08 +0000)]
* hppa.h: Update copyright dates.

19 years ago * mount.cc (longopts): Fix typo which disallows --options option.
Corinna Vinschen [Wed, 3 Aug 2005 09:23:39 +0000 (09:23 +0000)]
* mount.cc (longopts): Fix typo which disallows --options option.

19 years ago2005-08-02 Bob Wilson <bob.wilson@acm.org>
Jeff Johnston [Tue, 2 Aug 2005 19:44:44 +0000 (19:44 +0000)]
2005-08-02  Bob Wilson  <bob.wilson@acm.org>

         * libm/math/ef_hypot.c (__ieee754_hypotf): Add missing exponent bias
         to the value for 2^126.

19 years agoFixed comment spacing.
Jeff Johnston [Tue, 2 Aug 2005 19:32:06 +0000 (19:32 +0000)]
Fixed comment spacing.

19 years ago2005-08-02 Shaun Jackman <sjackman@gmail.com>
Jeff Johnston [Tue, 2 Aug 2005 19:28:31 +0000 (19:28 +0000)]
2005-08-02  Shaun Jackman  <sjackman@gmail.com>

        * libgloss/arm/libcfunc.c (isatty): New function.

19 years ago2005-08-02 Shaun Jackman <sjackman@gmail.com>
Jeff Johnston [Tue, 2 Aug 2005 19:17:21 +0000 (19:17 +0000)]
2005-08-02  Shaun Jackman  <sjackman@gmail.com>

        * libgloss/arm/syscalls.c (_exit): Call _kill with the second
        argument set to -1, which is an invalid signal number.
        (_kill): Comment and coding style changes only.
        (_raise): Remove function.

19 years ago * include/sys/termios.h: Define TIOCMBIS and TIOCMBIC.
Corinna Vinschen [Tue, 2 Aug 2005 09:17:15 +0000 (09:17 +0000)]
* include/sys/termios.h: Define TIOCMBIS and TIOCMBIC.
* fhandler.h (class fhandler_serial): Declare switch_modem_lines.
* fhandler_serial.cc (fhandler_serial::switch_modem_lines): New
static function to set or clear DTR and/or RTS.
(fhandler_serial::ioctl): Use switch_modem_lines for TIOCMSET
and new TIOCMBIS and TIOCMBIC.
* include/cygwin/version.h: Bump API minor number.

19 years ago* fhandler_disk_file.cc (fhandler_base::pread): Don't move file offset pointer
Christopher Faylor [Fri, 29 Jul 2005 17:26:10 +0000 (17:26 +0000)]
* fhandler_disk_file.cc (fhandler_base::pread): Don't move file offset pointer
after I/O.
(fhandler_base::pwrite): Ditto.

19 years agowhite space
Christopher Faylor [Fri, 29 Jul 2005 17:06:57 +0000 (17:06 +0000)]
white space

19 years ago* fhandler.h (fhandler_base::pread): Declare new function.
Christopher Faylor [Fri, 29 Jul 2005 17:04:46 +0000 (17:04 +0000)]
* fhandler.h (fhandler_base::pread): Declare new function.
(fhandler_base::pwrite): Ditto.
(fhandler_disk_file::pread): Ditto.
(fhandler_disk_file::pwrite): Ditto.
* fhandler.cc (fhandler_base::pread): Define new function.
(fhandler_base::pwrite): Ditto.
* fhandler_disk_file.cc (fhandler_base::pread): Ditto.
(fhandler_base::pwrite): Ditto.
* syscalls.cc (pread): Define new function.
(pwrite): Ditto.
* cygwin.din: Export pread, pwrite.
* include/sys/ioctl.h: Guard some _IO* declarations to avoid conflict with
socket.h.

19 years ago* include/sys/ioctl.h: Add some linux defines.
Christopher Faylor [Fri, 29 Jul 2005 15:26:18 +0000 (15:26 +0000)]
* include/sys/ioctl.h: Add some linux defines.

19 years ago* pinfo.cc (pinfo::init): Put back accidentally removed debug_printf.
Christopher Faylor [Fri, 29 Jul 2005 14:33:50 +0000 (14:33 +0000)]
* pinfo.cc (pinfo::init): Put back accidentally removed debug_printf.

19 years ago* cygthread.cc (cygthread::simplestub): Wait for h to be filled out by main
Christopher Faylor [Fri, 29 Jul 2005 14:29:33 +0000 (14:29 +0000)]
* cygthread.cc (cygthread::simplestub): Wait for h to be filled out by main
thread before assigning it.

19 years ago* pinfo.cc (pinfo::init): Sleep before retrying open_shared().
Christopher Faylor [Fri, 29 Jul 2005 14:25:28 +0000 (14:25 +0000)]
* pinfo.cc (pinfo::init): Sleep before retrying open_shared().

19 years ago* fork.cc (fork_parent): Fix null deref if pinfo creation fails.
Christopher Faylor [Fri, 29 Jul 2005 14:22:56 +0000 (14:22 +0000)]
* fork.cc (fork_parent): Fix null deref if pinfo creation fails.

19 years ago PR gas/336
John David Anglin [Thu, 28 Jul 2005 20:32:21 +0000 (20:32 +0000)]
PR gas/336
  * hppa.h (pa_opcodes): Allow 0 immediates in PA 2.0 variants of pdtlb
and pitlb.

19 years ago* cygmalloc.h (MSPACES): Define. This dropped through the cracks after the
Christopher Faylor [Thu, 28 Jul 2005 17:03:34 +0000 (17:03 +0000)]
* cygmalloc.h (MSPACES): Define.  This dropped through the cracks after the
last malloc update.
* dcrt0.cc: Fix a comment.
* malloc.cc (internal_malloc): Fix definition so that it can be safely coerced.

19 years ago2005-07-28 Earnie Boyd <earnie@users.sf.net>
Earnie Boyd [Thu, 28 Jul 2005 11:09:36 +0000 (11:09 +0000)]
2005-07-28  Earnie Boyd  <earnie@users.sf.net>

* include/winnt.h (SUBLANG_PORTUGUESE, SUBLANG_PORTUGUESE_BRAZILIAN):
Correct their values.
Thanks to: Daniel K. O. <danielosmari at users dont sf dot net>

19 years ago * Makefile.tpl (EXTRA_TARGET_FLAGS): Set LDFLAGS=LDFLAGS_FOR_TARGET.
Mark Mitchell [Wed, 27 Jul 2005 20:22:35 +0000 (20:22 +0000)]
* Makefile.tpl (EXTRA_TARGET_FLAGS): Set LDFLAGS=LDFLAGS_FOR_TARGET.
* Makefile.def (flags_to_pass): Add LDFLAGS_FOR_TARGET.
* Makefile.in: Regenerated.

19 years ago * mt-gnu (CXXFLAGS): Include SYSROOT_CFLAGS_FOR_TARGET.
Mark Mitchell [Wed, 27 Jul 2005 18:55:59 +0000 (18:55 +0000)]
* mt-gnu (CXXFLAGS): Include SYSROOT_CFLAGS_FOR_TARGET.

19 years agoRemove bogus ChangeLog entry
Mark Mitchell [Wed, 27 Jul 2005 18:55:36 +0000 (18:55 +0000)]
Remove bogus ChangeLog entry

19 years ago * config/mt-gnu (CXXFLAGS): Include SYSROOT_CFLAGS_FOR_TARGET.
Mark Mitchell [Wed, 27 Jul 2005 18:00:57 +0000 (18:00 +0000)]
* config/mt-gnu (CXXFLAGS): Include SYSROOT_CFLAGS_FOR_TARGET.

* Makefile.tpl (SYSROOT_CFLAGS_FOR_TARGET): New variable.
(CFLAGS_FOR_TARGET): Use it.
(CXXFLAGS_FOR_TARGET): Likewise.
* Makefile.in: Regenerated.
* configure.in (--with-build-sysroot): New option.
* configure: Regenerated.

19 years ago* include/cygwin/in.h (INET_ADDRSTRLEN): Add new definition.
Christopher Faylor [Wed, 27 Jul 2005 17:35:18 +0000 (17:35 +0000)]
* include/cygwin/in.h (INET_ADDRSTRLEN): Add new definition.

19 years ago* gendef: Use nocr to remove \r's from input. gendef (nocr): New function.
Christopher Faylor [Wed, 27 Jul 2005 16:16:51 +0000 (16:16 +0000)]
* gendef: Use nocr to remove \r's from input.  gendef (nocr): New function.

19 years ago* fhandler_clipboard.cc (fhandler_dev_clipboard::close): Set membuffer to NULL.
Christopher Faylor [Wed, 27 Jul 2005 14:33:09 +0000 (14:33 +0000)]
* fhandler_clipboard.cc (fhandler_dev_clipboard::close): Set membuffer to NULL.
(fhandler_dev_clipboard::fixup_after_exec): Don't call close here.  Just set
variables directly.

19 years agoinclude/opcode/
Jan Beulich [Wed, 27 Jul 2005 07:04:31 +0000 (07:04 +0000)]
include/opcode/
2005-07-27  Jan Beulich  <jbeulich@novell.com>

* i386.h (i386_optab): Add comment to movd. Use LongMem for all
movd-s. Add NoRex64 to movq-s dealing only with mmx or xmm registers.
Add movq-s as 64-bit variants of movd-s.

19 years ago * libc/machine/cris/libcdtor.c (defaultors): Mark artificially as
Hans-Peter Nilsson [Tue, 26 Jul 2005 20:37:13 +0000 (20:37 +0000)]
* libc/machine/cris/libcdtor.c (defaultors): Mark artificially as
used.

19 years ago[bfd]
DJ Delorie [Tue, 26 Jul 2005 03:21:52 +0000 (03:21 +0000)]
[bfd]
* reloc.c: Remove unused M32C relocs, add BFD_RELOC_M32C_HI8.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.

* elf32-m32c.c (m32c_elf_howto_table): Add R_M32C_8, R_M32C_LO16,
R_M32C_HI8, R_M32C_HI16.
(m32c_reloc_map): Likewise.
(m32c_elf_relocate_section): Add R_M32C_HI8 and R_M32C_HI16.

[cpu]
* m32c.opc (parse_unsigned8): Add %dsp8().
(parse_signed8): Add %hi8().
(parse_unsigned16): Add %dsp16().
(parse_signed16): Add %lo16() and %hi16().
(parse_lab_5_3): Make valuep a bfd_vma *.

[gas]
* config/tc-m32c.c (md_cgen_lookup_reloc): Add 8 bit operands.
Support %mod() modifiers from opcodes.
* doc/c-m32c.texi (M32C-Modifiers): New section.

[include/elf]

* m32c.h: Add R_M32C_8, R_M32C_LO16, R_M32C_HI8, and R_M32C_HI16.

[opcodes]
* m32c-asm.c Regenerate.
* m32c-dis.c Regenerate.

19 years ago* include/byteswap.h: New file.
Christopher Faylor [Tue, 26 Jul 2005 00:55:42 +0000 (00:55 +0000)]
* include/byteswap.h: New file.

19 years agoupdate copyright
Christopher Faylor [Tue, 26 Jul 2005 00:38:54 +0000 (00:38 +0000)]
update copyright

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