]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
15 years ago * configure.ac (ia64*-*-*vms*): Add case with no gdb or ld support.
Nick Clifton [Thu, 15 Jan 2009 12:55:46 +0000 (12:55 +0000)]
    * configure.ac (ia64*-*-*vms*): Add case with no gdb or ld support.
        * configure: Regenerate.

15 years ago * include/elf/ia64.h (SHT_IA_64_VMS_DISPLAY_NAME_INFO,
Nick Clifton [Thu, 15 Jan 2009 12:42:52 +0000 (12:42 +0000)]
    * include/elf/ia64.h (SHT_IA_64_VMS_DISPLAY_NAME_INFO,
        EF_IA_64_ARCHVER_1): New macros. Minor reformatting.

        * bfd/Makefile.am (BFD32_BACKENDS): Add new object vmsutil.lo
        (BFD32_BACKENDS_CFILES): Add new file vmsutil.c
        (vmsutil.lo): Add dependency rule
        * bfd/Makefile.in: Regenerate
        * bfd/config.bfd (ia64*-*-*vms*): Add case.
        * bfd/configure.in (bfd_elf64_ia64_vms_vec): Add case.
        * bfd/configure: Regenerate
        * bfd/vmsutil.[ch]: New files
        * bfd/elf-bfd.h (struct bfd_elf_special_section): Change type of
        attr to bfd_vma.
        * bfd/elfxx-ia64.c (elfNN_vms_post_process_headers,
        elfNN_vms_section_processing, elfNN_vms_final_write_processing,
        elfNN_vms_close_and_cleanup, elfNN_vms_section_from_shdr,
        elfNN_vms_object_p): New functions
        * bfd/targets.c (bfd_elf64_ia64_vms_vec): New target.

        * gas/configure.tgt(ia64-*-*vms*): New target.
        * gas/dwarf2dbg.h (dwarf2_loc_mark_labels): Make extern.
        * gas/tc.h (md_number_to_chars): Declare iff undefined.
        * gas/config/obj-elf.c (obj_elf_change_section): Change type of
        arg attr to bfd_vma.
        (obj_elf_parse_section_letters): Return a bfd_vma. Change type of
        variables attr, md_attr to bfd_vma.
        (obj_elf_section_word): Likewise.
        (obj_elf_section): Change type of variable attr to bfd_vma
        * gas/config/obj-elf.h (obj_elf_change_section): Change type of
        arg attr to bfd_vma
        * gas/config/tc-ia64.c (bfdver.h,time.h): Include.
        (ia64_elf_section_letter): Now returns a bfd_vma.
        Handle VMS specific attributes.
        (ia64_elf_section_flags): Arg attr now a bfd_vma.
        (ia64_init): Don't turn on dependency checking for VMS.
        (ia64_target_format): Check for VMS flag bit.
        (do_alias): Hande decc$ functions.
        (get_vms_time): New function.
        (ia64_vms_note): New function.
        * gas/config/tc-ia64.h (ia64_elf_section_letter): Now returns a bfd_vma.
        (ia64_elf_section_flags): Arg attr now a bfd_vma.
        (tc_init_after_args): Define for VMS.
        * gas/config/tc-alpha.c (alpha_elf_section_letter): Return a bfd_vma.
        (alpha_elf_section_flags): Change type of arg attr to bfd_vma.
        * gas/config/tc-alpha.h: Likewise.
        * gas/config/tc-i386.c (x86_64_section_letter): Return a bfd_vma.
        (x86_64_section_word): Return a bfd_vma.
        * gas/config/tc-i386.h: Likewise.
        * gas/config/tc-ip2k.c (ip2k_elf_section_flags): Change type of arg
        attr to bfd_vma.
        * gas/config/tc-ip2k.h: Likewise.
        * gas/config/tc-mep.c (mep_elf_section_letter): Return a bfd_vma.
        (mep_elf_section_flags): Change type of arg attr to bfd_vma.
        * gas/config/tc-mep.h: Likewise.
        * gas/config/tc-ppc.c  (ppc_section_letter): Return a bfd_vma.
        (ppc_section_word): Return a bfd_vma.
        (ppc_section_flags): Change type of arg attr to bfd_vma.
        * gas/config/tc-ppc.h: Likewise.
        * gas/config/te-vms.h (DWARF2_DIR_SHOULD_END_WITH_SEPARATOR,
        DWAR2_FILE_TIME_NAME, DWARF2_FILE_SIZE_NAME, DWARF2_FILEN_NAME):
        New file with new macros
        * gas/dwarf2dbg.c (get_filenum, out_file_list): Default and call new
        macros.

15 years ago * plugin-api.h (LDPS_BAD_HANDLE): New constant.
Cary Coutant [Thu, 15 Jan 2009 01:28:14 +0000 (01:28 +0000)]
* plugin-api.h (LDPS_BAD_HANDLE): New constant.
(ld_plugin_get_input_file): New typedef.
(ld_plugin_release_input_file): New typedef.
(LDPT_GET_INPUT_FILE, LDPT_RELEASE_INPUT_FILE): New constants.
(struct ld_plugin_tv): Add two new fields.

15 years ago Update the copyright notice of some of the files I missed
Joel Brobecker [Wed, 14 Jan 2009 10:53:04 +0000 (10:53 +0000)]
    Update the copyright notice of some of the files I missed
        in the previous copyright update.

15 years ago * libc/getopt.c (parse_long_options): Use fix from NetBSD's getopt
Corinna Vinschen [Tue, 13 Jan 2009 09:58:43 +0000 (09:58 +0000)]
* libc/getopt.c (parse_long_options): Use fix from NetBSD's getopt
to avoid false ambiguities.

15 years ago2009-01-12 Nathan Froyd <froydnj@codesourcery.com>
Jeff Johnston [Mon, 12 Jan 2009 23:32:37 +0000 (23:32 +0000)]
2009-01-12  Nathan Froyd  <froydnj@codesourcery.com>

        * libc/machine/powerpc/vfscanf.c (__sccl): Remove declaration.

15 years ago2009-01-12 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 12 Jan 2009 22:19:11 +0000 (22:19 +0000)]
2009-01-12  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdio/fwalk.c (__fwalk, __fwalk_reent): Remove locking of
        each fp.  Let the function being called lock the fp, if necessary.

15 years ago * syscalls.cc (enum bin_status): New type.
Corinna Vinschen [Mon, 12 Jan 2009 15:51:23 +0000 (15:51 +0000)]
* syscalls.cc (enum bin_status): New type.
(try_to_bin): Return bin_status.  Rename win32_path to pc.  Rename h
to fh.  Rename fh to tmp_fh.  Add code to set delete dispostion and
more code to replace file moved to bin by another, temporary file.
Add comments to explain why.
(unlink_nt): Replace move_to_bin with bin_stat.  Only set bin_stat
to move_to_bin for non-remote files.  As a last resort, call try_to_bin
if setting delete-on-close failed.  Only re-set R/O DOS attribute
and only close handle if it's still valid.

