Keith Marshall
a88c650cd4
Add --enable-mingw-manpage-transform configure option.
2007-03-20 23:19:34 +00:00
H.J. Lu
edfd2a6e7a
*** empty log message ***
2007-03-19 23:06:06 +00:00
Danny Smith
a4ad579228
* include/_mingw.h (__CRT_INLINE): Ue __gnu_inline__ for gcc 4.2.x too.
2007-03-18 00:23:44 +00:00
Jeff Johnston
443871a60b
2007-03-16 Charles Wilson <cygwin@...>
...
* libc/argz/argz_insert.c: "before" pointer is
invalid after *argz realloc. Compute offset
between "before" and *argz, and use it after
reallocation instead.
2007-03-16 21:16:09 +00:00
Jeff Johnston
a167bcd8e5
2007-03-16 Eric Blake <ebb9@byu.net>
...
* libc/stdio64/fseek064.c (_fseeko64_r): Fix reentrancy.
* libc/stdio64/freopen64.c (_freopen64_r): Ditto.
2007-03-16 20:05:10 +00:00
Jeff Johnston
826b5591dd
2007-03-15 Jeff Johnston <jjohnstn@redhat.com>
...
* configure.in: Add new --enable-newlib-reent-small option.
* configure: Regenerated.
* acconfig.h: Add _WANT_REENT_SMALL.
* newlib.hin: Regenerated minus PACKAGE macros to add
_WANT_REENT_SMALL macro.
* libc/include/sys/config.h[_WANT_REENT_SMALL]: Set _REENT_SMALL
if not already set.
* libc/stdio/fflush.c[_REENT_SMALL]: Return immediately if
there is no buffer.
* libc/stdio/local.h[_REENT_SMALL]: Fix CHECK_INIT macro to
use reentrant pointer passed in when resetting the file
pointer to one of the std streams.
2007-03-15 21:32:13 +00:00
Jeff Johnston
14ba5e14d9
2007-03-15 Eric Blake <ebb9@byu.net>
...
* libc/stdio/local.h (cantwrite, FREEUB, FREELB): Make reentrant.
(__smakebuf): Rename...
(__smakebuf_r): to this.
* libc/stdio/fvwrite.h (__swsetup_r): Rename, from __swsetup.
* libc/stdio/makebuf.c (__smakebuf): Detect failed asprint
allocation, then rename...
(__smakebuf_r): ...to this and fix reentrancy.
* libc/stdio/wsetup.c (__swsetup): Detect failed asprintf
allocation, then rename...
(__swsetup_r): ...to this and fix reentrancy.
* libc/stdio/fseek.c (_fseek_r): Fix reentrancy.
* libc/stdio/refill.c (__srefill_r): Likewise.
* libc/stdio/fclose.c (_fclose_r): Likewise.
* libc/stdio/fread.c (_fread_r): Likewise.
* libc/stdio/freopen.c (_freopen_r): Likewise.
* libc/stdio/wbuf.c (__swbuf_r): Likewise.
* libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
* libc/stdio/fvwrite.c (__sfvwrite_r): Set errno properly on
failed asprintf allocation, and fix reentrancy.
* libc/stdio/snprintf.c (snprintf, _snprintf_r): Report overflow,
as required by POSIX.
* libc/stdio/sniprintf.c (sniprintf, _sniprintf_r): Likewise.
* libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Likewise.
* libc/stdio/vsniprintf.c (vsniprintf, _vsniprintf_r): Likewise.
2007-03-15 18:40:48 +00:00
H.J. Lu
e96d068ed3
gas/
...
2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerated.
* config/tc-i386.c: Include "opcodes/i386-opc.h" instead of
"opcode/i386.h".
(md_begin): Check reg_name != NULL for the last entry in
i386_regtab.
* config/tc-i386.h: Move many entries to opcode/i386.h and
opcodes/i386-opc.h.
* configure.in (need_opcodes): Set true for i386.
* configure: Regenerated.
include/opcode/
2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
* i386.h: Add entries from config/tc-i386.h and move tables
to opcodes/i386-opc.h.
opcodes/
2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.am (CFILES): Add i386-opc.c.
(ALL_MACHINES): Add i386-opc.lo.
Run "make dep-am".
* Makefile.in: Regenerated.
* configure.in: Add i386-opc.lo for bfd_i386_arch.
* configure: Regenerated.
* i386-dis.c: Include "opcode/i386.h".
(MAXLEN): Renamed to MAX_MNEM_SIZE. Remove definition.
(FWAIT_OPCODE): Remove definition.
(UNIXWARE_COMPAT): Renamed to SYSV386_COMPAT. Remove definition.
(MAX_OPERANDS): Remove definition.
* i386-opc.c: New file.
* i386-opc.h: Likewise.
2007-03-15 14:31:24 +00:00
H.J. Lu
d7e13a06c2
2007-03-13 H.J. Lu <hongjiu.lu@intel.com>
...
* i386.h (FloatDR): Removed.
(i386_optab): Use FloatD and FloatD|FloatR instead of FloatDR.
2007-03-14 03:26:06 +00:00
Corinna Vinschen
bfb968cefd
Fix typo.
2007-03-13 13:39:27 +00:00
Corinna Vinschen
15823b9d62
* include/cygwin/stat.h (S_TYPEISSHM, S_TYPEISSEM, S_TYPEISSHM):
...
Avoid compiler warnings.
2007-03-13 13:22:00 +00:00
Jeff Johnston
99304ce6c4
2007-03-12 Eric Blake <ebb9@byu.net>
...
* libc/stdio/fvwrite.c (__sfvwrite_r): Fix reentrancy.
* libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Pass failed
allocation to caller.
* libc/stdio/asprintf.c (_asprintf_r, asprintf): Likewise.
* libc/stdio/asiprintf.c (_asiprintf_r, asiprintf): Likewise.
* libc/stdio/vasiprintf.c (vasiprintf, _vasiprintf_r): Likewise.
2007-03-12 20:30:08 +00:00
DJ Delorie
9c28809c0f
2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
...
* Makefile.def (fixincludes): Remove unneeded "missing" lines.
* Makefile.in: Regenerate
2007-03-12 20:19:44 +00:00
Keith Marshall
31e07d86d2
Add manpages for dirname and basename functions.
2007-03-11 00:15:00 +00:00
Keith Marshall
af8e63023a
Make basename and dirname functions work with path names
...
containing multibyte character strings.
2007-03-08 23:15:58 +00:00
Alan Modra
062bfdacdb
include/elf/
...
* v850.h (V850_OTHER_TDA_BYTE): Delete.
(V850_OTHER_SDA, V850_OTHER_ZDA, V850_OTHER_TDA): Assign bits
that don't clash with visibility bits.
bfd/
* elf32-v850.c (v850_elf_link_output_symbol_hook): Clean out
V850_OTHER_* bits.
2007-03-08 11:28:35 +00:00
Chris Sutcliffe
8ca56e23af
2007-03-06 Brandon Sneed <brandon@oqo.com>
...
* include/setupapi.h: Added SetupConfigureWmiFromInfSectionA
Added SetupConfigureWmiFromInfSectionW
Added SetupConfigureWmiFromInfSection define to unicode and non-unicode sections
* lib/setupapi.def: Added exports for SetupConfigureWmiFromInfSectionA and W
* include/winuser.h: Added PBT_APMQUERYSUSPEND
Added PBT_APMQUERYSTANDBY
Added PBT_APMQUERYSUSPENDFAILED
Added PBT_APMQUERYSTANDBYFAILED
Added PBT_APMSUSPEND
Added PBT_APMSTANDBY
Added PBT_APMRESUMECRITICAL
Added PBT_APMRESUMESUSPEND
Added PBT_APMRESUMESTANDBY
Added PBT_APMBATTERYLOW
Added PBT_APMPOWERSTATUSCHANGE
Added PBT_APMOEMEVENT
Added PBT_APMRESUMEAUTOMATIC
* include/wtsapi32.h: New file
* include/wingdi.h: Added DM_DISPLAYORIENTATION define for use with DMDO_* defines
2007-03-07 23:18:35 +00:00
Christopher Faylor
b8804b1ecd
* signal.cc (handle_sigprocmask): Remove extraneous sig_dispatch_pending.
2007-03-07 21:51:27 +00:00
Corinna Vinschen
fcdca88165
* fhandler_proc.cc: Fix formatting. Drop setting errno when creating
...
proc file content.
(format_proc_uptime): Simplify.
(format_proc_cpuinfo): Align more closely to output of Linux 2.6 kernel.
Evaluate more data, especially for AMD CPUs.
2007-03-07 14:03:29 +00:00
Andreas Schwab
7a81a71741
* configure: Regenerate.
...
config/:
* acx.m4 (GCC_TARGET_TOOL): Expand backquotes outside
AC_MSG_RESULT.
2007-03-07 14:02:20 +00:00
Alan Modra
2a2128cad1
* common.h (ELF_ST_VISIBILITY): Comment typo fix.
2007-03-07 10:18:56 +00:00
DJ Delorie
97e7286372
merge from gcc
2007-03-06 19:00:57 +00:00
Corinna Vinschen
2213ad419b
Fix log entry.
2007-03-06 16:35:45 +00:00
Corinna Vinschen
7113f5da75
Add accidentally missing checkins.
...
* fhandler.h (fhandler_base::fstat_helper): Add creation time parameter.
* glob.cc (stat32_to_stat64): Set st_birthtim to st_mtim.
2007-03-06 16:29:40 +00:00
Corinna Vinschen
74652ce13e
* include/cygwin/stat.h (S_TYPEISMQ): Define.
...
(S_TYPEISSEM): Dttio.
(S_TYPEISSHM): Ditto.
2007-03-06 14:56:44 +00:00
Corinna Vinschen
70de8290c8
* fhandler_mailslot.cc (fhandler_mailslot::fstat): Set new stat member
...
st_birthtim to useful value.
* fhandler_process.cc (fhandler_process::fstat): Ditto.
* fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Take
additional parameter for creation time. Fill st_birthtim with it.
Accomodate additional creation time parameter throughout.
* fhandler_raw.cc (fhandler_dev_raw::fstat): Set new stat member
st_birthtim to useful value.
* fhandler.cc (fhandler_base::fstat): Ditto.
* fhandler_registry.cc (fhandler_registry::fstat): Ditto.
* include/cygwin/version.h: Bump API minor number.
* include/cygwin/stat.h (struct __stat64): Replace st_spare4 with
timestruc_t st_birthtim.
(struct stat): Ditto if __CYGWIN_USE_BIG_TYPES__ is defined.
(st_birthtime): Define if __CYGWIN_USE_BIG_TYPES__ is defined.
2007-03-06 14:48:25 +00:00
Martin Schwidefsky
4e747c10dc
2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
...
* opcodes/s390-opc.c (INSTR_RRE_FR, INSTR_RRF_F0FF2, INSTR_RRF_F0FR,
INSTR_RRF_UUFF, INSTR_RRF_0UFF, INSTR_RRF_FFFU, INSTR_RRR_F0FF): New
instruction formats added.
(MASK_RRE_FR, MASK_RRF_F0FF2, MASK_RRF_F0FR, MASK_RRF_UUFF,
MASK_RRF_0UFF, MASK_RRF_FFFU, MASK_RRR_F0FF): New instruction format
masks added.
* opcodes/s390-opc.txt (lpdfr - tgxt): Decimal floating point
instructions added.
* opcodes/s390-mkopc.c (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
(main): z9-ec cpu type option added.
* include/opcode/s390.h (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
* config/tc-s390.c (md_parse_option): z9-ec option added.
2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
* gas/s390/zarch-z9-ec.d: New file.
* gas/s390/zarch-z9-ec.s: New file.
* gas/s390/s390.exp: Run the z9-ec testcases.
2007-03-06 13:19:07 +00:00
Chris Sutcliffe
aefbb81cc4
2007-03-05 Jan Nijtmans <nijtmans@users.sourceforge.net>
...
* include/ddeml.h (DdeCreateStringHandleA, DdeCreateStringHandleW): Switch
argument to constant.
2007-03-06 01:53:36 +00:00
DJ Delorie
d4954b6d11
Merge from gcc:
...
+2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
+
+ * configure.ac: Add "--with-pdfdir" configure option,
+ which defines pdfdir variable.
+ * Makefile.def (target=fixincludes): Add install-pdf to
+ missing targets.
+ (recursive_targets): Add install-pdf target.
+ (flags_to_pass): Add pdfdir.
+ * Makefile.tpl: Add pdfdir handling, add do-install-pdf
+ target.
+ * configure: Regenerate
+ * Makefile.in: Regenerate
+
+2007-02-28 Eric Christopher <echristo@apple.com>
+
+ Revert:
+ 2006-12-07 Mike Stump <mrs@apple.com>
+
+ * Makefile.def (dependencies): Add dependency for
+ install-target-libssp and install-target-libgomp on
+ install-gcc.
+ * Makefile.in: Regenerate.
+
+2007-02-27 Matt Kraai <kraai@ftbfs.org>
+
+ * configure: Regenerate.
+ * configure.ac: Move statements after variable declarations.
+
2007-03-05 23:19:10 +00:00
Danny Smith
3315e811a4
* include/io.h (__mingw_access): New static inline wrapper to restore
...
pre-Vista 'access (fname, X_OK)' behaviour.
(__USE_MINGW_ACCESS): Use to map access() to __mingw_access().
2007-03-05 08:25:32 +00:00
Danny Smith
5643b1ee86
* mingwex/fesetround.c (fesetround): Use unsigned int as operand
...
to stmxcsr.
Thanks to Alexey Kuznetsov <ring0_mipt at users dot sf dot net>
2007-03-05 07:42:36 +00:00
Corinna Vinschen
788e7da136
* ntdll.h (struct _OBJECT_NAME_INFORMATION): Define.
...
* syscalls.cc (unlink_nt): Check shared directory for being empty
before trying to move and mark for deletion.
2007-03-02 20:04:26 +00:00
Corinna Vinschen
3532877889
* security.cc (get_file_attribute): Avoid compiler warning.
2007-03-02 19:54:20 +00:00
Ben Elliston
538b71077d
* spu/sbrk.c (sbrk): Adjust the stack pointer vector correctly so
...
that GCC runtime stack checking works. Handle the backchain, too.
2007-03-01 23:08:21 +00:00
Christopher Faylor
e943a1a37e
* fork.cc (fork): Reset child to true after fork since it may have been reset
...
by fork memory copies.
2007-03-01 18:43:38 +00:00
Christopher Faylor
6e070c257c
* Makefile (DLL_OFILES): Remove ntea.o
...
* environ.cc (set_ntea): Delete.
(parse_thing): Delete "ntea" setting.
* fhandler.cc (fhandler_base::open): Remove allow_ntea considerations.
(check_posix_perm): Ditto.
* fhandler_disk_file.cc (fhandler_disk_file::fchmod): Ditto.
(fhandler_base::open_fs): Ditto.
(fhandler_disk_file::mkdir): Ditto.
* path.cc (symlink_worker): Ditto.
* security.cc (get_file_attribute): Ditto.
(set_file_attribute): Ditto.
* security.h: Remove allow_ntea declaration.
2007-03-01 15:13:47 +00:00
Alan Modra
a49625d566
* spu-insns.h: Add soma double-float insns.
2007-03-01 11:17:41 +00:00
Corinna Vinschen
40303ac9de
* path.cc (close_user_proc_parms_cwd_handle): Remove.
...
(cwdstuff::init): Don't call close_user_proc_parms_cwd_handle.
Call set to set cwd with all-sharing handle.
(cwdstuff::set): Fix comment. Don't close cwd handle. Set in
user parameter block instead and close old cwd handle.
* syscalls.cc (rename): Call unlink_nt instead of RemoveDirectory or
DeleteFile to allow deleting shared files/directories.
2007-02-27 18:38:22 +00:00
Corinna Vinschen
3323df7e0e
* fhandler.cc(fhandler_base::open): Open with READ_CONTROL only in
...
case of query_open flag set to query_read_control. Add case for
new query_read_attributes flag.
(fhandler_base::fstatvfs): New method.
* fhandler.h (enum query_state): Add query_read_attributes flag.
(class fhandler_base): Declare new virtual fstatvfs method.
(class fhandler_socket): Ditto.
(class fhandler_pipe): Ditto.
(class fhandler_fifo): Ditto.
(class fhandler_disk_file): Ditto.
(class fhandler_virtual): Ditto.
* fhandler_disk_file.cc (fhandler_base::fstat_fs): Open with
query_read_attributes instead of query_read_control.
(fhandler_disk_file::fstatvfs): New method.
(fhandler_disk_file::facl): Open with query_read_attributes instead of
query_read_control.
* fhandler_fifo.cc (fhandler_fifo::fstatvfs): New method.
* fhandler_socket.cc (fhandler_socket::fstatvfs): New method.
(fhandler_socket::fchmod): Return with EBADF in the default case.
(fhandler_socket::fchown): Ditto.
(fhandler_socket::facl): Ditto.
* fhandler_virtual.cc (fhandler_virtual::fstatvfs): Ditto.
* ntdll.h (struct _FILE_FS_ATTRIBUTE_INFORMATION): Define.
(struct _FILE_FS_FULL_SIZE_INFORMATION): Define.
* pipe.cc (fhandler_pipe::fstatvfs): New method.
* syscalls.cc (fstatvfs): Just call the fhandler's fstatvfs.
(statvfs): Ditto.
(fstatfs): Call fstatvfs.
(statfs): Drop EFAULT handling.
2007-02-27 12:58:56 +00:00
Alan Modra
7706962caf
* mt-spu (all-ld): Depend on all-binutils.
...
also fix previous ChangeLog entry
2007-02-27 09:02:43 +00:00
Danny Smith
cbf4bfcd5b
2007-02-27 Thorsten Dahlheimer <tdahlheim@gmx.net>
...
* include/stdio.h (_unlink, unlink): Add prototypes.
2007-02-27 07:40:12 +00:00
Corinna Vinschen
139654836c
* fhandler.cc (fhandler_base::fstat): Set all file times to arbitrary
...
fixed value.
2007-02-26 14:19:00 +00:00
Corinna Vinschen
14e06cca26
* fhandler_registry.cc (registry_listing): Drop name of HKEY_DYN_DATA.
...
(registry_keys): Drop HKEY_DYN_DATA.
* net.cc: Fix comment.
* syslog.cc: Ditto.
2007-02-26 12:39:25 +00:00
Corinna Vinschen
457c7938f0
* fhandler_disk_file.cc (fhandler_disk_file::fchmod): Drop comment.
...
* mmap.cc (gen_access): Remove.
(mmap_record::gen_access): Remove.
(mmap64): Don't mention 9x any longer.
* syscalls.cc (statvfs): Drop status code consideration for 9x.
* libc/minires-os-if.c (get_registry_dns_items): Don't mention 9x any
longer.
(get_registry_dns): Drop getting registry key on 9x. Drop is9x
variable.
2007-02-26 12:22:41 +00:00
Jeff Johnston
d9edc05f47
2007-02-23 Jeff Johnston <jjohnstn@redhat.com>
...
* libm/math/w_pow.c: Fix typo in documentation comment.
2007-02-23 18:29:31 +00:00
Corinna Vinschen
a76877e977
Throughout remove all usage of wincap.has_security.
...
* environ.cc (environ_init): Drop setting allow_ntsec here.
* grp.cc (initgroups32): Drop usage of label "out".
* security.cc (allow_ntsec): Set to true by default.
* syscalls.cc (seteuid32): Remove label success_9x.
* wincap.cc: Remove has_security throughout.
* wincap.h: Ditto.
2007-02-23 15:15:50 +00:00
Corinna Vinschen
9fa43ff6c6
* fhandler.h (class fhandler_pipe): Remove members writepipe_exists,
...
orig_pid and id. Make hit_eof inline.
* fhandler_fifo.cc (fhandler_fifo::open): Drop handling of
writepipe_exists, orig_pid and id.
* pipe.cc: Ditto throughout.
(pipecount): Remove.
(pipeid_fmt): Remove.
(fhandler_pipe::hit_eof): Simplify. Move to fhandler.h.
(fhandler_pipe::dup): Drop leave label.
(fhandler_pipe::create): Drop has_unreliable_pipes case.
* wincap.cc: Remove has_unreliable_pipes throughout.
* wincap.h: Ditto.
2007-02-23 14:47:45 +00:00
Corinna Vinschen
296a8a6369
* devices.in: Change native device name to native NT device name for
...
/dev/null, /dev/comX and /dev/ttySx.
* devices.cc: Regenerate.
* fhandler.cc (fhandler_base::open_9x): Remove.
(fhandler_base::open): Don't test for DOS device name, don't call
open_9x.
(fhandler_dev_null::open): Remove.
* fhandler.h (class fhandler_base): Drop open_9x declaration.
(class fhandler_dev_null): Drop open declaration.
2007-02-23 14:20:28 +00:00
Corinna Vinschen
b5cb5c9e64
* fhandler_console.cc (fhandler_console::need_invisible): Drop
...
pty_needs_alloc_console check.
* spawn.cc (spawn_guts): Ditto.
(av::fixup): Remove setting iscui.
* syscalls.cc (rename): Drop has_move_file_ex checks. Remove 9x
specific code.
* wincap.cc: Remove has_move_file_ex and pty_needs_alloc_console
throughout.
* wincap.h: Ditto.
2007-02-23 12:01:52 +00:00
Corinna Vinschen
7131554a69
Throughout remove using wincap.
...
* Makefile.in (OBJS): Remove wincap.o.
* README: Don't mention 9x.
* bsd_mutex.cc (_mtx_unlock): Drop checking for 9x error codes.
* cygserver.cc (server_submission_loop::request_loop): Add FIXME
comment.
* wincap.cc: Remove.
* wincap.h: Remove.
* woutsup.h: Don't include wincap.h.
2007-02-23 11:43:48 +00:00