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

22 years agoinclude/elf/
Richard Henderson [Thu, 30 May 2002 22:01:38 +0000 (22:01 +0000)]
include/elf/
        * alpha.h (R_ALPHA_TLSGD, R_ALPHA_TLSLDM, R_ALPHA_DTPMOD64,
        R_ALPHA_GOTDTPREL, R_ALPHA_DTPREL64, R_ALPHA_DTPRELHI,
        R_ALPHA_DTPRELLO, R_ALPHA_DTPREL16, R_ALPHA_GOTTPREL, R_ALPHA_TPREL64,
        R_ALPHA_TPRELHI, R_ALPHA_TPRELLO, R_ALPHA_TPREL16): New.

bfd/
        * elf64-alpha.c (ALPHA_ELF_LINK_HASH_LU_TLSGD,
        ALPHA_ELF_LINK_HASH_LU_TLSLDM, ALPHA_ELF_LINK_HASH_LU_FUNC): New.
        (ALPHA_ELF_GOT_ENTRY_RELOCS_DONE): Remove.
        (ALPHA_ELF_GOT_ENTRY_RELOCS_XLATED): Remove.
        (struct alpha_elf_got_entry): Add reloc_type, reloc_done, reloc_xlated.
        (struct alpha_elf_obj_tdata): Rename total_got_entries and
        n_local_got_entries to total_got_size and local_got_size.
        (elf64_alpha_howto, elf64_alpha_reloc_map): Update for TLS relocs.
        (alpha_got_entry_size): New.
        (elf64_alpha_relax_with_lituse): Use it.
        (elf64_alpha_relax_without_lituse): Likewise.
        (MAX_GOT_SIZE): Rename from MAX_GOT_ENTRIES.
        (get_got_entry): New.
        (elf64_alpha_check_relocs): Handle TLS relocs.  Reorganize.
        (elf64_alpha_adjust_dynamic_symbol): Test LU_FUNC as a mask.
        (elf64_alpha_merge_ind_symbols): Check gotent->reloc_type.
        (elf64_alpha_can_merge_gots, elf64_alpha_merge_gots): Likewise.
        (elf64_alpha_calc_got_offsets_for_symbol): Use alpha_got_entry_size.
        (elf64_alpha_calc_got_offsets): Likewise.
        (alpha_dynamic_entries_for_reloc): New.
        (elf64_alpha_calc_dynrel_sizes): Use it.
        (elf64_alpha_size_dynamic_sections): Likewise.
        (elf64_alpha_relocate_section): Handle TLS relocations.
        * reloc.c: Add Alpha TLS relocations.
        * bfd-in2.h, libbfd.h: Rebuild.

gas/
        * expr.h (operatorT): Add O_md17..O_md32.
        * config/tc-alpha.c (O_lituse_tlsgd, O_lituse_tlsldm, O_tlsgd,
        O_tlsldm, O_gotdtprel, O_dtprelhi, O_dtprello, O_dtprel, O_gottprel,
        O_tprelhi, O_tprello, O_tprel): New.
        (USER_RELOC_P, alpha_reloc_op_tag, debug_exp): Include them.
        (DUMMY_RELOC_LITUSE_TLSGD, DUMMY_RELOC_LITUSE_TLSLDM): New.
        (LITUSE_TLSGD, LITUSE_TLSLDM): New.
        (struct alpha_reloc_tag): Add master, saw_tlsgd, saw_tlsld,
        saw_lu_tlsgd, saw_lu_tlsldm.  Make multi_section_p a bit field.
        (md_apply_fix3): Handle TLS relocations.
        (alpha_force_relocation, alpha_fix_adjustable): Likewise.
        (alpha_adjust_symtab_relocs): Sort LITERAL relocs after the
        associated TLS reloc.  Check lituse_tls relocs match up.
        (emit_insn): Handle TLS relocations.
        (ldX_op): Remove.

gas/testsuite/
        * gas/alpha/elf-tls-1.s, gas/alpha/elf-tls-1.d: New.
        * gas/alpha/elf-tls-2.s, gas/alpha/elf-tls-1.l: New.
        * gas/alpha/elf-tls-3.s, gas/alpha/elf-tls-1.l: New.
        * gas/alpha/alpha.exp: Run them.

