dacf4be3fa* thread.cc (pthread::pop_cleanup_handler): Move setting the cancelstate to PTHREAD_CANCEL_DISABLE from here... (pthread::pop_all_cleanup_handlers): ...to here, otherwise any explicit call to pthread_cleanup_pop disables cancellation for this thread.
Corinna Vinschen
2012-05-23 13:18:34 +0000
2ca9ed527e* fhandler.h (refcnt): Add i interlocked. Explain why. * winbase.h (ilockadd): New function. (InterlockedAdd): Define as ilockadd.
Corinna Vinschen
2012-05-23 13:13:56 +0000
420b3469a7merge from gcc
DJ Delorie
2012-05-22 18:05:30 +0000
73447abbb6* devices.in: Fix native name of /dev/kmem. * devices.cc: Regenerate. * dtable.cc (fh_alloc): Don't forget FH_KMEM. * fhandler_mem.cc (fhandler_dev_mem::open): Set errno to EACCES rather than ENOENT on systems not granting access to physical memory from user space.
Corinna Vinschen
2012-05-22 17:37:40 +0000
6014310903* thread.cc (pthread::cancel): Set thread's cancel_event in PTHREAD_CANCEL_ASYNCHRONOUS case, too. Explain why.
Corinna Vinschen
2012-05-22 10:28:05 +0000
08d7e0c909* strace.cc (strace::activate): Move printing heap size from here... * heap.cc (heap_init_info): ...to here. Explain why. Print heap size in hex and decimal.
Corinna Vinschen
2012-05-21 19:45:12 +0000
6cb222edce* net.cc (cygwin_recvfrom): Don't shortcircuit if len == 0. Add comment to explain why. (cygwin_recv): Ditto. (cygwin_recvmsg): Ditto.
Corinna Vinschen
2012-05-21 14:56:02 +0000
ece05938f2* fhandler_disk_file.cc (path_conv::isgood_inode): Rearrange, take Samba versions >= 3.5.4 into account, add comments.
Corinna Vinschen
2012-05-21 12:00:09 +0000
bb39d14401* libc/machine/cr16/asm.h: Added some missing instructions and removed few unsupported instructions of cr16 target.
Corinna Vinschen
2012-05-21 11:55:15 +0000
fe66a97ae4* DevNotes: Add entry cgf-000009. * smallprint.cc (__small_vsprintf): Always treat '%c' and '%C' as characters. Don't decode them if they are > 127. (__small_vswprintf): Ditto.
Christopher Faylor
2012-05-17 02:18:41 +0000
53b7c465edPR 13503 * reloc.c: Rename BFD_RELOC_AVR_8_HHI to BFD_RELOC_AVR_8_HLO. * bfd-in2.h: Regenerate. * libbfd.h: Regenrate. * elf32-avr.c (elf_avr_howto_table): Rename R_AVR_8_HHI8 to R_AVR_8_HLO8. (avr_reloc_map): Ditto.
Nick Clifton
2012-05-16 14:52:16 +0000
bd8afa5eb1* DevNotes: Add entry cgf-000008. * fhandler_tty.cc (bytes_available): Simplify by returning the number of bytes available in the message unless that is zero.
Christopher Faylor
2012-05-16 01:56:41 +0000
c846faf01a* config/tc-m68hc11.c: Add S12X and XGATE co-processor support. Add option to offset S12 addresses into XGATE memory space. Tweak target flags to match other tools. (i.e. -m m68hc11). * doc/as.texinfo: Mention new options. * doc/c-m68hc11.texi: Document new options. * NEWS: Mention new support.
Nick Clifton
2012-05-15 12:55:51 +0000
8f55341ea1* child_info.h (CURR_CHILD_INFO_MAGIC): Update.
Christopher Faylor
2012-05-14 23:29:03 +0000
3de7be4c1d* DevNotes: Add entry cgf-000007. * child_info.h (child_info_spawn::parent_winpid): Declare new field. (child_info_spawn::get_parent_handle): Declare new function. * dcrt0.cc (child_info_spawn::get_parent_handle): Define new function. (child_info_spawn::handle_spawn): Recreate parent handle if possible when dynamically loaded. Don't mess with parent handle if it's NULL. * spawn.cc (child_info_spawn::worker): Set parent_winpid appropriately.
Christopher Faylor
2012-05-14 22:42:56 +0000
77009cee1eAdd support for PowerPC VLE.
James Lemke
2012-05-14 19:45:27 +0000
1f99484812* DevNotes: Add entry cgf-000006. * thread.cc (pthread::pop_cleanup_handler): Set cancel state to disabled to avoid recursively waiting for cancel.
Christopher Faylor
2012-05-12 20:26:43 +0000
348b56b5a3* DevNotes: Add entry cgf-000005. * fhandler.h (PIPE_ADD_PID): Redefine to something we actually DON'T use. * pipe.cc (fhandler_pipe::create): Avoid clearing all open_mode bits when checking for PIPE_ADD_PID. Properly keep track of len so that passed in name is not overwritten.
Christopher Faylor
2012-05-12 19:17:17 +0000
991addc261MAINTAINERS: clarify policy with config/ (and other top level files)
Michael Frysinger
2012-05-12 03:10:17 +0000
c30ea6b3f3PR 13503 * reloc.c: Add new ENUM for BFD_RELOC_AVR_8_LO, BFD_RELOC_AVR_8_HI, BFD_RELOC_AVR_8_HHI. * bfd-in2.h: Regenerate. * libbfd.h: Regenrate. * elf32-avr.c (elf_avr_howto_table): Add entries for R_AVR_8_LO8, R_AVR_8_HI8, R_AVR_8_HHI8. (avr_reloc_map): Add RELOC mappings for R_AVR_8_LO8, R_AVR_8_HI8, R_AVR_8_HHI8.
Nick Clifton
2012-05-11 12:59:23 +0000
bb479a688cPR bootstrap/50461 * configure.ac (mpfr-dir): When using in-tree MPFR sources allow for the fact that from release v3.1.0 of MPFR the source files were moved into a src sub-directory. * configure: Regenerate.
Nick Clifton
2012-05-10 13:42:03 +0000
61c33dbfd8Add url for reported mailing list problem
Christopher Faylor
2012-05-08 22:38:42 +0000
359d971109Remove references to nonexistent files.
Keith Marshall
2012-05-08 19:41:12 +0000
dfd5d5bea6* DevNotes: Add entry cgf-000004. * pinfo.cc (pinfo::init): Reuse shared memory if the state is marked with PID_REAPED. * spawn.cc (child_info_spawn::worker): Don't duplicate myself_pinfo into non-cygwin child. * fork.cc (frok::parent): Improve error output.
Christopher Faylor
2012-05-08 15:06:43 +0000
51180c08edAdd additional observation to cgf-000003
Christopher Faylor
2012-05-07 15:28:40 +0000
06bd0ef2ab* DevNotes: Add entry cgf-000003. * cygheap.h (init_cygheap::pid_handle): Delete. * dcrt0.cc (child_info_spawn::handle_spawn): Keep parent open if we have execed. * pinfo.cc (pinfo::thisproc): Remove pid_handle manipulations. (pinfo::init): Don't consider a reaped process to be available. * spawn.cc (child_info_spawn::worker): Remove pid_handle manipulations. Make wr_proc_pipe and parent noninheritable when starting a program which doesn't use the Cygwin DLL. Conditionally reset wr_proc_pipe to inheritable if CreateProcess fails. Inject wr_proc_pipe handle into non-Cygwin process. Consider a non-cygwin process to be 'synced'.
Christopher Faylor
2012-05-07 15:05:56 +0000
8620cb7925* new-features.sgml (ov-new1.7.15): Fix tag.
Christopher Faylor
2012-05-07 14:40:20 +0000
5c0e79c218* cygwinenv.sgml: Add pipe_byte description. * new-features.sgml (ov-new1.7.15): Add new pipe_byte description for 1.7.15.
Christopher Faylor
2012-05-06 18:59:46 +0000
6428476bdd* mkpasswd.c (current_user): Actually *use* $HOME if it's available. Add comment to explain what we're doing here.
Corinna Vinschen
2012-05-05 08:55:17 +0000
fb9d631817* DevNotes: Add entry cgf-000002. * fhandler_tty.cc (bytes_available): Revert to previous Oct-2011 behavior where a dummy buffer is used to determine how many bytes will be read. (fhandler_pty_master::ioctl): Correct coercion in assignment.
Christopher Faylor
2012-05-04 03:00:43 +0000
1c46670094Add support for Motorola XGATE embedded CPU
Nick Clifton
2012-05-03 13:12:06 +0000
00a76ece10* net.cc (get_adapters_addresses): Only create thread on affected systems. Change comment acordingly. * wincap.h (wincaps::has_gaa_largeaddress_bug): New element. * wincap.cc: Implement above element throughout. (wincap_8): New globale wincaps to support Windows 8. (wincapc::init): Take Windows 8 into account. Set new has_gaa_largeaddress_bug member to false on 32 bit systems.
Corinna Vinschen
2012-05-03 08:34:44 +0000
e32a14ca19* testsuite/newlib.string/strcmp-1.c (LONG_TEST): New macro. (MAX_BLOCK_SIZE): Use small value when LONG_TEST is not set. (MAX_DIFF, MAX_LEN, MAX_ZEROS) Likewise.
Corinna Vinschen
2012-05-03 08:13:17 +0000
0386e4bf17.
Christopher Faylor
2012-05-02 16:48:13 +0000
b79c0094f8* ChangeNotes: New file. Add entry cgf-000001. * sigproc.cc (proc_terminate): Don't set parent pid of child to 1 if we've execed since the execed process is still considered the parent. * child_info.h: Bump copyright.
Christopher Faylor
2012-05-02 16:39:39 +0000
6f5a3401aa* fenv.cc (fesetround): Fix test for valid input parameter. (fesetprec): Ditto.
Corinna Vinschen
2012-05-02 07:42:08 +0000
28c8ae66d5* fhandler.h (PIPE_ADD_PID): Define new flag. * pipe.cc (fhandler_pipe::create): Don't indiscriminately add process id to every pipe since some pipe names (fifo, tty) don't need it. * sigproc.cc (sigproc_init): Pass PIPE_ADD_PID to fhandler_pipe::create to ensure that pid is always part of sigwait pipe name.
Christopher Faylor
2012-04-30 15:38:45 +0000
c9306c71ed2012-04-29 Jan Ringos <tringi@users.sf.net>
Chris Sutcliffe
2012-04-30 00:44:48 +0000
d5784676712012-04-28 LRN <l_r_nightmare@users.sf.net>
Chris Sutcliffe
2012-04-29 02:43:40 +0000
ea17849f8b* environ.cc (struct parse_thing): Add temporary (?) "pipe_byte" option. * globals.cc (pipe_byte): Declare. * pipe.cc (fhandler_pipe::create): Use current process id in pipe name rather than pid for simple name collision avoidance. Do this only once to avoid extra overhead when a busy pipe is found. Honor pipe_byte to create non-message pipes if set. * sigproc.cc (sigproc_init): Use a specific name for the signal pipe.
Christopher Faylor
2012-04-28 19:49:58 +0000
2875f31af2merge from gcc
DJ Delorie
2012-04-27 18:03:18 +0000
7ab2f71fa8Add support for SPARC T4 crypto instructions.
David S. Miller
2012-04-27 18:02:35 +0000
975da0d73aMove sparc opcode hwcaps out of sparc_opcode flags field.
David S. Miller
2012-04-27 18:01:35 +0000
3117fd3083Add new ELF_SPARC_HWCAP_* defines for features found on SPARC-T4.
David S. Miller
2012-04-27 18:00:52 +0000
0a5135e32a* faq-programming.xml (faq.programming.objective-c): Update for gcc4. (faq.programming.win32-api): -mwindows does include -lcomdlg32. (faq.programming.win32-no-cygwin): Update for removal of -mno-cygwin. * overview2.sgml (ov-ex-win): Ditto.
Yaakov Selkowitz
2012-04-23 21:46:46 +0000
f76ca72740add in preparation for release
Christopher Faylor
2012-04-23 15:18:54 +0000
8b4bd08220* dtable.cc (fh_alloc): Only disallow opening of nonexistent on-disk device. * path.cc (path_conv::check): Remove PATH_KEPT_HANDLE setting. * path.h (path_types): Remove PATH_KEPT_HANDLE. (path_conv::kept_handle): Delete now-unneeded function.
Christopher Faylor
2012-04-21 19:52:11 +0000
080f275bae* dtable.cc (fh_alloc): Keep fh which was flagged as error if it is for an on-disk device and we were stating it. * path.cc (path_conv::check): Set PATH_KEPT_HANDLE. * path.h (path_types): Add PATH_KEPT_HANDLE. (path_conv::kept_handle): Implement.
Christopher Faylor
2012-04-19 17:21:32 +0000
55dcba98db* fhandler.h (fhandler_base::nohandle): Revert to standard implementation. * dtable.cc (dtable::fixup_after_exec): Specifically reject releasing nohandle() type fhandlers rather than relying on contents of io_handle. (dtable::fixup_after_fork): Ditto. * fhandler_termios.cc: Add includes necessary for definitions of have_execed and have_execed_cygwin. (fhandler_termios::sigflush): Don't flush console input when we've started a non-Cygwin process.
Christopher Faylor
2012-04-18 05:57:38 +0000
c1d26a99cdreformat
Christopher Faylor
2012-04-15 17:56:50 +0000
aba77cbe8fwincap.h: Rename assitant to assistant throughout. wincap.cc: Ditto. * devices.in (exists_console): Use fhandler_console::exists () rather than raw test. * devices.cc: Regenerate. * fhandler.h (fhandler_console::exists): Define new function. * fhandler_console.cc (fhandler_console::need_invisible): Use fhandler_console::exists () rather than raw test. * spawn.cc: Rename assitant to assistant throughout. (child_info_spawn::worker): Simplify test for when to start a non-Cygwin process in its own process group. Just do it whenever we start a non-Cygwin process.
Christopher Faylor
2012-04-15 17:51:22 +0000
0a3819e655clarify latest entry
Christopher Faylor
2012-04-13 05:05:42 +0000
3bfa9d984b* devices.in (exists_console): Allow /dev/con{sole,in,out} to be referenced they exist. * devices.cc: Regenerate. * fhandler_console.cc (fhandler_console::set_unit): Ditto.
Christopher Faylor
2012-04-13 02:30:51 +0000
416b2d8719Support R_SPARC_WDISP10 and R_SPARC_H34.
David S. Miller
2012-04-12 16:26:04 +0000
0c91015243* configure.ac (ia64*-*-*vms*): Add support for ld. * configure: Regenerate.
Nick Clifton
2012-04-12 07:34:57 +0000
29243f0f87gdb: add callback defines for new ARGV handling
Michael Frysinger
2012-04-12 05:33:15 +0000
e62d782aec* syscalls.cc (fhandler_base::stat_fixup): Fix inode numbers of non-device files in virtual fileysystems.
Corinna Vinschen
2012-04-11 08:49:52 +0000
a281df5589merge from gcc
DJ Delorie
2012-04-10 17:07:28 +0000
1036f9f1bfbfd/ * elf.c (_bfd_elf_map_sections_to_segments): Set INFO->user_phdrs. * elf-nacl.c (nacl_modify_segment_map): Do nothing if INFO->user_phdrs. (nacl_modify_program_headers): Likewise.
Roland McGrath
2012-04-09 16:27:18 +0000
e5b7e4d1c7* dtable.cc (cygwin_attach_handle_to_fd): Defend against NULL return from build_fh_*. (dtable::init_std_file_from_handle): Ditto. * mmap.cc (mmap_record::alloc_fh): Ditto. * path.cc (path_conv::check): Ditto.
Christopher Faylor
2012-04-07 17:32:44 +0000
00ceaad134* fhandler.h (fhandler_base::nohandle): Implement "by hand" rather than through macro. Set io_handle to INVALID_HANDLE_VALUE when setting flag to true.
Christopher Faylor
2012-04-06 19:40:58 +0000
25fdb1ded1* path.c (path_conv::check): Avoid directly referencing fields of the dev structure when it can be easily avoided.
Christopher Faylor
2012-04-06 04:40:49 +0000
7217f94752Fix a couple of typos.
Christopher Faylor
2012-04-06 04:36:22 +0000
036fb4772c* mkgroup.c (print_special_by_sid): Rename from print_special. Change calls throughout. (print_special_by_name): New function. (main): Call print_special_by_name for TrustedInstaller account. * mkpasswd.c (print_special_by_sid): Rename from print_special. Change calls throughout. (print_special_by_name): New function. (enum_std_accounts): Call print_special_by_name for TrustedInstaller account.
Corinna Vinschen
2012-04-05 13:37:32 +0000
b475fe5497* passwd.cc (pwdgrp::read_passwd): Fix pretty_ls entry tyo contain the required number of colons.
Corinna Vinschen
2012-04-05 10:16:09 +0000
7b03b0d8ce* fhandler.h (fhandler_pty_common::bytes_available): Declare new function. (fhandler_pty_master::flush_to_slave): Ditto. * fhandler_tty.cc (bytes_available): Define new function. (fhandler_pty_common::bytes_available): Ditto. (handler_pty_master::flush_to_slave): Ditto. (fhandler_pty_master::process_slave_output): Call flush_to_slave () here. Use bytes_available () rather than PeekNamedPipe. Cleanup sloppy logic. (fhandler_pty_slave::read): Use bytes_available () rather than PeekNamedPipe. (fhandler_pty_slave::ioctl): Ditto. (fhandler_pty_master::ioctl): Ditto. (fhandler_pty_master::cleanup): Remove ancient #if 0. * select.cc (peek_pipe): Call flush_to_slave whenever we're checking for a pty master.
Christopher Faylor
2012-04-05 02:54:51 +0000
ffcd2c3f89* fhandler_nodevice.cc (fhandler_nodevice::open): Convert EROFS to ENOENT if non-existent file got opened for reading only. Explain why. * path.cc (path_conv::check): Stick to ENOENT if file has been opened for informational purposes only. Add to comment.
Corinna Vinschen
2012-04-04 12:45:24 +0000
ce508e512a* path.cc (path_conv::check): Convert device type to FH_FS for non-existant files on /dev, unless /dev itself doesn't exist on disk. Add comment to explain why.
Corinna Vinschen
2012-04-04 12:06:21 +0000