]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
17 years ago * configure: Regenerate.
Andreas Schwab [Wed, 7 Mar 2007 14:02:20 +0000 (14:02 +0000)]
* configure: Regenerate.

config/:
* acx.m4 (GCC_TARGET_TOOL): Expand backquotes outside
AC_MSG_RESULT.

17 years ago * common.h (ELF_ST_VISIBILITY): Comment typo fix.
Alan Modra [Wed, 7 Mar 2007 10:18:56 +0000 (10:18 +0000)]
* common.h (ELF_ST_VISIBILITY): Comment typo fix.

17 years agomerge from gcc
DJ Delorie [Tue, 6 Mar 2007 19:00:57 +0000 (19:00 +0000)]
merge from gcc

17 years ago Fix log entry.
Corinna Vinschen [Tue, 6 Mar 2007 16:35:45 +0000 (16:35 +0000)]
Fix log entry.

17 years ago Add accidentally missing checkins.
Corinna Vinschen [Tue, 6 Mar 2007 16:29:40 +0000 (16:29 +0000)]
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.

17 years ago * include/cygwin/stat.h (S_TYPEISMQ): Define.
Corinna Vinschen [Tue, 6 Mar 2007 14:56:44 +0000 (14:56 +0000)]
* include/cygwin/stat.h (S_TYPEISMQ): Define.
(S_TYPEISSEM): Dttio.
(S_TYPEISSHM): Ditto.

17 years ago * fhandler_mailslot.cc (fhandler_mailslot::fstat): Set new stat member
Corinna Vinschen [Tue, 6 Mar 2007 14:48:25 +0000 (14:48 +0000)]
* 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.

17 years ago2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
Martin Schwidefsky [Tue, 6 Mar 2007 13:19:07 +0000 (13:19 +0000)]
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.

17 years ago2007-03-05 Jan Nijtmans <nijtmans@users.sourceforge.net>
Chris Sutcliffe [Tue, 6 Mar 2007 01:53:36 +0000 (01:53 +0000)]
2007-03-05  Jan Nijtmans  <nijtmans@users.sourceforge.net>

        * include/ddeml.h (DdeCreateStringHandleA, DdeCreateStringHandleW): Switch
        argument to constant.

17 years agoMerge from gcc:
DJ Delorie [Mon, 5 Mar 2007 23:19:10 +0000 (23:19 +0000)]
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.
+

17 years ago * include/io.h (__mingw_access): New static inline wrapper to restore
Danny Smith [Mon, 5 Mar 2007 08:25:32 +0000 (08:25 +0000)]
* 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().

17 years ago * mingwex/fesetround.c (fesetround): Use unsigned int as operand
Danny Smith [Mon, 5 Mar 2007 07:42:36 +0000 (07:42 +0000)]
* mingwex/fesetround.c (fesetround): Use unsigned int as operand
to  stmxcsr.
Thanks to Alexey Kuznetsov <ring0_mipt at users dot sf dot net>

17 years ago * ntdll.h (struct _OBJECT_NAME_INFORMATION): Define.
Corinna Vinschen [Fri, 2 Mar 2007 20:04:26 +0000 (20:04 +0000)]
* 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.

17 years ago * security.cc (get_file_attribute): Avoid compiler warning.
Corinna Vinschen [Fri, 2 Mar 2007 19:54:20 +0000 (19:54 +0000)]
* security.cc (get_file_attribute): Avoid compiler warning.

17 years ago * spu/sbrk.c (sbrk): Adjust the stack pointer vector correctly so
Ben Elliston [Thu, 1 Mar 2007 23:08:21 +0000 (23:08 +0000)]
* spu/sbrk.c (sbrk): Adjust the stack pointer vector correctly so
that GCC runtime stack checking works.  Handle the backchain, too.

17 years ago* fork.cc (fork): Reset child to true after fork since it may have been reset
Christopher Faylor [Thu, 1 Mar 2007 18:43:38 +0000 (18:43 +0000)]
* fork.cc (fork): Reset child to true after fork since it may have been reset
by fork memory copies.

17 years ago* Makefile (DLL_OFILES): Remove ntea.o
Christopher Faylor [Thu, 1 Mar 2007 15:13:47 +0000 (15:13 +0000)]
* 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.

17 years ago * spu-insns.h: Add soma double-float insns.
Alan Modra [Thu, 1 Mar 2007 11:17:41 +0000 (11:17 +0000)]
* spu-insns.h: Add soma double-float insns.

17 years ago * path.cc (close_user_proc_parms_cwd_handle): Remove.
Corinna Vinschen [Tue, 27 Feb 2007 18:38:22 +0000 (18:38 +0000)]
* 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.

17 years ago * fhandler.cc(fhandler_base::open): Open with READ_CONTROL only in
Corinna Vinschen [Tue, 27 Feb 2007 12:58:56 +0000 (12:58 +0000)]
* 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.

17 years ago * mt-spu (all-ld): Depend on all-binutils.
Alan Modra [Tue, 27 Feb 2007 09:02:43 +0000 (09:02 +0000)]
* mt-spu (all-ld): Depend on all-binutils.
also fix previous ChangeLog entry

17 years ago2007-02-27 Thorsten Dahlheimer <tdahlheim@gmx.net>
Danny Smith [Tue, 27 Feb 2007 07:40:12 +0000 (07:40 +0000)]
2007-02-27  Thorsten Dahlheimer  <tdahlheim@gmx.net>

* include/stdio.h (_unlink, unlink): Add prototypes.

17 years ago * fhandler.cc (fhandler_base::fstat): Set all file times to arbitrary
Corinna Vinschen [Mon, 26 Feb 2007 14:19:00 +0000 (14:19 +0000)]
* fhandler.cc (fhandler_base::fstat): Set all file times to arbitrary
fixed value.

17 years ago * fhandler_registry.cc (registry_listing): Drop name of HKEY_DYN_DATA.
Corinna Vinschen [Mon, 26 Feb 2007 12:39:25 +0000 (12:39 +0000)]
* fhandler_registry.cc (registry_listing): Drop name of HKEY_DYN_DATA.
(registry_keys): Drop HKEY_DYN_DATA.
* net.cc: Fix comment.
* syslog.cc: Ditto.

17 years ago * fhandler_disk_file.cc (fhandler_disk_file::fchmod): Drop comment.
Corinna Vinschen [Mon, 26 Feb 2007 12:22:41 +0000 (12:22 +0000)]
* 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.

17 years ago2007-02-23 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 23 Feb 2007 18:29:31 +0000 (18:29 +0000)]
2007-02-23  Jeff Johnston  <jjohnstn@redhat.com>

        * libm/math/w_pow.c: Fix typo in documentation comment.

17 years ago Throughout remove all usage of wincap.has_security.
Corinna Vinschen [Fri, 23 Feb 2007 15:15:50 +0000 (15:15 +0000)]
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.

17 years ago * fhandler.h (class fhandler_pipe): Remove members writepipe_exists,
Corinna Vinschen [Fri, 23 Feb 2007 14:47:45 +0000 (14:47 +0000)]
* 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.

