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
2002-06-01* path.cc (chdir): Don't allow cd'ing to a non-directory virtual path.Christopher Faylor
2002-06-01Fill-out d10v enum so that there are no ``=''.Andrew Cagney
2002-06-01* fhandler_disk_file.cc (readdir): Move inode calculation into caller.Christopher Faylor
(fhandler_cygdrive::readdir): Add "." and "..". * dir.cc (readdir): Move inode calculation here so that fhandler readdirs can benefit.
2002-06-01remove accidentally checked in test version.Christopher Faylor
2002-06-01oopsChristopher Faylor
2002-06-01(add the rest of the ChangeLog)Christopher Faylor
* dtable.cc (dtable::init_std_file_from_handle): Default to using binmode derived from path_conv, when required. * fhandler.h (fhandler_base::get_w_binary): Default to binmode if nothing else is specified. * fhandler.h (fhandler_base::get_r_binary): Ditto. * fhandler_disk_file.cc (fhandler_disk_file::fstat_by_handle): Work around g++ warning. * path.cc (path_conv::check): Remove a debugging statement.
2002-06-01* fhandler_console.cc (fhandler_console::open): Reinstate setting of flags.Christopher Faylor
2002-06-01* fhandler_console.cc (fhandler_console::open): Always default to binmode.Christopher Faylor
(fhandler_console::write_normal): Don't honor binmode setting. There is already a termios setting for this. (fhandler_console::init): Correct argument order in init call.
2002-06-01* fhandler.cc (fhandler_base::open): Make default open mode == binmode.Christopher Faylor
(fhandler_base::init): Set open flags based on derived binmode argument.
2002-06-01* dll_init.cc (dll_list::init): Eliminate unneeded debugging statement.Christopher Faylor
2002-06-01* fhandler_proc.cc (fhandler_proc::readdir): Set errno when no more files.Christopher Faylor
* fhandler_process.cc (fhandler_process::readdir): Ditto. * fhandler_registry.cc (fhandler_registry::readdir): Ditto.
2002-06-012002-05-31 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also make siglist.inc dependent on sig.c instead of signal.c. * libc/sys/linux/Makefile.in: Regenerated. * libc/sys/linux/sig.c: Rename from signal.c and change code to use NSIG instead of _NSIG. * libc/sys/linux/sigaction.c: New file. * libc/sys/linux/signal.c: Changed to be linux signal() function so as to override regular newlib default signal.c. * libc/sys/linux/linuxthreads/config.h: Add __ASSUME_REALTIME_SIGNALS definition. * libc/sys/linux/linuxthreads/testrtsig.h: New file. * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c. * libc/sys/linux/machine/i386/Makefile.in: Regenerated. * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory. * libc/sys/linux/sigset.c: Moved from machine/i386 directory. * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override default linux sigset_t typedef by defining it equal to __sigset_t. * libc/unix/sigset.c: Add check so code isn't compiled on systems with a sigset_t that isn't implemented with a single int.
2002-06-01* Makefile.in: Replace HOST_PREFIX, HOST_PREFIX_1 with BUILD_PREFIX,DJ Delorie
BUILD_PREFIX_1, to correct nomenclature. * configure: Likewise.
2002-05-31* Makefile.in: Eliminate version-specific references to tcl8.1, tk8.1.DJ Delorie
* configure.in: Eliminate version-specific references to tcl8.1, tk8.1.
2002-05-31* config-ml.in: Propogate DESTDIR also.DJ Delorie
2002-05-312002-05-31 Michal Ludvig <mludvig@suse.cz>Michal Ludvig
* elf/dwarf2.h (DW_CFA_low_user, DW_CFA_high_user): Renamed to DW_CFA_lo_user, DW_CFA_hi_user respectively.
2002-05-31* path.cc (path_conv::check): Set fileattr to INVALID_FILE_ATTRIBUTES forChristopher Faylor
nonexistent virtual device path. (chdir): Set correct errno when attempt is made to cd to nonexistent virtual device path.
2002-05-31[ gas/ChangeLog ]Chris Demetriou
2002-05-30 Chris G. Demetriou <cgd@broadcom.com> Ed Satterthwaite <ehs@broadcom.com> * config/tc-mips.c (mips_set_options): New "ase_mdmx" member. (mips_opts): Initialize "ase_mdmx" member. (file_ase_mdmx): New variable. (CPU_HAS_MDMX): New macro. (md_begin): Initialize mips_opts.ase_mdmx and file_ase_mdmx based on command line options and configuration defaults. (macro_build): Note in comment that use of MDMX in macros is not currently allowed. (validate_mips_insn): Add support for the "O", "Q", "X", "Y", and "Z" MDMX operand types. (mips_ip): Accept MDMX instructions if mips_opts.ase_mdmx is set, and add support for the "O", "Q", "X", "Y", and "Z" MDMX operand types. (OPTION_MDMX, OPTION_NO_MDMX, md_longopts, md_parse_option): Add support for "-mdmx" and "-no-mdmx" options. (OPTION_ELF_BASE): Move to accomodate new options. (s_mipsset): Support ".set mdmx" and ".set nomdmx". (mips_elf_final_processing): Set MDMX ASE ELF header flag if file_ase_mdmx was set. * doc/as.texinfo: Document -mdmx and -no-mdmx options. * doc/c-mips.texi: Likewise, and document ".set mdmx" and ".set nomdmx" directives. [ gas/testsuite/ChangeLog ] 2002-05-30 Chris G. Demetriou <cgd@broadcom.com> * gas/mips/mips64-mdmx.s: New file. * gas/mips/mips64-mdmx.d: Likewise. * gas/mips/mips.exp: Run new "mips64-mdmx" test. [ include/opcode/ChangeLog ] 2002-05-30 Chris G. Demetriou <cgd@broadcom.com> * mips.h (OP_SH_ALN, OP_MASK_ALN, OP_SH_VSEL, OP_MASK_VSEL) (MDMX_FMTSEL_IMM_QH, MDMX_FMTSEL_IMM_OB, MDMX_FMTSEL_VEC_QH) (MDMX_FMTSEL_VEC_OB, INSN_READ_MDMX_ACC, INSN_WRITE_MDMX_ACC) (INSN_MDMX): New constants, for MDMX support. (opcode character list): Add "O", "Q", "X", "Y", and "Z" for MDMX. [ opcodes/ChangeLog ] 2002-05-30 Chris G. Demetriou <cgd@broadcom.com> Ed Satterthwaite <ehs@broadcom.com> * mips-dis.c (print_insn_arg): Add support for 'O', 'Q', 'X', 'Y', and 'Z' formats, for MDMX. (mips_isa_type): Add MDMX instructions to the ISA bit mask for bfd_mach_mipsisa64. * mips-opc.c: Add support for MDMX instructions. (MX): New definition. * mips-dis.c: Update copyright years to include 2002.
2002-05-31* fhandler_disk_file.cc (fhandler_disk_file::fstat): Always call fstat_by_nameChristopher Faylor
if fd is not opened to allow fstat_by_name to properly set errno. * fhandler.cc (binmode): Default to binmode when mode is not known.
2002-05-31include/elf/Richard Henderson
* alpha.h (R_ALPHA_TLSGD, R_ALPHA_TLSLDM, R_ALPHA_DTPMOD64, R_ALPHA_GOTDTPREL, R_ALPHA_DTPREL64, R_ALPHA_DTPRELHI, R_ALPHA_DTPRELLO, R_ALPHA_DTPREL16, R_ALPHA_GOTTPREL, R_ALPHA_TPREL64, R_ALPHA_TPRELHI, R_ALPHA_TPRELLO, R_ALPHA_TPREL16): New. bfd/ * elf64-alpha.c (ALPHA_ELF_LINK_HASH_LU_TLSGD, ALPHA_ELF_LINK_HASH_LU_TLSLDM, ALPHA_ELF_LINK_HASH_LU_FUNC): New. (ALPHA_ELF_GOT_ENTRY_RELOCS_DONE): Remove. (ALPHA_ELF_GOT_ENTRY_RELOCS_XLATED): Remove. (struct alpha_elf_got_entry): Add reloc_type, reloc_done, reloc_xlated. (struct alpha_elf_obj_tdata): Rename total_got_entries and n_local_got_entries to total_got_size and local_got_size. (elf64_alpha_howto, elf64_alpha_reloc_map): Update for TLS relocs. (alpha_got_entry_size): New. (elf64_alpha_relax_with_lituse): Use it. (elf64_alpha_relax_without_lituse): Likewise. (MAX_GOT_SIZE): Rename from MAX_GOT_ENTRIES. (get_got_entry): New. (elf64_alpha_check_relocs): Handle TLS relocs. Reorganize. (elf64_alpha_adjust_dynamic_symbol): Test LU_FUNC as a mask. (elf64_alpha_merge_ind_symbols): Check gotent->reloc_type. (elf64_alpha_can_merge_gots, elf64_alpha_merge_gots): Likewise. (elf64_alpha_calc_got_offsets_for_symbol): Use alpha_got_entry_size. (elf64_alpha_calc_got_offsets): Likewise. (alpha_dynamic_entries_for_reloc): New. (elf64_alpha_calc_dynrel_sizes): Use it. (elf64_alpha_size_dynamic_sections): Likewise. (elf64_alpha_relocate_section): Handle TLS relocations. * reloc.c: Add Alpha TLS relocations. * bfd-in2.h, libbfd.h: Rebuild. gas/ * expr.h (operatorT): Add O_md17..O_md32. * config/tc-alpha.c (O_lituse_tlsgd, O_lituse_tlsldm, O_tlsgd, O_tlsldm, O_gotdtprel, O_dtprelhi, O_dtprello, O_dtprel, O_gottprel, O_tprelhi, O_tprello, O_tprel): New. (USER_RELOC_P, alpha_reloc_op_tag, debug_exp): Include them. (DUMMY_RELOC_LITUSE_TLSGD, DUMMY_RELOC_LITUSE_TLSLDM): New. (LITUSE_TLSGD, LITUSE_TLSLDM): New. (struct alpha_reloc_tag): Add master, saw_tlsgd, saw_tlsld, saw_lu_tlsgd, saw_lu_tlsldm. Make multi_section_p a bit field. (md_apply_fix3): Handle TLS relocations. (alpha_force_relocation, alpha_fix_adjustable): Likewise. (alpha_adjust_symtab_relocs): Sort LITERAL relocs after the associated TLS reloc. Check lituse_tls relocs match up. (emit_insn): Handle TLS relocations. (ldX_op): Remove. gas/testsuite/ * gas/alpha/elf-tls-1.s, gas/alpha/elf-tls-1.d: New. * gas/alpha/elf-tls-2.s, gas/alpha/elf-tls-1.l: New. * gas/alpha/elf-tls-3.s, gas/alpha/elf-tls-1.l: New. * gas/alpha/alpha.exp: Run them.
2002-05-312002-05-30 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/sys/linux/Makefile.am: Add support for new files. * libc/sys/linux/Makefile.in: Regenerated. * libc/sys/linux/ids.c: Add __getuid weak alias for getuid. * libc/sys/linux/signal.c: Change to use real-time syscalls for sigsuspend, sigprocmask, and sigpending. Also remove sigaction as it is in a separate file now. * libc/sys/linux/machine/i386/Makefile.am * libc/sys/linux/machine/i386/Makefile.in * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>. * libc/sys/linux/sigaction.c: New file. * libc/sys/linux/sigqueue.c: Ditto. * libc/sys/linux/sigwait.c: Ditto. * libc/sys/linux/machine/i386/sigaction.c: Ditto. * libc/sys/linux/kernel_sigaction.h: Ditto.
2002-05-30* mkpasswd.cc (main): Don't reset to binmode if stdout is a terminal.Christopher Faylor
2002-05-30 * include/ntdef.h (ANSI_STRING, PANSI_STRING, OEM_STRING, POEM_STRING):Corinna Vinschen
Add missing typedefs.
2002-05-30 * autoload.cc: Replace autoload statments for ZwXXX by NtXXX.Corinna Vinschen
Drop ZwQuerySystemInformation since NtQuerySystemInformation was already available. * fhandler_proc.cc (format_proc_uptime): Replace call to ZwQuerySystemInformation by call to NtQuerySystemInformation. (format_proc_stat): Ditto. * fhandler_process.cc (format_process_stat): Replace call to ZwQueryInformationProcess by call to NtQueryInformationProcess. (get_process_state): Ditto. (get_mem_values): Ditto. Replace call to ZwQueryVirtualMemory by call to NtQueryVirtualMemory. * ntdll.h: Cleanup. Drop ZwQuerySystemInformation since NtQuerySystemInformation was already available. Replace declarations of ZwXXX functions by declarations of NtXXX. * pinfo.cc (winpids::enumNT): Replace call to ZwQuerySystemInformation by call to NtQuerySystemInformation.
2002-05-30* mount.cc (main): Make -b the default.Christopher Faylor
2002-05-30speling fxiChristopher Faylor
2002-05-30* configure.in (vax-*-netbsd*): Don't build gas for thisJason Thorpe
platform.
2002-05-302002-05-29 Matt Thomas <matt@3am-software.com>Jason Thorpe
* vax.h: New file
2002-05-30* include/sys/cygwin.h (EXTERNAL_PINFO_VERSION): Reinstate.Christopher Faylor
* external.cc (fillout_pinfo): Use it.
2002-05-30 * ps.cc (main): Use uid or uid32 member of struct external_pinfoCorinna Vinschen
dependent of the value of the struct's version member.
2002-05-30 * external.cc (fillout_pinfo): Use new version define.Corinna Vinschen
* include/sys/cygwin.h (external_pinfo): Define EXTERNAL_PINFO_VERSION_16_BIT and EXTERNAL_PINFO_VERSION_32_BIT instead of just EXTERNAL_PINFO_VERSION.
2002-05-29* external.cc (fillout_pinfo): Set new version field in external_pinfoChristopher Faylor
structure. * include/sys/cygwin.h (external_pinfo): Replace strace_file with version field.
2002-05-29 * ps.cc (main): Change print format for uid to unsigned. Use uid32Corinna Vinschen
member of struct external_pinfo instead of uid.
2002-05-29 Change internal uid datatype from __uid16_t to __uid32_tCorinna Vinschen
throughout. * cygwin.din: Export new symbols getpwuid32, getpwuid_r32, getuid32, geteuid32, setuid32, seteuid32. * passwd.cc (getpwuid32): New function. (getpwuid_r32): Ditto. * syscalls.cc (seteuid32): Ditto. (setuid32): Ditto. * uinfo.cc (getuid32): Ditto. (geteuid32): Ditto. * winsup.h (uid16touid32): New macro, correclt casting from __uid16_t to __uid32_t. (gid16togid32): Ditto fir gids. (getuid32): Declare. (geteuid32): Ditto. (getpwuid32): Ditto. * include/sys/cygwin.h (struct external_pinfo): Add members uid32 and gid32.
2002-05-29 * include/cygwin/socket.h: Protect some symbols against multipleCorinna Vinschen
definition. * include/netinet/ip.h: Ditto. * include/netinet/tcp.h: Ditto. * include/netinet/ip.h: Replace by BSD derived version of the file. * include/netinet/tcp.h: Ditto. * include/netinet/udp.h: New file. * include/cygwin/ip.h: Remove.
2002-05-29 * passwd.c (prog_name): New global variable.Corinna Vinschen
(longopts): Ditto. (opts): Ditto. (usage): Standardize output. Accomodate new options. (print_version): New function. (main): Accomodate longopts and new --help, --version options.
2002-05-29* dtable.cc (dtable::init_std_file_from_handle): Attempt stronger detection ofChristopher Faylor
invalid handle. (handle_to_fn): Detect pathological condition where NT resets the buffer pointer to NULL on an invalid handle.
2002-05-29clarify changelogChristopher Faylor
2002-05-29* fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): Properly check forChristopher Faylor
whether we should be opening the file to search for #! characters. Set path_conv structure execability, too, if found.
2002-05-292002-05-28 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/sys/linux/Makefile.am: Add support for cfspeed.c and tcsendbrk.c. * libc/sys/linux/Makefile.in: Regenerated. * libc/sys/linux/termios.c: Add tcflow(), tcflush(), tcgetpgrp(), and tcsetpgrp() functions. * libc/sys/linux/sys/termios.h: Add include of machine/termios.h to get __MAX_BAUD rate. * libc/sys/linux/machine/i386/include/termios.h: New file. * libc/include/machine/termios.h: Ditto. * libc/sys/linux/cfspeed.c: Ditto. * libc/sys/linux/tcsendbrk.c: Ditto.
2002-05-292002-05-28 Marek Michalkiewicz <marekm@amelek.gda.pl>Marek Michalkiewicz
* configure.in (noconfigdirs): Don't compile libiberty, libstdcxx and libgcj for AVR.
2002-05-28Add DLX targetNick Clifton
2002-05-28 * ps.cc (usage): Fix typo.Corinna Vinschen
2002-05-28 * security.cc (set_security_attribute): Call getegid32() instead ofCorinna Vinschen
getegid(). * include/cygwin/grp.h: Declare getegid32().
2002-05-28 Change internal gid datatype from __gid16_t to __gid32_tCorinna Vinschen
throughout. * cygwin.din: Export new symbols chown32, fchown32, getegid32, getgid32, getgrgid32, getgrnam32, getgroups32, initgroups32, lchown32, setgid32, setegid32, getgrent32. * grp.cc (grp32togrp16): New static function. (getgrgid32): New function. (getgrnam32): Ditto. (getgrent32): Ditto. (getgroups32): Change name of internal function from getgroups. (getgroups32): New function. (initgroups32): Ditto. * syscalls.cc (chown32): Ditto. (lchown32): Ditto. (fchown32): Ditto. (setegid32): Ditto. (setgid32): Ditto. * uinfo.cc (getgid32): Ditto. (getegid32): Ditto. * include/cygwin/grp.h: Remove declaration of getgrgid() and getgrnam(). Declare getgrgid32() and getgrnam32() instead. Declare getgid32().
2002-05-28Add DLX targetNick Clifton
2002-05-28 * include/w32api.h: Increment version to 1.5Earnie Boyd
* Makefile.in: Ditto.
2002-05-28Merging MinGW changesEarnie Boyd
2002-05-28Merging MinGW changesEarnie Boyd
2002-05-28* ps.cc (prog_name): New global variable.Christopher Faylor
(longopts): Ditto. (opts): Ditto. (usage): New function. (print_version): New function. (main): Accomodate longopts and new --help, --version options.