]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
15 years ago * mkgroup.c (enum_local_groups): Avoid error message if given group
Corinna Vinschen [Tue, 11 Aug 2009 08:59:50 +0000 (08:59 +0000)]
* mkgroup.c (enum_local_groups): Avoid error message if given group
name isn't found and return 0 to allow searching to proceed.  Always
return 0 or 1, not -1.
(enum_groups): Avoid error message if given group name isn't found.
* mkpasswd.c (enum_users): Ditto.

15 years ago * include/limits.h (NGROUPS_MAX): Set to a more sane value.
Corinna Vinschen [Tue, 11 Aug 2009 07:28:22 +0000 (07:28 +0000)]
* include/limits.h (NGROUPS_MAX): Set to a more sane value.
* include/sys/param.h (NGROUPS): Ditto.

15 years agoinclude/coff/
Jan Kratochvil [Mon, 10 Aug 2009 22:02:41 +0000 (22:02 +0000)]
include/coff/
Fix references past allocated memory for i386-*-go32.
* ti.h (COFF_ADJUST_FILEHDR_IN_POST, COFF_ADJUST_FILEHDR_OUT_POST):
Reference F_TARGET_ID only when !COFF0_P.

15 years agobfd/
Jan Kratochvil [Mon, 10 Aug 2009 21:56:42 +0000 (21:56 +0000)]
bfd/
Stop using bfd_usrdata in libbfd.
* coff-stgo32.c (bfd_coff_go32stub): Remove.
(stub_bytes, comment): Replace STUBSIZE by GO32_STUBSIZE.
(adjust_filehdr_in_post): Declare the abfd parameter as unused.
Replace STUBSIZE by GO32_STUBSIZE.  Save now the stub in
filehdr_dst->u.go32.stub.  New comment with the reason.
(adjust_filehdr_out_pre): Replace STUBSIZE by GO32_STUBSIZE.
Substitute the removed macro bfd_coff_go32stub.
(adjust_filehdr_out_post, adjust_scnhdr_in_post, adjust_scnhdr_out_pre)
(adjust_scnhdr_out_post, adjust_aux_in_post, adjust_aux_out_pre)
(adjust_aux_out_post): Replace STUBSIZE by GO32_STUBSIZE.
(create_go32_stub, go32_stubbed_coff_bfd_copy_private_bfd_data):
Replace STUBSIZE by GO32_STUBSIZE.  Substitute the removed macro
bfd_coff_go32stub.
* coffcode.h (coff_mkobject_hook): Initialize coff->go32stub.
* libcoff-in.h (coff_data_type): New field go32stub.
* libcoff.h: Regenerated.

include/coff/
Stop using bfd_usrdata in libbfd.
* go32exe.h (struct external_filehdr_go32_exe <stub>, FILHSZ): Replace
STUBSIZE by GO32_STUBSIZE.
(STUBSIZE): Move the definition ...
* internal.h (GO32_STUBSIZE): ... here and rename it.
(struct internal_filehdr <go32stub>, F_GO32STUB): New.

15 years ago * spawn.cc (av::fixup): Check shell scripts for executability only on
Corinna Vinschen [Mon, 10 Aug 2009 18:36:28 +0000 (18:36 +0000)]
* spawn.cc (av::fixup): Check shell scripts for executability only on
filesystems/mounts supporting real permissions.

15 years ago2009-08-10 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 10 Aug 2009 16:23:20 +0000 (16:23 +0000)]
2009-08-10  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdlib/wcstombs.c: Change documentation to specify size_t
        return type instead of int.

15 years ago * dtable.cc (DEV_SOCKET): New static WCHAR string. Name of
Corinna Vinschen [Mon, 10 Aug 2009 15:38:37 +0000 (15:38 +0000)]
* dtable.cc (DEV_SOCKET): New static WCHAR string.  Name of
the native NT socket device.
(dtable::init_std_file_from_handle): Remove unused tmp_pathbuf
variable.  Move check for sockets into FILE_TYPE_PIPE clause.
Rely on handle_to_fn having recognized socket, or check if
getsockopt works to accommodate NT4 shortcoming.
(handle_to_fn): Use tmp_pathbuf for OBJECT_NAME_INFORMATION
buffer and simplify code due to that.  Check name returned by
NtQueryObject for socket device.

15 years ago* fhandler_console.cc (create_invisible_console_workaround): Fix size of cmd in
Christopher Faylor [Mon, 10 Aug 2009 15:25:58 +0000 (15:25 +0000)]
* fhandler_console.cc (create_invisible_console_workaround): Fix size of cmd in
the way originally intended.

15 years ago * readelf.c (get_arm_section_type_name): Added support for
Nick Clifton [Mon, 10 Aug 2009 14:56:34 +0000 (14:56 +0000)]
* readelf.c (get_arm_section_type_name): Added support for
    new sections headers.

    * arm.h: (SHT_ARM_DEBUGOVERLAY): New define.
    (SHT_ARM_OVERLAYSECTION): New define.

15 years ago * fhandler_console.cc (create_invisible_console_workaround): Fix
Corinna Vinschen [Mon, 10 Aug 2009 08:54:51 +0000 (08:54 +0000)]
* fhandler_console.cc (create_invisible_console_workaround):  Fix
size of cmd to take spaces into account.

15 years ago * mingw: Add fallbacks to search for MinGW components in standard
Dave Korn [Mon, 10 Aug 2009 01:55:14 +0000 (01:55 +0000)]
* mingw: Add fallbacks to search for MinGW components in standard
install locations if not found in compiler's $prefix.

15 years agobfd/
Bernd Schmidt [Sun, 9 Aug 2009 16:45:05 +0000 (16:45 +0000)]
bfd/
From Mike Frysinger <michael.frysinger@analog.com>
* elf32-bfin.c (bfin_howto_table, bfin_reloc_map, bfin_check_relocs,
bfin_final_link_relocate, bfin_relocate_section, bfin_gc_sweep_hook,
_bfinfdpic_emit_got_relocs_plt_entries, bfinfdpic_relocate_section,
bfinfdpic_gc_sweep_hook, bfinfdpic_check_relocs,
bfin_finish_dynamic_symbol, bfd_bfin_elf32_create_embedded_relocs):
Adjust to match the renamed reloc definitions.

gas/testsuite/
From Mike Frysinger <michael.frysinger@analog.com>
* gas/bfin/reloc.d: Adjust for the renamed relocations.