22 years ago2002-05-30 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 30 May 2002 20:51:03 +0000 (20:51 +0000)]
2002-05-30  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/Makefile.am: Add support for new files.
        * libc/sys/linux/Makefile.in: Regenerated.
        * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
        * libc/sys/linux/signal.c: Change to use real-time syscalls for
        sigsuspend, sigprocmask, and sigpending.  Also remove sigaction as
        it is in a separate file now.
        * libc/sys/linux/machine/i386/Makefile.am
        * libc/sys/linux/machine/i386/Makefile.in
        * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
        * libc/sys/linux/sigaction.c: New file.
        * libc/sys/linux/sigqueue.c: Ditto.
        * libc/sys/linux/sigwait.c: Ditto.
        * libc/sys/linux/machine/i386/sigaction.c: Ditto.
        * libc/sys/linux/kernel_sigaction.h: Ditto.

22 years ago* mkpasswd.cc (main): Don't reset to binmode if stdout is a terminal.
Christopher Faylor [Thu, 30 May 2002 19:35:51 +0000 (19:35 +0000)]
* mkpasswd.cc (main): Don't reset to binmode if stdout is a terminal.

22 years ago * include/ntdef.h (ANSI_STRING, PANSI_STRING, OEM_STRING, POEM_STRING):
Corinna Vinschen [Thu, 30 May 2002 08:20:52 +0000 (08:20 +0000)]
* include/ntdef.h (ANSI_STRING, PANSI_STRING, OEM_STRING, POEM_STRING):
Add missing typedefs.

22 years ago * autoload.cc: Replace autoload statments for ZwXXX by NtXXX.
Corinna Vinschen [Thu, 30 May 2002 07:45:30 +0000 (07:45 +0000)]
* autoload.cc: Replace autoload statments for ZwXXX by NtXXX.
Drop ZwQuerySystemInformation since NtQuerySystemInformation was
already available.
* fhandler_proc.cc (format_proc_uptime): Replace call to
ZwQuerySystemInformation by call to NtQuerySystemInformation.
(format_proc_stat): Ditto.
* fhandler_process.cc (format_process_stat): Replace call to
ZwQueryInformationProcess by call to NtQueryInformationProcess.
(get_process_state): Ditto.
(get_mem_values): Ditto.  Replace call to ZwQueryVirtualMemory by
call to NtQueryVirtualMemory.
* ntdll.h: Cleanup.  Drop ZwQuerySystemInformation since
NtQuerySystemInformation was already available.  Replace declarations
of ZwXXX functions by declarations of NtXXX.
* pinfo.cc (winpids::enumNT): Replace call to ZwQuerySystemInformation
by call to NtQuerySystemInformation.

22 years ago* mount.cc (main): Make -b the default.
Christopher Faylor [Thu, 30 May 2002 03:42:19 +0000 (03:42 +0000)]
* mount.cc (main): Make -b the default.

22 years agospeling fxi
Christopher Faylor [Thu, 30 May 2002 03:14:04 +0000 (03:14 +0000)]
speling fxi

22 years ago* configure.in (vax-*-netbsd*): Don't build gas for this
Jason Thorpe [Thu, 30 May 2002 02:47:47 +0000 (02:47 +0000)]
* configure.in (vax-*-netbsd*): Don't build gas for this
platform.

22 years ago2002-05-29 Matt Thomas <matt@3am-software.com>
Jason Thorpe [Thu, 30 May 2002 01:43:48 +0000 (01:43 +0000)]
2002-05-29  Matt Thomas  <matt@3am-software.com>

* vax.h: New file

22 years ago* include/sys/cygwin.h (EXTERNAL_PINFO_VERSION): Reinstate.
Christopher Faylor [Wed, 29 May 2002 21:00:55 +0000 (21:00 +0000)]
* include/sys/cygwin.h (EXTERNAL_PINFO_VERSION): Reinstate.
* external.cc (fillout_pinfo): Use it.