17 years ago * devices.in: Change native device name to native NT device name for
Corinna Vinschen [Fri, 23 Feb 2007 14:20:28 +0000 (14:20 +0000)]
* 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.

17 years ago * fhandler_console.cc (fhandler_console::need_invisible): Drop
Corinna Vinschen [Fri, 23 Feb 2007 12:01:52 +0000 (12:01 +0000)]
* 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.

17 years ago Throughout remove using wincap.
Corinna Vinschen [Fri, 23 Feb 2007 11:43:48 +0000 (11:43 +0000)]
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.

17 years ago * exceptions.cc (dummy_ctrl_c_handler): Remove.
Corinna Vinschen [Fri, 23 Feb 2007 10:51:59 +0000 (10:51 +0000)]
* exceptions.cc (dummy_ctrl_c_handler): Remove.
(init_console_handler): Drop has_null_console_handler_routine checks.
* fhandler_raw.cc (fhandler_dev_raw::open): Drop has_raw_devices check.
* fhandler_serial.cc (fhandler_serial::open): Drop
.supports_reading_modem_output_lines check.
* miscfuncs.cc (low_priority_sleep): Drop has_switch_to_thread check.
* shared.cc (open_shared): Drop needs_memory_protection checks.
* spawn.cc (spawn_guts): Drop start_proc_suspended check.
* uname.cc (uname): Drop has_valid_processorlevel check.
* wincap.cc: Remove has_raw_devices, has_valid_processorlevel,
supports_reading_modem_output_lines, needs_memory_protection,
has_switch_to_thread, start_proc_suspended and
has_null_console_handler_routine throughout.
* wincap.h: Ditto.

17 years ago * fhandler.cc (fhandler_base::lseek): Drop 9x considerations.
Corinna Vinschen [Fri, 23 Feb 2007 09:49:49 +0000 (09:49 +0000)]
* fhandler.cc (fhandler_base::lseek): Drop 9x considerations.
* fhandler_disk_file.cc (fhandler_disk_file::lock): Ditto.
* wincap.cc: Remove lock_file_highword and has_64bit_file_access
throughout.
* wincap.h: Ditto.

17 years ago * cygheap.h (struct cwdstuff): Remove sync member and keep_in_sync
Corinna Vinschen [Thu, 22 Feb 2007 18:01:13 +0000 (18:01 +0000)]
* cygheap.h (struct cwdstuff): Remove sync member and keep_in_sync
accessors.
* external.cc (cygwin_internal): Drop call to cygheap->cwd.keep_in_sync.
* fhandler_disk_file.cc (fhandler_disk_file::link): Always presume
ability to create hard links.
* path.cc (cwdstuff::init): Drop 9x considerations.
(cwdstuff::keep_in_sync): Remove.
(cwdstuff::set): Take NT for granted.
* pinfo.h (cygwin_pid): Just return pid.
* wincap.cc: Remove has_hard_links, can_open_directories,
has_negative_pids, has_named_pipes, has_try_enter_critical_section,
cant_debug_dll_entry and detect_win16_exe throughout.
* wincap.h: Ditto.

17 years ago * fhandler_console.cc (fhandler_console::read): Drop 9x specific
Corinna Vinschen [Thu, 22 Feb 2007 17:35:14 +0000 (17:35 +0000)]
* fhandler_console.cc (fhandler_console::read): Drop 9x specific
handling of AltGr key.
* mmap.cc: Take NT for granted throughout.
* wincap.cc: Remove map_view_of_file_ex_sucks, altgr_is_ctrl_alt,
has_working_copy_on_write, share_mmaps_only_by_name,
virtual_protect_works_on_shared_pages, has_mmap_alignment_bug and
has_working_virtual_lock throughout.
* wincap.h: Ditto.

17 years ago * fhandler.cc (fhandler_base::set_no_inheritance): Always use
Corinna Vinschen [Thu, 22 Feb 2007 17:09:46 +0000 (17:09 +0000)]
* fhandler.cc (fhandler_base::set_no_inheritance): Always use
SetHandleInformation.
* fhandler_disk_file.cc (fhandler_disk_file::lock): Always use
UnlockFileEx/LockFileEx functions.
* net.cc (fdsock): Don't bother to duplicate socket for inheritance.
* sysconf.cc (get_nproc_values): Take NT for granted.
(get_avphys): Ditto.
* syslog.cc (WIN95_EVENT_LOG_PATH): Remove define.
(get_win95_event_log_path): Remove.
(vsyslog): Fix formatting.  Take NT for granted.
* wincap.cc: Remove has_lock_file_ex, has_signal_object_and_wait,
has_eventlog, has_set_handle_information,
has_set_handle_information_on_console_handles and supports_smp
throughout.
* wincap.h: Ditto.

17 years ago Fix typo.
Corinna Vinschen [Thu, 22 Feb 2007 16:33:44 +0000 (16:33 +0000)]
Fix typo.

17 years ago * dir.cc (rmdir): Move existance check in front of
Corinna Vinschen [Thu, 22 Feb 2007 16:32:39 +0000 (16:32 +0000)]
* dir.cc (rmdir): Move existance check in front of
has_dot_last_component check.  Simply setting errno in latter case.

17 years ago * fhandler.cc (fhandler_base::write): Remove wincap.has_lseek_bug case.
Corinna Vinschen [Thu, 22 Feb 2007 16:22:38 +0000 (16:22 +0000)]
* fhandler.cc (fhandler_base::write): Remove wincap.has_lseek_bug case.
Simplify seek beyond EOF case.
* times.cc (times): Remove wincap.has_get_process_times case.
* wincap.cc: Remove has_delete_on_close, has_page_guard,
has_get_process_times and has_lseek_bug throughout.
* wincap.h: Ditto.

17 years ago Throughout remove all usage of wincap.access_denied_on_delete.
Corinna Vinschen [Thu, 22 Feb 2007 16:04:19 +0000 (16:04 +0000)]
Throughout remove all usage of wincap.access_denied_on_delete.
* dir.cc (rmdir): Add existance check to be errno-compatible with Linux.
* fhandler_disk_file.cc (fhandler_disk_file::rmdir): Drop test for
non-existent dir on 9x share.
* syscalls.cc (unlink): Add comment.
* wincap.cc: Remove access_denied_on_delete flag throughout.
* wincap.h: Ditto.

