]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
22 years agoImport latest version of texi2pod.pl from FSF GCC sources.
Nick Clifton [Tue, 11 Jun 2002 15:34:33 +0000 (15:34 +0000)]
Import latest version of texi2pod.pl from FSF GCC sources.

22 years agoRevoke adding mh-s390xpic. Doesn't make any sense because it is not
Martin Schwidefsky [Tue, 11 Jun 2002 13:34:24 +0000 (13:34 +0000)]
Revoke adding mh-s390xpic. Doesn't make any sense because it is not
referenced from anywhere.

22 years ago2002-06-11 Martin Schwidefsky <schwidefsky@de.ibm.com>
Martin Schwidefsky [Tue, 11 Jun 2002 09:46:38 +0000 (09:46 +0000)]
2002-06-11  Martin Schwidefsky  <schwidefsky@de.ibm.com>

        * mh-s390xpic: New file.

22 years ago* libc/include/process.h: Remove cygwin-only sexec* declarations. Fix spawnve
Christopher Faylor [Tue, 11 Jun 2002 02:26:43 +0000 (02:26 +0000)]
* libc/include/process.h: Remove cygwin-only sexec* declarations.  Fix spawnve
declaration.

22 years ago* spawn.cc (spawn_guts): Define sec_attribs and call sec_user_nih() only once.
Christopher Faylor [Tue, 11 Jun 2002 02:22:02 +0000 (02:22 +0000)]
* spawn.cc (spawn_guts): Define sec_attribs and call sec_user_nih() only once.

22 years ago* Makefile.in: Ensure that -MD gets added to CFLAGS regardless of CFLAGS
Christopher Faylor [Tue, 11 Jun 2002 02:08:00 +0000 (02:08 +0000)]
* Makefile.in: Ensure that -MD gets added to CFLAGS regardless of CFLAGS
command-line setting.
* cygwin.din: Export sexec* functions as function which returns ENOSYS
(i.e., sexec* is deprecated).
* dtable.cc (dtable::vfork_child_dup): Ensure that impersonation is restored
even on failure.
* exec.cc: Throughout, remove references to sexec* and _spawnve.
* pinfo.h: Remove _spawnve declaration.
* spawn.cc: Rename _spawnve to spawnve and use throughout.
(spawn_guts): Eliminate hToken argument and processing of same.  Just perform
special actions if impersonating.
(spawnve): Rename from _spawnve.

22 years agorevert erroneous checkin
Christopher Faylor [Mon, 10 Jun 2002 19:59:19 +0000 (19:59 +0000)]
revert erroneous checkin

22 years ago* include/sys/strace.h (strace): Avoid use of constructor.
Christopher Faylor [Mon, 10 Jun 2002 19:58:21 +0000 (19:58 +0000)]
* include/sys/strace.h (strace): Avoid use of constructor.

22 years ago* dcrt0.cc (dll_crt0_1): Initialize wincap and check for sanity before running
Christopher Faylor [Mon, 10 Jun 2002 17:08:09 +0000 (17:08 +0000)]
* dcrt0.cc (dll_crt0_1): Initialize wincap and check for sanity before running
global ctors.
* wincap.h (wincap): Eliminate constructor.  Default is to zero memory, anyway.
* wincap.cc (wincap): Copy this on fork to avoid initialization in forked
processes.

22 years ago * fhandler.h (fhandler_socket::fixup_after_fork): Revert patch from
Corinna Vinschen [Mon, 10 Jun 2002 11:07:44 +0000 (11:07 +0000)]
* fhandler.h (fhandler_socket::fixup_after_fork): Revert patch from
2002-06-04.
* fhandler_socket.cc (fhandler_socket::fixup_after_fork): Ditto.
(fhandler_socket::dup): Ditto.
* net.cc (fdsock): Make sockets explicitely noninheritable on NT.

22 years ago/tmp/cvs610a0a90.1
Robert Collins [Mon, 10 Jun 2002 02:40:13 +0000 (02:40 +0000)]
/tmp/cvs610a0a90.1

22 years ago* fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): Correctly set
Christopher Faylor [Mon, 10 Jun 2002 01:25:47 +0000 (01:25 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): Correctly set
number of links for directory, if appropriate.

22 years ago2002-06-10 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Mon, 10 Jun 2002 01:10:45 +0000 (01:10 +0000)]
2002-06-10  Robert Collins  <rbtcollins@hotmail.com>

        * cygwin.din: Add _pthread_cleanup_push and _pthread_cleanup_pop.
        * pthread.cc: Change __pthread_self to pthread::self() thruoghout.
        (_pthread_cleanup_push): New function.
        (_pthread_cleanup_pop): Ditto.
        * thread.cc: Thanks to Thomas Pfaff for the pthread cleanup_push,_pop
        patch, this work is derived from that.
        Change __pthread_self to pthread::self() thruoghout.
        (__pthread_self): Rename to pthread::self.
        (pthread::self): New method.
        (pthread::pthread): Initialize new member.
        (pthread::push_cleanup_handler): New method.
        (pthread::pop_cleanup_handler): New method.
        (pthread::pop_all_cleanup_handlers): New method.
        (__pthread_exit): Pop all cleanup handlers.
        * thread.h (pthread::push_cleanup_handler): Declare.
        (pthread::pop_cleanup_handler): Ditto.
        (pthread::pop_all_cleanup_handlers): Ditto.
        (pthread::self): New static method.
        (__pthread_exit): Give C++ linkage.
        (__pthread_join): Ditto.
        (__pthread_detach): Ditto.
        (__pthread_self): Remove.

2002-04-24  Thomas Pfaff  <tpfaff@gmx.net>

        * include/pthread.h (__pthread_cleanup_handler): New structure
        (pthread_cleanup_push): Rewritten .
        (pthread_cleanup_pop): Ditto.
        (_pthread_cleanup_push): New prototype.
        (_pthread_cleanup_pop) Ditto.

2002-04-24  Thomas Pfaff  <tpfaff@gmx.net>

        * thread.cc (thread_init_wrapper): Check if thread is already joined.
        (__pthread_join): Set joiner first.
        (__pthread_detach): Ditto.

22 years ago2002-06-10 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Sun, 9 Jun 2002 23:02:00 +0000 (23:02 +0000)]
2002-06-10  Robert Collins  <rbtcollins@hotmail.com>

        * cygserver_transport.cc (create_server_transport): Finish the split
        out of sockets code from transport_layer_base. Thanks to Nicholas
        Wourms and Conrad Scott for catching this.

