Commit Graph

3062 Commits

Author SHA1 Message Date
Danny Smith 1cbcda2e6c * include/tchar.h (_tputenv): Add UNICODE mappings.
(_tsearchenv): Likewise.
	(_tmakepath): Likewise.
	(_tsplitpath): Likewise.
	(_tfullpath): Likewise.
	(__TEXT): Make same as define in w32api/include/winnt.h.
2002-04-20 05:05:50 +00:00
Jeff Johnston 59be22909b 2002-04-19 Bill Siegmund
* libc/machine/xscale/memchr.c: Don't use multi-line strings.
        * libc/machine/xscale/memcmp.c: Ditto.
        * libc/machine/xscale/memcpy.c: Ditto.
        * libc/machine/xscale/memmove.c: Ditto.
        * libc/machine/xscale/memset.c: Ditto.
        * libc/machine/xscale/strchr.c: Ditto.
        * libc/machine/xscale/strcmp.c: Ditto.
        * libc/machine/xscale/strcpy.c: Ditto.
        * libc/machine/xscale/strlen.c: Ditto.
2002-04-20 00:29:51 +00:00
Jeff Johnston 2dd4c4dc18 2002-04-19 Alexandre Oliva <aoliva@redhat.com>
* libc/include/sys/config.h: Remove include of <limits.h>.
        (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
        define INT_MAX and LONG_MAX.  Use them in tests.
2002-04-19 23:52:48 +00:00
Jeff Johnston 0d844014bf 2002-04-19 Jeff Johnston <jjohnstn@redhat.com>
*  configure.host: Add support for powerpc-eabialtivec*.
        *  libc/include/malloc.h: Add include of <machine/malloc.h>.
        *  libc/include/stdlib.h: Add include of <machine/stdlib.h>.
        *  libc/include/machine/malloc.h: New file.
        *  libc/include/machine/stdlib.h: Ditto.
        *  libc/include/machine/setjmp.h: Add support for powerpc altivec.
        *  libc/machine/powerpc/Makefile.am: Add conditional objects and
        sources based on configuration.
        *  libc/machine/powerpc/Makefile.in: Regenerated.
        *  libc/machine/powerpc/configure: Ditto.
        *  libc/machine/powerpc/configure.in: Add check for
        powerpc-eabialtivec* in which case add in additional source files.
        *  libc/machine/powerpc/setjmp.S: Add altivec support.
        *  libc/machine/powerpc/vec_calloc.c: New file.
        *  libc/machine/powerpc/vec_free.c: Ditto.
        *  libc/machine/powerpc/vec_malloc.c: Ditto.
        *  libc/machine/powerpc/vec_mallocr.c: Ditto.
        *  libc/machine/powerpc/vec_realloc.c: Ditto.
        *  libc/machine/powerpc/machine/malloc.h: Ditto.
        *  libc/machine/powerpc/machine/stdlib.h: Ditto.
        *  libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
        with added altivec format specifiers.
        *  libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
        added altivec format specifiers.
2002-04-19 19:16:22 +00:00
Joel Sherrill d413aadcaf 2002-04-19 Joel Sherrill <joel@OARcorp.com>
* libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
	while autoconf is trying to link main(){}.
2002-04-19 18:53:40 +00:00
DJ Delorie 62cb3c073a sync from gcc
2002-04-18  Tom Tromey  <tromey@redhat.com>

	* configure.in: Disallow configuring libgcj when it is already
	installed and we're using Solaris 2.8 linker.  Do enable libgcj on
	Solaris 2.8 by default.  For PR libgcj/6158.
2002-04-19 17:36:40 +00:00
DJ Delorie 6992cde2f8 2002-04-19 Nathanael Nerode <neroden@twcny.rr.com>
* config/mh-a68bsd: clean out dead code
	* config/mh-apollo68: clean out dead code
	* config/mh-cxux: clean out dead code
	* config/mh-decstation: clean out dead code
	* config/mh-dgux: clean out dead code
	* config/mh-dgux386: clean out dead code
	* config/mh-hp300: clean out dead code
	* config/mh-hpux: clean out dead code
	* config/mh-hpux8: clean out dead code
	* config/mh-interix: clean out dead code
	* config/mh-irix4: clean out dead code
	* config/mh-lynxrs6k: clean out dead code
	* config/mh-mingw32: clean out dead code
	* config/mh-ncr3000: clean out dead code
	* config/mh-ncrsvr43: clean out dead code
	* config/mh-necv4: clean out dead code
	* config/mh-openedition: clean out dead code
	* config/mh-riscos: clean out dead code
	* config/mh-sco: clean out dead code
	* config/mh-sysv4: clean out dead code
	* config/mh-lynxos: removed, contained only dead code
	* config/mh-vaxult2: removed, contained only dead code
	* config/mh-sun3: removed, contained only dead code
	* configure.in: remove references to dead files
2002-04-19 17:28:04 +00:00
Christopher Faylor 27dcb52a29 revert patch 2002-04-19 14:42:20 +00:00
Robert Collins 4ce4e69db6 2002-04-16 Thomas Pfaff <tpfaff@gmx.net>
* dll_init.h (per_process::dtors_run): New member.
        * dll_init.cc (per_module::run_dtors): Run dtors only once.
        (dll::init): Initialize dtors_run flag.
2002-04-19 12:46:19 +00:00
Danny Smith e9f1cbd011 * dirent.c (opendir): Convert given pathname to
absolute pathname.
2002-04-18 10:32:27 +00:00
Corinna Vinschen 9b15f5fa95 * security.cc (get_lsa_srv_inf): Prevent extraneous backslashes for
the NT Domain case.
2002-04-18 09:11:54 +00:00
Jeff Johnston 271938959c 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
        * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
2002-04-17 21:38:47 +00:00
Jeff Johnston 6b0f808e35 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
* libc/time/time.tex: Add tzset info.
2002-04-17 21:37:07 +00:00
Jeff Johnston 10d0021609 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
*  libc/include/time.h (tzset, _tzset_r): Added prototypes.
        (strptime): Moved prototype to be within !__STRICT_ANSI__.
        (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
        (tzname): Defined for all platforms.
        (daylight, timezone): Defined only for CYGWIN.
        *  libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
        environment set up.
        * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
        environment variable is set.
        *  libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
        tzset_r.c.
        *  libc/time/Makefile.in: Regenerated.
        *  libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
        *  libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
        *  libc/time/lcltime_r.c (lcltime_r): Ditto.
        *  libc/time/local.h: New local header file.
        *  libc/time/mktime.c (mktime): Add timezone support.
        *  libc/time/mktm_r.c: New file which is the common engine
        for gmtime_r and lcltime_r.  This code has timezone support.
        *  libc/time/strftime.c (strftime): Add %Z timezone support.
        *  libc/time/tzlock.c: New file containing timezone lock stubs.
        *  libc/time/tzset.c: New file containing tzset() routine.
        *  libc/time/tzset_r.c: New file containing _tzset_r and
        internal routine for calculating timezone changes for specified year.
2002-04-17 21:23:31 +00:00
DJ Delorie a26c50352b * configure.in: Move default CC setting out of config/mh-* fragments
directly into here.
2002-04-17 20:45:12 +00:00
DJ Delorie 88054d4005 * configure.in: don't even try to configure or make a subdirectory
if there's no configure script for it.
2002-04-17 20:24:22 +00:00
Thomas Fitzsimmons 5f1c13c6a6 * configure.in (CRT0_DIR): Set to libc/.
(CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
	* Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
	$(CRT0_DIR)$(CRT0) to prevent make warnings.  Likewise for
	$(CRT1_DIR)/$(CRT1).
	* libc/machine/xstormy16/Makefile.in: Regenerated.
	* libc/machine/xstormy16/aclocal.m4: Regenerated.
	* libc/machine/xstormy16/configure: Regenerated.
2002-04-17 19:13:11 +00:00
Jeff Johnston 84462018f3 2002-04-17 Joel Sherrill <joel@OARcorp.com>
* debug.h: Change mem_err to volatile to match definition in
        debug.c.
2002-04-17 19:10:37 +00:00
Joel Sherrill 99ad0c63ae 2002-04-17 Joel Sherrill <joel@OARcorp.com>
* sparc/cygmon-salib.c, sparc/erc32-stub.c: Don't use multi-line
	strings.
2002-04-17 17:29:02 +00:00
DJ Delorie 7eb5439840 merge from gcc 2002-04-17 01:03:04 +00:00
Jeff Johnston dad32754b9 2002-04-16 Jeff Johnston <jjohnstn@redhat.com>
* m68k/configure.in: Change to use LIB_AC_PROG_CC instead
        of AC_PROG_CC to avoid building an executable in configuration.
        * m68k/configure: Regenerated.
2002-04-16 19:10:48 +00:00
DJ Delorie 284dfa2a42 * MAINTAINERS: Remove chill maintainers.
* Makefile.in (CHILLFLAGS): Remove.
(CHILL_LIB): Remove.
(TARGET_CONFIGDIRS): Remove libchill.
(CHILL_FOR_TARGET): Remove.
(BASE_FLAGS_TO_PASS): Don't pass CHILLFLAGS, CHILL_FOR_TARGET, or
CHILL_LIB.
(CONFIGURE_TARGET_MODULES): Remove configure-target-libchill.
(CHECK_TARGET_MODULES): Likewise.
(INSTALL_TARGET_MODULES): Likewise.
(CLEAN_TARGET_MODULES): Likewise.
(configure-target-libchill): Remove.
(all-target-libchill): Remove.
* configure.in (target_libs): Remove target-libchill.
Do not compute CHILL_FOR_TARGET.
* libchill: Remove directory.
2002-04-15 21:53:07 +00:00
Keith Seitz d76d08a1bd * acinclude.m4 (CYG_AC_PATH_TCLCONFIG): Search the win/ directory,
too.
        (CYG_AC_PATH_TKCONFIG): Likewise.
2002-04-15 21:33:07 +00:00
DJ Delorie f3d61cc791 Sync with gcc 2002-04-15 21:18:09 +00:00
Jeff Johnston 99db4d7356 2002-04-15 Hans-Peter Nilsson <hp@bitrange.com>
* d30v/syscalls.c: #include <time.h>.  Don't use multi-line
        strings.
2002-04-15 20:45:59 +00:00
Jeff Johnston bc1fcb7798 2002-04-15 Hans-Peter Nilsson <hp@bitrange.com>
* m32r/trapmon0.c (__trap0): Don't use multi-line strings.
2002-04-15 19:53:34 +00:00
Christopher Faylor 32eec3ec1c remove obsolete comment. 2002-04-15 19:23:27 +00:00
Alexandre Oliva 2f3009bd13 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
fails, don't bail out, and try to correct next time.
2002-04-13 10:27:02 +00:00
Alexandre Oliva 0cc261b11d * libc/include/sys/config.h: Include limits.h. 2002-04-13 10:10:03 +00:00
Jeff Johnston 26116455c4 2002-04-12 Eric Norum <eric.norum@usask.com>
* libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
        routine to allow autoconf to determine that building executables
        for rtems works.
        (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
        (rtems_gxx_mutex_once): Ditto.
2002-04-12 21:12:19 +00:00
Corinna Vinschen 4deace13e4 * net.cc (cygwin_accept): Set socket type for accepted socket.
(socketpair): Set socket type for both sockets.

	From Egor Duda <deo@logos-m.ru>:

	* fhandler.h (class fhandler_socket): New member to store socket type.
	(fhandler_socket::get_socket_type): Access it.
	(fhandler_socket::set_socket_type): Ditto.
	* net.cc (cygwin_socket): Store socket type.
	(cygwin_connect): Disable security checks for connectionless sockets.
	(cygwin_accept): Ditto.
2002-04-12 14:52:36 +00:00
DJ Delorie fcd631cf70 sync with gcc
2001-10-07  Joseph S. Myers  <jsm28@cam.ac.uk>

	* acinclude.m4: Fix spelling error of "separate" as "seperate".

2001-05-22  Jason Merrill  <jason_merrill@redhat.com>

	* mt-linux (CXXFLAGS_FOR_TARGET): Lose -fvtable-thunks.

2001-01-27  Richard Henderson  <rth@redhat.com>

	* mt-alphaieee: New file.

2001-01-02  Laurynas Biveinis  <lauras@softhome.net>

	* mh-djgpp: do not set CFLAGS.

2000-08-04  Mark Elbrecht  <snowball3@bigfoot.com>

	* mh-djgpp: Conditionally set 'target_alias' to djgpp. Conditionally
	modify 'gcc_version'.

2000-07-21  Andrew Haley  <aph@cygnus.com>

	* mh-ia64pic: New file.
	* mt-ia64pic: New file.
2002-04-12 01:23:53 +00:00
Alan Modra d6e14e29f1 reorder cmpsd, movsd 2002-04-11 11:58:30 +00:00
Alan Modra 9ddd9fb225 * i386.h: Add intel mode cmpsd and movsd. 2002-04-11 10:21:58 +00:00
DJ Delorie 57311c33e6 * configure.in: Add *-*-freebsd* configurations. 2002-04-10 02:13:43 +00:00
Earnie Boyd 891057bce7 * include/w32api.h: Increment version.
* Makefile.in: Ditto.
2002-04-09 23:49:11 +00:00
Christopher Faylor dbe67a8103 * cygwin.din: Add strptime.
* include/cygwin/version.h: Increment API version number.
2002-04-09 23:47:26 +00:00
Earnie Boyd 4e4871b389 * include/_mingw.h: Increment version.
* Makefile.in: Ditto.
2002-04-09 23:47:01 +00:00
Earnie Boyd 605280b192 * Makefile.in: Use bzip2 compression for Cygwin target. 2002-04-09 22:22:17 +00:00
Earnie Boyd 63cc0b39c8 * Makefile.in (bindist): Use * instead of . for file list for tar
command.
2002-04-09 22:06:54 +00:00
Tom Rix 4608280d36 Fix typo. 2002-04-09 21:52:05 +00:00
Earnie Boyd 41c3dd2144 * moldname-crtdll.def: Remove CR from end of line.
* moldname-msvcrt.def: Ditto.
2002-04-09 21:03:59 +00:00
Jeff Johnston dea7e25ca7 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
* libc/include/time.h: Fix strptime declaration.
        * libc/time/Makefile.am: Add strptime.c.
        * libc/time/Makefile.in: Regenerated.
        * libc/time/strptime.c: New file.
2002-04-09 20:55:55 +00:00
Corinna Vinschen 464b3e8039 * fork.cc (fork_child): Call fixup_mmaps_after_fork() somewhat earlier. 2002-04-09 16:33:13 +00:00
Corinna Vinschen d78bda7b75 * fhandler.cc (fhandler_base::open): Set read-only bit in
file_attributes when adequate.
2002-04-09 13:01:00 +00:00
Jeff Johnston c5ef1e95be 2002-04-08 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
        siglongjmp prototype, and sigsetjmp macro definition.
        * libc/sys/linux/siglongjmp.c: New file.
        * libc/sys/linux/Makefile.am: Add support for siglongjmp.
        * libc/sys/linux/Makefile.in: Regenerated.
2002-04-08 20:33:46 +00:00
Andrew Cagney 175c5e4c4d * Makefile.in (do-tar-bz2): Delete rule. Replace with ...
(do-tar, do-bz2): New rules.
(taz): Update.  Replace do-tar-bz2 with do-tar and do-bz2.
(gdb-tar): New rule.
(gdb-taz): Rewrite.  Use gdb-tar and do-bz2.
(insight_dejagnu.tar): New rule.
(insight.tar): New rule.
(gdb+dejagnu.tar): New rule.
(gdb.tar): New rule.
2002-04-07 20:53:57 +00:00
Andrew Cagney b9726f76c7 * MAINTAINERS: Update dejagnu/ 2002-04-07 19:17:07 +00:00
Jeff Johnston 6e6cd5bde6 2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
* Makefile.am: Add support for installing crt1.o if one exists.
        * configure.host: Specify crt1.o for linux.
        * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
        * Makefile.in: Regenerated.
        * configure: Ditto.
        * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
        Added for non-Cygwin, non-RTEMS configurations.
        * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
        * libc/sys/linux/Makefile.in: Regenerated.
        * libc/sys/linux/crt1.c: New empty file to override one defaulted
        by gcc.  This fixes problem with reconfiguring linux newlib build.
        * libc/sys/linux/sysconf.c: New file.
2002-04-04 22:41:11 +00:00
Danny Smith 244a8fae42 * include/math.h (DOMAIN, SING, OVERFLOW, UNDERFLOW,
TLOSS, PLOSS): Move oldname defines back, following
	the underscored names.
2002-04-04 08:54:50 +00:00