17 years ago * fhandler_disk_file.cc (fhandler_disk_file::closedir): Fix bug
Corinna Vinschen [Thu, 22 Feb 2007 15:07:21 +0000 (15:07 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::closedir): Fix bug
introduced by switching to NtClose.

17 years ago* dcrt0.cc (child_info_fork::alloc_stack_hard_way): Change sense of guard test.
Christopher Faylor [Thu, 22 Feb 2007 12:34:55 +0000 (12:34 +0000)]
* dcrt0.cc (child_info_fork::alloc_stack_hard_way): Change sense of guard test.
Increase size of stack reserved and increase size before the current stack
pointer.  Use pointers when doing arithmetic.
(dll_crt0_1): Initialize exception handler when we notice we're the child of a
fork from non-main thread.
* fork.cc (frok::parent): Make argument volatile.
(frok::child): Ditto.
(lock_signals): New class.
(lock_pthread): Ditto.
(hold_everhthing): Ditto.
(frok::parent): Move atforkprepare and atforkparent to lock_pthread class.
(fork): Make ischild boolean.  Use hold_everything variable within limited
scope to set various mutexes in such a way as to avoid deadlocks.
* thread.h (pthread_mutex::tid): New variable, active when debugging for
tracking thread id of owner.
(pthread_mutex::set_owner): Set tid when debugging.
* thread.cc (pthread_mutex::pthread_mutex): Clear tid.
(pthread_mutex::_unlock): Ditto when unlocking.
(pthread_mutex::fixup_after_fork): Set tid to special value after forking since
owner is unknown.

17 years ago Throughout replace all usage of wincap.shared with the constant
Corinna Vinschen [Thu, 22 Feb 2007 11:17:01 +0000 (11:17 +0000)]
Throughout replace all usage of wincap.shared with the constant
FILE_SHARE_VALID_FLAGS.
* fhandler.cc (fhandler_base::open_9x): Drop local variable shared.
* wincap.cc: Remove shared member throughout.
* wincap.h: Ditto.

17 years ago * Makefile.in (DLL_IMPORTS): Add libntdll.a.
Corinna Vinschen [Thu, 22 Feb 2007 10:54:47 +0000 (10:54 +0000)]
* Makefile.in (DLL_IMPORTS): Add libntdll.a.
* autoload.cc: Remove all symbols from advapi32.dll, kernel32.dll and
ntdll.dll available on all platforms since NT4.

Throughout remove all usage of wincap.is_winnt.
* dcrt0.cc (dll_crt0_0): Remove call to mmap_init.
* fhandler.h (class fhandler_base): Remove has_changed flag.
(fhandler_disk_file::touch_ctime): Remove declaration.
(fhandler_disk_file::readdir_9x): Ditto.
(fhandler_disk_file::touch_ctime): Remove.
(fhandler_disk_file::readdir_9x): Remove.
(fhandler_disk_file::closedir): Call NtClose instead of CloseHandle.
* mmap.cc: Throughout call CreateMapping and MapView directly.
(VirtualProt9x): Remove.
(VirtualProtNT): Remove.
(VirtualProtEx9x): Remove.
(VirtualProtExNT): Remove.
(VirtualProtect): Remove define.
(VirtualProtectEx): Remove define.
(CreateMapping9x): Remove.
(CreateMappingNT): Rename to CreateMapping.
(MapView9x): Remove.
(MapViewNT): Rename to MapView.
(struct mmap_func_t): Remove definition.
(mmap_funcs_9x): Remove.
(mmap_funcs_nt): Remove.
(mmap_func): Remove.
(mmap_init): Remove.
* net.cc (getdomainname): Drop comment. Use NT4 registry key only.
(get_95_ifconf): Remove.
* pinfo.cc (winpids::enumNT): Rename to winpids::enum_processes.
(winpids::enum9x): Remove.
(winpids::set): Just call enum_processes directly.
(winpids::enum_init): Ditto.
* pinfo.h (class winpids): Drop enum_processes pointer.  Rename
enumNT to enum_processes.  Drop enum9x declaration.  Drop initialization
of enum_processes throughout.
* registry.cc (get_registry_hive_path): Just create NT key.
(load_registry_hive): Only load NT specific file.
* syscalls.cc (unlink_9x): Remove.
(unlink): Just call unlink_nt.
* wincap.cc: Remove is_winnt flag throughout.
* wincap.h: Ditto.
* winsup.h: Remove mmap_init declaration.

17 years ago * ipcs.c (_POSIX2_LINE_MAX): Drop definition.
Corinna Vinschen [Thu, 22 Feb 2007 10:53:37 +0000 (10:53 +0000)]
* ipcs.c (_POSIX2_LINE_MAX): Drop definition.

17 years ago * Makefile.in (OBJS): Drop transport_sockets.o.
Corinna Vinschen [Thu, 22 Feb 2007 10:50:51 +0000 (10:50 +0000)]
* Makefile.in (OBJS): Drop transport_sockets.o.
* sysv_shm.cc (shmget_allocate_segment): Remove spurious cast.
* transport.cc: Don't include transport_sockets.h.
(create_server_transport): Always create transport_layer_pipes.
* transport_sockets.cc: Remove.
* transport_sockets.h: Remove.

17 years agoRemove superfluous libgloss/ directory names from recent ChangeLog entries.
Ben Elliston [Thu, 22 Feb 2007 04:25:43 +0000 (04:25 +0000)]
Remove superfluous libgloss/ directory names from recent ChangeLog entries.

17 years ago2007-02-21 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Wed, 21 Feb 2007 19:30:44 +0000 (19:30 +0000)]
2007-02-21  Patrick Mansfield <patmans@us.ibm.com>

        * libgloss/spu/gettimeofday.c: New file which adds SPU gettimeofday.
        * libgloss/spu/jsre.h: Remove time, add gettimeofday.
        * libgloss/spu/Makefile.in: Ditto.

17 years ago2007-02-21 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Wed, 21 Feb 2007 19:22:33 +0000 (19:22 +0000)]
2007-02-21  Patrick Mansfield <patmans@us.ibm.com>

        * libc/reent/timer.c: Removed (split into two new files).
        * libc/reent/timesr.c: New file for _times_r.
        * libc/reent/gettimeofdayr.c: New file out _gettimeofday_r.
        * reent/Makefile.in: Remove timer.c, add timesr.c and
        gettimeofdayr.c.
        * libc/reent/Makefile.am: Regenerate.

17 years agoTake into account MEMORY regions when creating a segment map.
Nick Clifton [Wed, 21 Feb 2007 16:43:50 +0000 (16:43 +0000)]
Take into account MEMORY regions when creating a segment map.

17 years ago * wincap.cc (wincap_unknown): Change settings for unknown to reflect
Corinna Vinschen [Wed, 21 Feb 2007 15:18:07 +0000 (15:18 +0000)]
* wincap.cc (wincap_unknown): Change settings for unknown to reflect
the capabilities of NT4.
(wincap_95): Remove.
(wincap_95osr2): Remove.
(wincap_98): Remove.
(wincap_98se): Remove.
(wincap_me): Remove.
(wincap_nt3): Remove.
(wincapc::init): Temporarily bail out on any 9x system.

17 years ago * cris/crt0.S: Use jump, not ba, to skip the interrupt table. Use
Hans-Peter Nilsson [Wed, 21 Feb 2007 14:08:26 +0000 (14:08 +0000)]
* cris/crt0.S: Use jump, not ba, to skip the interrupt table.  Use
"setf", not "nop", for common_v10_v32 compatibility.
Move out interrupt table to irqtable.S.  Include here for non-ELF.
* cris/irqtable.S: Extracted from cris/crt0.S.  Provide per-entry
weak default stub definitions.
* cris/crtn.c: Use "setf", not "nop", for common_v10_v32
compatibility.
* cris/setup.S [__arch_common_v10_v32]: Return.
* cris/Makefile.in (BSP_OBJS): Add irqtable.o.