22 years agoMove include/callback.h and include/remote-sim.h to include/gdb/.
Andrew Cagney [Sun, 9 Jun 2002 15:45:44 +0000 (15:45 +0000)]
Move include/callback.h and include/remote-sim.h to include/gdb/.
Update accordingly.

22 years ago* path.cc (cygpath): Change MOUNT_AUTO to MOUNT_CYGDRIVE.
Christopher Faylor [Sun, 9 Jun 2002 05:08:44 +0000 (05:08 +0000)]
* path.cc (cygpath): Change MOUNT_AUTO to MOUNT_CYGDRIVE.
(getmntent): Ditto.

22 years ago2002-06-09 Gunnar Degnbol <gdegnbol@users.sourceforge.net>
Danny Smith [Sun, 9 Jun 2002 05:02:01 +0000 (05:02 +0000)]
2002-06-09  Gunnar Degnbol <gdegnbol@users.sourceforge.net>

* include/richedit.h (EM_*, TM_*, GT_*): Add new defines.
(GETTEXTEX): Add structure definition.

22 years ago* mount.cc (main): Use default system/user flag for cygdrive stuff, too.
Christopher Faylor [Sun, 9 Jun 2002 04:54:32 +0000 (04:54 +0000)]
* mount.cc (main): Use default system/user flag for cygdrive stuff, too.
(change_cygdrive_prefix): Change MOUNT_AUTO to MOUNT_CYGDRIVE.
* umount.cc (remove_cygdrive_prefix): Ditto.
(main): Use default system/user flag for cygdrive stuff, too.

22 years ago* pinfo.cc (pinfo_dummy): Initialize to correct size.
Christopher Faylor [Sun, 9 Jun 2002 03:54:07 +0000 (03:54 +0000)]
* pinfo.cc (pinfo_dummy): Initialize to correct size.

22 years ago * include/windows.h (ole2.h): #include if !__OBJC__ and
Danny Smith [Sun, 9 Jun 2002 03:37:20 +0000 (03:37 +0000)]
* include/windows.h (ole2.h): #include if !__OBJC__ and
__GNUC__ >=3 and !WIN32_LEAN_AND_MEAN.

22 years ago* configure.in (vax-*-netbsd*): Re-enable gas.
Jason Thorpe [Sun, 9 Jun 2002 01:32:19 +0000 (01:32 +0000)]
* configure.in (vax-*-netbsd*): Re-enable gas.

22 years ago* path.cc: Change MOUNT_AUTO to MOUNT_CYGDRIVE throughout.
Christopher Faylor [Sun, 9 Jun 2002 00:48:38 +0000 (00:48 +0000)]
* path.cc: Change MOUNT_AUTO to MOUNT_CYGDRIVE throughout.
* shared_info.h (CURR_MOUNT_MAGIC): Update.

22 years ago* mount.cc (opts): Remove '-i' option.
Christopher Faylor [Sun, 9 Jun 2002 00:33:27 +0000 (00:33 +0000)]
* mount.cc (opts): Remove '-i' option.
(usage): Ditto.
(main): Ditto.
(longopts): Remove --import-old-mounts option.

22 years ago* external.cc (cygwin_internal): Make v1 mount table access invalid.
Christopher Faylor [Sun, 9 Jun 2002 00:31:03 +0000 (00:31 +0000)]
* external.cc (cygwin_internal): Make v1 mount table access invalid.
* path.cc (mount_info::init): Remove had_to_create_mount_areas initialization.
(mount_info::from_registry): Remove v1 table import.
(mount_info::read_v1_mounts): Eliminate.
(mount_info::import_v1_mounts): Ditto.
* shared_info.h (mount_info): Ditto for both of above.
* sys/mount.h (MOUNT_DEVFS): New enum.
(MOUNT_PROC): Ditto.

22 years ago* include/wchar.h: Define __need_size_t.
Christopher Faylor [Sat, 8 Jun 2002 16:55:47 +0000 (16:55 +0000)]
* include/wchar.h: Define __need_size_t.

22 years ago * a29k.h: Replace CONST with const.
Alan Modra [Sat, 8 Jun 2002 07:32:12 +0000 (07:32 +0000)]
* a29k.h: Replace CONST with const.
(CONST): Don't define.
* convex.h: Replace CONST with const.
(CONST): Don't define.
* dlx.h: Replace CONST with const.
* or32.h (CONST): Don't define.

22 years agocoerce
Christopher Faylor [Sat, 8 Jun 2002 01:35:54 +0000 (01:35 +0000)]
coerce

22 years ago* fhandler_socket.cc (fhandler_socket::fstat): Don't assume that socket is
Christopher Faylor [Sat, 8 Jun 2002 01:24:58 +0000 (01:24 +0000)]
* fhandler_socket.cc (fhandler_socket::fstat): Don't assume that socket is
unix-domain socket.
* times.cc (hires_ms::prime): Set init flag.
* times.cc (hires_ms::prime): Adjust epoch of initime_us from 1601 to 1970.

22 years ago * libm/common/s_fdim.c: New file.
Thomas Fitzsimmons [Fri, 7 Jun 2002 21:59:57 +0000 (21:59 +0000)]
* libm/common/s_fdim.c: New file.
* libm/common/s_fma.c: Likewise.
* libm/common/s_fmax.c: Likewise.
* libm/common/s_fmin.c: Likewise.
* libm/common/s_fpclassify.c: Likewise.
* libm/common/s_lrint.c: Likewise.
* libm/common/s_lround.c: Likewise.
* libm/common/s_nearbyint.c: Likewise.
* libm/common/s_remquo.c: Likewise.
* libm/common/s_round.c: Likewise.
* libm/common/s_scalbln.c: Likewise.
* libm/common/s_signbit.c: Likewise.
* libm/common/s_trunc.c: Likewise.
* libm/common/sf_fdim.c: Likewise.
* libm/common/sf_fma.c: Likewise.
* libm/common/sf_fmax.c: Likewise.
* libm/common/sf_fmin.c: Likewise.
* libm/common/sf_lrint.c: Likewise.
* libm/common/sf_lround.c: Likewise.
* libm/common/sf_nearbyint.c: Likewise.
* libm/common/sf_remquo.c: Likewise.
* libm/common/sf_round.c: Likewise.
* libm/common/sf_scalbln.c: Likewise.
* libm/common/sf_trunc.c: Likewise.
* libm/math/w_exp2.c: Likewise.
* libm/math/w_tgamma.c: Likewise.
* libm/math/wf_exp2.c: Likewise.
* libm/math/wf_tgamma.c: Likewise.
* libm/mathfp/s_exp2.c: Likewise.
* libm/mathfp/s_tgamma.c: Likewise.
* libm/mathfp/sf_exp2.c: Likewise.
* libm/mathfp/sf_tgamma.c: Likewise.
* libm/math/er_gamma.c: Fix return value.
* libm/math/erf_gamma.c: Likewise.
* libm/mathfp/er_gamma.c: Likewise.
* libm/mathfp/erf_gamma.c: Likewise.
* libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
declarations and macros.
Regenerated all Makefile.in, aclocal.m4 and configure files to
use new libtool macros in top-level libtool.m4

