]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
15 years ago * faq-setup.xml (faq.setup.upgrade-mountpoints): New entry.
Corinna Vinschen [Thu, 14 May 2009 11:03:43 +0000 (11:03 +0000)]
* faq-setup.xml (faq.setup.upgrade-mountpoints): New entry.
* faq-using.xml (faq.using.directory-structure): Align example to
latest mount output.
* pathnames.sgml (mount-table): Add note about upgrade helper scripts
to create /etc/fstab and /etc/fstab.f/${USER}.

15 years ago * new-features.sgml: Add automounting of /, /usr/bin, and /usr/lib.
Corinna Vinschen [Thu, 14 May 2009 10:03:25 +0000 (10:03 +0000)]
* new-features.sgml: Add automounting of /, /usr/bin, and /usr/lib.
* pathnames.sgml (pathnames-intro): Be more verbose about POSIX and
Win32 paths.
(mount-table): Add "auto" flag.  Add a paragraph about /usr/bin and
/usr/lib.
(pathnames-mount-ex): Enhance flags output.

15 years ago * mount.cc (oopts): Add a no-op "auto" option.
Corinna Vinschen [Thu, 14 May 2009 09:56:45 +0000 (09:56 +0000)]
* mount.cc (oopts): Add a no-op "auto" option.
(mount_info::create_root_entry): Set root dir to MOUNT_IMMUTABLE rather
than to MOUNT_OVERRIDE.

15 years agocygwin ChangeLog
Christopher Faylor [Thu, 14 May 2009 03:25:45 +0000 (03:25 +0000)]
cygwin ChangeLog
2009-05-13  Corinna Vinschen  <corinna@vinschen.de>
    Christopher Faylor  <me+cygwin@cgf.cx>

* mount.cc (mount_info::got_usr_bin): Define.
(mount_info::got_usr_lib): Ditto.
(mount_info::root_idx): Ditto.
(mount_info::create_root_entry): Create root entry as immutable and
flag as automatic.
(mount_info::init): Remove "Huh?  No /etc/fstab..." warning.
Unconditionally call from_fstab for user and system tables.  Fill in
/usr/bin and /usr/lib if they have not been specified in /etc/fstab.
(oopts): Alphabetize.  Add "override" option to allow overriding
immutable mount points.
(mount_info::add_item): Accommodate new MOUNT_IMMUTABLE flag intended
for root mount.
(mount_info::add_item): Detect "/usr/bin", "/usr/lib", and "/" and set
appropriate global state.
(fillout_mntent): Add ,auto to mount points added by Cygwin DLL.
(mount): Remove masking of MOUNT_SYSTEM.  Allow user to shoot
themselves.  Add comment.
* mount.h (mount_info::got_usr_bin): Declare.
(mount_info::got_usr_lib): Ditto.
(mount_info::root_idx): Ditto.
* include/sys/mount.h: Reformat enum.
Add MOUNT_{OVERRIDE,IMMUTABLE,AUTOMATIC}.

doc ChangeLog
2009-05-13  Corinna Vinschen  <corinna@vinschen.de>
    Christopher Faylor  <me+cygwin@cgf.cx>

* pathnames.sgml (mount-table): Sort mount options and add override
option.  Add description of root mount handling.

utils ChangeLog
2009-05-13  Corinna Vinschen  <corinna@vinschen.de>
    Christopher Faylor  <me+cygwin@cgf.cx>

* mount.cc (oopts): Sort.  Add override option.  Add dummy "auto"
option for consistency.
(mount_entries): Avoid adding auto-mounted entries to -m output.

* utils.sgml: Sort mount options.  Add description of override option.

15 years ago2009-05-13 Ken Werner <ken.werner@de.ibm.com>
Jeff Johnston [Wed, 13 May 2009 21:38:25 +0000 (21:38 +0000)]
2009-05-13  Ken Werner  <ken.werner@de.ibm.com>

        * configure.in: Introduce config_libnosys flag which defaults to true.
        * configure: Regenerate.

15 years ago2009-05-13 Ulrich Weigand <uweigand@de.ibm.com>
Jeff Johnston [Wed, 13 May 2009 21:31:06 +0000 (21:31 +0000)]
2009-05-13  Ulrich Weigand  <uweigand@de.ibm.com>

        * spu/crtn.S: Add dummy to ensure nothing gets linked at address 0.
        * spu/crti.S: Remove nop.

15 years ago2009-05-13 Paul Brook <paul@codesourcery.com>
Jeff Johnston [Wed, 13 May 2009 18:31:55 +0000 (18:31 +0000)]
2009-05-13  Paul Brook  <paul@codesourcery.com>

        * libc/machine/arm/setjmp.S: Don't bother saving IP.  Copy SP to
        IP before saving.  Likewise when restoring.

15 years ago2009-05-13 Paul Brook <paul@codesourcery.com>
Jeff Johnston [Wed, 13 May 2009 18:28:49 +0000 (18:28 +0000)]
2009-05-13  Paul Brook  <paul@codesourcery.com>

        * libc/machine/arm/setjmp.S: Add ARMv6-M implementation.

15 years ago * pathnames.sgml (pathnames-unusual): Talk about using UTF-8 in C
Corinna Vinschen [Wed, 13 May 2009 15:11:39 +0000 (15:11 +0000)]
* pathnames.sgml (pathnames-unusual): Talk about using UTF-8 in C
locale.
* setup2.sgml (setup-locale-problems): Ditto.

15 years ago * cygheap.h (cwdstuff): Convert to class. Make posix and dir private.
Corinna Vinschen [Wed, 13 May 2009 15:00:06 +0000 (15:00 +0000)]
* cygheap.h (cwdstuff): Convert to class.  Make posix and dir private.
(cwdstuff::get_posix): New method.
(cwdstuff::reset_posix): New method.
* dcrt0.cc (dll_crt0_1): Call setlocale rather than _setlocale_r.
* environ.cc (environ_init): Ditto.  Prefer "C" locale over current
codepage default locale.
* path.cc (chdir): Use cwdstuff::get_posix method instead of accessing
cwdstuff::posix directly.
(cwdstuff::set): Defer creating posix path to first usage.
(cwdstuff::get_posix): Create posix path if it's empty, and return it.
(cwdstuff::get): Create posix path if it's empty.
* strfuncs.cc (sys_cp_wcstombs): Use UTF-8 conversion in the "C"
locale.
(sys_cp_mbstowcs): Ditto.
* syscalls.cc (gen_full_path_at): Fetch CWD posix path locked.
(setlocale): Implement here.  Reset CWD posix path.

15 years ago * libc/locale/locale.c (setlocale): Don't build on Cygwin.
Corinna Vinschen [Wed, 13 May 2009 14:54:11 +0000 (14:54 +0000)]
* libc/locale/locale.c (setlocale): Don't build on Cygwin.