22 years ago * ps.cc (main): Use uid or uid32 member of struct external_pinfo
Corinna Vinschen [Wed, 29 May 2002 20:10:27 +0000 (20:10 +0000)]
* ps.cc (main): Use uid or uid32 member of struct external_pinfo
dependent of the value of the struct's version member.

22 years ago * external.cc (fillout_pinfo): Use new version define.
Corinna Vinschen [Wed, 29 May 2002 20:07:54 +0000 (20:07 +0000)]
* external.cc (fillout_pinfo): Use new version define.
* include/sys/cygwin.h (external_pinfo): Define
EXTERNAL_PINFO_VERSION_16_BIT and EXTERNAL_PINFO_VERSION_32_BIT
instead of just EXTERNAL_PINFO_VERSION.

22 years ago* external.cc (fillout_pinfo): Set new version field in external_pinfo
Christopher Faylor [Wed, 29 May 2002 17:12:07 +0000 (17:12 +0000)]
* external.cc (fillout_pinfo): Set new version field in external_pinfo
structure.
* include/sys/cygwin.h (external_pinfo): Replace strace_file with version
field.

22 years ago * ps.cc (main): Change print format for uid to unsigned. Use uid32
Corinna Vinschen [Wed, 29 May 2002 15:07:14 +0000 (15:07 +0000)]
* ps.cc (main): Change print format for uid to unsigned.  Use uid32
member of struct external_pinfo instead of uid.

22 years ago Change internal uid datatype from __uid16_t to __uid32_t
Corinna Vinschen [Wed, 29 May 2002 15:04:29 +0000 (15:04 +0000)]
Change internal uid datatype from __uid16_t to __uid32_t
throughout.
* cygwin.din: Export new symbols getpwuid32, getpwuid_r32, getuid32,
geteuid32, setuid32, seteuid32.
* passwd.cc (getpwuid32): New function.
(getpwuid_r32): Ditto.
* syscalls.cc (seteuid32): Ditto.
(setuid32): Ditto.
* uinfo.cc (getuid32): Ditto.
(geteuid32): Ditto.
* winsup.h (uid16touid32): New macro, correclt casting from __uid16_t
to __uid32_t.
(gid16togid32): Ditto fir gids.
(getuid32): Declare.
(geteuid32): Ditto.
(getpwuid32): Ditto.
* include/sys/cygwin.h (struct external_pinfo): Add members uid32 and
gid32.

22 years ago * include/cygwin/socket.h: Protect some symbols against multiple
Corinna Vinschen [Wed, 29 May 2002 07:38:54 +0000 (07:38 +0000)]
* include/cygwin/socket.h: Protect some symbols against multiple
definition.
* include/netinet/ip.h: Ditto.
* include/netinet/tcp.h: Ditto.

* include/netinet/ip.h: Replace by BSD derived version of the file.
* include/netinet/tcp.h: Ditto.
* include/netinet/udp.h: New file.
* include/cygwin/ip.h: Remove.

22 years ago * passwd.c (prog_name): New global variable.
Corinna Vinschen [Wed, 29 May 2002 07:13:09 +0000 (07:13 +0000)]
* passwd.c (prog_name): New global variable.
(longopts): Ditto.
(opts): Ditto.
(usage): Standardize output. Accomodate new options.
(print_version): New function.
(main): Accomodate longopts and new --help, --version options.

22 years ago* dtable.cc (dtable::init_std_file_from_handle): Attempt stronger detection of
Christopher Faylor [Wed, 29 May 2002 05:15:43 +0000 (05:15 +0000)]
* dtable.cc (dtable::init_std_file_from_handle): Attempt stronger detection of
invalid handle.
(handle_to_fn): Detect pathological condition where NT resets the buffer
pointer to NULL on an invalid handle.

22 years agoclarify changelog
Christopher Faylor [Wed, 29 May 2002 03:42:12 +0000 (03:42 +0000)]
clarify changelog

