summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * include/cygwin/config.h (__getreent): Define inline version.Brian Dessent2007-09-072-0/+25
|
* Fix typo in ChangeLog and math.h.Jeff Johnston2007-09-061-2/+2
|
* 2007-09-06 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2007-09-062-3/+14
| | | | | | | * libc/include/math.h (_M_LOG2E): New log2 of e macro. (log2): Use _M_LOG2E instead of M_LOG2E. (log2f): Ditto. (M_LOG2E): Define to be _M_LOG2E.
* * include/sys/stdio.h (_flockfile): Don't try to lock a FILEBrian Dessent2007-09-062-3/+16
| | | | | | that has the __SSTR flag set. (_ftrylockfile): Likewise. (_funlockfile): Likewise.
* merge from gccDJ Delorie2007-09-062-2/+7
|
* 2007-09-04 Kazunori Asayama <asayama@sm.sony.co.jp>Jeff Johnston2007-09-042-0/+5
| | | | * libm/math/wf_tgamma.c: Add missing include.
* * configure: Regenerate.Christopher Faylor2007-08-312-1685/+2277
|
* 2007-08-31 Antony King <antony.king@st.com>Jeff Johnston2007-08-314-13/+25
| | | | | | | | * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS}: Define IEEE_Arith bits and redefine associated dword0 macro (rvalue issue). * libc/stdio/vfieeefp.h: Ditto. * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS to prevent setting dword1 which is an rvalue only.
* merge from gccDJ Delorie2007-08-312-0/+8
|
* 2007-08-31 Dave Korn <dave.korn@artimi.com>Dave Korn2007-08-312-1/+6
| | | | | * mkgroup.c (enum_groups): Use MAX_PREFERRED_LENGTH in netgroupenum call so that it will automatically size returned buffer sufficiently.
* Move changelogRichard Sandiford2007-08-302-1/+5
|
* * config.sub, config.guess: Update from upstream sources.Nick Clifton2007-08-293-11/+7
|
* * config.sub: Add support for cr16 target.Nick Clifton2007-08-292-1/+9
|
* 2007-08-28 Hans Kester <hans.kester@ellips.nl>Jeff Johnston2007-08-2815-37/+5841
| | | | | | | | | | | | | | | | * configure.host: Added support for x86_64. * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for x86_64. * libc/include/machine/setjmp.h: Define _JBTYPE and _JBLEN for x86_64. * libc/machine/x86_64/aclocal.m4: Generated. * libc/machine/x86_64/configure.in: New. * libc/machine/x86_64/configure: Generated. * libc/machine/x86_64/Makefile.am: New. * libc/machine/x86_64/Makefile.in: Generated. * libc/machine/x86_64/setjmp.S: New. * libc/machine/x86_64/memcpy.S: New. * libc/machine/x86_64/memset.S: New. * libc/machine/configure.in: Added support for x86_64. * libc/machine/configure: Regenerated.
* Make snprintf() and vsnprintf() conform to C99.Keith Marshall2007-08-256-26/+41
|
* include/elf/Alan Modra2007-08-252-0/+8
| | | | | | | | | * common.h (NT_SPU): Define. bfd/ * elf.c (elfcore_grok_spu_note): New function. (elf_parse_notes): Call it. binutils/ * readelf.c (process_note): Recognize SPU core file notes.
* 2007-08-24 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2007-08-242-1/+6
| | | | | * libm/common/sf_lround.c (lroundf): Cast sizeof calculation to int before comparing it to a signed int value.
* * syscalls.cc (open): Don't follow symlinks if O_EXCL is given.Corinna Vinschen2007-08-242-2/+7
|
* * dll.sgml: myprog.ca -> myprog.cChristopher Faylor2007-08-242-1/+5
|
* binutils/Ben Elliston2007-08-242-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | * doc/binutils.texi (objdump): Document -Mppcps. gas/ * config/tc-ppc.c (parse_cpu): Handle "750cl". (pre_defined_registers): Add "gqr0" to "gqr7", "gqr.0" to "gqr.7". (md_show_usage): Document -m750cl. (md_assemble): Handle two delimiters in succession (eg. `),'). * doc/c-ppc.texi (PowerPC-Opts): Document -m750cl. * testsuite/gas/ppc/ppc.exp: Run ppc70ps dump tests. * testsuite/gas/ppc/ppc750ps.s: New file. * testsuite/gas/ppc/ppc750ps.d: Likewise. include/opcode/ * ppc.h (PPC_OPCODE_PPCPS): New. opcodes/ * ppc-opc.c (PSW, PSWM, PSQ, PSQM, PSD, MTMSRD_L): New. (XOPS, XOPS_MASK, XW, XW_MASK): Likewise. (PPCPS): Likewise. (powerpc_opcodes): Add all pair singles instructions. * ppc-dis.c (powerpc_dialect): Handle "ppcps". (print_ppc_disassembler_options): Document -Mppcps.
* * libc/machine/cris/sys/errno.h (ECANCELED, ENOKEY, EKEYEXPIRED)Hans-Peter Nilsson2007-08-232-0/+17
| | | | | (EKEYREVOKED, EKEYREJECTED, EOWNERDEAD, ENOTRECOVERABLE, ENOTSUP): Define.
* 2007-08-23 Hidetaka Takano <hidetaka.takano@glb.toshiba.co.jp>Jeff Johnston2007-08-2336-712/+1087
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reduce the memory consumption of variable argument functions for SPU (cell): * libc/machine/spu/Makefile.am: Replace printf/scanf family C sources to assembler sources. * libc/machine/spu/Makefile.in: Regenerated. * libc/machine/spu/stdio.c: Add __check_init function wrapping CHECK_INIT macro to use from assembler routines. * libc/machine/spu/c99ppe.h: Add definitions for assembler code. * libc/machine/spu/fiprintf.S: New file. * libc/machine/spu/fiscanf.S: Ditto. * libc/machine/spu/fprintf.S: Ditto. * libc/machine/spu/fscanf.S: Ditto. * libc/machine/spu/iprintf.S: Ditto. * libc/machine/spu/iscanf.S: Ditto. * libc/machine/spu/printf.S: Ditto. * libc/machine/spu/scanf.S: Ditto. * libc/machine/spu/siprintf.S: Ditto. * libc/machine/spu/siscanf.S: Ditto. * libc/machine/spu/sniprintf.S: Ditto. * libc/machine/spu/snprintf.S: Ditto. * libc/machine/spu/sprintf.S: Ditto. * libc/machine/spu/sscanf.S: Ditto. * libc/machine/spu/stack_reg_va.S: Ditto. * libc/machine/spu/syscall.def: Ditto. (for maintenance) * libc/machine/spu/mk_syscalls: Ditto. (for maintenance) * libc/machine/spu/fiprintf.c: Removed. (Replaced by .S) * libc/machine/spu/fiscanf.c: Ditto. * libc/machine/spu/fprintf.c: Ditto. * libc/machine/spu/fscanf.c: Ditto. * libc/machine/spu/iprintf.c: Ditto. * libc/machine/spu/iscanf.c: Ditto. * libc/machine/spu/printf.c: Ditto. * libc/machine/spu/scanf.c: Ditto. * libc/machine/spu/siprintf.c: Ditto. * libc/machine/spu/siscanf.c: Ditto. * libc/machine/spu/sniprintf.c: Ditto. * libc/machine/spu/snprintf.c: Ditto. * libc/machine/spu/sprintf.c: Ditto. * libc/machine/spu/sscanf.c: Ditto.
* Switch the license of all .h files to GPLv3.Joel Brobecker2007-08-2312-120/+108
|
* * ntdll.h (STATUS_NO_SUCH_FILE): Define.Corinna Vinschen2007-08-233-31/+84
| | | | | | * path.cc (get_nt_native_path): Reset upath.Length to 0 on each invocation. (symlink_info::check): Use NT native functions.
* * uinfo.cc (pwdgrp::load): Use NT native functions.Corinna Vinschen2007-08-212-36/+57
|
* * fhandler_disk_file.cc (fhandler_base::fstat_helper): Rewrite checkingCorinna Vinschen2007-08-212-23/+23
| | | | | for executable file magic using a thread safe method and re-enable this code.
* * syscalls.cc (unlink_nt): Drop one local FILE_BASIC_INFORMATION struct.Corinna Vinschen2007-08-212-1/+4
|
* * ntdll.h (NtNotifyChangeDirectoryFile): Declare.Corinna Vinschen2007-08-215-29/+91
| | | | | | | | | | | | | | (NtQueryAttributesFile): Move to maintain alphabetical order of declarations. Add comment to note that timestamp information returned by NtQueryAttributesFile is unreliable. * path.h (etc::changed_h): Move here. (etc::fn): Change type to OBJECT_ATTRIBUTES. (etc::last_modified): Change type to LARGE_INTEGER. (etc::init): Take PUNICODE_STRING as second argument. * path.cc: Accomodate above changes. (etc::test_file_change): Use NT native functions. (etc::dir_changed): Ditto. * uinfo.cc (pwdgrp::load): Call etc::init with NT native path.
* * fhandler_disk_file.cc: Change debugging output througout to printCorinna Vinschen2007-08-212-15/+20
| | | | the NT status consistently. Use UNICODE path information if available.
* Bring over from the GCC tree:Ben Elliston2007-08-213-4/+9
| | | | | | | 2007-08-21 Richard Guenther <rguenther@suse.de> * configure.ac: Add types checking to stage1 checking flags. * configure: Regenerate.
* * hookapi.cc (ld_preload): Call LoadLibraryW.Corinna Vinschen2007-08-203-1/+13
| | | | * path.h (path_conv::get_wide_win32_path_len): Define.
* * fhandler.cc (rootdir): Delete.Corinna Vinschen2007-08-203-90/+5
| | | | * winsup.h (rootdir): Drop declaration.
* * path.cc (fillout_mntent): Append backslash to drive-only paths beforeCorinna Vinschen2007-08-193-14/+14
| | | | | | calling fs_info::update. * path.h (fs_info::clear): Simplify. (fs_info::fs_info): Add constructor.
* 2007-08-18 Paul Brook <paul@codesourcery.com>Joseph Myers2007-08-187-6/+58
| | | | | | | | | | | | | | | | | Joseph Myers <joseph@codesourcery.com> * Makefile.tpl (DEBUG_PREFIX_CFLAGS_FOR_TARGET): New. (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Include it. * Makefile.in: Regenerate. * configure.ac (--with-debug-prefix-map): New. * configure: Regenerate. config: 2007-08-18 Paul Brook <paul@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * mt-gnu (CXXFLAGS_FOR_TARGET): Add $(DEBUG_PREFIX_CFLAGS_FOR_TARGET).
* * spawn.cc (spawn_guts): Fix typo in comment.Corinna Vinschen2007-08-172-1/+5
|
* * autoload.cc (CloseDesktop): Define.Corinna Vinschen2007-08-173-18/+65
| | | | | | | | | (CreateDesktopA): Define. (SetThreadDesktop): Define. * spawn.cc (spawn_guts): When starting a process under another user account, don't open up permissions on current window station and desktop. Instead, if not in interactive session, create a new per-user window station plus default desktop and use that for the child process.
* 2007-08-17 Richard Sandiford <richard@codesourcery.com>Richard Sandiford2007-08-174-0/+22
| | | | | | | | | Nigel Stephens <nigel@mips.com> * config/mt-sde: New file. * configure.ac (mips*-sde-elf*): New stanza. Use config/mt-sde as target_makefile_frag. * configure: Regenerate.
* * Makefile.def (STAGE2_CFLAGS, STAGE3_CFLAGS, STAGE4_CFLAGS):Alexandre Oliva2007-08-174-222/+2770
| | | | | | | | Add to flags_to_pass. Adjust uses of BOOT_CFLAGS. (bootstrap2-debug, bootstrap-debug): New bootstrap stages. * Makefile.tpl (STAGE2_CFLAGS, STAGE3_CFLAGS, STAGE4_CFLAGS): New. (do-compare, do-compare3, do-compare-debug): New. ([+compare-target+]): Use them.
* bfd/H.J. Lu2007-08-162-2/+5
| | | | | | | | | | | | | | | | | | 2007-08-16 H.J. Lu <hongjiu.lu@intel.com> * elf.c: Revert last change. binutils/ 2007-08-16 H.J. Lu <hongjiu.lu@intel.com> * readelf.c: Revert last change. include/elf/ 2007-08-16 H.J. Lu <hongjiu.lu@intel.com> * common.h: Revert last change.
* * fhandler_disk_file.cc (fhandler_disk_file::fchmod): Handle S_IFSOCKCorinna Vinschen2007-08-163-4/+10
| | | | | | mode bit by setting the SYSTEM attribute. * fhandler_socket.cc (fhandler_socket::fchmod): Add S_IFSOCK mode bit when calling fhandler_disk_file::fchmod. Don't set attributes here.
* * path.h (path_conv::operator char *): Delete.Corinna Vinschen2007-08-169-38/+54
| | | | | | | | | | | | | (path_conv::operator const char *): Delete. * dlfcn.cc: Throughout, replace path_conv::operator char * and path_conv::operator const char * by call to path_conv::get_win32 for easier transition to UNICODE_PATHs. * fhandler_socket.cc: Ditto. * hookapi.cc: Ditto. * path.cc: Ditto. * spawn.cc: Ditto. * syscalls.cc: Ditto. * uinfo.cc: Ditto.
* * dir.cc (readdir_worker): Convert w32name to PUNICODE_STRING.Corinna Vinschen2007-08-165-10/+18
| | | | | | * sec_acl.cc (getacl): Convert debug output to print native NT path. * security.cc (set_file_attribute): Ditto. * syscalls.cc (try_to_bin): Ditto and fix buggy debug statement.
* * ntdll.h (RtlAcquirePebLock): Declare.Corinna Vinschen2007-08-163-5/+12
| | | | | (RtlReleasePebLock): Declare. * path.cc (cwdstuff::set): Change PEB only while it's locked.
* * fhandler.h (fhandler_base::get_namehash): Use NT native path.Corinna Vinschen2007-08-163-2/+8
| | | | | * fhandler_disk_file.cc (readdir_get_ino): Ditto in call to hash_path_name.
* bfd/H.J. Lu2007-08-162-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | 2007-08-16 H.J. Lu <hongjiu.lu@intel.com> * elf.c (get_segment_type): Change PT_GNU_STACK to PT_GNU_ATTR. (bfd_section_from_phdr): Likewise. (get_program_header_size): Likewise. Add a PT_GNU_ATTR segment if there is an attribute section. (_bfd_elf_map_sections_to_segments): Likewise. (IS_SECTION_IN_INPUT_SEGMENT): Likewise. binutils/ 2007-08-16 H.J. Lu <hongjiu.lu@intel.com> * readelf.c (get_segment_type): Change PT_GNU_STACK to PT_GNU_ATTR. include/elf/ 2007-08-16 H.J. Lu <hongjiu.lu@intel.com> * common.h (PT_GNU_STACK): Renamed to ... (PT_GNU_ATTR): This. (PT_GNU_STACK): New. Make an alias of PT_GNU_ATTR.
* * ntdll.h (RtlCreateUnicodeStringFromAsciiz): Fix declaration.Corinna Vinschen2007-08-164-46/+70
| | | | | | | | | | | | (RtlUpcaseUnicodeChar): Declare. * path.cc (hash_path_name): Split into three functions, taking the path as char *, PWCSTR, or PUNICODE_STRING. Move implementation into PUNICODE_STRING-based function. Drop old drive-relative path consideration. * winsup.h (iswdirsep): Like isdirsep but for WCHARs. (isabspath_u): Like isabspath, for PUNICODE_STRINGs. (iswabspath): Like isabspath, for PWCHARs. (hash_path_name): Add new declarations.
* * path.cc (get_nt_native_path): Allow to convert special paths whichCorinna Vinschen2007-08-153-11/+19
| | | | | | have no native NT path representation for simplified debug output. * syscalls.cc: Convert debug output to print native NT path. (unlink): Drop redundant debug output.
* * fhandler_disk_file.cc (fhandler_disk_file::link): Drop superfluousCorinna Vinschen2007-08-153-8/+6
| | | | | test for trailing dot. * path.h (path_conv::operator []): Remove.
* * fhandler_socket.cc (get_inet_addr): Use NT native functions forCorinna Vinschen2007-08-153-21/+51
| | | | | | accessing the file representing the local socket. (fhandler_socket::bind): Ditto. * ntdll.h: Declare NtReadFile.
* * path.cc (symlink_info::check): In case of ERROR_SHARING_VIOLATION andCorinna Vinschen2007-08-142-3/+22
| | | | | ERROR_ACCESS_DENIED, try to get file attributes by using directory functions.