22 years ago* cygpath.cc: Add option to output windows paths in different formats: "dos"
Christopher Faylor [Fri, 7 Jun 2002 19:25:26 +0000 (19:25 +0000)]
* cygpath.cc: Add option to output windows paths in different formats: "dos"
and "mixed".
(main): Process options.
(doit): Check new options flags.

22 years agoEnable pei386_auto_import by default. Only print a info message about auto
Nick Clifton [Fri, 7 Jun 2002 14:56:01 +0000 (14:56 +0000)]
Enable pei386_auto_import by default.  Only print a info message about auto
imports being resilved if this feature was not requested via a command line
switch.

22 years ago * regtool.cc (Fail): Be more verbose.
Corinna Vinschen [Fri, 7 Jun 2002 11:12:16 +0000 (11:12 +0000)]
* regtool.cc (Fail): Be more verbose.
(find_key): Add support for remote registry access.
(usage): Document it.
* utils.sgml: Document it.

22 years ago* autoload.cc (timeGetDevCaps): Define new autoload function.
Christopher Faylor [Fri, 7 Jun 2002 03:44:33 +0000 (03:44 +0000)]
* autoload.cc (timeGetDevCaps): Define new autoload function.
(timeGetTime): Ditto.
(timeBeginPeriod): Ditto.
(timeEndPeriod): Ditto.
* hires.h (hires_base): New class.  Renamed from hires.
(hires_us): New class.
(hires_ms): New class.
* strace.cc (strace::microseconds): Use hires_us class.
* times.cc (gettimeofday): Use hires-ms class.
(hires_us::prime): Renamed from hires::prime.
(hires_us::usecs): Renamed from hires:usecs.
(hires_ms::prime): New method.
(hires_ms::usecs): New method.
(hires_ms::~hires_ms): New destructor.

22 years ago* strace.cc (main): Make toggle a local variable.
Christopher Faylor [Fri, 7 Jun 2002 01:37:20 +0000 (01:37 +0000)]
* strace.cc (main): Make toggle a local variable.

22 years ago* strace.cc (toggle): New global variable.
Christopher Faylor [Fri, 7 Jun 2002 01:36:17 +0000 (01:36 +0000)]
* strace.cc (toggle): New global variable.
(error): Use exit instead of ExitProcess so that stdio buffers get flushed.
(create_child): Remove command line error checking.
(dostrace): Ditto.
(dotoggle): New function.
(usage): Add entry for new option -T|--toggle.  Alphabetize.
(longopts): Add new option -T|--toggle.
(opts): Ditto.
(main): Handle new -T|--toggle option.  Move all command line checking here
from other functions.
* utils.sgml: Update section for strace.

22 years ago2002-06-07 Gunnar Degnbol <gdegnbol@users.sourceforge.net>
Danny Smith [Fri, 7 Jun 2002 00:30:17 +0000 (00:30 +0000)]
2002-06-07  Gunnar Degnbol <gdegnbol@users.sourceforge.net>

* include/mapi.h: Change LPTSTR to LPSTR throughout.

22 years ago* autoload.cc (noload): Correctly save argument count register.
Christopher Faylor [Thu, 6 Jun 2002 23:53:45 +0000 (23:53 +0000)]
* autoload.cc (noload): Correctly save argument count register.

22 years ago * fhandler.cc (fhandler_base::fstat): Initialise tv_nsec member of
Corinna Vinschen [Thu, 6 Jun 2002 15:35:09 +0000 (15:35 +0000)]
* fhandler.cc (fhandler_base::fstat): Initialise tv_nsec member of
st_atim, st_mtim, and st_ctim fields.
* fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): Ditto.
* fhandler_process.cc (fhandler_process::fstat): Ditto.
* glob.c (stat32_to_STAT): Copy across the whole st_atim,
st_mtime, and st_ctim fields.
* syscalls.cc (stat64_to_stat32): Ditto.
* times.cc (to_timestruc_t): New function.
(time_as_timestruc_t): New function.
* winsup.h: Add to_timestruc_t and time_as_timestruc_t functions.
* include/cygwin/stat.h: Replace time_t with timestruc_t
throughout for all file times, removing the st_spare1, st_spare2,
and st_spare3 fields in the process. Add macros to access tv_sec
fields by old names.
* include/cygwin/types.h: Typedef timespec_t and timestruc_t as
struct timespec.

22 years agomerge from gcc
DJ Delorie [Thu, 6 Jun 2002 12:55:14 +0000 (12:55 +0000)]
merge from gcc

22 years ago * sec_helper.cc (lookup_name): Suppress.
Corinna Vinschen [Thu, 6 Jun 2002 11:17:51 +0000 (11:17 +0000)]
* sec_helper.cc (lookup_name): Suppress.
* security.cc (alloc_sd): Remove logsrv argument.
Remove two calls to lookup_name.
(set_security_attribute): Remove logsrv argument.
Remove logsrv argument in call to alloc_sd.
(set_nt_attribute): Remove logsrv argument.
Remove logsrv argument in call to set_security_attribute.
(set_file_attribute): Remove logsrv argument.
Remove logsrv argument in call to set_nt_attribute.
(set_file_attribute): Remove logsrv argument.
Remove logsrv argument in call to set_file_attribute.
* syscalls.cc (chown_worker): Remove logserver argument in
call to set_file_attribute.
(chmod): Ditto.
* shm.cc (shmget): Remove logsrv argument in call to alloc_sd.
* uinfo.cc (internal_getlogin): Replace calls to
lookup_name by call to LookupAccountName.
* security.h: Remove logsrv in declarations of set_file_attribute
and alloc_sd. Remove declaration of lookup_name.

22 years ago * common.h: Change registry@sco.com to registry@caldera.com.
Alan Modra [Thu, 6 Jun 2002 09:59:38 +0000 (09:59 +0000)]
* common.h: Change registry@sco.com to registry@caldera.com.
(EM_PDP10, EM_PDP11): Define.