15 years agoChangeLog:
Alexandre Oliva [Tue, 12 May 2009 18:16:01 +0000 (18:16 +0000)]
ChangeLog:
PR target/37137
* Makefile.def (flags_to_pass): Remove redundant and incomplete
STAGE1_CFLAGS, STAGE2_CFLAGS, STAGE3_CFLAGS, and STAGE4_CFLAGS.
Add FLAGS_FOR_TARGET and BUILD_CONFIG.
(bootstrap_stage): Remove bootstrap-debug custom stages.  Turn
stage_configureflags, stage_cflags and stage_libcflags into
explicit Makefile macros.
* Makefile.tpl (HOST_EXPORTS, EXTRA_HOST_FLAGS): Pass GCJ and
GFORTRAN.
(POSTSTAGE1_HOST_EXPORTS): Add XGCC_FLAGS_FOR_TARGET and TFLAGS to
CC.  Set CC_FOR_BUILD from CC.
(BASE_TARGET_EXPORTS, RAW_CXX_TARGET_EXPORTS,
NORMAL_TARGET_EXPORTS): Move SYSROOT_CFLAGS_FOR_TARGET and
DEBUG_PREFIX_CFLAGS_FOR_TARGET from CFLAGS and CXXFLAGS to
XGCC_FLAGS_FOR_TARGET.  Add it along with TFLAGS to CC, CXX, GCJ,
and GFORTRAN.
(TFLAGS, STAGE_CFLAGS, STAGE_TFLAGS, STAGE_CONFIGURE_FLAGS): New.
(_LIBCFLAGS): Renamed to _TFLAGS.
(do-compare-debug, do-compare3-debug): Drop.
(CC, GCC_FOR_TARGET, CXX_FOR_TARGET, RAW_CXX_FOR_TARGET,
GCJ_FOR_TARGET, GFORTRAN_FOR_TARGET): Remove FLAGS_FOR_TARGET.
(FLAGS_FOR_TARGET, SYSROOT_CFLAGS_FOR_TARGET,
DEBUG_PREFIX_CFLAGS_FOR_TARGET): Move down.
(XGCC_FLAGS_FOR_TARGET): New.
(BASE_FLAGS_TO_PASS): Pass STAGEid_CFLAGS, STAGEid_TFLAGS and TFLAGS.
(EXTRA_HOST_FLAGS): Pass GCJ and GFORTRAN.
(POSTSTAGE1_FLAGS_TO_PASS): Move SYSROOT_CFLAGS_FOR_TARGET and
DEBUG_PREFIX_CFLAGS_FOR_TARGET from CFLAGS, CXXFLAGS, LIBCFLAGS,
LIBCXXFLAGS to XGCC_FLAGS_FOR_TARGET.    Add it along with TFLAGS
to CC, CXX, GCJ, and GFORTRAN.  Pass XGCC_FLAGS_FOR_TARGET and
TFLAGS.
(BUILD_CONFIG): Include if requested.
(all): Set TFLAGS on bootstrap.
(configure-stageid-prefixmodule): Pass TFLAGS, adjust FLAGS.
(all-stageid-prefixmodule): Likewise.
(do-clean, distclean-stageid): Set TFLAGS.
(restrap): Fix whitespace.
* Makefile.in: Rebuilt.
config/ChangeLog:
* multi.m4: Save CXX, GFORTRAN and GCJ in config.status.
* mt-gnu (CXXFLAGS_FOR_TARGET): Adjust.
* bootstrap-O1.mk: New.
* bootstrap-O3.mk: New.
* bootstrap-debug.mk: New.

15 years ago2009-05-11 Craig Howland <howland@LGSInnovations.com>
Jeff Johnston [Mon, 11 May 2009 21:58:05 +0000 (21:58 +0000)]
2009-05-11  Craig Howland <howland@LGSInnovations.com>

        * libm/machine/i386/f_llrint.c: Remove llrint() definition.
        * libm/machine/i386/f_llrintf.c: Remove llrintf() definition.

15 years ago * Makefile.in: Link ps.exe agains ntdll.dll.
Corinna Vinschen [Mon, 11 May 2009 14:01:17 +0000 (14:01 +0000)]
* Makefile.in: Link ps.exe agains ntdll.dll.
* ps.cc (main): Enable SE_DEBUG_NAME privilege if Windows processes
have to be enumerated.  Workaround EnumProcessModules problem when
running under WOW64 and use NtQueryInformationProcess to fetch
process image name.

15 years ago* cygwin/version.h (CYGWIN_VERSION_CYGWIN_CONV): New define.
Christopher Faylor [Sat, 9 May 2009 20:16:06 +0000 (20:16 +0000)]
* cygwin/version.h (CYGWIN_VERSION_CYGWIN_CONV): New define.

15 years ago * dtable.cc (dtable::init_std_file_from_handle): Add workaround for
Corinna Vinschen [Sat, 9 May 2009 15:56:37 +0000 (15:56 +0000)]
* dtable.cc (dtable::init_std_file_from_handle): Add workaround for
Windows 7 64 bit issue.  Add lengthy comment to explain what happens.
* wincap.h (wincaps::has_console_handle_problem): New element.
* wincap.cc: Implement above element throughout.
(wincap_7): New wincaps structure for NT 6.1 kernels.
(wincapc::init): Set has_console_handle_problem to false for 32 bit
systems.

Fix broken older ChangeLog entry.

15 years ago * sec_auth.cc (str2uni_cat): Move from here...
Corinna Vinschen [Sat, 9 May 2009 15:08:16 +0000 (15:08 +0000)]
* sec_auth.cc (str2uni_cat): Move from here...
* path.cc (str2uni_cat): ...to here.  Simplify.  Make static inline.
(get_nt_native_path): Use RtlAppendUnicodeToString rather than
str2uni_cat for constant strings for speed.
* security.h (str2uni_cat): Drop declaration.

15 years ago * strfuncs.cc (sys_cp_wcstombs): save and restore previous errno value.
Corinna Vinschen [Fri, 8 May 2009 20:28:20 +0000 (20:28 +0000)]
* strfuncs.cc (sys_cp_wcstombs): save and restore previous errno value.
(sys_cp_mbstowcs): Ditto.

15 years ago * strfuncs.cc (sys_cp_wcstombs): Set errno to 0 before converting
Corinna Vinschen [Fri, 8 May 2009 19:38:33 +0000 (19:38 +0000)]
* strfuncs.cc (sys_cp_wcstombs): Set errno to 0 before converting
wide char to SO/UTF-8 sequence.

15 years ago * include/sys/select.h: Guard definitions with __USE_W32_SOCKETS as
Corinna Vinschen [Fri, 8 May 2009 10:54:58 +0000 (10:54 +0000)]
* include/sys/select.h: Guard definitions with __USE_W32_SOCKETS as
the accompanying fd_set definitions in newlib's sys/types.h.

15 years ago * MAINTAINERS: Add myself as a maintainer for the MN10300 and to
Nick Clifton [Fri, 8 May 2009 10:00:25 +0000 (10:00 +0000)]
    * MAINTAINERS: Add myself as a maintainer for the MN10300 and to
        the write-after-approval list.

15 years ago * mn10300/sim.ld: Add missing section names such as .bss.*
Nick Clifton [Fri, 8 May 2009 09:59:56 +0000 (09:59 +0000)]
    * mn10300/sim.ld: Add missing section names such as .bss.*
        .text.*, etc.  General tidy up.

15 years ago2009-05-07 Ken Werner <ken.werner@de.ibm.com>
Jeff Johnston [Thu, 7 May 2009 18:07:35 +0000 (18:07 +0000)]
2009-05-07  Ken Werner  <ken.werner@de.ibm.com>

        * spu/configure.in: Fix multilib support.
        * spu/configure: Regenerate.
        * spu/Makefile.in: Add CFLAGS_FOR_TARGET.

15 years ago* fhandler_console.cc (fhandler_console::ioctl): Properly treat TIOCLINUX
Christopher Faylor [Wed, 6 May 2009 17:16:33 +0000 (17:16 +0000)]
* fhandler_console.cc (fhandler_console::ioctl): Properly treat TIOCLINUX
argument as a char.
* fhandler_tty.cc (fhandler_tty_slave::ioctl): Use coercion to properly set
char value.

15 years ago * Move ChangeLog entry.
Corinna Vinschen [Wed, 6 May 2009 12:08:07 +0000 (12:08 +0000)]
* Move ChangeLog entry.

