]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
15 years ago * Makefile.tpl (all): Avoid a trailing backslash.
Ralf Wildenhues [Wed, 3 Jun 2009 05:40:47 +0000 (05:40 +0000)]
    * Makefile.tpl (all): Avoid a trailing backslash.
        * Makefile.in: Regenerate.

15 years ago * config.sub, config.guess: Update from upstream sources.
Ben Elliston [Tue, 2 Jun 2009 23:00:59 +0000 (23:00 +0000)]
* config.sub, config.guess: Update from upstream sources.

15 years ago2009-06-02 Richard Earnshaw <rearnsha@arm.com>
Jeff Johnston [Tue, 2 Jun 2009 20:39:17 +0000 (20:39 +0000)]
2009-06-02  Richard Earnshaw  <rearnsha@arm.com>

        * libc/include/sys/config.h: Remove specification of _REENT_SMALL for
        thumb2.

15 years ago * path.cc (path_conv::check): Don't call set_exec for files on "noacl"
Corinna Vinschen [Tue, 2 Jun 2009 13:29:30 +0000 (13:29 +0000)]
* path.cc (path_conv::check): Don't call set_exec for files on "noacl"
mount points.

15 years ago * libc/ctype/jp2uc.c: Skip all definition if defined __CYGWIN__.
Corinna Vinschen [Tue, 2 Jun 2009 09:41:06 +0000 (09:41 +0000)]
* libc/ctype/jp2uc.c: Skip all definition if defined __CYGWIN__.
(__jp2uc): Change the scope to static function.
* libc/ctype/local.h (_jp2uc): Define as macro if defined __CYGWIN__.
* libc/string/local.h (_jp2uc): Include ../ctype/local.h.

15 years ago* Makefile.tpl ([+compare-target+]): Compare all stage
Alexandre Oliva [Tue, 2 Jun 2009 08:23:45 +0000 (08:23 +0000)]
* Makefile.tpl ([+compare-target+]): Compare all stage
directories, rather than just gcc.
* Makefile.in: Rebuilt.

15 years agomerge from gcc
DJ Delorie [Mon, 1 Jun 2009 19:40:32 +0000 (19:40 +0000)]
merge from gcc

15 years agobfd/
H.J. Lu [Mon, 1 Jun 2009 13:11:52 +0000 (13:11 +0000)]
bfd/

2009-06-01  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/10205
* elf32-i386.c (elf_howto_table): Add R_386_IRELATIVE.
(elf_i386_reloc_type_lookup): Likewise.
(R_386_tls): Removed.
(R_386_irelative): New.
(R_386_vt_offset): Updated.
(elf_i386_rtype_to_howto): Likewise.
(elf_i386_link_hash_table): Add igotplt, iplt and irelplt.
(elf_i386_link_hash_table_create): Initialize igotplt,
iplt and irelplt.
(elf_i386_check_relocs): Handle STT_GNU_IFUNC symbol first.
(elf_i386_adjust_dynamic_symbol): Likewise.
(elf_i386_allocate_dynrelocs): Likewise.
(elf_i386_relocate_section): Likewise.
(elf_i386_size_dynamic_sections): Set up .iplt and .igot.plt
sections.
(elf_i386_finish_dynamic_symbol): When building a static
executable, use .iplt, .igot.plt and .rel.iplt sections for
STT_GNU_IFUNC symbols.  Generate R_386_IRELATIVE relocation for
locally defined STT_GNU_IFUNC symbol.

* elf64-x86-64.c (x86_64_elf_howto): Add R_X86_64_IRELATIVE.
(x86_64_reloc_map): Likewise.
(R_X86_64_standard): Updated.
(elf64_x86_64_link_hash_table): Add igotplt, iplt and irelplt.
(elf64_x86_64_link_hash_table_create): Initialize igotplt,
iplt and irelplt.
(elf64_x86_64_check_relocs): Handle STT_GNU_IFUNC symbol first.
(elf64_x86_64_adjust_dynamic_symbol): Likewise.
(elf64_x86_64_allocate_dynrelocs): Likewise.
(elf64_x86_64_relocate_section): Likewise.
(elf64_x86_64_size_dynamic_sections): Set up .iplt and .igot.plt
sections.
(elf64_x86_64_finish_dynamic_symbol): When building a static
executable, use .iplt, .igot.plt and .rela.iplt sections for
STT_GNU_IFUNC symbols.  Generate R_X86_64_IRELATIVE relocation
for locally defined STT_GNU_IFUNC symbol.

