]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
20 years ago2004-05-11 Artem B. Bityuckiy <abitytsky@softminecorp.com>
Jeff Johnston [Tue, 11 May 2004 20:59:20 +0000 (20:59 +0000)]
2004-05-11  Artem B. Bityuckiy  <abitytsky@softminecorp.com>

        * libc/stdio/vfprintf.c (VFPRINTF_R): Use _free_r instead
        of free.

20 years agobfd/
Jakub Jelinek [Tue, 11 May 2004 17:08:38 +0000 (17:08 +0000)]
bfd/
* elflink.c (elf_bfd_final_link): Don't output STT_SECTION symbol
into .dynsym if elf_section_data (sec)->dynindx <= 0.
Adjust counting of last_local.
(_bfd_elf_link_renumber_dynsyms): Don't assign dynindx to sections
other than SHT_PROGBITS/SHT_NOBITS and neither for .got/.got.plt/.plt
created by the linker nor !SHF_ALLOC.

* elf32-i386.c (elf_i386_finish_dynamic_sections): Point
DT_PLTGOT to the start of the .got.plt section instead of the
.got output section.  Set sh_entsize for .got section in addition
to .got.plt.
(elf_i386_relocate_section): Don't assume _GLOBAL_OFFSET_TABLE_
is at sgot->output_section->vma.
* elf64-x86-64.c (elf64_x86_64_finish_dynamic_sections): Point
DT_PLTGOT to the start of the .got.plt section instead of the
.got output section.
(elf64_x86_64_relocate_section): Don't assume _GLOBAL_OFFSET_TABLE_
is at sgot->output_section->vma.  Set sh_entsize for .got section
in addition to .got.plt.
* elf.c (_bfd_elf_print_private_bfd_data): Handle PT_GNU_RELRO.
(bfd_section_from_phdr): Likewise.
(map_sections_to_segments): Likewise.
(assign_file_positions_for_segments): Likewise.
(get_program_header_size): Likewise.
* elflink.c (bfd_elf_size_dynamic_sections): Set
elf_tdata (output_bfd)->relro from info->relro.
* elf-bfd.h (struct elf_obj_tdata): Add relro field.
include/
* bfdlink.h (struct bfd_link_info): Add relro, relro_start and
relro_end fields.
* elf/common.h (PT_GNU_EH_FRAME, PT_GNU_STACK): Add comments.
(PT_GNU_RELRO): Define.
binutils/
* readelf.c (get_segment_type): Handle PT_GNU_RELRO.
ld/
* genscripts.sh: Generate -z combreloc -z now -z relro scripts
for binaries, -shared and -pie.
* emulparams/elf_i386.sh (SEPARATE_GOTPLT): Set.
* emulparams/elf_x86_64.sh (SEPARATE_GOTPLT): Set.
* emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Rename to...
(OTHER_RELRO_SECTIONS): ... this.
* ldlex.l (DATA_SEGMENT_RELRO_END): Add.
* emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
-z relro and -z norelro.
(gld${EMULATION_NAME}_list_options): Add it to usage.
(gld${EMULATION_NAME}_get_script): Return -z combreloc -z now
-z relro scripts when appropriate.
* scripttempl/elf.sc: Unset SEPARATE_GOTPLT if RELRO_NOW is set.
Create separate .got.plt section if SEPARATE_GOTPLT.
Move sections which are only written during relocation handling
to the beginning of RW segment.  If NO_SMALL_DATA, move .got
before .data.  Add DATA_SEGMENT_RELRO_END directive.
Include OTHER_RELRO_SECTIONS.
* ldgram.y (DATA_SEGMENT_RELRO_END): Add.
* ldexp.c (exp_print_token): Handle DATA_SEGMENT_RELRO_END.
(fold_unary): Likewise.
(fold_binary): Handle -z relro.
* ldexp.h (struct exp_data_seg): Add exp_dataseg_relro_seen and
exp_dataseg_relro_adjust phases.  Add relro_end field.
* ldmain.c (main): Initialize link_info.relro to FALSE.
* ldlang.c (lang_size_sections): Handle -z relro.
ld/testsuite/
* ld-i386/tlspic.rd: Adjust for section reordering changes
and removal of unneeded STT_SECTION symbols from .dynsym.
* ld-i386/tlspic.dd: Likewise.
* ld-i386/tlspic.sd: Likewise.
* ld-i386/tlsbin.rd: Likewise.
* ld-i386/tlsbinpic.s: Likewise.
* ld-i386/tlsbin.dd: Likewise.
* ld-i386/tlsbin.sd: Likewise.
* ld-i386/tlsnopic.rd: Likewise.
* ld-i386/tlsnopic1.s: Likewise.
* ld-i386/combreloc.d: Likewise.
* ld-i386/tlsnopic.dd: Likewise.
* ld-i386/tlsnopic.sd: Likewise.
* ld-x86-64/tlspic.rd: Likewise.
* ld-x86-64/tlspic.dd: Likewise.
* ld-x86-64/tlsbin.dd: Likewise.
* ld-x86-64/tlspic.sd: Likewise.
* ld-x86-64/tlsbin.sd: Likewise.
* ld-x86-64/tlspic.td: Likewise.
* ld-x86-64/tlsbin.td: Likewise.
* ld-x86-64/tlsbin.rd: Likewise.
* ld-s390/tlspic1.s: Likewise.
* ld-s390/tlsbinpic.s: Likewise.
* ld-s390/tlspic.rd: Likewise.
* ld-s390/tlsbin.rd: Likewise.
* ld-s390/tlspic.dd: Likewise.
* ld-s390/tlsbin.dd: Likewise.
* ld-s390/tlsbin.sd: Likewise.
* ld-s390/tlsbin.td: Likewise.
* ld-s390/tlspic.sd: Likewise.
* ld-s390/tlspic.td: Likewise.
* ld-s390/tlspic1_64.s: Likewise.
* ld-s390/tlsbinpic_64.s: Likewise.
* ld-s390/tlspic_64.rd: Likewise.
* ld-s390/tlsbin_64.rd: Likewise.
* ld-s390/tlspic_64.dd: Likewise.
* ld-s390/tlsbin_64.dd: Likewise.
* ld-s390/tlspic_64.sd: Likewise.
* ld-s390/tlspic_64.td: Likewise.
* ld-s390/tlsbin_64.td: Likewise.
* ld-s390/tlsbin_64.sd: Likewise.
* ld-powerpc/tlsexe32.r: Likewise.
* ld-powerpc/tlsso32.r: Likewise.
* ld-powerpc/tlsso32.d: Likewise.
* ld-powerpc/tlsso32.g: Likewise.
* ld-powerpc/tlsso32.t: Likewise.
* ld-powerpc/tlsexe.r: Likewise.
* ld-powerpc/tlsso.r: Likewise.
* ld-powerpc/tlsso.g: Likewise.
* ld-powerpc/tlsexetoc.r: Likewise.
* ld-powerpc/tlstocso.r: Likewise.
* ld-powerpc/tlstocso.g: Likewise.
* ld-ia64/tlspic.rd: Likewise.
* ld-ia64/tlspic.dd: Likewise.
* ld-ia64/tlspic.sd: Likewise.
* ld-ia64/tlspic.td: Likewise.
* ld-ia64/tlsbin.rd: Likewise.
* ld-ia64/tlsbin.sd: Likewise.
* ld-ia64/tlsbin.td: Likewise.
* ld-elfvsb/elfvsb.exp: XFAIL non-PIC load offset tests on s390x.
* ld-shared/shared.exp: Likewise.

20 years ago * fhandler.cc (fhandler_base::open): Set file attributes to correct
Corinna Vinschen [Tue, 11 May 2004 15:39:50 +0000 (15:39 +0000)]
* fhandler.cc (fhandler_base::open): Set file attributes to correct
value when creating files.
* path.h (class path_conv): Add write accessor for file_attributes.

