]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
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.

17 years agoFix entries for MeP submission.
Dave Brolley [Tue, 6 Feb 2007 18:57:08 +0000 (18:57 +0000)]
Fix entries for MeP submission.

17 years agoFix comment attached to #endif
Nick Clifton [Tue, 6 Feb 2007 14:50:58 +0000 (14:50 +0000)]
Fix comment attached to #endif

17 years ago2007-02-05 Dave Brolley <brolley@redhat.com>
Dave Brolley [Mon, 5 Feb 2007 19:17:10 +0000 (19:17 +0000)]
2007-02-05  Dave Brolley  <brolley@redhat.com>

        * Contribute the following changes:
        2001-03-26  Ben Elliston  <bje@redhat.com>

        * dis-asm.h (print_insn_mep): Declare.

17 years ago2007-02-05 Dave Brolley <brolley@redhat.com>
Dave Brolley [Mon, 5 Feb 2007 19:15:43 +0000 (19:15 +0000)]
2007-02-05  Dave Brolley  <brolley@redhat.com>

        * Contribute the following Changes:
        2005-08-22  Dave Brolley  <brolley@redhat.com>

        * mep.h (EF_MEP_CPU_C4): New macro.
        (EF_MEP_CPU_H1): Change to 0x10000000.

        2005-04-22  Richard Sandiford  <rsandifo@redhat.com>

        * mep.h (EF_MEP_LIBRARY): New flag.
        (EF_MEP_ALL_FLAGS): Update accordingly.

        2004-06-21  Dave Brolley  <brolley@redhat.com>

        * mep.h (EF_MEP_CPU_MASK, EF_MEP_CPU_MEP, EF_MEP_CPU_C2)
        (EF_MEP_CPU_C3, EF_MEP_CPU_H1, EF_MEP_INDEX_MASK)
        (EF_MEP_ALL_FLAGS): New macros.

        2001-09-28  Richard Henderson  <rth@redhat.com>

        * mep.h (SHF_MEP_VLIW, SEC_MEP_VLIW): New.

        2001-07-12  DJ Delorie  <dj@redhat.com>

        * mep.h (R_MEP_GNU_VTINHERIT, R_MEP_GNU_VTENTRY): Mark as no-overflow.

        2001-06-25  DJ Delorie  <dj@redhat.com>

        * mep.h: Add vtable relocs.

        2001-05-10  DJ Delorie  <dj@redhat.com>

        * mep.h: Fix bit offsets for HI16*, make them no-overflow.  Add
        comment about mep-relocs.pl.

        2001-05-01  DJ Delorie  <dj@redhat.com>

        * mep.h: Add MeP-specific relocs.

        2001-03-22  Ben Elliston  <bje@redhat.com>

        * mep.h: New file.

        2001-03-20  Ben Elliston  <bje@redhat.com>

        * common.h (EM_CYGNUS_MEP): Define.

17 years ago2007-02-05 Dave Brolley <brolley@redhat.com>
Dave Brolley [Mon, 5 Feb 2007 19:15:07 +0000 (19:15 +0000)]
2007-02-05  Dave Brolley  <brolley@redhat.com>

        * Contribute the following Changes:
        2005-08-22  Dave Brolley  <brolley@redhat.com>

        * mep.h (EF_MEP_CPU_C4): New macro.
        (EF_MEP_CPU_H1): Change to 0x10000000.

        2005-04-22  Richard Sandiford  <rsandifo@redhat.com>

        * mep.h (EF_MEP_LIBRARY): New flag.
        (EF_MEP_ALL_FLAGS): Update accordingly.

        2004-06-21  Dave Brolley  <brolley@redhat.com>

        * mep.h (EF_MEP_CPU_MASK, EF_MEP_CPU_MEP, EF_MEP_CPU_C2)
        (EF_MEP_CPU_C3, EF_MEP_CPU_H1, EF_MEP_INDEX_MASK)
        (EF_MEP_ALL_FLAGS): New macros.

        2001-09-28  Richard Henderson  <rth@redhat.com>

        * mep.h (SHF_MEP_VLIW, SEC_MEP_VLIW): New.

        2001-07-12  DJ Delorie  <dj@redhat.com>

        * mep.h (R_MEP_GNU_VTINHERIT, R_MEP_GNU_VTENTRY): Mark as no-overflow.

        2001-06-25  DJ Delorie  <dj@redhat.com>

        * mep.h: Add vtable relocs.

        2001-05-10  DJ Delorie  <dj@redhat.com>

        * mep.h: Fix bit offsets for HI16*, make them no-overflow.  Add
        comment about mep-relocs.pl.

        2001-05-01  DJ Delorie  <dj@redhat.com>

        * mep.h: Add MeP-specific relocs.

        2001-03-22  Ben Elliston  <bje@redhat.com>

        * mep.h: New file.

        2001-03-20  Ben Elliston  <bje@redhat.com>

        * common.h (EM_CYGNUS_MEP): Define.