include/elf/
From Mike Frysinger <michael.frysinger@analog.com>
* bfin.h (R_BFIN_UNUSED, R_BFIN_PCREL5M2, R_BFIN_UNUSED1,
R_BFIN_PCREL10, R_BFIN_PCREL12_JUMP, R_BFIN_RIMM16,
R_BFIN_LUIMM16, R_BFIN_HUIMM16, R_BFIN_PCREL12_JUMP_S,
R_BFIN_PCREL24_JUMP_X, R_BFIN_PCREL24, R_BFIN_UNUSEDB,
R_BFIN_UNUSEDC, R_BFIN_PCREL24_JUMP_L, R_BFIN_PCREL24_CALL_X,
R_BFIN_VAR_EQ_SYMB, R_BFIN_BYTE_DATA, R_BFIN_BYTE2_DATA,
R_BFIN_BYTE4_DATA, R_BFIN_PCREL11, R_BFIN_PUSH, R_BFIN_CONST,
R_BFIN_ADD, R_BFIN_SUB, R_BFIN_MULT, R_BFIN_DIV, R_BFIN_MOD,
R_BFIN_LSHIFT, R_BFIN_RSHIFT, R_BFIN_AND, R_BFIN_OR, R_BFIN_XOR,
R_BFIN_LAND, R_BFIN_LOR, R_BFIN_LEN, R_BFIN_NEG, R_BFIN_COMP,
R_BFIN_PAGE, R_BFIN_HWPAGE, R_BFIN_ADDR, R_BFIN_PLTPLC,
R_BFIN_GOT, R_BFIN_MAX): Renamed from R_unused0, R_pcrel5ms,
R_unused1, R_pcrel10, R_pcrel12_jump, R_rimm16, R_luimm16,
R_huimm16, R_pcrel12_jump_s, R_pcrel24_jump_x, R_pcrel24,
R_unusedb, R_unusedc, R_pcrel24_jump_l, R_pcrel24_call_x,
R_var_eq_symb, R_byte_data, R_byte2_data, R_byte4_data, R_pcrel11,
R_push, R_const, R_add, R_sub, R_mult, R_div, R_mod, R_lshift,
R_rshift, R_and, R_or, R_xor, R_land, R_lor, R_len, R_neg, R_comp,
R_page, R_hwpage, R_addr, R_pltpc, R_got.

15 years ago * mount.cc (do_mount): Don't exit, just return.
Corinna Vinschen [Sun, 9 Aug 2009 14:13:53 +0000 (14:13 +0000)]
* mount.cc (do_mount): Don't exit, just return.

15 years agoAdd EM_resnnn, new EM_ entries, change EM_MICROBLAZE.
Michael Eager [Sun, 9 Aug 2009 13:42:26 +0000 (13:42 +0000)]
Add EM_resnnn, new EM_ entries, change EM_MICROBLAZE.