17 years ago2007-02-20 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Tue, 20 Feb 2007 21:02:36 +0000 (21:02 +0000)]
2007-02-20  Patrick Mansfield <patmans@us.ibm.com>

        * configure.host: Build SPU with default_newlib_atexit_dynamic_alloc="no".

17 years ago2007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
Jeff Johnston [Tue, 20 Feb 2007 20:58:38 +0000 (20:58 +0000)]
2007-02-20  Kazunori Asayama <asayama@sm.sony.co.jp>

        * libc/machine/spu/Makefile.am: Add new objects.
        * libc/machine/spu/Makefile.in: Regenerated.
        * libc/machine/spu/fiprintf.c: New file. Add implementation of
        integer-only version.
        * libc/machine/spu/fiscanf.c: Ditto.
        * libc/machine/spu/iprintf.c: Ditto.
        * libc/machine/spu/iscanf.c: Ditto.
        * libc/machine/spu/siprintf.c: Ditto.
        * libc/machine/spu/siscanf.c: Ditto.
        * libc/machine/spu/sniprintf.c: Ditto.
        * libc/machine/spu/vfiprintf.c: Ditto.
        * libc/machine/spu/vfiscanf.c: Ditto.
        * libc/machine/spu/viprintf.c: Ditto.
        * libc/machine/spu/viscanf.c: Ditto.
        * libc/machine/spu/vsiprintf.c: Ditto.
        * libc/machine/spu/vsiscanf.c: Ditto.
        * libc/machine/spu/vsniprintf.c: Ditto.
        * libc/machine/spu/fprintf.c: Add support for integer-only
        version.
        * libc/machine/spu/fscanf.c: Ditto.
        * libc/machine/spu/printf.c: Ditto.
        * libc/machine/spu/scanf.c: Ditto.
        * libc/machine/spu/snprintf.c: Ditto.
        * libc/machine/spu/sprintf.c: Ditto.
        * libc/machine/spu/sscanf.c: Ditto.
        * libc/machine/spu/vfprintf.c: Ditto.
        * libc/machine/spu/vfscanf.c: Ditto.
        * libc/machine/spu/vprintf.c: Ditto.
        * libc/machine/spu/vscanf.c: Ditto.
        * libc/machine/spu/vsnprintf.c: Ditto.
        * libc/machine/spu/vsprintf.c: Ditto.
        * libc/machine/spu/vsscanf.c: Ditto.

17 years ago2007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
Jeff Johnston [Tue, 20 Feb 2007 20:53:35 +0000 (20:53 +0000)]
2007-02-20  Kazunori Asayama <asayama@sm.sony.co.jp>

        * libc/include/stdio.h: Add declaration for vsiprintf.

17 years ago * cygcheck.cc (dump_sysinfo): Add "not supported" to osname on 9x
Corinna Vinschen [Tue, 20 Feb 2007 16:41:54 +0000 (16:41 +0000)]
* cygcheck.cc (dump_sysinfo): Add "not supported" to osname on 9x
machines.  Drop "not supported" for Vista.  Drop "Longhorn" text
for now.

17 years ago * cygwin.din (sem_unlink): Export.
Corinna Vinschen [Tue, 20 Feb 2007 15:48:04 +0000 (15:48 +0000)]
* cygwin.din (sem_unlink): Export.
* posix_ipc.cc: Include thread.h and semaphore.h.  Remove TODO
comment.
(ipc_names): Add max_len member.  Set to maximum length of the path
before tacking on the prefix path.  Set prefix path for named semaphors
to /dev/shm, as on Linux.
(enum ipc_type_t): Change sem to semaphore to avoid name conflicts.
(check_path): Detect empty paths.  Use ipc_names's max_len member.
Use __small_sprintf to create full object path name.  Special case
semaphores.
(ipc_cond_init): Drop superfluous strcpy.
(class ipc_flock): New class to simplify file locking in subsequent
code.
(struct mq_hdr): Raise size of mqh_uname to allow adding a unique
LUID to the name.
(mq_open): Fix formatting.  Create unique synchronization object names
using AllocateLocallyUniqueId.
(struct sem_finfo): New structure defining named semaphore file content.
(sem_open): Move here.  Rework implementation to allow kernel
persistent implementation of POSIX named semaphores.
(_sem_close): Implement sem_close.
(sem_close): Move here.  Just call _sem_close with do_close parameter
set to true.
(sem_unlink): New function.
* pthread.cc (mangle_sem_name): Remove.
(sem_open): Move to posix_ipc.cc.
(sem_close): Ditto.
* syscalls.cc (close_all_files): Call semaphore::terminate here.
* thread.cc: Fix formatting.  Rearrange semaphore functions so that
they are close together.
(semaphore::semaphore): Rework to play nicely with new named semaphore
implementation.
(semaphore::_terminate): Call _sem_close if semaphore is a named
semaphore.
(semaphore::destroy): Don't destroy named semaphores.  Return EINVAL
instead.
(semaphore::close): Only destroy named semaphores.  Return EINVAL
otherwise.
(semaphore::open): Rework to play nicely with new named semaphore
implementation.  Loop through existing semaphores to be able to
return same sem_t pointer as a former call on the same named semaphore.
(semaphore::getinternal): New function called from _sem_close.
* thread.h (class List): Make mx and head public.
(class semaphore): Fix formatting.  Align method declarations with
implementation in thread.cc.  Add members used for named semaphores.
(semaphore::terminate): New static method.
* include/semaphore.h: Redefine SEM_FAILED.  Fix formatting.
(sem_unlink): Add declaration.
* include/cygwin/version.h: Bump API minor number.

17 years ago* exceptions.cc (_cygtls::signal_exit): Only call myself.exit when when
Christopher Faylor [Tue, 20 Feb 2007 14:31:26 +0000 (14:31 +0000)]
* exceptions.cc (_cygtls::signal_exit): Only call myself.exit when when
exit_state indicates that we've visited do_exit.
* sync.h (lock_process::lock_process): Use renamed exit_state -
ES_PROCESS_LOCKED.
* winsup.h: Rename ES_MUTO_SET to ES_PROCESS_LOCKED.

17 years ago [ gas/ChangeLog ]
Thiemo Seufer [Tue, 20 Feb 2007 13:28:54 +0000 (13:28 +0000)]
[ gas/ChangeLog ]
* config/tc-mips.c (mips_set_options, mips_opts, file_ase_dspr2,
ISA_SUPPORTS_DSPR2_ASE, MIPS_CPU_ASE_DSPR2): Add DSP R2 ASE support.
(macro_build): Add case '2'.
(macro): Expand M_BALIGN to nop, packrl.ph or balign.
(validate_mips_insn): Add support for balign instruction.
(mips_ip): Handle DSP R2 instructions. Support balign instruction.
(OPTION_DSPR2, OPTION_NO_DSPR2, OPTION_COMPAT_ARCH_BASE,
md_parse_option, mips_after_parse_args): Add -mdspr2 and -mno-dspr2
command line options.
(s_mipsset): Add support for .set dspr2 and .set nodspr2 directives.
(md_show_usage): Add -mdspr2 and -mno-dspr2 help output.
* doc/c-mips.texi, doc/as.texinfo: Document -mdspr2, -mno-dspr2,
.set dspr2, .set nodspr2.