2007-02-15  Dave Brolley  <brolley@redhat.com>

        From Graydon Hoare  <graydon@redhat.com>:
        * common.h (STT_RELC, STT_SRELC, R_RELC): New macros.

17 years ago2007-02-05 Dave Brolley <brolley@redhat.com>
Dave Brolley [Mon, 5 Feb 2007 19:12:54 +0000 (19:12 +0000)]
2007-02-05  Dave Brolley  <brolley@redhat.com>

        * mt-mep: New.

17 years ago2007-02-05 Dave Brolley <brolley@redhat.com>
Dave Brolley [Mon, 5 Feb 2007 19:10:45 +0000 (19:10 +0000)]
2007-02-05  Dave Brolley  <brolley@redhat.com>

        * Contribute the following changes:
        2006-11-28  DJ Delorie  <dj@redhat.com>

        * configure.in: Fix typo for mep's target_makefile_frag.
        * configure: Regenerated.

        2005-04-22  Richard Sandiford  <rsandifo@redhat.com>

        * configure.in (mep*): Add -mlibrary to FLAGS_FOR_TARGET.
        * configure: Regenerate.

        2001-09-19  DJ Delorie  <dj@redhat.com>

        * configure.in (target_makefile_frag): use mt-mep

        2001-06-12  Don Howard  <dhoward@redhat.com>

        * configure.in: Remove gdb from MeP skip list.

        2001-04-05  DJ Delorie  <dj@redhat.com>

        * configure.in (noconfigdirs): Remove gcc from MeP skip list.

        2001-03-20  Ben Elliston  <bje@redhat.com>

        * configure.in (noconfigdirs): Add gcc and gdb for MeP.

        2001-03-19  Ben Elliston  <bje@redhat.com>

        * config.sub (mep, mep-*): Add.

17 years ago * fhandler_serial.cc (fhandler_serial::tcsetattr): Add support for
Corinna Vinschen [Mon, 5 Feb 2007 12:32:23 +0000 (12:32 +0000)]
* fhandler_serial.cc (fhandler_serial::tcsetattr): Add support for
baud rates up to 3000000 baud.  Add missing 128K and 256K cases.
(fhandler_serial::tcgetattr): Ditto.
* include/sys/termios.h: Add baud rate definitions from B460800 up to
B3000000.

17 years agoFix typos in year.
H.J. Lu [Fri, 2 Feb 2007 22:15:52 +0000 (22:15 +0000)]
Fix typos in year.

17 years ago2007-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
Jeff Johnston [Fri, 2 Feb 2007 16:22:28 +0000 (16:22 +0000)]
2007-02-02  Ralf Corsépius <ralf.corsepius@rtems.org>

        * libc/include/sys/errno.h: Add ECANCELED.

17 years agobinutils/
H.J. Lu [Fri, 2 Feb 2007 15:27:04 +0000 (15:27 +0000)]
binutils/

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

* doc/binutils.texi (objdump): Document the new addr64 option
for i386 disassembler.

include/

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

* dis-asm.h (print_i386_disassembler_options): New.

opcodes/

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

* disassemble.c (disassembler_usage): Call
print_i386_disassembler_options for i386 disassembler.

* i386-dis.c (print_i386_disassembler_options): New.
(print_insn): Support the new addr64 option.

17 years ago * syscalls.cc (unlink_nt): Add missing assignment in case NtClose fails.
Corinna Vinschen [Fri, 2 Feb 2007 15:16:54 +0000 (15:16 +0000)]
* syscalls.cc (unlink_nt): Add missing assignment in case NtClose fails.

17 years ago Fix typo.
Corinna Vinschen [Thu, 1 Feb 2007 17:13:31 +0000 (17:13 +0000)]
Fix typo.

17 years ago2007-02-01 Joel Schopp <jschopp@austin.ibm.com>
Jeff Johnston [Thu, 1 Feb 2007 16:43:45 +0000 (16:43 +0000)]
2007-02-01  Joel Schopp <jschopp@austin.ibm.com>
            Kazunori Asayama <asayama@sm.sony.co.jp>

        * libc/machine/spu/Makefile.am: Add objects.
        * libc/machine/spu/Makefile.in: Regenerated.
        * libc/machine/spu/vsscanf.c: New file. Add a stdio function
        implementation.
        * libc/machine/spu/snprintf.c: Ditto.
        * libc/machine/spu/sprintf.c: Ditto.
        * libc/machine/spu/sscanf.c: Ditto.
        * libc/machine/spu/remove.c: Ditto.
        * libc/machine/spu/rename.c: Ditto.
        * libc/machine/spu/tmpnam.c: Ditto.
        * libc/machine/spu/vsnprintf.c: Add initialization routine of
        stdio stuffs.
        * libc/machine/spu/vsprintf.c: Ditto.