15 years ago * libc/minires.c (scanline): Fix type in calls to ctype functions
Corinna Vinschen [Wed, 6 May 2009 12:03:34 +0000 (12:03 +0000)]
* libc/minires.c (scanline): Fix type in calls to ctype functions
to stay in unsigned char range for char values >= 0x80.
* regex/regcomp.c: Ditto, throughout.
* regex/regex2.h (ISWORD): Ditto.

15 years ago * faq-setup.xml: Fix entry explaing how the homedir is evaluated
Corinna Vinschen [Wed, 6 May 2009 12:02:51 +0000 (12:02 +0000)]
* faq-setup.xml: Fix entry explaing how the homedir is evaluated
according to recent change.

15 years ago * mkpasswd.c (current_user): Don't use HOMEDRIVE/HOMEPATH to generate
Corinna Vinschen [Wed, 6 May 2009 11:54:24 +0000 (11:54 +0000)]
* mkpasswd.c (current_user): Don't use HOMEDRIVE/HOMEPATH to generate
user's homedir.

* mkgroup.c: Accommodate ctype changes.
* mkpasswd.c: Ditto.
* setfacl.c: Ditto.
* ssp.c: Ditto.

15 years ago * cygheap.cc (cygheap_init): Set umask to a sane default.
Corinna Vinschen [Wed, 6 May 2009 11:52:20 +0000 (11:52 +0000)]
* cygheap.cc (cygheap_init): Set umask to a sane default.
* uinfo.cc (cygheap_user::ontherange): Don't use HOMEDRIVE/HOMEPATH
to set HOME.  Default to /home/USERNAME.

15 years ago* cygcheck.cc (find_app_on_path): Avoid using NULL pointer if find_on_path
Christopher Faylor [Mon, 4 May 2009 18:51:08 +0000 (18:51 +0000)]
* cygcheck.cc (find_app_on_path): Avoid using NULL pointer if find_on_path
doesn't find the app on the path.

15 years ago * cygcheck.cc (usage): Fix option order and print.
Corinna Vinschen [Mon, 4 May 2009 10:15:48 +0000 (10:15 +0000)]
* cygcheck.cc (usage): Fix option order and print.

15 years ago * security.cc (set_file_sd): Drop using FILE_OPEN_FOR_RECOVERY flag in
Corinna Vinschen [Mon, 4 May 2009 09:16:42 +0000 (09:16 +0000)]
* security.cc (set_file_sd): Drop using FILE_OPEN_FOR_RECOVERY flag in
call to NtOpenFile.
* exceptions.cc (open_stackdumpfile): Ditto in call to NtCreateFile.
* fhandler.cc (fhandler_base::open): Ditto.  Simplify setting
create_options.

* mount.cc (fs_info::update): Recognize offline storage.
(fillout_mntent): Report UDF and offline storage.
* mount.h (class fs_info): Add is_csc_cache status flag.

15 years ago* fhandler_console.cc (fhandler_console::write_console): Eliminate unneeded
Christopher Faylor [Mon, 4 May 2009 04:43:50 +0000 (04:43 +0000)]
* fhandler_console.cc (fhandler_console::write_console): Eliminate unneeded
debugging output.
(fhandler_console::write_normal): Eliminate unneeded __seterrno.

15 years ago* libc/minires.c (scanline): Accommodate ctype changes which disallow use of an
Christopher Faylor [Mon, 4 May 2009 04:30:37 +0000 (04:30 +0000)]
* libc/minires.c (scanline): Accommodate ctype changes which disallow use of an
unadorned char argument to is* macros.
* regex/regcomp.c: Ditto, throughout.
* regex/regex2.h (ISWORD): Ditto.

15 years ago* fhandler.h (fhandler_console::MAX_WRITE_CHARS): Declare.
Christopher Faylor [Mon, 4 May 2009 03:51:16 +0000 (03:51 +0000)]
* fhandler.h (fhandler_console::MAX_WRITE_CHARS): Declare.
(fhandler_console::write_replacement_char): Declare as inline.
(fhandler_console::write_console): Declare new function.
* fhandler_console.cc (fhandler_console::MAX_WRITE_CHARS): Define.
(handler_console::write_console): Define.
(fhandler_console::write_replacement_char): Define as inline.
(fhandler_console::write_normal): Use write_console when writing buffers of
unknown length.

15 years ago2009-05-01 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Sat, 2 May 2009 01:46:36 +0000 (01:46 +0000)]
2009-05-01  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/shellapi.h (SHIL_LARGE, SHIL_SMALL, SHIL_EXTRALARGE,
        SHIL_SYSSMALL, SHIL_JUMBO, SHIL_LAST SHIL_JUMBO, SHGetImageList): Define.
        * lib/shell32.def (SHGetImageList): Define.

15 years agoAdd self to MAINTAINERS file. Tweak moxie stack position.
Anthony Green [Fri, 1 May 2009 02:53:25 +0000 (02:53 +0000)]
Add self to MAINTAINERS file.  Tweak moxie stack position.

15 years agoAllow gcc warning for toupper even with extended charsets.
Eric Blake [Thu, 30 Apr 2009 22:53:00 +0000 (22:53 +0000)]
Allow gcc warning for toupper even with extended charsets.

* libc/include/ctype.h (toupper, tolower)
[_MB_EXTENDED_CHARSETS_ISO]: Allow gcc warning when called with
'char' even when we must call the function for correct behavior.
[!_MB_EXTENDED_CHARSETS_ISO]: Fix regression in result type.

15 years ago* mep.h (EF_MEP_COP_*): New.
DJ Delorie [Thu, 30 Apr 2009 18:49:37 +0000 (18:49 +0000)]
* mep.h (EF_MEP_COP_*): New.
(EF_MEP_ALL_FLAGS): Add them.

15 years agoinclude/elf
Nick Clifton [Thu, 30 Apr 2009 15:47:11 +0000 (15:47 +0000)]
include/elf
2009-04-30  Nick Clifton  <nickc@redhat.com>

        * common.h (STT_GNU_IFUNC): Define.

elfcpp
2009-04-30  Nick Clifton  <nickc@redhat.com>

        * (enum STT): Add STT_GNU_IFUNC.

gas
2009-04-30  Nick Clifton  <nickc@redhat.com>

        * config/obj-elf.c (obj_elf_type): Add support for a
        gnu_indirect_function type.
        * config/tc-i386.c (tc_i386_fix_adjustable): Do not adjust fixups
        against indirect function symbols.
        * doc/as.texinfo (.type): Document the support for the
        gnu_indirect_function symbol type.
        * NEWS: Mention the new feature.

gas/testsuite
2009-04-30  Nick Clifton  <nickc@redhat.com>

        * gas/elf/elf.exp: Extend type test to include an ifunc symbol.
        Provide an alternative test for targets which do not support ifunc
        symbols.
        (type.s): Add entry for an ifunc symbol.
        (type.e): Add ifunc entry to expected symbol dump.
        (section2.e-armelf): Add  entry for ifunc symbol.
        (type-noifunc.s): New file.
        (type-noifunc.e): New file.

