summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * path.cc (cwdstuff::set): Avoid removing a nonexistent trailing slash.Christopher Faylor2009-05-283-7/+12
|
* 2009-05-27 Neal H. Walfield <neal@gnu.org>Jeff Johnston2009-05-272-1/+10
| | | | | * libc/include/machine/setjmp.h (sigjmp_buf): Size according to _JBTYPE and the size of sigset_t.
* 2009-05-27 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2009-05-272-4/+10
| | | | * common.h: Update comments for dynamic tag ranges.
* * plugins.m4: New.Nick Clifton2009-05-272-0/+15
| | | | | | | | * aclocal.m4: Include ../config/plugins.m4. * configure.in: Use AC_PLUGINS. * configure: Regenerate. * Makefile.in: Regenerate. * doc/Makefile.in: Regenerate.
* * Makefile.tpl (all): Avoid harmless warning in make all whenAlexandre Oliva2009-05-273-2/+8
| | | | | gcc-bootstrap is enabled but stage_last does not exist. * Makefile.in: Rebuilt.
* Change explicitely to explicitly throughout.Christopher Faylor2009-05-276-7/+11
|
* 2009-05-25 Tristan Gingold <gingold@adacore.com>Tristan Gingold2009-05-252-0/+35
| | | | * setup.com: Complete the file with configuration and build.
* 2009-05-25 Tristan Gingold <gingold@adacore.com>Tristan Gingold2009-05-252-6/+11
| | | | | * fopen-vms.h (FOPEN_RB, FOPEN_WB, FOPEN_AB, FOPEN_RUB, FOPEN_WUB, FOPEN_AUB): Use "rfm=udf,rat=none" attribute.
* * net.cc (gethostby_helper): Use correct signedness.Christopher Faylor2009-05-202-35/+40
|
* PR other/40159Alexandre Oliva2009-05-193-9/+16
| | | | | | * Makefile.tpl (all): Don't assume gcc-bootstrap and gcc-no-bootstrap are mutually exclusive. * Makefile.in: Rebuilt.
* * mount.cc (mount_info::add_item): Avoid using any-old '/' as indicating root.Christopher Faylor2009-05-192-1/+6
|
* PR other/40159Alexandre Oliva2009-05-193-9/+15
| | | | | * Makefile.tpl (all): Don't end with unconditional success. * Makefile.in: Rebuilt.
* gdb/Jon Beniston2009-05-182-0/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* * mount.cc (mount_info::got_usr_bin): Mark as NO_COPY.Christopher Faylor2009-05-182-3/+9
| | | | | (mount_info::got_usr_lib): Ditto. (mount_info::root_idx): Ditto.
* * cygpath.cc (codepage): New variable.Corinna Vinschen2009-05-173-10/+85
| | | | | | | | | (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.
* * Makefile.in (cygpath.exe): Link against cygwin.a before linkingCorinna Vinschen2009-05-162-2/+9
| | | | | | against ntdll.dll to avoid linking symbols defined in both DLLs from ntdll. (ps.exe): Ditto.
* 2009-05-15 Craig Howland <howland@LGSInnovations.com>Jeff Johnston2009-05-157-55/+179
| | | | | | | | | | | | | | | | | | * 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).
* * setup2.sgml (setup-locale-console): Disable section for now.Corinna Vinschen2009-05-152-0/+6
|
* * libc/string/local.h: New file.Corinna Vinschen2009-05-154-11/+267
| | | | | | | | | | | | | | | * 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.
* * cygpath.cc (main): Only setlocale for LC_CTYPE category. FallbackCorinna Vinschen2009-05-156-4/+32
| | | | | | | | to UTF-8 if locale is "C". * ldd.cc (main): Ditto. * mkgroup.c (main): Ditto. * mkpasswd.c (main): Ditto. * passwd.c (main): Ditto.
* * wchar.h (sys_mbstowcs): Add missing __stdcall attribute.Corinna Vinschen2009-05-152-1/+5
|
* * libc/ctype/local.h (JP_JIS, JP_SJIS, JP_EUCJP): Move definitionCorinna Vinschen2009-05-1411-61/+47
| | | | | | | | | | | | | | | | | 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.
* * cygheap.cc (cygheap_init): Set Cygwin default locale values.Corinna Vinschen2009-05-1410-57/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* * mount.cc (mount_info::init): Remove MOUNT_CYGWIN_EXEC setting whenChristopher Faylor2009-05-142-1/+6
| | | | auto-mounting /usr/bin.
* * faq-setup.xml (faq.setup.upgrade-mountpoints): New entry.Corinna Vinschen2009-05-144-5/+49
| | | | | | | * 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}.
* * new-features.sgml: Add automounting of /, /usr/bin, and /usr/lib.Corinna Vinschen2009-05-143-9/+36
| | | | | | | | * 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.
* * mount.cc (oopts): Add a no-op "auto" option.Corinna Vinschen2009-05-142-1/+8
| | | | | (mount_info::create_root_entry): Set root dir to MOUNT_IMMUTABLE rather than to MOUNT_OVERRIDE.
* cygwin ChangeLogChristopher Faylor2009-05-149-70/+183
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* 2009-05-13 Ken Werner <ken.werner@de.ibm.com>Jeff Johnston2009-05-133-92/+60
| | | | | * configure.in: Introduce config_libnosys flag which defaults to true. * configure: Regenerate.
* 2009-05-13 Ulrich Weigand <uweigand@de.ibm.com>Jeff Johnston2009-05-133-5/+13
| | | | | * spu/crtn.S: Add dummy to ensure nothing gets linked at address 0. * spu/crti.S: Remove nop.
* 2009-05-13 Paul Brook <paul@codesourcery.com>Jeff Johnston2009-05-132-2/+7
| | | | | * libc/machine/arm/setjmp.S: Don't bother saving IP. Copy SP to IP before saving. Likewise when restoring.
* 2009-05-13 Paul Brook <paul@codesourcery.com>Jeff Johnston2009-05-132-1/+54
| | | | * libc/machine/arm/setjmp.S: Add ARMv6-M implementation.
* * pathnames.sgml (pathnames-unusual): Talk about using UTF-8 in CCorinna Vinschen2009-05-133-4/+18
| | | | | locale. * setup2.sgml (setup-locale-problems): Ditto.
* * cygheap.h (cwdstuff): Convert to class. Make posix and dir private.Corinna Vinschen2009-05-137-11/+75
| | | | | | | | | | | | | | | | | | (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.
* * libc/locale/locale.c (setlocale): Don't build on Cygwin.Corinna Vinschen2009-05-132-1/+6
|
* ChangeLog:Alexandre Oliva2009-05-1210-4007/+1791
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* 2009-05-11 Craig Howland <howland@LGSInnovations.com>Jeff Johnston2009-05-113-12/+8
| | | | | * libm/machine/i386/f_llrint.c: Remove llrint() definition. * libm/machine/i386/f_llrintf.c: Remove llrintf() definition.
* * Makefile.in: Link ps.exe agains ntdll.dll.Corinna Vinschen2009-05-113-2/+83
| | | | | | | * 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.
* * cygwin/version.h (CYGWIN_VERSION_CYGWIN_CONV): New define.Christopher Faylor2009-05-092-0/+6
|
* * dtable.cc (dtable::init_std_file_from_handle): Add workaround forCorinna Vinschen2009-05-094-3/+96
| | | | | | | | | | | 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.
* * sec_auth.cc (str2uni_cat): Move from here...Corinna Vinschen2009-05-094-18/+21
| | | | | | | * 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.
* * strfuncs.cc (sys_cp_wcstombs): save and restore previous errno value.Corinna Vinschen2009-05-082-1/+8
| | | | (sys_cp_mbstowcs): Ditto.
* * strfuncs.cc (sys_cp_wcstombs): Set errno to 0 before convertingCorinna Vinschen2009-05-082-0/+6
| | | | wide char to SO/UTF-8 sequence.
* * include/sys/select.h: Guard definitions with __USE_W32_SOCKETS asCorinna Vinschen2009-05-082-2/+7
| | | | the accompanying fd_set definitions in newlib's sys/types.h.
* * MAINTAINERS: Add myself as a maintainer for the MN10300 and toNick Clifton2009-05-082-0/+7
| | | | the write-after-approval list.
* * mn10300/sim.ld: Add missing section names such as .bss.*Nick Clifton2009-05-082-41/+36
| | | | .text.*, etc. General tidy up.
* 2009-05-07 Ken Werner <ken.werner@de.ibm.com>Jeff Johnston2009-05-074-1791/+1199
| | | | | | * spu/configure.in: Fix multilib support. * spu/configure: Regenerate. * spu/Makefile.in: Add CFLAGS_FOR_TARGET.
* * fhandler_console.cc (fhandler_console::ioctl): Properly treat TIOCLINUXChristopher Faylor2009-05-063-3/+10
| | | | | | argument as a char. * fhandler_tty.cc (fhandler_tty_slave::ioctl): Use coercion to properly set char value.
* * Move ChangeLog entry.Corinna Vinschen2009-05-062-5/+5
|
* * libc/minires.c (scanline): Fix type in calls to ctype functionsCorinna Vinschen2009-05-064-10/+17
| | | | | | to stay in unsigned char range for char values >= 0x80. * regex/regcomp.c: Ditto, throughout. * regex/regex2.h (ISWORD): Ditto.