15 years ago * errno.cc (errmap): Set errno to ENOENT instead of ENOSHARE throughout.
Corinna Vinschen [Sun, 11 Jan 2009 16:13:11 +0000 (16:13 +0000)]
* errno.cc (errmap): Set errno to ENOENT instead of ENOSHARE throughout.
* path.cc (path_conv::check): Set to and check for ENOENT instead of
ENOSHARE.

* path.cc (symlink_info::check): Fix Samba 3.2.x comment.

15 years ago2009-01-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Sat, 10 Jan 2009 18:42:32 +0000 (18:42 +0000)]
2009-01-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>

        * include/_mingw.h: Increment version to 3.15.2.

15 years agogas/
Peter Bergner [Fri, 9 Jan 2009 18:50:57 +0000 (18:50 +0000)]
gas/
* config/tc-ppc.c (ppc_setup_opcodes): Remove PPC_OPCODE_NOPOWER4 test.
Test the new "deprecated" opcode field.

include/opcode/
* ppc.h (struct powerpc_opcode): New field "deprecated".
(PPC_OPCODE_NOPOWER4): Delete.

opcodes/
* ppc-opc.c (PPCNONE): Define.
(NOPOWER4): Delete.
(powerpc_opcodes): Initialize the new "deprecated" field.

15 years ago * mount.cc (mount_info::from_fstab_line): Always convert drive
Corinna Vinschen [Fri, 9 Jan 2009 16:20:26 +0000 (16:20 +0000)]
* mount.cc (mount_info::from_fstab_line): Always convert drive
letter in native path to uppercase.
* path.cc (normalize_win32_path): Ditto.
(path_prefix_p): Revert previous patch.

* path.cc (symlink_info::check): Check for STATUS_INVALID_PARAMETER
return code to circumvent weird behaviour of Samba 3.2.x shares.

15 years ago* include/sys/cygwin.h (CW_SETERRNO): Define.
Christopher Faylor [Fri, 9 Jan 2009 05:18:02 +0000 (05:18 +0000)]
* include/sys/cygwin.h (CW_SETERRNO): Define.
* external.cc (CW_SETERRNO): Implement.
* include/cygwin/version.h: Bump CYGWIN_VERSION_API_MINOR to 192 to reflect the
above change.
* path.cc (path_prefix_p): Treat X: as equivalent to x:.
* mkglobals_h: Remove unneeded #define.
* spawn.cc (spawn_guts): Avoid overly wordy initialization to zero.

15 years ago* ldd.cc: New file. First stab at implementing ldd-like functionality for
Christopher Faylor [Fri, 9 Jan 2009 05:11:57 +0000 (05:11 +0000)]
* ldd.cc: New file.  First stab at implementing ldd-like functionality for
Cygwin.
* Makefile.in (CYGWIN_BINS): Add ldd.
(ldd.exe): Use -lpsapi.

15 years ago * libc/fts.c (fts_build): Use DT_DIR case on Cygwin.
Corinna Vinschen [Thu, 8 Jan 2009 21:12:46 +0000 (21:12 +0000)]
* libc/fts.c (fts_build): Use DT_DIR case on Cygwin.
(fts_ufslinks): Fix using wrong structure member in Cygwin-specific
code.

15 years agoTypo fixes.
Ben Elliston [Thu, 8 Jan 2009 00:21:03 +0000 (00:21 +0000)]
Typo fixes.

15 years ago * libc/include/sys/stdio.h (_flockfile, _funlockfile): Fix typos.
Kazu Hirata [Thu, 8 Jan 2009 00:01:33 +0000 (00:01 +0000)]
* libc/include/sys/stdio.h (_flockfile, _funlockfile): Fix typos.