bfd/
2009-04-30  Nick Clifton  <nickc@redhat.com>

        * elf-bfd.h (struct bfd_elf_section_data): Add indirect_relocs
        section pointer.
        (struct elf_obj_data): Add has_ifunc_symbols boolean.
        * elf.c (swap_out_syms): Convert BSF_GNU_INDIRECT_FUNCTION flags
        into a STT_GNU_IFUNC symbol type.
        (_bfd_elf_is_function_type): Accept STT_GNU_IFUNC as a function
        type.
        (_bfd_elf_set_osabi): Set the osasbi field to ELFOSABI_LINUX if
        the binary contains ifunc symbols.
        * elfcode.h (elf_slurp_symbol_table): Translate the STT_GNU_IFUNC
        symbol type into a BSF_GNU_INDIRECT_FUNCTION flag.
        * elf32-i386.c (is_indirect_function): New function.
        (elf_i386_check_relocs): Create an ifunc output section.
        (allocate_dynrelocs): Create dynamic relocs in the ifunc output
        section if necessary.
        (elf_i386_relocate_section): Emit a reloc against an ifunc symbol
        if necessary.
        (elf_i386_add_symbol_hook): New function. Set the
        has_ifunc_symbols field of the elf_obj_data structure if an ifunc
        symbol is encountered.
        (elf_backend_post_process_headers): Define.
        (elf_backend_add_symbol_hook): Define.
        (elf_i386_post_process_headers): Rename to
        elf_i388_fbsd_post_process_headers.
        * elf64-x86_64.c (IS_X86_64_PCREL_TYPE): New macro.
        (is_indirect_function): New function.
        (elf64_x86_64_check_relocs): Create an ifunc output section.
        (allocate_dynrelocs): Create dynamic relocs in the ifunc output
        section if necessary.
        (elf64_x86_64_relocate_section): Emit a reloc against an ifunc
        symbol if necessary.
        (elf_i386_add_symbol_hook): Set the has_ifunc_symbols field of the
        elf_obj_data structure if an ifunc symbol is encountered.
        (elf_backend_post_process_headers): Define.
        * elflink.c (_bfd_elf_adjust_dynamic_symbol): Always create a PLT
        if we have ifunc symbols to handle.
        (get_ifunc_reloc_section_name): New function.  Computes the name
        for an ifunc section.
        (_bfd_elf_make_ifunc_reloc_section): New function.  Creates a
        section to hold ifunc relocs.
        * syms.c (BSF_GNU_INDIRECT_FUNCTION): Define.
        (bfd_print_symbol_vandf): Handle ifunc symbols.
        (bfd_decode_symclass): Likewise.
        * bfd-in2.h: Regenerate.

binutils
2009-04-30  Nick Clifton  <nickc@redhat.com>

        * readelf.c (dump_relocations): Display a relocation against an
        ifunc symbol as if it were a function invocation.
        (get_symbol_type): Handle STT_GNU_IFUNC.

ld
2009-04-30  Nick Clifton  <nickc@redhat.com>

        * NEWS: Mention support for IFUNC symbols.

ld/testsuite
2009-04-30  Nick Clifton  <nickc@redhat.com>

        * ld-ifunc: New directory.
        * ld-ifunc/ifunc.exp: New file: Run the IFUNC tests.
        * ld-ifunc/prog.c: New file.
        * ld-ifunc/lib.c: New file.

15 years ago* include/cygwin/socket.h: Define SOL_IPV6.
Christopher Faylor [Mon, 27 Apr 2009 04:31:22 +0000 (04:31 +0000)]
* include/cygwin/socket.h: Define SOL_IPV6.

15 years ago * Makefile.tpl (POSTSTAGE1_HOST_EXPORTS): Add GNATBIND.
Eric Botcazou [Sat, 25 Apr 2009 12:25:01 +0000 (12:25 +0000)]
* Makefile.tpl (POSTSTAGE1_HOST_EXPORTS): Add GNATBIND.
(POSTSTAGE1_FLAGS_TO_PASS): Pick up exported value for GNATBIND.
* Makefile.in: Regenerate.

15 years ago2009-04-24 Jeff johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 24 Apr 2009 22:52:52 +0000 (22:52 +0000)]
2009-04-24  Jeff johnston  <jjohnstn@redhat.com>

        * libc/stdio/fgetc.c: Make sure sfp lock is acquired before the
        file lock and released before the file lock to avoid a deadlock
        scenario.
        * libc/stdio/fgets.c: Ditto.
        * libc/stdio/fgetwc.c: Ditto.
        * libc/stdio/fgetws.c: Ditto.
        * libc/stdio/fread.c: Ditto.
        * libc/stdio/fseek.c: Ditto.
        * libc/stdio/getc.c: Ditto.
        * libc/stdio/getdelim.c: Ditto.
        * libc/stdio/gets.c: Ditto.

15 years ago2009-04-24 Jeff johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 24 Apr 2009 22:49:55 +0000 (22:49 +0000)]
2009-04-24  Jeff johnston  <jjohnstn@redhat.com>

        * configure.in: Add configuration test for long double equals dbl
        and set flag _LDBL_EQ_DBL if true.
        * configure: Regenerated.
        * newlib.hin: Add _LDBL_EQ_DBL flag.
        * libc/include/math.h: Use _LDBL_EQ_DBL flag instead of
        _HAVE_LDBL_MATH.
        * libc/include/stdlib.h: Use _LDBL_EQ_DBL flag instead of
        _HAVE_LDBL_STDLIB.
        * libc/common/local.h: Remove _LDBL_EQ_DBL flag setting.
        * libc/stdlib/local.h: Ditto.

15 years ago2009-04-24 Joseph Myers <joseph@codesourcery.com>
Jeff Johnston [Fri, 24 Apr 2009 21:55:07 +0000 (21:55 +0000)]
2009-04-24  Joseph Myers  <joseph@codesourcery.com>

* libc/include/stdint.h (UINTPTR_MAX): Define to __UINTPTR_MAX__
if __UINTPTR_MAX__ defined.

15 years agoinclude/elf/
Cary Coutant [Fri, 24 Apr 2009 18:28:58 +0000 (18:28 +0000)]
include/elf/

 * dwarf2.h (DW_LNE_set_discriminator): New enum value.

binutils/

* dwarf.c (process_extended_line_op): Add DW_LNE_set_discriminator.
Add missing newlines to HP extensions.

15 years agoUpdate ChangeLog entries.
H.J. Lu [Fri, 24 Apr 2009 16:57:08 +0000 (16:57 +0000)]
Update ChangeLog entries.

15 years ago*** empty log message ***
Eli Zaretskii [Fri, 24 Apr 2009 14:28:17 +0000 (14:28 +0000)]
*** empty log message ***

15 years ago * config.guess (pc:*:*:*): Return i586-pc-msdosdjgpp, for
Eli Zaretskii [Fri, 24 Apr 2009 14:27:20 +0000 (14:27 +0000)]
* config.guess (pc:*:*:*): Return i586-pc-msdosdjgpp, for
consistency with config.sub.  (Update from upstream sources.)

15 years agoBe namespace clean in ctype.h.
Eric Blake [Fri, 24 Apr 2009 12:27:36 +0000 (12:27 +0000)]
Be namespace clean in ctype.h.

* libc/include/ctype.h (_tolower, _toupper, isalpha, isupper)
(islower, isdigit, isxdigit, isspace, ispunct, isalnum)
(isprint, isgraph, iscntrl, isblank, toupper, tolower)
(isascii, toascii): Don't use 'c' as macro parameter name.

15 years agoTrigger gcc warning if isFoo macros are called with plain char.
Eric Blake [Fri, 24 Apr 2009 12:20:07 +0000 (12:20 +0000)]
Trigger gcc warning if isFoo macros are called with plain char.

* libc/include/ctype.h (isalpha, isupper, islower, isdigit)
(isxdigit, isspace, ispunct, isalnum, isprint, isgraph)
(iscntrl, isblank, toupper, tolower): Rewrite to let 'gcc -Wall'
warn when user calls macro with a char argument.