22 years ago* fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): Properly check for
Christopher Faylor [Wed, 29 May 2002 03:06:37 +0000 (03:06 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): Properly check for
whether we should be opening the file to search for #! characters.  Set
path_conv structure execability, too, if found.

22 years ago2002-05-28 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 28 May 2002 22:26:36 +0000 (22:26 +0000)]
2002-05-28  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
        tcsendbrk.c.
        * libc/sys/linux/Makefile.in: Regenerated.
        * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
        tcgetpgrp(), and tcsetpgrp() functions.
        * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
        to get __MAX_BAUD rate.
        * libc/sys/linux/machine/i386/include/termios.h: New file.
        * libc/include/machine/termios.h: Ditto.
        * libc/sys/linux/cfspeed.c: Ditto.
        * libc/sys/linux/tcsendbrk.c: Ditto.

22 years ago2002-05-28 Marek Michalkiewicz <marekm@amelek.gda.pl>
Marek Michalkiewicz [Tue, 28 May 2002 20:06:27 +0000 (20:06 +0000)]
2002-05-28  Marek Michalkiewicz  <marekm@amelek.gda.pl>

* configure.in (noconfigdirs): Don't compile libiberty, libstdcxx
and libgcj for AVR.

22 years agoAdd DLX target
Nick Clifton [Tue, 28 May 2002 17:56:42 +0000 (17:56 +0000)]
Add DLX target

22 years ago * ps.cc (usage): Fix typo.
Corinna Vinschen [Tue, 28 May 2002 14:59:36 +0000 (14:59 +0000)]
* ps.cc (usage): Fix typo.

22 years ago * security.cc (set_security_attribute): Call getegid32() instead of
Corinna Vinschen [Tue, 28 May 2002 14:58:13 +0000 (14:58 +0000)]
* security.cc (set_security_attribute): Call getegid32() instead of
getegid().
* include/cygwin/grp.h: Declare getegid32().

22 years ago Change internal gid datatype from __gid16_t to __gid32_t
Corinna Vinschen [Tue, 28 May 2002 14:10:55 +0000 (14:10 +0000)]
Change internal gid datatype from __gid16_t to __gid32_t
throughout.
* cygwin.din: Export new symbols chown32, fchown32, getegid32,
getgid32, getgrgid32, getgrnam32, getgroups32, initgroups32, lchown32,
setgid32, setegid32, getgrent32.
* grp.cc (grp32togrp16): New static function.
(getgrgid32): New function.
(getgrnam32): Ditto.
(getgrent32): Ditto.
(getgroups32): Change name of internal function from getgroups.
(getgroups32): New function.
(initgroups32): Ditto.
* syscalls.cc (chown32): Ditto.
(lchown32): Ditto.
(fchown32): Ditto.
(setegid32): Ditto.
(setgid32): Ditto.
* uinfo.cc (getgid32): Ditto.
(getegid32): Ditto.
* include/cygwin/grp.h: Remove declaration of getgrgid() and getgrnam().
Declare getgrgid32() and getgrnam32() instead.  Declare getgid32().

22 years agoAdd DLX target
Nick Clifton [Tue, 28 May 2002 14:08:26 +0000 (14:08 +0000)]
Add DLX target

22 years ago * include/w32api.h: Increment version to 1.5
Earnie Boyd [Tue, 28 May 2002 13:24:26 +0000 (13:24 +0000)]
* include/w32api.h: Increment version to 1.5
* Makefile.in: Ditto.

22 years agoMerging MinGW changes
Earnie Boyd [Tue, 28 May 2002 13:20:28 +0000 (13:20 +0000)]
Merging MinGW changes

22 years agoMerging MinGW changes
Earnie Boyd [Tue, 28 May 2002 13:13:45 +0000 (13:13 +0000)]
Merging MinGW changes

22 years ago* ps.cc (prog_name): New global variable.
Christopher Faylor [Tue, 28 May 2002 03:38:36 +0000 (03:38 +0000)]
* ps.cc (prog_name): New global variable.
(longopts): Ditto.
(opts): Ditto.
(usage): New function.
(print_version): New function.
(main): Accomodate longopts and new --help, --version options.