22 years ago Fix ChangeLog entry.
Corinna Vinschen [Thu, 6 Jun 2002 08:37:24 +0000 (08:37 +0000)]
Fix ChangeLog entry.

22 years ago* strace.cc (version): New global variable.
Christopher Faylor [Thu, 6 Jun 2002 02:55:10 +0000 (02:55 +0000)]
* strace.cc (version): New global variable.
(usage): Accomodate stdout output.
(print_version): New function.

22 years ago* child_info.h (CHILD_INFO_MAGIC): Oops. Revert previous change. gcc 3.1 bug?
Christopher Faylor [Thu, 6 Jun 2002 01:49:56 +0000 (01:49 +0000)]
* child_info.h (CHILD_INFO_MAGIC): Oops.  Revert previous change.  gcc 3.1 bug?

22 years ago* child_info.h (CHILD_INFO_MAGIC): Update.
Christopher Faylor [Thu, 6 Jun 2002 01:31:16 +0000 (01:31 +0000)]
* child_info.h (CHILD_INFO_MAGIC): Update.

22 years ago* strace.cc (strace::hello): Set inited, when appropriate.
Christopher Faylor [Thu, 6 Jun 2002 01:26:33 +0000 (01:26 +0000)]
* strace.cc (strace::hello): Set inited, when appropriate.

22 years ago* ssp.c (version): New global variable.
Christopher Faylor [Thu, 6 Jun 2002 00:36:12 +0000 (00:36 +0000)]
* ssp.c (version): New global variable.
(longopts): Ditto.
(opts): Ditto.
(run_program): Correct cmd_line typos to cmdline.
(usage): New function.  Standardize usage output.  Add ssp.txt to --help
output.
(print_version): New function.
(main): Accommodate getopt.

22 years ago* cygwin.din: Eliminate some newlib wrappers.
Christopher Faylor [Thu, 6 Jun 2002 00:09:55 +0000 (00:09 +0000)]
* cygwin.din: Eliminate some newlib wrappers.
* path.cc (get_devn): Only consider first 99 potential com devices.
(get_device_number): Ditto.
* times.cc (_times): Eliminate.
(_times): Renamed from times().

22 years ago2002-06-05 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 5 Jun 2002 20:58:59 +0000 (20:58 +0000)]
2002-06-05  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/string.h[__linux__]: Add strsignal prototype.
        * libc/include/sys/lock.h: New file with default locking support.
        * libc/include/sys/reent.h: Add signal buffer support for strsignal
        and psignal.
        * libc/posix/Makefile.am: Add support for readdir_r.c.
        * libc/posix/Makefile.in: Regenerated.
        * libc/posix/closedir.c: Add locking support and hash table cleanup.
        * libc/posix/opendir.c: Add lock support.
        * libc/posix/readdir.c: Ditto.
        * libc/posix/rewinddir.c: Ditto.
        * libc/posix/scandir.c: Ditto.
        * libc/posix/seekdir.c: Ditto.
        * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
        clean up leftover hash table entries.
        * libc/posix/readdir_r.c: New file.
        * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
        * libc/sys/linux/Makefile.in: Regenerated.
        * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
        * libc/sys/linux/sys/signal.h: Add psignal prototype.
        * libc/sys/linux/psignal.c: New file.
        * libc/sys/linux/strsignal.c: Ditto.

22 years ago* dir.cc (rmdir): Streamline. Detect attempts to remove directories from
Christopher Faylor [Wed, 5 Jun 2002 16:01:55 +0000 (16:01 +0000)]
* dir.cc (rmdir): Streamline.  Detect attempts to remove directories from
"read-only" virtual devices.  (Suggested by Pavel Tsekov)
* syscalls.cc (unlink): Detect attempts to remove directories from "read-only"
virtual devices.  (From Pavel Tsekov)

22 years ago* dtable.cc (handle_to_fn): Check error return value from NtQueryObject first
Christopher Faylor [Wed, 5 Jun 2002 15:43:49 +0000 (15:43 +0000)]
* dtable.cc (handle_to_fn): Check error return value from NtQueryObject first
before seeing if name buffer is NULL.
* grp.cc (read_etc_group): Fix gcc warning regarding snprintf format.
* passwd.cc (read_etc_passwd): Ditto.

22 years ago/tmp/cvs610a0efc.1
Robert Collins [Wed, 5 Jun 2002 12:39:55 +0000 (12:39 +0000)]
/tmp/cvs610a0efc.1

22 years ago * grp.cc (read_etc_group): When emulating nonexisting group file on
Corinna Vinschen [Wed, 5 Jun 2002 11:56:56 +0000 (11:56 +0000)]
* grp.cc (read_etc_group): When emulating nonexisting group file on
NT systems, read primary group SID from process token.  Use that info
to create correct group entry.  On error or on 9x systems fallback
to emulating Administrators group as before.
(read_etc_passwd): When emulating nonexisting passwd file on NT systems,
read user and primary group SID from process token.  Use that info to
create correct passwd entry.  On error or on 9x systems fallback to
emulating user with Administrator user id and Administrators group
as before.

22 years ago * grp.cc (etc_group): Removed.
Corinna Vinschen [Wed, 5 Jun 2002 11:10:15 +0000 (11:10 +0000)]
* grp.cc (etc_group): Removed.
(parse_grp): Make line parameter nonconst.  Don't copy data into new
allocated memory.  Check for CR instead of LF to accomodate new
read method.
(add_grp_line): Make line parameter nonconst.
(read_etc_group): Rearrange using new pwdgrp_read class.
* passwd.cc (parse_pwd): Don't copy data into new allocated memory.
Check for CR instead of LF to accomodate new read method.
(read_etc_passwd): Rearrange using new pwdgrp_read class.
* pwdgrp.h (pwdgrp_check::set_last_modified):  Use different
parameters.
(class pwdgrp_read): New class for opening and reading passwd and
group files.

22 years ago* dtable.cc (handle_to_fn): Attempt to handle "raw" accesses to remote shares.
Christopher Faylor [Wed, 5 Jun 2002 04:01:43 +0000 (04:01 +0000)]
* dtable.cc (handle_to_fn): Attempt to handle "raw" accesses to remote shares.
* path.cc (mount_info::conv_to_win32_path): Set flags to binary when mount
entry is not found.
(mount_info::set_flags_from_win32_path): Ditto.