20 years ago * fhandler.h (class fhandler_socket): Add "owner" status flag.
Corinna Vinschen [Mon, 10 May 2004 15:21:01 +0000 (15:21 +0000)]
* fhandler.h (class fhandler_socket): Add "owner" status flag.
* fhandler_socket.cc (wait): Take flag parameter to take FD_OOB into
account.  Don't wait infinitely.
(fhandler_socket::recvfrom): Also wait for FD_OOB if socket owner.
(fhandler_socket::recvmsg): Ditto.
(fhandler_socket::sendto): Ditto.
(fhandler_socket::sendmsg): Ditto.
(fhandler_socket::fcntl): Set owner status flag if F_SETOWN with own
pid is called.

20 years ago2004-05-09 Pierre Humblet <pierre.humblet@ieee.org>
Pierre Humblet [Sun, 9 May 2004 15:17:15 +0000 (15:17 +0000)]
2004-05-09  Pierre Humblet <pierre.humblet@ieee.org>

        * environ.cc (build_env): Only try to construct required-but-missing
        variables while issetuid.

20 years ago * libc/include/machine/endian.h: Add missing endif.
Aldy Hernandez [Sat, 8 May 2004 17:13:38 +0000 (17:13 +0000)]
* libc/include/machine/endian.h: Add missing endif.

20 years ago* syscalls.cc: Include environ.h.
Christopher Faylor [Sat, 8 May 2004 02:55:38 +0000 (02:55 +0000)]
* syscalls.cc: Include environ.h.
(chroot): Set errno in case of path error.  Call getwinenv.
* environ.cc: Remove the NO_COPY attribute of conv_envvars.

20 years ago * fhandler_mem.cc (fhandler_dev_mem::fhandler_dev_mem): Move
Corinna Vinschen [Fri, 7 May 2004 21:28:53 +0000 (21:28 +0000)]
* fhandler_mem.cc (fhandler_dev_mem::fhandler_dev_mem): Move
initialization of "mem_size" from here...
(fhandler_dev_mem::open): ...to here.  Fix typo in FH_PORT case.

20 years ago2004-05-07 Artem B. Bityuckiy <abitytsky@softminecorp.com>
Jeff Johnston [Fri, 7 May 2004 21:00:41 +0000 (21:00 +0000)]
2004-05-07  Artem B. Bityuckiy  <abitytsky@softminecorp.com>

        * libc/stdio/iprintf.c (_iprintf_r): Fix old-style argument
        list for reentrant pointer.  Call _vfiprintf_r.
        * libc/stdio/siprintf.c (_siprintf_r): New function.
        * libc/stdio/vfprintf.c (__sbprintf): Add reetrant struct
        pointer argument.  Change all callers.  Call _VFPRINTF_R.
        * libc/include/stdio.h (_siprintf_r, _vfiprintf_r): New
        prototypes.

20 years ago2004-05-07 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 7 May 2004 20:39:57 +0000 (20:39 +0000)]
2004-05-07  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/param.h: Remove endian info and include
        <machine/endian.h> instead.
        * libc/include/machine/endian.h: New file.
        * libc/include/machine/param.h: Ditto.
        * libc/machine/arm/machine/endian.h: Ditto.
        * libc/machine/arm/machine/param.h: Ditto.
        * libc/sys/arm/sys/param.h: Removed.
        * libc/sys/sysvi386/sys/param.h: Ditto.
        * libc/sys/rtems/sys/param.h: Modified to include <machine/endian.h>.

20 years ago2004-05-07 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 7 May 2004 20:29:24 +0000 (20:29 +0000)]
2004-05-07  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/param.h: Remove endian info and include
        <machine/endian.h> instead.
        * libc/include/machine/endian.h: New file.
        * libc/machine/arm/machine/endian.h: Ditto.
        * libc/machine/arm/machine/param.h: Ditto.
        * libc/sys/arm/sys/param.h: Removed.
        * libc/sys/sysvi386/sys/param.h: Ditto.
        * libc/sys/rtems/sys/param.h: Modified to include <machine/endian.h>.

20 years ago * fhandler_dsp.cc (fhandler_dev_dsp::Audio_out::stop): Move delete of
Corinna Vinschen [Fri, 7 May 2004 07:54:28 +0000 (07:54 +0000)]
* fhandler_dsp.cc (fhandler_dev_dsp::Audio_out::stop): Move delete of
bigwavebuffer_ so that it is always cleaned, also in child processes.
(fhandler_dev_dsp::Audio_in::stop): Ditto.
(fhandler_dev_dsp::close): Stop audio play immediately in case of
abnormal exit.

20 years ago Revert code reversion from 2004-04-03. So, revert to async I/O again.
Corinna Vinschen [Fri, 7 May 2004 07:51:31 +0000 (07:51 +0000)]
Revert code reversion from 2004-04-03.  So, revert to async I/O again.
* fhandler.h (status): Add "closed" flag.
(prepare): New method declaration.
(wait): Ditto.
(release): Ditto.
* fhandler_socket.cc: Don't include wsock_event.h.
(fhandler_socket::prepare): New method, moved from wsock_event.
(fhandler_socket::wait): Ditto.
(fhandler_socket::release): New method.
(fhandler_socket::recvfrom): Simplify loop.
(fhandler_socket::recvmsg): Ditto.
(fhandler_socket::sendto): Ditto.
(fhandler_socket::sendmsg): Ditto.
* net.cc: Don't include wsock_event.h.
(wsock_event::prepare): Remove.
(wsock_event::wait): Ditto.
* wsock_event.h: Remove.

20 years agofix entry
Christopher Faylor [Fri, 7 May 2004 03:51:22 +0000 (03:51 +0000)]
fix entry

20 years ago* thread.cc (pthread::create): Move postcreate call to avoid a potential race.
Christopher Faylor [Fri, 7 May 2004 03:31:04 +0000 (03:31 +0000)]
* thread.cc (pthread::create): Move postcreate call to avoid a potential race.
(pthread::cancelable_wait): Don't allow signal interrupt unless main thread.

20 years agoChristopher Faylor <cgf@timesys.com>
Christopher Faylor [Fri, 7 May 2004 03:27:37 +0000 (03:27 +0000)]
Christopher Faylor <cgf@timesys.com>
* path.cc (mount_info::conv_to_posix_path): Add return.

20 years ago * include/wingdi.h: Correct non-unicode typedefs of
Danny Smith [Thu, 6 May 2004 21:04:26 +0000 (21:04 +0000)]
* include/wingdi.h: Correct non-unicode typedefs of
ENUMLOGFONTEXDV, PENUMLOGFONTEXDV, LPENUMLOGFONTEXDV.

20 years ago2004-05-07 Pascal Obry <obry@act-europe.fr>
Danny Smith [Thu, 6 May 2004 20:54:50 +0000 (20:54 +0000)]
2004-05-07  Pascal Obry  <obry@act-europe.fr>

* include/winsock.h (IN_CLASSA): Fix macro.
* include/winsock2.h (IN_CLASSA): Fix macro.

20 years ago2004-05-06 Pierre Humblet <pierre.humblet@ieee.org>
Pierre Humblet [Thu, 6 May 2004 16:26:10 +0000 (16:26 +0000)]
2004-05-06  Pierre Humblet <pierre.humblet@ieee.org>

        * path.cc (path_conv::check): Strip trailing dots and spaces and
        return error if the final component had only dots and spaces.
        (normalize_posix_path): Revert 2004-04-30.
        (chdir): Do not check for trailing spaces. Do not set native_dir
        to c:\ for virtual devices. Pass only native_dir to cwd.set.
        (cwdstuff::set): Assume posix_cwd is already normalized.

