Christopher Faylor
3ac78fd612
* dcrt0.cc (do_global_dtors): Don't call dll_global_dtors here.
...
(__main): Reinstate atexit of do_global_dtors.
(cygwin_exit): Call dll_global_dtors here.
(do_exit): And here.
2005-05-11 21:53:54 +00:00
Alan Modra
98c2367bf4
* ppc.h (R_PPC_RELAX32, R_PPC_RELAX32PC, R_PPC_RELAX32_PLT,
...
R_PPC_RELAX32PC_PLT) Adjust.
(R_PPC_REL16, R_PPC_REL16_LO, R_PPC_REL16_HI, R_PPC_REL16_HA): Define.
(DT_PPC_GLINK): Define.
2005-05-11 14:08:45 +00:00
Christopher Faylor
8ad65ff049
* cygtls.cc (_cygtls::remove): Clear exitsock after close.
...
* fhandler_console.cc (fhandler_console::write_normal): Store character in a
local variable for potential future inspection.
2005-05-11 03:33:38 +00:00
Corinna Vinschen
13505ca8fc
* Makefile.in (DLL_OFILES): Add fhandler_mailslot.o.
...
* devices.h (FH_KMSG): Define new device.
* devices.in: Add "/dev/kmsg" entry.
* devices.cc: Regenerate.
* dtable.cc (build_fh_pc): Handle case FH_KMSG.
* fhandler.h (class fhandler_mailslot): New class.
(class select_stuff): Add device_specific_mailslot pointer.
* fhandler_mailslot.cc: New file.
* select.cc (peek_mailslot): New function.
(verify_mailslot): Ditto.
(struct mailslotinf): New stuct to handle select on mailslots.
(thread_mailslot): New function.
(start_thread_mailslot): Ditto.
(mailslot_cleanup): Ditto.
(fhandler_mailslot::select_read): New method.
* syslog.cc (klog_guard): New muto.
(dev_kmsg): Local mailslot for kernel message device.
(vklog): New function.
(klog): Ditto.
* winsup.h (vklog): Declare.
(klog): Ditto.
* include/sys/syslog.h: Define _PATH_KLOG.
2005-05-10 20:56:07 +00:00
Christopher Faylor
a586e5b6ae
* dcrt0.cc (dll_crt0_1): Call cygwin_exit to ensure that destructors are
...
handled correctly.
2005-05-10 16:08:46 +00:00
Nick Clifton
d699bc988f
Update the address and phone number of the FSF organization
2005-05-10 10:21:13 +00:00
Corinna Vinschen
94fed6a1f3
* path.cc (path_conv::check): Set correct file attributes for socket
...
files.
2005-05-10 09:08:20 +00:00
Danny Smith
96c837f0ca
* mingwex/math/nexttoward.c: New file.
...
* mingwex/math/nexttowardf.c: New file.
* mingwex/math/nextafterl.c: Add nexttowardl aliaa.
* mingwex/Makefile.in (MATH_DISTFILES): Add nexttoward.c,
mexttowardf.c,
(MATH_OBJS): Add nexttoward.o, mexttowardf.o,
* include/math.h (nexttoward, nextowardf, nexttowardl): Add
prototypes.
2005-05-10 08:39:07 +00:00
Danny Smith
5b91f0a6ef
* mingwex/math/nextafterf.c (nextafterf): Correct
...
handling of -0.0.
* mingwex/math/nextafterl.c: New file.
* mingwex/Makefile.in (MATH_DISTFILES): Add nextafterl.c.
(MATH_OBJS): Add nextafterl.o.
* include/math.h (nextafterl): Uncomment prototype.
2005-05-09 09:36:10 +00:00
Jan Beulich
b6487cdedb
gas/
...
2005-05-09 Jan Beulich <jbeulich@novell.com>
* config/tc-i386.c (parse_insn): Disallow use of prefix separator
and comma in Intel mode.
include/opcode/
2005-05-09 Jan Beulich <jbeulich@novell.com>
* i386.h (i386_optab): Add ht and hnt.
2005-05-09 06:49:01 +00:00
Pierre Humblet
adef8db0ae
2005-05-09 Pierre Humblet <pierre.humblet@ieee.org>
...
* fhandler.h (class fhandler_netdrive): New class.
* fhandler_netdrive.cc (fhandler_netdrive::fhandler_netdrive): New constructor.
(fhandler_netdrive::exists): New method.
(fhandler_netdrive::fstat): Ditto.
(fhandler_netdrive::readdir): Ditto.
(fhandler_netdrive::open): Ditto.
* dtable.cc (build_fh_pc): Handle case FH_NETDRIVE.
* path.cc (isvirtual_dev): Add FH_NETDRIVE.
(mount_info::conv_to_win32_path): Detect netdrive device and bypass mount
search for network paths.
2005-05-09 02:39:34 +00:00
Christopher Faylor
f991d0e53e
* cygcheck.cc (nuke): New function.
...
(load_cygwin): New function.
(main): Use load_cygwin to load argv/envp from cygwin environment, if
appropriate.
2005-05-09 01:56:34 +00:00
Christopher Faylor
26c07f704b
* strace.cc (attach_process): Don't call load_cygwin(). Assume that it's
...
already happened.
(dotoggle): Ditto.
(main): Set argv from cygwin environment, if it exists.
2005-05-09 01:21:43 +00:00
Christopher Faylor
1cd8ccec87
* dcrt0.cc (get_cygwin_startup_info): New function pulled from dll_crt0_0.
...
(dll_crt0_0): Use get_cygwin_startup_info to retrieve cygwin-specific startup
pointer.
* external.cc (cygwin_internal): Implement CW_ARGV and CW_ENVP.
* include/sys/cygwin.h: Implement CW_ARGV and CW_ENVP.
2005-05-09 01:19:38 +00:00
Joshua Daniel Franklin
61931ed5dc
* how-programming.texinfo: Replace MAKE_MODE entry with FAQ about execvp errors and cygexec.
2005-05-08 19:43:35 +00:00
Danny Smith
02626f616d
* mingwex/math/erfl.c: New file.
...
* mingwex/Makefile.i (MATH_DISTFILES): Add erfl.c.
(MATH_OBJS): Add erfl.o.
* include/math.h (erfl, erfcl): Uncomment prototypes.
2005-05-08 08:07:18 +00:00
Christopher Faylor
3f6494e216
* path.cc (normalize_posix_path): Don't treat '//' specially since newer
...
versions of bash now get this right.
2005-05-07 21:06:08 +00:00
Christopher Faylor
bbb3381289
* devices.cc: Regenerate with correct name for dev_netdrive_storage.
2005-05-07 20:20:51 +00:00
Christopher Faylor
bcd1a9b6d1
move comment
2005-05-06 21:09:58 +00:00
Christopher Faylor
e73f487b3c
fix breakpoint example
2005-05-06 21:09:35 +00:00
Christopher Faylor
8cdcc8803a
* Makefile.in (DLL_O_FILES): Add fhandler_netdrive.o.
...
* fhandler_netdrive.cc: Placeholder file for future development.
* devices.h (FH_NETDRIVE): Define new virtual device type.
(netdrive_dev): Define.
* devices.in (dev_netdrive_storage): Define.
* devices.cc: Regenerate.
2005-05-06 04:06:17 +00:00
Jeff Johnston
9cc53904f6
2005-05-05 Tobias Anderberg <tobias.anderberg@axis.com>
...
* arm/syscalls.c (get_errno): Fix output register constraint.
2005-05-05 23:15:53 +00:00
Jeff Johnston
320be0a149
2005-05-05 J"orn Rennecke <joern.rennecke@st.com>
...
* rs6000/sim-getrusage.S: New file, broken out of:
(simulator.S).
* rs6000/Makefile.in (SIM_OBJS): Add sim-getrusage.o.
(sim-getrusage.o): New rule.
2005-05-05 23:07:08 +00:00
Mike Stump
297306009e
* configure.in: Always pass --target to target configures as
...
otherwise rebuilds that do --recheck will fail.
* confiugure: Rebuilt.
2005-05-05 01:36:32 +00:00
Paolo Bonzini
a8a968789f
2005-05-04 Paolo Bonzini <bonzini@gnu.org>
...
* Makefile.tpl (POSTSTAGE1_HOST_EXPORTS): Rename from
STAGE_HOST_EXPORTS.
(configure, all): Add bootstrap support.
(Host modules, target modules): Pass post-stage1 flags and exports.
(Top-level bootstrap): Remove bootstrap rules, expanded elsewhere.
* Makefile.in: Regenerate.
2005-05-04 15:42:05 +00:00
Corinna Vinschen
56f235345d
* cygerrno.h (__set_errno): Remove useless parentheses.
2005-05-04 11:05:11 +00:00
Corinna Vinschen
5d4750a996
* cygerrno.h (__set_errno): Define as inline function here.
...
(set_errno): Always define as call to __set_errno.
* debug.cc (__set_errno): Move to cygerrno.h.
2005-05-04 11:00:22 +00:00
Danny Smith
f3b0036304
* include/wchar.h (WCHAR_MAX): Define as 0xffff, so preprocessor
...
#if (WCHAR_MAX <= WCHAR_MIN) is false.
* include/stdint.h (WCHAR_MAX): Likwise.
(WINT_MAX): Likewise.
2005-05-04 09:29:09 +00:00
Christopher Faylor
530d0e0191
* shared.cc (user_shared_initialize): Rework locking so that nothing is checked
...
until cb is non-zero.
2005-05-04 01:20:05 +00:00
Christopher Faylor
782e53ca69
* shared.cc (user_shared_initialize): Rework locking so that nothing is checked
...
until cb is non-zero.
2005-05-04 01:14:47 +00:00
Corinna Vinschen
21b9fe3e33
* fhandler_disk_file.cc (fhandler_disk_file::fchmod): Don't treat
...
inability to open file as failure if only SetFileAttributes is
going to be called. Only call set_file_attribute if really necessary.
2005-05-03 19:03:20 +00:00
Corinna Vinschen
2ba719de27
* fhandler_socket.cc (get_inet_addr): Add missing __seterrno call.
2005-05-03 14:07:19 +00:00
Danny Smith
8559dd92d0
* mingwex/math/signbit.c (__signbit): Make return value
...
consistent with GCC's __builtin_signbit.
* mingwex/math/signbitf.c (__signbitf): Likewise.
* mingwex/math/signbitf.c (__signbitl): Likewise.
* include/math.h (__signbit, __signbitf, __signbitl): Likewise
for inlines.
2005-05-03 08:39:19 +00:00
Danny Smith
38efa5f128
* include/_mingw.h (__MINGW_ATTRIB_NONNULL): Don't define as
...
variadic macro.
* mingwex/mbrtowc.c (__mbrtowc_cp): Use __MINGW_ATTRIB_NONNULL.
Remove unused MBTOWC_FLAGS define.
2005-05-02 08:03:34 +00:00
Christopher Faylor
05726ddd86
white space and minor comment cleanup.
2005-05-02 03:50:11 +00:00
Christopher Faylor
b9b1b38358
* fhandler_tty.cc (fhandler_tty_slave::read): Actually read input when vmin ==
...
vtime == 0.
2005-05-02 00:17:45 +00:00
Christopher Faylor
0d235234c5
* mount.cc (usage): Clarify action of -m option.
2005-05-01 15:50:02 +00:00
Christopher Faylor
f0b14f146e
* environ.cc (spenv::force_into_environment): Rename from add_always.
...
(spenv::add_if_exists): Rename from force.
(build_env): Accommodate name changes. Make sure that stuff that is always
supposed to be in the environment is actually added to the environment.
* shared.cc (open_shared): Restore VirtualFree eliminated by 2005-04-28 change.
2005-04-30 17:07:05 +00:00
Christopher Faylor
06e0dc9a46
* errno.cc (errmap): Sort table.
2005-04-30 04:10:39 +00:00
Christopher Faylor
7b076c36fc
* errno.cc (errmap): Map ERROR_NETNAME_DELETED to ENOSHARE.
2005-04-30 03:40:26 +00:00
Dave Korn
65e941162d
* path.cc (getmntent): Add previously-omitted 'noexec' and 'managed'flags to
...
mnt_opts string if present in mount flags.
2005-04-29 16:39:34 +00:00
Paolo Bonzini
0d3442bf36
2005-04-29 Paolo Bonzini <bonzini@gnu.org>
...
Sync from gcc:
2005-04-22 Bernd Schmidt <bernd.schmidt@analog.com>
* config.sub: Update from master copy.
2005-04-19 Hans-Peter Nilsson <hp@axis.com>
* configure.in <crisv32-*-*, cris-*-*>: New local variable
libgcj_ex_libffi. Have specific match for *-*-linux*. Separate
matches for "*-*-aout" and "*-*-elf". Don't disable libffi for
"*-*-elf" and "*-*-linux*".
* configure: Regenerate.
config:
2005-04-29 Paolo Bonzini <bonzini@gnu.org>
* acx.m4 (ACX_PROG_GNAT): Remove stray break.
2005-04-29 14:00:03 +00:00
Christopher Faylor
c4ffa3c427
* shared_info.h (cygwin_shared_address): Bump to a higher value to avoid
...
collision with large data areas.
* fhandler_console.cc (fhandler_console::get_tty_stuff): Accommodate changes to
open_shared arguments.
* fhandler_tape.cc (mtinfo_init): Ditto.
* pinfo.cc (pinfo::init): Use open_shared rather than win32 mmap calls.
* shared.cc (user_shared_initialize): Ditto.
(memory_init): Ditto.
(open_shared): Change to allow use a smore general mmap handler.
* shared_info.h (shared_locations): Add SH_JUSTCREATE, SH_JUSTOPEN.
(open_shared): Change declaration to match new usage.
* autoload.cc (LoadDLLfuncEx2): Define in terms of LoadDLLfuncEx3.
(LoadDLLfuncEx3): New macro.
2005-04-28 23:59:44 +00:00
Jeff Johnston
e525f6d51a
2005-04-28 Shaun Jackman <sjackman@gmail.com>
...
* libgloss/syscalls.c (get_errno): Add an output register constraint.
2005-04-28 18:40:39 +00:00
Jeff Johnston
5456408b84
2005-04-28 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/stdio/vfscanf.c (__svfscanf_r): Fix code thinko
when checking for multiple flags.
2005-04-28 18:26:08 +00:00
Christopher Faylor
5c70f2f92e
(check in files that should have been checked in previously)
...
* fhandler.cc (fhandler_base::open_9x): Remove (broken) check for
O_CREAT|O_EXCL.
* syscalls.cc (open): Do O_CREAT|O_EXCL check here first.
2005-04-28 03:41:09 +00:00
Christopher Faylor
faae8c50a5
* fhandler.cc (fhandler_base::open_9x): Remove (broken) check for
...
O_CREAT|O_EXCL.
* syscalls.cc (open): Do O_CREAT|O_EXCL check here first.
2005-04-28 03:33:19 +00:00
Christopher Faylor
dd991a7572
* environ.cc (build_env): Ensure that win32 array is properly filled in when a
...
missing value has to be generated.
2005-04-27 03:09:59 +00:00
Christopher Faylor
0aedc5e99a
* include/cygwin/version.h: Bump DLL minor number to 17.
2005-04-26 17:27:40 +00:00
Danny Smith
4db7d42977
* include/wininet.h (FtpGetFileSize): Add prototype.
...
(FtpCommand[AW]): Correct prototypes.
Reported by <siger at users dot sf dot net>
2005-04-26 08:18:27 +00:00