* reloc.c (BFD_RELOC_386_IRELATIVE): New.
(BFD_RELOC_X86_64_IRELATIVE): Likewise.

* bfd-in2.h: Regenerated.
* libbfd.h: Likewise.

include/elf/

2009-06-01  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/10205
* i386.h (R_386_IRELATIVE): New.
* x86-64.h (R_X86_64_IRELATIVE): Likewise.

ld/testsuite/

2009-06-01  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/10205
* ld-ifunc/ifunc.exp (contains_irelative_reloc): New.
Use it on executable and shared library.
Run *.d.

* ld-ifunc/lib.c: Add a hidden alias, __GI_library_func2, for
library_func2.
(library_func): New.

* ld-ifunc/ifunc-1-x86.d: New.
* ld-ifunc/ifunc-1-x86.s: Likewise.
* ld-ifunc/ifunc-2-i386.d: Likewise.
* ld-ifunc/ifunc-2-i386.s: Likewise.
* ld-ifunc/ifunc-2-x86-64.d: Likewise.
* ld-ifunc/ifunc-2-x86-64.s: Likewise.
* ld-ifunc/ifunc-3a-x86.d: Likewise.
* ld-ifunc/ifunc-3b-x86.d: Likewise.
* ld-ifunc/ifunc-3-x86.s: Likewise.
* ld-ifunc/ifunc-4-x86.d: Likewise.
* ld-ifunc/ifunc-4-x86.s: Likewise.
* ld-ifunc/ifunc-5-i386.d: Likewise.
* ld-ifunc/ifunc-5-i386.s: Likewise.
* ld-ifunc/ifunc-5-x86-64.d: Likewise.
* ld-ifunc/ifunc-5-x86-64.s: Likewise.

15 years ago* strfuncs.cc (sys_cp_mbstowcs): Treat src as unsigned char *. Convert failure
Christopher Faylor [Sun, 31 May 2009 03:59:38 +0000 (03:59 +0000)]
* strfuncs.cc (sys_cp_mbstowcs): Treat src as unsigned char *.  Convert failure
of f_mbtowc into a single malformed utf-16 value.

15 years ago* cygwin/include/sys/termios.h: Make default erase character "^?".
Christopher Faylor [Sat, 30 May 2009 17:21:22 +0000 (17:21 +0000)]
* cygwin/include/sys/termios.h: Make default erase character "^?".

15 years ago* fhandler_console.cc (fhandler_console::read): Convert backspace key to DEL.
Christopher Faylor [Sat, 30 May 2009 05:51:41 +0000 (05:51 +0000)]
* fhandler_console.cc (fhandler_console::read): Convert backspace key to DEL.

15 years ago* path.cc (cwdstuff::set): Rewrite previous change to properly test the end of
Christopher Faylor [Fri, 29 May 2009 20:18:50 +0000 (20:18 +0000)]
* path.cc (cwdstuff::set): Rewrite previous change to properly test the end of
the buffer.

15 years ago2009-05-28 Doug Kwan <dougkwan@google.com>
Doug Kwan [Fri, 29 May 2009 00:15:11 +0000 (00:15 +0000)]
2009-05-28  Doug Kwan  <dougkwan@google.com>

        * configure.ac: Support gold for target arm*-*-*.
        * configure: Regenerate.
        * gold/Makefile.am (TARGETSOURCES): Add arm.cc.
        (ALL_TARGETOBJECTS): Add arm.$(OBJEXT)
        * gold/Makefile.in: Regenerate.
        * gold/arm.cc: New file.
        * gold/configure.tgt: Add armbe*-*-*, armeb*-*-* and arm*-*-* targets.

15 years ago* path.cc (cwdstuff::set): Avoid removing a nonexistent trailing slash.
Christopher Faylor [Thu, 28 May 2009 05:10:03 +0000 (05:10 +0000)]
* path.cc (cwdstuff::set): Avoid removing a nonexistent trailing slash.