15 years ago * include/winnls.h (IS_HIGH_SURROGATE, IS_LOW_SURROGATE,
Corinna Vinschen [Sun, 9 Aug 2009 12:25:47 +0000 (12:25 +0000)]
* include/winnls.h (IS_HIGH_SURROGATE, IS_LOW_SURROGATE,
IS_SURROGATE_PAIR): Define.

15 years ago * dtable.cc (dtable::init_std_file_from_handle): Fix comment to
Corinna Vinschen [Sat, 8 Aug 2009 20:24:54 +0000 (20:24 +0000)]
* dtable.cc (dtable::init_std_file_from_handle): Fix comment to
document change in the Windows 7 workaround.
* wincap.cc (wincapc::init): Don't set has_console_handle_problem
to false on 32 bit systems.

15 years ago2009-08-08 Danny Smith <dannysmith@users.sourceforge.net>
Chris Sutcliffe [Sat, 8 Aug 2009 13:26:11 +0000 (13:26 +0000)]
2009-08-08  Danny Smith  <dannysmith@users.sourceforge.net>

        * include/math.h (__fpclassifyl, __isnan, __isnanf, isnanl, __signbit,
        __signbitf, __signbitl, sinhf, tanhf, expf, frexpf, ldexpf, hypotf, powf,
        __fp_unordered_compare): Add prototypes.
        * include/stdio.h (vsnwprintf): Add prototype.
        * include/wchar.h (vsnwprintf): Add prototype.
        * include/unistd.h (ftruncate): Move prototype out of __NO_INLINE__ guard.

15 years ago * configure.ac: Add Microblaze target.
Nick Clifton [Thu, 6 Aug 2009 17:46:43 +0000 (17:46 +0000)]
    * configure.ac: Add Microblaze target.
        * configure: Regenerate.

15 years ago Add support for Xilinx MicroBlaze processor.
Nick Clifton [Thu, 6 Aug 2009 17:38:03 +0000 (17:38 +0000)]
    Add support for Xilinx MicroBlaze processor.

        * bfd/Makefile.am: Add cpu-microblaze.{lo,c}, elf32-microblaze.{lo,c}.
        * bfd/Makefile.in: Same.
        * bfd/archures.c: Add bfd_arch_microblaze.
        * bfd/bfd-in2.h: Regenerate.
        * bfd/config.bfd: Add microblaze target.
        * bfd/configure: Add bfd_elf32_microblaze_vec target.
        * bfd/configure.in: Same.
        * bfd/cpu-microblaze.c: New.
        * bfd/elf32-microblaze.c: New.
        * bfd/libbfd-in.h: Add prototype _bfd_dwarf2_fixup_section_debug_loc().
        * bfd/libbfd.h: Regenerate.
        * bfd/reloc.c: Add MICROBLAZE relocations.
        * bfd/section.c: Add struct relax_table and relax_count to section.
        * bfd/targets.c: Add bfd_elf32_microblaze_vec.
        * binutils/MAINTAINERS: Add self as maintainer.
        * binutils/readelf.c: Include elf/microblaze.h, add EM_MICROBLAZE &
        EM_MICROBLAZE_OLD to guess_is_rela(), dump_relocations(),
        get_machine_name().
        * config.sub: Add microblaze target.
        * configure: Same.
        * configure.ac: Same.
        * gas/Makefile.am: add microblaze to CPU_TYPES, config/tc-microblaze.c to
        TARGET_CPU_CFILES, config/tc-microblaze.h to TARGET_CPU_HFILES, add
        DEP_microblaze_elf target.
        * gas/Makefile.in: Same.
        * gas/config/tc-microblaze.c: Add MicroBlaze assembler.
        * gas/config/tc-microblaze.h: Add header for tc-microblaze.c.
        * gas/configure: Add microblaze target.
        * gas/configure.in: Same.
        * gas/configure.tgt: Same.
        * gas/doc/Makefile.am: Add c-microblaze.texi to CPU_DOCS.
        * gas/doc/Makefile.in: Same.
        * gas/doc/all.texi: Set MICROBLAZE.
        * gas/doc/as.texinfo: Add MicroBlaze doc links.
        * gas/doc/c-microblaze.texi: New MicroBlaze docs.
        * include/dis-asm.h: Decl print_insn_microblaze().
        * include/elf/common.h: Define EM_MICROBLAZE & EM_MICROBLAZE_OLD.
        * include/elf/microblaze.h: New reloc definitions.
        * ld/Makefile.am: Add eelf32mb_linux.o, eelf32microblaze.o to
        ALL_EMULATIONS, targets.
        * ld/Makefile.in: Same.
        * ld/configure.tgt: Add microblaze*-linux*, microblaze* targets.
        * ld/emulparams/elf32mb_linux.sh: New.
        * ld/emulparams/elf32microblaze.sh. New.
        * ld/scripttempl/elfmicroblaze.sc: New.
        * opcodes/Makefile.am: Add microblaze-opc.h to HFILES, microblaze-dis.c to
        CFILES, microblaze-dis.lo to ALL_MACHINES, targets.
        * opcodes/Makefile.in: Same.
        * opcodes/configure: Add bfd_microblaze_arch target.
        * opcodes/configure.in: Same.
        * opcodes/disassemble.c: Define ARCH_microblaze, return
        print_insn_microblaze().
        * opcodes/microblaze-dis.c: New MicroBlaze disassembler.
        * opcodes/microblaze-opc.h: New MicroBlaze opcode definitions.
        * opcodes/microblaze-opcm.h: New MicroBlaze opcode types.

15 years ago * net.cc (cygwin_getnameinfo): Force setting NI_NUMERICSERV only
Corinna Vinschen [Thu, 6 Aug 2009 14:55:49 +0000 (14:55 +0000)]
* net.cc (cygwin_getnameinfo): Force setting NI_NUMERICSERV only
on Windows 2003 and earlier, only if the port number doesn't
resolve to a well-known service.  Change comment accordingly.

15 years ago* cygheap.h (cygheap_debug::endh): Delete.
Christopher Faylor [Wed, 5 Aug 2009 04:44:27 +0000 (04:44 +0000)]
* cygheap.h (cygheap_debug::endh): Delete.
* debug.cc (lock_debug::acquired): Delete.
(lock_debug::lock_debug): Simplify.
(lock_debug::unlock): Ditto.
(find_handle): Don't set endh here.
(add_handle): Add new handle to beginning of the list rather than trying to
maintain an end list pointer.
(delete_handle): Minor optimization.
(mark_closed): Make logic clearer.
(verify_handle): Lock handle list before scanning.
(setclexec): Ditto.
(modify_handle): Ditto.
(newh): Don't lock handle list here.  Assume caller did this.
(mark_closed): Ditto.
(close_handle): Remove unneeded #if.
* dtable.cc (dtable::dup2): Tweak debug output.

15 years ago* path.cc (patch_conv::check): Zero path before setting it.
Christopher Faylor [Wed, 5 Aug 2009 03:18:48 +0000 (03:18 +0000)]
* path.cc (patch_conv::check): Zero path before setting it.

15 years ago* fhandler_socket.cc (fhandler_socket::send_internal): Just use wmem size if
Christopher Faylor [Tue, 4 Aug 2009 22:35:35 +0000 (22:35 +0000)]
* fhandler_socket.cc (fhandler_socket::send_internal): Just use wmem size if
the length exceeds it.
* net.cc (fdsock): Use 65535 as window size, just like the comment says or we
run into problems with DuplicateHandle.
* path.cc (patch_conv::check): Use set_path to set invalid filename.
* path.h (path_conv::path_conv): Ditto.

15 years ago* fhandler.h (pdrive_buf): Defensively allocate one extra byte.
Christopher Faylor [Tue, 4 Aug 2009 04:31:08 +0000 (04:31 +0000)]
* fhandler.h (pdrive_buf): Defensively allocate one extra byte.

15 years ago* fhandler.h (fhandler_cygdrive:DRVSZ): New enum.
Christopher Faylor [Tue, 4 Aug 2009 04:20:36 +0000 (04:20 +0000)]
* fhandler.h (fhandler_cygdrive:DRVSZ): New enum.
(pdrive_buf): New place to hold information about cygdrive.
* fhandler_disk_file.cc (fhandler_cygdrive::set_drives): Store drive info in
pdrive_buf since get_win32_name() could now be too small to hold everything.
(fhandler_cygdrive::rewinddir): Reset pdrive to pdrive_buf.
(fhandler_cygdrive::closedir): Ditto.
* pipe.cc (fhandler_pipe::init): Be more defensive when referencing
get_win32_name().  Rework logic which made a copy of the POSIX path and then
never used it.

15 years ago* sigproc.cc (stopped_or_terminated): Don't return a match when stopsig ==
Christopher Faylor [Sun, 2 Aug 2009 21:38:40 +0000 (21:38 +0000)]
* sigproc.cc (stopped_or_terminated): Don't return a match when stopsig ==
SIGCONT and not WCONTINUED.
* termios.cc (tcsetpgrp): Improve debugging output.

15 years ago* cygheap_malloc.h: New file.
Christopher Faylor [Sat, 1 Aug 2009 19:52:46 +0000 (19:52 +0000)]
* cygheap_malloc.h: New file.
* cygheap.h: Remove stuff now included in cygheap_malloc.h and include that
file.  Make cygheap_init a standard c++ function.  Remove unneeded child_info
declaration.
* path.h: Include cygheap_malloc.h.  Remove extra cstrdup declaration.
(path_conv): Reorganize to group variables together.
(path_conv::path): Make const char *.
(path_conv::known_suffix): Ditto.
(path_conv::normalized_path): Ditto.
(path_conv::path_conv): Reorganize initializers to reflect new element
ordering.
(path_conv::get_win32): Change return value to const char *.
(path_conv::set_path): Move back here from spawn.cc.
(parh_conv::modifiable_path): New function.
* path.cc (path_conv::add_ext_from_sym): Accommodate const'ness of
known_suffixes.
(path_conv::set_normalized_path): Ditto for normalized_path.
(path_conv::check): Use modifiable_path whereever we need to modify the path
element.  Use set_path to set the path.
(path_conv::~path_conv): Accommodate new const'ness.
* spawn.cc (perhaps_suffix): Declare ext as const since that's what is being
returned.
(path_conv::set_path): Move back to path.h.
* winf.f (linebuf): Perform minor cleanup.
(linebuf::fromargv): Change second parameter to const.
* winf.cc (linebuf::fromargv): Ditto.

15 years ago* path.h (path_conv::set_path): Change return value.
Christopher Faylor [Sat, 1 Aug 2009 17:55:58 +0000 (17:55 +0000)]
* path.h (path_conv::set_path): Change return value.
* spawn.cc (path_conv::set_path): Return newly set value.
(find_exec): Set retval to newly set value when calling set_path.

15 years ago* spawn.cc (find_exec): Fix one more path where retval was not set.
Christopher Faylor [Sat, 1 Aug 2009 03:36:44 +0000 (03:36 +0000)]
* spawn.cc (find_exec): Fix one more path where retval was not set.

15 years ago* spawn.cc (find_exec): Stop relying on the ability to set retval to a fixed
Christopher Faylor [Sat, 1 Aug 2009 03:27:51 +0000 (03:27 +0000)]
* spawn.cc (find_exec): Stop relying on the ability to set retval to a fixed
path_conv buffer and set it on the fly instead.

15 years agointl/
Ralf Wildenhues [Thu, 30 Jul 2009 22:44:48 +0000 (22:44 +0000)]
intl/
* Makefile.in (aclocal_deps): New variable.
($(srcdir)/aclocal.m4): Use it, for portable makefile syntax.

libdecnumber/
* Makefile.in (aclocal_deps): New variable.
($(srcdir)/aclocal.m4): Use it, for portable makefile syntax.

etc/
* Makefile.in (AUTOCONF, configure_deps): New variables.
($(srcdir)/configure, config.status): New rules.
(Makefile): Depend on config.status.
* configure.in: Accept --enable-maintainer-mode, set and
substitute MAINT accordingly.

gdb/
* Makefile.in (ACLOCAL, ACLOCAL_AMFLAGS, aclocal_m4_deps)
(AUTOCONF, configure_deps, AUTOHEADER): New variables.
($(srcdir)/aclocal.m4, $(srcdir)/configure, $(srcdir)/config.in)
(am--refresh): New rules.
(stamp-h, config.status): List config.in and configure including
$(srcdir)/ prefix.
* aclocal.m4: Regenerate.
* configure: Regenerate.

15 years ago * path.h (cstrdup): Fix declaration.
Corinna Vinschen [Thu, 30 Jul 2009 20:19:54 +0000 (20:19 +0000)]
* path.h (cstrdup): Fix declaration.

15 years agoconfig/
Ralf Wildenhues [Thu, 30 Jul 2009 19:43:16 +0000 (19:43 +0000)]
config/
* extensions.m4 (AC_USE_SYSTEM_EXTENSIONS): Do not expand
for Autoconf 2.62 or newer.
* tls.m4 (GCC_CHECK_TLS): Fix m4 quotation.
* no-executables.m4 (_AC_COMPILER_EXEEXT): Fix m4 quotation.
* override.m4 (m4_copy_force, m4_rename_force): Provide
macros if not defined.
(AC_PREREQ): Use m4_copy_force.

readline/examples/rlfe/
* configure.in: Correctly quote AC_PROGRAM_SOURCE definition.

15 years ago * globals.cc (enum exit_states::ES_GLOBAL_DTORS): Delete.
Corinna Vinschen [Thu, 30 Jul 2009 15:48:51 +0000 (15:48 +0000)]
* globals.cc (enum exit_states::ES_GLOBAL_DTORS): Delete.
* dcrt0.cc (__main): Schedule dll_global_dtors to run
atexit before global dtors.
(do_exit): Delete test for ES_GLOBAL_DTORS and call to
dll_global_dtors.

15 years ago * path.h (class path_conv): Convert path from char array to char *.
Corinna Vinschen [Thu, 30 Jul 2009 08:56:57 +0000 (08:56 +0000)]
* path.h (class path_conv): Convert path from char array to char *.
Initialize to NULL in constructors.  Drop normalized_path_size member.
(path_conv::size): Remove.
(path_conv::operator =): Always copy with sizeof path_conv.  Always
duplicate path on cygheap.
(path_conv::set_path): Move implementation to spawn.cc.
* path.cc (path_conv::set_normalized_path): Always allocate
normalized_path on cygheap.
(path_conv::check): Don't work on path, rather allocate THIS_path in
TLS and use it throughout.  When finished, allocate path on cygheap
and copy over.  Defer tacking on extension after having copied path.
* spawn.cc (path_conv::set_path): Implement here.

15 years agoFix formatting issue with last entry
Chris Sutcliffe [Thu, 30 Jul 2009 01:55:44 +0000 (01:55 +0000)]
Fix formatting issue with last entry

15 years ago2009-07-29 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 29 Jul 2009 22:33:40 +0000 (22:33 +0000)]
2009-07-29  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdlib/a64l.c: Fix to use 'a' instead of 'A' in calculation
        when a lower-case character is detected.