22 years ago* dtable.cc (handle_to_fn): Correct placement and length of name buffer.
Christopher Faylor [Wed, 5 Jun 2002 02:42:15 +0000 (02:42 +0000)]
* dtable.cc (handle_to_fn): Correct placement and length of name buffer.
(Suggested by Pavel Tsekov)

22 years agobfd/
Jason Thorpe [Wed, 5 Jun 2002 01:50:42 +0000 (01:50 +0000)]
bfd/
* Makefile.am (BFD32_BACKENDS): Add elf32-sh64-com.lo.
(BFD32_BACKENDS_CFILES): Add elf32-sh64-com.c.
(elf32-sh64-com.lo): New dependency list.
* Makefile.in: Regenerate.
* configure.in (bfd_elf32_sh64_vec, bfd_elf32_sh64l_vec)
(bfd_elf32_sh64nbsd_vec, bfd_elf32_sh64lnbsd_vec): Add
elf32-sh64-com.lo.
* configure: Regenerate.
* elf32-sh64.c (sh64_address_in_cranges)
(sh64_get_contents_type, sh64_address_is_shmedia): Move to...
(crange_qsort_cmpb, crange_qsort_cmpl, crange_bsearch_cmpb):
(crange_bsearch_cmpl): Prepend _bfd_sh64_ to name and move to...
* elf32-sh64-com.c: ...here.  New file.

include/elf/
* sh.h (_bfd_sh64_crange_qsort_cmpb, _bfd_sh64_crange_qsort_cmpl)
(_bfd_sh64_crange_bsearch_cmpb, _bfd_sh64_crange_bsearch_cmpl): New
prototypes.

22 years agoRemove fcntl.h includes throughout.
Christopher Faylor [Wed, 5 Jun 2002 01:42:28 +0000 (01:42 +0000)]
Remove fcntl.h includes throughout.
* fhandler.h: Move fcntl.h include here.
(fhandler_base::set_flags): Accept supplied_bin argument.  Make non-inlined.
* dtable.cc (dtable::init_std_file_from_handle): Just use binmode from pc.
(reset_to_open_binmode): Use set_flags.
* cygwin.din (open): Avoid newlib wrapper.
(read): Ditto.
(unlink): Ditto.
(write): Ditto.
* fhandler.cc (fhandler_base::set_flags): Accept supplied_bin argument.  Make
binmode decisions here.
(fhandler_base::open): Avoid using pc if it is NULL.  Eliminate binmode logic.
Just call set_flags with binmode argument.
(fhandler_base::init): Call set_flags with binmode argument.
* fhandler_clipboard.cc (fhandler_dev_clipboard::open): Ditto.
* fhandler_console.cc (fhandler_console::open): Ditto.
(fhandler_console::init): Force binary on open.
* fhandler_disk_file.cc (fhandler_disk_file::open): Don't set binmode here.
Let it happen in base class.
* fhandler_dsp.cc (fhandler_dev_dsp::open): Force binmode open.  Set return
value appropriately if unable to open.
* fhandler_proc.cc (fhandler_proc::open): Make sure flags are set before
open_status.
* fhandler_process.cc (fhandler_process::open): Ditto.
* fhandler_registry.cc (fhandler_registry::open): Ditto.
* fhandler_random.cc (fhandler_dev_random::fhandler_dev_random): Ditto.
* fhandler_raw.cc (fhandler_dev_raw::open): Force O_BINARY by default.
* fhandler_serial.cc (fhandler_serial::init): Ditto.
* fhandler_tty.cc (fhandler_tty_slave::open): Ditto.
(fhandler_pty_master::open): Ditto.
* fhandler_virtual.cc (fhandler_virtual::open): Ditto.
* fhandler_windows.cc (fhandler_windows::open): Ditto.
* fhandler_zero.cc (fhandler_dev_zero::open): Ditto.
* net.cc (fdsock): Ditto.
* path.cc (path_conv::check): Avoid checking for extension when error or
directory.
(set_flags): Set PATH_TEXT explicitly, when appropriate.
(mount_info::conv_to_win32_path): Use set_flags() to set path flags.
* path.h (PATH_TEXT): New enum.
(path_conv::binmode): Return appropriate constant based on binmode.
* pipe.cc (make_pipe): Set binmode to O_TEXT xor O_BINARY.
* syscalls.cc (setmode_helper): Make debugging message a little clearer.
(setmode): Set binmode via set_flags.