15 years ago2009-05-27 Neal H. Walfield <neal@gnu.org>
Jeff Johnston [Wed, 27 May 2009 18:54:58 +0000 (18:54 +0000)]
2009-05-27  Neal H. Walfield  <neal@gnu.org>

        * libc/include/machine/setjmp.h (sigjmp_buf): Size according to
        _JBTYPE and the size of sigset_t.

15 years ago2009-05-27 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 27 May 2009 17:05:53 +0000 (17:05 +0000)]
2009-05-27  H.J. Lu  <hongjiu.lu@intel.com>

* common.h: Update comments for dynamic tag ranges.

15 years ago * plugins.m4: New.
Nick Clifton [Wed, 27 May 2009 16:29:54 +0000 (16:29 +0000)]
* plugins.m4: New.

        * aclocal.m4: Include ../config/plugins.m4.
        * configure.in: Use AC_PLUGINS.
        * configure: Regenerate.
        * Makefile.in: Regenerate.
        * doc/Makefile.in: Regenerate.

15 years ago* Makefile.tpl (all): Avoid harmless warning in make all when
Alexandre Oliva [Wed, 27 May 2009 07:30:42 +0000 (07:30 +0000)]
* Makefile.tpl (all): Avoid harmless warning in make all when
gcc-bootstrap is enabled but stage_last does not exist.
* Makefile.in: Rebuilt.

15 years agoChange explicitely to explicitly throughout.
Christopher Faylor [Wed, 27 May 2009 02:30:42 +0000 (02:30 +0000)]
Change explicitely to explicitly throughout.

15 years ago2009-05-25 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Mon, 25 May 2009 13:31:05 +0000 (13:31 +0000)]
2009-05-25  Tristan Gingold  <gingold@adacore.com>

* setup.com: Complete the file with configuration and build.

15 years ago2009-05-25 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Mon, 25 May 2009 13:04:40 +0000 (13:04 +0000)]
2009-05-25  Tristan Gingold  <gingold@adacore.com>

* fopen-vms.h (FOPEN_RB, FOPEN_WB, FOPEN_AB, FOPEN_RUB, FOPEN_WUB,
FOPEN_AUB): Use "rfm=udf,rat=none" attribute.

15 years ago* net.cc (gethostby_helper): Use correct signedness.
Christopher Faylor [Wed, 20 May 2009 14:56:46 +0000 (14:56 +0000)]
* net.cc (gethostby_helper): Use correct signedness.

15 years agoPR other/40159
Alexandre Oliva [Tue, 19 May 2009 01:11:12 +0000 (01:11 +0000)]
PR other/40159
* Makefile.tpl (all): Don't assume gcc-bootstrap and
gcc-no-bootstrap are mutually exclusive.
* Makefile.in: Rebuilt.

15 years ago* mount.cc (mount_info::add_item): Avoid using any-old '/' as indicating root.
Christopher Faylor [Tue, 19 May 2009 00:42:35 +0000 (00:42 +0000)]
* mount.cc (mount_info::add_item): Avoid using any-old '/' as indicating root.

15 years agoPR other/40159
Alexandre Oliva [Tue, 19 May 2009 00:01:50 +0000 (00:01 +0000)]
PR other/40159
* Makefile.tpl (all): Don't end with unconditional success.
* Makefile.in: Rebuilt.

15 years agogdb/
Jon Beniston [Mon, 18 May 2009 13:25:34 +0000 (13:25 +0000)]
gdb/
2009-05-18  Jon Beniston <jon@beniston.com>

        * MAINTAINERS: Add lm32 target.
        * Makefile.in: Add lm32 dependencies.
        * NEWS: Indicate lm32 is a new target.
        * configure.tgt: Add lm32 targets.
        * lm32-tdep.c: New file.

gdb/testsuite
2009-05-18  Jon Beniston <jon@beniston.com>

        * gdb.asm/asm-source.exp: Add lm32 target.

include/gdb/
2009-05-18  Jon Beniston <jon@beniston.com>

        * sim-lm32.h: New file.

sim/
2009-05-18  Jon Beniston <jon@beniston.com>

        * MAINTAINERS: Add Jon Beniston as maintainer of lm32 sim.
        * configure.ac: Add lm32 target.
        * lm32: New directory.

sim/common
2009-05-18  Jon Beniston <jon@beniston.com>

        * gennltvals.sh: Add lm32 target.
        * nltvals.def: Add lm32 syscall definitions.

