Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-06-08Avoid compiler warning in latest patchcygwin-2_0_4-releaseCorinna Vinschen
* pinfo.cc (_pinfo::cwd): Initialize s to avoid comiler warning. (_pinfo::cmdline): Ditto. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2015-06-08Evaluate /proc/$PID/{root,cwd,cmdline} for native processesCorinna Vinschen
* pinfo.cc (_pinfo::root): Fake default root for native processes. (open_commune_proc_parms): New helper function to access process parameter block. (_pinfo::cwd): Fetch missing cwd for native processes from processes parameter block. (_pinfo::cmdline): Ditto for command line. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2015-06-08add bind mount fix to release notesCorinna Vinschen
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2015-06-08Bind mounts require POSIX pathsCorinna Vinschen
* path.cc (from_fstab_line): Don't convert slashes to backslashes for bind mounts. Explain why. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2015-06-08winsup/doc: Remove ancient unused Makefile rules to make documentation tarballJon TURNEY
This used to be used by cygwin-doc to make a tarball which would be used with a ssh script to run docbook tools on a linux host since they weren't available on Cygwin or something crazy like that... 2015-06-04 Jon Turney <jon.turney@dronecode.org.uk> * Makefile.in: Remove ancient unused rules to make a documentation tarball. Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2015-06-08Avoid delays trying to fetch Cygwin info from non-Cygwin processesCorinna Vinschen
* pinfo.cc (_pinfo::commune_request): Don't try to send commune requests to non-Cygwin processes. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2015-06-08Generate SIGHUP for terminal process group on tty master closeTakashi Yano
* fhandler_tty.cc (fhandler_pty_slave::write): Move causing of SIGHUP into fhandler_pty_master::close(). (fhandler_pty_slave::read): Ditto. (fhandler_pty_master::close): Ditto. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2015-06-08Bump minor DLL version to 4Corinna Vinschen
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2015-06-03Add Cygwin 2.0.3 release filecygwin-2_0_3-releaseCorinna Vinschen
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2015-06-02Bump minor DLL version to 3Corinna Vinschen
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2015-06-01Remove mention of installing everythingJon TURNEY
An estimate of the size of installing of "hundreds of megabytes" is wildly out of date. Just remove mention of installing everything, since it is nearly always not a good idea. 2015-06-01 Jon Turney <jon.turney@dronecode.org.uk> * ov-ex-unix.xml: Remove unhelpful mention of and inaccurate size estimate for installing everything. * ov-ex-win.xml: Ditto. Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2015-06-01Update the assembler code to support old ARM architectures.Hale Wang
* libc/machine/arm/aeabi_memmove-arm.S (__aeabi_memmove): Update the assembler implementation. * libc/machine/arm/aeabi_memmove-thumb.S (__aeabi_memmove): Ditto. * libc/machine/arm/aeabi_memmove-thumb2.S (__aeabi_memmove): Ditto. * libc/machine/arm/aeabi_memset-arm.S (__aeabi_memset): Ditto. * libc/machine/arm/aeabi_memset-thumb.S (__aeabi_memset): Ditto. * libc/machine/arm/aeabi_memset-thumb2.S (__aeabi_memset): Ditto. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2015-06-01aarch64: fabs and sqrt implementation with inline asmSzabolcs Nagy
* libm/machine/aarch64/e_sqrt.c: New file. * libm/machine/aarch64/ef_sqrt.c: New file. * libm/machine/aarch64/s_fabs.c: New file. * libm/machine/aarch64/sf_fabs.c: New file. * libm/machine/aarch64/Makefile.in: Add new source files. * libm/machine/aarch64/Makefile.am: Regenerate. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2015-06-01Correct argz_replace behaviour when memory is exhausted.David Stacey
* libc/argz/argz_replace.c (argz_replace): Correct behaviour when memory is exhausted. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2015-05-29Fold branch cygwin-2.0 into masterCorinna Vinschen
Make master equivalent to cygwin-2.0 without losing history of both branches.
2015-05-28Fix comment in sys/wait.hcygwin-2.0Corinna Vinschen
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2015-05-28Fix comment in sys/wait.hCorinna Vinschen
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2015-05-28Use NtQueryObject to detect closing the last master handleCorinna Vinschen
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2015-05-28Use NtQueryObject to detect closing the last master handleCorinna Vinschen
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2015-05-27* net.cc: Define _NETIOAPI_H_ to accomodate newer w32api.Takashi Yano
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2015-05-27Fix potential memory leak in argz_replaceDavid Stacey
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2015-05-27Avoid unneeded truncation to "int"newlib-snapshot-20150526DJ Delorie
* libm/math/e_sqrt.c (__ieee754_sqrt): Don't truncate constant to "int".
2015-05-27or1k: Add missing initialization of impure ptrJeff Johnston
* or1k/impure.c: Fix initialization of impure ptr
2015-05-27or1k: set heap start for optimsoc-gzllJeff Johnston
- With the gzll kernel we have two different loading options: - If the image is loaded to the global memory, the bootstrapping loads the kernel to local memory. Applications are loaded on demand. The heap then starts right after bss. - If the image is pre-loaded to the local memory it includes the application binaries right after bss. The heap then starts after the application objects. - We can check if this is a gzll kernel as it has the string "gzll" at 0x2000. At 0x200c we then find the end of the application objects in the image. If there is no global memory we set _or1k_heap_start to this value. * or1k/boards/optimsoc.S: Heap for gzll kernel
2015-05-27or1k: Make heap start configurableJeff Johnston
- Previously the heap started right after the bss section. This can now be configured by changing the _or1k_heap_start symbol that defaults to the old value (&end). In board_init_early, we can now set this to another value. * or1k/sbrk.c: Allow for different heap start
2015-05-27or1k: UART also accept timeout interruptJeff Johnston
- The UART interrupt only handled receiver FIFO full interrupts, but we also want to handle timeout interrupts. * or1k/or1k_uart.c: Fix interrupts
2015-05-27Bug fix in timer for or1kJeff Johnston
- Properly set the interrupt pending flag in the timer mode register. * or1k/timer.c: Properly set interrupt flags
2015-05-27Store entire context for or1kJeff Johnston
- Store the exception program counter (from EPCR) and exception status register (from ESR) also during the exception. A runtime system may replace them thereby to implement a thread switch. * or1k/exception-asm.S: Store missing state
2015-05-27Fix exception stack frame for or1kJeff Johnston
- We do not need a red zone here, as we do not operate on the current stack, but always use the clear exception stack. Also reserve two extra words for the context to store EPCR and ESR. * or1k/crt0.S: Fix exception stack frame * or1k/exception-asm.S: ditto
2015-05-27Fix interrupt handling for or1k.Jeff Johnston
- During interrupt handling the PICSR, table pointers and current interrupt line have been saved in incorrect registers and/or stored on the stack. - Save the pointer in r16/r18, PICSR in r20 and the current interrupt line in r22. Those are callee-saved registers, so that the register values will be preserved. * or1k/interruts-asm.S: Change registers to callee-saved.
2015-05-27Add a check that the data area does not overrun the stack.Nick Clifton
* msp430/msp430-sim.ld (.stack): Add an assertion to make sure that the data area does not overrun the stack. PROVIDE a new symbol __stack_size to allow the user to set the limit. * msp430/msp430xl-sim.ld (.stack): Likewise. * rl78/rl78-sim.ld (.stack): Likewise. * rl78/rl78.ld (.stack): Likewise. * rx/rx-sim.ld (.stack): Likewise. * rx/rx.ld (.stack): Likewise.
2015-05-27Update signbit functions to work on targets where integers are only 16-bits.Nick Clifton
* libm/common/s_signbit.c (__signbitf): Fix for 16-bit targets. (__signbitd): Likewise.
2015-05-27Adds support for placing MSP430 code and data into either low memory or high ↵Nick Clifton
memory. * msp430/msp430.ld: Delete. * msp430/msp430F5438A-l.ld: Delete. * msp430/msp430F5438A-s.ld: Delete. * msp430/crt_movedata.S: Delete. * msp430/Makefile.in (SCRIPTS): Remove msp430.ld. (CRT_OBJS): Add crt_move_highdata.o. * msp430/memmodel.h (START_CRT_FUNC): New macro. (END_CRT_FUNC): New macro. (WEAK_DEF): New macro. * msp430/crt0.S: Use new macros. (move_highdata): New code to initialise the .data section if it is held in high memory. * msp430/msp430-sim.ld (.data): Add .either.data. (.rodata2): Move some read-only data sections here. (.text): Add .either.text. (.rodata): Add .either.rodata. (.bss): Add .either.bss. * msp430/msp430xl-sim.ld (MEMORY): Add HIROM. (.rodata2): Move some read-only data sections here. (.upper.data): New section. Include notes about how to initialise it.
2015-05-27* net.cc: Define _NETIOAPI_H_ to accomodate newer w32api.Takashi Yano
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2015-05-27Fix potential memory leak in argz_replaceDavid Stacey
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2015-05-27Avoid unneeded truncation to "int"DJ Delorie
* libm/math/e_sqrt.c (__ieee754_sqrt): Don't truncate constant to "int".
2015-05-26or1k: Add missing initialization of impure ptrJeff Johnston
* or1k/impure.c: Fix initialization of impure ptr
2015-05-26or1k: set heap start for optimsoc-gzllJeff Johnston
- With the gzll kernel we have two different loading options: - If the image is loaded to the global memory, the bootstrapping loads the kernel to local memory. Applications are loaded on demand. The heap then starts right after bss. - If the image is pre-loaded to the local memory it includes the application binaries right after bss. The heap then starts after the application objects. - We can check if this is a gzll kernel as it has the string "gzll" at 0x2000. At 0x200c we then find the end of the application objects in the image. If there is no global memory we set _or1k_heap_start to this value. * or1k/boards/optimsoc.S: Heap for gzll kernel
2015-05-26or1k: Make heap start configurableJeff Johnston
- Previously the heap started right after the bss section. This can now be configured by changing the _or1k_heap_start symbol that defaults to the old value (&end). In board_init_early, we can now set this to another value. * or1k/sbrk.c: Allow for different heap start
2015-05-26or1k: UART also accept timeout interruptJeff Johnston
- The UART interrupt only handled receiver FIFO full interrupts, but we also want to handle timeout interrupts. * or1k/or1k_uart.c: Fix interrupts
2015-05-26Bug fix in timer for or1kJeff Johnston
- Properly set the interrupt pending flag in the timer mode register. * or1k/timer.c: Properly set interrupt flags
2015-05-26Store entire context for or1kJeff Johnston
- Store the exception program counter (from EPCR) and exception status register (from ESR) also during the exception. A runtime system may replace them thereby to implement a thread switch. * or1k/exception-asm.S: Store missing state
2015-05-26Fix exception stack frame for or1kJeff Johnston
- We do not need a red zone here, as we do not operate on the current stack, but always use the clear exception stack. Also reserve two extra words for the context to store EPCR and ESR. * or1k/crt0.S: Fix exception stack frame * or1k/exception-asm.S: ditto
2015-05-26Fix interrupt handling for or1k.Jeff Johnston
- During interrupt handling the PICSR, table pointers and current interrupt line have been saved in incorrect registers and/or stored on the stack. - Save the pointer in r16/r18, PICSR in r20 and the current interrupt line in r22. Those are callee-saved registers, so that the register values will be preserved. * or1k/interruts-asm.S: Change registers to callee-saved.
2015-05-18Add a check that the data area does not overrun the stack.Nick Clifton
* msp430/msp430-sim.ld (.stack): Add an assertion to make sure that the data area does not overrun the stack. PROVIDE a new symbol __stack_size to allow the user to set the limit. * msp430/msp430xl-sim.ld (.stack): Likewise. * rl78/rl78-sim.ld (.stack): Likewise. * rl78/rl78.ld (.stack): Likewise. * rx/rx-sim.ld (.stack): Likewise. * rx/rx.ld (.stack): Likewise.
2015-05-13Update signbit functions to work on targets where integers are only 16-bits.Nick Clifton
* libm/common/s_signbit.c (__signbitf): Fix for 16-bit targets. (__signbitd): Likewise.
2015-05-05Adds support for placing MSP430 code and data into either low memory or high ↵Nick Clifton
memory. * msp430/msp430.ld: Delete. * msp430/msp430F5438A-l.ld: Delete. * msp430/msp430F5438A-s.ld: Delete. * msp430/crt_movedata.S: Delete. * msp430/Makefile.in (SCRIPTS): Remove msp430.ld. (CRT_OBJS): Add crt_move_highdata.o. * msp430/memmodel.h (START_CRT_FUNC): New macro. (END_CRT_FUNC): New macro. (WEAK_DEF): New macro. * msp430/crt0.S: Use new macros. (move_highdata): New code to initialise the .data section if it is held in high memory. * msp430/msp430-sim.ld (.data): Add .either.data. (.rodata2): Move some read-only data sections here. (.text): Add .either.text. (.rodata): Add .either.rodata. (.bss): Add .either.bss. * msp430/msp430xl-sim.ld (MEMORY): Add HIROM. (.rodata2): Move some read-only data sections here. (.upper.data): New section. Include notes about how to initialise it.
2015-05-03Bump minor DLL version to 2Corinna Vinschen
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2015-05-03Revert to exposing sys/select.h from sys/time.h on CygwinCorinna Vinschen
* libc/include/sys/time.h: Include sys/select.h on Cygwin. Explain why. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2015-05-03Bump minor DLL version to 1Corinna Vinschen
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>