summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add --enable-mingw-manpage-transform configure option.Keith Marshall2007-03-205-3/+63
|
* *** empty log message ***H.J. Lu2007-03-192-0/+29
|
* * include/_mingw.h (__CRT_INLINE): Ue __gnu_inline__ for gcc 4.2.x too.Danny Smith2007-03-182-1/+5
|
* 2007-03-16 Charles Wilson <cygwin@...>Jeff Johnston2007-03-162-2/+12
| | | | | | | * libc/argz/argz_insert.c: "before" pointer is invalid after *argz realloc. Compute offset between "before" and *argz, and use it after reallocation instead.
* 2007-03-16 Eric Blake <ebb9@byu.net>Jeff Johnston2007-03-163-7/+12
| | | | | * libc/stdio64/fseek064.c (_fseeko64_r): Fix reentrancy. * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
* 2007-03-15 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2007-03-158-5/+87
| | | | | | | | | | | | | | | * configure.in: Add new --enable-newlib-reent-small option. * configure: Regenerated. * acconfig.h: Add _WANT_REENT_SMALL. * newlib.hin: Regenerated minus PACKAGE macros to add _WANT_REENT_SMALL macro. * libc/include/sys/config.h[_WANT_REENT_SMALL]: Set _REENT_SMALL if not already set. * libc/stdio/fflush.c[_REENT_SMALL]: Return immediately if there is no buffer. * libc/stdio/local.h[_REENT_SMALL]: Fix CHECK_INIT macro to use reentrant pointer passed in when resetting the file pointer to one of the std streams.
* 2007-03-15 Eric Blake <ebb9@byu.net>Jeff Johnston2007-03-1517-55/+151
| | | | | | | | | | | | | | | | | | | | | | | | | | | * libc/stdio/local.h (cantwrite, FREEUB, FREELB): Make reentrant. (__smakebuf): Rename... (__smakebuf_r): to this. * libc/stdio/fvwrite.h (__swsetup_r): Rename, from __swsetup. * libc/stdio/makebuf.c (__smakebuf): Detect failed asprint allocation, then rename... (__smakebuf_r): ...to this and fix reentrancy. * libc/stdio/wsetup.c (__swsetup): Detect failed asprintf allocation, then rename... (__swsetup_r): ...to this and fix reentrancy. * libc/stdio/fseek.c (_fseek_r): Fix reentrancy. * libc/stdio/refill.c (__srefill_r): Likewise. * libc/stdio/fclose.c (_fclose_r): Likewise. * libc/stdio/fread.c (_fread_r): Likewise. * libc/stdio/freopen.c (_freopen_r): Likewise. * libc/stdio/wbuf.c (__swbuf_r): Likewise. * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise. * libc/stdio/fvwrite.c (__sfvwrite_r): Set errno properly on failed asprintf allocation, and fix reentrancy. * libc/stdio/snprintf.c (snprintf, _snprintf_r): Report overflow, as required by POSIX. * libc/stdio/sniprintf.c (sniprintf, _sniprintf_r): Likewise. * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Likewise. * libc/stdio/vsniprintf.c (vsniprintf, _vsniprintf_r): Likewise.
* gas/H.J. Lu2007-03-152-1648/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-03-15 H.J. Lu <hongjiu.lu@intel.com> * Makefile.am: Run "make dep-am". * Makefile.in: Regenerated. * config/tc-i386.c: Include "opcodes/i386-opc.h" instead of "opcode/i386.h". (md_begin): Check reg_name != NULL for the last entry in i386_regtab. * config/tc-i386.h: Move many entries to opcode/i386.h and opcodes/i386-opc.h. * configure.in (need_opcodes): Set true for i386. * configure: Regenerated. include/opcode/ 2007-03-15 H.J. Lu <hongjiu.lu@intel.com> * i386.h: Add entries from config/tc-i386.h and move tables to opcodes/i386-opc.h. opcodes/ 2007-03-15 H.J. Lu <hongjiu.lu@intel.com> * Makefile.am (CFILES): Add i386-opc.c. (ALL_MACHINES): Add i386-opc.lo. Run "make dep-am". * Makefile.in: Regenerated. * configure.in: Add i386-opc.lo for bfd_i386_arch. * configure: Regenerated. * i386-dis.c: Include "opcode/i386.h". (MAXLEN): Renamed to MAX_MNEM_SIZE. Remove definition. (FWAIT_OPCODE): Remove definition. (UNIXWARE_COMPAT): Renamed to SYSV386_COMPAT. Remove definition. (MAX_OPERANDS): Remove definition. * i386-opc.c: New file. * i386-opc.h: Likewise.
* 2007-03-13 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2007-03-142-14/+19
| | | | | * i386.h (FloatDR): Removed. (i386_optab): Use FloatD and FloatD|FloatR instead of FloatDR.
* Fix typo.Corinna Vinschen2007-03-131-1/+1
|
* * include/cygwin/stat.h (S_TYPEISSHM, S_TYPEISSEM, S_TYPEISSHM):Corinna Vinschen2007-03-132-3/+8
| | | | Avoid compiler warnings.
* 2007-03-12 Eric Blake <ebb9@byu.net>Jeff Johnston2007-03-126-33/+63
| | | | | | | | | * libc/stdio/fvwrite.c (__sfvwrite_r): Fix reentrancy. * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Pass failed allocation to caller. * libc/stdio/asprintf.c (_asprintf_r, asprintf): Likewise. * libc/stdio/asiprintf.c (_asiprintf_r, asiprintf): Likewise. * libc/stdio/vasiprintf.c (vasiprintf, _vasiprintf_r): Likewise.
* 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>DJ Delorie2007-03-123-19/+116
| | | | | * Makefile.def (fixincludes): Remove unneeded "missing" lines. * Makefile.in: Regenerate
* Add manpages for dirname and basename functions.Keith Marshall2007-03-113-0/+501
|
* Make basename and dirname functions work with path namesKeith Marshall2007-03-083-79/+210
| | | | containing multibyte character strings.
* include/elf/Alan Modra2007-03-082-5/+10
| | | | | | | | | * v850.h (V850_OTHER_TDA_BYTE): Delete. (V850_OTHER_SDA, V850_OTHER_ZDA, V850_OTHER_TDA): Assign bits that don't clash with visibility bits. bfd/ * elf32-v850.c (v850_elf_link_output_symbol_hook): Clean out V850_OTHER_* bits.
* 2007-03-06 Brandon Sneed <brandon@oqo.com>Chris Sutcliffe2007-03-076-0/+117
| | | | | | | | | | | | | | | | | | | | | | | | | | * include/setupapi.h: Added SetupConfigureWmiFromInfSectionA Added SetupConfigureWmiFromInfSectionW Added SetupConfigureWmiFromInfSection define to unicode and non-unicode sections * lib/setupapi.def: Added exports for SetupConfigureWmiFromInfSectionA and W * include/winuser.h: Added PBT_APMQUERYSUSPEND Added PBT_APMQUERYSTANDBY Added PBT_APMQUERYSUSPENDFAILED Added PBT_APMQUERYSTANDBYFAILED Added PBT_APMSUSPEND Added PBT_APMSTANDBY Added PBT_APMRESUMECRITICAL Added PBT_APMRESUMESUSPEND Added PBT_APMRESUMESTANDBY Added PBT_APMBATTERYLOW Added PBT_APMPOWERSTATUSCHANGE Added PBT_APMOEMEVENT Added PBT_APMRESUMEAUTOMATIC * include/wtsapi32.h: New file * include/wingdi.h: Added DM_DISPLAYORIENTATION define for use with DMDO_* defines
* * signal.cc (handle_sigprocmask): Remove extraneous sig_dispatch_pending.Christopher Faylor2007-03-072-1/+5
|
* * fhandler_proc.cc: Fix formatting. Drop setting errno when creatingCorinna Vinschen2007-03-072-104/+217
| | | | | | | proc file content. (format_proc_uptime): Simplify. (format_proc_cpuinfo): Align more closely to output of Linux 2.6 kernel. Evaluate more data, especially for AMD CPUs.
* * configure: Regenerate.Andreas Schwab2007-03-074-66/+110
| | | | | | config/: * acx.m4 (GCC_TARGET_TOOL): Expand backquotes outside AC_MSG_RESULT.
* * common.h (ELF_ST_VISIBILITY): Comment typo fix.Alan Modra2007-03-072-2/+6
|
* merge from gccDJ Delorie2007-03-062-0/+20
|
* Fix log entry.Corinna Vinschen2007-03-061-1/+1
|
* Add accidentally missing checkins.Corinna Vinschen2007-03-063-0/+7
| | | | | * fhandler.h (fhandler_base::fstat_helper): Add creation time parameter. * glob.cc (stat32_to_stat64): Set st_birthtim to st_mtim.
* * include/cygwin/stat.h (S_TYPEISMQ): Define.Corinna Vinschen2007-03-062-0/+13
| | | | | (S_TYPEISSEM): Dttio. (S_TYPEISSHM): Ditto.
* * fhandler_mailslot.cc (fhandler_mailslot::fstat): Set new stat memberCorinna Vinschen2007-03-069-12/+43
| | | | | | | | | | | | | | | | | st_birthtim to useful value. * fhandler_process.cc (fhandler_process::fstat): Ditto. * fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Take additional parameter for creation time. Fill st_birthtim with it. Accomodate additional creation time parameter throughout. * fhandler_raw.cc (fhandler_dev_raw::fstat): Set new stat member st_birthtim to useful value. * fhandler.cc (fhandler_base::fstat): Ditto. * fhandler_registry.cc (fhandler_registry::fstat): Ditto. * include/cygwin/version.h: Bump API minor number. * include/cygwin/stat.h (struct __stat64): Replace st_spare4 with timestruc_t st_birthtim. (struct stat): Ditto if __CYGWIN_USE_BIG_TYPES__ is defined. (st_birthtime): Define if __CYGWIN_USE_BIG_TYPES__ is defined.
* 2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>Martin Schwidefsky2007-03-061-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | * opcodes/s390-opc.c (INSTR_RRE_FR, INSTR_RRF_F0FF2, INSTR_RRF_F0FR, INSTR_RRF_UUFF, INSTR_RRF_0UFF, INSTR_RRF_FFFU, INSTR_RRR_F0FF): New instruction formats added. (MASK_RRE_FR, MASK_RRF_F0FF2, MASK_RRF_F0FR, MASK_RRF_UUFF, MASK_RRF_0UFF, MASK_RRF_FFFU, MASK_RRR_F0FF): New instruction format masks added. * opcodes/s390-opc.txt (lpdfr - tgxt): Decimal floating point instructions added. * opcodes/s390-mkopc.c (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added. (main): z9-ec cpu type option added. * include/opcode/s390.h (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added. 2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com> * config/tc-s390.c (md_parse_option): z9-ec option added. 2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com> * gas/s390/zarch-z9-ec.d: New file. * gas/s390/zarch-z9-ec.s: New file. * gas/s390/s390.exp: Run the z9-ec testcases.
* 2007-03-05 Jan Nijtmans <nijtmans@users.sourceforge.net>Chris Sutcliffe2007-03-062-2/+7
| | | | | * include/ddeml.h (DdeCreateStringHandleA, DdeCreateStringHandleW): Switch argument to constant.
* Merge from gcc:DJ Delorie2007-03-056-13/+2603
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | +2007-03-01 Brooks Moses <brooks.moses@codesourcery.com> + + * configure.ac: Add "--with-pdfdir" configure option, + which defines pdfdir variable. + * Makefile.def (target=fixincludes): Add install-pdf to + missing targets. + (recursive_targets): Add install-pdf target. + (flags_to_pass): Add pdfdir. + * Makefile.tpl: Add pdfdir handling, add do-install-pdf + target. + * configure: Regenerate + * Makefile.in: Regenerate + +2007-02-28 Eric Christopher <echristo@apple.com> + + Revert: + 2006-12-07 Mike Stump <mrs@apple.com> + + * Makefile.def (dependencies): Add dependency for + install-target-libssp and install-target-libgomp on + install-gcc. + * Makefile.in: Regenerate. + +2007-02-27 Matt Kraai <kraai@ftbfs.org> + + * configure: Regenerate. + * configure.ac: Move statements after variable declarations. +
* * include/io.h (__mingw_access): New static inline wrapper to restoreDanny Smith2007-03-052-0/+15
| | | | | pre-Vista 'access (fname, X_OK)' behaviour. (__USE_MINGW_ACCESS): Use to map access() to __mingw_access().
* * mingwex/fesetround.c (fesetround): Use unsigned int as operandDanny Smith2007-03-052-4/+11
| | | | | to stmxcsr. Thanks to Alexey Kuznetsov <ring0_mipt at users dot sf dot net>
* * ntdll.h (struct _OBJECT_NAME_INFORMATION): Define.Corinna Vinschen2007-03-023-2/+65
| | | | | * syscalls.cc (unlink_nt): Check shared directory for being empty before trying to move and mark for deletion.
* * security.cc (get_file_attribute): Avoid compiler warning.Corinna Vinschen2007-03-022-1/+4
|
* * spu/sbrk.c (sbrk): Adjust the stack pointer vector correctly soBen Elliston2007-03-012-8/+33
| | | | that GCC runtime stack checking works. Handle the backchain, too.
* * fork.cc (fork): Reset child to true after fork since it may have been resetChristopher Faylor2007-03-012-2/+10
| | | | by fork memory copies.
* * Makefile (DLL_OFILES): Remove ntea.oChristopher Faylor2007-03-018-59/+24
| | | | | | | | | | | | | | * environ.cc (set_ntea): Delete. (parse_thing): Delete "ntea" setting. * fhandler.cc (fhandler_base::open): Remove allow_ntea considerations. (check_posix_perm): Ditto. * fhandler_disk_file.cc (fhandler_disk_file::fchmod): Ditto. (fhandler_base::open_fs): Ditto. (fhandler_disk_file::mkdir): Ditto. * path.cc (symlink_worker): Ditto. * security.cc (get_file_attribute): Ditto. (set_file_attribute): Ditto. * security.h: Remove allow_ntea declaration.
* * spu-insns.h: Add soma double-float insns.Alan Modra2007-03-012-1/+12
|
* * path.cc (close_user_proc_parms_cwd_handle): Remove.Corinna Vinschen2007-02-273-38/+35
| | | | | | | | | (cwdstuff::init): Don't call close_user_proc_parms_cwd_handle. Call set to set cwd with all-sharing handle. (cwdstuff::set): Fix comment. Don't close cwd handle. Set in user parameter block instead and close old cwd handle. * syscalls.cc (rename): Call unlink_nt instead of RemoveDirectory or DeleteFile to allow deleting shared files/directories.
* * fhandler.cc(fhandler_base::open): Open with READ_CONTROL only inCorinna Vinschen2007-02-2710-104/+287
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | case of query_open flag set to query_read_control. Add case for new query_read_attributes flag. (fhandler_base::fstatvfs): New method. * fhandler.h (enum query_state): Add query_read_attributes flag. (class fhandler_base): Declare new virtual fstatvfs method. (class fhandler_socket): Ditto. (class fhandler_pipe): Ditto. (class fhandler_fifo): Ditto. (class fhandler_disk_file): Ditto. (class fhandler_virtual): Ditto. * fhandler_disk_file.cc (fhandler_base::fstat_fs): Open with query_read_attributes instead of query_read_control. (fhandler_disk_file::fstatvfs): New method. (fhandler_disk_file::facl): Open with query_read_attributes instead of query_read_control. * fhandler_fifo.cc (fhandler_fifo::fstatvfs): New method. * fhandler_socket.cc (fhandler_socket::fstatvfs): New method. (fhandler_socket::fchmod): Return with EBADF in the default case. (fhandler_socket::fchown): Ditto. (fhandler_socket::facl): Ditto. * fhandler_virtual.cc (fhandler_virtual::fstatvfs): Ditto. * ntdll.h (struct _FILE_FS_ATTRIBUTE_INFORMATION): Define. (struct _FILE_FS_FULL_SIZE_INFORMATION): Define. * pipe.cc (fhandler_pipe::fstatvfs): New method. * syscalls.cc (fstatvfs): Just call the fhandler's fstatvfs. (statvfs): Ditto. (fstatfs): Call fstatvfs. (statfs): Drop EFAULT handling.
* * mt-spu (all-ld): Depend on all-binutils.Alan Modra2007-02-273-1/+10
| | | | also fix previous ChangeLog entry
* 2007-02-27 Thorsten Dahlheimer <tdahlheim@gmx.net>Danny Smith2007-02-272-2/+8
| | | | * include/stdio.h (_unlink, unlink): Add prototypes.
* * fhandler.cc (fhandler_base::fstat): Set all file times to arbitraryCorinna Vinschen2007-02-262-1/+7
| | | | fixed value.
* * fhandler_registry.cc (registry_listing): Drop name of HKEY_DYN_DATA.Corinna Vinschen2007-02-265-16/+18
| | | | | | (registry_keys): Drop HKEY_DYN_DATA. * net.cc: Fix comment. * syslog.cc: Ditto.
* * fhandler_disk_file.cc (fhandler_disk_file::fchmod): Drop comment.Corinna Vinschen2007-02-265-37/+19
| | | | | | | | | | | * mmap.cc (gen_access): Remove. (mmap_record::gen_access): Remove. (mmap64): Don't mention 9x any longer. * syscalls.cc (statvfs): Drop status code consideration for 9x. * libc/minires-os-if.c (get_registry_dns_items): Don't mention 9x any longer. (get_registry_dns): Drop getting registry key on 9x. Drop is9x variable.
* 2007-02-23 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2007-02-232-2/+6
| | | | * libm/math/w_pow.c: Fix typo in documentation comment.
* Throughout remove all usage of wincap.has_security.Corinna Vinschen2007-02-2316-159/+96
| | | | | | | | | * environ.cc (environ_init): Drop setting allow_ntsec here. * grp.cc (initgroups32): Drop usage of label "out". * security.cc (allow_ntsec): Set to true by default. * syscalls.cc (seteuid32): Remove label success_9x. * wincap.cc: Remove has_security throughout. * wincap.h: Ditto.
* * fhandler.h (class fhandler_pipe): Remove members writepipe_exists,Corinna Vinschen2007-02-236-84/+20
| | | | | | | | | | | | | | orig_pid and id. Make hit_eof inline. * fhandler_fifo.cc (fhandler_fifo::open): Drop handling of writepipe_exists, orig_pid and id. * pipe.cc: Ditto throughout. (pipecount): Remove. (pipeid_fmt): Remove. (fhandler_pipe::hit_eof): Simplify. Move to fhandler.h. (fhandler_pipe::dup): Drop leave label. (fhandler_pipe::create): Drop has_unreliable_pipes case. * wincap.cc: Remove has_unreliable_pipes throughout. * wincap.h: Ditto.
* * devices.in: Change native device name to native NT device name forCorinna Vinschen2007-02-235-211/+96
| | | | | | | | | | | /dev/null, /dev/comX and /dev/ttySx. * devices.cc: Regenerate. * fhandler.cc (fhandler_base::open_9x): Remove. (fhandler_base::open): Don't test for DOS device name, don't call open_9x. (fhandler_dev_null::open): Remove. * fhandler.h (class fhandler_base): Drop open_9x declaration. (class fhandler_dev_null): Drop open declaration.
* * fhandler_console.cc (fhandler_console::need_invisible): DropCorinna Vinschen2007-02-237-64/+21
| | | | | | | | | | | pty_needs_alloc_console check. * spawn.cc (spawn_guts): Ditto. (av::fixup): Remove setting iscui. * syscalls.cc (rename): Drop has_move_file_ex checks. Remove 9x specific code. * wincap.cc: Remove has_move_file_ex and pty_needs_alloc_console throughout. * wincap.h: Ditto.
* Throughout remove using wincap.Corinna Vinschen2007-02-239-135/+59
| | | | | | | | | | | * Makefile.in (OBJS): Remove wincap.o. * README: Don't mention 9x. * bsd_mutex.cc (_mtx_unlock): Drop checking for 9x error codes. * cygserver.cc (server_submission_loop::request_loop): Add FIXME comment. * wincap.cc: Remove. * wincap.h: Remove. * woutsup.h: Don't include wincap.h.