4f3e6ff17b
* fhandler.h (fhandler_tty_common::lseek): Declare new method.
...
(fhandler_tty_slave::lseek): Delete old method.
(fhandler_tty_master::lseek): Delete old method.
* fhandler_tty.cc (fhandler_tty_common::lseek): Define new method.
2005-08-18 20:17:10 +00:00
91888cc07b
* m32c/Makefile.in: Block out memory regions reserved for monitors
...
and simulators. Add monitor link scripts.
2005-08-18 18:43:45 +00:00
abebe87c40
* fhandler_socket.cc (fhandler_socket::recvfrom): Always initialize
...
ret to 0.
(fhandler_socket::recvmsg): Ditto.
2005-08-18 13:14:15 +00:00
d71805725f
* errno.cc (strerror): Check errnum for underflow.
2005-08-18 08:35:19 +00:00
7cb11b7ad9
Remove a29k files.
2005-08-18 03:59:23 +00:00
c469032f43
Remove a29k support.
2005-08-18 03:49:39 +00:00
abed5965ca
* textbinary.sgml: Correct incorrect information about ability to specify text
...
mode in fopen().
2005-08-17 18:23:39 +00:00
9c14f30d8b
merge from gcc
2005-08-17 18:03:25 +00:00
0d339267ec
* dcrt0.cc (dll_crt0_1): Tweak debugging stuff.
...
* fhandler_tty.cc (fhandler_tty_common::close): Rearrange the code so that the
master end of the input and output pipes is closed before signalling an EOF
event to the slave.
(fhandler_pty_master::close): Likewise.
2005-08-17 16:10:48 +00:00
ac6001df45
2005-08-17 Christian Groessler <chris@groessler.org>
...
* Makefile.tpl: (USUAL_CC_FOR_TARGET): Add missing trailing slash.
* Makefile.in: Regenerate.
2005-08-17 15:52:29 +00:00
ae6c01c069
2005-08-17 Michael Jung <mjung@iss.tu-darmstadt.de>
...
* lib/shell32.c (CLSID_RecycleBin, CLSID_ControlPanel,
CLSID_MyComputer,CLSID_Internet, CLSID_NetworkPlaces,
CLSID_MyDocuments, CLSID_FolderShortcut): Add GUIDs.
2005-08-17 10:57:17 +00:00
38c9e858ac
2005-08-17 Martin Fuchs <martin-fuchs@gmx.net>
...
* include/shlobj.h (IContextMenu3): Define.
* include/shlguid.h (IID_IContextMenu3): Declare.
* lib/shell32.c (IID_IContextMenu3): Define.
2005-08-17 Martin Fuchs <martin-fuchs@gmx.net >
* include/shlobj.h (SHFormatDrive): Declaration of function
and associated constants.
2005-08-17 08:29:08 +00:00
9a99dcd39c
* cygcheck.cc (dump_sysinfo_services): Properly null-terminate 'buf'.
...
Avoid extraneous cygrunsrv invocation if 'verbose' is true.
2005-08-17 00:52:43 +00:00
e448b01f6b
2005-08-16 Shaun Jackman <sjackman@gmail.com>
...
* arm/syscalls.c (initialise_monitor_handles): Set
monitor_stderr to the result of SWI_open(":tt", "a")
instead of simply duplicating stdout.
2005-08-16 18:05:35 +00:00
e357cc5911
gas/
...
* config/tc-ppc.c (parse_cpu): Add -me300 support.
(md_show_usage): Likewise.
* doc/c-ppc.texi (PowerPC-Opts): Document it.
include/opcode/
* ppc.h (PPC_OPCODE_E300): Define.
opcodes/
* ppc-dis.c (powerpc_dialect): Handle e300.
(print_ppc_disassembler_options): Likewise.
* ppc-opc.c (PPCE300): Define.
(powerpc_opcodes): Mark icbt as available for the e300.
binutils/
* doc/binutils.texi (objdump): Document -M e300.
2005-08-15 15:37:15 +00:00
447419497d
* init.cc (respawn_wow64_process): Make inline function. Remove
...
"noreturn" attribute. Add additional check if parent process is
actually a 64 bit process.
(dll_entry): Only test WOW64 processes with a stack in the usual
"dangerous" process space area.
2005-08-14 19:48:07 +00:00
50f196b57f
* Include/_mingw.h: Increment version to 3.8.
...
* Makefile.in: Ditto.
2005-08-13 12:52:43 +00:00
b527e96688
* s390.h (s390_opcode_cpu_val): Add enum for cpu type z9-109.
2005-08-12 18:02:38 +00:00
60cfca657c
toplevel:
...
2005-08-12 Paolo Bonzini <bonzini@gnu.org >
* configure.in: Replace NCN_STRICT_CHECK_TOOL with
NCN_STRICT_CHECK_TOOLS, and likewise for NCN_STRICT_CHECK_TARGET_TOOLS.
Look for alternate names of the target cc and c++
config:
2005-08-12 Paolo Bonzini <bonzini@gnu.org >
* config/acx.m4 (NCN_CHECK_TARGET_TOOL, NCN_STRICT_CHECK_TOOL,
NCN_STRICT_CHECK_TARGET_TOOL): Remove.
(NCN_STRICT_CHECK_TOOLS, NCN_STRICT_CHECK_TARGET_TOOLS): New,
2005-08-12 14:22:33 +00:00
1a2fe82e40
* include/ddk/hidsdi.h: New file.
...
* lib/ddk/hid.def: Uncomment symbols and add stdcall suffix for
functions declared in hidsdi.h.
Thanks to: Alex J Lennon <ajlennon at organixconsulting dot com>
2005-08-12 09:16:18 +00:00
b50ce80887
* lib/imm32.def (ImmDisableIME): Add stub.
...
Thanks to: "kidmin" <kidmin at users dot sourceforge dot net>
2005-08-12 09:11:40 +00:00
1cd065837c
white space
2005-08-12 02:39:13 +00:00
b4ec184199
fix typo
2005-08-11 17:18:18 +00:00
205a575188
* fhandler_serial.cc (fhandler_serial::tcgetattr): Return current baud rate
...
regardless of current DTR state.
2005-08-11 17:03:18 +00:00
b21413b304
* dcrt0.cc: Remove ld_preload declaration.
...
* winsup.h: Move ld_preload declaration here.
* fork.cc (fork_child): Call ld_preload() before returning.
2005-08-11 16:30:48 +00:00
ff7bdd11f5
* child_info. (CURR_CHILD_INFO_MAGIC): Refresh.
...
(child_info::child_info()): New constructor.
(child_info_spawn::child_info_spawn()): Ditto.
(child_info_spawn::operator new): New operator.
(child_info_spawn::set): New function.
* spawn.cc (av()): New constructor.
(av::operator new): New operator.
(av::set): New function.
(spawn_guts): Reorganize so that classes which allocates are defined early in
the function so that it can be properly cleaned up after an efault. Set errno
to E2BIG in the event of a SEGV situation.
2005-08-11 16:13:30 +00:00
abec0aaae9
Attempting to add include/objsafe.h again...
2005-08-11 09:04:13 +00:00
8cb66eee67
* include/w32api.h: Increment version to 3.3.
...
* Makefile.in: Ditto.
2005-08-11 02:13:36 +00:00
2e73582e29
* MAINTAINERS (CPU Ports): Add CPU port maintainer section.
2005-08-10 21:16:14 +00:00
234cf97f85
2005-08-10 Stephen Huw Clarke <stephen.clarke@st.com>
...
* libm/common/sf_fmax.c: Fix to properly handle NaNs.
* libm/common/s_max.c: Ditto.
* libm/common/sf_fmin.c: Ditto.
* libm/common/s_min.c: Ditto.
2005-08-10 21:02:28 +00:00
56448afa06
2005-08-10 DJ Delorie <dj@redhat.com>
...
* configure.host: Add m32c support.
* libc/include/machine/ieeefp.h: Likewise.
* libc/include/machine/setjmp.h: Likewise.
* libc/include/sys/config.h: Likewise.
* libc/machine/m32c: New directory, Renesas R8C/M16C/M32C support.
* libc/machine/m32c/aclocal.m4: New file.
* libc/machine/m32c/configure: Ditto.
* libc/machine/m32c/configure.in: Ditto.
* libc/machine/m32c/Makefile.am: Ditto.
* libc/machine/m32c/Makefile.in: Ditto.
* libc/machine/m32c/setjmp.S: Ditto.
2005-08-10 20:35:13 +00:00
250996a91b
Add * qualifier for file list.
2005-08-10 20:29:55 +00:00
a663cd89a7
2005-08-10 DJ Delorie <dj@redhat.com>
...
* configure.in: Add m32c support.
* configure: Regenerated
* m32c: New directory, Renesas R8C/M16C/M32C support.
* m32c/abort.S m32c/argvlen.S m32c/argv.S m32c/chdir.S,
m32c/chmod.S m32c/close.S m32c/configure m32c/configure.in,
m32c/crt0.S, m32c/crtn.S, m32c/exit.S, m32c/fstat.S,
m32c/genscript, m32c/getpid.S, m32c/gettimeofday.S,
m32c/heaptop.S, m32c/isatty.S, m32c/kill.S, m32c/link.S,
m32c/lseek.S, m32c/m32csys.h, m32c/m32c.tmpl, m32c/Makefile.in,
m32c/open.S, m32c/read.S, m32c/sbrk.c, m32c/stat.S, m32c/time.S,
m32c/times.S, m32c/unlink.S, m32c/utime.S, m32c/write.S: New files
2005-08-10 20:29:33 +00:00
d154b707d0
* include/wctype.h (towupper, towlower): Change arg and return value
...
types to wint_t.
* include/ctype.h (towupper, towlower): Likewise.
2005-08-10 10:10:32 +00:00
5ce4d1685b
* mthr_stub.c (__mingwthr_key_dtor): Replace assert(0) with
...
a diagnostic, guarded by #ifdef DEBUG.
(__mingwthr_remove_key_dtor): Likewise.
2005-08-10 10:05:02 +00:00
be5c9e0965
* hppa.h (SHT_PARISC_DLKM, SHF_PARISC_WEAKORDER, PT_PARISC_WEAKORDER):
...
New defines.
2005-08-10 02:51:52 +00:00
c9508cb4ec
* cygserver.cc (main): Call wincap.init() earlier to avoid a NULL dereference.
2005-08-08 19:46:48 +00:00
d4c8f095ba
* include/sys/cdefs.h: Remove extra line.
2005-08-08 18:54:28 +00:00
2ab8ea6738
* security.cc (get_reg_security): New static function.
...
(get_nt_object_security): Call get_reg_security for registry keys
to circumvent problems with predefined registry keys.
2005-08-08 16:30:15 +00:00
af925fe4fa
* fhandler_process.cc (fhandler_process::open): Allow opening of
...
/proc/<pid>/fd for reading.
* fhandler_registry.cc (fhandler_registry::open): Ditto for registry
keys.
2005-08-08 15:33:32 +00:00
6e8cac2638
* include/sys/cdefs.h (__CONCAT): Define.
...
* include/elf.h: New file.
* include/sys/elf32.h: Ditto.
* include/sys/elf64.h: Ditto.
* include/sys/elf_common.h: Ditto.
* include/sys/elf_generic.h: Ditto.
2005-08-08 15:00:39 +00:00
2e82c9355f
* cygwin.sc: Use simpler method to align .cygheap.
...
* dllfixdbg: Just copy .stab and .stabstr sections when making cygwin1.dbg,
rather than relying on objcopy to keep only the debug sections since objcopy
seems to get it wrong.
* dtable.cc (build_fh_pc): Check setting fh to fhandler_nodevice for NULL, too.
2005-08-08 13:53:05 +00:00
a8b939adc7
* ftw.c: Include winsup.h.
...
* nftw.c: Ditto.
* include/ftw.h: Guard declarations appropriately.
2005-08-08 13:39:56 +00:00
5b3ab258e5
* moldname.def.in (sleep, beep, seterrormode): Remove.
2005-08-08 10:22:20 +00:00
e6ae6cd338
* Makefile.in (DLL_OFILES): Add fts.o, ftw.o, nftw.o.
...
* cygwin.din: Export fts_children, fts_close, fts_get_clientptr,
fts_get_stream, fts_open, fts_read, fts_set, fts_set_clientptr,
ftw, nftw.
* fts.c: New file, imported from FreeBSD.
* ftw.c: Ditto.
* nftw.c: Ditto.
* include/fts.h: Ditto.
* include/ftw.h: Ditto.
* include/cygwin/version.h: Bump API minor number.
2005-08-08 09:45:42 +00:00
5fb28bccde
2005-08-08 Paolo Bonzini <bonzini@gnu.org>
...
* configure.in (CC_FOR_TARGET, CXX_FOR_TARGET, GCJ_FOR_TARGET,
GCC_FOR_TARGET, RAW_CXX_FOR_TARGET, GFORTRAN_FOR_TARGET): Find
them with NCN_STRICT_CHECK_TARGET_TOOL, like the other target
tools; remove code to manually set them.
(Target tools): Look in the environment for them.
* Makefile.tpl (CC_FOR_TARGET, CXX_FOR_TARGET, GCJ_FOR_TARGET,
GCC_FOR_TARGET, RAW_CXX_FOR_TARGET, GFORTRAN_FOR_TARGET): Redefine.
(AS_FOR_TARGET, LD_FOR_TARGET, NM_FOR_TARGET): Look into gcc
build directory.
(CONFIGURED_CC_FOR_TARGET, CONFIGURED_CXX_FOR_TARGET,
CONFIGURED_GCJ_FOR_TARGET, CONFIGURED_GCC_FOR_TARGET,
CONFIGURED_GFORTRAN_FOR_TARGET, USUAL_CC_FOR_TARGET,
USUAL_CXX_FOR_TARGET, USUAL_GCJ_FOR_TARGET, USUAL_GCC_FOR_TARGET,
USUAL_RAW_CXX_FOR_TARGET, USUAL_GFORTRAN_FOR_TARGET): New.
(CXX_FOR_TARGET_FOR_RECURSIVE_MAKE,
RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE, RECURSE_FLAGS): Delete.
* configure: Regenerate.
* Makefile.in: Regenerate.
2005-08-08 09:21:05 +00:00
6a7bea70f0
* Makefile.in (dtable_CFLAGS): Use -fomit-frame-pointer and -fcheck-new.
...
* cygheap.cc (cmalloc): Only emit system_printf warnings on failure if
DEBUGGING.
(crealloc): Ditto.
(ccalloc): Ditto.
* dtable.cc (build_fh_name): Treat NULL return from cnew as indicative of
EMFILE condition.
(build_fh_dev): Ditto.
(dtable::dup_worker): Handle NULL return from build_fh_pc.
(dtable::vfork_child_dup): Trust dup_worker to set errno.
* fhandler.h (fhandler_base::new): Mark as nothrow.
2005-08-08 04:06:07 +00:00
cbda22eb63
* dllfixdbg: New perl script.
...
* configure.in: Detect objcopy, objdump, strip.
* configure: Regenerate.
* Makefile.in: Pass target objcopy/objdump to new dllfixdbg script. Remove
previous perl check.
* cygwin.sc: Add .gnu_debuglink_overlay section for eventual replacement with
.gnu_debuglink section. Revert move of cygheap to end of image.
2005-08-08 02:27:43 +00:00
1e0cb9ee0a
* Makefile.in: Allow previous patch to work in a 64 bit environment.
2005-08-07 09:21:09 +00:00
45a2f09e55
revert erroneous checkin
2005-08-07 02:38:46 +00:00