summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* * strace.cc (handle_output_debug_string): Fix compiler warning.Corinna Vinschen2005-03-072-2/+6
|
* * include/ws2tcpip.h (getaddrinfo, freeaddrinfo, getnameinfo):Danny Smith2005-03-072-4/+16
| | | | | Guard with _WIN32_WINNT >= 0x0501. Add FIXME comment. * gai_strerror[AW]: Put into #if 0 block.
* * include/basetyps.h (__int16): Correct define.Danny Smith2005-03-072-1/+5
|
* * path.cc (mount_info::read_cygdrive_info_from_registry): Use the user prefixChristopher Faylor2005-03-062-0/+15
| | | | | | | | | | 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-06 Ralf Corsepious <ralf.corsepius@rtems.org>Jeff Johnston2005-03-063-0/+575
| | | | | * libc/sys/rtems/include/inttypes.h: New file. * libc/sys/rtems/include/stdint.h: Ditto.
* 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>Jeff Johnston2005-03-062-2/+6
| | | | * libc/string/memcmp.c: Fix to avoid pointer signedness warning.
* 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>Jeff Johnston2005-03-063-22/+11
| | | | | | | | | * 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.
* * sync.h (sync::init_lock): Declare new static member.Christopher Faylor2005-03-063-7/+25
| | | | | | | | (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.
* * path.cc (special_name): Reorganize to always detect the use of special namesChristopher Faylor2005-03-062-14/+16
| | | | first, before detecting special characters.
* * cygpath.cc (usage): Pass in one more copy of program_name to printf to avoidChristopher Faylor2005-03-062-1/+6
| | | | a SEGV.
* * pathnames.sgml: Clarify binmode/textmode behavior slightly.Christopher Faylor2005-03-063-18/+25
| | | | * textbinary.sgml: Ditto.
* * fhandler_clipboard.cc: Use int for cygnativeformat rather than UINT as thatChristopher Faylor2005-03-042-2/+8
| | | | | is what is returned by GetPriorityClipboardFormat. (fhandler_dev_clipboard::read): Ditto for the format variable.
* * fhandler.cc (fhandler_base::open_9x): Satisfy query_open values.Corinna Vinschen2005-03-042-6/+23
|