15 years ago2009-01-07 Ben Elliston <bje@au.ibm.com>
Jeff Johnston [Wed, 7 Jan 2009 22:10:29 +0000 (22:10 +0000)]
2009-01-07  Ben Elliston  <bje@au.ibm.com>

        * Makefile.in (all): Add `+' to the command line so that the
        command is always treated as $(MAKE).
        * doc/Makefile.in (datarootdir): Define.

15 years ago * ntdll.h: Reorder NT status flags. Fix a case difference. Add
Corinna Vinschen [Wed, 7 Jan 2009 18:18:23 +0000 (18:18 +0000)]
* ntdll.h: Reorder NT status flags.  Fix a case difference. Add
STATUS_CANNOT_DELETE flag.
* syscalls.cc (unlink_nt): Change initial NtOpenFile to request
FILE_SHARE_DELETE sharing mode.  Change comment accordingly.
If setting delete disposition failed with STATUS_CANNOT_DELETE, try
to delete using delete-on-close.  Explain why.
Rearrange setting R/O DOS attribute after trying to delete.  Simplify
comment.

15 years ago * fhandler_disk_file.cc (fhandler_disk_file::link): Only add .exe if
Corinna Vinschen [Wed, 7 Jan 2009 14:12:40 +0000 (14:12 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::link): Only add .exe if
original file has .exe as well.
* path.cc (path_conv::is_binary): Only recognize Windows 32 and 64 bit
apps as binaries.

15 years ago * include/winbase.h (SCS_64BIT_BINARY): Define.
Corinna Vinschen [Wed, 7 Jan 2009 14:11:57 +0000 (14:11 +0000)]
* include/winbase.h (SCS_64BIT_BINARY): Define.

15 years ago * callback.h (struct host_callback_struct): Mark member error as
Hans-Peter Nilsson [Tue, 6 Jan 2009 23:38:44 +0000 (23:38 +0000)]
* callback.h (struct host_callback_struct): Mark member error as
pointing to a noreturn function.

15 years ago * cygcheck.cc (dump_sysinfo_services): Quote the path for popen.
Pierre Humblet [Tue, 6 Jan 2009 04:11:23 +0000 (04:11 +0000)]
    * cygcheck.cc (dump_sysinfo_services): Quote the path for popen.

15 years ago2009-01-05 Craig Howland <howland@LGSInnovations.com>
Jeff Johnston [Mon, 5 Jan 2009 19:08:03 +0000 (19:08 +0000)]
2009-01-05  Craig Howland <howland@LGSInnovations.com>

        * libc/stdio/fwide.c:  Correct typo in TRAD_SYNOPSIS for _fwide_r.

15 years agoFix MinGW-Bug [2445962]; (reported by Keishi Suenaga).
Keith Marshall [Sun, 4 Jan 2009 17:35:36 +0000 (17:35 +0000)]
Fix MinGW-Bug [2445962]; (reported by Keishi Suenaga).

15 years ago* Makefile.in (CFLAGS): Look in cygwin's build directory for header files.
Christopher Faylor [Sat, 3 Jan 2009 05:37:34 +0000 (05:37 +0000)]
* Makefile.in (CFLAGS): Look in cygwin's build directory for header files.

15 years agocorrect
Christopher Faylor [Sat, 3 Jan 2009 05:13:35 +0000 (05:13 +0000)]
correct

15 years agoRemove unneeded header files from source files throughout. Update copyrights
Christopher Faylor [Sat, 3 Jan 2009 05:12:22 +0000 (05:12 +0000)]
Remove unneeded header files from source files throughout.  Update copyrights
where appropriate.
* globals.cc: New file for generic global variables.
* mkglobals_h: New file to generate globals.h.
* mkstatic: New Script used to build a (currently non-working) static
libcygwin_s.a.
* Makefile.in: Add unused rule to build a non-working libcygwin_s.a.
(DLL_OFILES): Add globals.o.  Make all objects rely on globals.h.
(globals.h): New target.  Generate globals.h.
* cygtls.h: Honor new CYGTLS_HANDLE define to control when the HANDLE operator
is allowed in _cygtls.
* dcrt0.cc: Move most globals to globals.cc.
* init.cc: Ditto.
* environ.cc (strip_title_path): Remove now-unneeded extern.
* fhandler_serial.cc (fhandler_serial::open): Ditto.
* pinfo.cc: Ditto.
(commune_process): Ditto.
* shared.cc: Ditto.
* glob.cc: Ditto.
* strace.cc: Ditto.
* exceptions.cc: Define CYGTLS_HANDLE before including winsup.h.
* path.cc (stat_suffixes): Move here.
* security.h: Add forward class path_conv declaration.
* smallprint.cc (__small_vsprintf): Make a true c++ function.
(__small_sprintf): Ditto.
(small_printf): Ditto.
(console_printf): Ditto.
(__small_vswprintf): Ditto.
(__small_swprintf): Ditto.
* spawn.cc (spawn_guts): Remove _stdcall decoration in favor of regparm.
(hExeced): Move to globals.cc
* strfuncs.cc (current_codepage): Ditto.
(active_codepage): Ditto.
* sync.cc (lock_process::locker): Move here from dcrt0.cc.
* syscalls.cc (stat_suffixes): Move to path.cc.
* tty.cc (tty::create_master): Uncapitalize fatal warning for consistency.
* winsup.h: Include globals.h to declare most of the grab bag list of globals
which were previously defined here.
* mount.h: Move USER_* defines back to shared_info.h.
* speclib: Force temporary directory cleanup.

15 years agoYear-end rollover.
Christopher Faylor [Sat, 3 Jan 2009 02:27:46 +0000 (02:27 +0000)]
Year-end rollover.

15 years ago* speclib: Rewrite completely in perl. Avoid multiple nm calls.
Christopher Faylor [Fri, 2 Jan 2009 06:57:14 +0000 (06:57 +0000)]
* speclib: Rewrite completely in perl.  Avoid multiple nm calls.

15 years ago* include/cygwin/version.h: Bump CYGWIN_VERSION_API_MINOR to 191.
Christopher Faylor [Wed, 31 Dec 2008 21:47:45 +0000 (21:47 +0000)]
* include/cygwin/version.h: Bump CYGWIN_VERSION_API_MINOR to 191.

15 years ago* glob_pattern_p.cc: New file.
Christopher Faylor [Wed, 31 Dec 2008 21:33:34 +0000 (21:33 +0000)]
* glob_pattern_p.cc: New file.
* Makefile.in (DLL_OFILES): Add glob_pattern_p.o.
* glob.h: Add declaration for glob_pattern_p.
* pinfo.cc (pinfo::thisproc): Remove __stdcall attribute.

15 years agoCorrect mishandling of invalid characters in printf() format specs.
Keith Marshall [Wed, 31 Dec 2008 15:34:09 +0000 (15:34 +0000)]
Correct mishandling of invalid characters in printf() format specs.

15 years ago* include/bits/wordsize.h: New linux-compatibility header.
Christopher Faylor [Wed, 31 Dec 2008 04:12:44 +0000 (04:12 +0000)]
* include/bits/wordsize.h: New linux-compatibility header.

15 years ago * cygcheck.cc (pretty_id): Quote the path for popen.
Pierre Humblet [Wed, 31 Dec 2008 01:44:36 +0000 (01:44 +0000)]
    * cygcheck.cc (pretty_id): Quote the path for popen.
        (dump_sysinfo_services): Ditto.

15 years ago* exceptions.cc (try_to_debug): Avoid creating a huge buffer on the stack.
Christopher Faylor [Tue, 30 Dec 2008 18:18:09 +0000 (18:18 +0000)]
* exceptions.cc (try_to_debug): Avoid creating a huge buffer on the stack.

15 years ago* mount.cc: Change comment.
Christopher Faylor [Thu, 25 Dec 2008 15:55:31 +0000 (15:55 +0000)]
* mount.cc: Change comment.
(smb_extended_info): Move here from path.cc.
(fs_info::update): Ditto.
(mount_info::create_root_entry): Delay conversion to slashes and use passed in
buffer to figure out fs type.
* path.cc (smb_extended_info): Move.
(fs_info::update): Ditto.
* mount.h: New file.  Move mount information here.
* path.h: (fs_info::update): Move.
* shared_info.h (mount_item): Ditto.

15 years ago* path.cc (symlink_info::check_shortcut): Ensure that symlink handle is closed
Christopher Faylor [Wed, 24 Dec 2008 16:34:38 +0000 (16:34 +0000)]
* path.cc (symlink_info::check_shortcut): Ensure that symlink handle is closed
on successful return.

15 years agoAdd LM32 port.
Nick Clifton [Tue, 23 Dec 2008 19:10:21 +0000 (19:10 +0000)]
Add LM32 port.

15 years ago* fhandler.h (fhandler_base_setup_overlapped): Add new argument.
Christopher Faylor [Tue, 23 Dec 2008 18:22:33 +0000 (18:22 +0000)]
* fhandler.h (fhandler_base_setup_overlapped): Add new argument.
(fhandler_base::get_overlapped_buffer): Declare new function.
(fhandler_base::set_overlapped): Ditto.
(fhandler_pipe::overlapped): New variable.
(fhandler_pipe::get_overlapped): Rework to return contents of overlapped
variable.
(fhandler_pipe::set_overlapped): Set overlapped variable based on argument.
(fhandler_fifo::get_overlapped_buffer): Return pointer to io_status.
* fhandler.cc (handler_base::setup_overlapped): Set to overlapped pointer to
NULL if new doit parameter is false.  Otherwise set up overlapped event as
usual.
(fhandler_base::wait_overlapped): Return inres if this isn't an overlapped
operation.
(fhandler_base::read_overlapped): Remove inappropriate asserts.
* pipe.cc (fhandler_pipe::fhandler_pipe): Zero overlapped element.
(struct pipesync): Delete.
(getov_result): Ditto.
(pipe_handler): Ditto.
(pipesync::pipesync): Ditto.
(fhandler_pipe::init): Don't set up pipesync thread.  Just pass opened_properly
flag along to overlapped setup.

15 years ago * coffcode.h (coff_write_object_contents): Always initialise
Nick Clifton [Tue, 23 Dec 2008 10:59:56 +0000 (10:59 +0000)]
        * coffcode.h (coff_write_object_contents): Always initialise
            section.s_page.

            * ti.h (COFF_ADJUST_SCNHDR_OUT_PRE): Define.

15 years agoRemove STT_IFUNC support.
Nick Clifton [Tue, 23 Dec 2008 09:01:50 +0000 (09:01 +0000)]
Remove STT_IFUNC support.

15 years ago2008-12-19 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 22 Dec 2008 19:45:56 +0000 (19:45 +0000)]
2008-12-19  Jeff Johnston  <jjohnstn@redhat.com>

        * NEWS: Update with 1.17.0 info.
        * README: Ditto.
        * acinclude.m4: Change version number to 1.17.0.
        * aclocal.m4: Regenerated.
        * configure: Ditto.
        * doc/aclocal.m4: Ditto.
        * doc/configure: Ditto.
        * libc/*/aclocal.m4: Ditto.
        * libc/*/configure: Ditto.
        * libc/libc.texinfo: Ditto.
        * libm/*/aclocal.m4: Ditto.
        * libm/*/configure: Ditto.
        * libm/libm.texinfo: Ditto.
        * libc/sys/linux/shared.ld: Add VERS_1.17

15 years ago* pipe.cc (getov_result): Minor cleanup.
Christopher Faylor [Mon, 22 Dec 2008 19:18:00 +0000 (19:18 +0000)]
* pipe.cc (getov_result): Minor cleanup.

15 years agoAdd missing ChangeLog entries for my last commit.
Ralf Wildenhues [Sun, 21 Dec 2008 12:45:51 +0000 (12:45 +0000)]
Add missing ChangeLog entries for my last commit.

15 years ago* pipe.cc (getov_result): Add parameters to facilitate better EOF checking.
Christopher Faylor [Sun, 21 Dec 2008 01:54:32 +0000 (01:54 +0000)]
* pipe.cc (getov_result): Add parameters to facilitate better EOF checking.
(pipe_handler): Pass extra arguments to getov_result.

15 years ago* fhandler.cc (fhandler_base::wait_overlapped): Reorganize to eliminate gotos
Christopher Faylor [Sat, 20 Dec 2008 19:20:00 +0000 (19:20 +0000)]
* fhandler.cc (fhandler_base::wait_overlapped): Reorganize to eliminate gotos
and to hopefully eliminate one race when a signal is detected or there is a
WFMO error.

15 years ago* pinfo.h (pinfo::thisproc): Declare. Rename from set_myself.
Christopher Faylor [Sat, 20 Dec 2008 17:32:31 +0000 (17:32 +0000)]
* pinfo.h (pinfo::thisproc): Declare.  Rename from set_myself.
* pinfo.cc (pinfo::thisproc): Define.  Rename from set_myself.  Set procinfo to
NULL to avoid confusing subsequent init.
(pinfo_init): Accommodate set_myself -> pinfo::thisproc rename.
* dcrt0.cc (child_info_fork::handle_fork): Ditto.
(child_info_spawn::handle_spawn): Ditto.

15 years ago * pwdgrp.h (pwdgrp::refresh): Fix indentation.
Corinna Vinschen [Sat, 20 Dec 2008 09:35:18 +0000 (09:35 +0000)]
* pwdgrp.h (pwdgrp::refresh): Fix indentation.
* uinfo.cc (pwdgrp::load): Open file synchronized to avoid truncated
read.  Drop local variable off.

15 years ago2008-12-16 Danny Smith <dannysmith@users.sourceforge.net>
Chris Sutcliffe [Sat, 20 Dec 2008 03:55:37 +0000 (03:55 +0000)]
2008-12-16 Danny Smith <dannysmith@users.sourceforge.net>

        * msvcrt.def.in (___lc_codepage_func, ___lc_collate_cp_func,
        ___lc_handle_func, ___mb_cur_max_func, ___setlc_active_func,
        ___unguarded_readlc_active_add_func, __crtCompareStringW,
        __crtGetStringTypeW, __crtLCMapStringW, __pctype_func,
        __pwctype_func, __iob_func, __uncaught_exception, __wcserror,
        __CxxDetectRethrow, __CxxExceptionFilter, __CxxQueryExceptionSize,
        __CxxRegisterExceptionObject, __CxxUnregisterExceptionObject,
        __CxxCallUnwindDtor, __DestructExceptionObject, _aligned_free,
        _aligned_malloc, _aligned_offset_malloc, _aligned_offset_realloc,
        _aligned_realloc, _cgetws, _cputws, _cwprintf, _cwscanf, _getwch,
        _getwche, _putwch, _resetstkoflw, _scprintf, _scwprintf,
        _set_SSE2_enable, _snscanf, _snwscanf, _strtoi64, _strtoui64,
        _ungetwch, _vscprintf, _vscwprintf, _wcserror, _wcstoi64,
        _wcstoui64, _wctype, _wtof, _get_heap_handle): Always export.

15 years ago * cris.h (R_CRIS_32_IE): New relocation.
Hans-Peter Nilsson [Sat, 20 Dec 2008 00:24:16 +0000 (00:24 +0000)]
* cris.h (R_CRIS_32_IE): New relocation.

15 years ago* pinfo.cc (pinfo_basic): New class.
Christopher Faylor [Fri, 19 Dec 2008 19:09:51 +0000 (19:09 +0000)]
* pinfo.cc (pinfo_basic): New class.
(pinfo_basic::pinfo_basic): Define constructor for new class.
(myself): Initialize from myself_initial.
(set_myself): Set pid and progname from already myself_initial.
* strace.cc (strace::strace): Split apart strace::hello.  Send notification to
strace as early as possible.
(strace::hello): Just send clause which describes the current process.  This
can now be preceded by early initialization strace output.
* include/sys/strace.h (strace::strace): Declare new constructor.

15 years ago * fhandler_registry.cc (perf_data_files): New table.
Corinna Vinschen [Fri, 19 Dec 2008 14:31:40 +0000 (14:31 +0000)]
* fhandler_registry.cc (perf_data_files): New table.
(PERF_DATA_FILE_COUNT): New constant.
(fhandler_registry::exists): Add check for HKEY_PERFORMANCE_DATA
value names.
(fhandler_registry::fstat): For HKEY_PERFORMANCE_DATA, return
default values only.
(fhandler_registry::readdir): For HKEY_PERFORMANCE_DATA, list
names from perf_data_files only.
(fhandler_registry::fill_filebuf): Use larger buffer to speed up
access to HKEY_PERFORMANCE_DATA values.  Remove check for possible
subkey.  Add RegCloseKey ().
(open_key): Replace goto by break, remove label.  Do not try to
open subkey of HKEY_PERFORMANCE_DATA.  Add missing RegCloseKey ()
after open subkey error.

15 years ago * path.cc (path_conv::check): Handle incoming DOS paths non-POSIXy,
Corinna Vinschen [Fri, 19 Dec 2008 12:15:33 +0000 (12:15 +0000)]
* path.cc (path_conv::check): Handle incoming DOS paths non-POSIXy,
always case-insensitive, always ignoring ACLs.

15 years ago Backport link test fix from upstream Libtool:
Ralf Wildenhues [Thu, 18 Dec 2008 21:36:44 +0000 (21:36 +0000)]
Backport link test fix from upstream Libtool:

* libltdl.m4 (_LT_SYS_DYNAMIC_LINKER, _LT_LINKER_SHLIBS):
Add cache variables to tests that require the linker to work.
For shlibpath_overrides_runpath, this also changes the semantics
to let the result from the C compiler take precedence.
compiler take precedence.

binutils/

* configure: Regenerate.

opcodes/

* configure: Regenerate.

bfd/

* configure: Regenerate.

gas/

* configure: Regenerate.

gprof/

* configure: Regenerate.

ld/

* configure: Regenerate.

15 years ago * fhandler_disk_file.cc: Set 4th parameter of NtQueryDirectoryFile to
Corinna Vinschen [Thu, 18 Dec 2008 18:54:25 +0000 (18:54 +0000)]
* fhandler_disk_file.cc: Set 4th parameter of NtQueryDirectoryFile to
NULL throughout.
(fhandler_disk_file::facl): Fix a condition so that fstat_by_handle
is actually used.
(fhandler_disk_file::readdir): Don't print debug message on a simple
STATUS_NO_MORE_FILES status code.

15 years ago * path.cc (symlin_info::check): Set 4th parameter of
Corinna Vinschen [Thu, 18 Dec 2008 15:37:19 +0000 (15:37 +0000)]
* path.cc (symlin_info::check): Set 4th parameter of
NtQueryDirectoryFile to NULL instead of 0 since it's a pointer.
Simplify label and break from loop handling in symlink evaluation
conditional expression.  Drop a now useless break statement.  Fix
behaviour when searching for `foo' and then finding a `foo.lnk'
which is no shortcut.