[ gas/testsuite/ChangeLog ]
* gas/mips/mips32-dspr2.s, gas/mips/mips32-dspr2.d: New test for
DSP R2.
* gas/mips/mips.exp: Run new test.

[ include/opcode/Changelog ]
* mips.h (OP_SH_BP, OP_MASK_BP): Add support for balign instruction.
(INSN_DSPR2): Add flag for DSP R2 instructions.
(M_BALIGN): New macro.

[ opcodes/ChangeLog ]
* mips-dis.c (mips_arch_choices): Add DSP R2 support.
(print_insn_args): Add support for balign instruction.
* mips-opc.c (D33): New shortcut for DSP R2 instructions.
(mips_builtin_opcodes): Add DSP R2 instructions.

[ sim/mips/ChangeLog ]
* Makefile.in (IGEN_INCLUDE): Add dsp2.igen.
* configure.ac (mips*-sde-elf*, mipsisa32r2*-*-*, mipsisa64r2*-*-*):
Add dsp2 to sim_igen_machine.
* configure: Regenerate.
* dsp.igen (do_ph_op): Add MUL support when op = 2.
(do_ph_mulq): New function to support mulq_rs.ph and mulq_s.ph.
(mulq_rs.ph): Use do_ph_mulq.
(MFHI, MFLO, MTHI, MTLO): Move these instructions to mips.igen.
* mips.igen: Add dsp2 model and include dsp2.igen.
(MFHI, MFLO, MTHI, MTLO): Extend these instructions for
for *mips32r2, *mips64r2, *dsp.
(MADD, MADDU, MSUB, MSUBU, MULT, MULTU): Extend these instructions
for *mips32r2, *mips64r2, *dsp2.
* dsp2.igen: New file for MIPS DSP REV 2 ASE.

[ sim/testsuite/sim/mips/ChangeLog ]
* basic.exp: Run the dsp2 test.
* utils-dsp.inc (dspckacc_astio, dspck_tsimm): New macro.
* mips32-dsp2.s: New test.

17 years ago * fhandler_socket.cc (fhandler_socket::bind): Remove printing wrong
Corinna Vinschen [Tue, 20 Feb 2007 09:48:31 +0000 (09:48 +0000)]
* fhandler_socket.cc (fhandler_socket::bind): Remove printing wrong
errno in debug output.

17 years agoRemove extraneous whitespace.
Christopher Faylor [Tue, 20 Feb 2007 00:16:18 +0000 (00:16 +0000)]
Remove extraneous whitespace.
* pinfo.cc (commune_process): Use default argument to lock_process.
* sigproc.cc: Update copyright.
* select.cc: Ditto.

17 years ago * configure.ac: Adjust for loop syntax.
Joseph Myers [Mon, 19 Feb 2007 17:24:25 +0000 (17:24 +0000)]
* configure.ac: Adjust for loop syntax.
* configure: Regenerate.

17 years agoChangeLog:
Alexandre Oliva [Sun, 18 Feb 2007 22:51:35 +0000 (22:51 +0000)]
ChangeLog:
* configure: Rebuilt.
config/ChangeLog:
* acx.m4 (NCN_STRICT_CHECK_TOOLS): Mark environment variable as
precious.  Prefer it over a cached value.  Use cached value
verbosely.
(NCN_STRICT_CHECK_TARGET_TOOLS): Likewise.  Don't override
environment variable with build-time tools.

17 years ago* configure.ac: Drop multiple occurrences of --enable-languages,
Alexandre Oliva [Sun, 18 Feb 2007 22:46:28 +0000 (22:46 +0000)]
* configure.ac: Drop multiple occurrences of --enable-languages,
and fix its quoting.
* configure: Rebuilt.

17 years agoCorrect spelling of submitter's name in ChangeLog.
Danny Smith [Sun, 18 Feb 2007 09:57:51 +0000 (09:57 +0000)]
Correct spelling of submitter's name in ChangeLog.

17 years ago2007-02-18 Aurimas Cernius <aurisc4@gmail.com>
Danny Smith [Sun, 18 Feb 2007 09:46:48 +0000 (09:46 +0000)]
2007-02-18  Aurimas Cernius  <aurisc4@gmail.com>

* include/excpt.h:  Replace "_try1" in comments  with "__try1".

17 years ago2007-02-18 Jiri Malak <jiri.malak@iol.cz>
Danny Smith [Sun, 18 Feb 2007 08:08:12 +0000 (08:08 +0000)]
2007-02-18  Jiri Malak  <jiri.malak@iol.cz>

* include/windef.h [WATCOM]: Fix !NONAMELESSUNION defines.
* include/winnt.h [WATCOM] (GetCurrentFiber, GetFiberData):
Add prototypes.
[WATCOM] (NtCurrentTeb): Add protype and inline asm definition.

2007-02-18  Vesa Jskelinen  <chaac@users.sourveforge.net>

* lib/user32.def (InternalGetWindowText): Add stub.

17 years agotop level:
Joseph Myers [Sat, 17 Feb 2007 13:33:57 +0000 (13:33 +0000)]
top level:
2007-02-17  Mark Mitchell  <mark@codesourcery.com>
            Nathan Sidwell  <nathan@codesourcery.com>
            Vladimir Prus  <vladimir@codesourcery.com
            Joseph Myers  <joseph@codesourcery.com>

* configure.ac (TOPLEVEL_CONFIGURE_ARGUMENTS): Fix quoting.
* configure: Regenerate.

bfd:
2007-02-17  Mark Mitchell  <mark@codesourcery.com>
            Nathan Sidwell  <nathan@codesourcery.com>
            Vladimir Prus  <vladimir@codesourcery.com
            Joseph Myers  <joseph@codesourcery.com>

* configure.in (--with-pkgversion): New option.
* configure: Regenerate.
* Makefile.am (bfdver.h): Substitute for @bfd_version_package@.
* Makefile.in: Regenerate.
* version.h (BFD_VERSION_STRING): Define using
@bfd_version_package@.

bfd/doc:
2007-02-17  Mark Mitchell  <mark@codesourcery.com>
            Nathan Sidwell  <nathan@codesourcery.com>
            Vladimir Prus  <vladimir@codesourcery.com
            Joseph Myers  <joseph@codesourcery.com>

* Makefile.in: Regenerate.

binutils:
2007-02-17  Mark Mitchell  <mark@codesourcery.com>
            Nathan Sidwell  <nathan@codesourcery.com>
            Vladimir Prus  <vladimir@codesourcery.com
            Joseph Myers  <joseph@codesourcery.com>