15 years ago2009-04-23 Mike Burgess <wizardsguild@earthlink.net>
Jeff Johnston [Thu, 23 Apr 2009 18:11:22 +0000 (18:11 +0000)]
2009-04-23  Mike Burgess  <wizardsguild@earthlink.net>

        * libc/string/strcasecmp.c: Optimized rewrite.
        * libc/string/strncasecmp.c: Fix description.
        * libc/string/strlwr.c: Avoid passing signed char to tolower.
        * libc/string/strupr.c: Avoid passing signed char to tolower.

15 years ago2009-04-23 Paul Brook <paul@codesourcery.com>
Jeff Johnston [Thu, 23 Apr 2009 17:54:22 +0000 (17:54 +0000)]
2009-04-23  Paul Brook  <paul@codesourcery.com>
            Kazu Hirata  <kazu@codesourcery.com>

        * libc/stdlib/__atexit.c (__register_exitproc): Use weak reference
        to malloc.  Allocate dynamically only if it is present.
        * libc/stdlib/__call_atexit.c (__call_exitprocs): Use weak
        reference to free.  Call free only if it is present.

15 years ago2009-04-22 Anthony Green <green@moxielogic.com>
Jeff Johnston [Wed, 22 Apr 2009 19:52:49 +0000 (19:52 +0000)]
2009-04-22 Anthony Green <green@moxielogic.com>

        * configure.host: Add moxie support.
        * libc/machine/configure.in: Add moxie support.
        * libc/machine/configure: Rebuilt.
        * libc/machine/moxie/aclocal.m4: New file.
        * libc/machine/moxie/configure: New file.
        * libc/machine/moxie/configure.in: New file.
        * libc/machine/moxie/Makefile.am: New file.
        * libc/machine/moxie/Makefile.in: New file.
        * libc/machine/moxie/setjmp.S: New file.
        * libc/include/machine/setjmp.h (_JBLEN): Define for moxie.
        * libc/include/machine/ieeefp.h: Add moxie support.

15 years ago2009-04-22 Anthony Green <green@moxielogic.com>
Jeff Johnston [Wed, 22 Apr 2009 19:48:07 +0000 (19:48 +0000)]
2009-04-22  Anthony Green  <green@moxielogic.com>

        * configure.in: Add moxie support.
        * configure: Regenerate.
        * moxie/aclocal.m4, moxie/configure, moxie/configure.in,
        moxie/crt0.S, moxie/fstat.c, moxie/getpid.c, isatty.c,
        moxie/kill.c, moxie/Makefile.in, moxie/moxie-elf-common.ld,
        moxie/print.c, moxie/putnum.c, moxie/qemu.ld, moxie/qemu-time.c,
        moxie/qemu-write.c, moxie/sbrk.c, moxie/sim-close.S,
        moxie/sim-exit.S,
        moxie/sim-inbyte.c, moxie/sim.ld, moxie/sim-lseek.c,
        moxie/sim-lseek.S, moxie/sim-open.S, moxie/sim-read.S, moxie/sim-time.c,
        moxie/sim-unlink.S, moxie/sim-write.S, moxie/stat.c: New files.

15 years agomerge from gcc
DJ Delorie [Wed, 22 Apr 2009 19:09:13 +0000 (19:09 +0000)]
merge from gcc

15 years ago* strace.cc (create_child): Set CYGWIN=noglob when starting new process so that
Christopher Faylor [Wed, 22 Apr 2009 19:08:53 +0000 (19:08 +0000)]
* strace.cc (create_child): Set CYGWIN=noglob when starting new process so that
Cygwin will leave already-parsed the command line alonw.

15 years ago* mep/sim-crt0.S (_start): Fix typo.
DJ Delorie [Wed, 22 Apr 2009 18:57:37 +0000 (18:57 +0000)]
* mep/sim-crt0.S (_start): Fix typo.

15 years ago * libc/stdio/local.h (__chclass, __state_table, __action_table):
Corinna Vinschen [Wed, 22 Apr 2009 08:30:03 +0000 (08:30 +0000)]
* libc/stdio/local.h (__chclass, __state_table, __action_table):
Add extern to the declarations.
* libc/stdlib/local.h (__iso_8859_conv, __cp_conv): Likewise.

15 years ago * ctype.cc (__set_ctype): Copy exact part of the current active
Corinna Vinschen [Tue, 21 Apr 2009 20:10:55 +0000 (20:10 +0000)]
* ctype.cc (__set_ctype): Copy exact part of the current active
character class array.

15 years ago * libc/ctype/ctype_.c (_CTYPE_DATA_128_255): Rename from
Corinna Vinschen [Tue, 21 Apr 2009 20:09:01 +0000 (20:09 +0000)]
* libc/ctype/ctype_.c (_CTYPE_DATA_128_255): Rename from
_CTYPE_DATA_128_256.
* libc/ctype/ctype_cp.h: Split off all character class values for
character 255 from the rest of the definitions.
(__ctype_cp): Use the new definitions.  Make sure that the table
always contains 0 for EOF (-1).
* libc/ctype/ctype_iso.h: Ditto.

15 years ago2009-04-21 Sandra Loosemore <sandra@codesourcery.com>
Jeff Johnston [Tue, 21 Apr 2009 18:38:53 +0000 (18:38 +0000)]
2009-04-21  Sandra Loosemore  <sandra@codesourcery.com>

        * libc/reent/impure.c (__sf_fake_stdin, __sf_fake_stdout)
        (__sf_fake_stderr): Declare locally with weak attribute.

15 years ago2009-04-21 Mark Mitchell <mark@codesourcery.com>
Jeff Johnston [Tue, 21 Apr 2009 18:24:59 +0000 (18:24 +0000)]
2009-04-21  Mark Mitchell  <mark@codesourcery.com>

        * libc/include/_ansi.h: Move C++ defines to top of file.
        (_NOTHROW): New macro.
        (_EXFUN_NOTHROW): Likewise.
        * libc/include/stdlib.h (calloc): Declare with _EXFUN_NOTHROW.
        (free): Likewise.
        (malloc): Likewise.
        (realloc): Likewise.
        (_malloc_r): Likewise.
        (_callor_r): Likewise.
        (_free_r): Likewise.
        (_realloc_r): Likewise.

15 years ago* mep/Makefile.in (SCRIPTS): Update to new config.
DJ Delorie [Tue, 21 Apr 2009 18:13:32 +0000 (18:13 +0000)]
* mep/Makefile.in (SCRIPTS): Update to new config.
* mep/default.ld: New.
* mep/gmap_default.ld: Change default endian to little.
* mep/sim-crt0.S: Maintain 8-byte stack alignment.
* mep/sim-crtn.S: Likewise.

15 years ago * texinfo/texinfo.tex: Update to version 2009-03-28.05.
Joseph Myers [Tue, 21 Apr 2009 12:36:46 +0000 (12:36 +0000)]
* texinfo/texinfo.tex: Update to version 2009-03-28.05.

15 years agobfd/ChangeLog
Dave Korn [Tue, 21 Apr 2009 02:13:48 +0000 (02:13 +0000)]
bfd/ChangeLog

2009-04-21  Kai Tietz  <kai.tietz@onevision.com>

* coff-x86_64.c (PEI_HEADERS): Protect includes.
(bfd_pe_print_pdata): Remove #ifdef PE variation.
* pei-x86_64.c (PEI_HEADERS): Define to prevent double
include in coff-x86_64.c of headers.
(PDATA_ROW_SIZE): New define.
(pex_regs[]): New static array.
(pex64_get_runtime_function): New static function.
(pex64_get_unwind_info): Likewise.
(pex64_get_scope_entry): Likewise.
(pex64_xdata_print_uwd_codes): Likewise.
(pep_get_section_by_rva): Likewise.
(pex64_dump_xdata): Likewise.
(pex64_bfd_print_pdata): Likewise.
(bfd_pe_print_pdata): Define as pex64_bfd_print_pdata.
* peXXigen.c (_bfd_pex64_print_pdata): Removed implementation.
* libpei.h (_bfd_pex64_print_pdata): Removed declaration.