15 years ago * ppc64.h: Add R_PPC64_JMP_IREL, R_PPC64_REL16, R_PPC64_REL16_LO,
Alan Modra [Wed, 29 Jul 2009 14:55:20 +0000 (14:55 +0000)]
* ppc64.h: Add R_PPC64_JMP_IREL, R_PPC64_REL16, R_PPC64_REL16_LO,
R_PPC64_REL16_HI, R_PPC64_REL16_HA.

15 years ago * libc/stdlib/mbtowc_r.c (__utf8_mbtowc): Rework UTF-16 surrogate
Corinna Vinschen [Wed, 29 Jul 2009 08:31:30 +0000 (08:31 +0000)]
* libc/stdlib/mbtowc_r.c (__utf8_mbtowc): Rework UTF-16 surrogate
pair handling to be more bullet-proof even with incomplete UTF-8
sequences.  Add check for 4 byte sequences resulting in values
outside the valid Unicode range.  Add a comment to clarify checking
for invalid CESU-8 sequences.

15 years agoCorrect disposition of wchar_t output in printf().
Keith Marshall [Wed, 29 Jul 2009 07:22:51 +0000 (07:22 +0000)]
Correct disposition of wchar_t output in printf().

15 years ago* mep/gmap_default.ld: Add linkonce sections for .vtext.
DJ Delorie [Wed, 29 Jul 2009 00:57:57 +0000 (00:57 +0000)]
* mep/gmap_default.ld: Add linkonce sections for .vtext.
* mep/default.ld: Likewise.
* mep/fmax.ld: Likewise.
* mep/simple.ld: Likewise.

15 years ago * libc/stdlib/mbtowc_r.c (__utf8_mbtowc): Fix incrementing n in case
Corinna Vinschen [Tue, 28 Jul 2009 16:49:19 +0000 (16:49 +0000)]
* libc/stdlib/mbtowc_r.c (__utf8_mbtowc): Fix incrementing n in case
of handling incomplete sequences.

15 years ago * mount.h (enum fs_info_type): New type.
Corinna Vinschen [Tue, 28 Jul 2009 10:39:55 +0000 (10:39 +0000)]
* mount.h (enum fs_info_type): New type.
(IMPLEMENT_FS_FLAG): New define.
(class fs_info): Convert filesystem type status flags into an enum
fs_info_type.  Add cifs FS.  Revert change to has_buggy_open and
has_buggy_fileid_dirinfo.  Make them normal; status flags again.
Implement is_FS functions using IMPLEMENT_FS_FLAG.
* mount.cc (fs_info::update): Define MINIMAL_WIN_NTFS_FLAGS and
FS_IS_WINDOWS_NTFS.  Add comment.  Only test remote filesystems
for "NTFS" once.  Add is_cifs check using FS_IS_WINDOWS_NTFS.
Set has_buggy_open flag for SUNWNFS.  Set has_buggy_fileid_dirinfo
flag for UNIXFS and all cifs type filesystems.  Only check for
caseinsensitivity once.
(fillout_mntent): Create locale fs_names array.  Use for setting
_my_tls.locals.mnt_type.

15 years ago2009-07-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Tue, 28 Jul 2009 01:28:22 +0000 (01:28 +0000)]
2009-07-27  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * mingwex/stdio/pformat.c: Implement better fix for type punned warning.

15 years agoConvert to monolithic configuration procedure.
Keith Marshall [Mon, 27 Jul 2009 20:27:09 +0000 (20:27 +0000)]
Convert to monolithic configuration procedure.

