summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * libc/include/tgmath.h: New header.Yaakov Selkowitz2012-01-122-0/+189
|
* * spawn.cc (child_info_spawn::worker): Delete debugging.Christopher Faylor2012-01-112-2/+4
|
* Update copyright on all files checked in so far this year.Christopher Faylor2012-01-1113-38/+54
| | | | | | | | | | | | | | | | | * fhandler.h: Use #pragma once rather than ifdef guards. (fhandler_console::tc_getpgid): Return our pgid if we have never opened a console. * fork.cc: Rearrange includes to accommodate fhandler.h use of pinfo.h. * sigproc.cc: Ditto. * spawn.cc: Ditto. (child_info_spawn::worker): Query myself->pgid rather than calling expensive function. * thread.h: Use #pragma once rather than ifdef guards. * pinfo.h: Use #pragma once rather than ifdef guards. (pinfo::remember): Don't define if sigproc.h has not been included. (pinfo::reattach): Ditto. * sigproc.h: Use #pragma once rather than ifdef guards. Use different test to see if pinfo.h has been included.
* * libc/include/sys/unistd.h [__CYGWIN__] (get_current_dir_name):Yaakov Selkowitz2012-01-092-0/+8
| | | | Declare.
* * libc/include/complex.h: Fix "/*" within comment warning.Yaakov Selkowitz2012-01-092-1/+5
|
* * libc/include/process.h: Remove Cygwin-only header.Corinna Vinschen2012-01-092-37/+4
|
* * include/cygwin/process.h: Move here from newlib.Corinna Vinschen2012-01-095-6/+57
| | | | | | | * exec.cc: Change include of process.h to reflect the fact that it's now in the include/cygwin subfolder. * spawn.cc: Ditto. * syscalls.cc: Ditto.
* * miscfuncs.cc (thread_wrapper): Make sure stack is 16 byte alignedCorinna Vinschen2012-01-092-1/+10
| | | | to make gcc-3 compiled pthread applications happy.
* * Makefile.common (MINGW_LDFLAGS): Correctly use -L rather than -B here.Corinna Vinschen2012-01-092-1/+5
|
* * dtable.cc (dtable::stdio_init): Always initialize console when we have one.Christopher Faylor2012-01-085-33/+32
| | | | | | | | | | * fhandler_termios.cc (fhandler_termios::tcsetpgrp): Use a better method to print tty name for debugging. (fhandler_termios::bg_check): Ditto. * pinfo.cc (_pinfo::set_ctty): Remove leftover debugging stuff. Simplify behavior when setting tty's sid and pgid to avoid overwriting previously set values. * spawn.cc (ch_spawn): Cosmetic change.
* Add my recent API additions.Yaakov Selkowitz2012-01-081-1/+4
|
* merge from gccJason Merrill2012-01-072-0/+14
|
* Ensure Makefile.comm source is included in distribution tarballs.Keith Marshall2012-01-062-2/+8
|
* 2012-01-06 Chris Sutcliffe <ir0nh34d@users.sf.net>Chris Sutcliffe2012-01-062-1/+5
| | | | * include/windef.h (WINVER): Back off to 0x0500.
* * new-features.sgml (ov-new1.7.10): Document pthread_sigqueue.Yaakov Selkowitz2012-01-062-1/+5
|
* * cygwin.din (pthread_sigqueue): Export.Yaakov Selkowitz2012-01-066-1/+31
| | | | | | | * posix.sgml (std-gnu): Add pthread_sigqueue. * thread.cc (pthread_sigqueue): New function. * include/thread.h (pthread_sigqueue): New function. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
* 2012-01-05 Chris Sutcliffe <ir0nh34d@users.sf.net>Chris Sutcliffe2012-01-052-1/+5
| | | | * include/windef.h (WINVER): Bump to 0x0501.
* bfd/Tristan Gingold2012-01-042-0/+11
| | | | | | | | | | | | | | | | | | | | 2012-01-04 Tristan Gingold <gingold@adacore.com> * mach-o.h (bfd_mach_o_fvmlib_command): New structure. (bfd_mach_o_load_command): Add fvmlib field. * mach-o.c (bfd_mach_o_read_fvmlib): New function. (bfd_mach_o_read_command): Handle fvmlib. binutils/ 2012-01-04 Tristan Gingold <gingold@adacore.com> * od-macho.c (dump_load_command): Handle fvmlib. include/mach-o/ 2012-01-04 Tristan Gingold <gingold@adacore.com> * external.h (mach_o_fvmlib_command_external): New structure.
* bfd/Tristan Gingold2012-01-042-2/+16
| | | | | | | | | | | | | 2012-01-04 Tristan Gingold <gingold@adacore.com> * mach-o.c (bfd_mach_o_convert_architecture): Reindent. Decode msubtype for ARM. include/mach-o/ 2012-01-04 Tristan Gingold <gingold@adacore.com> * loader.h: Update copyright year. (bfd_mach_o_cpu_subtype): Add ARM subtypes.
* bfd/Tristan Gingold2012-01-042-5/+18
| | | | | | | | | | | | | | | | | | | | | | | | | 2012-01-04 Tristan Gingold <gingold@adacore.com> * mach-o.h: Reindent header. (bfd_mach_o_encryption_info_command): New structure. (bfd_mach_o_load_command): Add encryption_info field. * mach-o.c (bfd_mach_o_read_encryption_info): New function. (bfd_mach_o_read_command): Handle BFD_MACH_O_LC_ENCRYPTION_INFO. (bfd_mach_o_read_command): Adjust error message. binutils/ 2012-01-04 Tristan Gingold <gingold@adacore.com> * od-macho.c: Update copyright year. (dump_load_command): Handle BFD_MACH_O_LC_ENCRYPTION_INFO. include/mach-o/ 2012-01-04 Tristan Gingold <gingold@adacore.com> * external.h: Update copyright year. (mach_o_symtab_command_external): Add comments. (mach_o_encryption_info_command_external): New structure.
* Copyright year update in most files of the GDB Project.Joel Brobecker2012-01-0416-24/+18
| | | | | | gdb/ChangeLog: Copyright year update in most files of the GDB Project.
* 2012-01-03 Chris Sutcliffe <ir0nh34d@users.sf.net>Chris Sutcliffe2012-01-042-1/+8
| | | | | | | Return value, identified by 'make test'. * include/gdiplus/gdiplustypes.h (Gdiplus::GdiplusAbort::Abort()): Return NO_ERROR in virtual definition.
* 2012-01-03 Chris Sutcliffe <ir0nh34d@users.sf.net>Chris Sutcliffe2012-01-043-20/+13
| | | | | | | | | | | | | Remove duplicate definitions, identified by 'make test'. * include/wincrypt.h (CRYPT_NEWKEYSET, CRYPT_DELETEKEYSET, CRYPT_MACHINE_KEYSET, CRYPT_SILENT, CRYPT_EXPORTABLE, CRYPT_USER_PROTECTED, CRYPT_CREATE_SALT, CRYPT_UPDATE_KEY, CRYPT_NO_SALT, CRYPT_PREGEN, CRYPT_RECIPIENT, CRYPT_INITIATOR, CRYPT_ONLINE, CRYPT_SF, CRYPT_CREATE_IV, CRYPT_KEK, CRYPT_DATA_KEY, CRYPT_VOLATILE, CRYPT_SGCKEY): Remove duplicate definitions. * include/winerror.h (CRYPT_E_REVOKED): Removed - already defined in wincrypt (which is where it should be defined according to MSDN).
* 2012-01-03 Viachaslau Kulakouski <Viachaslau.Kulakouski@oracle.com>Jeff Johnston2012-01-032-3/+7
| | | | * libc/stdlib/__atexit.c: Refer to __atexit_lock instead of lock.
* Correct misuse of #ifdef, identified by 'make test'.Keith Marshall2012-01-032-2/+9
|
* * path.cc (get_current_dir_name): Avoid memory leak. Don't return PWD contentsChristopher Faylor2012-01-022-10/+14
| | | | if directory doesn't actually exist.
* * new-features.sgml (ov-new1.7.10): Document get_current_dir_name.Yaakov Selkowitz2012-01-012-2/+7
|
* * cygwin.din (get_current_dir_name): Export.Yaakov Selkowitz2012-01-015-1/+31
| | | | | | * path.cc (get_current_dir_name): New function. * posix.sgml (std-gnu): Add get_current_dir_name. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
* Bump ChangeLogChristopher Faylor2012-01-012-5318/+5318
|
* Add a couple other items which have been changed since initial call for testingChristopher Faylor2011-12-311-0/+10
|
* Initial checkin of text Corinna sent to cygwin-announce.Christopher Faylor2011-12-311-0/+110
|
* * new-features.sgml (ov-new1.7.10): Document getpt.Yaakov Selkowitz2011-12-302-1/+5
|
* * cygwin.din (getpt): Export.Yaakov Selkowitz2011-12-306-1/+19
| | | | | | | * posix.sgml (std-gnu): Add getpt. * tty.cc (getpt): New function. * include/cygwin/stdlib.h [!__STRICT_ANSI__] (getpt): Declare. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
* * thread.cc: Mark pthread_rwlock_timedrdlock andYaakov Selkowitz2011-12-302-2/+8
| | | | | pthread_rwlock_timedwrlock as not yet implemented in the list of cancellation points.
* * fhandler_dsp.cc (fhandler_dev_dsp::fhandler_dev_dsp): Set up device.Christopher Faylor2011-12-253-2/+8
| | | | * syscalls.cc (open): Very minor formatting tweak.
* * path.cc (struct symlink_info): Add bool argument to declaration ofCorinna Vinschen2011-12-242-17/+40
| | | | | | | | | | check_reparse_point. (symlink_info::check_reparse_point): Add bool argument to indicate remote drive. Handle STATUS_PENDING. Don't evaluate junctions on remote drives. Fix comments. (symlink_info::check): Drop check for is_remote_drive and associated comment here. Add fs.is_remote_drive as second parameter to check_reparse_point call.
* * pinfo.cc (pinfo_basic::pinfo_basic): Fix formatting. Set uid and gidCorinna Vinschen2011-12-232-1/+10
| | | | | to default values to accommodate early initialization of shared user info. Add comment.
* [bfd]DJ Delorie2011-12-232-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * elf32-rl78.c (rl78_elf_howto_table): Add R_RL78_RH_RELAX. (rl78_reloc_map): Add BFD_RELOC_RL78_RELAX. (rl78_elf_relocate_section): Add R_RL78_RH_RELAX, R_RL78_RH_SFR, and R_RL78_RH_SADDR. (rl78_elf_finish_dynamic_sections): Only validate PLT section if we didn't relax anything, as relaxing might remove a PLT reference after we've set up the table. (elf32_rl78_relax_delete_bytes): New. (reloc_bubblesort): New. (rl78_offset_for_reloc): New. (relax_addr16): New. (rl78_elf_relax_section): Add support for relaxing long instructions into short ones. [gas] * config/rl78-defs.h (rl78_linkrelax_addr16): Add. (rl78_linkrelax_dsp, rl78_linkrelax_imm): Remove. * config/rl78-parse.y: Tag all addr16 and branch patterns with relaxation markers. * config/tc-rl78.c (rl78_linkrelax_addr16): New. (rl78_linkrelax_branch): New. (OPTION_RELAX): New. (md_longopts): Add relax option. (md_parse_option): Add OPTION_RELAX. (rl78_frag_init): Support relaxation. (rl78_handle_align): New. (md_assemble): Support relaxation. (md_apply_fix): Likewise. (md_convert_frag): Likewise. * config/tc-rl78.h (MAX_MEM_FOR_RS_ALIGN_CODE): New. (HANDLE_ALIGN): New. (rl78_handle_align): Declare. * config/rl78-parse.y (rl78_bit_insn): New. Set it for all bit insn patterns. (find_bit_index): New. Strip .BIT suffix off relevent expressions for bit insns. (rl78_lex): Exclude bit suffixes from expression parsing. [include/elf] * rl78.h (R_RL78_RH_RELAX, R_RL78_RH_SFR, R_RL78_RH_SADDR): New. (RL78_RELAXA_BRA, RL78_RELAXA_ADDR16: New.
* * spawn.cc (child_info_spawn::worker): Add CREATE_BREAKAWAY_FROM_JOBCorinna Vinschen2011-12-222-2/+18
| | | | | to c_flags only if current process is member of a job and breakaway is allowed.
* * include/winnt.h (JOB_OBJECT_LIMIT_BREAKAWAY_OK): Define.Corinna Vinschen2011-12-222-2/+16
| | | | | | | | | (JOB_OBJECT_LIMIT_SILENT_BREAKAWAY_OK): Define. (JOB_OBJECT_BREAKAWAY_OK): Define as JOB_OBJECT_LIMIT_BREAKAWAY_OK and mark as kept for backward compatibility only. (JOB_OBJECT_SILENT_BREAKAWAY): Define as JOB_OBJECT_LIMIT_SILENT_BREAKAWAY_OK and mark as kept for backward compatibility only.
* Don't leave Windows 2000 behind.Corinna Vinschen2011-12-223-22/+72
| | | | | | | | | * Makefile.in (ps.exe): Revert previous change. * ps.cc: Include psapi.h again. (main): In CW_GETPINFO_FULL case. Evaluate minimal process access mask required per OS and use that in OpenProcess call. Use GetModuleFileNameExW on Windows 2000 or if fetching the drive mapping failed. Handle empty process name.
* * include/winnt.h: Add missing PROCESS_QUERY_LIMITED_INFORMATION.Corinna Vinschen2011-12-222-0/+5
|
* * Makefile.in (ps.exe): Drop -lpsapi from ALL_LDFLAGS.Corinna Vinschen2011-12-223-63/+43
| | | | | | | | * ps.cc: Don't include psapi.h. (dosdevs): Drop. (unicode_buf): Define. (main): Simplify path evaluation in CW_GETPINFO_FULL case. Fetch drive map from Cygwin DLL. Use it to convert NT device paths to Win32 paths.
* * external.cc (cygwin_internal): Implement CW_ALLOC_DRIVE_MAP,Corinna Vinschen2011-12-227-165/+217
| | | | | | | | | | | | | | | CW_MAP_DRIVE_MAP, CW_FREE_DRIVE_MAP. * fhandler_process.cc: Include mount.h. (get_volume_path_names_for_volume_name): Move to mount.cc. (struct dos_drive_mappings): Ditto. * mount.cc (get_volume_path_names_for_volume_name): Move here. (dos_drive_mappings::dos_drive_mappings): Ditto. (dos_drive_mappings::fixup_if_match): Ditto. (dos_drive_mappings::~dos_drive_mappings): Ditto. * mount.h (class dos_drive_mappings): Declare her. * include/sys/cygwin.h (cygwin_getinfo_types): Add CW_ALLOC_DRIVE_MAP, CW_MAP_DRIVE_MAP, CW_FREE_DRIVE_MAP. * include/cygwin/version.h: Bump API minor number.
* * fhandler_process.cc: Drop unneeded includes.Corinna Vinschen2011-12-222-2/+4
|
* Throughout use wincap.allocation_granularity instead of getpagesize.Corinna Vinschen2011-12-2214-308/+331
| | | | | | | | | | | | | | | | | | | | | | | | Throughout use wincap.page_size instead of getsystempagesize. Throughout use "status" as variable name to hold NTSTATUS values. * fhandler_mem.cc: Check for NT_SUCCESS rather than for STATUS_SUCCESS. Fix debug_printf output. Rectify long statements. Fix comment formatting. * fhandler_proc.cc: Ditto. (format_proc_swaps): Drop useless test for ERROR_PROC_NOT_FOUND. * fhandler_process.cc: Ditto as in fhandler_mem.cc. (get_process_state): Rearrange allocation loop. Use malloc/realloc. (get_mem_values): Fix potential NULL pointer usage. Drop unused variable. * pinfo.cc (winpids::enum_processes): Handle low memory gracefully. * sec_auth.cc (get_priv_list): Drop local variable ret. * shared.cc (memory_init): Drop outdated call to getpagesize. * syscalls.cc (getsystempagesize): Remove. * sysconf.cc: Check for NT_SUCCESS rather than for STATUS_SUCCESS. (sysinfo): Constify sizeof_stodi. Drop useless test for ERROR_PROC_NOT_FOUND. * thread.cc (pthread_getattr_np): Cast pointers to uintptr_t rather than to int for pointer arithmetic. * winsup.h (getsystempagesize): Drop declaration.
* * fhandler.cc (fhandler_base_overlapped::wait_overlapped): Use correct value inChristopher Faylor2011-12-212-1/+6
| | | | switch statement.
* * dcrt0.cc (_dll_crt0): Rephrase comments. Set $ebp to NULL, as inCorinna Vinschen2011-12-213-9/+20
| | | | | | the pthread stack setup. * wow64.cc (wow64_revert_to_original_stack): Rephrase some comments. Return _tlsbase-16 rather than _main_tls-4 so as not to waste stack.
* config/:Andreas Schwab2011-12-202-1/+6
| | | | | | | | | * warnings.m4 (ACX_PROG_CC_WARNING_OPTS): Avoid leading dash in expr call. libdecnumber/: * configure: Regenerate. libiberty/: * configure: Regenerate.
* * fvwrite.c (__sfvwrite_r): Set __SMBF flag to avoid double free inCorinna Vinschen2011-12-202-1/+8
| | | | fclose. Enhance comment.