22 years ago * include/winnt.h (PACE_HEADER, PACCESS_ALLOWED_ACE,
Danny Smith [Tue, 4 Jun 2002 22:41:50 +0000 (22:41 +0000)]
* include/winnt.h (PACE_HEADER, PACCESS_ALLOWED_ACE,
PACCESS_DENIED_ACE): Add typedefs.

22 years ago * fhandler.h (class fhandler_socket): Add private method
Corinna Vinschen [Tue, 4 Jun 2002 16:38:13 +0000 (16:38 +0000)]
* fhandler.h (class fhandler_socket): Add private method
fixup_after_fork (bool, HANDLE).
* fhandler_socket.cc (fhandler_socket::fixup_after_fork): Move
functionality to new private method.  Add closing parent socket
if not called from dup().  Create method new calling private method
with appropriate parameter.
(fhandler_socket::fixup_after_exec): Call private method
fixup_after_fork with appropriate parameter.
(fhandler_socket::dup): Ditto.

22 years ago * fhandler_dsp.cc (fhandler_dev_dsp::open): Set errno to EACCES if
Corinna Vinschen [Tue, 4 Jun 2002 11:18:46 +0000 (11:18 +0000)]
* fhandler_dsp.cc (fhandler_dev_dsp::open): Set errno to EACCES if
requested mode isn't supported.

22 years ago* fhandler.cc (fhandler_base::open): Don't set binmode if already set. Don't
Christopher Faylor [Tue, 4 Jun 2002 01:40:53 +0000 (01:40 +0000)]
* fhandler.cc (fhandler_base::open): Don't set binmode if already set.  Don't
check for file.  Files should already be set.  Report on binary mode for
debugging.
(fhandler_base::fhandler_base): Don't set default binmode here.  That's for
later.
* fhandler_console.cc (fhandler_console::output_tcsetattr): Don't set binmode,
ever, for console.
* fhandler_disk_file.cc (fhandler_disk_file::open): Always set the binary mode
to the value derived from mount table.
* path.cc (mount_info::conv_to_win32_path): Default to binmode if path does not
translate into anything in the mount table.

22 years ago* umount.cc (version): New global variable.
Christopher Faylor [Tue, 4 Jun 2002 01:31:28 +0000 (01:31 +0000)]
* umount.cc (version): New global variable.
(longopts): Accommodate new --version option.
(opts): Ditto.
(usage): Standardize usage output.
(print_version): New function.
(main): Accommodate --help, --version options.

22 years ago * external.cc (cygwin_internal): Add CW_EXTRACT_DOMAIN_AND_USER
Corinna Vinschen [Mon, 3 Jun 2002 17:56:10 +0000 (17:56 +0000)]
* external.cc (cygwin_internal): Add CW_EXTRACT_DOMAIN_AND_USER
handling to call extract_nt_dom_user() from applications.
* include/sys/cygwin.h (cygwin_getinfo_types): Add
CW_EXTRACT_DOMAIN_AND_USER.

22 years ago * libc/include/sys/types.h: Don't define dev_t when compiling for
Corinna Vinschen [Mon, 3 Jun 2002 17:48:06 +0000 (17:48 +0000)]
* libc/include/sys/types.h: Don't define dev_t when compiling for
Cygwin.

22 years ago * syscalls.cc (stat64_to_stat32): Transform st_dev correctly.
Corinna Vinschen [Mon, 3 Jun 2002 17:44:09 +0000 (17:44 +0000)]
* syscalls.cc (stat64_to_stat32): Transform st_dev correctly.
(fstat64): Add evaluating st_ino and st_dev.
(stat_worker): Evaluate st_dev as 32 bit value.
* include/cygwin/stat.h: Use new dev_t definition throughout.
* include/cygwin/types.h: Define __dev16_t and __dev32_t.  Define
dev_t according to __CYGWIN_USE_BIG_TYPES__ setting.
* include/sys/sysmacros.h: Define major, minor and makedev
according to __CYGWIN_USE_BIG_TYPES__ setting.

22 years ago * syscalls.cc (setegid32): Verify the correctness of the gid
Corinna Vinschen [Mon, 3 Jun 2002 17:11:14 +0000 (17:11 +0000)]
* syscalls.cc (setegid32): Verify the correctness of the gid
of the group returned by getgrgid32.

22 years ago * security.cc (lsa2wchar): Suppressed.
Corinna Vinschen [Mon, 3 Jun 2002 17:04:03 +0000 (17:04 +0000)]
* security.cc (lsa2wchar): Suppressed.
(get_lsa_srv_inf): Suppressed.
(get_logon_server_and_user_domain): Suppressed.
(get_logon_server): Essentially new.
(get_user_groups): Add "domain" argument. Only lookup the
designated server and use "domain" in LookupAccountName.
(is_group_member): Simplify the arguments.
(get_user_local_groups): Simplify the arguments. Do only a
local lookup. Use "BUILTIN" and local domain in LookupAccountName.
(get_user_primary_group). Only lookup the designated server.
(get_group_sidlist): Remove logonserver argument. Do not lookup
any server for the SYSTEM account.
(create_token): Delete logonserver and call to get_logon_server.
Adjust arguments of get_group_sidlist, see above.
* security.h: Delete declaration of get_logon_server_and_user_domain
and add declaration of get_logon_server.
* uinfo.cc (internal_get_login): Call get_logon_server instead of
get_logon_server_and_user_domain.

22 years ago* regtool.cc (prog_name): New global variable.
Christopher Faylor [Mon, 3 Jun 2002 02:57:55 +0000 (02:57 +0000)]
* regtool.cc (prog_name): New global variable.
(longopts): Ditto.
(opts): Ditto.
(usage): Standardize usage output.  Rearrange/add descriptions.
(print_version): New function.
(main): Accomodate longopts and new --help, --version options.  Add check for
(_argv[optind+1] == NULL).

22 years ago * lib/thunk32.def (LIBRARY): Change to KERNEL32.dll.
Danny Smith [Sun, 2 Jun 2002 22:54:40 +0000 (22:54 +0000)]
* lib/thunk32.def (LIBRARY): Change to KERNEL32.dll.

* lib/kernel32.def (ConvertToGlobalHandle): Add stub.

22 years ago* dtable.cc (handle_to_fn): Use largest match for device. Correctly
Christopher Faylor [Sun, 2 Jun 2002 17:48:05 +0000 (17:48 +0000)]
* dtable.cc (handle_to_fn): Use largest match for device.  Correctly
(?) deal with remote drive weirdness.

22 years ago* strace.cc (forkdebug): Make true by default.
Christopher Faylor [Sun, 2 Jun 2002 17:46:38 +0000 (17:46 +0000)]
* strace.cc (forkdebug): Make true by default.
(attach_process): Use window pid if cygwin pid isn't available (yet).
(create_child): Use either DEBUG_ONLY_THIS_PROCESS or DEBUG_PROCESS,
exclusively.  (Suggested by Conrad.Scott@dsl.pipex.com)

22 years ago* fhandler_disk_file.cc (fhandler_disk_file::fstat_by_name): Check specifically
Christopher Faylor [Sun, 2 Jun 2002 16:53:29 +0000 (16:53 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fstat_by_name): Check specifically
for non-existent file, first.
(fhandler_disk_file::fstat): Perform fd open on files with funny characters.

22 years ago* fhandler_process.cc (fhandler_process::open): Set fileid.
Christopher Faylor [Sun, 2 Jun 2002 16:42:02 +0000 (16:42 +0000)]
* fhandler_process.cc (fhandler_process::open): Set fileid.

22 years ago* how-programming.texinfo: Add more words to the "how to build".
Christopher Faylor [Sun, 2 Jun 2002 06:18:53 +0000 (06:18 +0000)]
* how-programming.texinfo: Add more words to the "how to build".

22 years agoRemove unneeded sigproc.h includes throughout.
Christopher Faylor [Sun, 2 Jun 2002 06:07:01 +0000 (06:07 +0000)]
Remove unneeded sigproc.h includes throughout.
* fhandler.h (fhandler_proc::fill_filebuf): Take a pinfo argument.
* fhandler_proc.cc (fhandler_proc::get_proc_fhandler): Simplify search for
given pid.
(fhandler_proc::readdir): Assume that pid exists if it shows up in the winpid
list.
* fhandler_process.cc (fhandler_process::open): Simplify search for given pid.
Call fill_filebuf with pinfo argument.
(fhandler_process::fill_filebuf): Pass pinfo here and assume that it exists.
* pinfo.h (pinfo::remember): Define differently if sigproc.h is not included.
* dll_init.cc (dll_list::detach): Don't run destructor on exit.

22 years ago* configure.in: Complain about lack of w32api directory.
Christopher Faylor [Sun, 2 Jun 2002 05:54:33 +0000 (05:54 +0000)]
* configure.in: Complain about lack of w32api directory.
* configure: Regenerate.

22 years ago* fhandler.cc (fhandler_base::fstat): Move dev and ino calculation into caller.
Christopher Faylor [Sun, 2 Jun 2002 03:13:22 +0000 (03:13 +0000)]
* fhandler.cc (fhandler_base::fstat): Move dev and ino calculation into caller.
* syscalls.cc (stat_worker): Calculate dev and ino calculation here, if zero.
* fhandler_proc.cc (fhandler_proc::fhandler_proc): Minor reorg for debugging.
* fhandler_process.cc (fhandler_process::exists): Return 0 on nonexistence.
(fhandler_process::fstat): Simplify pid logic.
* fhandler_tape.cc (fhandler_dev_tape::fstat): Minor reformatting.

22 years ago include/elf/
Richard Henderson [Sun, 2 Jun 2002 02:28:45 +0000 (02:28 +0000)]
include/elf/
        * alpha.h (LITUSE_ALPHA_ADDR, LITUSE_ALPHA_BASE, LITUSE_ALPHA_BYTOFF,
        LITUSE_ALPHA_JSR, LITUSE_ALPHA_TLSGD, LITUSE_ALPHA_TLSLDM): New.

gas/
        * config/tc-alpha.c: Move LITUSE constants to "elf/alpha.h".
        Rename them LITUSE_ALPHA_*.

bfd/
        * elf64-alpha.c (alpha_get_dtprel_base, alpha_get_tprel_base): New.
        (elf64_alpha_relocate_section): Use them.  Reject LE TLS relocs
        in shared libraries.  Fix DTPRELHI and TPRELHI value.
        (INSN_ADDQ, INSN_RDUNIQ): New.
        (struct alpha_relax_info): Add symtab_hdr, tls_segment, first_gotent.
        (elf64_alpha_relax_with_lituse): Return boolean.  Remove irelend
        argument.  Reject dynamic symbols.  Use LITUSE symbolic constants.
        (elf64_alpha_relax_got_load): Rename from relax_without_lituse.
        Handle GOTDTPREL and GOTTPREL relocations.
        (elf64_alpha_relax_gprelhilo): New.
        (elf64_alpha_relax_tls_get_addr): New.
        (elf64_alpha_relax_find_tls_segment): New.
        (elf64_alpha_relax_section): Handle TLS relocations.
        (ALPHA_ELF_LINK_HASH_TLS_IE): New.
        (elf64_alpha_check_relocs): Set it.

22 years ago * include/windef.h: Fix typo in last change.
Danny Smith [Sat, 1 Jun 2002 21:09:29 +0000 (21:09 +0000)]
* include/windef.h: Fix typo in last change.

22 years ago * include/windef.h: Add no-op __try, __except, __finally
Danny Smith [Sat, 1 Jun 2002 20:38:33 +0000 (20:38 +0000)]
* include/windef.h: Add no-op __try, __except, __finally
defines from ...
* include/excpt.h: Remove file.
* include/windows.h: Don't include excpt.h.

22 years ago* path.cc (chdir): Don't allow cd'ing to a non-directory virtual path.
Christopher Faylor [Sat, 1 Jun 2002 18:20:51 +0000 (18:20 +0000)]
* path.cc (chdir): Don't allow cd'ing to a non-directory virtual path.

22 years agoFill-out d10v enum so that there are no ``=''.
Andrew Cagney [Sat, 1 Jun 2002 18:15:42 +0000 (18:15 +0000)]
Fill-out d10v enum so that there are no ``=''.

22 years ago* fhandler_disk_file.cc (readdir): Move inode calculation into caller.
Christopher Faylor [Sat, 1 Jun 2002 02:45:38 +0000 (02:45 +0000)]
* fhandler_disk_file.cc (readdir): Move inode calculation into caller.
(fhandler_cygdrive::readdir): Add "." and "..".
* dir.cc (readdir): Move inode calculation here so that fhandler readdirs can
benefit.

22 years agoremove accidentally checked in test version.
Christopher Faylor [Sat, 1 Jun 2002 02:31:53 +0000 (02:31 +0000)]
remove accidentally checked in test version.

22 years agooops
Christopher Faylor [Fri, 31 May 2002 23:00:18 +0000 (23:00 +0000)]
oops

22 years ago(add the rest of the ChangeLog)
Christopher Faylor [Fri, 31 May 2002 22:59:57 +0000 (22:59 +0000)]
(add the rest of the ChangeLog)
* dtable.cc (dtable::init_std_file_from_handle): Default to using binmode
derived from path_conv, when required.
* fhandler.h (fhandler_base::get_w_binary): Default to binmode if nothing else
is specified.
* fhandler.h (fhandler_base::get_r_binary): Ditto.
* fhandler_disk_file.cc (fhandler_disk_file::fstat_by_handle): Work around g++
warning.
* path.cc (path_conv::check): Remove a debugging statement.

22 years ago* fhandler_console.cc (fhandler_console::open): Reinstate setting of flags.
Christopher Faylor [Fri, 31 May 2002 22:53:25 +0000 (22:53 +0000)]
* fhandler_console.cc (fhandler_console::open): Reinstate setting of flags.

22 years ago* fhandler_console.cc (fhandler_console::open): Always default to binmode.
Christopher Faylor [Fri, 31 May 2002 22:35:57 +0000 (22:35 +0000)]
* fhandler_console.cc (fhandler_console::open): Always default to binmode.
(fhandler_console::write_normal): Don't honor binmode setting.  There is
already a termios setting for this.
(fhandler_console::init): Correct argument order in init call.

22 years ago* fhandler.cc (fhandler_base::open): Make default open mode == binmode.
Christopher Faylor [Fri, 31 May 2002 20:48:14 +0000 (20:48 +0000)]
* fhandler.cc (fhandler_base::open): Make default open mode == binmode.
(fhandler_base::init): Set open flags based on derived binmode argument.

22 years ago* dll_init.cc (dll_list::init): Eliminate unneeded debugging statement.
Christopher Faylor [Fri, 31 May 2002 20:34:40 +0000 (20:34 +0000)]
* dll_init.cc (dll_list::init): Eliminate unneeded debugging statement.

22 years ago* fhandler_proc.cc (fhandler_proc::readdir): Set errno when no more files.
Christopher Faylor [Fri, 31 May 2002 20:30:36 +0000 (20:30 +0000)]
* fhandler_proc.cc (fhandler_proc::readdir): Set errno when no more files.
* fhandler_process.cc (fhandler_process::readdir): Ditto.
* fhandler_registry.cc (fhandler_registry::readdir): Ditto.

22 years ago2002-05-31 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 31 May 2002 20:18:59 +0000 (20:18 +0000)]
2002-05-31  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c.  Also
        make siglist.inc dependent on sig.c instead of signal.c.
        * libc/sys/linux/Makefile.in: Regenerated.
        * libc/sys/linux/sig.c: Rename from signal.c and change code to
        use NSIG instead of _NSIG.
        * libc/sys/linux/sigaction.c: New file.
        * libc/sys/linux/signal.c: Changed to be linux signal() function
        so as to override regular newlib default signal.c.
        * libc/sys/linux/linuxthreads/config.h: Add __ASSUME_REALTIME_SIGNALS
        definition.
        * libc/sys/linux/linuxthreads/testrtsig.h: New file.
        * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
        * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
        * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
        * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
        * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
        default linux sigset_t typedef by defining it equal to __sigset_t.
        * libc/unix/sigset.c: Add check so code isn't compiled on systems
        with a sigset_t that isn't implemented with a single int.

22 years ago* Makefile.in: Replace HOST_PREFIX, HOST_PREFIX_1 with BUILD_PREFIX,
DJ Delorie [Fri, 31 May 2002 20:09:45 +0000 (20:09 +0000)]
* Makefile.in: Replace HOST_PREFIX, HOST_PREFIX_1 with BUILD_PREFIX,
BUILD_PREFIX_1, to correct nomenclature.
* configure: Likewise.

22 years ago* Makefile.in: Eliminate version-specific references to tcl8.1, tk8.1.
DJ Delorie [Fri, 31 May 2002 19:42:41 +0000 (19:42 +0000)]
* Makefile.in: Eliminate version-specific references to tcl8.1, tk8.1.
* configure.in: Eliminate version-specific references to tcl8.1, tk8.1.

22 years ago* config-ml.in: Propogate DESTDIR also.
DJ Delorie [Fri, 31 May 2002 19:30:32 +0000 (19:30 +0000)]
* config-ml.in: Propogate DESTDIR also.

22 years ago2002-05-31 Michal Ludvig <mludvig@suse.cz>
Michal Ludvig [Fri, 31 May 2002 15:28:33 +0000 (15:28 +0000)]
2002-05-31  Michal Ludvig  <mludvig@suse.cz>

* elf/dwarf2.h (DW_CFA_low_user, DW_CFA_high_user): Renamed
to DW_CFA_lo_user, DW_CFA_hi_user respectively.

22 years ago* path.cc (path_conv::check): Set fileattr to INVALID_FILE_ATTRIBUTES for
Christopher Faylor [Fri, 31 May 2002 03:11:21 +0000 (03:11 +0000)]
* path.cc (path_conv::check): Set fileattr to INVALID_FILE_ATTRIBUTES for
nonexistent virtual device path.
(chdir): Set correct errno when attempt is made to cd to nonexistent virtual
device path.

22 years ago[ gas/ChangeLog ]
Chris Demetriou [Fri, 31 May 2002 01:17:17 +0000 (01:17 +0000)]
[ gas/ChangeLog ]
2002-05-30  Chris G. Demetriou  <cgd@broadcom.com>
            Ed Satterthwaite  <ehs@broadcom.com>

* config/tc-mips.c (mips_set_options): New "ase_mdmx" member.
(mips_opts): Initialize "ase_mdmx" member.
(file_ase_mdmx): New variable.
(CPU_HAS_MDMX): New macro.
(md_begin): Initialize mips_opts.ase_mdmx and file_ase_mdmx
based on command line options and configuration defaults.
(macro_build): Note in comment that use of MDMX in macros is
not currently allowed.
(validate_mips_insn): Add support for the "O", "Q", "X", "Y", and
"Z" MDMX operand types.
(mips_ip): Accept MDMX instructions if mips_opts.ase_mdmx is set,
and add support for the "O", "Q", "X", "Y", and "Z" MDMX operand
types.
(OPTION_MDMX, OPTION_NO_MDMX, md_longopts, md_parse_option):
Add support for "-mdmx" and "-no-mdmx" options.
(OPTION_ELF_BASE): Move to accomodate new options.
(s_mipsset): Support ".set mdmx" and ".set nomdmx".
(mips_elf_final_processing): Set MDMX ASE ELF header flag if
file_ase_mdmx was set.
* doc/as.texinfo: Document -mdmx and -no-mdmx options.
* doc/c-mips.texi: Likewise, and document ".set mdmx" and ".set
nomdmx" directives.

[ gas/testsuite/ChangeLog ]
2002-05-30  Chris G. Demetriou  <cgd@broadcom.com>

* gas/mips/mips64-mdmx.s: New file.
* gas/mips/mips64-mdmx.d: Likewise.
* gas/mips/mips.exp: Run new "mips64-mdmx" test.

[ include/opcode/ChangeLog ]
2002-05-30  Chris G. Demetriou  <cgd@broadcom.com>

* mips.h (OP_SH_ALN, OP_MASK_ALN, OP_SH_VSEL, OP_MASK_VSEL)
(MDMX_FMTSEL_IMM_QH, MDMX_FMTSEL_IMM_OB, MDMX_FMTSEL_VEC_QH)
(MDMX_FMTSEL_VEC_OB, INSN_READ_MDMX_ACC, INSN_WRITE_MDMX_ACC)
(INSN_MDMX): New constants, for MDMX support.
(opcode character list): Add "O", "Q", "X", "Y", and "Z" for MDMX.

[ opcodes/ChangeLog ]
2002-05-30  Chris G. Demetriou  <cgd@broadcom.com>
            Ed Satterthwaite  <ehs@broadcom.com>

* mips-dis.c (print_insn_arg): Add support for 'O', 'Q', 'X', 'Y',
and 'Z' formats, for MDMX.
        (mips_isa_type): Add MDMX instructions to the ISA
bit mask for bfd_mach_mipsisa64.
* mips-opc.c: Add support for MDMX instructions.
(MX): New definition.

* mips-dis.c: Update copyright years to include 2002.

22 years ago* fhandler_disk_file.cc (fhandler_disk_file::fstat): Always call fstat_by_name
Christopher Faylor [Fri, 31 May 2002 00:15:22 +0000 (00:15 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fstat): Always call fstat_by_name
if fd is not opened to allow fstat_by_name to properly set errno.
* fhandler.cc (binmode): Default to binmode when mode is not known.

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