15 years ago * include/winnt.h (FILE_SUPPORTS_HARD_LINKS,
Corinna Vinschen [Mon, 27 Jul 2009 11:40:26 +0000 (11:40 +0000)]
* include/winnt.h (FILE_SUPPORTS_HARD_LINKS,
FILE_SUPPORTS_EXTENDED_ATTRIBUTES, FILE_SUPPORTS_OPEN_BY_FILE_ID,
FILE_SUPPORTS_USN_JOURNALS): Define.  Add comment.
* include/ddk/ntifs.h: Ditto.
(FILE_SEQUENTIAL_WRITE_ONCE, FILE_SUPPORTS_TRANSACTIONS): Define.

15 years ago * posix.sgml (std-notes): Remove obsolete reference to CYGWIN=server.
Corinna Vinschen [Mon, 27 Jul 2009 08:05:47 +0000 (08:05 +0000)]
* posix.sgml (std-notes): Remove obsolete reference to CYGWIN=server.

15 years ago * posix.sgml (std-notes): Add flock restriction.
Corinna Vinschen [Sun, 26 Jul 2009 09:34:35 +0000 (09:34 +0000)]
* posix.sgml (std-notes): Add flock restriction.

15 years agobfd/
H.J. Lu [Sat, 25 Jul 2009 14:58:55 +0000 (14:58 +0000)]
bfd/

2009-07-25  H.J. Lu  <hongjiu.lu@intel.com>

* archures.c (bfd_architecture): Add bfd_arch_l1om.
(bfd_l1om_arch): New.
(bfd_archures_list): Add &bfd_l1om_arch.
* bfd-in2.h: Regenerated.

* config.bfd (targ64_selvecs): Add bfd_elf64_l1om_vec if
bfd_elf64_x86_64_vec is supported.  Add bfd_elf64_l1om_freebsd_vec
if bfd_elf64_x86_64_freebsd_vec is supported.
(targ_selvecs): Likewise.

* configure.in: Support bfd_elf64_l1om_vec and
bfd_elf64_l1om_freebsd_vec.
* configure: Regenerated.

* cpu-l1om.c: New.

* elf64-x86-64.c (elf64_l1om_elf_object_p): New.
(bfd_elf64_l1om_vec): Likewise.
(bfd_elf64_l1om_freebsd_vec): Likewise.

* Makefile.am (ALL_MACHINES): Add cpu-l1om.lo.
(ALL_MACHINES_CFILES): Add cpu-l1om.c.
* Makefile.in: Regenerated.

* targets.c (bfd_elf64_l1om_vec): New.
(bfd_elf64_l1om_freebsd_vec): Likewise.
(_bfd_target_vector): Add bfd_elf64_l1om_vec and
bfd_elf64_l1om_freebsd_vec.

binutils/

2009-07-25  H.J. Lu  <hongjiu.lu@intel.com>

* readelf.c (guess_is_rela): Handle EM_L1OM.
(dump_relocations): Likewise.
(get_machine_name): Likewise.
(get_section_type_name): Likewise.
(get_elf_section_flags): Likewise.
(get_symbol_index_type): Likewise.
(is_32bit_abs_reloc): Likewise.
(is_32bit_pcrel_reloc): Likewise.
(is_64bit_abs_reloc): Likewise.
(is_64bit_pcrel_reloc): Likewise.
(is_none_reloc): Likewise.

gas/

2009-07-25  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (cpu_arch): Add l1om.
(check_cpu_arch_compatible): New.
(set_cpu_arch): Use it.
(i386_arch): New.
(i386_mach): Return bfd_mach_l1om for Intel L1OM.
(md_show_usage): Display l1om.
(i386_target_format): Return ELF_TARGET_L1OM_FORMAT if
cpu_arch_isa_flags.bitfield.cpul1om is set.

* config/tc-i386.h (TARGET_ARCH): Use (i386_arch ()).
(i386_arch): New.
(ELF_TARGET_L1OM_FORMAT): Likewise.

* doc/c-i386.texi: Document l1om.

gas/testsuite/

2009-07-25  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/l1om.d: New.
* gas/i386/l1om-inval.l: Likewise.
* gas/i386/l1om-inval.s: Likewise.

* gas/i386/i386.exp: Run l1om-inval and l1om.

include/elf/

2009-07-25  H.J. Lu  <hongjiu.lu@intel.com>

* common.h (EM_L1OM): New.

ld/

2009-07-25  H.J. Lu  <hongjiu.lu@intel.com>

* configure.tgt (targ64_extra_emuls): Add elf_l1om if elf_x86_64
is supported.  Add elf_l1om_fbsd if elf_x86_64_fbsd is supported.
(targ_extra_emuls): Likewise.

* Makefile.am (ALL_64_EMULATIONS): Add eelf_l1om.o and
eelf_l1om_fbsd.o
(eelf_l1om.c): New.
(eelf_l1om_fbsd.c): Likewise.
* Makefile.in: Regenerated.

* emulparams/elf_l1om.sh: New.
* emulparams/elf_l1om_fbsd.sh: Likewise.

ld/testsuite/

2009-07-25  H.J. Lu  <hongjiu.lu@intel.com>

* ld-x86-64/abs-l1om.d: New.
* ld-x86-64/protected2-l1om.d: Likewise.
* ld-x86-64/protected3-l1om.d: Likewise.

* ld-x86-64/x86-64.exp: Run abs-l1om, protected2-l1om and
protected3-l1om.

opcodes/

2009-07-25  H.J. Lu  <hongjiu.lu@intel.com>

* configure.in: Handle bfd_l1om_arch.
* disassemble.c (disassembler): Likewise.

* configure: Regenerated.

* i386-dis.c (print_insn): Handle bfd_mach_l1om and
bfd_mach_l1om_intel_syntax.  Use 8 bytes per line for Intel L1OM.

* i386-gen.c (cpu_flag_init): Set CPU_UNKNOWN_FLAGS to ~CpuL1OM.
Add CPU_L1OM_FLAGS.
(cpu_flags): Add CpuL1OM.
(set_bitfield): Take an argument to set the value field.
(process_i386_cpu_flag): Support ~CpuXXX and ~(CpuXXX|CpuYYY).
(process_i386_opcode_modifier): Updated.
(process_i386_operand_type): Likewise.
* i386-init.h: Regenerated.
* i386-tbl.h: Likewise.

* i386-opc.h (CpuL1OM): New.
(CpuXsave): Updated.
(i386_cpu_flags): Add cpul1om.

15 years agomerge from gcc
DJ Delorie [Sat, 25 Jul 2009 11:28:15 +0000 (11:28 +0000)]
merge from gcc

15 years ago * fhandler_console.cc (set_console_title): Set buffer size to
Corinna Vinschen [Sat, 25 Jul 2009 08:27:10 +0000 (08:27 +0000)]
* fhandler_console.cc (set_console_title): Set buffer size to
TITLESIZE + 1.  Call sys_mbstowcs with correct destination length.

15 years agomerge from gcc
DJ Delorie [Sat, 25 Jul 2009 00:01:48 +0000 (00:01 +0000)]
merge from gcc

15 years ago* sigproc.h (wait_for_sigthread): Eliminate parameter.
Christopher Faylor [Fri, 24 Jul 2009 20:54:33 +0000 (20:54 +0000)]
* sigproc.h (wait_for_sigthread): Eliminate parameter.
* sigproc.cc (wait_for_sigthread): Ditto.  Don't synchronize with wait_sig
after receiving an event that it is ready to go.
(init_sig_pipe): New function.
(wait_sig): Call init_sig_pipe to create pipes for communicating signals to
this process.  Don't send sigCONT signal when initializing.
* fork.cc (frok::child): Accommodate wait_for_sigpipe parameter change.
* fhandler.h (fhandler_*::write): Make ssize_t/__stdcall.
(fhandler_*::write_overlapped): Ditto.
(fhandler_*::raw_write): Ditto.
(fhandler_*::readv): Ditto.
(fhandler_*::writev): Ditto.
(fhandler_*::raw_read): Make __stdcall.
* fhandler: Accommodate changes to read/write functions throughout.
* fhandler_clipboard.cc: Ditto.
* fhandler_console.cc: Ditto.
* fhandler_dsp.cc: Ditto.
* fhandler_fifo.cc: Ditto.
* fhandler_mailslot.cc: Ditto.
* fhandler_mem.cc: Ditto.
* fhandler_mem.cc: Ditto.
* fhandler_random.cc: Ditto.
* fhandler_tape.cc: Ditto.
* fhandler_tty.cc: Ditto.
* fhandler_virtual.cc: Ditto.
* fhandler_windows.cc: Ditto.
* fhandler_zero.cc: Ditto.
* syscalls.cc (readv): Use ssize_t as temp variable.
* fhandler.cc (fhandler_base::read): Coerce returned len to signed or it will
never be treated as < 0.
(fhandler_base::wait_overlapped): Minimize calls to GetLastError.  Remove
duplicate debugging test.  Fix error return.
* fhandler.h (fhandler_fifo::fifo_name): Declare new function.
(fhandler_fifo::close): Ditto.
(fhandler_fifo::dup): Ditto.
(fhandler_fifo::close_on_exec): Ditto.
* fhandler.cc (fhandler_fifo::fifo_name): Define new function.
(FIFO_BUF_SIZE): New define.
(cnp): Ditto.
(fhandler_fifo::open): Rework.  Use cnp to open named pipe.  Always open write
side as a client.  Open dummy client when writing and can't connect.
(wait): Rework.  Implement fifo_wait_for_next_client.  Handle signals during
connect better.  Add new fifo_wait_for_server code which polls
(sigh) waiting for server.
(fhandler_fifo::raw_read): Handle transition states when one client closes and
another is available.
(fhandler_fifo::close): Define.
(fhandler_fifo::dup): Ditto.
(fhandler_fifo::close_on_exec): Ditto.

15 years agoinclude/elf/
Trevor Smigiel [Fri, 24 Jul 2009 19:51:27 +0000 (19:51 +0000)]
include/elf/
        * spu.h (R_SPU_ADD_PIC): New.
bfd/
        * reloc.c (BFD_RELOC_SPU_ADD_PIC): Define.
        * bfd-in2.h: Regenerate.
        * libbfd.h: Regenerate.
        * elf32-spu.c (elf_howto_table): Add entries SPU_ADD_PIC.
        (spu_elf_bfd_to_reloc_type): Handle SPU_ADD_PIC.
        (spu_elf_relocate_section): Patch instructions marked by SPU_ADD_PIC.
gas/
        * config/tc-spu.c (md_apply_fix): Handle SPU_ADD_PIC.
        * config/tc-spu.h (tc_fix_adjustable): Don't adjust for SPU_ADD_PIC.
        (TC_FORCE_RELOCATION): Emit relocs for SPU_ADD_PIC.
ld/testsuite/
        * ld-spu/pic.d: New.
        * ld-spu/pic.s: New.
        * ld-spu/picdef.s: New.

15 years ago * syscalls.cc (internal_setlocale): Fix typo in GBK codepage.
Corinna Vinschen [Fri, 24 Jul 2009 18:24:57 +0000 (18:24 +0000)]
* syscalls.cc (internal_setlocale): Fix typo in GBK codepage.

15 years ago * syscalls.cc (unlink_nt): Ignore sharing violation on NFS. Align
Corinna Vinschen [Fri, 24 Jul 2009 14:13:44 +0000 (14:13 +0000)]
* syscalls.cc (unlink_nt): Ignore sharing violation on NFS.  Align
comments.

15 years ago2009-07-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Fri, 24 Jul 2009 01:29:38 +0000 (01:29 +0000)]
2009-07-23  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * msvcrt.def.in: disable time symbol for libmsvcr90.a and libmsvcr90d.a due
        to complaints that it causes issues.