20 years agoAdd support for 521x,5249,547x,548x.
Nick Clifton [Wed, 5 May 2004 14:33:14 +0000 (14:33 +0000)]
Add support for 521x,5249,547x,548x.

20 years ago * mips/array.ld, mips/cfe.ld, mips/ddb-kseg0.ld, mips/ddb.ld,
Richard Sandiford [Wed, 5 May 2004 12:16:31 +0000 (12:16 +0000)]
* mips/array.ld, mips/cfe.ld, mips/ddb-kseg0.ld, mips/ddb.ld,
* mips/dve.ld, mips/idt32.ld, mips/idt64.ld, mips/idt.ld
* mips/jmr3904app.ld, mips/lsi.ld, mips/nullmon.ld, mips/pmon.ld
(.eh_frame_hdr, .eh_frame, .gcc_except_table, .jcr): New sections.

20 years agofix changelog dates
Christopher Faylor [Wed, 5 May 2004 03:55:48 +0000 (03:55 +0000)]
fix changelog dates

20 years agomerge from gcc
DJ Delorie [Tue, 4 May 2004 20:06:15 +0000 (20:06 +0000)]
merge from gcc

20 years ago* path.cc (normalize_win32_path): Detect components with only dots. Remove a
Christopher Faylor [Tue, 4 May 2004 15:14:48 +0000 (15:14 +0000)]
* path.cc (normalize_win32_path): Detect components with only dots.  Remove a
final .  if it follows '\\'.
(mount_info::conv_to_win32_path): Only backslashify the path when no mount is
found.
(chdir): Do not look for components with only dots.

20 years ago* path.cc (is_unc_share): Remove redundant tests.
Christopher Faylor [Tue, 4 May 2004 15:09:58 +0000 (15:09 +0000)]
* path.cc (is_unc_share): Remove redundant tests.

20 years ago * crt0.o (mainCRTStartup): 16 byte align stack for main function.
Corinna Vinschen [Tue, 4 May 2004 14:46:25 +0000 (14:46 +0000)]
* crt0.o (mainCRTStartup): 16 byte align stack for main function.

20 years ago * path.cc (check_sysfile): Don't scan string twice.
Corinna Vinschen [Tue, 4 May 2004 10:54:06 +0000 (10:54 +0000)]
* path.cc (check_sysfile): Don't scan string twice.

20 years ago2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
Jeff Johnston [Mon, 3 May 2004 20:17:59 +0000 (20:17 +0000)]
2004-05-03  Artem B. Bityuckiy  <abitytsky@softminecorp.com>

        * libc/stdio/vfprintf.c (_VFPRINTF_R): Set error flag when
        multibyte functions return failure for %C, %S, %lc, and %ls
        format specifiers.

20 years ago2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
Jeff Johnston [Mon, 3 May 2004 17:31:22 +0000 (17:31 +0000)]
2004-05-03  Artem B. Bityuckiy  <abitytsky@softminecorp.com>

        * testsuite/include/check.h (CHECK): Add flush of stdout.

20 years ago2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
Jeff Johnston [Mon, 3 May 2004 17:27:56 +0000 (17:27 +0000)]
2004-05-03  Artem B. Bityuckiy  <abitytsky@softminecorp.com>

        * libc/include/stdio.h (_ungetc_r): New prototype.
        * libc/stdio/ungetc.c (_ungetc_r): New reentrant function.
        (__submore): Add reentrant struct pointer argument.
        (ungetc): Change to call _ungetc_r.

20 years ago * dir.cc (writable_directory): Remove.
Corinna Vinschen [Mon, 3 May 2004 11:53:07 +0000 (11:53 +0000)]
* dir.cc (writable_directory): Remove.
(mkdir): Remove call to writable_directory.
* syscalls.cc (unlink): Ditto.
(rename): Ditto.
* winsup.h (writable_directory): Remove declaration.

20 years ago2004-04-24 Luke Dunstan <infidel@users.sourceforge.net>
Luke Dunstan [Sat, 1 May 2004 01:52:58 +0000 (01:52 +0000)]
2004-04-24  Luke Dunstan  <infidel@users.sourceforge.net>

* include/winbase.h (EXECUTION_STATE): Add typedef.
(SetThreadExecutionState): Declare.
* include/wingdi.h (_WINGDI_): Define.
* include/objbase.h (_OBJBASE_H_): Define.

20 years ago * fhandler.cc (fhandler_base::open): Call path_conv::get_nt_native_path
Corinna Vinschen [Fri, 30 Apr 2004 17:36:36 +0000 (17:36 +0000)]
* fhandler.cc (fhandler_base::open): Call path_conv::get_nt_native_path
for evaluating NT path.
* path.cc (normalize_posix_path): Remove trailing dots and spaces.
(path_conv::get_nt_native_path): New function.
* path.h (class path_conv): Declare get_nt_native_path method.

20 years ago2004-04-29 Bart Oldeman <bartoldeman@users.sourceforge.net>
Luke Dunstan [Fri, 30 Apr 2004 17:06:21 +0000 (17:06 +0000)]
2004-04-29  Bart Oldeman  <bartoldeman@users.sourceforge.net>

* include/objbase.h (STGOPTIONS): Correct pwcsTemplateFile type.
* include/aclui.h: Remove '\r', throughout.
* include/msacm.h: Likewise.
* lib/aclui.def: Likewise.

20 years ago * fhandler.cc (fhandler_base::open): Fix NT native path evaluation
Corinna Vinschen [Fri, 30 Apr 2004 14:02:37 +0000 (14:02 +0000)]
* fhandler.cc (fhandler_base::open): Fix NT native path evaluation
to allow opening serial ports.

20 years ago * init.cc (threadfunc_fe): Hack to make thread stacks always 16
Corinna Vinschen [Fri, 30 Apr 2004 13:27:27 +0000 (13:27 +0000)]
* init.cc (threadfunc_fe): Hack to make thread stacks always 16
byte aligned.

20 years ago2004-04-28 Artem B. Bityuckiy <abitytsky@softminecorp.com>
Jeff Johnston [Wed, 28 Apr 2004 18:02:38 +0000 (18:02 +0000)]
2004-04-28  Artem B. Bityuckiy  <abitytsky@softminecorp.com>

        * libc/stdio/local.h (_fwalk_reent): Specify prototype of
        function pointer argument.
        * libc/stdio/fwalk.c (_fwalk, _fwalk_reent): Change prototypes
        to specify function pointer arguments.
        (__fwalk, __fwalk_reent): Ditto.

20 years ago2004-04-28 Luke Dunstan <infidel@users.sourceforge.net>
Luke Dunstan [Wed, 28 Apr 2004 14:18:13 +0000 (14:18 +0000)]
2004-04-28  Luke Dunstan  <infidel@users.sourceforge.net>

* lib/comctl32.def (SetWindowSubclass): Add stub.
Thanks to Eugene <egladysh@users.sourceforge.net>.

2004-04-24  Luke Dunstan  <infidel@users.sourceforge.net>

* include/winbase.h (EXECUTION_STATE): Add typedef.
(SetThreadExecutionState): Declare.
* include/wingdi.h (_WINGDI_): Define.
* include/objbase.h (_OBJBASE_H_): Define.

20 years agomerge from gcc:
DJ Delorie [Tue, 27 Apr 2004 18:28:03 +0000 (18:28 +0000)]
merge from gcc:
2004-04-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
* acx.m4 (ACX_PROG_GNAT): Check if ${CC} produces object file for
Ada compilation.
Fix acx_cv_cc_gcc_supports_ada spelling.

