Christopher Faylor
1908518227
* fhandler.h (fhandler_base::has_ongoing_io): Declare virtual method.
...
* select.cc (peek_pipe): Reorganize slightly. Don't attempt to check a handle
if it has ongoing I/O.
(select_pipe_info::select_pipe_info): Delete definition.
(select_pipe_info::~select_pipe_info): Delete definition.
(thread_pipe): Get rid of WFMO call. Reorganize loop.
(pipe_cleanup): Remove dependence on destructor.
(thread_serial): Reorganize loop.
* select.h (select_pipe_info): Empty this class since it no longer has any
special requirements (for now).
* syscalls.cc (readv): Remove an unneeded debug printf.
2010-04-02 22:36:44 +00:00
Christopher Faylor
5151c80c8a
* fhandler.h (fhandler_base::setup_overlapped): Delete virtual declaration.
...
(fhandler_base::destroy_overlapped): Ditto.
(fhandler_base_overlapped): Remove now-unneeded friend.
(fhandler_base_overlapped::setup_overlapped): Return int, remove parameter.
(fhandler_base_overlapped::get_overlapped): Return reference.
(fhandler_base_overlapped::fhandler_base_overlapped): Be more assertive about
zeroing everything.
(fhandler_base_overlapped::fixup_after_fork): Declare new function.
(fhandler_base_overlapped::fixup_after_exec): Ditto.
(fhandler_base_overlapped::dup): Ditto.
(fhandler_base_overlapped::close): Ditto.
* fhandler_fifo.cc (fhandler_fifo::dup): Call fhandler_base_overlapped::dup
rather than fhandler_base::dup.
* pipe.cc (fhandler_pipe::dup): Ditto.
(fhandler_pipe::init): Accommodate change in setup_overlapped arguments for
"opened_properly" case.
2010-04-02 18:55:02 +00:00
Christopher Faylor
60efdd0c4c
* fhandler_fifo.cc (fhandler_fifo::fhandler_fifo): Properly initialize
...
overlapped part of this class.
2010-04-02 16:43:27 +00:00
Corinna Vinschen
7c972c6354
* fhandler_tty.cc (fhandler_tty_slave::close): Revert previous change.
2010-04-02 16:16:53 +00:00
Christopher Faylor
baa671ea26
fix typo
2010-04-02 16:01:58 +00:00
Christopher Faylor
dffe690c84
* select.h (select_pipe_info::add_watch_handle): Delete declaration.
...
* select.cc (select_pipe_info::add_watch_handle): Delete deinition.
(fhandler_pipe::select_read): Delete call to add_watch_handle.
(fhandler_pipe::select_write): Ditto.
(fhandler_pipe::select_except): Ditto.
2010-04-02 15:50:54 +00:00
Christopher Faylor
1ae0a7c5a6
* dtable.cc (dtable::init_std_file_from_handle): Avoid adding fh to fdtab until
...
we know that it is good.
* fhandler_tty.cc (fhandler_tty_slave::fhandler_tty_slave): Handle error
conditions more consistently. Avoid handle leakage on error.
2010-04-02 15:41:27 +00:00
Corinna Vinschen
ed32dd8946
* fhandler_tty.cc (fhandler_tty_slave::close): Avoid potential crash
...
if former open call has been unsuccessful.
2010-04-02 14:11:45 +00:00
Corinna Vinschen
ce3124dc19
* nlsfuncs.cc: Fix indentation.
2010-04-01 20:30:07 +00:00
Corinna Vinschen
57f7ebe1f2
* nlsfuncs.cc (rebase_locale_buf): New helper function to rebase
...
function pointers in locale structures. Explain why this is necessary.
(__set_lc_time_from_win): Use rebase_locale_buf after realloc.
(__set_lc_numeric_from_win): Ditto.
(__set_lc_monetary_from_win): Ditto.
2010-04-01 20:13:22 +00:00
Jeff Johnston
c1bfa897da
2010-04-01 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libc/include/sched.h: Include prototypes for
sched_* methods.
* libc/include/sys/sched.h: Update to POSIX
1003.1b-2008. Rework constants to allow sharing
between RTEMS and Cygwin.
2010-04-01 18:33:37 +00:00
Charles Wilson
7e53fcbc29
* setup-net.sgml: Remove more mentions of rxvt.
2010-04-01 05:23:07 +00:00
Christopher Faylor
3d8a6b6236
* cygwinenv.sgml: Remove/deprecate mention of rxvt.
...
* effectively.sgml: Ditto.
* faq-using.xml: Ditto.
* setup-net.sgml: Ditto.
2010-03-31 21:06:43 +00:00
Christopher Faylor
bc3f0d64c9
* sigproc.cc (wait_sig): Make sure that strace is activated on __SIGSTRACE by
...
calling new strace::activate function.
* strace.cc (strace::activate): Rename from strace::strace.
* strace.h (strace::activate): Define new function.
(strace::strace): Call activate.
2010-03-31 18:06:02 +00:00
Christopher Faylor
e446d6d0f4
* fhandler.h (fhandler_base_overlapped): Temporarily (?) make select_pipe_info
...
a friend until the fhandler_tty intertangling can be worked out.
* select.cc (select_pipe_info::add_watch_handle): Don't inspect the overlapped
event if we're not waiting for I/O.
(fhandler_tty_common::select_*): Change to standard function. Don't do kludgy
fhandler_pipe coercion.
2010-03-31 15:00:48 +00:00
Tristan Gingold
2aec20905e
2010-03-31 Tristan Gingold <gingold@adacore.com>
...
* dcx.h: New file.
* dsc.h: New file.
* esdfm.h: New file.
* esdfv.h: New file.
* internal.h: New file.
* lbr.h: New file.
* prt.h: New file.
* shl.h (struct vms_shl): Add comments.
* esrf.h (ESRF__B_NAMLNG): New macro.
* esdf.h (ESDF__B_NAMLNG): New macro.
* emh.h: Add macros for fields maximum value.
* eisd.h (EISD__M_PROTECT): Fix typo in comment.
Add macros for offsets, version, section type and match control.
Merge vms_eisd_ext into vms_eisd.
* eihvn.h (EIHVN__MULTI_PROCESSING_BIT, EIHVN__GALAXY_BIT): Added.
* eihs.h: Remove blank line.
* eihd.h (struct vms_eihd): Add comments, add image subtype names.
* eiha.h (struct vms_eiha): Add inishr and inishr_h fields.
* eiaf.h (struct vms_eiaf): Fix base_va size.
* egsy.h: Add comments.
* egsd.h: Remove blank line.
* egps.h: Add flag names.
* eeom.h (EEOM__M_WKTFR): Added.
* dst.h (DST__K_CXX): Added, and reident languages.
(DST__K_SRC_INCRLNUM_B): Added.
Indent and order pcline commands.
Add record begin/end, enumerations, type specification, value
specification, label, discontinue range definitions.
2010-03-31 07:35:54 +00:00
Ralf Wildenhues
aed3b6cda2
Fix toplevel configure --enable-multilib handling.
...
/:
PR bootstrap/43328
* configure.ac: Do not pass --enable-multilib nor
--disable-multilib in baseargs. Accept explicitly passed
--enable_multilib.
* configure: Regenerate.
2010-03-31 05:44:01 +00:00
Christopher Faylor
b791ec4a2c
Add missing fhandler.h patch and ChangeLog comment.
2010-03-31 04:39:13 +00:00
Christopher Faylor
2aeef06579
* fhandler.cc (fhandler_base::dup): Call setup_overlapped unconditionally.
...
(fhandler_base::fork_fixup): Ditto.
(fhandler_base::fixup_after_fork): Ditto.
(fhandler_base::fixup_after_exec): Ditto.
(fhandler_base_overlapped::setup_overlapped): Move to this class from
fhandler_base.
(handler_base_overlapped::destroy_overlapped): Ditto.
(fhandler_base_overlapped::wait_overlapped): Ditto. Track when we expect
pending I/O.
(fhandler_base_overlapped::read_overlapped): Move to this class from
fhandler_base. Return error if ongoing I/O.
(fhandler_base_overlapped::write_overlapped): Ditto.
(fhandler_base_overlapped::has_ongoing_io): Semi-reinstate previous function.
* fhandler.h (fhandler_base::wait_overlapped): Move to fhandler_base_overlapped
class.
(fhandler_base::write_overlapped): Ditto.
(fhandler_base::get_overlapped): Ditto.
(fhandler_base::get_overlapped_buffer): Ditto.
(fhandler_base_overlapped): New class.
(fhandler_pipe): Inherit from fhandler_base_overlapped. Remove overlapped
stuff as a result.
(fhandler_fifo): Ditto.
* pipe.cc (fhandler_pipe::fhandler_pipe): Initialize fhandler_base_overlapped.
(pipe): Put a descriptive name in the fhandler.
2010-03-31 04:26:11 +00:00
Corinna Vinschen
d8b4cbe896
* fhandler_socket.cc (fhandler_socket::wait_for_events): Remove call to
...
sig_dispatch_pending.
2010-03-30 16:20:15 +00:00
Corinna Vinschen
ca8eb333c9
2010-03-30 Thomas Wolff <towo@towo.net>
...
* fhandler.h (class dev_console): Drop vt100_graphics_mode_active.
Add flags vt100_graphics_mode_G0, vt100_graphics_mode_G1 and
iso_2022_G1.
* fhandler_console.cc: Throughout, tune VT100 graphics mode switching
to follow ISO 2022 strictly.
2010-03-30 16:17:34 +00:00
Corinna Vinschen
298cf05c21
* syscalls.cc (open): Remove call to sig_dispatch_pending.
2010-03-30 14:36:42 +00:00
Corinna Vinschen
83dddecb34
* net.cc: Remove calls to sig_dispatch_pending throughout.
...
* libc/rexec.cc: Ditto.
2010-03-30 09:25:46 +00:00
Corinna Vinschen
e23275a8ac
* mount.cc (fs_info::update): Allow variable FILE_SUPPORTS_SPARSE_FILES
...
flag in netapp flag test. Add comment.
2010-03-30 08:55:23 +00:00
Corinna Vinschen
b3cbb06c9d
* spawn.cc (find_exec): Enable finding paths in backslash notation,
...
especially for the exec[vl]p functions.
* path.cc (symlink_info::check): Disable returning directories with
suffix appended here.
2010-03-29 17:15:51 +00:00
Corinna Vinschen
3f4a0c963a
* new-features.sgml (ov-new1.7.3): New section.
2010-03-29 15:10:09 +00:00
Corinna Vinschen
ef7fc14537
* include/cygwin/version.h: Bump DLL minor version number to 3.
2010-03-29 15:06:09 +00:00
Corinna Vinschen
ce3d89938b
* fhandler.cc (fhandler_base::fstat): Keep st_ctime and st_birthtime
...
fixed to 2006-12-01 00:00 UTC.
2010-03-29 15:02:50 +00:00
Corinna Vinschen
f1c6730ba3
* libc/rcmd.c: Enable IPv6.
2010-03-29 09:00:25 +00:00
Christopher Faylor
7a2df116fc
change wording
2010-03-28 18:36:02 +00:00
Christopher Faylor
e2402ed859
* fhandler.cc (fhandler_base::fstat): Set st_mtime time to current time.
2010-03-28 17:49:35 +00:00
Christopher Faylor
c019a66c32
* globals.cc (exit_status): Add new ES_EXIT_STARTING enum.
...
* dcrt0.cc (cygwin_exit): Set exit_state to ES_EXIT_STARTING prior to calling
real exit.
* dll_init.cc (dll_list::detach): Remove dll from linked list and call
destructors even if exiting. Don't call __cxa_finalize in exiting case.
2010-03-28 17:27:52 +00:00
Corinna Vinschen
84fef941e8
* setup2.sgml (setup-locale-charsetlist): Add EUC-CN and GB2312.
2010-03-27 21:13:04 +00:00
Corinna Vinschen
0b66e4d7aa
* locale.cc (print_charmaps): Add EUC-CN and GB2312.
2010-03-27 21:08:02 +00:00
Corinna Vinschen
68b0fa820d
* nlsfuncs.cc (__set_charset_from_locale): Set default charset for
...
locales defaulting to codepage 936 to GB2312.
2010-03-27 21:07:17 +00:00
Corinna Vinschen
eca2df4f01
* libc/locale/locale.c (loadlocale): Optimize "EUC" charset check.
...
Cygwin only: Allow GB2312 and EUC-CN as alternative codeset names
for GBK. Add to documentation.
* libc/locale/nl_langinfo.c (nl_langinfo): On Cygwin, translate EUCCN
to GB2312.
2010-03-27 21:04:49 +00:00
Corinna Vinschen
8a3cfef325
* textbinary.sgml: Add missing </para>.
2010-03-27 17:10:23 +00:00
Christopher Faylor
cf989df66a
* textbinary.sgml: Remove tr example and just mention u2d and d2u instead.
2010-03-27 05:26:51 +00:00
Joseph Myers
86a58929ba
bfd:
...
* Makefile.am (ALL_MACHINES): Add cpu-tic6x.lo.
(ALL_MACHINES_CFILES): Add cpu-tic6x.c.
(BFD32_BACKENDS): Add elf32-tic6x.lo.
(BFD32_BACKENDS_CFILES): Add elf32-tic6x.c.
* Makefile.in: Regenerate.
* archures.c (bfd_arch_tic6x, bfd_tic6x_arch): New.
(bfd_archures_list): Update.
* config.bfd (tic6x-*-elf): New.
* configure.in (bfd_elf32_tic6x_be_vec, bfd_elf32_tic6x_le_vec):
New.
* configure: Regenerate.
* cpu-tic6x.c, elf32-tic6x.c: New.
* reloc.c (BFD_RELOC_C6000_PCR_S21, BFD_RELOC_C6000_PCR_S12,
BFD_RELOC_C6000_PCR_S10, BFD_RELOC_C6000_PCR_S7,
BFD_RELOC_C6000_ABS_S16, BFD_RELOC_C6000_ABS_L16,
BFD_RELOC_C6000_ABS_H16, BFD_RELOC_C6000_SBR_U15_B,
BFD_RELOC_C6000_SBR_U15_H, BFD_RELOC_C6000_SBR_U15_W,
BFD_RELOC_C6000_SBR_S16, BFD_RELOC_C6000_SBR_L16_B,
BFD_RELOC_C6000_SBR_L16_H, BFD_RELOC_C6000_SBR_L16_W,
BFD_RELOC_C6000_SBR_H16_B, BFD_RELOC_C6000_SBR_H16_H,
BFD_RELOC_C6000_SBR_H16_W, BFD_RELOC_C6000_SBR_GOT_U15_W,
BFD_RELOC_C6000_SBR_GOT_L16_W, BFD_RELOC_C6000_SBR_GOT_H16_W,
BFD_RELOC_C6000_DSBT_INDEX, BFD_RELOC_C6000_PREL31,
BFD_RELOC_C6000_COPY, BFD_RELOC_C6000_ALIGN,
BFD_RELOC_C6000_FPHEAD, BFD_RELOC_C6000_NOCMP): New.
* targets.c (bfd_elf32_tic6x_be_vec, bfd_elf32_tic6x_le_vec): New.
(_bfd_target_vector): Update.
* bfd-in2.h, libbfd.h: Regenerate.
binutils:
* MAINTAINERS: Add self as TI C6X maintainer.
* NEWS: Add news entry for TI C6X support.
* readelf.c: Include elf/tic6x.h.
(guess_is_rela): Handle EM_TI_C6000.
(dump_relocations): Likewise.
(get_tic6x_dynamic_type): New.
(get_dynamic_type): Call it.
(get_machine_flags): Handle EF_C6000_REL.
(get_osabi_name): Handle machine-specific values only for relevant
machines. Handle C6X values.
(get_tic6x_segment_type): New.
(get_segment_type): Call it.
(get_tic6x_section_type_name): New.
(get_section_type_name): Call it.
(is_32bit_abs_reloc, is_16bit_abs_reloc, is_none_reloc): Handle
EM_TI_C6000.
gas:
* Makefile.am (TARGET_CPU_CFILES): Add config/tc-tic6x.c.
(TARGET_CPU_HFILES): Add config/tc-tic6x.h.
* Makefile.in: Regenerate.
* NEWS: Add news entry for TI C6X support.
* app.c (do_scrub_chars): Handle "||^" for TI C6X. Handle
TC_PREDICATE_START_CHAR and TC_PREDICATE_END_CHAR. Keep spaces in
operands if TC_KEEP_OPERAND_SPACES.
* configure.tgt (tic6x-*-*): New.
* config/tc-ia64.h (TC_PREDICATE_START_CHAR,
TC_PREDICATE_END_CHAR): Define.
* config/tc-tic6x.c, config/tc-tic6x.h: New.
* doc/Makefile.am (CPU_DOCS): Add c-tic6x.texi.
* doc/Makefile.in: Regenerate.
* doc/all.texi (TIC6X): Define.
* doc/as.texinfo: Add TI C6X documentation. Include c-tic6x.texi.
* doc/c-tic6x.texi: New.
gas/testsuite:
* gas/tic6x: New directory and testcases.
include:
* dis-asm.h (print_insn_tic6x): Declare.
include/elf:
* common.h (ELFOSABI_C6000_ELFABI, ELFOSABI_C6000_LINUX): Define.
* tic6x.h: New.
include/opcode:
* tic6x-control-registers.h, tic6x-insn-formats.h,
tic6x-opcode-table.h, tic6x.h: New.
ld:
* Makefile.am (ALL_EMULATIONS): Add eelf32_tic6x_be.o and
eelf32_tic6x_le.o.
(eelf32_tic6x_be.c, eelf32_tic6x_le.c): New.
* NEWS: Add news entry for TI C6X support.
* configure.tgt (tic6x-*-*): New.
* emulparams/elf32_tic6x_be.sh, emulparams/elf32_tic6x_le.sh: New.
ld/testsuite:
* ld-elf/flags1.d, ld-elf/merge.d: XFAIL for tic6x-*-*.
* ld-elf/sec-to-seg.exp: Set B_test_same_seg to 0 for tic6x-*-*.
* ld-tic6x: New directory and testcases.
opcodes:
* Makefile.am (TARGET_LIBOPCODES_CFILES): Add tic6x-dis.c.
* Makefile.in: Regenerate.
* configure.in (bfd_tic6x_arch): New.
* configure: Regenerate.
* disassemble.c (ARCH_tic6x): Define if ARCH_all.
(disassembler): Handle TI C6X.
* tic6x-dis.c: New.
2010-03-25 21:12:32 +00:00
Christopher Faylor
ca8d80165f
* pathnames.sgml: Clarify wording of user-specific fstab files. Fix typo.
2010-03-25 12:52:32 +00:00
Corinna Vinschen
708d2a1e64
* regtool.cc (find_key): Fix allocation size of "value".
2010-03-24 19:52:00 +00:00
Corinna Vinschen
4951591733
* legal.sgml: Bump copyright date.
2010-03-24 08:54:52 +00:00
Corinna Vinschen
536ad25322
* locale.cc (add_locale_alias_locales): Always use loc_num at function
...
start to avoid confusing bsearch.
2010-03-23 21:26:03 +00:00
Corinna Vinschen
1399e29a1f
* locale.cc: Revert accidental checkin of unfinished changes.
2010-03-23 21:20:31 +00:00
Corinna Vinschen
1d4c87a15d
* locale.cc (print_locale_with_codeset): Drop redundant name parameter.
...
Simplify creating locale string. Add "@" in case of a modifier.
(print_locale): Drop name parameter in calls to
print_locale_with_codeset.
2010-03-23 21:01:01 +00:00
Joseph Myers
6315af0f80
* configure.ac (tic6x-*-*): New case.
...
* configure: Regenerate.
2010-03-23 16:05:34 +00:00
Joseph Myers
30e947fac1
* symcat.h (CONCAT5, CONCAT6, XCONCAT5, XCONCAT6): Define.
2010-03-23 15:58:51 +00:00
Joseph Myers
105d67cb7e
Merge from gcc:
...
2010-03-19 Jack Howarth <howarth@bromo.med.uc.edu>
PR ada/42554
* configure.ac: Only pass -c to ranlib for darwin9 and earlier.
* configure: Regenerate.
2010-03-23 14:30:59 +00:00
Joseph Myers
8afe7566a0
* config.sub: Update to version 2010-03-22.
...
* config.guess: Update to version 2009-12-30.
2010-03-23 14:27:19 +00:00
Corinna Vinschen
65b4b495c6
* fhandler_socket.cc (fhandler_socket::evaluate_events): Make erase
...
const in parameter list.
(fhandler_socket::wait_for_events): Take a DWORD flags value instead of
just a bool. Call evaluate_events with erase flag according to
MSG_PEEK value in flags. Replace check for dontwait with check for
MSG_DONTWAIT in flags.
(fhandler_socket::connect): Call wait_for_events with 0 flags value.
(fhandler_socket::accept4): Ditto.
(fhandler_socket::recv_internal): Save flags in wait_flags. Drop
dontwait variable. Call wait_for_events with wait_flags.
(fhandler_socket::send_internal): Save MSG_DONTWAIT flag in wait_flags
and call wait_for_events with wait_flags as argument. Drop dontwait
variable.
* fhandler.h (class fhandler_socket): Change second parameter in
declaration of wait_for_events to const DWORD.
2010-03-22 10:47:53 +00:00