15 years ago2009-07-23 Jacky Lai <crazyjacky@users.sourceforge.net>
Chris Sutcliffe [Fri, 24 Jul 2009 01:21:27 +0000 (01:21 +0000)]
2009-07-23  Jacky Lai  <crazyjacky@users.sourceforge.net>

        * mingwex/math/fminf.c: switch to using __isnanf() as opposed to _isnan().

15 years ago * config/obj-elf.c (obj_elf_type): Add code to support a type of
Nick Clifton [Thu, 23 Jul 2009 13:00:30 +0000 (13:00 +0000)]
    * config/obj-elf.c (obj_elf_type): Add code to support a type of
        gnu_unique_object.
        * doc/as.texinfo: Document new feature of .type directive.
        * NEWS: Mention support for gnu_unique_object symbol type.

        * common.h (STB_GNU_UNIQUE): Define.

        * NEWS: Mention the linker's support for symbols with a binding of
        STB_GNU_UNIQUE.

        * gas/elf/type.s: Add unique global symbol definition.
        * gas/elf/type.e: Add expected readelf output for global unique
        symbol.

        * elfcpp.h (enum STB): Add STB_GNU_UNIQUE.

        * readelf.c (get_symbol_binding): For Linux targeted files return
        UNIQUE for symbols with the STB_GNU_UNIQUE binding.
        * doc/binutils.texi: Document the meaning of the 'u' symbol
        binding in the output of nm and objdump --syms.

        * elf-bfd.h (struct elf_link_hash_entry): Add unique_global field.
        * elf.c (swap_out_syms): Set binding to STB_GNU_UNIQUE for symbols
        with the BSF_GNU_UNIQUE flag bit set.
        * elfcode.h (elf_slurp_symbol_table): Set the BSF_GNU_UNIQUE flag
        for symbols with STB_GNU_UNIQUE binding.
        * elflink.c (_bfd_elf_merge_symbol): Set unique_global for symbols
        with the STB_GNU_UNIQUE binding.
        (elf_link_add_object_symbols): Set the BSF_GNU_UNIQUE flag for
        symbols with STB_GNU_UNIQUE binding.  Set STB_GNU_UNIQUE for
        symbols with the unique_global field set.
        (elf_link_output_extsym): Set unique_global field for symbols with
        the STB_GNU_UNIQUE binding.
        * syms.c (struct bfd_symbol): Define BSF_GNU_UNIQUE flag bit.
        (bfd_print_symbol_vandf): Print a 'u' character for BSF_GNU_UNIQUE
        symbols.
        (bfd_decode_symclass): Return a 'u' character for BSF_GNU_UNIQUE
        symbols.
        * bfd-in2.h: Regenerate.

15 years ago * mount.h (fs_info::fsn): New member.
Corinna Vinschen [Thu, 23 Jul 2009 11:46:06 +0000 (11:46 +0000)]
* mount.h (fs_info::fsn): New member.
(fs_info::clear): Clear fsn.
(fs_info::fsname): New read accessor for fsn.
* mount.cc (fs_info::update): Fill in fsn member with lowercased
filesystem name if filesystem is not well-known.  Fall back to
"unknown" if filesystem name is missing.
(fillout_mntent): Print filesystem name retrieved in fs_info::update
rather than static string "unknown".

15 years ago * cygcheck.cc (dump_sysinfo): Add missing "Server Foundation" to
Corinna Vinschen [Thu, 23 Jul 2009 09:12:18 +0000 (09:12 +0000)]
* cygcheck.cc (dump_sysinfo): Add missing "Server Foundation" to
products array.

15 years ago * faq-using.xml (faq.using.ipv6): Try to clarify OS specific support.
Corinna Vinschen [Thu, 23 Jul 2009 08:49:06 +0000 (08:49 +0000)]
* faq-using.xml (faq.using.ipv6): Try to clarify OS specific support.
* faq-what.xml (faq.what.supported): Add Windows 7 and 2008 R2.
* new-features.sgml: Add "and later" to rcmd news.