20 years agomerge from gcc:
DJ Delorie [Tue, 27 Apr 2004 18:25:01 +0000 (18:25 +0000)]
merge from gcc:
2004-04-27  Paolo Bonzini  <bonzini@gnu.org>

Revert:
2004-04-26  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.def (flags_to_pass): Remove *dir variables that
are passed to the modules via TOPLEVEL_CONFIGURE_ARGUMENTS,
as well as prefix and exec_prefix.
* Makefile.in: Regenerate.

2004-04-26  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.def (host_modules): Mark with the bootstrap
flag packages on which gcc depends.
* Makefile.tpl (all-bootstrap): Use it.
* Makefile.in: Regenerate.

2004-04-26  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.def (flags_to_pass): Remove *dir variables that
are passed to the modules via TOPLEVEL_CONFIGURE_ARGUMENTS,
as well as prefix and exec_prefix.
* Makefile.in: Regenerate.

2004-04-26  Paolo Bonzini  <bonzini@gnu.org>

        * configure.in: Invoke ACX_PROG_CMP_IGNORE_INITIAL.
        * configure: Regenerate.
        * config/acx.m4: Mutuate ACX_PROG_CMP_IGNORE_INITIAL from gcc.
        * gcc/Makefile.tpl (compare): Use the result of the test.
        * gcc/Makefile.in: Regenerate.

2004-04-23  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl (all-stage1-gcc, all-stage2-gcc, all-stage3-gcc):
Always relocate gcc and prev-gcc to the original names, even
if the build fails.
(new-cleanstrap, new-restage1, new-restage2, new-restage3):
New targets.

20 years ago * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in
Aldy Hernandez [Mon, 26 Apr 2004 22:43:34 +0000 (22:43 +0000)]
    * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in
        CT_INT case.

20 years ago[ bfd/ChangeLog ]
Chris Demetriou [Sat, 24 Apr 2004 22:07:14 +0000 (22:07 +0000)]
[ bfd/ChangeLog ]
2004-04-24  Chris Demetriou  <cgd@broadcom.com>

* elf32-mips.c (elf_mips_gnu_rel_hi16, elf_mips_gnu_rel_lo16)
(elf_mips_gnu_pcrel64, elf_mips_gnu_pcrel32): Remove.
(bfd_elf32_bfd_reloc_type_lookup): Remove cases for
BFD_RELOC_PCREL_HI16_S, BFD_RELOC_PCREL_LO16, BFD_RELOC_64_PCREL,
and BFD_RELOC_32_PCREL.
(mips_elf32_rtype_to_howto): Remove cases for R_MIPS_GNU_REL_HI16,
R_MIPS_GNU_REL_LO16, R_MIPS_PC64, R_MIPS_PC32.
* elfxx-mips.c (mips_elf_calculate_relocation): Likewise.
(_bfd_mips_elf_lo16_reloc): Remove handling for R_MIPS_GNU_REL_HI16.
(mips_elf_next_relocation): Move comment about matching HI/LO
relocations to...
(_bfd_mips_elf_relocate_section): Here.  Remove handling for
R_MIPS_GNU_REL_HI16.

[ include/elf/ChangeLog ]
2004-04-24  Chris Demetriou  <cgd@broadcom.com>

* mips.h (R_MIPS_PC32, R_MIPS_PC64, R_MIPS_GNU_REL_LO16)
(R_MIPS_GNU_REL_HI16): Remove.
(R_MIPS_GNU_REL16_S2): Update comment.

[ ld/testsuite/ChangeLog ]
2004-04-24  Chris Demetriou  <cgd@broadcom.com>

* ld-elf/merge.d: XFAIL on all MIPS targets.

20 years ago[ bfd/ChangeLog ]
Chris Demetriou [Sat, 24 Apr 2004 06:12:25 +0000 (06:12 +0000)]
[ bfd/ChangeLog ]
2004-04-23  Chris Demetriou  <cgd@broadcom.com>

        * coff-mips.c (mips_relhi_reloc, mips_rello_reloc)
        (mips_switch_reloc, mips_read_relocs, mips_relax_section)
        (mips_relax_pcrel16, PCREL16_EXPANSION_ADJUSTMENT): Remove.
        (mips_relocate_hi): Remove now-unused 'adjust' and 'pcrel' arguments,
        and update comments to reflect current usage.
        (mips_howto_table): Remove entries for MIPS_R_RELHI, MIPS_R_RELLO,
        and MIPS_R_SWITCH, as well as several empty entries.  Update comment
        for MIPS_R_PCREL16.
        (mips_ecoff_swap_reloc_in, mips_ecoff_swap_reloc_out)
        (mips_adjust_reloc_out, mips_bfd_reloc_type_lookup): Remove support
        for MIPS_R_SWITCH, MIPS_R_RELLO, and MIPS_R_RELHI relocations.
        (mips_adjust_reloc_in): Likewise, adjust maximum accepted relocation
        type number to be MIPS_R_PCREL16.
        (mips_relocate_section): Remove support for link-time relaxation
        of branches used by embedded-PIC.  Remove support for MIPS_R_SWITCH,
        MIPS_R_RELLO, and MIPS_R_RELHI relocations.
        (_bfd_ecoff_bfd_relax_section): Redefine to bfd_generic_relax_section.
        * ecoff.c (ecoff_indirect_link_order): Remove support for link-time
        relaxation of branches used by embedded-PIC.
        * ecofflink.c (bfd_ecoff_debug_accumulate): Likewise.
        * libecoff.h (struct ecoff_section_tdata): Remove embedded-PIC
        related members, update comment.
        * pe-mips.c: Remove disabled (commented-out and #if 0'd)
        code related to embedded-PIC.
        * elfxx-mips.c (_bfd_mips_elf_read_ecoff_info): Remove
        initialization of now-removed 'adjust' member of
        'struct ecoff_debug_info'.

[ include/coff/ChangeLog ]
2004-04-23  Chris Demetriou  <cgd@broadcom.com>

        * mips.h (MIPS_R_RELHI, MIPS_R_RELLO, MIPS_R_SWITCH): Remove
        (MIPS_R_PCREL16): Update comment.
        * ecoff.h (struct ecoff_value_adjust): Remove structure.
        (struct ecoff_debug_info): Remove 'adjust' member.

20 years ago2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
Jeff Johnston [Fri, 23 Apr 2004 21:44:22 +0000 (21:44 +0000)]
2004-04-23  Artem B. Bityuckiy  <abitytsky@softminecorp.com>

        * configure.in: Define _MB_CAPABLE if mb supported.
        * configure: Regenerated.
        * configure.host: Remove manual setting of MB_CAPABLE compiler
        flag.
        * newlib.hin: Add _MB_CAPABLE flag.
        * libc/ctype/iswalpha.c, libc/ctype/iswblank.c: Include <newlib.h>
        and check for _MB_CAPABLE flag instead of MB_CAPABLE.
        * libc/ctype/iswcntrl.c, libc/ctype/iswprint.c: Ditto.
        * libc/ctype/iswpunct.c, libc/ctype/iswspace.c: Ditto.
        * libc/ctype/jp2uc.c: Ditto.
        * libc/ctype/towlower.c, libc/ctype/towupper.c: Ditto.
        * libc/locale/locale.c: Ditto
        * libc/machine/powerpc/vfscanf.c: Ditto
        * libc/stdio/vfprintf.c, libc/stdio/vfscanf.c: Ditto
        * libc/stdlib/mblen.c: Ditto
        * libc/stdlib/mblen_r.c, libc/stdlib/mbrlen.c: Ditto
        * libc/stdlib/mbrtowc.c, libc/stdlib/mbsrtowcs.c: Ditto
        * libc/stdlib/mbstowcs.c, libc/stdlib/mbtowc.c: Ditto
        * libc/stdlib/mbtowc_r.c, libc/stdlib/wcrtomb.c: Ditto
        * libc/stdlib/wcsrtombs.c, libc/stdlib/wcstombs.c: Ditto
        * libc/stdlib/wctomb.c, libc/sys/linux/intl/dcigettext.c: Ditto
        * libc/sys/linux/intl/explodename.c: Ditto
        * libc/sys/linux/intl/finddomain.c: Ditto
        * libc/sys/linux/intl/l10nflist.c: Ditto
        * libc/sys/linux/intl/loadmsgcat.c: Ditto
        * libc/sys/linux/intl/localealias.c: Ditto

20 years ago2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 23 Apr 2004 21:30:04 +0000 (21:30 +0000)]
2004-04-23  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/machine/powerpc/vfscanf.c (NNZDIGITS): New define.
        (__svfscanf_r): In integer conversions, leave out leading zeroes
        which are not part of a base prefix.
        Keep track of width truncation to fit into buf, not counting left-out
        zeroes against width till the truncation has been compensated for.
        This is based on Joern's patch of 04/21 for libc/stdio/vfscanf.c.