* configure.in (--with-bugurl): New option.
* configure: Regenerate.
* Makefile.am (REPORT_BUGS_TO): Define.
(INCLUDES): Define REPORT_BUGS_TO.
Regenerate dependencies.
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.
* bucomm.h: Remove include of bin-bugs.h.
* addr2line.c (usage): Don't print empty REPORT_BUGS_TO.
* ar.c (usage): Pass s to list_supported_targets.  Don't print
empty REPORT_BUGS_TO.
* coffdump.c (show_usage): Don't print empty REPORT_BUGS_TO.
* cxxfilt.c (usage): Print bug url when giving help.
* dlltool.c (usage): Likewise.
* dllwrap.c (usage): Likewise.
* nlmconv.c (show_usage): Don't print empty REPORT_BUGS_TO.
* nm.c (usage): Likewise.
* objcopy.c (copy_usage, strip_usage): Likewise.
* objdump.c (usage): Likewise.
* readelf.c ((usage): Likewise. Add STREAM argument.  Adjust
callers.
* size.c (usage): Don't print empty REPORT_BUGS_TO.
* srconv.c (show_usage): Likewise.
* strings.c (usage): Likewise.
* sysdymp.c (show_usage): Likewise.
* windres.c (usage): Likewise.

gas:
2007-02-17  Mark Mitchell  <mark@codesourcery.com>
            Nathan Sidwell  <nathan@codesourcery.com>
            Vladimir Prus  <vladimir@codesourcery.com
            Joseph Myers  <joseph@codesourcery.com>

* configure.in (--with-bugurl): New option.
* configure: Regenerate.
* dep-in.sed: Remove bin-bugs.h.
* Makefile.am (REPORT_BUGS_TO): Define.
(INCLUDES): Define REPORT_BUGS_TO.
(DEP_INCLUDES): Likewise.
($(OBJS)): No longer depend on bin-bugs.h.
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.
* as.c (show_usage): Don't print empty REPORT_BUGS_TO.
* as.h: Remove include of bin-bugs.h.

gprof:
2007-02-17  Mark Mitchell  <mark@codesourcery.com>
            Nathan Sidwell  <nathan@codesourcery.com>
            Vladimir Prus  <vladimir@codesourcery.com
            Joseph Myers  <joseph@codesourcery.com>

* configure.in (--with-pkgversion, --with-bugurl): New options.
* configure: Regenerate.
* Makefile.am (PKGVERSION, REPORT_BUGS_TO): Define.
(INCLUDES): Define PKGVERSION and REPORT_BUGS_TO.
Regenerate dependencies.
* Makefile.in: Regenerate.
* gprof.c (usage): Don't print empty REPORT_BUGS_TO.
(main): Include PKGVERSION in version output.
* gprof.h: Remove include of bin-bugs.h.

include:
2007-02-17  Mark Mitchell  <mark@codesourcery.com>
            Nathan Sidwell  <nathan@codesourcery.com>
            Vladimir Prus  <vladimir@codesourcery.com
            Joseph Myers  <joseph@codesourcery.com>

* bin-bugs.h: Remove.

ld:
2007-02-17  Mark Mitchell  <mark@codesourcery.com>
            Nathan Sidwell  <nathan@codesourcery.com>
            Vladimir Prus  <vladimir@codesourcery.com
            Joseph Myers  <joseph@codesourcery.com>

* configure.in (--with-bugurl): New option.
* configure: Regenerate.
* Makefile.am (REPORT_BUGS_TO): Define.
(INCLUDES): Define REPORT_BUGS_TO.
Regenerate dependencies.
* Makefile.in: Regenerate.
* ld.h: Remove include of bin-bugs.h.
* lexsup.c (help): Don't print empty REPORT_BUGS_TO.

17 years ago * posix_ipc.cc (mq_open): Avoid compiler warning. Initialize mqhdr
Corinna Vinschen [Thu, 15 Feb 2007 17:49:25 +0000 (17:49 +0000)]
* posix_ipc.cc (mq_open): Avoid compiler warning.  Initialize mqhdr
before using it in file exists case.
* include/mqueue.h (mqd_t): Make non-pointer type.

17 years ago * posix_ipc.cc (ipc_mutex_init): Create global object name.
Corinna Vinschen [Thu, 15 Feb 2007 11:28:46 +0000 (11:28 +0000)]
* posix_ipc.cc (ipc_mutex_init): Create global object name.
(ipc_cond_init): Ditto.
(struct mq_hdr): Add mqh_uname member to store synchronization object
name.
(mq_open): Create unique synchronization object name and store in
mq_hdr->mqh_uname.  Use this name in calls to ipc_mutex_init and
ipc_cond_init.

17 years ago* sparc/cygmon.ld.src: Link .rodata.* input sections into .text output section.
Nick Clifton [Thu, 15 Feb 2007 09:53:56 +0000 (09:53 +0000)]
* sparc/cygmon.ld.src: Link .rodata.* input sections into .text output section.
* sparc/cygmon-sparc64-ld.src: Likewise.

17 years ago * Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
Danny Smith [Wed, 14 Feb 2007 23:42:07 +0000 (23:42 +0000)]
* Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
(ALL_CXXFLAGS): Likewise.
* mingwex/Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
(ALL_CXXFLAGS): Likewise.
* profile/Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
(ALL_CXXFLAGS): Likewise.

17 years ago2007-02-14 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Wed, 14 Feb 2007 23:18:25 +0000 (23:18 +0000)]
2007-02-14  Patrick Mansfield <patmans@us.ibm.com>

        Add a floating point environment for SPU (cell):

        * configure.host: add libm_machine_dir=spu.
        * libm/machine/configure: Add spu.
        * libm/machine/configure.in: regenerated with spu added.
        * libc/machine/spu/include/fenv.h: New file.
        * libc/machine/spu/sys/fenv.h: Ditto.
        * libm/machine/spu/Makefile.am: Ditto.
        * libm/machine/spu/Makefile.in: Ditto.
        * libm/machine/spu/aclocal.m4: Ditto.
        * libm/machine/spu/configure: Ditto.
        * libm/machine/spu/configure.in: Ditto.
        * libm/machine/spu/fe_dfl_env.c: Ditto.
        * libm/machine/spu/feclearexcept.c: Ditto.
        * libm/machine/spu/fegetenv.c: Ditto.
        * libm/machine/spu/fegetexceptflag.c: Ditto.
        * libm/machine/spu/fegetround.c: Ditto.
        * libm/machine/spu/feholdexcept.c: Ditto.
        * libm/machine/spu/feraiseexcept.c: Ditto.
        * libm/machine/spu/fesetenv.c: Ditto.
        * libm/machine/spu/fesetexceptflag.c: Ditto.
        * libm/machine/spu/fesetround.c: Ditto.
        * libm/machine/spu/fetestexcept.c: Ditto.
        * libm/machine/spu/feupdateenv.c: Ditto.
        * libm/machine/spu/headers/feclearexcept.h: Ditto.
        * libm/machine/spu/headers/fefpscr.h: Ditto.
        * libm/machine/spu/headers/fegetenv.h: Ditto.
        * libm/machine/spu/headers/fegetexceptflag.h: Ditto.
        * libm/machine/spu/headers/fegetround.h: Ditto.
        * libm/machine/spu/headers/feholdexcept.h: Ditto.
        * libm/machine/spu/headers/feraiseexcept.h: Ditto.
        * libm/machine/spu/headers/fesetenv.h: Ditto.
        * libm/machine/spu/headers/fesetexceptflag.h: Ditto.
        * libm/machine/spu/headers/fesetround.h: Ditto.
        * libm/machine/spu/headers/fetestexcept.h: Ditto.
        * libm/machine/spu/headers/feupdateenv.h: Ditto.