15 years ago * mount.cc (fs_info::update): Revert to open filesystem with access set
Corinna Vinschen [Thu, 23 Jul 2009 07:51:55 +0000 (07:51 +0000)]
* mount.cc (fs_info::update): Revert to open filesystem with access set
to READ_CONTROL.  If that fails, try additionally with FILE_READ_DATA.

15 years ago * exceptions.cc (handle_exceptions): Set si_addr according to
Eric Blake [Thu, 23 Jul 2009 02:47:17 +0000 (02:47 +0000)]
* exceptions.cc (handle_exceptions): Set si_addr according to
POSIX for SIGSEGV.

15 years ago * mount.cc (fs_info::update): Open filesystem with access set to 0.
Corinna Vinschen [Wed, 22 Jul 2009 18:49:48 +0000 (18:49 +0000)]
* mount.cc (fs_info::update): Open filesystem with access set to 0.
Explain why.

15 years ago * mount.cc: Revert accidental checkin.
Corinna Vinschen [Wed, 22 Jul 2009 18:27:47 +0000 (18:27 +0000)]
* mount.cc: Revert accidental checkin.

15 years ago * path.cc (symlink_info::check): Handle STATUS_NOT_SUPPORTED from
Corinna Vinschen [Wed, 22 Jul 2009 18:21:09 +0000 (18:21 +0000)]
* path.cc (symlink_info::check): Handle STATUS_NOT_SUPPORTED from
NtCreateFile just like STATUS_EAS_NOT_SUPPORTED.

15 years ago * mount.cc (do_mount): Replace --no-executable flag with notexec
Corinna Vinschen [Wed, 22 Jul 2009 16:24:17 +0000 (16:24 +0000)]
* mount.cc (do_mount): Replace --no-executable flag with notexec
mount option in hint for remote filesystems.
* path.cc (getmntent): Fix typo (noexec -> notexec).

15 years ago * mount.cc (fillout_mntent): Fix typo (noexec -> notexec).
Corinna Vinschen [Wed, 22 Jul 2009 16:21:33 +0000 (16:21 +0000)]
* mount.cc (fillout_mntent): Fix typo (noexec -> notexec).

15 years ago * path.cc (symlink_info::check): Fix typo in comment.
Corinna Vinschen [Wed, 22 Jul 2009 15:55:47 +0000 (15:55 +0000)]
* path.cc (symlink_info::check): Fix typo in comment.

15 years ago * fhandler.h (enum del_lock_called_from): New enumeration.
Corinna Vinschen [Wed, 22 Jul 2009 15:46:36 +0000 (15:46 +0000)]
* fhandler.h (enum del_lock_called_from): New enumeration.
(fhandler_base::del_my_locks): Declare taking a del_lock_called_from
as argument.
* fhandler.cc (fhandler_base::close): Call del_my_locks with "on_close".
(fhandler_base::fixup_after_fork): Call del_my_locks with "after_fork".
(fhandler_base::fixup_after_exec): Call del_my_locks with "after_exec".
* flock.cc (fhandler_base::del_my_locks): Take del_lock_called_from
as argument.  Call node->del_my_locks with NULL handle in after_exec
case.  Explain why.

15 years ago * Makefile.in (path-mount.o): Add a rule to build stripped down version
Corinna Vinschen [Wed, 22 Jul 2009 10:20:26 +0000 (10:20 +0000)]
* Makefile.in (path-mount.o): Add a rule to build stripped down version
of path.cc for usage in mount.
(mount.exe): Add dependency to path-mount.o.
* mount.cc (force): Convert to bool value.  Accommodate throughout.
(from_fstab): New function.
(do_mount_from_fstab): New function.
(longopts): Add --all option.
(opts): Add -a option.
(usage): Document -a/--all option.
(main): Handle -a option as well as single parameter.
* path.cc: Add FSTAB_ONLY conditional to allow building path-mount.o.
(mount_table): Remove static storage class.
(max_mount_entry): Ditto.
(root_here): Unused.  Remove.
(from_fstab_line): Remove static.
* path.h (struct mnt_t): Define here rather than in path.cc.
(from_fstab_line): Declare.
(mount_table): Declare.
(max_mount_entry): Declare.
* utils.sgml (mount): Document -a/--all option and mounting of single
path from fstab files.

15 years agoAvoid a fault from locking a closed standard file.
Eric Blake [Wed, 22 Jul 2009 02:17:12 +0000 (02:17 +0000)]
Avoid a fault from locking a closed standard file.

* libc/stdio/fflush.c (_fflush_r): Give up early if stream has
been previously closed.

15 years agoAdd ccoutant to previous dwarf4 entry.
Doug Evans [Tue, 21 Jul 2009 19:06:39 +0000 (19:06 +0000)]
Add ccoutant to previous dwarf4 entry.

15 years ago * dtable.cc (dup2): Correct return value for no-op.
Corinna Vinschen [Tue, 21 Jul 2009 13:29:00 +0000 (13:29 +0000)]
* dtable.cc (dup2): Correct return value for no-op.

15 years ago * lib/msimg32.def (GetDCBrushColor, GetDCPenColor): Move entry points
Corinna Vinschen [Tue, 21 Jul 2009 09:39:02 +0000 (09:39 +0000)]
* lib/msimg32.def (GetDCBrushColor, GetDCPenColor): Move entry points
from here...
* lib/gdo32.dll: ...to here.