20 years ago2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 23 Apr 2004 20:06:03 +0000 (20:06 +0000)]
2004-04-23  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/stdio.h: (_ftell_r, _fseek_r): New prototypes.

20 years ago2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
Jeff Johnston [Fri, 23 Apr 2004 20:01:55 +0000 (20:01 +0000)]
2004-04-23  Artem B. Bityuckiy  <abitytsky@softminecorp.com>

        * libc/stdio/asprintf.c libc/stdio/clearerr.c,
        libc/stdio/fclose.c libc/stdio/fcloseall.c libc/stdio/fdopen.c,
        libc/stdio/feof.c libc/stdio/ferror.c libc/stdio/fflush.c,
        libc/stdio/fgetc.c libc/stdio/fgetpos.c libc/stdio/fgets.c,
        libc/stdio/fileno.c libc/stdio/findfp.c libc/stdio/fiprintf.c,
        libc/stdio/flags.c libc/stdio/fopen.c libc/stdio/fprintf.c,
        libc/stdio/fputc.c libc/stdio/fputs.c libc/stdio/fread.c,
        libc/stdio/freopen.c libc/stdio/fscanf.c libc/stdio/fseek.c,
        libc/stdio/fseeko.c libc/stdio/fsetpos.c libc/stdio/ftell.c,
        libc/stdio/ftello.c libc/stdio/fvwrite.c libc/stdio/fwalk.c,
        libc/stdio/fwrite.c libc/stdio/getc.c libc/stdio/getc_u.c,
        libc/stdio/getchar.c libc/stdio/getchar_u.c,
        libc/stdio/getdelim.c libc/stdio/getline.c libc/stdio/gets.c,
        libc/stdio/getw.c libc/stdio/iprintf.c libc/stdio/local.h,
        libc/stdio/makebuf.c libc/stdio/mktemp.c libc/stdio/perror.c,
        libc/stdio/printf.c libc/stdio/putc.c libc/stdio/putc_u.c,
        libc/stdio/putchar.c libc/stdio/putchar_u.c libc/stdio/puts.c,
        libc/stdio/putw.c libc/stdio/refill.c libc/stdio/remove.c,
        libc/stdio/rename.c libc/stdio/rewind.c libc/stdio/rget.c,
        libc/stdio/scanf.c libc/stdio/setbuf.c libc/stdio/setbuffer.c,
        libc/stdio/setlinebuf.c libc/stdio/setvbuf.c,
        libc/stdio/siprintf.c libc/stdio/snprintf.c,
        libc/stdio/sprintf.c libc/stdio/sscanf.c libc/stdio/stdio.c,
        libc/stdio/tmpfile.c libc/stdio/tmpnam.c libc/stdio/ungetc.c,
        libc/stdio/vasprintf.c libc/stdio/vfieeefp.h,
        libc/stdio/vfprintf.c libc/stdio/vfscanf.c,
        libc/stdio/vprintf.c libc/stdio/vscanf.c,
        libc/stdio/vsnprintf.c libc/stdio/vsprintf.c,
        libc/stdio/vsscanf.c libc/stdio/wbuf.c,
        libc/stdio/wsetup.c: Perform minor formatting changes.  Move
        copyright notices to top of file, ensure that <_ansi.h> is
        included, be consistent with open parentheses, use _DEFUN macro,
        include "local.h" where needed, and remove various compiler
        warnings.

20 years ago2004-04-24 Luke Dunstan <infidel@users.sourceforge.net>
Luke Dunstan [Fri, 23 Apr 2004 18:24:03 +0000 (18:24 +0000)]
2004-04-24  Luke Dunstan  <infidel@users.sourceforge.net>

* include/winuser.h (SM_IMMENABLED, SM_CXFOCUSBORDER,
SM_CYFOCUSBORDER, SM_TABLETPC, SM_MEDIACENTER): Add defines.
(SM_CMETRICS): Adjust value.
* include/winnt.h (PROCESSOR_ARCHITECTURE_MSIL): Correct define.
(PROCESSOR_ARCHITECTURE_AMD64, PROCESSOR_ARCHITECTURE_IA32_ON_WIN64):
Add defines.
Thanks to Benoit Blanchon <benoit.blanchon@free.fr>

20 years ago2004-04-24 Justin Forest <vhex@users.sourceforge.net>
Luke Dunstan [Fri, 23 Apr 2004 18:01:08 +0000 (18:01 +0000)]
2004-04-24  Justin Forest  <vhex@users.sourceforge.net>

* include/winsock2.h (LUP_DEEP, LUP_CONTAINERS,
LUP_NOCONTAINERS, LUP_NEAREST, LUP_RETURN_NAME,
LUP_RETURN_TYPE, LUP_RETURN_VERSION, LUP_RETURN_COMMENT,
LUP_RETURN_ADDR, LUP_RETURN_BLOB, LUP_RETURN_ALIASES,
LUP_RETURN_QUERY_STRING, LUP_RETURN_ALL, LUP_RES_SERVICE,
LUP_FLUSHCACHE, LUP_FLUSHPREVIOUS): Add defines.

20 years ago2004-04-24 Luke Dunstan <infidel@users.sourceforge.net>
Luke Dunstan [Fri, 23 Apr 2004 17:31:32 +0000 (17:31 +0000)]
2004-04-24  Luke Dunstan  <infidel@users.sourceforge.net>

* include/windns.h (DNSREC_QUESTION, DNSREC_ANSWER, DNSREC_AUTHORITY,
DNSREC_ADDITIONAL): Add defines.

20 years ago2004-04-23 Robert Wruck <wruck@tweerlei.de>
Luke Dunstan [Fri, 23 Apr 2004 17:17:14 +0000 (17:17 +0000)]
2004-04-23  Robert Wruck  <wruck@tweerlei.de>

* include/commctrl.h (LPNMLVDISPINFO): Add defines.

20 years ago2004-04-23 Robert Wruck <wruck@tweerlei.de>
Luke Dunstan [Fri, 23 Apr 2004 16:03:43 +0000 (16:03 +0000)]
2004-04-23  Robert Wruck  <wruck@tweerlei.de>

* include/aclui.h: New file.
* lib/aclui.def: New file.
* lib/test.c: Add aclui.h to includes.

20 years ago2004-04-21 J"orn Rennecke <joern.rennecke@superh.com>
Jeff Johnston [Thu, 22 Apr 2004 21:58:15 +0000 (21:58 +0000)]
2004-04-21  J"orn Rennecke <joern.rennecke@superh.com>

        * libc/stdio/vfscanf.c (NNZDIGITS): New define.
        (__svfscanf_r): In integer conversions, leave out leading zeroes
        which are not part of a base prefix.
        Keep track of width truncation to fit into buf, not counting left-out
        zeroes against width till the truncation has been compensated for.

