Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-11-182005-11-17 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/sys/linux/dl/dl-local.h: New file based on old dlfcn.h in libc/sys/linux/include. * libc/sys/linux/dl/dlfcn.h: Moved to libc/sys/linux/include. * libc/sys/linux/dl/ldsodefs.h: Include dl-local.h instead of dlfcn.h. * libc/sys/linux/include/dlfcn.h: Replaced with dlfcn.h formerly in libc/sys/linux/dl.
2005-11-172005-11-17 Shaun Jackman <sjackman@gmail.com>Jeff Johnston
* libgloss/arm/libcfunc.c (isatty): Call _isatty. GDB now supports the IsTTY SWI that _isatty calls.
2005-11-17* fork.cc (fork): Move top-of-stack calculation later.Christopher Faylor
* pinfo.cc (_pinfo::set_ctty): Use __ctty to print current console in debugging output.
2005-11-17 * fhandler_tty.cc (fhandler_tty_slave::open): Don't expect thatCorinna Vinschen
service applications have no window station attached.
2005-11-17 * cris/linunistd.h: Don't redefine errno as extern int.Hans-Peter Nilsson
2005-11-16* times.cc (hires_ms::prime): Don't escalate the priority.Christopher Faylor
2005-11-14* include/sys/elf64.h: Fix types to reflect linux usage.Christopher Faylor
2005-11-14* fhandler.h (fhandler_console::fixup_after_fork_exec): Define with additionalChristopher Faylor
bool parameter. (fhandler_console::fixup_after_exec): Accommodate fixup_after_fork_exec's parameter. (fhandler_console::fixup_after_fork): Ditto. * fhandler_console.cc (fhandler_console::fixup_after_fork_exec): Avoid opening new console only when close_on_exec AND execing.
2005-11-14* fhandler.h (fhandler_console::fixup_after_fork_exec): Declare new function.Christopher Faylor
(fhandler_console::fixup_after_fork): Use fixup_after_fork_exec. (fhandler_console::fixup_after_exec): Ditto. * fhandler_console.cc (fhandler_console::fixup_after_fork): Delete definition. (fhandler_console::fixup_after_fork_exec): Rename from fixup_after_exec. * pinfo.cc (_pinfo::set_ctty): Don't play with console count here. * syscalls.cc (close_all_files): Don't close cygheap ctty if hExeced since the child will be copying information from us. (setsid): Use myctty() rather than raw ctty #.
2005-11-14* cygheap.h (init_cygheap::manage_console_count): Declare new function.Christopher Faylor
(init_cygheap::console_count): Renamed from open_fhs. Make private. * cygheap.cc (init_cygheap::manage_console_count): Define new function. * dtable.cc (dtable::fixup_after_exec): Always call fixup_after_exec on elements of fd even when they are about to be closed. * fhandler.h (report_tty_counts): Remove open_fhs from debugging output. * fhandler_console.cc (fhandler_console::open): Use manage_console_count rather than manipulating count directly. (fhandler_console::close): Ditto. (fhandler_console::fixup_after_fork): Ditto. (fhandler_console::fixup_after_exec): Ditto. Don't close handles if close_on_exec. * fhandler_tty.cc (fhandler_tty_slave::open): Use manage_console_count() rather than manipulating count directly. Reflect change in arguments to report_tty_counts(). (fhandler_tty_slave::close): Ditto for both. (fhandler_tty_slave::dup): Ditto for both. (fhandler_tty_slave::ioctl): Use myctty() rather than raw ctty #. (fhandler_tty_slave::fixup_after_fork): Reflect change in arguments to report_tty_counts(). (fhandler_tty_master::init_console): Use manage_console_count() rather than manipulating count directly. * fhandler_clipboard.cc (fhandler_dev_clipboard::fixup_after_exec): Don't perform any operations if close_on_exec. * fhandler_dsp.cc (fhandler_dev_dsp::fixup_after_exec): Ditto. * fhandler_raw.cc (fhandler_dev_raw::fixup_after_exec): Ditto. * fhandler_serial.cc (fhandler_serial::fixup_after_exec): Ditto. * pinfo.h (_pinfo::_ctty): Declare new function. (myctty): Declare new macro. (__ctty): Declare new macro. * pinfo.cc (_pinfo::_ctty): Define new function. (_pinfo::set_ctty): Use manage_console_count() rather than manipulating count directly. * signal.cc (kill_pgrp): Use myctty() and __ctty() macros rather than raw ctty #. * syscalls.cc (setsid): Ditto. Use manage_console_count() rather than manipulating count directly.
2005-11-14 * mips.h: Assign 'm'/'M' codes to MIPS16e save/restoreThiemo Seufer
instructions. Define MIPS16_ALL_ARGS and MIPS16_ALL_STATICS for save/restore encoding of the args field. * mips16-opc.c: Add MIPS16e save/restore opcodes. * mips-dis.c (print_mips16_insn_arg): Handle printing of 'm'/'M' codes for save/restore. * config/tc-mips.c (mips16_ip): Add handling of 'm' and 'M' codes for the MIPS16e save/restore instructions. * gas/mips/mips.exp: Run new save/restore tests. * gas/testsuite/gas/mips/mips16e-save.s: New test for generating different styles of save/restore instructions. * gas/testsuite/gas/mips/mips16e-save.d: New.
2005-11-13 * fhandler_socket.cc (fhandler_socket::recvfrom): Just return 0 (EOF)Corinna Vinschen
in case of WSAESHUTDOWN. (fhandler_socket::recvmsg): Ditto. * poll.cc (poll): Set revents to POLLIN instead of POLLHUP. Add comment.
2005-11-12 * include/commdlg.h (OPENFILENAMEW): Add members forDanny Smith
_WIN32_WINNT >= 0x0500. (OPENFILENAMEA): Modify whitespace. Ansify comment.
2005-11-12 * include/wingdi.h (GetICMProfile{AW}): Correct prototype.Danny Smith
Thanks to: Paul J Lucas
2005-11-12 * Makefile.def: Remove gdb dependencies for gdbtk.Daniel Jacobowitz
* Makefile.tpl (CONFIGURE_GDB_TK, INSTALL_GDB_TK): New variables. (configure-gdb, install-gdb): New rules. * configure.in: Set CONFIGURE_GDB_TK and INSTALL_GDB_TK. * Makefile.in, configure: Regenerated.
2005-11-11* cygheap.h (init_cygheap::_gtod): Remove.Christopher Faylor
* cygwin.din: Export clock_getres and clock_setres. * hires.h (hires_ms::minperiod): Delete declaration. (hires_ms::began_period): Ditto. (hires_ms::prime): Make void. (hires_ms::resolution): Just define here. (hires_ms::usecs): Remove unneeded argument. (gtod): Redeclare as a variable. * timer.cc (timer_thread): Eliminate argument to gtod.usecs(). (timer_tracker::gettime): Ditto. (timer_tracker::settime): Ditto. * times.cc (gettimeofday): Ditto. (hires_ms::began_period): Delete declaration. (hires_us::prime): Remove debugging. (hires_ms::prime): Make void. Eliminate period stuff. (hires_ms::usecs): Eliminate argument to gtod.usecs(). (hires_ms::resolution): New function. (clock_getres): Ditto. (clock_setres): Ditto. * version.h: Bump API version to 143. * include/cygwin/time.h: New file.
2005-11-11* libc/include/sys/time.h: For cygwin, use general header rather than specificChristopher Faylor
"sys/select.h".
2005-11-11PR 1150Nick Clifton
* readelf.c (get_mips_symbol_other): New function. (get_symbol_other): New function. (process_symbol_table): Call get_symbol_other() to get a description of the st_other field if it contains more information than just the visibility. * elfxx-mips.c (mips_elf_calculate_relocation): Ignore an undefined symbol if it is optional. (_bfd_mips_elf_merge_symbol_attribute): Make sure that the optional flag is merged as well as the visibility. * elfxx-mips.h (_bfd_mips_elf_merge_symbol_attribute): Prototype. (elf_backend_merge_symbol_attribute): Define. * mips.h (STO_OPTIONAL): Define. (ELF_MIPS_IS_OPTIONAL): Define.
2005-11-11* times.cc (hires_ms::prime): Comment out call to timeBeginPeriod for now.Christopher Faylor
(hires_ms::usecs): Call prime if haven't called began_period(). * param.h: Don't define stuff that is already defined in endian.h.
2005-11-11* include/endian.h: Remove USE_BSD ifdef since it is never defined on Cygwin.Christopher Faylor
2005-11-10 * bsd_helper.cc (securityinit): New function. Move initializationCorinna Vinschen
of security related variables from ipcinit here. * bsd_helper.h (securityinit): Add prototype. * cygserver.cc (main): Call securityinit right after wincap.init. * process.cc (process_cache::process): Fix maximum process condition. * README: Add description for new -p/--process-cache option. * bsd_helper.cc (default_tun_check): Add kern.srv.process_cache_size entry to tunable_params. Set max value of kern.srv.request_threads to 310. * cygserver.cc (SERVER_VERSION): Set to 1.20. (print_usage): Print usage of new parameter -p. (main): Add process cache parameter handling. Accomodate new max value of request threads. * cygserver.conf: Add kern.srv.process_cache_size tunable parameter. Accomodate new max value of kern.srv.request_threads. * process.cc: Fix a comment. (process_cache::process_cache): Add max process cache size parameter. Change _cache_add_trigger to manual reset event. (struct pcache_wait_t): New struct used as parameter to pcache_wait_thread. (pcache_wait_thread): New thread function used for threaded process cache. (process_cache::wait_for_processes): Use threaded waiting if number of processes to wait for is bigger than 62. Always check all processes to avoid race under heavy load. (process_cache::sync_wait_array): Remove useless assert. Reset _cache_add_trigger right at the start since it's manual reset now. Accomodate threaded waiting. * process.h (process_cache::process_cache): Add max_procs parameter. (process_cache::_max_process_count): New member. (process_cache::_wait_array: Raise to allow up to 5 wait threads. (process_cache::_process_array): Ditto.
2005-11-10 * bsd_log.cc (_vpanic): LOG_EMERG is overkill, use LOG_CRIT.Corinna Vinschen
2005-11-10 Fix dates.Corinna Vinschen
2005-11-10 * syslog.cc (setlogmask): Don't mask the mask.Corinna Vinschen
(vsyslog): Fix priority check.
2005-11-10 * include/cygwin/signal.h: Add missing sigrelse prototype.Corinna Vinschen
2005-11-09* fhandler_base.cc (fhandler_base::readv): Free buf, not a pointer into theChristopher Faylor
middle of buf.
2005-11-092005-11-08 Tom Walsh <tom@openhardware.net>Jeff Johnston
* libc/time/tzvars.c: New file. * libc/time/tzset_r.c: Moved globals into tzvars.c so other time functions needn't link in __tzset_r and its dependencies. * libc/time/Makefile.am: Add the new file. * libc/time/Makefile.in: Regenerated.
2005-11-09* libc/include/string.h: Add cygwin-specific function declaration.Christopher Faylor
2005-11-09fix entryChristopher Faylor
2005-11-09* memmem.cc: New file.Christopher Faylor
* include/cygwin/version.h: Bump API version number to 142. * cygwin.din: Export memmem.
2005-11-08* environ.cc (spenvs): Make "SYSTEMDRIVE" an "always export".Christopher Faylor
2005-11-08bfd:Nathan Sidwell
Add ms2. * archures.c (bfd_mach_ms2): Define. * cpu-ms1.c (arch_info_struct): Add ms2 stanza. * elf32-ms1.c (elf32_ms1_machine): Add ms2 case. (ms1_elf_merge_private_bfd_data): Remove unused variables. Add correct merging logic, with workaround. (ms1_elf_print_private_bfd_data): Add ms2 case. * reloc.c (BFD_RELOC_MS1_PCINSN8): Add ms2 specific reloc. * libbfd.h: Regenerated. * bfd-in2.h: Regenerated. cpu: Add ms2 * ms1.cpu (ms2, ms2bf): New architecture variant, cpu, machine and model. (f-uu8, f-uu1, f-imm16l, f-loopo, f-cb1sel, f-cb2sel, f-cb1incr, f-cb2incr, f-rc3): New fields. (LOOP): New instruction. (JAL-HAZARD): New hazard. (imm16o, loopsize, imm16l, rc3, cb1sel, cb2sel, cb1incr, cb2incr): New operands. (mul, muli, dbnz, iflush): Enable for ms2 (jal, reti): Has JAL-HAZARD. (ldctxt, ldfb, stfb): Only ms1. (fbcb): Only ms1,ms1-003. (wfbinc, mefbinc, wfbincr, mwfbincr, fbcbincs, mfbcbincs, fbcbincrs, mfbcbincrs): Enable for ms2. (loop, loopu, dfbc, dwfb, fbwfb, dfbr): New ms2 insns. * ms1.opc (parse_loopsize): New. (parse_imm16): hi16/lo16 relocs are applicable to IMM16L. (print_pcrel): New. gas: Add ms2. * config/tc-ms1.c (ms1_mach_bitmask): Initialize to MS1. (ms1_architectures): Add ms2. (md_parse_option): Add ms2. (md_show_usage): Add ms2. (md_assemble): Add JAL_HAZARD detection logic. (md_cgen_lookup_reloc): Add MS1_OPERAND_LOOPSIZE case. * doc/c-ms1.texi: New. * doc/all.texi: Add MS1. * doc/Makefile.am (CPU_DOCS): Add c-ms1.texi. * doc/Makefile.in: Rebuilt. * doc/Makefile: Rebuilt. gas/testsuite: Add ms2. * gas/ms1/allinsn.d: Adjust pcrel disassembly. * gas/ms1/errors.exp: Fix target triplet. * gas/ms1/ms1-16-003.d: Adjust pcrel disassembly. * gas/ms1/ms1-16-003.s: Tweak label. * gas/ms1/ms1.exp: Adjust target triplet. Add ms2 test. * gas/ms1/ms2.d, gas/ms1/ms2.s: New. * gas/ms1/relocs.d: Adjust expected machine name and pcrel disassembly. * gas/ms1/relocs.exp: Adjust target triplet. include: Add ms2. * elf/ms1.h (EF_MS1_CPU_MS2): New. opcodes: Add ms2. * ms1-asm.c, ms1-desc.c, ms1-desc.h, ms1-dis.c, ms1-ibld.c, ms1-opc.c, ms1-opc.h: Regenerated.
2005-11-07 * times.cc (futimes): Redirect to utimes_worker if given fileCorinna Vinschen
descriptor is opened R/O.
2005-11-07 * elf/hppa.h (R_PARISC_DIR64WR, R_PARISC_DIR64DR): Remove relocs.John David Anglin
2005-11-06* dcrt0.cc (dll_crt0_0): Initialize security data first so that it can be usedChristopher Faylor
by subsequent handle creation.
2005-11-04* cygheap.h (init_cygheap::_gtod): New hires_ms element.Christopher Faylor
* hires.h (hires_ms::minperiod): Remove static designation. (hires::began_period): New field. * signal.cc: Include headers required for cygheap.h now that gtod lives in the cygheap. * timer.c: Ditto. * times.cc (gtod): Delete variable. (gtod::minperiod): Ditto. (gtod::began_period): Define. (hires_ms::prime): Add more debugging output. Call timeBeginPeriod only when !began_period.
2005-11-04* times.cc (hires_ms::prime): More debugging.Christopher Faylor
(hires_ms::usecs): Ditto.
2005-11-042005-11-04 Michael Jung <mjung@iss.tu-darmstadt.de>Danny Smith
* lib/shell32.c (CLSID_ShellFSFolder): Add GUID.
2005-11-04* times.cc (stupid_printf): Define and use throughout -- temporarily.Christopher Faylor
2005-11-032005-11-03 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/unix/getcwd.c: Don't use non-reentrant syscall names. * libc/unix/getlogin.c: Ditto. * libc/unix/getpass.c: Ditto. * libc/unix/getut.c: Ditto. * libc/unix/ttyname.c: Ditto.
2005-11-032005-11-03 Shaun Jackman <sjackman@gmail.com>Jeff Johnston
* libc/include/sys/unistd.h (readlink, symlink): Provide these prototypes by default. * libc/sys/linux/include/unistd.h (readlink): Remove this prototype. * libc/sys/linux/sys/unistd.h (readlink, symlink): New prototypes.
2005-11-03* times.cc (hires_ms::prime): Add lots of temporary debugging output.Christopher Faylor
2005-11-03 * lib/crypt32.def (CertOIDToAlgId, CertAlgIDToOID, CryptProtectData,Danny Smith
CryptUnprotectData, CryptDecodeObjectEx, CryptEncodeObjectEx, CryptRegisterOIDFunction, CryptUnregisterOIDFunction): Add stubs. Thanks to: F Richter <res2002 at users dot sourceforge dot net> Fix some ChangeLog whitespace.
2005-11-03 * bfdlink.h (struct bfd_link_order): Tweak comment.Alan Modra
2005-11-03* times.cc (hires_ms::minperiod): Make copy-on-fork.Christopher Faylor
(gettimeofday): Remove temporary debugging. (hires_us::prime): Add lots of temporary debugging output.
2005-11-02* times.cc (gettimeofday): Add temporary debugging output.Christopher Faylor
2005-11-022005-11-01 Ralf Corsepius <ralf.corsepius@rtems.org>Jeff Johnston
* libc/include/stdint.h: Cleanup #if vs. #ifdef.
2005-11-01* include/sys/cygwin.h: Define CYGWIN_SIGNAL_STRING.Christopher Faylor
* exceptins.cc (sigpacket::process): Send a _CYGWIN_SIGNAL_STRING to gdb if the process is being debugged. A WIP.
2005-10-312005-10-31 Darin Johnson <darin@usa.net>Jeff Johnston
* libm/mathfp/s_mathcnst.c: Fix endian-ness check to be correct for constants.
2005-10-31merge from gccDJ Delorie