include/ChangeLog

2009-04-21  Kai Tietz  <kai.tietz@onevision.com>

* coff/pe.h (pex64_runtime_function): New structure.
(external_pex64_runtime_function): Likewise.
(pex64_unwind_code): Likewise.
(external_pex64_unwind_code): Likewise.
(pex64_unwind_info): Likewise.
(external_pex64_unwind_info): Likewise.
(external_pex64_scope): Likewise.
(pex64_scope): Likewise.
(pex64_scope_entry):  Likewise.
(external_pex64_scope_entry): Likewise.
(PEX64_IS_RUNTIME_FUNCTION_CHAINED): New macro.
(PEX64_GET_UNWINDDATA_UNIFIED_RVA): Likewise.
(PEX64_UNWCODE_CODE): Likewise.
(PEX64_UNWCODE_INFO): Likewise.
(UWOP_...): Add defines for unwind code.
(UNW_FLAG_...): Add defined for unwind info flags.
(PEX64_SCOPE_ENTRY_SIZE): New macro.
(PEX64_UWI_VERSION): Likewise.
(PEX64_UWI_FLAGS): Likewise.
(PEX64_UWI_FRAMEREG): Likewise.
(PEX64_UWI_FRAMEOFF): Likewise.
(PEX64_UWI_SIZEOF_UWCODE_ARRAY): Likewise.
(PEX64_OFFSET_TO_UNWIND_CODE): Likewise.
(PEX64_OFFSET_TO_HANDLER_RVA): Likewise.
(PEX64_OFFSET_TO_SCOPE_COUNT): Likewise.
(PEX64_SCOPE_ENTRY): Likewise.

15 years ago2009-04-20 Jeff johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 20 Apr 2009 18:06:14 +0000 (18:06 +0000)]
2009-04-20  Jeff johnston  <jjohnstn@redhat.com>

        * libc/include/math.h: Change _LDBL_EQ_DBL flag usage to
        be _HAVE_LDBL_MATH.
        * libc/include/stdlib.h: Change _LDBL_EQ_DBL flag usage to
        be _HAVE_LDBL_STDLIB.

15 years ago * flock.cc (lf_setlock): Handle border case which results in WFMO loop
Corinna Vinschen [Mon, 20 Apr 2009 17:13:19 +0000 (17:13 +0000)]
* flock.cc (lf_setlock): Handle border case which results in WFMO loop
exiting with ret == WAIT_TIMEOUT gracefully.  Add a system_printf to
uncover other potential problems with WFMO loop.

15 years ago* mkimport: Specify .text for stub explicitly.
Christopher Faylor [Sat, 18 Apr 2009 17:23:45 +0000 (17:23 +0000)]
* mkimport: Specify .text for stub explicitly.
* speclib: Add a dummy '.idata$7' section referring to the dll associated with
the real import library.

15 years ago * dcrt0.cc (globify): Only call mbtowc for non-ascii chars.
Corinna Vinschen [Sat, 18 Apr 2009 11:08:37 +0000 (11:08 +0000)]
* dcrt0.cc (globify): Only call mbtowc for non-ascii chars.

15 years ago2009-04-17 Jeff johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 17 Apr 2009 22:15:43 +0000 (22:15 +0000)]
2009-04-17  Jeff johnston  <jjohnstn@redhat.com>

        * libc/include/machine/ieeefp.h (_LDBL_EQ_DBL): Remove.
        * libc/stdlib/local.h (_LDBL_EQ_DBL): Add.
        * libc/stdlib/strtold.c: Include local.h.
        * libc/stdlib/wcstold.c: Likewise.
        * libm/common/atanl.c: Likewise.
        * libm/common/cosl.c: Likewise.
        * libm/common/sinl.c: Likewise.
        * libm/common/modfl.c: Likewise.
        * libm/common/frexpl.c: Likewise.
        * libm/common/tanhl.c: Likewise.
        * libm/common/tanl.c: Likewise.
        * libm/common/expm1l.c: Likewise.
        * libm/common/log1pl.c: Likewise.
        * libm/common/ceill.c: Likewise.
        * libm/common/fabsl.c: Likewise.
        * libm/common/floorl.c: Likewise.
        * libm/common/acosl.c: Likewise.
        * libm/common/asinl.c: Likewise.
        * libm/common/atan2l.c: Likewise.
        * libm/common/coshl.c: Likewise.
        * libm/common/expl.c: Likewise.
        * libm/common/fmodl.c: Likewise.
        * libm/common/hypotl.c: Likewise.
        * libm/common/ldexpl.c: Likewise.
        * libm/common/log10l.c: Likewise.
        * libm/common/logl.c: Likewise.
        * libm/common/powl.c: Likewise.
        * libm/common/sqrtl.c: Likewise.
        * libm/common/copysignl.c: Likewise.
        * libm/common/ilogbl.c: Likewise.
        * libm/common/nanl.c: Likewise.
        * libm/common/cbrtl.c: Likewise.
        * libm/common/asinhl.c: Likewise.
        * libm/common/nextafterl.c: Likewise.
        * libm/common/rintl.c: Likewise.
        * libm/common/scalbnl.c: Likewise.
        * libm/common/exp2l.c: Likewise.
        * libm/common/fdiml.c: Likewise.
        * libm/common/fmal.c: Likewise.
        * libm/common/fmaxl.c: Likewise.
        * libm/common/fminl.c: Likewise.
        * libm/common/lrintl.c: Likewise.
        * libm/common/lroundl.c: Likewise.
        * libm/common/nearbyintl.c: Likewise.
        * libm/common/remquol.c: Likewise.
        * libm/common/roundl.c: Likewise.
        * libm/common/scalblnl.c: Likewise.
        * libm/common/truncl.c: Likewise.
        * libm/common/acoshl.c: Likewise.
        * libm/common/atanhl.c: Likewise.
        * libm/common/erfcl.c: Likewise.
        * libm/common/erfl.c: Likewise.
        * libm/common/lgammal.c: Likewise.
        * libm/common/remainderl.c: Likewise.
        * libm/common/tgammal.c: Likewise.
        * libm/common/sinhl.c: Likewise.
        * libm/common/llroundl.c: Likewise.
        * libm/common/llrintl.c: Likewise.
        * libm/common/local.h: New file with _LDBL_EQ_DBL macro.

15 years ago2009-04-17 Ken Werner <ken.werner@de.ibm.com>
Jeff Johnston [Fri, 17 Apr 2009 20:54:19 +0000 (20:54 +0000)]
2009-04-17  Ken Werner  <ken.werner@de.ibm.com>

        * libc/include/machine/ieeefp.h: _LDBL_EQ_DBL check fixed.
        * libc/include/math.h (llrintl): Declare.
        * libm/common/llrintl.c: New File.
        * libm/common/Makefile.am: New File added.
        * libm/common/Makefile.in: Regenerate.

15 years ago2009-04-17 Ken Werner <ken.werner@de.ibm.com>
Jeff Johnston [Fri, 17 Apr 2009 20:50:44 +0000 (20:50 +0000)]
2009-04-17  Ken Werner  <ken.werner@de.ibm.com>

        * libc/configure.in: Change AC_TRY_COMPILE to AC_TRY_COMMAND to
        avoid executable test.
        * libc/configure: Regenerate.