22 years ago* autoload.cc (noload): Properly mask low order word for determining number of
Christopher Faylor [Tue, 28 May 2002 02:09:15 +0000 (02:09 +0000)]
* autoload.cc (noload): Properly mask low order word for determining number of
bytes to pop.

22 years ago* fhandler_disk_file.cc (fhandler_disk_file::fstat): Minor logic cleanup.
Christopher Faylor [Tue, 28 May 2002 02:00:55 +0000 (02:00 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fstat): Minor logic cleanup.

22 years ago* autoload.cc (LoadFuncEx): Define via new LoadFuncEx2 macro.
Christopher Faylor [Tue, 28 May 2002 01:55:40 +0000 (01:55 +0000)]
* autoload.cc (LoadFuncEx): Define via new LoadFuncEx2 macro.
(LoadFuncEx2): Adapted from LoadFuncEx.  Provides control of return value for
nonexistent function.
(NtQueryObject): Declare.
(IsDebuggerPresent): Declare via LoadFuncEx2 and always return true if not
available.
* debug.h (being_debugged): Just rely on IsDebuggerPresent return value.
* dtable.cc (handle_to_fn): New function.
(dtable::init_std_file_from_handle): Attempt to derive std handle's name via
handle_to_fn.
(dtable::build_fhandler_from_name): Fill in what we can in path_conv structure
when given a handle and path doesn't exist.
* fhandler.cc (fhandler_base::open): Don't set the file pointer here.  Use
pc->exists () to determine if file exists rather than calling GetFileAttributes
again.
* fhandler.h (fhandler_base::exec_state_isknown): New method.
(fhandler_base::fstat_helper): Add extra arguments to declaration.
(fhandler_base::fstat_by_handle): Declare new method.
(fhandler_base::fstat_by_name): Declare new method.
* fhandler_disk_file (num_entries): Make __stdcall.
(fhandler_base::fstat_by_handle): Define new method.
(fhandler_base::fstat_by_name): Define new method.
(fhandler_base:fstat): Call fstat_by_{handle,name} as appropriate.
(fhandler_disk_file::fstat_helper): Accept extra arguments for filling out stat
structure.  Move handle or name specific stuff to new methods above.
(fhandler_disk_file::open): Use real_path->exists rather than calling
GetFileAttributes again.
* ntdll.h (FILE_NAME_INFORMATION): Define new structure.
(OBJECT_INFORMATION_CLASS): Partially define new enum.
(OBJECT_NAME_INFORMATION): Define new structure.
(NtQueryInformationFile): New declaration.
(NtQueryObject): New declaration.
* path.cc (path_conv::fillin): Define new method.
* path.h (path_conv::fillin): Declare new method.
(path_conv::drive_thpe): Rename from 'get_drive_type'.
(path_conv::volser): Declare new method.
(path_conv::volname): Declare new method.
(path_conv::root_dir): Declare new method.
* syscalls.cc (fstat64): Send real path_conv to fstat as second argument.

22 years ago * security.cc (lsa2str): New function.
Corinna Vinschen [Mon, 27 May 2002 11:58:49 +0000 (11:58 +0000)]
* security.cc (lsa2str): New function.
(get_priv_list): Call lsa2str instead of sys_wcstombs.

22 years ago * syscalls.cc (seteuid): Do not take allow_ntsec into account.
Corinna Vinschen [Mon, 27 May 2002 11:48:15 +0000 (11:48 +0000)]
* syscalls.cc (seteuid): Do not take allow_ntsec into account.
Attempt to use an existing or new token even when the uid
matches orig_uid, but the gid is not in the process token.
Major reorganization after several incremental changes.
(setegid): Do not take allow_ntsec into account. Minor
reorganization after several incremental changes.

22 years ago2002-05-27 Ren� M�ller Fonseca <fonseca@users.sourceforge.net>
Danny Smith [Mon, 27 May 2002 09:44:17 +0000 (09:44 +0000)]
2002-05-27  Ren� M�ller Fonseca  <fonseca@users.sourceforge.net>

* include/winreg.h: (RegConnectRegistry[AW]): Replace
LP[W]STR with LPC[W]STR.
(REG_QWORD, REG_QWORD_LITTLE_ENDIAN): Add defines.
Clean up whitespace.

22 years ago2002-05-27 Rick Rankin <rick_rankin@yahoo.com>
Danny Smith [Mon, 27 May 2002 08:49:26 +0000 (08:49 +0000)]
2002-05-27  Rick Rankin  <rick_rankin@yahoo.com>

* include/winnls.h: Add #define for LOCALE_RETURN_NUMBER.

22 years ago* debug.h (being_debugged): New macro.
Christopher Faylor [Mon, 27 May 2002 02:25:28 +0000 (02:25 +0000)]
* debug.h (being_debugged): New macro.
* dtable.cc (dtable::extend): Use new macro.
* exceptions.cc (try_to_debug): Ditto.
* strace.cc (strace::hello): Only output debugging info when we think we're
being debugged.

22 years ago* winsup.h: Remove duplicate declarations of malloc_lock and malloc_unlock.
Christopher Faylor [Mon, 27 May 2002 02:09:19 +0000 (02:09 +0000)]
* winsup.h: Remove duplicate declarations of malloc_lock and malloc_unlock.

22 years agoupdate comment
Christopher Faylor [Mon, 27 May 2002 02:06:16 +0000 (02:06 +0000)]
update comment

22 years ago* strace.cc (attach_process): Don't tell process to start stracing here.
Christopher Faylor [Mon, 27 May 2002 01:49:08 +0000 (01:49 +0000)]
* strace.cc (attach_process): Don't tell process to start stracing here.
(proc_child): Do it here, instead, after first debug event.  This should work
around inexplicable races with DebugActiveProcess.
(dostrace): Pass any pid argument to proc_child.

22 years ago * ia64.h: Use #include "" instead of <> for local header files.
Alan Modra [Sat, 25 May 2002 12:53:48 +0000 (12:53 +0000)]
* ia64.h: Use #include "" instead of <> for local header files.
* sparc.h: Likewise.

22 years agoRemove unneeded sync.h, where appropriate, throughout. Remove unneeded heap.h,
Christopher Faylor [Sat, 25 May 2002 02:22:50 +0000 (02:22 +0000)]
Remove unneeded sync.h, where appropriate, throughout.  Remove unneeded heap.h,
where appropriate, throughout.  Remove unneeded exceptions.h, where
appropriate, throughout.  Remove unneeded perprocess.h, where appropriate,
throughout.

22 years ago2002-05-24 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 24 May 2002 23:44:39 +0000 (23:44 +0000)]
2002-05-24  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/string.h: Add strnlen and strerror_r prototypes.
        * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
        * libc/string/Makefile.in: Regenerated.
        * libc/string/strerror_r.c: New file.
        * libc/string/strnlen.c: New file.
        * libc/sys/linux/Makefile.am: Add rename.c.
        * libc/sys/linux/Makefile.in: Regenerated.
        * libc/sys/linux/rename.c: New file to override default rename.

