summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * config/tc-mips.c (macro): Handle new macros: "lca" and "dlca"Maciej W. Rozycki2003-11-182-0/+6
| | | | | | | | | | | | | | | for loading addresses using CALL relocations. Don't emit CALL relocations when a base register is used. * gas/mips/lca-svr4pic.d: New test for the "lca" macro. * gas/mips/lca-xgot.d: Likewise. * gas/mips/lca.s: Source for the new tests. * gas/mips/mips.exp: Run the new tests. * opcode/mips.h: Define new enum members, M_LCA_AB and M_DLCA_AB. * mips-opc.c (mips_builtin_opcodes): Handle new macros: "lca" and "dlca".
* 2003-11-18 Corinna Vinschen <corinna@vinschen.de>Jeff Johnston2003-11-184-0/+15
| | | | | | * libc/include/sys/fcntl.h: Declare _open64. * libc/include/sys/stat.h: Declare _fstat64. * libc/include/sys/unistd.h: Declare _lseek64.
* * fhandler.cc (fhandler_base::lseek): Include high order offsetCorinna Vinschen2003-11-172-0/+8
| | | | bits in return value.
* * libc/include/stdlib.h (getprogname): Declare for Cygwin.Corinna Vinschen2003-11-172-0/+11
| | | | (setprogname): Ditto.
* * bsdlib.cc (getprogname): New function.Corinna Vinschen2003-11-174-1/+33
| | | | | | (setprogname): New funtion. * cygwin.din: Export getprogname and setprogname. * include/cygwin/version.h: Bumb API version number.
* * include/limits.h: Revert unsanctioned changes below.Christopher Faylor2003-11-154-4/+10
| | | | | * include/cygwin/config.h: Ditto. * include/sys/param.h: Ditto.
* Add Tab control macroManu B2003-11-152-0/+5
|
* 2003-11-11 Robert Collins <rbtcollins@hotmail.com>Robert Collins2003-11-1441-151/+204
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ron Parker <rdparker@butlermfg.com> * bsdlib.cc: Update throughout to use CYG_MAX_PATH rather than MAX_PATH. * cygheap.h: Ditto. * dcrt0.cc: Ditto. * delqueue.cc: Ditto. * dlfcn.cc: Ditto. * dll_init.cc: Ditto. * dll_init.h: Ditto. * dtable.cc: Ditto. * environ.cc: Ditto. * environ.h: Ditto. * exceptions.cc: Ditto. * external.cc: Ditto. * fhandler_disk_file.cc: Ditto. * fhandler_proc.cc: Ditto. * fhandler_process.cc: Ditto. * fhandler_raw.cc: Ditto. * fhandler_registry.cc: Ditto. * fhandler_socket.cc: Ditto. * fhandler_virtual.cc: Ditto. * miscfuncs.cc: Ditto. * mmap.cc: Ditto. * netdb.cc: Ditto. * path.cc: Ditto. * path.h: Ditto. * pinfo.cc: Ditto. * pinfo.h: Ditto. * pthread.cc: Ditto. * registry.cc: Ditto. * shared.cc: Ditto. * shared_info.h: Ditto. * smallprint.c: Ditto. * spawn.cc: Ditto. * strace.cc: Ditto. * syscalls.cc: Ditto. * thread.h: Ditto. * uinfo.cc: Ditto. * winsup.h: Ditto. * include/limits.h: Ditto. * include/cygwin/config.h: Ditto. * include/sys/param.h: Ditto.
* * mkgroup.c: Avoid compiler warnings throughout.Corinna Vinschen2003-11-144-15/+1258
| | | | | * mkpasswd.c: Ditto. * passwd.c: Ditto.
* Add new field to disassemble_info structure: symbol_is_valid() and use it toNick Clifton2003-11-142-3/+28
| | | | skip displaying arm elf mapping symbols in disassembly output.
* * dtable.cc (build_fh_pc): Use DEV_SERIAL_MAJOR to catch all serial ports.Christopher Faylor2003-11-142-9/+9
| | | | Remove redundant FH_CYGDRIVE case since it is handled by DEV_CYGDRIVE_MAJOR.
* minor adjustments to Elfyn's contribution.David Starks-Browning2003-11-132-11/+10
|
* Apply Elfyn's patches as supplied in ↵David Starks-Browning2003-11-133-16/+14
| | | | <http://cygwin.com/ml/cygwin-patches/2003-q3/msg00156.html>.
* 2003-11-13 Martin Fuchs <martin-fuchs@gmx.net>Danny Smith2003-11-135-3/+48
| | | | | | | | | | | | | | | * include/shlobj.h (ILAppendID, ILClone, ILCloneFirst, ILCombine, ILFindChild, ILFindLastID, ILFree, ILGetNext, ILGetSize, ILIsEqual, ILIsParent, ILLoadFromStream, ILRemoveLastID, ILSaveToStream): Add prototypes. * lib/shell32.def: Add stubs. * include/commctrl.h (ListView_FindItem): Add type cast to avoid compiler warnings. 2003-11-13 Hans Leidekker <hans@it.vu.nl> * include/winbase.h (WIN32_STREAM_ID): Correct typedef.
* * thread.cc (pthread::exit): Cleanup on thread exit.Thomas Pfaff2003-11-112-0/+10
| | | | | (__reent_t::init_clib): Set thread local clib __cleanup var appropriately.
* 2003-11-10 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-11-102-5/+10
| | | | | * libc/machine/powerpc/ufix64toa.c (_ufix64to_r): Fix shifts to use (Ebits + 1) which accounts for the sign-bit.
* * miscfuncs.cc (low_priority_sleep): Make a "C" function.Christopher Faylor2003-11-103-2/+7
| | | | * winsup.h (low_priority_sleep): Revert previous change to declaration.
* * winsup.h (low_priority_sleep): Fix declaration to avoid linkerCorinna Vinschen2003-11-102-1/+6
| | | | warning.
* * thread.cc (__reent_t::init_clib): Set thread local clibThomas Pfaff2003-11-102-0/+6
| | | | __sdidinit var appropriately.
* * syscalls.cc (ftruncate64): Log length as long long.Corinna Vinschen2003-11-082-5/+10
| | | | | (logout): Erase ut_host. Don't write wtmp entry. Return 1 only if matching utmp entry has been found, 0 otherwise.
* * external.cc (cygwin_internal): Add CW_GET_UID_FROM_SID andCorinna Vinschen2003-11-084-2/+28
| | | | | | | CW_GET_GID_FROM_SID handling. * include/cygwin/version.h: Bump API minor number. * include/sys/cygwin.h (cygwin_getinfo_types): Add CW_GET_UID_FROM_SID and CW_GET_GID_FROM_SID.
* 2003-11-07 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-11-0711-12/+128
| | | | | | | | | | | | | | | | | | | | * configure.host: Remove -DLOOSE_KERNEL_NAMES flag for linux x86 build. * iconvdata/Makefile.am: Make dependent on newlib's configure.host and set up default flags to pass to aclocal. * iconvdata/Makefile.in: Regenerated. * libc/sys/linux/Makefile.am: Add _ELIX_LEVEL_4 getlogin, getpwnam, and getpwuid routines. * libc/sys/linux/Makefile.in: Regenerated. * libc/sys/linux/getlogin.c: New stub file to allow x86-linux applications to link with newlib's shared libc library. * libc/sys/linux/getpwnam.c: Ditto. * libc/sys/linux/getpwuid.c: Ditto. * libc/sys/linux/sys/types.h: Include <features.h> and supply types that were formerly supplied by /usr/include/linux/types.h with kernel types. * testsuite/newlib.wctype/twctype.c: Fix testcase to properly test _ELIX_LEVEL macro.
* * cygpath.cc (main): Allow multiple pathnames on command line.Corinna Vinschen2003-11-072-22/+17
|
* * fhandler_disk_file.cc (fhandler_disk_file::opendir): Reorganize to handleChristopher Faylor2003-11-071-0/+5
| | | | freeing of memory on error condition.
* * cygthread.cc (cygthread::freerange): Set inuse count. Avoid setting ev fromChristopher Faylor2003-11-073-27/+45
| | | | | | | h as h would be NULL at this point. (cygthread::operator new): Issue debugging info when overflowing the thread pool. (cygthread::cygthread): Set ev from h here after h has been initialized.
* 2003-11-07 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-11-072-2/+7
| | | | | * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix typos that should be referring to _NO_LONGLONG macro.
* 2003-11-06 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-11-0638-37/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libc/sys/linux/linuxthreads/td_init.c: Replace function name in LOG() macro so this will compile on gcc 3.4 and up. * libc/sys/linux/linuxthreads/td_log.c: Ditto. * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto. * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto. * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto. * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto. * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto. * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto. * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto. * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto. * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto. * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto. * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto. * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto. * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto. * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto. * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto. * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto. * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto. * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto. * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto. * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto. * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto. * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto. * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto. * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto. * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto. * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto. * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto. * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto. * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto. * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto. * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto. * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto. * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto. * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto. * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
* * Missing patch to cygwin.din.Corinna Vinschen2003-11-061-0/+8
|
* * bsdlib.cc (_vwarnx): New function.Corinna Vinschen2003-11-064-1/+123
| | | | | | | | | | | | | | (vwarn): Ditto. (vwarnx): Ditto. (warn): Ditto. (warnx): Ditto. (verr): Ditto. (verrx): Ditto. (err): Ditto. (errx): Ditto. * cygwin.din: Export above functions. * include/err.h: New file. * include/cygwin/version.h: Bump API minor number.
* * syscalls.cc (getshmlba): New function.Corinna Vinschen2003-11-067-9/+28
| | | | | | | | * external.cc (cygwin_internal): Add CW_GET_SHMLBA handling. * mmap.cc (mmap64): Call getshmlba to evaluate granularity. * winsup.h (getshmlba): Add declaration. * include/cygwin/version.h: Bump API minor number. * include/sys/cygwin.h (cygwin_getinfo_types): Add CW_GET_SHMLBA.
* * winsup.h: Declare access_worker.Christopher Faylor2003-11-062-1/+8
|
* Fix 'the the' typoNick Clifton2003-11-062-471/+467
|
* * include/cygwin/types.h: Fix preprocessor guards for vm_offset_t andCorinna Vinschen2003-11-062-2/+12
| | | | vm_size_t. Add typedef for vm_object_t.
* * ppc.h (R_PPC_RELAX32PC): Define.Alan Modra2003-11-062-6/+11
|
* 2003-11-05 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-11-063-11/+119
| | | | | | | | | | Artem B. Bityuckiy <mail_lists@mail.ru> * libc/stdio/vfprintf.c (_VFPRINTF_R): Add support for %ls, %S, %lc, and %C format specifiers. (get_arg): Ditto. * libc/stdio/sprintf.c: Add documentation regarding new format specifiers added in vfprintf.c.
* 2003-11-05 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-11-062-16/+29
| | | | | * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes to make code work as specified in standard.
* * fhandler_disk_file.cc (fhandler_disk_file::opendir): Detect attempt to open aChristopher Faylor2003-11-052-2/+12
| | | | directory which lacks read privileges.
* Entry "Where is the su command?" -> "Why doesn't su work?"David Starks-Browning2003-11-041-6/+9
|
* * external.cc (cygwin_internal): Add CW_GET_POSIX_SECURITY_ATTRIBUTECorinna Vinschen2003-11-046-16/+42
| | | | | | | | | | handling. * include/cygwin/version.h: Bump API minor number. * include/sys/cygwin.h (cygwin_getinfo_types): Add CW_GET_POSIX_SECURITY_ATTRIBUTE. * exceptions.cc (init_global_security): Move from here... * sec_helper.cc (init_global_security): ...to here.
* * net.cc (dup_ent): Use IsBadStringPtr for alignment checks. Don't use a knownChristopher Faylor2003-11-042-5/+9
| | | | bad pointer.
* * passwd.c (PrintPW): Turn around meaning printed for "Password notCorinna Vinschen2003-11-042-11/+22
| | | | | | required" option to be in line with Windows meaning. (main): Use more appropriate 1008 option when calling NetUserSetInfo to change flag values.
* * passwd.c (UF_LOCKOUT): Remove (defined in lmaccess.h).Corinna Vinschen2003-11-042-35/+134
| | | | | | | | | | | | | | | (version): Bump version number to 1.5. (longopts): Add -c, -C, -e, -E, -p, -P options. (opts): Ditto. (PrintPW): Print values of UF_PASSWD_CANT_CHANGE and UF_DONT_EXPIRE_PASSWD flags. Slightly reformat output. Don't suppress correct system password settings just because the account has admin privileges. (usage): Define as "noreturn" function. Restructure and rephrase output. Accomodate new options. (print_version): Fix copyright dates. (main): Accomodate new options for setting UF_PASSWD_CANT_CHANGE, UF_DONT_EXPIRE_PASSWD and UF_PASSWD_NOTREQD settings.
* * net.cc (dup_ent): Move Win 95 misalignment recogition beforeCorinna Vinschen2003-11-032-10/+20
| | | | trying to evaluate string length.
* * sim-frv.h: New file.Kevin Buettner2003-11-012-0/+57
|
* * thread.cc (pthread::thread_init_wrapper): Initialize exception handling.Thomas Pfaff2003-10-312-0/+13
|
* Rename pthread::running to pthread::valid throughout.Thomas Pfaff2003-10-313-7/+46
| | | | | | | | | * thread.h: (pthread::suspend_all_except_self): New static method. (pthread::resume_all): Ditto. (pthread::suspend_except_self): New method. (pthread::resume): Ditto. * thread.cc (pthread::suspend_except_self): Implement. (pthread::resume): Ditto.
* * include/stdint.h: Prevent signed->unsigned conversion for 32 andCorinna Vinschen2003-10-292-13/+18
| | | | 64 bit min value constants.
* * path.cc (dot_special_chars): New global variable.Christopher Faylor2003-10-292-2/+22
| | | | | | (special_name): Make files ending in "." special. (fnunmunge): Allow encoded ".". (mount_item::fnmunge): Handle trailing ".".
* * include/stdint.h: Duplicate below effort for rest of *64_*.Christopher Faylor2003-10-282-5/+9
|
* * include/stdint.h: Correctly define INT64_MAX.Christopher Faylor2003-10-282-1/+5
|