20 years agomerge from gcc
DJ Delorie [Thu, 22 Apr 2004 18:38:58 +0000 (18:38 +0000)]
merge from gcc

20 years ago * strncasecmp.c: Reword copyright and disclaimer. Move Contributors
Earnie Boyd [Thu, 22 Apr 2004 16:34:31 +0000 (16:34 +0000)]
* strncasecmp.c: Reword copyright and disclaimer.  Move Contributors
section to CONTRIBUTORS file.  Remove RCS tags.

20 years ago CORRECTION:
Earnie Boyd [Thu, 22 Apr 2004 16:27:00 +0000 (16:27 +0000)]
CORRECTION:
* Makefile.in (SRCDIST_FILES): Add DISCLAIMER and CONTRIBUTORS.

20 years ago * DISCLAIMER: Add words about "free to use".
Earnie Boyd [Thu, 22 Apr 2004 16:16:25 +0000 (16:16 +0000)]
* DISCLAIMER: Add words about "free to use".
* README: Modify "Win32 runtime" to "Microsoft C Runtime".
* Makefile.in (SRCDIST_FILES): Add DISCLAIMER and README.
(inst_docdir): New variable.
(INSTDOCS): Ditto.
(FLAGS_TO_PASS): Include inst_docdir.
(install-dirs): Add inst_docdir.
(install): Add loop for INSTDOCS.

20 years agoAdd support for ColdFire MAC instructions and tidy up support for other m68k
Nick Clifton [Thu, 22 Apr 2004 10:33:16 +0000 (10:33 +0000)]
Add support for ColdFire MAC instructions and tidy up support for other m68k
variants.

20 years ago * mingwex/math/lround.c: Rewrite.
Danny Smith [Thu, 22 Apr 2004 04:38:24 +0000 (04:38 +0000)]
* mingwex/math/lround.c: Rewrite.
* mingwex/math/lroundf.c: Rewrite.
* mingwex/math/lroundl.c: Rewrite.
* mingwex/math/llround.c: Rewrite.
* mingwex/math/llroundf.c: Rewrite.
* mingwex/math/llroundl.c: Rewrite.

20 years ago * syscalls.cc (lseek64): Fix debug_printf format string.
Corinna Vinschen [Wed, 21 Apr 2004 08:16:13 +0000 (08:16 +0000)]
* syscalls.cc (lseek64): Fix debug_printf format string.
(truncate64): Ditto.

* fhandler.cc (fhandler_base::lseek): Force res to -1 on error.