15 years ago2009-04-17 Jeff johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 17 Apr 2009 20:48:34 +0000 (20:48 +0000)]
2009-04-17  Jeff johnston  <jjohnstn@redhat.com>

        * configure.in: Remove _HAVE_ARRAY_ALIASING check.
        * configure: Regenerated.
        * Makefile.in: Regenerated.
        * newlib.hin: Remove _HAVE_ARRAY_ALIASING flag.
        * libc/ctype/ctype_.c: Do not check for _HAVE_ARRAY_ALIASING.
        * libm/configure.in: Change AC_TRY_COMPILE to AC_TRY_COMMAND to
        avoid executable test.
        * libm/configure: Regenerated.

15 years ago2009-04-17 Jeff johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 17 Apr 2009 16:18:17 +0000 (16:18 +0000)]
2009-04-17  Jeff johnston  <jjohnstn@redhat.com>

        * configure.in: Remove _HAVE_ARRAY_ALIASING check.
        * configure: Regenerated.
        * newlib.hin: Remove _HAVE_ARRAY_ALIASING flag.
        * libc/ctype/ctype_.c: Do not check for _HAVE_ARRAY_ALIASING.
        * libm/configure.in: Change AC_TRY_COMPILE to AC_TRY_COMMAND to
        avoid executable test.
        * libm/configure: Regenerated.

15 years agobfd/
H.J. Lu [Fri, 17 Apr 2009 15:03:47 +0000 (15:03 +0000)]
bfd/

2009-04-17  H.J. Lu  <hongjiu.lu@intel.com>

* peXXigen.c (_bfd_XX_print_private_bfd_data_common): Replace
IMAGE_SUBSYSTEM_EFI_ROM with IMAGE_SUBSYSTEM_SAL_RUNTIME_DRIVER.

binutils/

2009-04-17  H.J. Lu  <hongjiu.lu@intel.com>

* objcopy.c (set_pe_subsystem): Replace efi-rom with sal-rtd.
* doc/binutils.texi: Likewise.

include/coff/

2009-04-17  H.J. Lu  <hongjiu.lu@intel.com>

* pe.h (IMAGE_SUBSYSTEM_EFI_ROM): Renamed to ...
(IMAGE_SUBSYSTEM_SAL_RUNTIME_DRIVER): This.

15 years ago * dcrt0.cc (globify): Make multibyte-aware.
Corinna Vinschen [Fri, 17 Apr 2009 14:51:44 +0000 (14:51 +0000)]
* dcrt0.cc (globify): Make multibyte-aware.

15 years ago * flock.cc (class inode_t): Add i_wait member and matching methods
Corinna Vinschen [Fri, 17 Apr 2009 13:29:08 +0000 (13:29 +0000)]
* flock.cc (class inode_t): Add i_wait member and matching methods
wait(), unwait(), and waiting().
(inode_t::inode_t): Initialize i_wait to 0.
(fhandler_disk_file::lock): Only remove node if no other thread is
waiting for a blocking lock.
(lf_setlock): Manipulate node->i_wait to signal that a thread is
waiting for a blocking lock in this node.
(lf_findoverlap): Reinstantiate SELF test as in original code.

15 years ago * config.sub, config.guess: Update from upstream sources.
Ben Elliston [Fri, 17 Apr 2009 11:40:14 +0000 (11:40 +0000)]
* config.sub, config.guess: Update from upstream sources.

15 years ago2009-04-16 Jeff johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 16 Apr 2009 19:16:41 +0000 (19:16 +0000)]
2009-04-16  Jeff johnston  <jjohnstn@redhat.com>

        * libc/misc/init.c (__libc_fini_array): Process fini_array in
        reverse order as compliant with the ELF specification.

15 years ago2009-04-16 Ken Werner <ken.werner@de.ibm.com>
Jeff Johnston [Thu, 16 Apr 2009 18:38:23 +0000 (18:38 +0000)]
2009-04-16  Ken Werner  <ken.werner@de.ibm.com>

        * libc/machine/spu/Makefile.am: Add new File.
        * libc/machine/spu/Makefile.in: Regenerate.
        * libc/machine/spu/fdopen.c: New file.

15 years ago2009-04-16 Hans-Peter Nilsson <hp@axis.com>
Jeff Johnston [Thu, 16 Apr 2009 18:29:51 +0000 (18:29 +0000)]
2009-04-16  Hans-Peter Nilsson  <hp@axis.com>

        * libc/include/stdint.h (INTPTR_MIN, INTPTR_MAX, UINTPTR_MAX): Define.

15 years ago2009-04-16 Ken Werner <ken.werner@de.ibm.com>
Jeff Johnston [Thu, 16 Apr 2009 18:24:35 +0000 (18:24 +0000)]
2009-04-16  Ken Werner  <ken.werner@de.ibm.com>

        * libm/libm.texinfo: Add long double function support chapter.
        * libc/include/machine/ieeefp.h: Add _LDBL_EQ_DBL define.
        * libc/include/stdlib.h: Include <machine/ieeefp.h>.
        (strtold, wcstold): Declare.
        * libc/stdlib/strtold.c: New File.
        * libc/stdlib/wcstold.c: Likewise.
        * libc/configure.in: Add long double check.
        * libc/configure: Regenerate.
        * libc/stdlib/Makefile.am: Add strtold.c and wcstold.c.
        * libc/stdlib/Makefile.in: Regenerate.
        * libc/include/math.h (atanl, cosl, sinl, tanl, tanhl): Declare.
        (frexpl, modfl, ceill, fabsl, floorl, log1pl, expm1l, acosl): Ditto.
        (asinl, atan2l, coshl, sinhl, expl, ldexpl, logl, log10l, powl): Ditto.
        (sqrtl, fmodl, hypotl, copysignl, nanl, ilogbl, asinhl, cbrt): Ditto.
        (nextafterl, rintl, scalbnl, exp2l, scalblnl, tgammal): Ditto.
        (nearbyintl, lrintl, llrintl, roundl, lroundl, llround): Ditto.
        (llroundl, truncl, remquol, fdiml, fmaxl, fminl, fmal, acoshl): Ditto.
        (atanhl, remainderl, lgammal, erfl, erfcl): Ditto.
        * libm/common/atanl.c: New File.
        * libm/common/cosl.c: Likewise.
        * libm/common/sinl.c: Likewise.
        * libm/common/modfl.c: Likewise.
        * libm/common/frexpl.c: Likewise.
        * libm/common/tanhl.c: Likewise.
        * libm/common/tanl.c: Likewise.
        * libm/common/expm1l.c: Likewise.
        * libm/common/log1pl.c: Likewise.
        * libm/common/ceill.c: Likewise.
        * libm/common/fabsl.c: Likewise.
        * libm/common/floorl.c: Likewise.
        * libm/common/acosl.c: Likewise.
        * libm/common/asinl.c: Likewise.
        * libm/common/atan2l.c: Likewise.
        * libm/common/coshl.c: Likewise.
        * libm/common/expl.c: Likewise.
        * libm/common/fmodl.c: Likewise.
        * libm/common/hypotl.c: Likewise.
        * libm/common/ldexpl.c: Likewise.
        * libm/common/log10l.c: Likewise.
        * libm/common/logl.c: Likewise.
        * libm/common/powl.c: Likewise.
        * libm/common/sqrtl.c: Likewise.
        * libm/common/copysignl.c: Likewise.
        * libm/common/ilogbl.c: Likewise.
        * libm/common/nanl.c: Likewise.
        * libm/common/cbrtl.c: Likewise.
        * libm/common/asinhl.c: Likewise.
        * libm/common/nextafterl.c: Likewise.
        * libm/common/rintl.c: Likewise.
        * libm/common/scalbnl.c: Likewise.
        * libm/common/exp2l.c: Likewise.
        * libm/common/fdiml.c: Likewise.
        * libm/common/fmal.c: Likewise.
        * libm/common/fmaxl.c: Likewise.
        * libm/common/fminl.c: Likewise.
        * libm/common/lrintl.c: Likewise.
        * libm/common/lroundl.c: Likewise.
        * libm/common/nearbyintl.c: Likewise.
        * libm/common/remquol.c: Likewise.
        * libm/common/roundl.c: Likewise.
        * libm/common/scalblnl.c: Likewise.
        * libm/common/truncl.c: Likewise.
        * libm/common/acoshl.c: Likewise.
        * libm/common/atanhl.c: Likewise.
        * libm/common/erfcl.c: Likewise.
        * libm/common/erfl.c: Likewise.
        * libm/common/lgammal.c: Likewise.
        * libm/common/remainderl.c: Likewise.
        * libm/common/tgammal.c: Likewise.
        * libm/common/sinhl.c: Likewise.
        * libm/common/llroundl.c: Likewise.
        * libm/configure.in: Add long double check.
        * libm/configure: Regenerate.
        * libm/common/Makefile.am: Add new files.
        * libm/common/Makefile.in: Regenerate.

