Jeff Johnston
b397593c94
2005-11-08 Tom Walsh <tom@openhardware.net>
...
* libc/time/tzvars.c: New file.
* libc/time/tzset_r.c: Moved globals into tzvars.c
so other time functions needn't link in __tzset_r and its
dependencies.
* libc/time/Makefile.am: Add the new file.
* libc/time/Makefile.in: Regenerated.
2005-11-08 22:44:16 +00:00
Christopher Faylor
86c6c4212f
* libc/include/string.h: Add cygwin-specific function declaration.
2005-11-08 22:10:33 +00:00
Christopher Faylor
14f7b567cc
fix entry
2005-11-08 22:08:59 +00:00
Christopher Faylor
42cd8528aa
* memmem.cc: New file.
...
* include/cygwin/version.h: Bump API version number to 142.
* cygwin.din: Export memmem.
2005-11-08 22:08:39 +00:00
Christopher Faylor
1f99dd3ecf
* environ.cc (spenvs): Make "SYSTEMDRIVE" an "always export".
2005-11-08 16:32:09 +00:00
Nathan Sidwell
2b7992f5ad
bfd:
...
Add ms2.
* archures.c (bfd_mach_ms2): Define.
* cpu-ms1.c (arch_info_struct): Add ms2 stanza.
* elf32-ms1.c (elf32_ms1_machine): Add ms2 case.
(ms1_elf_merge_private_bfd_data): Remove unused variables. Add
correct merging logic, with workaround.
(ms1_elf_print_private_bfd_data): Add ms2 case.
* reloc.c (BFD_RELOC_MS1_PCINSN8): Add ms2 specific reloc.
* libbfd.h: Regenerated.
* bfd-in2.h: Regenerated.
cpu:
Add ms2
* ms1.cpu (ms2, ms2bf): New architecture variant, cpu, machine and
model.
(f-uu8, f-uu1, f-imm16l, f-loopo, f-cb1sel, f-cb2sel, f-cb1incr,
f-cb2incr, f-rc3): New fields.
(LOOP): New instruction.
(JAL-HAZARD): New hazard.
(imm16o, loopsize, imm16l, rc3, cb1sel, cb2sel, cb1incr, cb2incr):
New operands.
(mul, muli, dbnz, iflush): Enable for ms2
(jal, reti): Has JAL-HAZARD.
(ldctxt, ldfb, stfb): Only ms1.
(fbcb): Only ms1,ms1-003.
(wfbinc, mefbinc, wfbincr, mwfbincr, fbcbincs, mfbcbincs,
fbcbincrs, mfbcbincrs): Enable for ms2.
(loop, loopu, dfbc, dwfb, fbwfb, dfbr): New ms2 insns.
* ms1.opc (parse_loopsize): New.
(parse_imm16): hi16/lo16 relocs are applicable to IMM16L.
(print_pcrel): New.
gas:
Add ms2.
* config/tc-ms1.c (ms1_mach_bitmask): Initialize to MS1.
(ms1_architectures): Add ms2.
(md_parse_option): Add ms2.
(md_show_usage): Add ms2.
(md_assemble): Add JAL_HAZARD detection logic.
(md_cgen_lookup_reloc): Add MS1_OPERAND_LOOPSIZE case.
* doc/c-ms1.texi: New.
* doc/all.texi: Add MS1.
* doc/Makefile.am (CPU_DOCS): Add c-ms1.texi.
* doc/Makefile.in: Rebuilt.
* doc/Makefile: Rebuilt.
gas/testsuite:
Add ms2.
* gas/ms1/allinsn.d: Adjust pcrel disassembly.
* gas/ms1/errors.exp: Fix target triplet.
* gas/ms1/ms1-16-003.d: Adjust pcrel disassembly.
* gas/ms1/ms1-16-003.s: Tweak label.
* gas/ms1/ms1.exp: Adjust target triplet. Add ms2 test.
* gas/ms1/ms2.d, gas/ms1/ms2.s: New.
* gas/ms1/relocs.d: Adjust expected machine name and pcrel
disassembly.
* gas/ms1/relocs.exp: Adjust target triplet.
include:
Add ms2.
* elf/ms1.h (EF_MS1_CPU_MS2): New.
opcodes:
Add ms2.
* ms1-asm.c, ms1-desc.c, ms1-desc.h, ms1-dis.c, ms1-ibld.c,
ms1-opc.c, ms1-opc.h: Regenerated.
2005-11-08 11:15:12 +00:00
Corinna Vinschen
39f7ae0616
* times.cc (futimes): Redirect to utimes_worker if given file
...
descriptor is opened R/O.
2005-11-07 17:08:08 +00:00
John David Anglin
835cc311c3
* elf/hppa.h (R_PARISC_DIR64WR, R_PARISC_DIR64DR): Remove relocs.
2005-11-07 00:08:35 +00:00
Christopher Faylor
2b91e0dac4
* dcrt0.cc (dll_crt0_0): Initialize security data first so that it can be used
...
by subsequent handle creation.
2005-11-06 14:02:33 +00:00
Christopher Faylor
72319550c1
* cygheap.h (init_cygheap::_gtod): New hires_ms element.
...
* hires.h (hires_ms::minperiod): Remove static designation.
(hires::began_period): New field.
* signal.cc: Include headers required for cygheap.h now that gtod lives in the
cygheap.
* timer.c: Ditto.
* times.cc (gtod): Delete variable.
(gtod::minperiod): Ditto.
(gtod::began_period): Define.
(hires_ms::prime): Add more debugging output. Call timeBeginPeriod only when
!began_period.
2005-11-04 20:45:56 +00:00
Christopher Faylor
f359a29fc8
* times.cc (hires_ms::prime): More debugging.
...
(hires_ms::usecs): Ditto.
2005-11-04 17:38:32 +00:00
Danny Smith
39dd399c50
2005-11-04 Michael Jung <mjung@iss.tu-darmstadt.de>
...
* lib/shell32.c (CLSID_ShellFSFolder): Add GUID.
2005-11-04 02:19:26 +00:00
Christopher Faylor
86548162b0
* times.cc (stupid_printf): Define and use throughout -- temporarily.
2005-11-04 02:01:45 +00:00
Jeff Johnston
15eaca1c3f
2005-11-03 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/unix/getcwd.c: Don't use non-reentrant syscall names.
* libc/unix/getlogin.c: Ditto.
* libc/unix/getpass.c: Ditto.
* libc/unix/getut.c: Ditto.
* libc/unix/ttyname.c: Ditto.
2005-11-03 20:47:50 +00:00
Jeff Johnston
d31a862312
2005-11-03 Shaun Jackman <sjackman@gmail.com>
...
* libc/include/sys/unistd.h (readlink, symlink): Provide these
prototypes by default.
* libc/sys/linux/include/unistd.h (readlink): Remove this
prototype.
* libc/sys/linux/sys/unistd.h (readlink, symlink): New
prototypes.
2005-11-03 16:52:15 +00:00
Christopher Faylor
314f743e1e
* times.cc (hires_ms::prime): Add lots of temporary debugging output.
2005-11-03 14:59:23 +00:00
Danny Smith
cdf5300155
* lib/crypt32.def (CertOIDToAlgId, CertAlgIDToOID, CryptProtectData,
...
CryptUnprotectData, CryptDecodeObjectEx, CryptEncodeObjectEx,
CryptRegisterOIDFunction, CryptUnregisterOIDFunction): Add stubs.
Thanks to: F Richter <res2002 at users dot sourceforge dot net>
Fix some ChangeLog whitespace.
2005-11-03 08:21:18 +00:00
Alan Modra
161a8490fb
* bfdlink.h (struct bfd_link_order): Tweak comment.
2005-11-03 02:52:51 +00:00
Christopher Faylor
369adcf72f
* times.cc (hires_ms::minperiod): Make copy-on-fork.
...
(gettimeofday): Remove temporary debugging.
(hires_us::prime): Add lots of temporary debugging output.
2005-11-03 02:41:51 +00:00
Christopher Faylor
1c2812f80e
* times.cc (gettimeofday): Add temporary debugging output.
2005-11-02 18:28:40 +00:00
Jeff Johnston
71ac53ee13
2005-11-01 Ralf Corsepius <ralf.corsepius@rtems.org>
...
* libc/include/stdint.h: Cleanup #if vs. #ifdef.
2005-11-01 22:26:21 +00:00
Christopher Faylor
b7bb9f5fde
* include/sys/cygwin.h: Define CYGWIN_SIGNAL_STRING.
...
* exceptins.cc (sigpacket::process): Send a _CYGWIN_SIGNAL_STRING to gdb if the
process is being debugged. A WIP.
2005-11-01 05:55:30 +00:00
Jeff Johnston
dc1b6289a6
2005-10-31 Darin Johnson <darin@usa.net>
...
* libm/mathfp/s_mathcnst.c: Fix endian-ness check to be
correct for constants.
2005-10-31 18:47:20 +00:00
DJ Delorie
00ee7d4e99
merge from gcc
2005-10-31 18:01:16 +00:00
Chris Sutcliffe
ecb476c165
2005-10-29 Chris Sutcliffe <ir0nh34d@users.sf.net>
...
* include/objbase.h: Fix typo.
* include/w32api.h: Increment version to 3.5.
* Makefile.in: Ditto.
2005-10-30 00:07:58 +00:00
Christopher Faylor
0dc249751d
* exceptions.cc (signal_exit): Eliminate setting of main thread priority since
...
process lock should make that unnecessary.
* fork.cc (stack_base): Eliminate.
(frok::parent): Subsume stack_base and just set stack stuff here. Report on
priority class in debugging output.
* spawn.cc (spawn_guts): Report on priority class in debugging output.
2005-10-29 20:33:59 +00:00
Christopher Faylor
f02b22dcee
* fork.cc (frok::child): Change order of cleanup prior to return.
...
(fork): Save more of the stack.
* gendef: Fix some comments.
* sigproc.cc (wait_sig): Clarify debug output.
2005-10-29 15:19:34 +00:00
Christopher Faylor
c85263884a
* child_info.h (CHILD_INFO_MAGIC): Reset.
2005-10-29 15:05:55 +00:00
Jeff Johnston
884c0ff016
2005-10-28 Bob Wilson <bob.wilson@acm.org>
...
* libc/stdio/siprintf.c: Wrap long lines in ANSI_SYNOPSIS.
* libc/stdio/siscanf.c: Likewise.
* libc/stdio/sprintf.c: Likewise.
* libc/stdio/sscanf.c: Likewise.
* libc/stdio/vfprintf.c: Likewise.
* libc/stdio/vfscanf.c: Likewise.
* libc/stdio/viprintf.c: Likewise.
* libc/stdio/viscanf.c: Likewise.
2005-10-28 21:38:59 +00:00
Jeff Johnston
a9c15f6feb
2005-10-28 Bob Wilson <bob.wilson@acm.org>
...
* libc/sys.tex (Stubs): Format examples consistently. Change sbrk
example to use "_end" symbol instead of "end". Change write example
to use "outbyte" instead of "writechar".
2005-10-28 21:36:05 +00:00
Jeff Johnston
a306ebc97e
2005-10-28 Bob Wilson <bob.wilson@acm.org>
...
* libc/ctype/ctype.tex: Use hyphens as appropriate, but not otherwise.
* libc/ctype/islower.c: Likewise.
* libc/ctype/isupper.c: Likewise.
* libc/ctype/iswalnum.c: Likewise.
* libc/ctype/iswalpha.c: Likewise.
* libc/ctype/iswblank.c: Likewise.
* libc/ctype/iswcntrl.c: Likewise.
* libc/ctype/iswdigit.c: Likewise.
* libc/ctype/iswgraph.c: Likewise.
* libc/ctype/iswlower.c: Likewise.
* libc/ctype/iswprint.c: Likewise.
* libc/ctype/iswpunct.c: Likewise.
* libc/ctype/iswspace.c: Likewise.
* libc/ctype/iswupper.c: Likewise.
* libc/ctype/iswxdigit.c: Likewise.
* libc/ctype/tolower.c: Likewise.
* libc/ctype/toupper.c: Likewise.
* libc/ctype/towctrans.c: Likewise.
* libc/ctype/towlower.c: Likewise.
* libc/ctype/towupper.c: Likewise.
* libc/string/strcasecmp.c: Likewise.
* libc/string/strcoll.c: Likewise.
* libc/string/strings.tex: Likewise.
* libc/string/strlwr.c: Likewise.
* libc/string/strncasecmp.c: Likewise.
* libc/string/strupr.c: Likewise.
* libc/string/wcscoll.c: Likewise.
* libc/string/wcslcat.c: Likewise.
* libc/string/wcslcpy.c: Likewise.
* libc/string/wcsnlen.c: Likewise.
* libc/string/wcsstr.c: Likewise.
* libc/string/wcstrings.tex: Likewise.
* libc/string/wmemchr.c: Likewise.
* libc/string/wmemcmp.c: Likewise.
* libc/string/wmemcpy.c: Likewise.
* libc/string/wmemmove.c: Likewise.
* libc/string/wmemset.c: Likewise.
2005-10-28 21:33:23 +00:00
Jeff Johnston
239c2bf93e
2005-10-28 Bob Wilson <bob.wilson@acm.org>
...
* libc/misc/unctrl.c: Replace FUNCTION description.
* libc/signal/signal.c: Remove documentation for raise and _raise_r.
* libc/stdio/getdelim.c: Fix spelling errors.
* libc/stdio/getw.c: Put RETURNS on a separate line. Fix punctuation.
* libc/stdio/putw.c: Likewise.
* libc/stdlib/a64l.c: Fix formatting, spelling and punctuation in
documentation.
* libc/stdlib/assert.c: Do not capitalize FUNCTION description.
* libc/stdlib/efgcvt.c: Add spaces to FUNCTION description.
* libc/stdlib/envlock.c: Use em-dash in FUNCTION description.
* libc/stdlib/mlock.c: Likewise.
* libc/stdlib/mstats.c: Likewise.
* libc/time/tzlock.c: Likewise.
* libc/stdlib/rand.c: Use "multi-threaded" and "thread-safe" in NOTES.
* libc/stdlib/rand48.c: Remove extra space in FUNCTION description
and hyphenate "pseudo-random".
* libc/string/bcmp.c: Remove extra blank lines in documentation.
* libc/string/strncat.c: Likewise.
* libc/string/memchr.c: Remove extra ">" character in documentation.
* libc/string/strcspn.c: Use "characters" instead of "chars".
* libc/string/strpbrk.c: Likewise.
* libc/string/strerror_r.c: Capitalize "GNU".
* libc/string/strnlen.c: Likewise.
* libc/string/strtok.c: Fix formatting, spelling and punctuation in
documentation. Use "multi-threaded" and "thread-safe" in NOTES.
* libc/string/wcscat.c: Split PORTABILITY into two paragraphs.
* libc/string/wcschr.c: Likewise.
* libc/string/wcscmp.c: Likewise.
* libc/string/wcscpy.c: Likewise.
* libc/string/wcscspn.c: Likewise.
* libc/string/wcslen.c: Likewise.
* libc/string/wcsncat.c: Likewise.
* libc/string/wcsncmp.c: Likewise.
* libc/string/wcsncpy.c: Likewise.
* libc/string/wcsnlen.c: Likewise.
* libc/string/wcspbrk.c: Likewise.
* libc/string/wcsrchr.c: Likewise.
* libc/string/wcsspn.c: Likewise.
* libc/string/wmemchr.c: Likewise.
* libc/string/wmemcmp.c: Likewise.
* libc/string/wmemcpy.c: Likewise.
* libc/string/wmemset.c: Likewise.
* libc/string/wmemmove.c: Likewise. Also fix FUNCTION description.
* libc/string/wcswidth.c: Formatting and punctuation in documentation.
* libc/string/wcwidth.c: Likewise.
* libm/common/s_modf.c: Remove extra period from documentation.
* libm/math/s_isnan.c: Fix formatting, grammar and punctuation in
documentation.
* libm/mathfp/s_isnan.c: Likewise.
* libm/math/s_ldexp.c: Fix punctuation.
* libm/mathfp/s_ldexp.c: Likewise.
* libm/math/w_log.c: Likewise.
* libm/mathfp/s_logarithm.c: Likewise.
* libm/math/w_j0.c: Add spaces to FUNCTION description.
* libm/mathfp/w_jn.c: Likewise.
2005-10-28 21:21:08 +00:00
Dave Brolley
39e9e2b0c9
2005-10-28 Dave Brolley <brolley@redhat.com>
...
Contribute the following changes:
2003-09-29 Dave Brolley <brolley@redhat.com>
* dis-asm.h (disassemble_info): insn_sets now (void *) to allow for
more exotic underlying types to be used.
2005-10-28 19:41:01 +00:00
Dave Brolley
2f8b2203e3
2005-10-28 Dave Brolley <brolley@redhat.com>
...
Contribute the following changes:
2005-02-16 Dave Brolley <brolley@redhat.com>
* cgen-bitset.h: Rename CGEN_ISA_MASK to CGEN_BITSET. Rename
cgen_isa_mask_* to cgen_bitset_*.
* cgen.h: Likewise.
2005-10-28 19:38:59 +00:00
Chris Sutcliffe
cc2ac099b5
2005-10-27 Chris Sutcliffe <ir0nh34d@users.sf.net>
...
* include/w32api.h: Increment version to 3.4.
* Makefile.in: Ditto.
2005-10-27 23:28:21 +00:00
Chris Sutcliffe
8cc9ac230c
2005-10-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* Include/_mingw.h: Increment version to 3.9.
* Makefile.in: Ditto.
2005-10-27 21:21:58 +00:00
Jeff Johnston
2556eb8d41
2005-10-26 Shaun Jackman <sjackman@gmail.com>
...
* libc/posix/scandir.c (scandir): Update the function
prototype to match the header.
* libc/sys/linux/linuxthreads/bits/libc-lock.h: Remove an
extraneous #endif.
* libc/sys/linux/sys/lock.h: Do not include
machine/weakalias.h, since it's not used by this file.
2005-10-26 22:16:34 +00:00
Jeff Johnston
c9d71a8d46
2005-10-26 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/Makefile.am: Reorder SUBLIBS so machine and sys
directories can override properly.
2005-10-26 22:10:51 +00:00
Nick Clifton
4aa1b05777
Add support for the Z80 processor family
2005-10-25 17:40:19 +00:00
Christopher Faylor
6573722005
* pinfo.cc (_pinfo::fds): Lock fdtab while enumerating.
2005-10-24 15:42:14 +00:00
Corinna Vinschen
6485bf0b33
* spawn.cc (spawn_guts): Don't leave the function with return inside
...
pthread cleanup brackets.
2005-10-24 15:17:54 +00:00
Christopher Faylor
16bbf0cc57
* cygheap.h (cygheap_fdenum): Remove start_fd stuff.
...
(cygheap_fdenum::rewind): Ditto.
* pipe.cc (fhandler_pipe::open): Lock fdtab while enumerating.
* times.cc (utimes_worker): Ditto.
2005-10-24 15:09:07 +00:00
Jan Beulich
95baaf8819
include/opcode/
...
2005-10-24 Jan Beulich <jbeulich@novell.com>
* ia64.h (enum ia64_opnd): Move memory operand out of set of
indirect operands.
bfd/
2005-10-24 Jan Beulich <jbeulich@novell.com>
* cpu-ia64-opc.c (elf64_ia64_operands): Move memory operand out of
set of indirect operands.
gas/
2005-10-24 Jan Beulich <jbeulich@novell.com>
* config/tc-ia64.c (enum reg_symbol): Delete IND_MEM.
(dot_rot): Change type of num_* variables. Check for positive count.
(ia64_optimize_expr): Re-structure.
(md_operand): Check for general register.
gas/testsuite/
2005-10-24 Jan Beulich <jbeulich@novell.com>
* gas/ia64/index.[sl]: New.
* gas/ia64/rotX.[sl]: New.
* gas/ia64/ia64.exp: Run new tests.
opcodes/
2005-10-24 Jan Beulich <jbeulich@novell.com>
* ia64-asmtab.c: Regenerate.
2005-10-24 07:42:50 +00:00
Christopher Faylor
0f9a8fc652
add missing ChangeLog entry
2005-10-24 00:02:05 +00:00
Christopher Faylor
82c925af80
* cygheap.h (cygheap_fdenum::cygheap_fdenum): Record locked state or suffer
...
deadlocks.
(class locked_process): Move to another header.
* sync.h (lock_process): Define here.
* cygtls.cc (_cygtls::fixup_after_fork): Reset spinning state as well as
stacklock state.
* dcrt0.cc (lock_process::locker): Define.
(dtable::lock_cs): Delete.
* dtable.cc (dtable_init): Eliminate call to init_lock().
(dtable::fixup_after_fork): Ditto.
(dtable::init_lock): Delete definition.
* dtable.h (dtable::init_lock): Delete declaration.
(dtable::lock): Use process lock rather than dtable-specific lock.
(dtable::unlock): Ditto.
* sigproc.cc (sigproc_init): Minor change to debugging output.
* times.cc (utime_worker): Use build_fh_pc rather than reinterpreting the posix
path name again. Return any error from path_conv immediately.
2005-10-23 23:47:45 +00:00
Corinna Vinschen
c2c020d1fb
* fhandler_socket.cc (fhandler_socket::connect): Don't restrict
...
WSAEINVAL -> WSAEISCONN conversion to nonblocking sockets.
(fhandler_socket::accept): Use event driven technique to implement
interuptible accept.
(fhandler_socket::wait): Allow FD_ACCEPT handling.
* net.cc (cygwin_accept): Remove workaround for allowing blocking
accept. That's entirely in fhandler_socket::accept now.
2005-10-22 16:02:15 +00:00
Corinna Vinschen
152a9caf58
* fhandler.h (class fhandler_socket): Add timeout parameter to wait()
...
method.
* fhandler_socket.cc (fhandler_socket::connect): Use event driven
technique (prepare/wait/release) to implement interuptible connect.
(fhandler_socket::wait): Add timeout parameter. Allow FD_CONNECT
handling.
* net.cc (cygwin_connect): Remove braindead workaround for allowing
blocking connect. That's entirely in fhandler_socket::connect now.
2005-10-22 15:11:49 +00:00
Paolo Bonzini
ecebee4838
2005-10-22 Paolo Bonzini <bonzini@gnu.org>
...
PR bootstrap/24297
* Makefile.tpl (do-[+make-target+], do-check, install,
stage[+id+]-bubble, [+compare-target+]): Ensure $$r and $$s
are set before recursing.
* Makefile.in: Regenerate.
2005-10-22 10:37:55 +00:00
Corinna Vinschen
88d30f0b2f
* include/cygwin/version.h: Fix typo.
2005-10-22 10:28:02 +00:00
Mark Mitchell
f4f1045c8c
Fix typo
2005-10-21 23:31:33 +00:00