22 years agoFix typos.
Christopher Faylor [Fri, 24 May 2002 21:11:43 +0000 (21:11 +0000)]
Fix typos.

22 years ago * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
Thomas Fitzsimmons [Fri, 24 May 2002 18:50:29 +0000 (18:50 +0000)]
* libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
* libc/sys/linux/sys/time.h: Add conversion macros.
* libc/sys/linux/sys/types.h: Add FD_ macros.  Include <bits/types.h>.
* libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
* libc/sys/linux/gethostname.c: New file.
* libc/sys/linux/seteuid.c: New file.
* libc/sys/linux/sysctl.c: New file.

22 years ago * security.cc (create_token): Call __sec_user() instead of
Corinna Vinschen [Fri, 24 May 2002 14:44:05 +0000 (14:44 +0000)]
* security.cc (create_token): Call __sec_user() instead of
sec_user() to remove dependence on allow_ntsec. Verify that
the returned sd is non-null.

22 years ago * setfacl.c (usage): Standardize usage output. Change return type to
Corinna Vinschen [Fri, 24 May 2002 14:40:14 +0000 (14:40 +0000)]
    * setfacl.c (usage): Standardize usage output. Change return type to
        static void.
        (print_version): New function.
        (longopts): Added longopts for all options.
        (main): Accommodate changes in usage function and new version option.