sim/lm32/
2009-05-18  Jon Beniston <jon@beniston.com>

        * Makefile.in: New file.
        * arch.c: New file.
        * arch.h: New file.
        * config.in: New file.
        * configure: New file.
        * configure.ac: New file.
        * cpu.c: New file.
        * cpu.h: New file.
        * cpuall.h: New file.
        * decode.c: New file.
        * decode.h: New file.
        * dv-lm32cpu.c: New file.
        * dv-lm32timer.c: New file.
        * dv-lm32uart.c: New file.
        * lm32.c: New file.
        * lm32-sim.h: New file.
        * mloop.in: New file.
        * model.c: New file.
        * sem.c: New file.
        * sem-switch.c: New file.
        * sim-if.c: New file.
        * sim-main.c: New file.
        * tconfig.in: New file.
        * traps.c: New file.
        * user.c: New file.

15 years ago* mount.cc (mount_info::got_usr_bin): Mark as NO_COPY.
Christopher Faylor [Mon, 18 May 2009 04:58:21 +0000 (04:58 +0000)]
* mount.cc (mount_info::got_usr_bin): Mark as NO_COPY.
(mount_info::got_usr_lib): Ditto.
(mount_info::root_idx): Ditto.

15 years ago * cygpath.cc (codepage): New variable.
Corinna Vinschen [Sun, 17 May 2009 11:16:12 +0000 (11:16 +0000)]
* cygpath.cc (codepage): New variable.
(long_options): Add --codepage option.
(options): Add -C option.
(usage): Add -C/--codepage description.
(my_wcstombs): New function.  Use througout instead of wcstombs.
(do_options): Handle -C/--codepage option.
* utils.sgml (cygpath): Add description for new -C/--codepage option.

15 years ago * Makefile.in (cygpath.exe): Link against cygwin.a before linking
Corinna Vinschen [Sat, 16 May 2009 15:46:42 +0000 (15:46 +0000)]
* Makefile.in (cygpath.exe): Link against cygwin.a before linking
against ntdll.dll to avoid linking symbols defined in both DLLs
from ntdll.
(ps.exe): Ditto.

15 years ago2009-05-15 Craig Howland <howland@LGSInnovations.com>
Jeff Johnston [Fri, 15 May 2009 16:15:57 +0000 (16:15 +0000)]
2009-05-15  Craig Howland <howland@LGSInnovations.com>

        * configure.in:  Add configuration test for long double type existing
        and set flag _HAVE_LONG_DOUBLE if true.  Fix INIT_ARRAY (.init_array)
        and _LDBL_EQ_DBL tests to not link so that will work with
        cross-compilers.
        * configure: Regenerated.
        * Makefile.in: Ditto.
        * newlib.hin: Add _HAVE_LONG_DOUBLE flag.
        * libc/include/math.h:  Change non-builtin defines for HUGE_VAL,
        HUGE_VALF, and HUGE_VALL to be constant expressions.  Add definitions
        for the non-builtin case for INFINITY and NAN.  Gate HUGE_VALL and
        union __ldmath definitions with (new) _HAVE_LONG_DOUBLE.
        *libm/common/s_infconst.c:  Change definitions to use values from
        float.h instead of non-so-portable integer forms.  Mark as being
        deprecated (because now removed from math.h, are not used anywhere
        in Newlib, itself).

15 years ago * setup2.sgml (setup-locale-console): Disable section for now.
Corinna Vinschen [Fri, 15 May 2009 12:16:01 +0000 (12:16 +0000)]
* setup2.sgml (setup-locale-console): Disable section for now.

15 years ago * libc/string/local.h: New file.
Corinna Vinschen [Fri, 15 May 2009 11:40:28 +0000 (11:40 +0000)]
* libc/string/local.h: New file.
* libc/string/wcswidth.c (wcswidth):  Convert japanese wide
characters to Unicode here.  Handle surrogate pairs for UTF-16
systems.  Call __wcwidth rather than wcwidth.
* libc/string/wcwidth.c: New implementation using Markus Kuhn's
wcwidth implementation for Unicode.
(bisearch): New static function.
(__wcwidth): New function.  Take wint_t rather than wchar_t as
parameter to allow full Unicode handling on UTF-16 systems.
Move old wcwidth implementation here for non-multibyte aware
systems.
(wcwidth): Convert japanese wide characters to Unicode here.
Call __wcwidth rather than using iswprint/iswcntrl.