15 years ago * config.sub, config.guess: Update from upstream sources.
Ben Elliston [Thu, 18 Dec 2008 03:26:46 +0000 (03:26 +0000)]
* config.sub, config.guess: Update from upstream sources.

15 years ago2008-12-17 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 17 Dec 2008 23:16:07 +0000 (23:16 +0000)]
2008-12-17  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.NEWLIB: Updated.
        * COPYING.LIBGLOSS: Ditto.

15 years ago2008-12-17 Jon Beniston <jon@beniston.com>
Jeff Johnston [Wed, 17 Dec 2008 23:09:09 +0000 (23:09 +0000)]
2008-12-17  Jon Beniston <jon@beniston.com>

        * configure.host: Set syscall_dir for lm32 target.

15 years ago2008-12-17 Jon Beniston <jon@beniston.com>
Jeff Johnston [Wed, 17 Dec 2008 23:08:09 +0000 (23:08 +0000)]
2008-12-17  Jon Beniston <jon@beniston.com>

        * README: Add description of lm32 directory.
        * configure.in: Add lm32 target.
        * configure: Regenerated.
        * libnosys/configure.in: Add lm32 target.
        * libnosys/configure: Regenerated.
        * lm32: New directory.
        * lm32/aclocal.m4: New file.
        * lm32/Makefile.in: New file.
        * lm32/configure.in: New file.
        * lm32/configure: New file.
        * lm32/crt0.S: New file.
        * lm32/isatty.c: New file.
        * lm32/scall.S: New file.
        * lm32/sim.ld: New file.