20 years ago * include/winuser.h (SPI_GETACTIVEWINDOWTRACKING,
Danny Smith [Wed, 21 Apr 2004 07:14:57 +0000 (07:14 +0000)]
* include/winuser.h (SPI_GETACTIVEWINDOWTRACKING,
SPI_GETACTIVEWNDTRKZORDER, SPI_SETACTIVEWINDOWTRACKING,
SPI_SETACTIVEWNDTRKZORDER): Remove duplicate defines.

20 years ago * CONTRIBUTORS: New file.
Earnie Boyd [Tue, 20 Apr 2004 22:49:32 +0000 (22:49 +0000)]
* CONTRIBUTORS: New file.
* DISCLAIMER: Ditto.
* CRT_noglob.c: Reword copyright and disclaimer.  Move Contributors
section CONTRIBUTORS file.  Remove RCS tags.
* CRTFmode.c: Ditto.
* CRTglob.c: Ditto.
* CRTinit.c: Ditto.
* crt1.c: Ditto.
* crtdll.dev: Ditto.
* dllcrt1.c: Ditto.
* dllmain.c: Ditto.
* gccmain.c: Ditto.
* init.c: Ditto.
* isascii.c: Ditto.
* iscsym.c: Ditto.
* iscsymf.c: Ditto.
* jamfile: Ditto.
* main.c: Ditto.
* msvcrt.def.in: Ditto.
* strcasecmp.c: Ditto.
* toascii.c: Ditto.
* wcscmpi.c: Ditto.
* include/assert.h: Ditto.
* include/conio.h: Ditto.
* include/ctype.h: Ditto.
* include/direct.h: Ditto.
* include/dirent.h: Ditto.
* include/dos.h: Ditto.
* include/errno.h: Ditto.
* include/excpt.h: Ditto.
* include/fcntl.h: Ditto.
* include/float.h: Ditto.
* include/io.h: Ditto.
* include/locale.h: Ditto.
* include/malloc.h: Ditto.
* include/math.h: Ditto.
* include/process.h: Ditto.
* include/setjmp.h: Ditto.
* include/share.h: Ditto.
* include/signal.h: Ditto.
* include/stdio.h: Ditto.
* include/stdlib.h: Ditto.
* include/string.h: Ditto.
* include/tchar.h: Ditto.
* include/time.h: Ditto.
* include/wchar.h: Ditto.
* include/sys/locking.h: Ditto.
* include/sys/param.h: Ditto.
* include/sys/stat.h: Ditto.
* include/sys/timeb.h: Ditto.
* include/sys/types.h: Ditto.
* include/sys/utime.h: Ditto.
* mingwex/dirent.c: Ditto.

20 years agofix comment
Christopher Faylor [Tue, 20 Apr 2004 18:46:15 +0000 (18:46 +0000)]
fix comment

20 years ago* path.cc (is_unc_share): Rename from slash_unc_prefix_p throughout.
Christopher Faylor [Tue, 20 Apr 2004 18:45:16 +0000 (18:45 +0000)]
* path.cc (is_unc_share): Rename from slash_unc_prefix_p throughout.
* path.cc (normalize_posix_path): Process all Posix paths and map three or more
initial slashes to a single one.  Simplify processing following two initial
slashes.
(normalize_win32_path): Make last argument non-optional and do not check for
NULL value.

20 years ago * fhandler_disk_file.cc (fhandler_base::open_fs): Change
Corinna Vinschen [Tue, 20 Apr 2004 15:51:24 +0000 (15:51 +0000)]
* fhandler_disk_file.cc (fhandler_base::open_fs): Change
set_file_attribute call to indicate that NT security isn't used.
(fhandler_disk_file::fchmod): Rearrange to isolate 9x related
statements.
Do not set FILE_ATTRIBUTE_SYSTEM.
(fhandler_disk_file::fchown): Check noop case first.
* fhandler.cc (fhandler_base::open9x): Remove ntsec related statements.
(fhandler_base::set_name): Do not set namehash.
* fhandler.h (fhandler_base::get_namehash): Compute and set namehash if
needed.
* syscalls.cc (access): Verify that fh is not NULL. Do not set PC_FULL.
(chmod): Ditto.
(chown_worker): Ditto.
(stat_worker): Ditto. Verify if the path exists.

20 years ago* include/wingdi.h: Protect non-unicode case of below.
Christopher Faylor [Tue, 20 Apr 2004 15:17:36 +0000 (15:17 +0000)]
* include/wingdi.h: Protect non-unicode case of below.

20 years ago* include/wingdi.h: Protect use of ENUMLOGFONTEXDV, PENUMLOGFONTEXDV,
Christopher Faylor [Tue, 20 Apr 2004 15:10:26 +0000 (15:10 +0000)]
* include/wingdi.h: Protect use of ENUMLOGFONTEXDV, PENUMLOGFONTEXDV,
LPENUMLOGFONTEXDV with appropriate version check.

20 years agoAdd support for a .secrel32 x86 reloc to allow DWARF" debug information to used
Nick Clifton [Tue, 20 Apr 2004 12:17:16 +0000 (12:17 +0000)]
Add support for a .secrel32 x86 reloc to allow DWARF" debug information to used
with COFF based x86 ports.

20 years ago2004-04-18 Hans Leidekker <hans@it.vu.nl>
Luke Dunstan [Tue, 20 Apr 2004 12:08:47 +0000 (12:08 +0000)]
2004-04-18  Hans Leidekker  <hans@it.vu.nl>

* lib/directx/dxguid.c (CLSID_DirectSoundPrivate,
DSPROPSETID_DirectSoundDevice): Add defines.

20 years ago * libc/include/sys/unistd.h (ttyname_r): Add missing comma.
Corinna Vinschen [Tue, 20 Apr 2004 11:14:02 +0000 (11:14 +0000)]
* libc/include/sys/unistd.h (ttyname_r): Add missing comma.

20 years ago * libc/include/sys/unistd.h (ttyname_r): Add declaration for Cygwin.
Corinna Vinschen [Tue, 20 Apr 2004 11:09:36 +0000 (11:09 +0000)]
* libc/include/sys/unistd.h (ttyname_r): Add declaration for Cygwin.

20 years ago * fhandler.cc (fhandler_base::open): Remove special DEV_FLOPPY_MAJOR
Corinna Vinschen [Tue, 20 Apr 2004 11:01:22 +0000 (11:01 +0000)]
* fhandler.cc (fhandler_base::open): Remove special DEV_FLOPPY_MAJOR
treatment.
* fhandler_raw.cc (fhandler_dev_raw::open): Simplify write-only case.
* fhandler_tape.cc (fhandler_dev_tape::raw_write): Add accidentally
dropped condition.

20 years ago * fhandler.cc (fhandler_base::open): Add FILE_READ_ATTRIBUTES when
Corinna Vinschen [Tue, 20 Apr 2004 10:24:37 +0000 (10:24 +0000)]
* fhandler.cc (fhandler_base::open): Add FILE_READ_ATTRIBUTES when
only GENERIC_WRITE access is requested.

20 years ago2004-04-20 Adrian Sandor <aditsu@users.sourceforge.net>
Luke Dunstan [Tue, 20 Apr 2004 09:48:52 +0000 (09:48 +0000)]
2004-04-20  Adrian Sandor  <aditsu@users.sourceforge.net>

* include/msacm.h: New file.

20 years ago * include/cygwin/mtio.h (GMT_ASYNC): New define.
Corinna Vinschen [Mon, 19 Apr 2004 19:41:13 +0000 (19:41 +0000)]
* include/cygwin/mtio.h (GMT_ASYNC): New define.
(MT_ST_ASYNC_WRITES): Remove "Not supported" comment.

20 years ago * errno.cc (errmap): Handle ERROR_IO_PENDING.
Corinna Vinschen [Mon, 19 Apr 2004 19:29:10 +0000 (19:29 +0000)]
* errno.cc (errmap): Handle ERROR_IO_PENDING.
* fhandler.cc (fhandler_base::open): Make tape I/O asynchronous.
* fhandler.h (class fhandler_dev_tape): Add mt_evt member.
* fhandler_tape.cc (mtinfo_drive::initialize): Initialize async_writes.
(mtinfo_drive::close): Handle async writes.
(mtinfo_drive::read): Add mt_evt parameter.  Use overlapped I/O.
(mtinfo_drive::async_wait): New function.
(mtinfo_drive::write): Add mt_evt parameter.  Use overlapped I/O.
Handle async writes.
(mtinfo_drive::_set_pos): Handle async writes.
(mtinfo_drive::set_partition): Ditto.
(mtinfo_drive::prepare): Ditto.
(mtinfo_drive::get_status): Drop useless "else".  Handle async_writes
flag.
(mtinfo_drive::set_options): Handle async_writes flags.
(fhandler_dev_tape::close): Close mt_evt handle.
(fhandler_dev_tape::raw_read): Create mt_evt handle and use in call
to mtinfo_drive::read.
(fhandler_dev_tape::raw_write): Create mt_evt handle and use in call
to mtinfo_drive::write.
* mtinfo.h (MTINFO_VERSION): Bump.
(enum dirty_state): Add async_write_pending state.
(class mtinfo_drive): Add OVERLAPPED struct "ov".  Add async_writes
flag.
(mtinfo_drive::async_wait): Add declaration.
(mtinfo_drive::read): Add mt_evt parameter.
(mtinfo_drive::write): Ditto.

* registry.cc (load_registry_hive): Call enable_restore_privilege
instead of set_process_privilege.

20 years ago * include/_mingw.h: Revert to primary release 3 and increment minor
Earnie Boyd [Mon, 19 Apr 2004 17:01:27 +0000 (17:01 +0000)]
* include/_mingw.h: Revert to primary release 3 and increment minor
release to 3.
* Makefile.in (VERSION): Ditto.

20 years ago * include/_mingw.h: Revert to primary release 3 and increment minor
Earnie Boyd [Mon, 19 Apr 2004 16:58:40 +0000 (16:58 +0000)]
* include/_mingw.h: Revert to primary release 3 and increment minor
release to 3.

20 years ago * configure.in (mips*-*-irix5*): Enable ld.
Rainer Orth [Mon, 19 Apr 2004 15:38:50 +0000 (15:38 +0000)]
* configure.in (mips*-*-irix5*): Enable ld.
* configure: Regenerate.

20 years ago * fhandler_tape.cc (mtinfo_drive::_set_pos): Take additional dont_wait
Corinna Vinschen [Mon, 19 Apr 2004 13:07:55 +0000 (13:07 +0000)]
* fhandler_tape.cc (mtinfo_drive::_set_pos): Take additional dont_wait
parameter.  Use in call to SetTapePosition.
(mtinfo_drive::set_pos): Accomodate _set_pos calls to above change.
(mtinfo_drive::set_partition): Ditto.
* mtinfo.h (mtinfo_drive::_set_pos): Change declaration accordingly.

20 years agoClean up ChangeLog punctuation and typeo.
Danny Smith [Sun, 18 Apr 2004 20:48:29 +0000 (20:48 +0000)]
Clean up ChangeLog punctuation and typeo.
Thanks to Filip Navara  <xnavara@volny.cz>.

20 years ago2004-01-09 Stuart Cunningham <stuart_hc@users.sourceforge.net>
Luke Dunstan [Sun, 18 Apr 2004 07:29:39 +0000 (07:29 +0000)]
2004-01-09  Stuart Cunningham  <stuart_hc@users.sourceforge.net>

* include/objbase.h (STGFMT): Declare enum.
(STGOPTIONS): Declare structure.
(StgCreateStorageEx, StgOpenStorageEx): Declare.
(STGOPTIONS_VERSION): Define.
* lib/ole32.def (StgCreateStorageEx, StgOpenStorageEx): Add stubs.

20 years agoMerge numerous changes from ReactOS. Submitted by Filip Navara.
Luke Dunstan [Sun, 18 Apr 2004 07:07:57 +0000 (07:07 +0000)]
Merge numerous changes from ReactOS. Submitted by Filip Navara.

20 years ago2004-04-18 Allan Bazinet <bazineta@users.sourceforge.net>
Luke Dunstan [Sun, 18 Apr 2004 04:32:13 +0000 (04:32 +0000)]
2004-04-18  Allan Bazinet  <bazineta@users.sourceforge.net>

* include/winuser.h (MONITORINFOEX[AW]): Change to be derived from
MONITORINFO when compiling as C++.

20 years agofix comments
Christopher Faylor [Sat, 17 Apr 2004 17:53:29 +0000 (17:53 +0000)]
fix comments

20 years ago2004-04-17 Luke Dunstan <infidel@users.sourceforge.net>
Luke Dunstan [Sat, 17 Apr 2004 13:44:05 +0000 (13:44 +0000)]
2004-04-17  Luke Dunstan  <infidel@users.sourceforge.net>

* README.w32api: List separate copyright conditions for some headers.
* include/(winsock2.h, wsipx.h): Minor change to copyright header.

20 years ago * autoload.cc (NtCreateFile): Add.
Corinna Vinschen [Fri, 16 Apr 2004 21:22:13 +0000 (21:22 +0000)]
* autoload.cc (NtCreateFile): Add.
* dir.cc (mkdir): Change set_file_attribute call to indicate that
NT security isn't used.
* fhandler.cc (fhandler_base::open_9x): New method, created from
fhandler_base::open.
(fhandler_base::open): Rearrange to use NtCreateFile instead of
CreateFile.
* fhandler.h (enum query_state): Redefine query_null_access to
query_stat_control.  query_null_access isn't allowed in NtCreateFile.
(fhandler_base::open_9x): Declare.
* fhandler_disk_file.cc (fhandler_base::fstat_fs): Use
query_stat_control first, query_read_control if that fails.
(fhandler_disk_file::fchmod): Call enable_restore_privilege before
trying to open for query_write_control.  Don't fall back to
opening for query_read_control.
(fhandler_disk_file::fchown): Ditto.
(fhandler_disk_file::facl):  Only request restore privilege and query
access necessary for given cmd.
* fhandler_raw.cc (fhandler_dev_raw::open): Call fhandler_base::open
instead of opening device here.
* ntdll.h (NtCreateFile): Declare.
* path.cc (symlink_worker): Change set_file_attribute call to indicate
that NT security isn't used.
* sec_acl.cc (getacl): Fix bracketing.
* sec_helper.cc (enable_restore_privilege): New function.
* security.cc (str2buf2uni_cat): New function.
(write_sd): Don't request restore permission here.
* security.h (set_process_privileges): Drop stale declaration.
(str2buf2uni): Declare.
(str2buf2uni_cat): Declare.
(enable_restore_privilege): Declare.
* syscalls.cc (fchown32): Return immediate success on 9x.

20 years agoFix LDFLAGS related configure errors.
Jim Wilson [Fri, 16 Apr 2004 07:17:44 +0000 (07:17 +0000)]
Fix LDFLAGS related configure errors.
* Makefile.tpl (configure-[+module+], configure-gcc,
configure-stage1-gcc, configure-stage2-gcc, configure-stage3-gcc):
Set and export LDFLAGS.
* Makefile.in: Regenerate.

20 years ago.
Christopher Faylor [Fri, 16 Apr 2004 01:48:37 +0000 (01:48 +0000)]
.

20 years agoCheck in missed file.
Christopher Faylor [Thu, 15 Apr 2004 17:38:23 +0000 (17:38 +0000)]
Check in missed file.

20 years ago* autoload.cc (dll_chain1): Rename to dll_chain. Remove old dll_chain code.
Christopher Faylor [Thu, 15 Apr 2004 17:38:02 +0000 (17:38 +0000)]
* autoload.cc (dll_chain1): Rename to dll_chain.  Remove old dll_chain code.
(wsock_init): Avoid unneeded winsock_active tests.
* winsup.h (winsock_active): Delete.

20 years ago * fhandler_disk_file.cc (fhandler_disk_file::fchmo): Try opening
Corinna Vinschen [Thu, 15 Apr 2004 15:56:52 +0000 (15:56 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fchmo): Try opening
in query_read mode if query_write fails.
* fhandler_disk_file.cc (fhandler_disk_file::fchown): Ditto.
* fhandler_disk_file.cc (fhandler_disk_file::facl): Ditto.

20 years ago2004-04-15 Danny Smith <dannysmith@users.sourceforge.net>
Luke Dunstan [Thu, 15 Apr 2004 11:51:00 +0000 (11:51 +0000)]
2004-04-15  Danny Smith  <dannysmith@users.sourceforge.net>

* include/wingdi.h (RGB): Correct macro.

20 years ago Fix case.
Corinna Vinschen [Wed, 14 Apr 2004 21:16:31 +0000 (21:16 +0000)]
Fix case.

20 years ago * ntdll.h: Fix copyright date.
Corinna Vinschen [Wed, 14 Apr 2004 21:11:45 +0000 (21:11 +0000)]
* ntdll.h: Fix copyright date.
* sec_acl.cc (acl_worker): delete allocated fhandler.
* syscalls.cc (chown_worker): Ditto.
(chmod): Ditto.
(stat_worker): Use get_namehash instead of hash_path_name.

20 years ago * sec_acl.cc (getacl): Avoid compiler warning.
Corinna Vinschen [Wed, 14 Apr 2004 20:16:29 +0000 (20:16 +0000)]
* sec_acl.cc (getacl): Avoid compiler warning.
* security.cc (write_sd): Ditto.  Fix error handling.

20 years ago * syscalls.cc (fstat64): Use get_namehash instead of hash_path_name.
Corinna Vinschen [Wed, 14 Apr 2004 16:51:28 +0000 (16:51 +0000)]
* syscalls.cc (fstat64): Use get_namehash instead of hash_path_name.

20 years ago * fhandler.cc (fhandler_base::open): Simplify access evaluation
Corinna Vinschen [Wed, 14 Apr 2004 16:36:26 +0000 (16:36 +0000)]
* fhandler.cc (fhandler_base::open): Simplify access evaluation
expression.
(fhandler_base::facl): New method.
* fhandler.h: Declare facl method in fhandler_base,
fhandler_disk_file and fhandler_virtual.
* fhandler_disk_file.cc (fhandler_disk_file::facl): New method.
* fhandler_virtual.cc (fhandler_virtual::facl): New method.
* sec_acl.cc: Remove forward declaration for aclsort32 and acl32.
(setacl): Remove static.  Add and use handle parameter.
(getacl): Ditto.
(acl_worker): Reorganize to call fhandler's facl method eventually.
(facl32): Ditto.
* security.cc (get_nt_object_security): Remove static.
* security.h: Add extern declarations for get_nt_object_security,
aclsort32, acl32, getacl and setacl.

Apply missing syscalls.cc patch and ChangeLog of previous check in.
* syscalls.cc (chown_worker): Reorganize to call fhandler's fchown
method eventually.
(fchown): Ditto.

20 years ago * fhandler.cc (fhandler_base::open): Accomodate query_write_control
Corinna Vinschen [Wed, 14 Apr 2004 13:40:07 +0000 (13:40 +0000)]
* fhandler.cc (fhandler_base::open): Accomodate query_write_control
query_state.
(fhandler_base::fchown): New method.
* fhandler.h: Declare fchown method in fhandler_base,
fhandler_disk_file and fhandler_virtual.
(enum query_state): Add query_write_control.
* fhandler_disk_file.cc (fhandler_disk_file::fchmod): Set query_state
to query_write_control.  Only remove FILE_ATTRIBUTE_READONLY if not
setting security descriptor.
(fhandler_disk_file::fchown): New method.
* fhandler_virtual.cc (fhandler_virtual::fchown): New method.
* sec_acl.cc (setacl): Call write_sd with additional handle attribute.
* security.cc (write_sd): Take handle argument.  Only request owner
if getting SE_RESTORE_NAME privilege failed.  Only open file if
NtSetSecurityObject failed or handle is NULL.
(set_nt_attribute): Call write_sd with additional handle attribute.
* security.h (write_sd): Declare with additional handle argument.

20 years ago2004-04-14 Robert Wruck <rwruck@users.sourceforge.net>
Danny Smith [Wed, 14 Apr 2004 10:53:17 +0000 (10:53 +0000)]
2004-04-14  Robert Wruck  <rwruck@users.sourceforge.net>

* include/ddk/winddk.h (RtlEqualLuid): Correct macro.

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