summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* update copyright. Minor reformatting.Christopher Faylor2004-03-241-4/+6
|
* 2004-03-24 Filip Navara <xnavara@volny.cz>Danny Smith2004-03-242-0/+13
| | | | | * include/commctrl.h (TB_GETSTRING[AW]): Add defines. (RBBS_HIDETITLE, RBBS_TOPALIGN): Ditto.
* 2004-03-24 Filip Navara <xnavara@volny.cz>Danny Smith2004-03-242-3/+8
| | | | | | * include/ddk/srb.h (_PORT_CONFIGURATION_INFORMATION): Rename TaggedQueueing to TaggedQueuing. (_HW_INITIALIZATION_DATA): Likewise.
* * winsup.api/devdsp.c: New file, testing fhandler_dev_dsp code.Corinna Vinschen2004-03-243-0/+1154
| | | | * winsup.api/devdsp_okay.h: Ditto.
* * fhandler_dsp.cc (fhandler_dev_dsp::write): Remove typeCorinna Vinschen2004-03-242-3/+12
| | | | | cast from argument to audio_out_->parsewav() to make reference work properly. Now .wav file headers are properly discarded.
* 2004-03-23 Nathanael Nerode <neroden@gcc.gnu.org>Nathanael Nerode2004-03-243-14/+23
| | | | | | | | | | | * Makefile.tpl (new-bootstrap): Set CC and CC_FOR_BUILD in configure for stages 2 and 3 as well as in make. As a consequence, remove OUTPUT_OPTION (now detected by configure) from the flags passed down to make. * Makefile.in: Regenerate. * Makefile.tpl (new-bootstrap): Fix typo. * Makefile.in: Regenerate.
* 2004-03-23 Eric Christopher <echristo@redhat.com>Eric Christopher2004-03-244-24/+50
| | | | | | * mips/configure.in: Add mipsisa64-*-* to target support. * mips/configure: Regenerate. * frv/crt0.S: Fix comment.
* * bfd/elf32-arm.h (arm_print_private_bfd_data): Add EABI v3.Paul Brook2004-03-232-0/+9
| | | | | | | | | | | | * binutils/readelf.c (decode_ARM_machine_flags): Add EABI v3. * gas/config/tc-arm.c (meabi_flags): New variable. (arm_parse_eabi): New function. (md_begin): Set flags for EABI v3. (arm_eabis): Add. (arm_long_opts): Add meabi. * include/elf/arm.h (EF_ERM_BE8, EF_ARM_LE8, EF_ARM_EABI_VER3): Add. * doc/as.texinf <ARM>: Document -meabi. * doc/c-arm.texi: Ditto.
* white space fixupChristopher Faylor2004-03-231-3/+3
|
* * fhandler_disk_file.cc (fhandler_base::fstat_fs): Use createdCorinna Vinschen2004-03-232-3/+16
| | | | handle regardless of nohandle state. Clean up afterwards.
* * autoload.cc: Load eight more functions for waveIn support.Corinna Vinschen2004-03-234-344/+1190
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fhandler.h (class fhandler_dev_dsp): Add class Audio, class Audio_in and class Audio_out members and audio_in_, audio_out_ pointers so that future changes are restricted to file fhandler_dsp.cc. * fhandler_dsp.cc (fhandler_dev_dsp::Audio): Add this class to treat things common to audio recording and playback. Add more format conversions. (fhandler_dev_dsp::Audio::queue): New queues for buffer management to fix incomplete cleanup of buffers passed to the wave device. (fhandler_dev_dsp::Audio_in): New, added class to implement audio recording. (fhandler_dev_dsp::Audio_out): Rework to use functionality provided by fhandler_dev_dsp::Audio. Allocate memory audio buffers late, just before write. (fhandler_dev_dsp::Audio_out::start): Size of wave buffer allocated here depends on audio rate/bits/channels. (fhandler_dev_dsp::Audio_in::start): Ditto. (fhandler_dev_dsp::setupwav): Replaced by following function. (fhandler_dev_dsp::Audio_out::parsewav): Does not setup wave device any more. Discard wave header properly. (fhandler_dev_dsp::open): Add O_RDONLY and_RDWR as legal modes. Protect against re-open. Activate fork_fixup. (fhandler_dev_dsp::ioctl): Protect against actions when audio is active. SNDCTL_DSP_GETFMTS only returns formats supported by mmsystem wave API, not all supported formats. SNDCTL_DSP_GETBLKSIZE result now depends on current audio format. (fhandler_dev_dsp::fixup_after_fork): Call fork_fixup for the Audio classes to let them duplicate the CRITICAL_SECTION.
* include/Alan Modra2004-03-222-22/+32
| | | | | | | | | | | | | | PR 51. * bfdlink.h (struct bfd_link_info): Add wrap_char. bfd/ PR 51. * linker.c (bfd_wrapped_link_hash_lookup): Handle info->wrap_char. ld/ PR 51. * emultempl/ppc64elf.em (ppc_create_output_section_statements): Set link_info.wrap_char.
* Christopher Faylor <cgf@redhat.com>Christopher Faylor2004-03-222-18/+22
| | | | | * init.cc (munge_threadfunc): Handle all instances of search_for. (prime_threads): Test threadfunc_ix[0].
* * Makefile.tpl: Rearrange by moving recursive_targets rulesNathanael Nerode2004-03-225-12497/+12746
| | | | | | | | | | | | | | | | | | | | | into their proper sections. * Makefile.tpl (top level bootstrap support): Move disabling of coverage flags from 'make' to 'configure'; improve comments. * Makefile.in: Regenerate. * Makefile.tpl (experimental top level bootstrap) Move stage1 language setting from all- target to configure- target; disable intermodule optimization in stage 1; prevent gratuitous rebuilds of stage 1. * Makefile.in: Regenerate. * configure.in: Comma-separate stage 1 language list for top level bootstrap. * configure: Regenerate. * Makefile.tpl: Clean up experimental top level bootstrap support: note known problems; set CONFIG_SHELL; don't set BUILD_CC; relocate prev-gcc in configure- targets as well as all- targets. * Makefile.in: Regenerate.
* * cygheap.cc (init_cheap): Set initial_sz to something or suffer spuriousChristopher Faylor2004-03-212-4/+12
| | | | | | | output. (cygheap_fixup_in_child): Set alloc_sz to passed in size to ensure that children will have the right size heap. (_csbrk): Make output conditional on DEBUGGING.
* * cygheap.cc (init_cheap): Conditionalize debugging code.Christopher Faylor2004-03-212-0/+6
|
* * cygcheck.cc (dump_sysinfo): Remove "Win95/NT" from output.Christopher Faylor2004-03-212-1/+5
|
* * cygheap.cc (init_cheap): Add ability to specify minimal cygwin heap size whenChristopher Faylor2004-03-217-54/+75
| | | | | | | | | | | | | | | debugging. (_csbrk): Report error in allocation to stderr. (ccalloc): Ditto. * dtable.cc (dtable::find_fifo): Remove use of atoms. * dtable.h (dtable::find_fifo): Ditto. * fhandler.h (fhandler_fifo): Ditto. * fhandler_fifo.cc (fhandler_fifo::fhandler_fifo): Ditto. (fhandler_fifo::set_use): Ditto. (fhandler_fifo::open_not_mine): Ditto. (fhandler_fifo::open): Ditto. * pinfo.cc (_pinfo::commune_recv): Ditto. (_pinfo::commune_send): Ditto.
* Reorder it.H.J. Lu2004-03-201-4/+4
|
* Correct the ChangeLog entry.H.J. Lu2004-03-202-5/+4
|
* bfd/H.J. Lu2004-03-202-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-20 H.J. Lu <hongjiu.lu@intel.com> * elf-bfd.h (RELOC_FOR_GLOBAL_SYMBOL): Report error if unresolved symbols in objects aren't allowed. * elf-hppa.h (elf_hppa_relocate_section): Properly handle unresolved symbols. (elf_hppa_remark_useless_dynamic_symbols): Likewise. (elf_hppa_unmark_useless_dynamic_symbols): * elf32-frv.c (elf32_frv_relocate_section): Likewise. * elf32-hppa.c (elf32_hppa_size_stubs): Likewise. (elf32_hppa_relocate_section): Likewise. * elf32-i370.c (i370_elf_relocate_section): Likewise. * elf32-m32r.c (m32r_elf_relocate_section): Likewise. * elf32-sh.c (sh_elf_relocate_section): Likewise. * elf64-sh64.c (sh_elf64_relocate_section): Likewise. * elfxx-mips.c (mips_elf_calculate_relocation): Likewise. * elf-m10200.c (mn10200_elf_relocate_section): Use RELOC_FOR_GLOBAL_SYMBOL. * elf32-avr.c (elf32_avr_relocate_section): Likewise. * elf32-d10v.c (elf32_d10v_relocate_section): Likewise. * elf32-fr30.c (fr30_elf_relocate_section): Likewise. * elf32-h8300.c (elf32_h8_relocate_section): Likewise. * elf32-i860.c (elf32_i860_relocate_section): Likewise. * elf32-m68hc1x.c (m68hc11_get_relocation_value): Likewise. * elf32-mcore.c (mcore_elf_relocate_section): Likewise. * elf32-msp430.c (elf32_msp430_relocate_section): Likewise. * elf32-openrisc.c (openrisc_elf_relocate_section): Likewise. * elf32-v850.c (v850_elf_relocate_section): Likewise. * elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise. * elf64-mmix.c (mmix_elf_relocate_section): Likewise. include/ 2004-03-20 H.J. Lu <hongjiu.lu@intel.com> * bfdlink.h (bfd_link_info): Correct comments for the unresolved_syms_in_objects field. ld/ 2004-03-20 H.J. Lu <hongjiu.lu@intel.com> * lexsup.c (parse_args): Don't set unresolved_syms_in_objects or unresolved_syms_in_shared_libs for -Bdynamic and -Bstatic.
* 2004-03-19 Pierre Humblet <pierre.humblet@ieee.org>Pierre Humblet2004-03-202-36/+44
| | | | * dir.cc (rmdir): Reorganize error handling to reduce indentation.
* * include/cygwin/version.h: Bump DLL minor number to 10.Christopher Faylor2004-03-192-1/+5
|
* * msvcrt.def.in: Add stubs for msvcrt.dll (version 6.10),Danny Smith2004-03-193-6/+99
| | | | | | msvcr70.dll, and msvcr71.dll. * Makefile.in (msvcr*.def): Define preprocessor __msvcr*__ constant using basename of output def file.
* * child_info.h (CURR_CHILD_INFO_MAGIC): Reset to new value.Christopher Faylor2004-03-184-9/+33
| | | | | | | | | | | (child_info::cygheap_alloc_sz): New field. * cygheap.cc (init_cheap): Reduce size of cygwin stack until minimal hit when attempting initial allocation. (cygheap_setup_for_child): Use alloc_sz to create secondary memory mapped entry. Store alloc_sz in cygheap_alloc_sz. (cygheap_fixup_in_child): Use cygheap_alloc_sz to map parent's cygheap. * cygheap.h (_CYGHEAPSIZE_SLOP): New define. (CYGHEAPSIZE): Use _CYGHEAPSIZE_SLOP.
* * fhandler_proc.cc (format_proc_meminfo): On NT, try to figure outCorinna Vinschen2004-03-183-2/+54
| | | | | | | real swap file usage by requesting SystemPagefileInformation. Use GlobalMemoryStatus as fallback. * ntdll.h (_SYSTEM_INFORMATION_CLASS): Add SystemPagefileInformation. (struct _SYSTEM_PAGEFILE_INFORMATION): Define.
* 2004-03-17 Paolo Bonzini <bonzini@gnu.org>Nathanael Nerode2004-03-175-126/+40
| | | | | | | * configure.in: Remove symbolic link section. * configure: Regenerate. * Makefile.tpl (links): Remove. * Makefile.in: Regenerate.
* Add FAQ about old packages. Remove B20 references.Joshua Daniel Franklin2004-03-171-33/+37
|
* add missing changelog entryChristopher Faylor2004-03-171-0/+4
|
* * include/cygwin/version.h: Bump DLL minor number to 9.Christopher Faylor2004-03-173-2/+6
|
* 2004-03-15 Paolo Bonzini <bonzini@gnu.org>Nathanael Nerode2004-03-163-130/+140
| | | | | | | | | Nathanael Nerode <neroden@gcc.gnu.org> * configure.in (DEFAULT_YACC, DEFAULT_M4, DEFAULT_LEX): Set with AC_CHECK_PROGS. * configure.in: Fix comment typo from last patch. * configure: Regenerate.
* * include/docobj.h (IOleDocumentView::GetDocument): CorrectDanny Smith2004-03-162-1/+8
| | | | | prototype. Thanks to Buster Copley <consequent@users.sourceforge.net>
* * lib/ddk/ntoskrnl.def (MmAllocatePagesForMdl): Correct suffix.Danny Smith2004-03-162-3/+9
| | | | | (MmMapIoSpace): Likewise. Thanks to Dan Aloni <da-x@colinux.org>
* 2004-03-16 Martin Fuchs <martin-fuchs@gmx.net>Danny Smith2004-03-162-0/+50
| | | | | | | * include/shellapi.h (NIM_* NIS_*): Define constants for notification icons with _WIN32_IE >= 0x0500. (NOTIFYICONDATA): Add new structure members for notification icons with _WIN32_IE >= 0x0500.
* * sigproc.cc (proc_terminate): Release sync_proc_subproc when done terminatingChristopher Faylor2004-03-162-1/+8
| | | | | or suffer potential hangs. (get_proc_lock): Reorganize debugging output slightly.
* * cygtls.cc (_cygtls::fixup_after_fork): Just manipulate the signal stack if aChristopher Faylor2004-03-162-5/+12
| | | | signal occurred during the parent's fork. Otherwise leave it alone.
* opcodes/Alan Modra2004-03-162-13/+20
| | | | | | | | | | | | | | | | | | | * ppc-dis.c (print_insn_powerpc): Don't print tabs. Handle PPC_OPERANDS_GPR_0. * ppc-opc.c (RA0): Define. (RAQ, RAL, RAM, RAS, RSQ, RTQ, RSO): Use PPC_OPERAND_GPR_0. (RAOPT): Rename from RAO. Update all uses. (powerpc_opcodes): Use RA0 as appropriate. Add "lsdx", "lsdi", "stsdx", "stsdi", "lmd" and "stmd" insns. include/opcode/ * ppc.h (PPC_OPERAND_GPR_0): Define. Bump other operand defines. gas/testsuite/ Update gas/ppc/. ld/testsuite/ Update ld-powerpc/.
* 2004-03-15 Nathanael Nerode <neroden@gcc.gnu.org>Nathanael Nerode2004-03-165-66/+709
| | | | | | | * Makefile.tpl: Introduce experimental top level bootstrap support. * Makefile.in: Regenerate. * configure.in: Introduce support for top level bootstrap. * configure: Regenerate.
* * cygpath.cc (usage): Don't issue helpful message if -i is used.Christopher Faylor2004-03-152-4/+11
| | | | (from Igor Pechtchanski)
* * exceptions.cc (try_to_debug): Report on tid of caller.Christopher Faylor2004-03-154-33/+33
| | | | | * sync.cc (muto::acquire): Fix some races. * sync.h (muto): Expose some fields for easier debugging.
* Fix ChangeLog dates.Corinna Vinschen2004-03-155-65/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fhandler.h (fhandler_dev_tape::tape_get_pos): Declare with extra parameter for partition number. (fhandler_dev_tape::_tape_set_pos): Ditto. (fhandler_dev_tape::tape_partition): New method. (fhandler_dev_tape::tape_set_partition): New method. * fhandler_tape.cc (fhandler_dev_tape::open): Call private methods directly instead of ioctl. (fhandler_dev_tape::ioctl): Use long erase on MTERASE by default. Don't use absolute positioning on MTSEEK. Call tape_set_partition on MTSETPART, tape_partition on MTMKPART. (fhandler_dev_tape::tape_get_pos): Add partition number parameter. Prefer logical position information over absolute position information. Return partition number. (fhandler_dev_tape::_tape_set_pos): Add partition number parameter. Use in SetTapePosition. (fhandler_dev_tape::tape_set_pos): Remove special TAPE_ABSOLUTE_BLOCK handling. (fhandler_dev_tape::tape_erase): Rewind before erasing. (fhandler_dev_tape::tape_status): Rearrange slightly. Try to get a MediaType even if no tape is loaded. Store active partition in mt_resid as on Linux. (fhandler_dev_tape::tape_partition): New method. (fhandler_dev_tape::tape_set_partition): New method. * include/cygwin/mtio.h: Fix copyright. Add comment to explain mt_resid content. * include/cygwin/version.h: Bump API minor number.
* * cygtls.cc (_cygtls::remove): Call remove_wq even when we can't necessarilyChristopher Faylor2004-03-154-24/+38
| | | | | | | | get the cygtls table lock. * cygtls.h (_cygtls::remove_wq): Add wait argument. * sigproc.cc (_cygtls::remove_wq): Honor wait argument when acquiring lock. (proc_terminate): Don't NULL sync_proc_subproc since other threads may still try to access it.
* * errno.cc (errmap): Map ERROR_BEGINNING_OF_MEDIA andCorinna Vinschen2004-03-146-149/+245
| | | | | | | | | | | | | | | | | | | | | | ERROR_SETMARK_DETECTED to EIO instead of ESPIPE. Handle ERROR_FILEMARK_DETECTED. * fhandler_tape.cc (TAPE_FUNC): Add comment that ERROR_BUS_RESET has still to be handled correctly. (fhandler_dev_tape::open): Accomodate fact that get.mt_dsreg also contains density code. (fhandler_dev_tape::ioctl): Rearrange slightly. Reset devbuf also on MTNOP, MTWSM, MTSETBLK, MTSETDRVBUFFER, MTSETPART and MTMKPART. (fhandler_dev_tape::tape_set_pos): Rearrange. Match behaviour to the Linux tape driver. (fhandler_dev_tape::tape_status): Call IOCTL_STORAGE_GET_MEDIA_TYPES_EX if available. Return device type and density code in appropriate mtget members. * wincap.h (wincaps::has_ioctl_storage_get_media_types_ex): New element. * wincap.cc: Implement above element throughout. * include/cygwin/mtio.h: Add tape device types as returned by IOCTL_STORAGE_GET_MEDIA_TYPES_EX. (MT_TAPE_INFO): Use above type codes. (struct mtget): Change mt_dsreg comment.
* 2004-03-14 Pierre Humblet <pierre.humblet@ieee.org>Pierre Humblet2004-03-142-49/+54
| | | | | * dir.cc (rmdir): Construct real_dir with flag PC_FULL. Use a loop instead of recursion to handle the current directory.
* * cygtls.cc (_cygtls::remove): Call remove_wq to ensure that wait stuff isChristopher Faylor2004-03-145-2/+30
| | | | | | | | | removed from proc_subproc linked list. * cygtls.h (_cygtls::remove_wq): Declare. * sigproc.cc (_cygtls::remove_wq): Define. (proc_subproc): Label event handle appropriately. * spawn.cc (spawn_guts): Return -1 when wait() fails for spawn types that require waiting.
* minor cleanupChristopher Faylor2004-03-141-35/+40
|
* Fix typo.Christopher Faylor2004-03-141-2/+2
|
* * errno.cc (errmap): Handle ERROR_BUS_RESET.Corinna Vinschen2004-03-135-366/+334
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fhandler.h (fhandler_dev_raw::write_file): New method, created from former static function. (fhandler_dev_raw::read_file): Ditto. (reset_devbuf): New inline method. (class fhandler_dev_tape): Add TAPE_GET_DRIVE_PARAMETERS member `dp'. (fhandler_dev_tape::write_file): New method. (fhandler_dev_tape::read_file): Ditto. (fhandler_dev_tape::tape_get_feature): Convert to inline method. (fhandler_dev_tape::tape_error): New method, created from former static function. (fhandler_dev_tape::tape_get_blocksize): Remove declaration. * fhandler_raw.cc (fhandler_dev_raw::write_file): New method, created from former static function. (fhandler_dev_raw::read_file): Ditto. (fhandler_dev_raw::writebuf): Accomodate the fact that no devbuf exists under variable block size condition. (fhandler_dev_raw::raw_read): Ditto. Add local p pointer to simplify pointer arithmetic. (fhandler_dev_raw::raw_write): Always set devbufend to 0 when starting with writing. Accomodate the fact that no devbuf exists under variable block size condition. * fhandler_tape.cc: Various formatting changes. (TAPE_FUNC): New macro. Use throughout as tape function loop. (get_ll): Convert into macro. (IS_EOM): New macro. (IS_EOF): New macro. (fhandler_dev_tape::is_eom): Use IS_EOM macro. (fhandler_dev_tape::is_eof): Use IS_EOF macro. (fhandler_dev_tape::write_file): New method. (fhandler_dev_tape::read_file): New method. (fhandler_dev_tape::open): Get drive information block here once. (fhandler_dev_tape::lseek): Remove unneeded duplicate code. (fhandler_dev_tape::dup): Duplicate drive information block. (fhandler_dev_tape::ioctl): Remove drvbuf in variable block size mode. Return ERROR_INVALID_BLOCK_LENGTH instead of ERROR_MORE_DATA if buffer contains data which would get lost on buffer size changing. Use absolute tape positioning also if drive only supports logical block positioning. (fhandler_dev_tape::tape_error): New method, created from former static function. (fhandler_dev_tape::tape_get_pos): Allow logical block reporting. Workaround tape driver bug. (fhandler_dev_tape::_tape_set_pos): Reset device buffer and flags after successful repositioning. (fhandler_dev_tape::tape_set_pos): Allow logical block positioning. Workaround tape driver bug. (fhandler_dev_tape::tape_erase): Use dp instead of calling GetTapeParameters. (fhandler_dev_tape::tape_prepare): Ditto. (fhandler_dev_tape::tape_get_blocksize): Remove. (fhandler_dev_tape::tape_set_blocksize): Don't call tape_get_blocksize. Error handling already done in fhandler_dev_tape::ioctl. (fhandler_dev_tape::tape_status): Remove local `dp' variable. Accomodate logical tape reporting. Call tape_get_feature instead of accessing feature words directly. (fhandler_dev_tape::tape_compression): Use dp instead of calling GetTapeParameters. Fix resetting datcompression.
* * kill.cc (get_debug_priv): New function.Corinna Vinschen2004-03-132-0/+35
| | | | (forcekill): Call get_debug_priv before trying to kill process.
* 2004-03-12 Eric Botcazou <ebotcazou@gcc.gnu.org>Nathanael Nerode2004-03-133-2/+9
| | | | | | | | Paolo Bonzini <bonzini@gnu.org> PR bootstrap/14522 * configure.in: Cope with shells that do not support unquoted ^ * configure: Regenerate.