15 years ago2008-12-16 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Tue, 16 Dec 2008 12:31:18 +0000 (12:31 +0000)]
2008-12-16  Paolo Bonzini  <bonzini@gnu.org>

Sync with GCC:

2008-12-12  Sebastian Pop  <sebastian.pop@amd.com>

* configure.ac (ppllibs): Add by default the lib flags.
* configure: Regenerate.

2008-12-04  Jack Howarth  <howarth@bromo.med.uc.edu>

        * configure.ac: Add double brackets on darwin[912].
        * configure: Regenerate.

2008-12-02  Jack Howarth  <howarth@bromo.med.uc.edu>

        * configure.ac: Expand to darwin10 and later.
        * configure: Regenerate.

15 years ago * utils.sgml: Fix typo in passwd screen text.
Corinna Vinschen [Tue, 16 Dec 2008 10:56:33 +0000 (10:56 +0000)]
* utils.sgml: Fix typo in passwd screen text.

15 years ago * fhandler_registry.cc (DEFAULT_VALUE_NAME): Remove constant.
Corinna Vinschen [Tue, 16 Dec 2008 09:20:05 +0000 (09:20 +0000)]
* fhandler_registry.cc (DEFAULT_VALUE_NAME): Remove constant.
(encode_regname): Encode empty (default) name to "@".
Encode "@" to "%40".  Change error return to -1.
(decode_regname): Decode "@" to empty name.  Decode "%40" to "@".
(fhandler_registry::exists): Skip check for keys if name is empty.
Remove check for DEFAULT_VALUE_NAME, now handled by decode_regname ().
(fhandler_registry::readdir): Remove check for empty name, now
handled by encode_regname ().
(fhandler_registry::open): Remove check for DEFAULT_VALUE_NAME.
(fhandler_registry::open_key): Fail with ENOENT if key name is empty.

15 years ago * syscalls.cc (gen_full_path_at): Use isabspath instead of isdirsep
Corinna Vinschen [Mon, 15 Dec 2008 20:53:18 +0000 (20:53 +0000)]
* syscalls.cc (gen_full_path_at): Use isabspath instead of isdirsep
to recognize absolute path.