15 years ago * cygpath.cc (main): Only setlocale for LC_CTYPE category. Fallback
Corinna Vinschen [Fri, 15 May 2009 11:30:18 +0000 (11:30 +0000)]
* cygpath.cc (main): Only setlocale for LC_CTYPE category.  Fallback
to UTF-8 if locale is "C".
* ldd.cc (main): Ditto.
* mkgroup.c (main): Ditto.
* mkpasswd.c (main): Ditto.
* passwd.c (main): Ditto.

15 years ago * wchar.h (sys_mbstowcs): Add missing __stdcall attribute.
Corinna Vinschen [Fri, 15 May 2009 11:27:41 +0000 (11:27 +0000)]
* wchar.h (sys_mbstowcs): Add missing __stdcall attribute.

15 years ago * libc/ctype/local.h (JP_JIS, JP_SJIS, JP_EUCJP): Move definition
Corinna Vinschen [Thu, 14 May 2009 20:16:21 +0000 (20:16 +0000)]
* libc/ctype/local.h (JP_JIS, JP_SJIS, JP_EUCJP): Move definition
to jp2uc.c.
(__jp2uc): Remove declaration.
(_jp2uc): Declare.
* libc/ctype/jp2uc.c (JP_JIS, JP_SJIS, JP_EUCJP): Define.
(__jp2uc): Remove Cygwin special case.
(_jp2uc): New function.  On Cygwin, just return c.
* libc/ctype/iswalpha.c (iswalpha): Just call _jp2uc.
* libc/ctype/iswblank.c (iswblank): Ditto.
* libc/ctype/iswcntrl.c (iswcntrl): Ditto.
* libc/ctype/iswprint.c (iswprint): Ditto.
* libc/ctype/iswpunct.c (iswpunt): Ditto.
* libc/ctype/iswspace.c (iswspace): Ditto.
* libc/ctype/towlower.c (towlower): Ditto.
* libc/ctype/towupper.c (towupper): Ditto.

15 years ago * cygheap.cc (cygheap_init): Set Cygwin default locale values.
Corinna Vinschen [Thu, 14 May 2009 19:49:37 +0000 (19:49 +0000)]
* cygheap.cc (cygheap_init): Set Cygwin default locale values.
* cygheap.h (struct cygheap_locale): New structure.
(struct user_heap_info): Add cygheap_locale member locale.
* dcrt0.cc (dll_crt0_1): Revert to calling _setlocale_r so that only
the applications locale is reverted to "C".
* environ.cc (environ_init): Remove unused got_lc variable.
* fhandler.h (class dev_console): Remove now unsed locale variables.
* fhandler_console.cc (fhandler_console::get_tty_stuff): Remove
setting dev_console's locale members.
(dev_console::con_to_str): Use internal locale settings.  Default to
__ascii_wctomb if charset is "ASCII".
(fhandler_console::write_normal): Ditto.
* strfuncs.cc (__ascii_wctomb): Drop declaration.
(__db_wctomb): Use fixed value 2 instead of not
necessarily matching MB_CUR_MAX.
(__eucjp_wctomb): Use 3 instead of MB_CUR_MAX.
(sys_cp_wcstombs): Remove special case for "C" locale.
(sys_wcstombs): Implement here.  Use internal locale data stored on
cygheap.
(sys_cp_mbstowcs): Remove special case for "C" locale.
(sys_mbstowcs): Implement here.  Use internal locale data stored on
cygheap.
* syscalls.cc (internal_setlocale): New function to set cygheap locale
data and to reset CWD posix path.
(setlocale): Just call internal_setlocale from here if necessary.
* wchar.h (__ascii_wctomb): Declare.
(sys_wcstombs): Don't define inline, just declare.
(sys_mbstowcs): Ditto.

15 years ago* mount.cc (mount_info::init): Remove MOUNT_CYGWIN_EXEC setting when
Christopher Faylor [Thu, 14 May 2009 14:44:31 +0000 (14:44 +0000)]
* mount.cc (mount_info::init): Remove MOUNT_CYGWIN_EXEC setting when
auto-mounting /usr/bin.

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.

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