summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * libc/include/machine/_types.h: Make trivial change to comment to avoid aChristopher Faylor2005-03-222-1/+6
| | | | spurious warning from gcc.
* * cygwin.din (__ctype_ptr): Export.Corinna Vinschen2005-03-223-1/+8
| | | | * include/cygwin/version.h: Bump API minor version.
* top:Zack Weinberg2005-03-228-190/+122
| | | | | | | | | | | | | | | * Makefile.def: Remove libstdcxx_incdir, libsubdir, gxx_include_dir, gcc_version, and gcc_version_trigger from set of flags to pass. * Makefile.tpl: Remove definitions of above variables. (config.status): Remove dependency on $(gcc_version_trigger). * Makefile.in: Regenerate. * configure.in: Do not reference config/gcc-version.m4 nor config/gxx-include-dir.m4. Do not invoke TL_AC_GCC_VERSION nor TL_AC_GXX_INCLUDE_DIR. Do not set gcc_version_trigger. * configure: Regenerate. config: * gxx-include-dir.m4: In all substitutions, leave $(gcc_version) to be expanded by the Makefile.
* 2005-03-21 Nicholas Wourms <nwourms@netscape.net>Jeff Johnston2005-03-212-2/+7
| | | | | | * libc/stdio/vfprintf.c: Move newlib.h before _WANT_IO_POS_ARGS test, since _WANT_IO_POS_ARGS is now defined in there. Remove duplicate reent.h include.
* * fhandler.h (class cygthread): Remove forward declaration.Corinna Vinschen2005-03-212-1/+4
|
* * fhandler.h (class cygthread): Forward declare.Corinna Vinschen2005-03-214-137/+226
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (fhandler_socket::sec_pipe): Remove. (fhandler_socket::eid_pipe_name): Remove. (fhandler_socket::eid_setblocking): New private method. (fhandler_socket::eid_unsetblocking): Ditto (fhandler_socket::eid_recv): Ditto (fhandler_socket::eid_send): Ditto (fhandler_socket::eid_accept): Ditto (fhandler_socket::eid_connect): New public method. * fhandler_socket.cc (ASYNC_MASK): Move to beginning of file. (fhandler_socket::eid_pipe_name): Remove. (fhandler_socket::set_socketpair_eids): Move down to fhandler_socket methods. (fhandler_socket::fhandler_socket): Drop initializing sec_pipe. (fhandler_socket::~fhandler_socket): Drop closing sec_pipe. (fhandler_socket::eid_setblocking): New method. (fhandler_socket::eid_unsetblocking): New method. (fhandler_socket::eid_recv): New method. (fhandler_socket::eid_send): New method. (fhandler_socket::eid_connect): New method. (fhandler_socket::eid_accept): New method. (fhandler_socket::dup): Drop sec_pipe handling. (fhandler_socket::connect): Fix WinSock error handling. Prepare eid credential transaction. Call eid_connect on successful connect. (fhandler_socket::listen): Drop creating sec_pipe. (fhandler_socket::accept): Slightly simplify code. Call eid_accept on accepted socket. (fhandler_socket::getpeereid): Reshuffle code for readability. Fix test for invalid pid. * select.cc (set_bits): Call eid_connect on successfully connected socket.
* * how-programming.texinfo: Remove incorrect libm.a note.Joshua Daniel Franklin2005-03-192-2/+4
|
* * child_info.h (fork_info): Use different method to alias variable.Christopher Faylor2005-03-199-896/+921
| | | | | | | | | | | | | (spawn_info): Ditto. * cxx.cc (__cxa_guard_acquire): New function (needed for gcc 4.x). (__cxa_guard_release): Ditto. * devices.in: Make sure stuff is correctly bracketed (for gcc 4.x). * devices.cc: Regenerate. * fhandler.h (fhandler_disk_file::fchmod): Avoid left coercion (for gcc 4.x). * smallprint.c (__rn): Declare as __fastcall since gcc 4.x complains about use of regparm, for some reason. * sync.h (sync::init_lock): Remove. * sync.cc (sync::init_lock): Ditto.
* * net.cc (cygwin_getprotobyname): Don't try to be fancy with return values.Christopher Faylor2005-03-182-2/+8
| | | | (cygwin_getprotobynumber): Ditto.
* Add support for generating PLT lookups for the ColdFire.Nick Clifton2005-03-182-1/+6
|
* 2005-03-18 Hans-Peter Nilsson <hp@axis.com>Jeff Johnston2005-03-182-12/+19
| | | | | | | | Corinna Vinschen <corinna@vinschen.de> * libc/include/ctype.h: Remove invalid +1 offset from ctype macro references to __ctype_ptr. (_ctype_): Move declaration outside #ifndef __cplusplus.
* * elf32-arm.c (elf32_arm_modify_segment_map): New function.Mark Mitchell2005-03-182-0/+9
| | | | | | | | | | | | | (elf32_arm_additional_program_headers): Likewise. (elf_backend_modify_segment_map): Define. (elf_backend_additional_program_headers): Likewise. (elf32_arm_symbian_modify_segment_map): Use elf32_arm_modify_segment_map. * binutils/readelf.c (get_arm_segment_type): New function. (get_segment_type): Use it. * arm.h (PT_ARM_EXIDX): Define.
* * libc/include/machine/setjmp.h (sigsetjmp): Use GCC extension toCorinna Vinschen2005-03-182-0/+29
| | | | | evaluate first parameter only once. (siglongjmp): Ditto.
* 2005-03-17 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-03-177-20/+106
| | | | | | | | | | | | * configure.in: Add new check to see if compiler supports aliasing of arrays and define _HAVE_ARRAY_ALIASING if true. * configure: Regenerated. * Makefile.in: Ditto. * newlib.hin: Add _HAVE_ARRAY_ALIASING. * libc/ctype/ctype_.c: Check for _HAVE_ARRAY_ALIASING before aliasing the _ctype_ array to _ctype_b. * libc/include/ctype.h: Change macros to use __ctype_ptr. Mark _ctype_ as deprecated.
* * fhandler_disk_file.cc (fhandler_disk_file::utimes): Handle openingCorinna Vinschen2005-03-172-4/+8
| | | | directories under 9x gracefully.
* * fhandler_socket.cc (fhandler_socket::connect): Always set sun_pathCorinna Vinschen2005-03-172-42/+41
| | | | | | in case of a successful or pending connect. (fhandler_socket::accept): Don't run secret event and eid credential transactions if OS accept returned WSAEWOULDBLOCK.
* * configure.host (newlib_cflags) <cris-*-*, crisv32-*-*>: AddHans-Peter Nilsson2005-03-172-1/+6
| | | | -DCOMPACT_CTYPE.
* complete a sentencChristopher Faylor2005-03-161-1/+1
|
* bfd/H.J. Lu2005-03-162-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-03-16 H.J. Lu <hongjiu.lu@intel.com> * elflink.c (elf_mark_used_section): New. (bfd_elf_gc_sections): Call elf_gc_mark_section for non-relocatable link if we don't do GC. include/ 2005-03-16 H.J. Lu <hongjiu.lu@intel.com> * bfdlink.h (bfd_link_info): Add gc_sections. ld/ 2005-03-16 H.J. Lu <hongjiu.lu@intel.com> * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Remove unused empty output sections for non-relocatable link. * ld.h (args_type): Remove gc_sections. * ldlang.c (lang_mark_used_section): New. (lang_gc_sections): Use link_info.gc_sections instead of command_line.gc_sections. * ldmain.c (main): Likewise. * lexsup.c (parse_args): Likewise. * ldlang.c (lang_process): Call lang_mark_used_section. * ldmain.c (main): Initialize link_info.gc_sections to FALSE. ld/testsuite/ 2005-03-16 H.J. Lu <hongjiu.lu@intel.com> * ld-alpha/tlsbin.rd: Updated for empty section removal. * ld-alpha/tlsbinr.rd: Likewise. * ld-alpha/tlspic.rd: Likewise. * ld-arm/mixed-lib.sym: Likewise. * ld-i386/tlsbin.rd: Likewise. * ld-i386/tlsnopic.rd: Likewise. * ld-i386/tlspic.rd: Likewise. * ld-ia64/tlsbin.rd: Likewise. * ld-ia64/tlspic.rd: Likewise. * ld-powerpc/apuinfo.rd: Likewise. * ld-powerpc/powerpc.exp: Likewise. * ld-powerpc/tlsexe32.r: Likewise. * ld-s390/tlsbin.rd: Likewise. * ld-s390/tlsbin_64.rd: Likewise. * ld-s390/tlspic.rd: Likewise. * ld-s390/tlspic_64.rd: Likewise. * ld-sh/tlsbin-2.d: Likewise. * ld-sh/tlspic-2.d: Likewise. * ld-sparc/tlssunbin32.rd: Likewise. * ld-sparc/tlssunnopic32.rd: Likewise. * ld-sparc/tlssunpic32.rd: Likewise. * ld-x86-64/tlsbin.rd: Likewise. * ld-x86-64/tlspic.rd: Likewise.
* * fhandler_tape.cc (get_ll): This is a generally useful function so move itChristopher Faylor2005-03-164-4/+13
| | | | | | * winsup.h (get_ll): to here * security.cc (get_token_group_sidlist): Use get_ll to figure out the long long version of the luid since QuadPart is not part of the standard Windows API.
* * winclude/winnt.h (SYSTEM_LUID): Fix definitition invalidated by below change.Christopher Faylor2005-03-162-1/+6
|
* missing file from previous checkin.Christopher Faylor2005-03-161-20/+12
|
* * dir.cc: Rename opendir_* to dirent_* throughout.Christopher Faylor2005-03-165-15/+34
| | | | | | | | | | | | | (opendir_states): Move and rename. * fhandler.h (dirent_states): to here. * fhandler_disk_file.cc (fhandler_disk_file::readdir): Use raw readdir when skipping through entries since it is keeping track of "." and "..". (fhandler_cygdrive::seekdir): Use fhandler_disk_file::readdir to do everything. * fhandler_virtual.cc (fhandler_virtual::opendir): Set flag indicating that we provide . and .. (fhandler_virtual::seekdir): Ditto. (fhandler_virtual::rewinddir): Ditto. * fhandler_registry.cc (fhandler_registry::rewinddir): Ditto.
* * Makefile.tpl (check-[+module+]): Fix shell statement inside if ... fi.DJ Delorie2005-03-163-6/+12
| | | | * Makefile.in: Regenerate.
* merge from gccDJ Delorie2005-03-162-28/+4
|
* * cygtls.cc (free_local): New macro.Christopher Faylor2005-03-165-92/+93
| | | | | | | | | | | | | | | | | | | | | (_cygtls::remove): Use free_local to free known-malloced local variables. * cygtls.h: Mark some variables as "malloced". * net.cc (enum struct_type): Rename from is_* to t_* for clarity. (dump_protoent): Delete. (dup_ent): New macro. (__dup_ent): Renamed from dup_ent. Change arguments for convenience. Replace first argument with newly alloced value. Allocate a rounded number of bytes in an attempt to try to reuse space. Subsume "dump_protent". (cygwin_getprotobyname): Simplify using new dup_ent functionality. (cygwin_getprotobynumber): Ditto. (cygwin_getservbyname): Ditto. (cygwin_getservbyport): Ditto. (cygwin_gethostname): Ditto. (cygwin_gethostbyname): Ditto. * tlsoffsets.h: Regenerate. * syslog.cc (openlog): Use NULL rather than 0, for consistency with the rest of cygwin. (pass_handler::initialize): Use unbuffered I/O in pass one.
* * errno.cc (errmap): Correct typo in previous change.Christopher Faylor2005-03-162-1/+5
|
* * include/winnt.h (_LUID): Add structure. Correct LUID typedef.Danny Smith2005-03-162-1/+10
| | | | | Thanks to: Paul-Christiaan Spruijtenburg <wakarimasu at users dot sf dot net>
* * cygtls.cc (_cygtls::remove): Free process_ident, if it exists.Christopher Faylor2005-03-153-0/+10
| | | | * errno.cc (errmap): ERROR_DISK_CORRUPT -> EIO.
* 2005-03-15 Hans Leidekker <hans@it.vu.nl>Danny Smith2005-03-152-2/+6
| | | | * include/malloc.h (_FREEENTRY, _USEDENTRY): Correct defines.
* include:Zack Weinberg2005-03-122-4/+15
| | | | | | | | | | | * opcode/arm.h: Adjust comments for ARM_EXT_V4T and ARM_EXT_V5T. Add ARM_EXT_V6T2, ARM_ARCH_V6T2, ARM_ARCH_V6KT2, ARM_ARCH_V6ZT2, and ARM_ARCH_V6ZKT2. opcodes: * arm-dis.c (arm_opcodes): Document %E and %V. Add entries for v6T2 ARM instructions: bfc bfi mls strht ldrht ldrsht ldrsbt movw movt rbit ubfx sbfx. (print_insn_arm): Add support for %E and %V.
* * path.h (pathconv_arg): Define PC_NO_ACCESS_CHECK.Christopher Faylor2005-03-123-38/+65
| | | | | | | | | | (path_types): Define PATH_NO_ACCESS_CHECK == PC_NO_ACCESS_CHECK. * path.cc (symlink_info::check_sysfile): Move to symlink_info class and eliminate arguments that are part of class. Use set_error. (symlink_info::check_shortcut): Ditto. (symlink_info::set_error): New function. (path_conv::check): Pass PC_NO_ACCESS_CHECK to symlink_info::check. (symlink_info::check): Preserve PC_NO_ACCESS_CHECK in pflags. Use set_error.
* * path.cc (is_floppy): New function.Corinna Vinschen2005-03-103-1/+25
| | | | | (setmntent): Drop floppy drives on A: and B: from logical drive DWORD. * syscalls.cc (sync): Don't sync floppies on A: and B:.
* * autoload.cc (LoadDLLprime): Use nocopy segment or forked processes will notChristopher Faylor2005-03-102-2/+7
| | | | | initialize properly. * autoload.cc (LoadDLLprime): Scrap use of .linkonce and just use an
* * autoload.cc (LoadDllprime): Scrap use of .linkonce and just use an ifdefChristopher Faylor2005-03-103-3/+15
| | | | | | guard to load .foo_init into data segment. * dcrt0.cc (initial_env): Allow colon or space as CYGWIN_DEBUG separator for consistency.
* * pinfo.h (pinfo::pinfo): Clear more elements in the constructor.Christopher Faylor2005-03-102-2/+6
|
* merge from gccDJ Delorie2005-03-102-0/+13
|
* * net.cc (dup_ent): Revert older stupid test for null. Don't copy name if itChristopher Faylor2005-03-092-6/+13
| | | | is NULL.
* * fhandler_socket.cc (fhandler_socket::eid_pipe_name): Fix formatCorinna Vinschen2005-03-092-44/+61
| | | | | | | | string. (fhandler_socket::connect): Set sun_path before running eid credential transaction. Run transaction only if OS connect was successful. (fhandler_socket::accept): Run transaction only if OS accept was successful.
* * net.cc (dup_ent): Revert previous stupid change.Christopher Faylor2005-03-092-1/+5
|
* * signal.cc (sigprocmask): Rename first parameter to "how".Corinna Vinschen2005-03-092-10/+13
| | | | | (handle_sigprocmask): Ditto. Check "how" for being a valid "how" value. Fix call order in case of wrong "how" value.
* * net.cc (dup_ent): Avoid dereferencing a null pointer in a debug_printf.Christopher Faylor2005-03-092-1/+5
|
* * path.cc (path_conv::check): Treat ENOSHARE similarly to ENOENT whenChristopher Faylor2005-03-092-2/+8
| | | | determining if there was a problem with a symlink.
* Remove \n from debug_printfChristopher Faylor2005-03-091-1/+1
|
* * fhandler_socket.cc (fhandler_socket::listen): Don't limit the numberCorinna Vinschen2005-03-082-2/+7
| | | | of pipe instances.
* revert errnoneous checkinChristopher Faylor2005-03-081-46/+22
|
* * pinfo.cc (pinfo::exit): Right shift exit value by eight when not started in aChristopher Faylor2005-03-083-24/+55
| | | | cygwin environment.
* * mmap.cc (mmap64): Handle MAP_AUTOGROW flag.Corinna Vinschen2005-03-084-11/+71
| | | | | | (fhandler_disk_file::mmap): Ditto. Clean conditional for readability. * include/sys/mman.h: Add MAP_AUTOGROW flag. * include/cygwin/version.h: Bump API minor version.
* * dcrt0.cc (dll_crt0_0): Eliminate muto::init call.Christopher Faylor2005-03-085-23/+30
| | | | | | | | | | * sync.h (locker): New, currently unused class. (muto::init): Eliminate. * sync.cc (muto::init): Ditto. (muto::init): Eliminate critical section lock and instead use name as a guard to prevent against multiple attempts to initialize the same muto. * pinfo.cc (pinfo::init): Set myself procinfo when not execing and pid matches windows pid or cygwin pid.
* * kill.cc (getsig): Rectify bug introduced by 2005-02-26 change. Don't padChristopher Faylor2005-03-082-2/+7
| | | | signal name with spaces.