17 years ago2007-02-01 Joel Schopp <jschopp@austin.ibm.com>
Jeff Johnston [Thu, 1 Feb 2007 16:33:05 +0000 (16:33 +0000)]
2007-02-01  Joel Schopp <jschopp@austin.ibm.com>
            Kazunori Asayama <asayama@sm.sony.co.jp>

        * configure.host: Enable SPU specific stdio directory.
        * libc/machine/spu/Makefile.am: Add objects.
        * libc/machine/spu/Makefile.in: Regenerated.
        * libc/machine/spu/c99ppe.h: Add macros and function
        declarations to initialize SPU specific stdio stuffs.
        * libc/machine/spu/stdio.c: Add functions to manage Cell SPU
        specific FILE structures.
        * libc/machine/spu/perror.c: Add initialization routine of
        stdio stuffs.
        * libc/machine/spu/printf.c: Ditto.
        * libc/machine/spu/putchar.c: Ditto.
        * libc/machine/spu/puts.c: Ditto.
        * libc/machine/spu/vprintf.c: Ditto.
        * libc/machine/spu/clearerr.c: New file. Add a stdio function
        implementation.
        * libc/machine/spu/feof.c: Ditto.
        * libc/machine/spu/ferror.c: Ditto.
        * libc/machine/spu/fileno.c: Ditto.
        * libc/machine/spu/fopen.c: Ditto.
        * libc/machine/spu/fclose.c: Ditto.
        * libc/machine/spu/freopen.c: Ditto.
        * libc/machine/spu/fflush.c: Ditto.
        * libc/machine/spu/fseek.c: Ditto.
        * libc/machine/spu/ftell.c: Ditto.
        * libc/machine/spu/rewind.c: Ditto.
        * libc/machine/spu/fgetpos.c: Ditto.
        * libc/machine/spu/fsetpos.c: Ditto.
        * libc/machine/spu/fread.c: Ditto.
        * libc/machine/spu/fwrite.c: Ditto.
        * libc/machine/spu/getc.c: Ditto.
        * libc/machine/spu/getchar.c: Ditto.
        * libc/machine/spu/gets.c: Ditto.
        * libc/machine/spu/fgetc.c: Ditto.
        * libc/machine/spu/fgets.c: Ditto.
        * libc/machine/spu/ungetc.c: Ditto.
        * libc/machine/spu/putc.c: Ditto.
        * libc/machine/spu/fputc.c: Ditto.
        * libc/machine/spu/fputs.c: Ditto.
        * libc/machine/spu/vfprintf.c: Ditto.
        * libc/machine/spu/vfscanf.c: Ditto.
        * libc/machine/spu/fprintf.c: Ditto.
        * libc/machine/spu/fscanf.c: Ditto.
        * libc/machine/spu/scanf.c: Ditto.
        * libc/machine/spu/vscanf.c: Ditto.
        * libc/machine/spu/setbuf.c: Ditto.
        * libc/machine/spu/setvbuf.c: Ditto.
        * libc/machine/spu/tmpfile.c: Ditto.

2007-02-01  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/config.h[__SPU__]: Define __CUSTOM_FILE_IO__.
        * libc/include/stdio.h[!__CUSTOM_FILE_IO__]: Add flag check
        around stdio macros that manipulate fields in the normal file
        structure.
        * libc/include/sys/reent.h[__CUSTOM_FILE_IO__]: Include
        <sys/custom_file.h> to define custom FILE structure.
        * libc/include/sys/custom_file.h: New default header file
        that generates error if not overridden when __CUSTOM_FILE_IO__ set.
        * libc/machine/spu/sys/custom_file.h: New file.

17 years ago * net.cc (ga_dup): New function, taken from ga_clone with v4-in-v6
Corinna Vinschen [Thu, 1 Feb 2007 15:54:40 +0000 (15:54 +0000)]
* net.cc (ga_dup): New function, taken from ga_clone with v4-in-v6
mapping addition.
(ga_clone): Just call ga_dup from here.
(ga_duplist): New function to duplicate list of struct addrinfo.
(ga_echeck): Don't check a_flags, it already happened in
cygwin_getaddrinfo.
(cygwin_freeaddrinfo): Always call ipv4_freeaddrinfo.
(cygwin_getaddrinfo): Use new wincap.supports_all_posix_ai_flags
flag rather than wincap.has_gaa_on_link_prefix.  Always duplicate
WinSock's addrinfo list to a self-allocated list.  Handle AI_V4MAPPED
for pre-Vista platforms supporting getaddrinfo.
* wincap.h (wincapc::supports_all_posix_ai_flags): New element.
* wincap.cc: Implement above element throughout.
* include/netdb.h: Note how AI_ADDRCONFIG is not supported pre-Vista.
Remove superfluous comment.