15 years ago * fhandler_disk_file.cc (fhandler_disk_file::fchmod): Add special case
Corinna Vinschen [Tue, 21 Jul 2009 08:10:36 +0000 (08:10 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fchmod): Add special case
for MVFS.  Explain why.
(fhandler_disk_file::utimens): Drop local variables lastaccess and
lastwrite.  Copy timestamps right into FILE_BASIC_INFORMATION structure
to avoid copying them twice.

15 years ago Add some dwarf4 values.
Doug Evans [Mon, 20 Jul 2009 20:57:39 +0000 (20:57 +0000)]
Add some dwarf4 values.
* dwarf2.h (enum dwarf_tag): Add DW_TAG_type_unit.
(enum dwarf_form): Add DW_FORM_sec_offset, DW_FORM_exprloc,
DW_FORM_flag_present, DW_FORM_sig8.
(enum dwarf_attribute): Add DW_AT_signature.

15 years ago * wincap.h (wincaps::has_always_all_codepages): New element.
Corinna Vinschen [Mon, 20 Jul 2009 15:44:55 +0000 (15:44 +0000)]
* wincap.h (wincaps::has_always_all_codepages): New element.
* wincap.cc: Implement above element throughout.
* wchar.h (__sjis_mbtowc): Declare.
(__eucjp_mbtowc): Ditto.
(__gbk_mbtowc): Ditto.
(__kr_mbtowc): Ditto.
(__big5_mbtowc): Ditto.
* syscalls.cc (internal_setlocale): Convert to char * function.
Return parameter by default.  Return NULL if request to use a
charset can't be satisfied due to missing codepage support in the
underlying OS.  Fix comment.
(setlocale): Store original locale.  Restore to original locale if
internal_setlocale returns NULL.

15 years ago * Makefile.in (all): Fix wrong target names.
Corinna Vinschen [Mon, 20 Jul 2009 15:08:08 +0000 (15:08 +0000)]
* Makefile.in (all): Fix wrong target names.
(cygwin-ug-net/cygwin-ug-net-nochunks.html.gz): Ditto.
(cygwin-ug-net/cygwin-ug-net.pdf): Convert to use docbook2pdf.
(cygwin-api/cygwin-api.pdf): Ditto.

15 years ago * fork.cc (fork): Create local tmp_pathbuf. Explain why.
Corinna Vinschen [Mon, 20 Jul 2009 14:16:06 +0000 (14:16 +0000)]
* fork.cc (fork): Create local tmp_pathbuf.  Explain why.

15 years ago * faq: Throughout, revert references to User's Guide to default URL.
Corinna Vinschen [Mon, 20 Jul 2009 10:10:48 +0000 (10:10 +0000)]
* faq: Throughout, revert references to User's Guide to default URL.

15 years ago * new-features.sgml (ov-new1.7-misc): Add stdc++ new/delete wrappers.
Corinna Vinschen [Mon, 20 Jul 2009 08:57:54 +0000 (08:57 +0000)]
* new-features.sgml (ov-new1.7-misc): Add stdc++ new/delete wrappers.

15 years ago * new-features.sgml (ov-new1.7-posix): Add WCONTINUED, WIFCONTINUED.
Corinna Vinschen [Mon, 20 Jul 2009 08:49:21 +0000 (08:49 +0000)]
* new-features.sgml (ov-new1.7-posix): Add WCONTINUED, WIFCONTINUED.

15 years ago * setup2.sgml (setup-locale-charsetlist): Fix ISO88-59-13 and -15
Corinna Vinschen [Mon, 20 Jul 2009 08:32:39 +0000 (08:32 +0000)]
* setup2.sgml (setup-locale-charsetlist): Fix ISO88-59-13 and -15
codepage numbers.

15 years ago* exceptions.cc (sig_handle_tty_stop): Set stopsig to SIGCONT when continuing.
Christopher Faylor [Sat, 18 Jul 2009 20:25:07 +0000 (20:25 +0000)]
* exceptions.cc (sig_handle_tty_stop): Set stopsig to SIGCONT when continuing.
(stopped_or_terminated): Honor WCONTINUED.
* wait.cc (wait4): Ditto.
* include/cygwin/wait.h (WCONTINUED): Define.
(__W_CONTINUED): Ditto.
(WIFCONTINUED): Ditto.

15 years ago2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
Chris Sutcliffe [Sat, 18 Jul 2009 15:19:03 +0000 (15:19 +0000)]
2009-07-18  Gregory McGarry  <gregorymcgarry@users.sourceforge.net>

        * include/inttypes.h include/math.h include/stdio.h include/stdlib.h
        include/string.h include/unistd.h include/wchar.h: Add __NO_INLINE__ guard
        to all inline functions.

15 years ago2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
Chris Sutcliffe [Sat, 18 Jul 2009 15:09:18 +0000 (15:09 +0000)]
2009-07-18  Gregory McGarry  <gregorymcgarry@users.sourceforge.net>

        * CRT_fp8.c: Add PCC alternative to GCC-specific constructs.
        * CRT_fp10.c: Ditto.

15 years ago2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
Chris Sutcliffe [Sat, 18 Jul 2009 15:05:20 +0000 (15:05 +0000)]
2009-07-18  Gregory McGarry  <gregorymcgarry@users.sourceforge.net>

        * cpu_features.c: replace gcc-specific construct with portable alternative
        and match the code a few lines above.
        * crt1.c: remove gcc-specific noreturn attribute with mingw alternative

15 years ago2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
Chris Sutcliffe [Sat, 18 Jul 2009 14:56:47 +0000 (14:56 +0000)]
2009-07-18  Gregory McGarry  <gregorymcgarry@users.sourceforge.net>

        * include/_mingw.h: Changes required for PCC compiler.

15 years ago2009-07-18 Jeff Lu <jll544@yahoo.com>
Chris Sutcliffe [Sat, 18 Jul 2009 14:41:23 +0000 (14:41 +0000)]
2009-07-18 Jeff Lu  <jll544@yahoo.com>

        * mingwex/usleep.c: round up to next ms

15 years ago2009-07-17 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Sat, 18 Jul 2009 01:39:52 +0000 (01:39 +0000)]
2009-07-17  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * mingwex/math/cephes_mconf.h mingwex/math/erfl.c mingwex/math/lgamma.c
        mingwex/math/lgammal.c mingwex/math/powl.c mingwex/math/sinhl.c
        mingwex/math/tanhl.c mingwex/math/tgamma.c mingwex/math/tgammal.c: Based on
        the fixes from the mingw-w64 code tree, fixed strict-aliasing issues.

15 years ago * libstdcxx_wrapper.cc (operator delete): Remove stray space in
Dave Korn [Fri, 17 Jul 2009 23:37:05 +0000 (23:37 +0000)]
* libstdcxx_wrapper.cc (operator delete):  Remove stray space in
asm name.

15 years agorevert erroneous checkin
Christopher Faylor [Fri, 17 Jul 2009 22:51:28 +0000 (22:51 +0000)]
revert erroneous checkin

15 years agomerge from gcc
DJ Delorie [Fri, 17 Jul 2009 20:20:39 +0000 (20:20 +0000)]
merge from gcc

15 years ago* cygtls.cc (_cygtls::init_exception_handler): Test for e, not e->prev or we
Christopher Faylor [Fri, 17 Jul 2009 18:17:11 +0000 (18:17 +0000)]
* cygtls.cc (_cygtls::init_exception_handler): Test for e, not e->prev or we
could still end up adding our handler twice.  Add comment explaining what we're
doing.
* dll_init.cc (dll_dllcrt0_1): Clarify comment.

15 years ago* cygtls.cc (_cygtls::init_exception_handler): Avoid adding our exception
Christopher Faylor [Fri, 17 Jul 2009 16:54:21 +0000 (16:54 +0000)]
* cygtls.cc (_cygtls::init_exception_handler): Avoid adding our exception
handler twice.

15 years ago * syscalls.cc (unlink_nt): Just return when a sharing violation
Corinna Vinschen [Fri, 17 Jul 2009 16:45:22 +0000 (16:45 +0000)]
* syscalls.cc (unlink_nt): Just return when a sharing violation
occurs on remote filesystems.

15 years ago PR other/40784
Joseph Myers [Fri, 17 Jul 2009 15:11:33 +0000 (15:11 +0000)]
PR other/40784
* tls.m4 (GCC_CHECK_TLS): Add extra quoting around argument to
AC_LINK_IFELSE.

15 years ago * globals.cc: Improve comment on R/O UNICODE_STRINGs.
Corinna Vinschen [Fri, 17 Jul 2009 09:00:19 +0000 (09:00 +0000)]
* globals.cc: Improve comment on R/O UNICODE_STRINGs.
* mount.h (class fs_info): Add is_mvfs bit.
* mount.cc (fs_info::update): Recognize MVFS remote filesystem.
(fillout_mntent): Reorder filesystem checks for speed.  Add
mvfs, unixfs, and sunwnfs filesystem types.
* path.h (class path_conv): Add fs_is_mvfs method.
* path.cc (symlink_worker): On MVFS, always create symlinks as
Windows shortcuts.  Explain why.

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