17 years ago * libc/include/sys/features.h: Add _POSIX_MESSAGE_PASSING for
Corinna Vinschen [Wed, 14 Feb 2007 10:07:02 +0000 (10:07 +0000)]
* libc/include/sys/features.h: Add _POSIX_MESSAGE_PASSING for
Cygwin.

17 years ago * Makefile.in (DLL_OFILES): Add posix_ipc.o.
Corinna Vinschen [Wed, 14 Feb 2007 10:06:46 +0000 (10:06 +0000)]
* Makefile.in (DLL_OFILES): Add posix_ipc.o.
* cygwin.din (mq_close): Export.
(mq_getattr): Export.
(mq_notify): Export.
(mq_open): Export.
(mq_receive): Export.
(mq_send): Export.
(mq_setattr): Export.
(mq_timedreceive): Export.
(mq_timedsend): Export.
(mq_unlink): Export.
* posix_ipc.cc: New file implementing the above functions.  Move
shm_open and shm_unlink from syscalls.cc here.
* sysconf.cc (sca): Set value of _SC_MQ_OPEN_MAX to MQ_OPEN_MAX,
_SC_MQ_PRIO_MAX to MQ_PRIO_MAX, _SC_MESSAGE_PASSING to
_POSIX_MESSAGE_PASSING.
* include/limits.h (MQ_OPEN_MAX): Define.
(MQ_PRIO_MAX): Define.
* include/mqueue.h: New file.
* include/cygwin/version.h: Bump API minor number.

17 years agogas/
Alan Modra [Tue, 13 Feb 2007 23:23:53 +0000 (23:23 +0000)]
gas/
* config/tc-i386.h (Seg2ShortForm, Seg3ShortForm): Delete.
* config/tc-i386.c: Wrap overly long lines, whitespace fixes.
(process_operands): Move old Seg2ShortForm and Seg3ShortForm
code, and test for these insns using a combination of
opcode_modifier and operand_types.
include/opcode/
* i386.h (i386_optab): Replace all occurrences of Seg2ShortForm
and Seg3ShortFrom with Shortform.

17 years ago * configure.ac (target_libraries): Move libgcc before libiberty.
Daniel Jacobowitz [Tue, 13 Feb 2007 21:33:14 +0000 (21:33 +0000)]
* configure.ac (target_libraries): Move libgcc before libiberty.
* configure: Regenerated.

17 years ago * include/cygwin/stdlib.h (valloc): Declare.
Corinna Vinschen [Tue, 13 Feb 2007 18:55:49 +0000 (18:55 +0000)]
* include/cygwin/stdlib.h (valloc): Declare.
(memalign): Declare.

17 years ago2007-02-13 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Tue, 13 Feb 2007 16:23:20 +0000 (16:23 +0000)]
2007-02-13  Paolo Bonzini  <bonzini@gnu.org>

* configure: Regenerate again?

17 years agoadd autom4te.cache to .cvsignore
Paolo Bonzini [Tue, 13 Feb 2007 15:25:58 +0000 (15:25 +0000)]
add autom4te.cache to .cvsignore

17 years ago2007-02-13 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Tue, 13 Feb 2007 14:46:13 +0000 (14:46 +0000)]
2007-02-13  Paolo Bonzini  <bonzini@gnu.org>

* configure: Reapply PR30748 fix which was lost in the previous commit.

17 years ago PR bootstrap/30753
Daniel Jacobowitz [Tue, 13 Feb 2007 14:40:31 +0000 (14:40 +0000)]
PR bootstrap/30753
* configure.ac: Remove obsolete build / host tests.  Use AC_PROG_CC
unconditionally.  Use AC_PROG_CXX.  Use ACX_TOOL_DIRS to find $prefix.
* configure: Regenerated.

17 years agogas/testsuite/
H.J. Lu [Mon, 12 Feb 2007 04:51:40 +0000 (04:51 +0000)]
gas/testsuite/

2007-02-11  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/4027
* gas/i386/opcode.s: Add more tests for "test".
* i386/opcode-intel.d: Updated.
* gas/i386/opcode-suffix.d: Likewise.
* gas/i386/opcode.d: Likewise.

include/opcode/

2007-02-11  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/4027
* i386.h (i386_optab): Put the real "test" before the pseudo
one.

17 years ago2007-02-11 Daniel Atallah <datallah@users.sourceforge.net>
Chris Sutcliffe [Sun, 11 Feb 2007 14:32:24 +0000 (14:32 +0000)]
2007-02-11  Daniel Atallah  <datallah@users.sourceforge.net>

* include/winnt.h (LANG_SERBIAN_NEUTRAL, LANG_BOSNIAN,
LANG_BOSNIAN_NEUTRAL): Define.

2007-02-11  Daniel Schlyder  <thrug@users.sourceforge.net>

* include/winuser.h: Add guards around TITLEBARINFO and
GetTitleBarInfo().

17 years ago2007-02-10 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Sat, 10 Feb 2007 12:50:23 +0000 (12:50 +0000)]
2007-02-10  Paolo Bonzini  <bonzini@gnu.org>

* configure: Regenerate.

17 years ago PR bootstrap/30748
Daniel Jacobowitz [Fri, 9 Feb 2007 22:35:45 +0000 (22:35 +0000)]
PR bootstrap/30748
* configure.ac: Correct syntax for Solaris ksh.
* configure: Regenerated.

17 years ago2007-02-09 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Fri, 9 Feb 2007 19:24:42 +0000 (19:24 +0000)]
2007-02-09  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.def: Sync with GCC.
* Makefile.tpl: Sync with GCC.
* Makefile.in: Regenerate.
* configure: Regenerate.

* config/acx.m4: Sync with GCC.
* config/depstand.m4: Sync with GCC.
* config/tls.m4: Sync with GCC.

17 years agomerge from gcc
DJ Delorie [Fri, 9 Feb 2007 17:21:45 +0000 (17:21 +0000)]
merge from gcc

17 years ago * Makefile.tpl (build_alias, host_alias, target_alias): Use
Daniel Jacobowitz [Fri, 9 Feb 2007 15:15:38 +0000 (15:15 +0000)]
* Makefile.tpl (build_alias, host_alias, target_alias): Use
noncanonical equivalents.
* configure.in: Rename to...
* configure.ac: ...this.  Update AC_PREREQ.  Prevent error for
AS_FOR_TARGET.  Set build_noncanonical, host_noncanonical, and
target_noncanonical.  Use them.  Rewrite removal of configure
arguments for autoconf 2.59.  Discard variable settings.  Force
program_transform_name for native tools.

* Makefile.in: Regenerated.
* configure: Regenerated with autoconf 2.59.

* src-release (DEVO_SUPPORT, do-proto-toplev): Expect configure.ac.

