aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-11-08bfd:Nathan Sidwell2-0/+6
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-07 * times.cc (futimes): Redirect to utimes_worker if given fileCorinna Vinschen2-1/+8
descriptor is opened R/O.
2005-11-07 * elf/hppa.h (R_PARISC_DIR64WR, R_PARISC_DIR64DR): Remove relocs.John David Anglin2-6/+4
2005-11-06* dcrt0.cc (dll_crt0_0): Initialize security data first so that it can be usedChristopher Faylor2-1/+6
by subsequent handle creation.
2005-11-04* cygheap.h (init_cygheap::_gtod): New hires_ms element.Christopher Faylor6-8/+40
* 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* times.cc (hires_ms::prime): More debugging.Christopher Faylor3-12/+27
(hires_ms::usecs): Ditto.
2005-11-042005-11-04 Michael Jung <mjung@iss.tu-darmstadt.de>Danny Smith2-0/+5
* lib/shell32.c (CLSID_ShellFSFolder): Add GUID.
2005-11-04* times.cc (stupid_printf): Define and use throughout -- temporarily.Christopher Faylor2-19/+24
2005-11-032005-11-03 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston6-21/+29
* 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-032005-11-03 Shaun Jackman <sjackman@gmail.com>Jeff Johnston4-3/+12
* 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* times.cc (hires_ms::prime): Add lots of temporary debugging output.Christopher Faylor2-0/+13
2005-11-03 * lib/crypt32.def (CertOIDToAlgId, CertAlgIDToOID, CryptProtectData,Danny Smith2-5/+20
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 * bfdlink.h (struct bfd_link_order): Tweak comment.Alan Modra2-1/+5
2005-11-03* times.cc (hires_ms::minperiod): Make copy-on-fork.Christopher Faylor2-4/+20
(gettimeofday): Remove temporary debugging. (hires_us::prime): Add lots of temporary debugging output.
2005-11-02* times.cc (gettimeofday): Add temporary debugging output.Christopher Faylor2-0/+6
2005-11-012005-11-01 Ralf Corsepius <ralf.corsepius@rtems.org>Jeff Johnston2-9/+12
* libc/include/stdint.h: Cleanup #if vs. #ifdef.
2005-11-01* include/sys/cygwin.h: Define CYGWIN_SIGNAL_STRING.Christopher Faylor3-5/+14
* exceptins.cc (sigpacket::process): Send a _CYGWIN_SIGNAL_STRING to gdb if the process is being debugged. A WIP.
2005-10-312005-10-31 Darin Johnson <darin@usa.net>Jeff Johnston2-3/+8
* libm/mathfp/s_mathcnst.c: Fix endian-ness check to be correct for constants.
2005-10-31merge from gccDJ Delorie2-6/+19
2005-10-302005-10-29 Chris Sutcliffe <ir0nh34d@users.sf.net>Chris Sutcliffe4-4/+10
* include/objbase.h: Fix typo. * include/w32api.h: Increment version to 3.5. * Makefile.in: Ditto.
2005-10-29* exceptions.cc (signal_exit): Eliminate setting of main thread priority sinceChristopher Faylor4-17/+20
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* fork.cc (frok::child): Change order of cleanup prior to return.Christopher Faylor4-7/+18
(fork): Save more of the stack. * gendef: Fix some comments. * sigproc.cc (wait_sig): Clarify debug output.
2005-10-29* child_info.h (CHILD_INFO_MAGIC): Reset.Christopher Faylor2-1/+5
2005-10-282005-10-28 Bob Wilson <bob.wilson@acm.org>Jeff Johnston9-29/+48
* 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-282005-10-28 Bob Wilson <bob.wilson@acm.org>Jeff Johnston2-42/+47
* 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-282005-10-28 Bob Wilson <bob.wilson@acm.org>Jeff Johnston38-133/+173
* 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-282005-10-28 Bob Wilson <bob.wilson@acm.org>Jeff Johnston52-132/+192
* 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-282005-10-28 Dave Brolley <brolley@redhat.com>Dave Brolley3-1/+31
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-282005-10-28 Dave Brolley <brolley@redhat.com>Dave Brolley3-7/+83
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-272005-10-27 Chris Sutcliffe <ir0nh34d@users.sf.net>Chris Sutcliffe3-3/+8
* include/w32api.h: Increment version to 3.4. * Makefile.in: Ditto.
2005-10-272005-10-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe3-3/+8
* Include/_mingw.h: Increment version to 3.9. * Makefile.in: Ditto.
2005-10-262005-10-26 Shaun Jackman <sjackman@gmail.com>Jeff Johnston4-5/+12
* 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-262005-10-26 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston3-8/+13
* libc/Makefile.am: Reorder SUBLIBS so machine and sys directories can override properly.
2005-10-25Add support for the Z80 processor familyNick Clifton7-3/+75
2005-10-24* pinfo.cc (_pinfo::fds): Lock fdtab while enumerating.Christopher Faylor2-1/+5
2005-10-24 * spawn.cc (spawn_guts): Don't leave the function with return insideCorinna Vinschen2-2/+9
pthread cleanup brackets.
2005-10-24* cygheap.h (cygheap_fdenum): Remove start_fd stuff.Christopher Faylor4-6/+12
(cygheap_fdenum::rewind): Ditto. * pipe.cc (fhandler_pipe::open): Lock fdtab while enumerating. * times.cc (utimes_worker): Ditto.
2005-10-24include/opcode/Jan Beulich2-1/+8
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-24add missing ChangeLog entryChristopher Faylor1-0/+1
2005-10-23* cygheap.h (cygheap_fdenum::cygheap_fdenum): Record locked state or sufferChristopher Faylor9-66/+86
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-22 * fhandler_socket.cc (fhandler_socket::connect): Don't restrictCorinna Vinschen3-16/+35
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 * fhandler.h (class fhandler_socket): Add timeout parameter to wait()Corinna Vinschen4-55/+37
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-222005-10-22 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini3-31/+83
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 * include/cygwin/version.h: Fix typo.Corinna Vinschen2-1/+5
2005-10-21Fix typoMark Mitchell1-1/+1
2005-10-21 * texi2pod.pl: Substitue for @value even when part of @include.Mark Mitchell2-3/+8
2005-10-21 * texi2pod.pl: Import latest version from GCC.Bob Wilson2-17/+36
2005-10-21* dir.cc (rmdir): Eliminate nonsensical code.Christopher Faylor3-5/+8
* fork.cc (fork): Move exit debug_printf to last statement.
2005-10-202005-10-20 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-22/+51
* libc/include/math.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): When gcc is 3.3 or greater, use special gcc builtins.
2005-10-202005-10-20 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston3-10/+24
* arm/configure.in: Add AC_SUBST for BUILD_CRT0_TRUE and BUILD_CRT0_FALSE. * arm/configure: Regenerate.