15 years agoFix typo in previous commit.
Nick Clifton [Thu, 16 Apr 2009 17:11:21 +0000 (17:11 +0000)]
Fix typo in previous commit.

15 years ago * dlfcn.cc (get_full_path_of_dll): Just return a bool value. Drop
Corinna Vinschen [Thu, 16 Apr 2009 16:17:58 +0000 (16:17 +0000)]
* dlfcn.cc (get_full_path_of_dll): Just return a bool value.  Drop
local path_conv in favor of getting it as parameter.  Add local string
buffer instead of getting it as parameter.
(dlopen): Accommodate get_full_path_of_dll change.  Fetch WCHAR Windows
path from path_conv variable and call LoadLibraryW.

15 years agoAdd new binutils target: moxie
Nick Clifton [Thu, 16 Apr 2009 15:39:46 +0000 (15:39 +0000)]
Add new binutils target: moxie

15 years ago * ntdll.h (STATUS_LOCK_NOT_GRANTED): Define.
Corinna Vinschen [Thu, 16 Apr 2009 12:16:35 +0000 (12:16 +0000)]
* ntdll.h (STATUS_LOCK_NOT_GRANTED): Define.
* syscalls.cc (unlink_nt): Handle STATUS_LOCK_NOT_GRANTED same as
STATUS_SHARING_VIOLATION.  Add lengthy comment to explain why.

15 years ago * cygpath.cc (do_pathconv): Only skip \\?\ prefix if it's really
Corinna Vinschen [Wed, 15 Apr 2009 10:00:40 +0000 (10:00 +0000)]
* cygpath.cc (do_pathconv): Only skip \\?\ prefix if it's really
given.  Do backslash to slash conversion for mixed paths after
handling \\?\ prefix.

15 years ago * path.cc (path_conv::get_wide_win32_path): Allow relative paths.
Corinna Vinschen [Wed, 15 Apr 2009 09:58:41 +0000 (09:58 +0000)]
* path.cc (path_conv::get_wide_win32_path): Allow relative paths.
(cygwin_conv_path): In case of CCP_POSIX_TO_WIN_W, convert relative
paths to absolute paths if the relative pathname length exceeds
MAX_PATH.

15 years ago * libc/bsdlib.cc: Align copyright with upstream.
Corinna Vinschen [Wed, 15 Apr 2009 08:20:47 +0000 (08:20 +0000)]
* libc/bsdlib.cc: Align copyright with upstream.
* libc/fnmatch.c: Ditto.
* libc/fts.c: Ditto.
* libc/inet_addr.c: Ditto.
* libc/inet_network.c: Ditto.
* libc/rcmd.cc: Ditto.
* libc/rexec.cc: Ditto.

15 years ago* speclib: Really revert to using tempdir.
Christopher Faylor [Tue, 14 Apr 2009 15:10:28 +0000 (15:10 +0000)]
* speclib: Really revert to using tempdir.

15 years ago* speclib: Revert to using tempdir.
Christopher Faylor [Tue, 14 Apr 2009 14:28:34 +0000 (14:28 +0000)]
* speclib: Revert to using tempdir.

15 years ago * localtime.cc (tzload): Implement setting __tzrule's offset member
Corinna Vinschen [Tue, 14 Apr 2009 12:08:07 +0000 (12:08 +0000)]
* localtime.cc (tzload): Implement setting __tzrule's offset member
using newlib's __gettzinfo () interface also when tzload returns
successfully.

15 years ago * include/stdint.h (intptr_t): Remove long from type.
Dave Korn [Mon, 13 Apr 2009 22:55:00 +0000 (22:55 +0000)]
* include/stdint.h (intptr_t):  Remove long from type.
(uintptr_t):  Likewise.
(INTPTR_MIN):  Remove 'L' suffix.
(INTPTR_MAX, UINTPTR_MAX):  Likewise.

15 years ago * Makefile.in (dumper.exe): Add -lz to ALL_LDFLAGS.
Dave Korn [Mon, 13 Apr 2009 22:51:02 +0000 (22:51 +0000)]
* Makefile.in (dumper.exe):  Add -lz to ALL_LDFLAGS.

15 years ago* speclib: Initial stab at cleaning up temp files. More work needed.
Christopher Faylor [Sun, 12 Apr 2009 05:11:08 +0000 (05:11 +0000)]
* speclib: Initial stab at cleaning up temp files.  More work needed.
* mkimport: Ditto.

15 years ago* Makefile.in (clean): Clean globals.h.
Christopher Faylor [Sun, 12 Apr 2009 04:14:31 +0000 (04:14 +0000)]
* Makefile.in (clean): Clean globals.h.
(LIBCOS): Depend on globals.h.

15 years ago* mkimport: New script to perform all operations necessary to create
Christopher Faylor [Sun, 12 Apr 2009 03:19:52 +0000 (03:19 +0000)]
* mkimport: New script to perform all operations necessary to create
libcygwin.a.
* rmsym: Delete.
* newsym: Delete.
* Makefile.in (toolopts): New variable which holds options relating to
binutils/gcc tools.
(speclib): Use toolopts.  Add symbols to avoid copying to special libraries.
(OBSOLETE_FUNCTIONS): Delete.
(NEW_FUNCTIONS): Change to represent an argument to new mkimport script.
(libcygwin.a): Use only new mkimport script to create libcygwin.a.  Only rely
on ${LIBCOS}.
(*/lib*.a): Simplify speclib dependencies.
(speclib): Accept toolchain options.  Convert every argument to absolute path.
Simplify parsing of nm output.  Accommodate new exclude option.

15 years ago2009-04-11 Danny Smith <dannsymith@users.sourceforge.net>
Chris Sutcliffe [Sat, 11 Apr 2009 12:41:09 +0000 (12:41 +0000)]
2009-04-11 Danny Smith <dannsymith@users.sourceforge.net>

        * include/stdint.h (int_fast8_t): Specify as signed char.
        (INT8_C, UINT8_C, INT16_C, UINT16_C): Simplify: just allow promotion to int.
        (INT32_C, UINT32_C): Remove 'L' type specifier on constant.

15 years ago * include/stdint.h (INTPTR_MIN, INTPTR_MAX): Add 'L' suffix.
Corinna Vinschen [Sat, 11 Apr 2009 08:07:30 +0000 (08:07 +0000)]
* include/stdint.h (INTPTR_MIN, INTPTR_MAX):  Add 'L' suffix.
(WINT_MAX):  Add 'U' suffix.

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