* acx.m4 (ACX_CHECK_INSTALLED_TARGET_TOOL): Avoid AC_PATH_PROG
with an empty path.

17 years ago * libc/minires-os-if.c (write_record): Handle DNS_TYPE_SRV and
Corinna Vinschen [Fri, 9 Feb 2007 10:09:21 +0000 (10:09 +0000)]
* libc/minires-os-if.c (write_record): Handle DNS_TYPE_SRV and
some obsolete types.

17 years ago2007-02-08 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 8 Feb 2007 21:32:33 +0000 (21:32 +0000)]
2007-02-08  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.LIBGLOSS: Reformat default Red Hat
        license to fit within 80 columns.
        * COPYING.NEWLIB: Ditto.

17 years ago2007-02-08 Dave Brolley <brolley@redhat.com>
Jeff Johnston [Thu, 8 Feb 2007 21:22:05 +0000 (21:22 +0000)]
2007-02-08  Dave Brolley  <brolley@redhat.com>

        * mep: New target directory.
        * README: Add MeP.
        * configure.in: Add support for MeP.
        * configure: Regenerated.
        * mep/configure.in: New file.
        * mep/configure: Ditto.
        * mep/Makefile.in: Ditto.
        * mep/aclocal.m4: Ditto.
        * mep/crt0.S: Ditto.
        * mep/crtn.S: Ditto.
        * mep/sim-crt0.S: Ditto.
        * mep/sim-crtn.S: Ditto.
        * mep/fmax.ld: Ditto.
        * mep/gcov-io.h: Ditto.
        * mep/gmap_default.ld: Ditto.
        * mep/handlers.c: Ditto.
        * mep/h_reset.c: Ditto.
        * mep/isatty.c: Ditto.
        * mep/mep-bb.c: Ditto.
        * mep/mep-gmon.c: Ditto.
        * mep/min.ld: Ditto.
        * mep/read.c: Ditto.
        * mep/sbrk.c: Ditto.
        * mep/sdram-crt0.S: Ditto.
        * mep/sdram-crtn.S: Ditto.
        * mep/simnovec-crt0.S: Ditto.
        * mep/simple.ld: Ditto.
        * mep/simsdran-crt0.S: Ditto.
        * mep/syscalls.S: Ditto.
        * mep/write.c: Ditto.

17 years ago * syscalls.cc (check_shm): New static function to do path checking
Corinna Vinschen [Thu, 8 Feb 2007 14:40:13 +0000 (14:40 +0000)]
* syscalls.cc (check_shm): New static function to do path checking
common to shm_open and shm_unlink.  Check for /dev/shm existance.
(shm_open): Call check_shm.
(shm_unlink): Ditto.

17 years ago * cygwin.din (shm_open): Export.
Corinna Vinschen [Thu, 8 Feb 2007 13:36:53 +0000 (13:36 +0000)]
* cygwin.din (shm_open): Export.
(shm_unlink): Export.
* syscalls.cc (shm_open): New function.
(shm_unlink): New function.
* sysconf.cc (sca): Set value of _SC_SHARED_MEMORY_OBJECTS to
_POSIX_SHARED_MEMORY_OBJECTS.
* include/cygwin/version.h: Bump API minor number.
* include/sys/mman.h (shm_open): Add prototype.
(shm_unlink): Ditto.

17 years ago * libc/include/sys/features.h: Add _POSIX_SHARED_MEMORY_OBJECTS for
Corinna Vinschen [Thu, 8 Feb 2007 13:34:20 +0000 (13:34 +0000)]
* libc/include/sys/features.h: Add _POSIX_SHARED_MEMORY_OBJECTS for
Cygwin.  Fix value of _POSIX_SEMAPHORES.  Fix formatting.

17 years ago * cygmalloc.h (__set_ENOMEM): Declare.
Corinna Vinschen [Thu, 8 Feb 2007 11:35:52 +0000 (11:35 +0000)]
* cygmalloc.h (__set_ENOMEM): Declare.
(MALLOC_FAILURE_ACTION): Call __set_ENOMEM.
* malloc_wrapper.cc (malloc) Remove setting errno here.
(realloc): Ditto.
(calloc): Ditto.
(memalign): Ditto.
(valloc): Ditto.
(posix_memalign): Save and restore errno.

17 years ago * include/io.h (X_OK): Revert 2007-01-24 change, but leave comment.
Danny Smith [Thu, 8 Feb 2007 08:15:32 +0000 (08:15 +0000)]
* include/io.h (X_OK):  Revert 2007-01-24 change, but leave comment.

17 years ago * cygmalloc.h (MALLOC_FAILURE_ACTION): Move to correct #if branch.
Corinna Vinschen [Wed, 7 Feb 2007 20:44:04 +0000 (20:44 +0000)]
* cygmalloc.h (MALLOC_FAILURE_ACTION): Move to correct #if branch.

17 years ago * cygmalloc.h (MALLOC_FAILURE_ACTION): Define empty.
Corinna Vinschen [Wed, 7 Feb 2007 17:22:40 +0000 (17:22 +0000)]
* cygmalloc.h (MALLOC_FAILURE_ACTION): Define empty.
* cygwin.din (posix_madvise): Export.
(posix_memalign): Export.
* fhandler.cc (fhandler_base::fpathconf): Return useful values in
_PC_VDISABLE, _PC_SYNC_IO and _PC_SYMLINK_MAX cases.
* malloc_wrapper.cc (malloc): Set errno here since it's not set in
dlmalloc.c anymore.
(realloc): Ditto.
(calloc): Ditto.
(memalign): Ditto.
(valloc): Ditto.
(posix_memalign): New function.
* mmap.cc (posix_madvise): New function.
* sysconf.cc (get_open_max): New function.
(get_page_size): Ditto.
(get_nproc_values): Ditto.
(get_avphys): Ditto.
(sc_type): New type.
(sca): New array to map _SC_xxx options to sysconf return values.
(sysconf): Reimplement using sca array.
* include/limits.h: Add all missing values as defined by SUSv3.
* include/pthread.h (PTHREAD_DESTRUCTOR_ITERATIONS): Move definition
to sys/limits.h.
(PTHREAD_KEYS_MAX): Ditto.
* include/semaphore.h (SEM_VALUE_MAX): Ditto.
* include/cygwin/stdlib.h (posix_memalign): Declare.
* include/cygwin/version.h: Bump API minor number.
* include/sys/mman.h: Add posix_madvise flags.
(posix_madvise): Declare.
* include/sys/termios.h (_POSIX_VDISABLE): Move definition to
sys/limits.h.

17 years ago * libc/include/sys/features.h: Add definition of all supported
Corinna Vinschen [Wed, 7 Feb 2007 17:19:35 +0000 (17:19 +0000)]
* libc/include/sys/features.h: Add definition of all supported
_POSIX_xxx values for Cygwin.
* libc/include/sys/types.h (pthread_rwlock_t): Omit definition
on Cygwin.
(pthread_rwlockattr_t): Ditto.
* libc/include/sys/unistd.h: Define all _SC_xxx values as
required by SUSv3.  Unify formatting.

This page took 0.077535 seconds and 5 git commands to generate.