15 years ago2008-12-15 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 15 Dec 2008 20:31:47 +0000 (20:31 +0000)]
2008-12-15  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdio/stdio.tex: Remove putwc and getwc references as they
        are included as part of fputwc and fgetwc, respectively.

15 years ago * sec_auth.cc (open_local_policy): Set lsa handle to
Corinna Vinschen [Mon, 15 Dec 2008 20:25:44 +0000 (20:25 +0000)]
* sec_auth.cc (open_local_policy): Set lsa handle to
INVALID_HANDLE_VALUE when LsaOpenPolicy fails.  Explain why.

15 years ago * setlsapwd.cc (setlsapwd): Simplify code. Only try to call cygserver
Corinna Vinschen [Mon, 15 Dec 2008 18:07:35 +0000 (18:07 +0000)]
* setlsapwd.cc (setlsapwd): Simplify code.  Only try to call cygserver
if opening local policy fails.  Don't treat removing non-existant
private data as error.

15 years ago * setpwd.cc (client_request_setpwd::serve): Don't treat removing
Corinna Vinschen [Mon, 15 Dec 2008 18:05:50 +0000 (18:05 +0000)]
* setpwd.cc (client_request_setpwd::serve): Don't treat removing
non-existant private data as error.

15 years ago * setlsapwd.cc (setlsapwd): Explicitely erase password buffer content
Corinna Vinschen [Mon, 15 Dec 2008 17:39:39 +0000 (17:39 +0000)]
* setlsapwd.cc (setlsapwd): Explicitely erase password buffer content
after usage.

15 years ago * setpwd.cc (client_request_setpwd::serve): Explicitely erase password
Corinna Vinschen [Mon, 15 Dec 2008 17:39:21 +0000 (17:39 +0000)]
* setpwd.cc (client_request_setpwd::serve): Explicitely erase password
buffer content after usage.

15 years ago * passwd.c (main): Put how to delete the registry password on its own
Corinna Vinschen [Mon, 15 Dec 2008 17:33:08 +0000 (17:33 +0000)]
* passwd.c (main): Put how to delete the registry password on its own
line in passwd -R output.

15 years ago * fhandler_registry.cc (fhandler_registry::exists): Handle EACCES.
Corinna Vinschen [Mon, 15 Dec 2008 12:51:46 +0000 (12:51 +0000)]
* fhandler_registry.cc (fhandler_registry::exists): Handle EACCES.
(fhandler_registry::open): Ditto.

15 years ago * cygwin.din: Export fgetwc, fgetws, fputwc, fputws, fwide, getwc,
Corinna Vinschen [Mon, 15 Dec 2008 12:40:29 +0000 (12:40 +0000)]
* cygwin.din: Export fgetwc, fgetws, fputwc, fputws, fwide, getwc,
getwchar, putwc, putwchar, ungetwc.
* posix.sgml: Move above functions (add missing) into "implemented
SUSv3" section.
* include/cygwin/version.h: Bump api minor number.

15 years ago * fhandler.h (class fhandler_registry): Declare dup method.
Corinna Vinschen [Mon, 15 Dec 2008 12:33:27 +0000 (12:33 +0000)]
* fhandler.h (class fhandler_registry): Declare dup method.
* fhandler_registry.cc (fhandler_registry::exists): Fix missing
parenthesis.
(fhandler_registry::dup): New method.

15 years ago * gcc.sgml: Use 'bash$' as Cygwin prompt throughout.
Corinna Vinschen [Mon, 15 Dec 2008 09:37:50 +0000 (09:37 +0000)]
* gcc.sgml: Use 'bash$' as Cygwin prompt throughout.
* gdb.sgml: Ditto.
* pathnames.sgml: Ditto.  Fix the @ expansion example.

15 years ago* fhandler_disk_file.cc (readdir_get_ino): Don't complain about MS-DOS paths
Christopher Faylor [Sun, 14 Dec 2008 06:01:46 +0000 (06:01 +0000)]
* fhandler_disk_file.cc (readdir_get_ino): Don't complain about MS-DOS paths
since the function could be fed one by an internal call.

15 years ago* utils.sgml: Convert some backslashes to slashes.
Christopher Faylor [Sat, 13 Dec 2008 22:43:54 +0000 (22:43 +0000)]
* utils.sgml: Convert some backslashes to slashes.

15 years ago* pathnames.sgml: Convert some backslashes to slashes.
Christopher Faylor [Sat, 13 Dec 2008 21:14:44 +0000 (21:14 +0000)]
* pathnames.sgml: Convert some backslashes to slashes.

15 years ago* cygheap.cc (cygheap_user::~cygheap_user): Remove unneeded if 0'ed code.
Christopher Faylor [Sat, 13 Dec 2008 21:05:31 +0000 (21:05 +0000)]
* cygheap.cc (cygheap_user::~cygheap_user): Remove unneeded if 0'ed code.
* fhandler_registry.cc (fhandler_registry::exists): Recode goto as if/else to
avoid a gcc4 compiler warning.
(fhandler_registry::open): Ditto.  Use one goto rather than two.
* gentls_offsets: Fix compiler warning in generated output.
* tlsoffsets.h: Regenerate.
* mount.cc (fillout_mntent): slashify native paths returned via getmntent.

15 years ago2008-12-12 Craig Howland <howland@LGSInnovations.com>
Jeff Johnston [Fri, 12 Dec 2008 19:47:05 +0000 (19:47 +0000)]
2008-12-12  Craig Howland <howland@LGSInnovations.com>

        * libc/include/wchar.h:  Added wcstok() declaration.
        * libc/string/wcstok.c: New file, implementing wcstok.
        * libc/string/Makefile.am: Add wcstok support.
        * libc/string/wcstrings.tex: Ditto.
        * libc/string/Makefile.in: Regenerated.

15 years ago2008-12-12 Ralf Corsepius <ralf.corsepius@rtems.org>
Jeff Johnston [Fri, 12 Dec 2008 17:21:08 +0000 (17:21 +0000)]
2008-12-12  Ralf Corsepius  <ralf.corsepius@rtems.org>

        * libc/stdio/fputws.c: Fix documentation.
        * libc/stdio/getwchar.c: Ditto.
        * libc/stdio/putwchar.c: Ditto.

15 years ago2008-12-12 Ralf Corsepius <ralf.corsepius@rtems.org>
Jeff Johnston [Fri, 12 Dec 2008 17:16:03 +0000 (17:16 +0000)]
2008-12-12  Ralf Corsepius  <ralf.corsepius@rtems.org>

        * libc/include/sys/features.h: Set RTEMS's _POSIX_MONOTONIC_CLOCK to
        200112L (SUSv3 compliance).
        Comment out RTEMS's _POSIX_SHARED_MEMORY_OBJECTS (Unsupported).

