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-03-17 * fhandler_socket.cc (fhandler_socket::connect): Always set sun_pathCorinna Vinschen
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.
2005-03-17 * configure.host (newlib_cflags) <cris-*-*, crisv32-*-*>: AddHans-Peter Nilsson
-DCOMPACT_CTYPE.
2005-03-17complete a sentencChristopher Faylor
2005-03-17bfd/H.J. Lu
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.
2005-03-17* fhandler_tape.cc (get_ll): This is a generally useful function so move itChristopher Faylor
* 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.
2005-03-17* winclude/winnt.h (SYSTEM_LUID): Fix definitition invalidated by below change.Christopher Faylor
2005-03-17missing file from previous checkin.Christopher Faylor
2005-03-17* dir.cc: Rename opendir_* to dirent_* throughout.Christopher Faylor
(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.
2005-03-16* Makefile.tpl (check-[+module+]): Fix shell statement inside if ... fi.DJ Delorie
* Makefile.in: Regenerate.
2005-03-16merge from gccDJ Delorie
2005-03-16* cygtls.cc (free_local): New macro.Christopher Faylor
(_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.
2005-03-16* errno.cc (errmap): Correct typo in previous change.Christopher Faylor
2005-03-16 * include/winnt.h (_LUID): Add structure. Correct LUID typedef.Danny Smith
Thanks to: Paul-Christiaan Spruijtenburg <wakarimasu at users dot sf dot net>
2005-03-16* cygtls.cc (_cygtls::remove): Free process_ident, if it exists.Christopher Faylor
* errno.cc (errmap): ERROR_DISK_CORRUPT -> EIO.
2005-03-152005-03-15 Hans Leidekker <hans@it.vu.nl>Danny Smith
* include/malloc.h (_FREEENTRY, _USEDENTRY): Correct defines.
2005-03-12include:Zack Weinberg
* 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.
2005-03-12* path.h (pathconv_arg): Define PC_NO_ACCESS_CHECK.Christopher Faylor
(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.
2005-03-10 * path.cc (is_floppy): New function.Corinna Vinschen
(setmntent): Drop floppy drives on A: and B: from logical drive DWORD. * syscalls.cc (sync): Don't sync floppies on A: and B:.
2005-03-10* autoload.cc (LoadDLLprime): Use nocopy segment or forked processes will notChristopher Faylor
initialize properly. * autoload.cc (LoadDLLprime): Scrap use of .linkonce and just use an
2005-03-10* autoload.cc (LoadDllprime): Scrap use of .linkonce and just use an ifdefChristopher Faylor
guard to load .foo_init into data segment. * dcrt0.cc (initial_env): Allow colon or space as CYGWIN_DEBUG separator for consistency.
2005-03-10* pinfo.h (pinfo::pinfo): Clear more elements in the constructor.Christopher Faylor
2005-03-10merge from gccDJ Delorie
2005-03-10* net.cc (dup_ent): Revert older stupid test for null. Don't copy name if itChristopher Faylor
is NULL.
2005-03-10 * fhandler_socket.cc (fhandler_socket::eid_pipe_name): Fix formatCorinna Vinschen
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.
2005-03-10* net.cc (dup_ent): Revert previous stupid change.Christopher Faylor
2005-03-10 * signal.cc (sigprocmask): Rename first parameter to "how".Corinna Vinschen
(handle_sigprocmask): Ditto. Check "how" for being a valid "how" value. Fix call order in case of wrong "how" value.
2005-03-09* net.cc (dup_ent): Avoid dereferencing a null pointer in a debug_printf.Christopher Faylor
2005-03-09* path.cc (path_conv::check): Treat ENOSHARE similarly to ENOENT whenChristopher Faylor
determining if there was a problem with a symlink.
2005-03-09Remove \n from debug_printfChristopher Faylor
2005-03-08 * fhandler_socket.cc (fhandler_socket::listen): Don't limit the numberCorinna Vinschen
of pipe instances.
2005-03-08revert errnoneous checkinChristopher Faylor
2005-03-08* pinfo.cc (pinfo::exit): Right shift exit value by eight when not started in aChristopher Faylor
cygwin environment.
2005-03-08 * mmap.cc (mmap64): Handle MAP_AUTOGROW flag.Corinna Vinschen
(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.
2005-03-08* dcrt0.cc (dll_crt0_0): Eliminate muto::init call.Christopher Faylor
* 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.
2005-03-08* kill.cc (getsig): Rectify bug introduced by 2005-02-26 change. Don't padChristopher Faylor
signal name with spaces.
2005-03-07 * strace.cc (handle_output_debug_string): Fix compiler warning.Corinna Vinschen
2005-03-07 * include/ws2tcpip.h (getaddrinfo, freeaddrinfo, getnameinfo):Danny Smith
Guard with _WIN32_WINNT >= 0x0501. Add FIXME comment. * gai_strerror[AW]: Put into #if 0 block.
2005-03-07 * include/basetyps.h (__int16): Correct define.Danny Smith
2005-03-07* path.cc (mount_info::read_cygdrive_info_from_registry): Use the user prefixChristopher Faylor
if it exists. * sync.h (sync::init_lock): Declare new static member. (sync::init()): Declare new static function. * sync.cc (sync::init): Define. (sync::init): Lock attempt to initialize a muto to stop multiple threads from colliding. * dcrt0.cc (dll_crt0_0): Initialize muto environment.
2005-03-062005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>Jeff Johnston
* libc/sys/rtems/include/inttypes.h: New file. * libc/sys/rtems/include/stdint.h: Ditto.
2005-03-062005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>Jeff Johnston
* libc/string/memcmp.c: Fix to avoid pointer signedness warning.
2005-03-062005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>Jeff Johnston
* libc/include/machine/_types.h: New file. * libc/include/sys/types.h: Do not check for __rtems__ when including <machine/_types.h>. Remove some redundant declarations now that <machine/_types.h> is included. * libc/sys/rtems/machine/_types.h: Removed. Replaced with shared header file.
2005-03-06* sync.h (sync::init_lock): Declare new static member.Christopher Faylor
(sync::init()): Declare new static function. * sync.cc (sync::init): Define. (sync::init): Lock attempt to initialize a muto to stop multiple threads from colliding. * dcrt0.cc (dll_crt0_0): Initialize muto environment.
2005-03-06* path.cc (special_name): Reorganize to always detect the use of special namesChristopher Faylor
first, before detecting special characters.
2005-03-06* cygpath.cc (usage): Pass in one more copy of program_name to printf to avoidChristopher Faylor
a SEGV.
2005-03-06* pathnames.sgml: Clarify binmode/textmode behavior slightly.Christopher Faylor
* textbinary.sgml: Ditto.
2005-03-04* fhandler_clipboard.cc: Use int for cygnativeformat rather than UINT as thatChristopher Faylor
is what is returned by GetPriorityClipboardFormat. (fhandler_dev_clipboard::read): Ditto for the format variable.
2005-03-04 * fhandler.cc (fhandler_base::open_9x): Satisfy query_open values.Corinna Vinschen
2005-03-04 * fhandler_socket.cc (fhandler_socket::ioctl): Only cancelCorinna Vinschen
WSAAsyncSelect when async mode is on.
2005-03-04 * cygwin.din (utmpxname): Export.Corinna Vinschen
* syscalls.cc (utmpxname): Create export alias to utmpname. * include/utmpx.h: Define ut_name and ut_xtime if not already defined. (utmpxname): Add prototype. * include/sys/utmp.h: Only define ut_name if not already defined. * include/cygwin/version.h: Bump API minor version.