17 years ago * include/cygwin/socket.h: Add IPv6 socket options.
Corinna Vinschen [Thu, 1 Feb 2007 10:04:45 +0000 (10:04 +0000)]
* include/cygwin/socket.h: Add IPv6 socket options.

17 years ago * Makefile.tpl (LDFLAGS): Substitute it.
Andreas Schwab [Wed, 31 Jan 2007 22:23:37 +0000 (22:23 +0000)]
* Makefile.tpl (LDFLAGS): Substitute it.
* Makefile.in: Regenerate.

17 years ago2007-01-31 Kazunori Asayama <asayama@sm.sony.co.jp>
Jeff Johnston [Wed, 31 Jan 2007 19:34:38 +0000 (19:34 +0000)]
2007-01-31  Kazunori Asayama <asayama@sm.sony.co.jp>

* configure.host: Define stdio directory as a variable.
* libc/Makefile.am: Define stdio related names
as macros.
* libc/configure.in: Add detection routine of stdio directory.
* libc/Makefile.in: Regenerated.
* libc/configure: Ditto.
* libc/argz/Makefile.in: Ditto.
* libc/ctype/Makefile.in: Ditto.
* libc/errno/Makefile.in: Ditto.
* libc/iconv/Makefile.in: Ditto.
* libc/iconv/ccs/Makefile.in: Ditto.
* libc/iconv/ccs/binary/Makefile.in: Ditto.
* libc/iconv/ces/Makefile.in: Ditto.
* libc/iconv/lib/Makefile.in: Ditto.
* libc/locale/Makefile.in: Ditto.
* libc/misc/Makefile.in: Ditto.
* libc/posix/Makefile.in: Ditto.
* libc/reent/Makefile.in: Ditto.
* libc/search/Makefile.in: Ditto.
* libc/signal/Makefile.in: Ditto.
* libc/stdio/Makefile.in: Ditto.
* libc/stdio64/Makefile.in: Ditto.
* libc/stdlib/Makefile.in: Ditto.
* libc/string/Makefile.in: Ditto.
* libc/syscalls/Makefile.in: Ditto.
* libc/time/Makefile.in: Ditto.
* libc/unix/Makefile.in: Ditto.

17 years ago include/
Vladimir Prus [Wed, 31 Jan 2007 18:49:40 +0000 (18:49 +0000)]
    include/
        * libiberty.h (PEX_STDERR_TO_PIPE): New define.
        (PEX_BINARY_ERROR): New define.
        (pex_read_err): New function.

        libiberty/
        * pex-common.h (struct pex_obj): New fields
        stderr_pipe and read_err.
        * pex-common.c (pex_init_common): Initialize
        stderr_pipe.
        (pex_run_in_environment): Add error checking
        for PEX_STDERR_TO_PIPE.  Create a pipe
        for stderr if necessary.
        (pex_read_err): New.
        (pex_free): Close read_err.
        * pexecute.txh: Document changes.
        * functions.texi: Regenerated.

17 years ago * net.cc (cygwin_getaddrinfo): Fix thinko in AI_ADDRCONFIG handling.
Corinna Vinschen [Wed, 31 Jan 2007 15:30:42 +0000 (15:30 +0000)]
* net.cc (cygwin_getaddrinfo): Fix thinko in AI_ADDRCONFIG handling.

17 years ago * net.cc (cygwin_getaddrinfo): Check ai_flags for valid values.
Corinna Vinschen [Wed, 31 Jan 2007 15:10:22 +0000 (15:10 +0000)]
* net.cc (cygwin_getaddrinfo): Check ai_flags for valid values.
Handle AI_NUMERICSERV.  Handle AI_ADDRCONFIG behaviour on Vista.
* include/netdb.h (AI_NUMERICSERV): Add missing flag.

17 years ago * fhandler_disk_file.cc (fhandler_disk_file::closedir): Add dir name
Corinna Vinschen [Wed, 31 Jan 2007 10:55:59 +0000 (10:55 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::closedir): Add dir name
to debug output.
* syscalls.cc (try_to_bin): Enable code to move file to user specific
recycler dir to eliminate Vista problem.
(unlink_nt): Add comment that rename after opening for delete on close
only fails on XP.

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