Maciej W. Rozycki
fc316f3a8e
* mips.h (ELF_ST_SET_MIPS_PIC): Clear any STO_MIPS16 setting.
2013-06-06 22:09:07 +00:00
Corinna Vinschen
8b7f83e68f
*** empty log message ***
2013-06-06 15:31:15 +00:00
Corinna Vinschen
b3f0fb6baa
* exceptions.cc (_cygtls::handle_SIGCONT): Simplify loop waiting for
...
sig_handle_tty_stop to wake up. Make sure to unlock before calling
yield to avoid starvation of sig_handle_tty_stop. Add comments.
* miscfuncs.cc (yield): Explain why yield should never be called under
_cygtls::lock conditions. Call SleepEx with 1ms timeout. Explain why.
2013-06-06 15:29:41 +00:00
Corinna Vinschen
925e1c8157
* libc/machine/arm/strcmp.S: Use local labels.
2013-06-05 09:41:21 +00:00
Corinna Vinschen
aa6aee7dd7
* include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 20.
2013-06-05 09:37:53 +00:00
Corinna Vinschen
111af357c2
* faq-copyright.xml: Fix link to license.
...
* faq-using.xml: Ditto.
* faq-what.xml: Ditto.
2013-06-05 09:36:58 +00:00
Corinna Vinschen
47b7ed597c
* faq-programming.xml: Convert url to refer to new flat faq.html file.
...
* faq-setup.xml: Ditto.
* faq-using.xml: Ditto.
* highlights.xml: Ditto.
2013-06-05 07:57:39 +00:00
Corinna Vinschen
338a3e8b15
* new-features.xml (ov-new1.7.19): Revert mandatory locking support to
...
"preliminary".
2013-06-05 07:23:07 +00:00
Corinna Vinschen
0ec4e9966a
*** empty log message ***
2013-06-05 07:21:56 +00:00
Corinna Vinschen
c0096b6069
* Makefile.in: Add rule to rebuild Makefile if Makefile.in changes.
...
Include Makefile.dep last.
(Makefile.dep): Run xidepend within source dir. Temporarily drop
faq.xml from dependencies.
* xidepend: Fix creating base filename to accommodate VPATH.
2013-06-04 11:50:41 +00:00
Corinna Vinschen
a0238d7084
* new-features.xml (ov-new1.7.19): Align mandatory locking text to
...
today's changes.
2013-06-04 11:14:34 +00:00
Corinna Vinschen
edd73646f3
* fhandler.cc (fhandler_base::lock): Move to flock.cc.
...
(fhandler_base::fixup_after_exec): Reset mandatory_locking.
* fhandler.h (class fhandler_base): Add mandatory_locking status flag.
Add mandatory_locking accessor methods. Accommodate change throughout.
(fhandler_base::mand_lock): Declare.
(class fhandler_disk_file): Drop in favor of new status flag.
* (fhandler_disk_file::fcntl): Call need_fork_fixup if mandatory_locking
flag gets set.
* flock.cc (fhandler_base::lock): Define here.
(flock): Handle mandatory_locking.
(lockf): Ditto.
(fhandler_base::mand_lock): Define.
2013-06-04 10:24:43 +00:00
Richard Earnshaw
ca1dd3a9b5
2013-06-03 Joey Ye <joey.ye@arm.com>
...
* libc/machine/arm/Makefile.am (MEMCPY_DEP): New define.
($(lpfx)memcpy.o, $(lpfx)memcpy.obj): Depend on MEMCPY_DEP.
* libc/machine/arm/Makefile.in: Regenerated.
* newlib/libc/machine/arm/memcpy-stub.c: Exclude armv7-m/armv7e-m.
* newlib/libc/machine/arm/memcpy-armv7m.S: New.
* newlib/libc/machine/arm/memcpy.S: Replace with wrapper code. Old
code moved to ...
* newlib/libc/machine/arm/memcpy-armv7a.S: ... here. Remove
redundant architecture check.
2013-06-03 14:02:10 +00:00
Corinna Vinschen
86c126b6e3
*** empty log message ***
2013-06-03 10:40:41 +00:00
Corinna Vinschen
69154cfd6b
* sigproc.cc (exit_thread): Allow to exit the thread while running
...
global dtors. Explain why.
2013-06-03 09:48:54 +00:00
Corinna Vinschen
8516b54215
Fix typo
2013-06-02 10:50:57 +00:00
Corinna Vinschen
40cc0986e3
* new-features.xml (ov-new1.7.19): Add mandatory locking.
2013-06-02 10:22:56 +00:00
Corinna Vinschen
a24ad2c346
* autoload.cc (CancelSynchronousIo): Define.
...
* fcntl.cc (fcntl64): Drop handling of locking commands.
* fhandler.h (class fhandler_disk_file): Add mandatory_locking.
(fhandler_disk_file::fcntl): Declare.
(fhandler_disk_file::mand_lock): Declare.
* fhandler_disk_file.cc (fhandler_disk_file::fhandler_disk_file):
Initialize mandatory_locking.
(fhandler_disk_file::fcntl): New method. Handle F_LCK_MANDATORY and
locking commands.
(fhandler_disk_file::dup): Duplicate mandatory_locking. Fix a bug
when duplicating prw_handle failed.
(fhandler_disk_file::fixup_after_fork): Reset mandatory_locking.
* flock.cc (fhandler_disk_file::lock): Add comment.
(struct lock_parms): New struct to pass parameters to blocking_lock_thr
thread function.
(blocking_lock_thr): New thread function.
(fhandler_disk_file::mand_lock): New methof implementing mandatory
locking with Windows semantics.
* ntdll.h (NtLockFile): Declare.
(NtUnlockFile): Declare.
* include/fcntl.h: Fix a comment.
(F_LCK_MANDATORY): Define. Add lengthy comment to explain.
2013-06-02 10:22:14 +00:00
Corinna Vinschen
fa35814af1
* exceptions.cc (exception::handle): Resurrect accidentally lost
...
patch from 2009-07-22: Set si_addr according to POSIX for SIGSEGV.
2013-06-02 09:11:09 +00:00
Denis Chertykov
01ab5147dd
* gas/config/tc-avr.c: Change ISA for devices with USB support to
...
AVR_ISA_XMEGAU
* include/opcode/avr.h: Rename AVR_ISA_XCH to AVR_ISA_RMW. Remove
from AVR_ISA_XMEGA and add new AVR_ISA_XMEGAU
2013-06-01 07:14:44 +00:00
Corinna Vinschen
cd9ca871b0
* include/sys/socket.h: Move SHUT_xx definitoins from here...
...
* include/cygwin/socket.h: ...to here.
2013-05-31 18:08:25 +00:00
Corinna Vinschen
697ce3c45f
*** empty log message ***
2013-05-31 08:41:39 +00:00
Corinna Vinschen
9fccd63bc3
* include/cygwin/if.h: Include cygwin/socket.h rather than sys/socket.h
...
to avoid circular dependency resulting in bogus compile time warnings.
2013-05-31 08:40:35 +00:00
Jeff Johnston
d15bce48e7
2013-05-30 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/machine/powerpc/times.c: Moved to libgloss/rs6000.
* libc/machine/powerpc/Makefile.am: Remove times.c.
* libc/machine/powerpc/Makefile.in: Regenerated.
2013-05-30 22:44:41 +00:00
Jeff Johnston
6d28d61df0
2013-05-30 Jeff Johnston <jjohnstn@redhat.com>
...
* rs6000/Makefile.in: Add sim-times support. This file has been
moved from newlib/libc/machine/powerpc and renamed.
* rs6000/sim-times.c: New file.
2013-05-30 22:44:04 +00:00
Catherine Moore
ac1f751fef
2013-05-30 Paul Brook <paul@codesourcery.com>
...
bfd/
* bfd-in2.h: Regenerate.
* elf32-mips.c (elf_mips_eh_howto): New.
(bfd_elf32_bfd_reloc_type_lookup ): Support BFD_RELOC_MIPS_EH.
(bfd_elf32_bfd_reloc_name_lookup): Likewise.
(mips_elf32_rtype_to_howto): Support R_MIPS_EH.
* elf64-mips.c (elf_mips_eh_howto): New.
(bfd_elf64_bfd_reloc_type_lookup): Support BFD_RELOC_MIPS_EH.
(bfd_elf64_bfd_reloc_name_lookup): Likewise.
(mips_elf64_rtype_to_howto): Support R_MIPS_EH.
* libbfd.h: Regenerate.
* reloc.c (BFD_RELOC_MIPS_EH): New.
gas/
* config/tc-mips.c (md_apply_fix): Support BFD_RELOC_MIPS_EH.
include/elf
* mips.h (R_MIPS_EH): New.
2013-05-30 20:27:21 +00:00
Corinna Vinschen
a83263b981
* configure.in (--enable-newlib-nano-malloc): New option.
...
* configure: Regenerated.
* libc/configure.in (--enable-newlib-nano-malloc): New option.
* libc/configure: Regenerated.
* libc/stdlib/Makefile.am (NEWLIB_NANO_MALLOC): Use.
* libc/stdlib/Makefile.in: Regenerated.
* libc/stdlib/nano-mallocr.c: New file, implementing nano
version malloc family functions.
2013-05-29 12:37:59 +00:00
Yufeng Zhang
6b6cafe933
Correct the relocation names for R_AARCH64_TLSDESC_LD_PREL19 and R_AARCH64_TLSDESC_ADR_PAGE21.
2013-05-28 16:39:51 +00:00
Corinna Vinschen
b09e6ec935
* fhandler_procsys.cc (fhandler_procsys::read): Just call
...
fhandler_base::raw_read from here. Drop comment.
(fhandler_procsys::write): Drop comment.
2013-05-28 15:07:01 +00:00
Richard Earnshaw
ef05ad03f2
* libc/macine/arm/strcpy.S: Explicitly set build attributes when
...
building for thumb1 targets.
2013-05-28 12:43:48 +00:00
Corinna Vinschen
0dd70ae521
*** empty log message ***
2013-05-27 19:41:54 +00:00
Corinna Vinschen
27a21b38c0
* dll_init.cc (dll_list::topsort): Fix early-return condition to
...
accommodate process with all runtime loaded DLLs already dlclosed
at fork time.
* gendef (_sigfe_maybe): Fix code handling early return if we don't
have a tls, broken on 2013-05-21.
2013-05-27 19:31:04 +00:00
Corinna Vinschen
7e925d9ac1
*** empty log message ***
2013-05-25 09:00:43 +00:00
Corinna Vinschen
10ce3cd70a
* Makefile.in (DEFS): Unused, remove.
...
(COMPILE.cc): Move -mno-use-libstdc-wrappers flag from here...
($(TEST_DLL_NAME)): ...to here since it's a link time flag.
2013-05-24 21:12:16 +00:00
Corinna Vinschen
6184e6b9c8
* pinfo.cc (pinfo::status_exit): Enhance comment.
2013-05-24 13:43:26 +00:00
Corinna Vinschen
1a5dfe8ae0
* environ.cc (win_env::add_cache): Set the Windows environment variable
...
using wide chars to make sure native chars don't get scrambled.
* environ.h (build_env): Fix formatting in declaration.
* pinfo.cc (pinfo::status_exit): Handle STATUS_NO_MEMORY. Explain why.
2013-05-24 13:32:10 +00:00
Corinna Vinschen
592989d65c
* fork.cc (frok::parent): Always set CREATE_UNICODE_ENVIRONMENT flag.
...
Explain why.
2013-05-24 08:43:43 +00:00
Corinna Vinschen
61fb9713c6
* fork.cc (frok::parent): Call CreateProcessW with command line set
...
to the parent command line. Change comment to explain why.
2013-05-23 20:47:45 +00:00
Corinna Vinschen
c6696a3426
* dcrt0.cc (child_info_fork::alloc_stack_hard_way): Fix datatype of
...
stacksize to SIZE_T. Cast to SIZE_T in pointer arithmetic. Slightly
enhance output in case of a fatal error.
* fork.cc (frok::parent): Always set ch.stackaddr to DeallocationStack
value of current thread to help stack reservation in
child_info_fork::alloc_stack_hard_way along. Simplify subsequent code
storing stack values in ch. Print guardsize in hex, too.
2013-05-23 20:10:35 +00:00
Warren Young
df7a7e2e82
.
2013-05-23 19:03:19 +00:00
Warren Young
42d724c92a
Created xidepend mechanism
2013-05-23 19:02:46 +00:00
Corinna Vinschen
cc88e009ed
* libc/ctype/isalnum.c: Correct domain of definition to SUSv4 wording.
...
* libc/ctype/isalpha.c: Ditto.
* libc/ctype/isblank.c: Ditto.
* libc/ctype/iscntrl.c: Ditto.
* libc/ctype/isdigit.c: Ditto.
* libc/ctype/islower.c: Ditto.
* libc/ctype/isprint.c: Ditto.
* libc/ctype/ispunct.c: Ditto.
* libc/ctype/isxdigit.c: Ditto.
2013-05-23 14:46:51 +00:00
Corinna Vinschen
6d383d0fde
* cygwinenv.xml (cygwinenv-implemented-options): Explain new
...
winsymliks:nativestrict option. Strip out description of symlink types
and refer to new pathnames-symlinks section.
* highlights.xml (ov-hi-files): Rip out most of symlink description and
refer to new pathnames-symlinks section instead.
* new-features.xml (ov-new1.7.19): Add CYGWIN=winsymlinks:nativestrict.
* pathnames.xml (pathnames-symlinks): New section describing symbolic
link handling.
2013-05-23 14:26:53 +00:00
Corinna Vinschen
33cb946e7e
* environ.cc (set_winsymlinks): Handle "winsymlinks:nativestrict"
...
option. On pre-Vista warn the user if the "winsymlinks:native*" option
is set.
* globals.cc (enum winsym_t): Add WSYM_nativestrict.
* path.cc (symlink_native): Don't create native symlink if target
does not exist. Explain why. Improve comments.
(symlink_worker): Change AFS symlink handling to WSYM_nativestrict.
Handle WSYM_nativestrict throughout. Change condition for bail out
to wsym_type == WSYM_nativestrict. Add comment. Fix formatting.
* shared_info.h (CURR_USER_MAGIC): Change to reflect change in
class user_info.
(class user_info): Add member warned_nonativesyms.
2013-05-23 14:23:01 +00:00
Richard Sandiford
08fd0f6438
include/opcode/
...
2013-05-22 Jürgen Urban <JuergenUrban@gmx.de>
* mips.h (M_LQC2_AB, M_SQC2_AB): New macros.
opcodes/
2013-05-22 Jürgen Urban <JuergenUrban@gmx.de>
* mips-opc.c (mips_builtin_opcodes): Add R5900 VU0 instructions.
gas/
2013-05-22 Jürgen Urban <JuergenUrban@gmx.de>
* config/tc-mips.c (macro): Handle M_LQC2_AB and M_SQC2_AB.
gas/testsuite/
2013-05-22 Jürgen Urban <JuergenUrban@gmx.de>
* gas/mips/r5900-full.s, gas/mips/r5900-full.d: Add tests for LQ
and SQ macros.
* gas/mips/r5900-vu0.s, gas/mips/r5900-vu0.d: New test.
* gas/mips/mips.exp: Run it.
2013-05-22 18:08:25 +00:00
Corinna Vinschen
742fb38c56
* libc/include/sys/cdefs.h (_Static_assert): Accommodate gcc >= 4.6.
2013-05-22 17:53:07 +00:00
H.J. Lu
14afd12bcd
Add EM_INTEL205 to EM_INTEL209
...
* common.h (EM_INTEL205): New.
(EM_INTEL206): Likewise.
(EM_INTEL207): Likewise.
(EM_INTEL208): Likewise.
(EM_INTEL209): Likewise.
2013-05-22 17:02:35 +00:00
Corinna Vinschen
c20a5e603a
* spinlock.h (ULONG): Replace LONG operator with ULONG to accommodate
...
the fact that CURR_SHARED_MAGIC and USER_SHARED_MAGIC are unsigned
values.
* shared.cc (shared_info::initialize): Drop explicit cast here.
2013-05-22 16:55:55 +00:00
Corinna Vinschen
7dfacd3869
* new-features.sgml (ov-new1.7.19): Add arc4random,
...
arc4random_addrandom, arc4random_buf, arc4random_stir and
arc4random_uniform.
2013-05-21 19:10:06 +00:00
Corinna Vinschen
3e096c5010
Add missing ChangeLog entry for former checkin.
2013-05-21 19:07:52 +00:00