15 years ago2008-12-12 Ralf Corsepius <ralf.corsepius@rtems.org>
Jeff Johnston [Fri, 12 Dec 2008 17:11:33 +0000 (17:11 +0000)]
2008-12-12  Ralf Corsepius  <ralf.corsepius@rtems.org>

        * libc/sys/rtems/crt0.c: Add stubs for getdents(), nanosleep(),
        _execve(), _exit().

15 years ago2008-12-12 Ralf Corsepius <ralf.corsepius@rtems.org>
Jeff Johnston [Fri, 12 Dec 2008 17:07:37 +0000 (17:07 +0000)]
2008-12-12  Ralf Corsepius  <ralf.corsepius@rtems.org>

        * configure.host: Let *rtems* default to c99-formats.

15 years ago * libc/stdio/freopen.c: Add <string.h> for memset prototype.
Corinna Vinschen [Fri, 12 Dec 2008 15:45:19 +0000 (15:45 +0000)]
* libc/stdio/freopen.c:  Add <string.h> for memset prototype.
* libc/stdio/fseek.c:  Ditto.
* libc/stdio/fwide.c:  Add <wchar.h> for fwide prototype.

15 years ago * pathnames.sgml: New section for /proc/registry. Document registry
Corinna Vinschen [Fri, 12 Dec 2008 15:14:06 +0000 (15:14 +0000)]
* pathnames.sgml: New section for /proc/registry. Document registry
name encoding.

15 years agoFormatting fix.
Jeff Johnston [Thu, 11 Dec 2008 22:49:58 +0000 (22:49 +0000)]
Formatting fix.

15 years ago2008-12-11 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 11 Dec 2008 22:48:38 +0000 (22:48 +0000)]
2008-12-11 Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/time.h(gettimeofday): Change prototype so
        2nd parameter is void *, matching SUSV2.
        * libc/syscalls/sysgettod.c(gettimeofday): Ditto.

15 years ago2008-12-11 Jukka Pietarinen <jukka.pietarinen@mrf.fi>
Jeff Johnston [Thu, 11 Dec 2008 20:05:38 +0000 (20:05 +0000)]
2008-12-11 Jukka Pietarinen <jukka.pietarinen@mrf.fi>

        * configure.host: Add lm32
        * libc/include/machine/ieeefp.h: Add __lm32__
        * libc/include/machine/setjmp.h: Add __lm32__
        * libc/machine/configure.in: Add lm32
        * libc/machine/configure: Regenerated.
        * libc/machine/lm32/aclocal.m4: New file.
        * libc/machine/lm32/configure.in: Ditto.
        * libc/machine/lm32/configure: Ditto.
        * libc/machine/lm32/Makefile.am: Ditto.
        * libc/machine/lm32/Makefile.in: Ditto.
        * libc/machine/lm32/setjmp.s: Ditto.

15 years ago2008-12-11 Craig Howland <howland@LGSInnovations.com>
Jeff Johnston [Thu, 11 Dec 2008 17:27:56 +0000 (17:27 +0000)]
2008-12-11  Craig Howland  <howland@LGSInnovations.com>

        * libc/include/sys/lock.h:  Add void cast to avoid "statement has no
        effect" warnings from gcc.
        * libc/include/sys/stdio.h:  Ditto.
        * libc/include/sys/time.h:  Correct gettimeofday() prototype.
        * libc/stdlib/__exp10.c:  Add #include "std.h" for function prototype.
        * libc/stdlib/__ten_mu.c:  Ditto.
        * libc/stdlib/std.h:  Correct __exp10's ANSI prototype.
        * libc/stdlib/ldtoa.c:  Change eiisinf definition to ANSI form.  (Are
        already others in file without _ansi method, so did not bother.)
        * libc/stdlib/system.c:  Use _ansi forms for function prototypes and
        definitions.
        * libc/time/mktime.c:  Ditto.
        * libc/misc/__dprintf.c:  Ditto.
        * libc/include/stdio.h:  Add function prototypes for _fgetc_r,
        _fgetpos_r, _fsetpos_r, _freopen_r, _rewind_r, freopen64, _freopen64_r,
        _funopen_r, and _fopencookie_r.
        * libc/include/reent.h:  Add function prototype for _stat64_r, align
        _execve_r prototype with POSIX definition for execve.
        * libc/reent/execr.c:  Align function prototype with POSIX definition.
        * libc/stdio/asniprintf.c:  Add #include "local.h".
        * libc/stdio/vasniprintf.c:  Ditto.
        * libc/stdio/fread.c:  Remove unused variable newcount.
        * libc/stdio/local.h:  Add function prototype for __sccl.
        * libc/stdio/open_memstream.c:  Remove unused variable flags.
        * libc/stdio/vfscanf.c:  Proper prototyping for ccfn, remove prototype
        for __sccl since now in local.h.
        * libc/string/memcpy.c:  Add #include <string.h> (for real and for
        traditional synopsis), remove extraneous stddef.h and limits.h.
        * libc/syscalls/sysclose.c:  Add #include <unistd.h>.
        * libc/syscalls/sysfork.c:  Ditto.
        * libc/syscalls/sysgetpid.c:  Ditto.
        * libc/syscalls/sysexecve.c:  Add #include <unistd.h>, align function
        prototype with POSIX definition.
        * libc/syscalls/sysfstat.c:  Add #include <sys/stat.h>.
        * libc/syscalls/sysgettod.c:  Correct sys/times.h to sys/time.h.
        * libc/syscalls/syskill.c:  Add #include <signal.h>.
        * libc/syscalls/syslink.c:  Add #include <unistd.h>, fix prototype.
        * libc/syscalls/sysunlink.c:  Ditto.
        * libc/syscalls/sysstat.c:  Add #include <sys/stat.h>, fix prototype.
        * libc/syscalls/syswait.c:  Add #include <sys/wait.h>, fix prototype.

15 years ago2008-12-11 Ken Werner <ken.werner@de.ibm.com
Jeff Johnston [Thu, 11 Dec 2008 12:46:36 +0000 (12:46 +0000)]
2008-12-11  Ken Werner  <ken.werner@de.ibm.com

        * spu/crt0.S: Call __monstartup if profiling is enabled.
        * spu/Makefile.in: Add gcrt1.o gcrt2.o.

