aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-02-152002-02-15 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-0/+16
* libc/include/sys/config.h: Add definitions for __int16_t, __uint16_t, __int64_t, and __uint64_t.
2002-02-15 * include/ntsecpkg.h: New file.Danny Smith2-0/+13
* include/schannel.h: New file. * include/schnlsp.h: New file. * include/security.h: New file. * include/sspi.h: New file. * include/ntsecapi.h (KERB_WRAP_NO_ENCRYPT, MICROSOFT_KERBEROS_NAME_[AW]): Add missing constants * include/wincrypt.h (CALG_*, X509_ASN_ENCODING. PKCS_7_ASN_ENCODING, CERT_*, USAGE_MATCH_TYPE_AND, USAGE_MATCH_TYPE_OR, szOID_*): Add missing constants (struct _CRYPTOAPI_BLOB): Add structure and typedefs. (SSL_EXTRA_CERT_CHAIN_POLICY_PARA,HTTPSPolicyCallbackData, CERT_CHAIN_POLICY_PARA,CERT_CHAIN_POLICY_STATUS, CRYPT_ALGORITHM_IDENTIFIER, CRYPT_BIT_BLOB, CERT_PUBLIC_KEY_INFO, CERT_EXTENSION, CERT_INFO, CERT_CONTEXT, CTL_USAGE, CERT_ENHKEY_USAGE, CERT_USAGE_MATCH, CERT_CHAIN_PARA, CERT_CHAIN_FIND_BY_ISSUER_PARA, CERT_TRUST_STATUS, CRL_ENTRY, CRL_INFO, CRL_CONTEXT, CERT_REVOCATION_CRL_INFO, CERT_REVOCATION_INFO, CERT_CHAIN_ELEMENT, CRYPT_ATTRIBUTE, CTL_ENTRY, CTL_INFO, CTL_CONTEXT, CERT_TRUST_LIST_INFO, CERT_SIMPLE_CHAIN, CERT_CHAIN_CONTEXT): Add missing structures. (CertCloseStore, CertGetCertificateChain, CertVerifyCertificateChainPolicy, CertFreeCertificateChain, CertNameToStr[AW], CertOpenSystemStore[AW], CertOpenStore, CertFindCertificateInStore, CertFreeCertificateContext, CertGetIssuerCertificateFromStore, CertFindChainInStore): Add missing functions. (CertNameToStr, CertOpenSystemStore, CERT_FIND_SUBJECT_STR, CERT_FIND_ISSUER_STR): Add Unicode mappings. * lib/crypt32.def: New file. * lib/secur32.def: Add mising stubs. * lib/test.c: Include new headers.
2002-02-15* hires.h (hires::usecs): Rename from utime. Accept an argument.Christopher Faylor7-39/+25
* strace.cc (strace::microseconds): Use hires class for calculating times. * sync.h (new_muto): Use NO_COPY explicitly in declaration. * times.cc (gettimeofday): Reflect change in usecs argument. (hires::usecs): Ditto. Changed name from utime. * winsup.h (NO_COPY): Add nocommon attribute to force setting aside space for variable. * regcomp.c (REQUIRE): Add a void cast to bypass a warning.
2002-02-15* hires.h: New file.Christopher Faylor3-23/+96
* times.cc (gettimeofday): Use hires class for calculating current time. (hires::prime): New method. (hires::utime): Ditto.
2002-02-15 Support arbitrary length fill patterns.Alan Modra2-9/+13
* bfdlink.h (enum bfd_link_order_type): Remove bfd_fill_link_order. (struct bfd_link_order): Remove fill. Add data.size.
2002-02-14* strace.cc (attach_process): Change CW_STRACE_ON to CW_STRACE_TOGGLE.Christopher Faylor2-1/+5
2002-02-14* include/sys/cygwin.h (cygwin_getinfo_types): New CW_STRACE_ACTIVE.Christopher Faylor3-0/+11
* external.cc (cygwin_internal): Handle CW_STRACE_ACTIVE.
2002-02-14* exceptions.cc (unused_sig_wrapper): Eliminate unused parameter to asm.Christopher Faylor12-27/+51
* external.cc (cygwin_internal): Change CW_STRACE_ON to CW_STRACE_TOGGLE. * strace.cc (strace::hello): Toggle strace on and off. * sync.cc (muto::init): Renamed from constructor. * sync.h (muto::new): Delete. (muto::delete): Ditto. (new_muto): Simplify. Use muto.init for nearly everything. * uinfo.cc (uinfo_init): Avoid closing a NULL handle. * include/sys/cygwin.h (cygwin_getinfo_types): Rename CW_STRACE_OFF to CW_STRACE_TOGGLE. Delete CW_STRACE_OFF. * include/sys/strace.h (strace): Add "inited" field.
2002-02-14 * include/ntsecpkg.h: New file.Danny Smith11-1/+953
* include/schannel.h: New file. * include/schnlsp.h: New file. * include/security.h: New file. * include/sspi.h: New file. * include/ntsecapi.h (KERB_WRAP_NO_ENCRYPT, MICROSOFT_KERBEROS_NAME_[AW]): Add missing constants * include/wincrypt.h (CALG_*, X509_ASN_ENCODING. PKCS_7_ASN_ENCODING, CERT_*, USAGE_MATCH_TYPE_AND, USAGE_MATCH_TYPE_OR, szOID_*): Add missing constants (struct _CRYPTOAPI_BLOB): Add structure and typedefs. (SSL_EXTRA_CERT_CHAIN_POLICY_PARA,HTTPSPolicyCallbackData, CERT_CHAIN_POLICY_PARA,CERT_CHAIN_POLICY_STATUS, CRYPT_ALGORITHM_IDENTIFIER, CRYPT_BIT_BLOB, CERT_PUBLIC_KEY_INFO, CERT_EXTENSION, CERT_INFO, CERT_CONTEXT, CTL_USAGE, CERT_ENHKEY_USAGE, CERT_USAGE_MATCH, CERT_CHAIN_PARA, CERT_CHAIN_FIND_BY_ISSUER_PARA, CERT_TRUST_STATUS, CRL_ENTRY, CRL_INFO, CRL_CONTEXT, CERT_REVOCATION_CRL_INFO, CERT_REVOCATION_INFO, CERT_CHAIN_ELEMENT, CRYPT_ATTRIBUTE, CTL_ENTRY, CTL_INFO, CTL_CONTEXT, CERT_TRUST_LIST_INFO, CERT_SIMPLE_CHAIN, CERT_CHAIN_CONTEXT): Add missing structures. (CertCloseStore, CertGetCertificateChain, CertVerifyCertificateChainPolicy, CertFreeCertificateChain, CertNameToStr[AW], CertOpenSystemStore[AW], CertOpenStore, CertFindCertificateInStore, CertFreeCertificateContext, CertGetIssuerCertificateFromStore, CertFindChainInStore): Add missing functions. (CertNameToStr, CertOpenSystemStore, CERT_FIND_SUBJECT_STR, CERT_FIND_ISSUER_STR): Add Unicode mappings. * lib/crypt32.def: New file. * lib/secur32.def: Add mising stubs. * lib/test.c: Include new headers.
2002-02-13 * include/windef.h (PROC,FARPROC,NEARPROC): Remove voidDanny Smith1-0/+5
parameter.
2002-02-13 * include/windef.h (FARPROC,NEARPROC,PROC): RemoveDanny Smith1-3/+3
void parameter.
2002-02-13bfd:Jason Thorpe2-0/+5
2002-02-13 Matt Fredette <fredette@netbsd.org> * elf32-m68k.c (elf32_m68k_print_private_bfd_data): Recognize EF_M68000. bintuls: 2002-02-13 Matt Fredette <fredette@netbsd.org> * readelf.c (get_machine_flags): Recognize EF_M68000. gas: 2002-02-13 Matt Fredette <fredette@netbsd.org> * config/tc-m68k.c (md_show_usage): No longer display a hard-coded "68020" for the default CPU, instead display the canonical name of the true, configured default CPU. (m68k_elf_final_processing): Mark objects for sub-68020 CPUs with the new EF_M68000 flag. include/elf: 2002-02-13 Matt Fredette <fredette@netbsd.org> * m68k.h (EF_M68000): Define.
2002-02-132002-02-12 Hans-Peter Nilsson <hp@bitrange.com>Jeff Johnston7-30/+203
* libc/sys/mmixware/link.c: New. * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm volatile. * libc/sys/mmixware/times.c (_times): Renamed from times. * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND properly by reading previous contents, not through BinaryReadWrite. * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c * libc/sys/mmixware/Makefile.in: Regenerate.
2002-02-12 * include/cygwin/acl.h: Fix definition of aclent_t.Corinna Vinschen2-11/+15
2002-02-12Add DT_PPC64_OPD and DT_PPC64_OPDSZ dynamic tagsAlan Modra2-0/+8
2002-02-11 * i386.h (push,pop): Allow 16bit operands in 64bit mode.Jan Hubicka2-45/+70
(xchg): Fix. (in, out): Disable 64bit operands. (call, jmp): Avoid REX prefixes. (jcxz): Prohibit in 64bit mode (jrcxz, loop): Add 64bit variants. (movq): Fix patterns. (movmskps, pextrw, pinstrw): Add 64bit variants.
2002-02-11new how-to.Christopher Faylor1-0/+32
2002-02-10* Makefile.in (DLL_OFILES): Consolidate object files.Christopher Faylor2-9/+13
2002-02-10 * child_info.h, cygheap.h, fhandler_clipboard.cc, fhandler_dsp.cc,Corinna Vinschen23-24/+32
fhandler_floppy.cc, fhandler_mem.cc, fhandler_random.cc, fhandler_tape.cc, fhandler_zero.cc, grp.cc, mmap.cc, passwd.cc, pinfo.cc, pinfo.h, pipe.cc, sec_acl.cc, sec_helper.cc, security.cc, security.h, thread.h, uinfo.cc, include/cygwin/acl.h: Fix copyright.
2002-02-10 * (child_info.h, cygheap.h, dcrt0.cc, dir.cc, fhandler.cc, fhandler.h,Corinna Vinschen32-189/+231
fhandler_clipboard.cc, fhandler_disk_file.cc, fhandler_dsp.cc, fhandler_floppy.cc, fhandler_mem.cc, fhandler_random.cc, fhandler_tape.cc, fhandler_zero.cc, grp.cc, mmap.cc, passwd.cc, pinfo.cc, pinfo.h, pipe.cc, sec_acl.cc, sec_helper.cc, security.cc, security.h, spawn.cc, syscalls.cc, thread.h, uinfo.cc, winsup.h): Change usage of uid_t to __uid16_t, gid_t to __gid16_t and off_t to __off32_t throughout. Use INVALID_UID, INVALID_GID and INVALID_SEEK instead casting -1 to the appropriate type. * winsup.h: Define INVALID_UID, INVALID_GID and INVALID_SEEK. * include/cygwin/acl.h: Define internal __aclent16_t and __aclent32_t types. Don't declare acl functions when compiling Cygwin. * include/cygwin/grp.h: Declare getgrgid() and getgrnam() with correct types for internal usage.
2002-02-10 * libc/include/grp.h: Don't declare group functions when compilingCorinna Vinschen2-0/+7
Cygwin.
2002-02-10 * uinfo.cc (internal_getlogin): Try evaluating user by SID even ifCorinna Vinschen2-78/+84
ntsec is off. (uinfo_init): Set primary group even if ntsec is off.
2002-02-09 * alpha.h (R_ALPHA_BRSGP): New.Richard Henderson2-0/+9
2002-02-09 * libc/include/grp.h: Include Cygwin specific header.Corinna Vinschen4-2/+19
* libc/include/sys/stat.h: Ditto. Don't define `struct stat' when compiling for Cygwin. * libc/include/sys/types.h: Don't define off_t, uid_t and gid_t when compiling for Cygwin.
2002-02-09 * include/cygwin/grp.h: New file.Corinna Vinschen5-5/+131
* include/cygwin/stat.h: Ditto. * include/cygwin/types.h: Add definitions for __off32_t, __off64_t, off_t, __uid16_t, __uid32_t, uid_t, __gid16_t, __gid32_t and gid_t. * include/sys/cygwin.h: Use correct uid and gid types.
2002-02-09* libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): AllocateMatthew Green2-1/+6
_REENT_EMERGENCY_SIZE, not sizeof(char *).
2002-02-09 * dtable.cc (dtable::dup2): Revert previous patch.Corinna Vinschen6-110/+131
* fhandler.h: Ditto. (fhandler_socket::recv): Define new method. (fhandler_socket::send): Ditto. * fhandler_socket.cc (fhandler_socket::recv): New method. (fhandler_socket::send): Ditto. (fhandler_socket::read): Call fhandler_socket::recv() now. (fhandler_socket::write): Call fhandler_socket::send() now. * net.cc (class wsock_event): Move definition to wsock_event.h. (fdsock): Revert previous patch. (cygwin_recv): Move implementation to fhandler_socket::recv(). (cygwin_send): Move implementation to fhandler_socket::send(). * wsock_event.h: New file.
2002-02-09 * net.cc (get_2k_ifconf): Create interface entries for tokenring cards.Corinna Vinschen2-1/+10
2002-02-09Contribute sh64-elf.Alexandre Oliva2-0/+9
2000-12-01 Alexandre Oliva <aoliva@redhat.com> * configure.in: Added sh64-*-*.
2002-02-08 * dtable.cc (dtable::dup2): Store fd for fhandler_socket.Corinna Vinschen5-3/+32
* fhandler.h (fhandler_base::set_fd): New virtual method. (fhandler_base::get_fd): Ditto. (fhandler_socket::set_fd): Ditto. (fhandler_socket::get_fd): Ditto. * fhandler_socket.cc (fhandler_socket::read): Call cygwin_recv instead of native Winsock recv. (fhandler_socket::write): Call cygwin_send instead of native Winsock send. * net.cc (fdsock): Store fd in fhandler_socket.
2002-02-08Contribute sh64-elf.Alexandre Oliva11-6/+403
2001-03-13 Alexandre Oliva <aoliva@redhat.com> * configure.host (newlib_cflags) [sh*-*-*]: Enable long long support in printf. 2001-01-29 Alexandre Oliva <aoliva@redhat.com> * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before any labels. 2001-01-24 Alexandre Oliva <aoliva@redhat.com> * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2. 2000-12-16 Alexandre Oliva <aoliva@redhat.com> * libc/machine/sh/configure.in: Rework conditionals. * libc/machine/sh/Makefile.am: Likewise. * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt. 2000-12-01 Alexandre Oliva <aoliva@redhat.com> * configure.host: Match `sh*'. * libc/include/machine/setjmp.h: Define for SH5. * libc/machine/sh/configure.in: Detect SH5. * libc/machine/sh/configure: Rebuilt. * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5. * libc/machine/sh/Makefile.in: Rebuilt. * libc/machine/sh/asm.h: Adjust for SH5. * libc/machine/sh/setjmp.S: Implement in SHmedia. * libc/sys/sh/crt0.S: Likewise. * libc/sys/sh/trap.S: Likewise.
2002-02-08Contribute sh64-elf.Alexandre Oliva2-2/+181
2002-01-23 Alexandre Oliva <aoliva@redhat.com> * sh.h (R_SH_GOTPLT32, R_SH_GOT_LOW16, R_SH_GOT_MEDLOW16, R_SH_GOT_MEDHI16, R_SH_GOT_HI16, R_SH_GOTPLT_LOW16, R_SH_GOTPLT_MEDLOW16, R_SH_GOTPLT_MEDHI16, R_SH_GOTPLT_HI16, R_SH_PLT_LOW16, R_SH_PLT_MEDLOW16, R_SH_PLT_MEDHI16, R_SH_PLT_HI16, R_SH_GOTOFF_LOW16, R_SH_GOTOFF_MEDLOW16, R_SH_GOTOFF_MEDHI16, R_SH_GOTOFF_HI16, R_SH_GOTPC_LOW16, R_SH_GOTPC_MEDLOW16, R_SH_GOTPC_MEDHI16, R_SH_GOTPC_HI16, R_SH_GOT10BY4, R_SH_GOTPLT10BY4, R_SH_GOT10BY8, R_SH_GOTPLT10BY8, R_SH_COPY64, R_SH_GLOB_DAT64, R_SH_JMP_SLOT64, R_SH_RELATIVE64): New relocs. (R_SH_FIRST_INVALID_RELOC_4): Adjust. 2001-05-16 Alexandre Oliva <aoliva@redhat.com> * sh.h: Renumbered and renamed some SH5 relocations to match official numbers and names; moved unmaching ones to the range 0xf2-0xff. 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com> * sh.h (sh64_get_contents_type): Declare. (sh64_address_is_shmedia): Likewise. 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com> * sh.h (sh64_elf_crange): New type. (struct sh64_section_data): New. (sh64_elf_section_data): New macro. (EF_SH5): Rename back from EF_SH64. 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com> * sh.h (SHF_SH5_ISA32_MIXED, SHT_SH5_CR_SORTED, SH64_CRANGES_SECTION_NAME, SH64_CRANGE_SIZE, SH64_CRANGE_CR_ADDR_OFFSET, SH64_CRANGE_CR_SIZE_OFFSET, SH64_CRANGE_CR_TYPE_OFFSET): New macros. 2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com> * sh.h (EF_SH64): Don't define EF_SH64_ABI64. 2000-11-27 Hans-Peter Nilsson <hpn@cygnus.com> * sh.h (EF_SH64_32BIT_ABI, EF_SH64_64BIT_ABI): Delete. (EF_SH64_ABI64): New. 2000-11-23 Hans-Peter Nilsson <hpn@cygnus.com> * sh.h (EF_SH64): Rename from EF_SH5. (EF_SH64_32BIT_ABI): New. (EF_SH64_64BIT_ABI): New. (R_SH_PT_16, R_SH_SHMEDIA_CODE R_SH_IMMU5, R_SH_IMMS6, R_SH_IMMU6, R_SH_IMMS10, R_SH_IMMS10BY2, R_SH_IMMS10BY4, R_SH_IMMS10BY8, R_SH_IMMS16, R_SH_IMMU16, R_SH_IMM_LOW16, R_SH_IMM_LOW16_PCREL, R_SH_IMM_MEDLOW16, R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16, R_SH_IMM_MEDHI16_PCREL, R_SH_IMM_HI16, R_SH_IMM_HI16_PCREL, R_SH_64, R_SH_64_PCREL): New relocs. 2000-09-01 Ben Elliston <bje@redhat.com> * sh.h (EF_SH5): Define.
2002-02-08Contribute sh64-elf.Alexandre Oliva2-0/+11
2000-11-25 Hans-Peter Nilsson <hpn@cygnus.com> * dis-asm.h (print_insn_sh64): New prototype. (print_insn_sh64l): New prototype. (print_insn_sh64x_media): New prototype.
2002-02-072002-02-07 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston3-9/+28
* libc/machine/i386/Makefile.am: (mach_add_src): Remove. (mach_add_obj): Conditionally set to setjmp.o or nothing. (LIB_SOURCES): Remove $(mach_add_src). (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src). (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto. * libc/machine/i386/Makefile.in: Regenerate.
2002-02-07 * net.cc (cygwin_getsockname): Fix handling of NULL sun_path.Corinna Vinschen2-6/+15
2002-02-05* opcodes disassembler extensionFrank Ch. Eigler2-0/+11
[includes] 2002-02-04 Frank Ch. Eigler <fche@redhat.com> * dis-asm.h (disassemble_info): New field `insn_sets'. (INIT_DISASSEMBLE_INFO): Clear it. [opcodes] 2002-02-04 Frank Ch. Eigler <fche@redhat.com> * cgen-dis.in (print_insn_@arch@): Support disassemble_info.insn_sets.
2002-02-05*** empty log message ***Mark Salter1-0/+7
2002-02-05Add eh stuff and .jcr.Mark Salter1-1/+3
2002-02-05Add crti to startfile.Mark Salter2-2/+2
2002-02-05Add init/fini support.Mark Salter1-0/+15
2002-02-05merge from gccDJ Delorie2-6/+10
2002-02-05Fix typo.Jeff Johnston1-1/+1
2002-02-052002-02-05 Manik Raina <manik@cisco.com>Jeff Johnston4-4/+13
* libc/misc/dprintf (parse_number): #if 0 unused function. * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables s, p, k, and outstr. * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
2002-02-052002-02-04 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-13/+31
* COPYING.NEWLIB: Remove advertising clause from Berkeley and Red Hat licenses.
2002-02-042002-02-04 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-0/+6
* libc/include/sys/reent.h [(!_REENT_SMALL]: Add _REENT_CHECK_EMERGENCY macro.
2002-02-03Remove redundant entry.DJ Delorie1-5/+0
2002-02-03merge from gccDJ Delorie2-0/+9
2002-02-03* libc/reent/signgam.c (__signgam): Fix error in previous.Matthew Green2-1/+5
2002-02-03* implement a new `struct _reent' that is significantly smaller. use thisMatthew Green41-67/+445
if _REENT_SMALL is defined in config.h. define this for xstormy16.
2002-02-02Revert sh64 changes. Accidently committed.Andrew Cagney2-58/+0