22 years ago2002-05-25 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Fri, 24 May 2002 14:24:33 +0000 (14:24 +0000)]
2002-05-25  Robert Collins   <rbtcollins@hotmail.com>

        * gmon.c (fake_sbrk): Correctly return -1 on failed malloc's.

22 years ago* dtable.cc (dtable::build_fhandler_from_name): Just pass posix path along to
Christopher Faylor [Fri, 24 May 2002 05:44:10 +0000 (05:44 +0000)]
* dtable.cc (dtable::build_fhandler_from_name): Just pass posix path along to
set_name via return_and_clear_normalized_path.
(dtable::build_fhandler): New method with const char * argument.
(dtable::reset_unix_path_name): Eliminate.
(dtable::dup_worker): Use correct build_fhandler method.
* mmap.cc (mmap_record::alloc_fh): Ditto.
* dtable.h (dtable::build_fhandler): New method.
(dtable::reset_unix_path_name): Eliminate.
* fhandler.cc (fhandler_base::set_name): Assume that unix_name has already been
cmalloced.
(fhandler_base::reset_unix_path_name): Eliminate.
(fhandler_base::~fhandler_base): Coercion for cfree.
* fhandler.h (fhandler_base::unix_path_name): Make const char *.
(fhandler_base::win32_path_name): Ditto.
(fhandler_base::reset_unix_path_name): Eliminate.
* fhandler_disk_file.cc (fhandler_cygdrive::set_drives): Accommodate const char
*ness of win32_path_name.
* fhandler_socket.cc (fhandler_socket::fstat): Accommodate new set_name
requirements.
* path.cc (path_conv::return_and_clear_normalized_path): New method.
(path_conv::clear_normalized_path): Eliminate.
(path_conv::~path_conv): Ditto.
(path_conv::check): Accommodate new build_fhandler method.
* path.h (path_conv::~path_conv): Eliminate.
(path_conv::clear_normalized_path): Ditto.
(path_conv::return_and_clear_normalized_path): Declare new method.

22 years ago2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 24 May 2002 00:13:57 +0000 (00:13 +0000)]
2002-05-23  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/string/Makefile.am: Add support for strsep.c.
        * libc/string/Makefile.in: Regenerated.
        * libc/string/strsep.c: New file.
        * libc/string/strtok.c: Change to call __strtok_r service routine.
        * libc/string/strtok_r.c: Add __strtok_r routine which takes
        additional flag parameter regarding whether to skip leading delimeters.
        Change strtok_r to call __strtok_r.

22 years ago* sim-d10v.h: Delete file. Moved to include/gdb/.
Andrew Cagney [Fri, 24 May 2002 00:12:18 +0000 (00:12 +0000)]
* sim-d10v.h: Delete file.  Moved to include/gdb/.

* sim-d10v.h: New file.  Moved from include/sim-d10v.h.

* Makefile.in (INCLUDE): Add "gdb/sim-d10v.h".
* interp.c: Include "gdb/sim-d10v.h" instead of "sim-d10v.h".

* d10v-tdep.c: Include "gdb/sim-d10v.h" instead of "sim-d10v.h".
* Makefile.in (sim_d10v_h): Update definition.

22 years ago2002-05-23 Gareth Pearce <tilps@hotmail.com>
Jeff Johnston [Thu, 23 May 2002 22:05:54 +0000 (22:05 +0000)]
2002-05-23  Gareth Pearce  <tilps@hotmail.com>

        * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
        * libc/stdio/Makefile.in: Regenerated.
        * libc/stdio/setbuffer.c: New file.
        * libc/stdio/setlinebuf.c: New file.

22 years ago* path.cc (path_conv::check): Make sure any trailing path component is part of
Christopher Faylor [Thu, 23 May 2002 20:01:46 +0000 (20:01 +0000)]
* path.cc (path_conv::check): Make sure any trailing path component is part of
potential normalized posix path.

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