15 years ago2008-12-10 Corinna Vinschen <corinna@vinschen.de>
Jeff Johnston [Wed, 10 Dec 2008 23:43:12 +0000 (23:43 +0000)]
2008-12-10  Corinna Vinschen  <corinna@vinschen.de>

        Implement basic wide char stdio functionality, based on FreeBSD.
        * libc/include/stdio.h (__SORD): Define.
        (__SWID): Define.
        * libc/include/wchar.h: Add declarations for new wide char functions.
        (getwc): Define as macro.
        (getwchar): Ditto.
        (putwc): Ditto.
        (putwchar): Ditto.
        * libc/include/sys/reent.h (struct __sFILE): Add _mbstate member.
        (struct __sFILE64): Ditto.
        * libc/stdio/Makefile.am (ELIX_4_SOURCES): Add fgetwc.c, fgetws.c,
        fputwc.c, fputws.c, fwide.c, getwc.c, getwchar.c, putwc.c, putwchar.c
        and ungetwc.c.
        (CHEWOUT_FILES): Add fgetwc.def, fgetws.def, fputwc.def, fputws.def,
        fwide.def, getwc.def, getwchar.def, putwc.def, putwchar.def and
        ungetwc.def.
        Add header dependency rules for the new files.
        * libc/stdio/Makefile.in: Regenerate.
        * libc/stdio/fgetwc.c: New file, implementing fgetwc and _fgetwc_r.
        * libc/stdio/fgetws.c: New file, implementing fgetws and _fgetws_r.
        * libc/stdio/findfp.c (std): Initialize FILE's _mbstate member.
        (__sfmoreglue): Ditto.
        * libc/stdio/fputs.c (_fputs_r): Set stream orientation.
        * libc/stdio/fputwc.c: New file, implementing fputwc and _fputwc_r.
        * libc/stdio/fputws.c: New file, implementing fputws and _fputws_r.
        * libc/stdio/fread.c (_fread_r): Set stream orientation.
        * libc/stdio/freopen.c (_freopen_r): Reset stream orientation.  Reset
        _mbstate.
        * libc/stdio/fseek.c (_fseek_r): Reset _mbstate.
        * libc/stdio/fwide.c: New file, implementing fwide and _fwide_r.
        * libc/stdio/fwrite.c (_fwrite_r): Set stream orientation.
        * libc/stdio/getwc.c: New file, implementing getwc and _getwc_r.
        * libc/stdio/getwchar.c: New file, implementing getwchar and
        _getwchar_r.
        * libc/stdio/local.h (ORIENT): New macro.
        * libc/stdio/puts.c (_puts_r): Set stream orientation.
        * libc/stdio/putwc.c: New file, implementing putwc and _putwc_r.
        * libc/stdio/putwchar.c: New file, implementing putwchar and
        _putwchar_r.
        * libc/stdio/refill.c (__srefill_r): Set stream orientation.
        * libc/stdio/stdio.tex: Add documentation for new functions.
        * libc/stdio/ungetc.c (_ungetc_r): Set stream orientation.
        * libc/stdio/ungetwc.c: New file, implementing ungetwc and _ungetwc_r.
        * libc/stdio/vfscanf.c (__SVFSCANF_R): Set stream orientation.
        * libc/stdio/wbuf.c (__swbuf_r): Ditto.

15 years agomerge from gcc
DJ Delorie [Wed, 10 Dec 2008 23:28:15 +0000 (23:28 +0000)]
merge from gcc

15 years ago2008-12-10 Joseph Myers <joseph@codesourcery.com>
Jeff Johnston [Wed, 10 Dec 2008 21:27:58 +0000 (21:27 +0000)]
2008-12-10  Joseph Myers  <joseph@codesourcery.com>

        * libc/include/stdint.h (INT32_MIN, INT32_MAX, UINT32_MAX,
        INT_LEAST32_MIN, INT_LEAST32_MAX, UINT_LEAST32_MAX): Define to
        constants with "long" types where appropriate.
        (INT_FAST8_MIN, INT_FAST8_MAX, UINT_FAST8_MAX, INT_FAST16_MIN,
        INT_FAST16_MAX, UINT_FAST16_MAX, INT_FAST32_MIN, INT_FAST32_MAX,
        UINT_FAST32_MAX, INT_FAST64_MIN, INT_FAST64_MAX, UINT_FAST64_MAX):
        Correct to match logic for defining corresponding types.
        (INTMAX_MAX, INTMAX_MIN, UINTMAX_MAX): Define.
        (SIZE_MAX): Define using __SIZE_MAX__ if available.
        (PTRDIFF_MAX): Define using __PTRDIFF_MAX__ if available.
        (PTRDIFF_MIN): Define in terms of PTRDIFF_MAX.
        (WCHAR_MAX, WCHAR_MIN, WINT_MAX, WINT_MIN): Define.
        (UINT8_C, UINT16_C): Define to give signed values if corresponding
        types would promote to int.

15 years ago * resolv.h: #include <netinet/in.h> for sockaddr_in typedef.
Corinna Vinschen [Tue, 9 Dec 2008 16:09:46 +0000 (16:09 +0000)]
* resolv.h: #include <netinet/in.h> for sockaddr_in typedef.

15 years agoCommitted as obvious.
Danny Smith [Tue, 9 Dec 2008 02:42:21 +0000 (02:42 +0000)]
Committed as obvious.

2008-12-08  Dmitry G. Gorbachev  <d.g.gorbachev@gmail.com>

* cpu_features.c (__cpu_features_init): Remove erroneous ';'.

15 years ago * fhandler_registry.cc (encode_regname): Add Parameter add_val.
Corinna Vinschen [Mon, 8 Dec 2008 11:45:18 +0000 (11:45 +0000)]
* fhandler_registry.cc (encode_regname): Add Parameter add_val.
Append "%val" if add_val is set.
(decode_regname): Remove trailing "%val". Change returncode accordingly.
(__DIR_hash): New class.
(d_hash): New macro.
(key_exists): New function.
(fhandler_registry::exists): Remove encode of registry name before path
compare, decode file part of path instead.  Skip checks for keys if
trailing "%val" detected.
(fhandler_registry::fstat): Change check of return value of
decode_regname ().
(fhandler_registry::readdir): Allocate __DIR_hash.  Record key names in
hash table. Append "%val" if key with same name exists. Fix error
handling of encode_regname ().  Set dirent.d_type.
(fhandler_registry::closedir): Delete __DIR_hash.
(fhandler_registry::open): Don't open key if trailing "%val" detected
by decode_regname ().
(open_key): Ditto.

15 years ago * mips/idt32.ld: Set arch to mips:isa32r2 from mips:isa32. Update
Adam Nemet [Sat, 6 Dec 2008 16:29:01 +0000 (16:29 +0000)]
* mips/idt32.ld: Set arch to mips:isa32r2 from mips:isa32.  Update
comment.

15 years ago2008-12-05 Chris Sutcliffe <ir0nh34d@users.sf.net>
Chris Sutcliffe [Sat, 6 Dec 2008 02:25:28 +0000 (02:25 +0000)]
2008-12-05  Chris Sutcliffe  <ir0nh34d@users.sf.net>

        * include/w32api.h: Increment version to 3.13.
        * Makefile.in: Ditto.

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