]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
21 years agofix typo
Christopher Faylor [Wed, 2 Jul 2003 03:32:04 +0000 (03:32 +0000)]
fix typo

21 years ago* configure.in: Fix --enable-server option.
Christopher Faylor [Wed, 2 Jul 2003 03:29:40 +0000 (03:29 +0000)]
* configure.in: Fix --enable-server option.

21 years ago* Makefile.in: Remove cygserver stuff.
Christopher Faylor [Wed, 2 Jul 2003 03:16:00 +0000 (03:16 +0000)]
* Makefile.in: Remove cygserver stuff.
* acconfig.h: Add USE_CYGSERVER define.
* config.h.in: Regenerate.
* configure.in: Add --enable-server setting.
* configure: Regenerate.
* fhandler_tty.cc (fhandler_tty_slave::open): Conditionalize compilation of
cygserver stuff.
* fork.cc (fork_child): Ditto.
* shm.cc: Ditto.
* tty.cc (tty::common_init): Ditto.
* dcrt0.cc: Use bool rather than BOOL for CYGWIN environment variable
definitions.
* environ.cc: Ditto.
* ntea.cc: Ditto.
* security.cc: Ditto.
* security.h: Ditto.
* syscalls.cc (check_posix_perm): Remove externs that were already declared in
a header.
* winsup.h: Ditto.  Declare _MT_SAFE here.  Delete it someday since cygwin
should always be _MT_SAFE.

21 years ago* Makefile.in (OBJS): Move some more files from cygwin directory.
Christopher Faylor [Wed, 2 Jul 2003 02:31:32 +0000 (02:31 +0000)]
* Makefile.in (OBJS): Move some more files from cygwin directory.
* woutsup.h: Define _MT_SAFE.

21 years ago* Makefile.common (CFLAGS_COMMON): Remove -Winline since it is too noisy on
Christopher Faylor [Wed, 2 Jul 2003 02:30:16 +0000 (02:30 +0000)]
* Makefile.common (CFLAGS_COMMON): Remove -Winline since it is too noisy on
newer versions of gcc.

21 years ago * include/basetyps.h (small, hyper): Change to __small and __hyper to
Earnie Boyd [Tue, 1 Jul 2003 23:37:00 +0000 (23:37 +0000)]
* include/basetyps.h (small, hyper): Change to __small and __hyper to
avoid user namespace conflicts.

21 years ago * include/_mingw.h (small, hyper): Change to __small and __hyper to
Earnie Boyd [Tue, 1 Jul 2003 23:34:36 +0000 (23:34 +0000)]
* include/_mingw.h (small, hyper): Change to __small and __hyper to
avoid user space name conflicts.

21 years agomerge from gcc
DJ Delorie [Tue, 1 Jul 2003 21:17:41 +0000 (21:17 +0000)]
merge from gcc

21 years agofirst checkin
Christopher Faylor [Tue, 1 Jul 2003 21:09:39 +0000 (21:09 +0000)]
first checkin

21 years agoFirst checkins.
Christopher Faylor [Tue, 1 Jul 2003 21:09:30 +0000 (21:09 +0000)]
First checkins.

21 years ago* configure.in: Add cygserver subdir.
Christopher Faylor [Tue, 1 Jul 2003 20:51:03 +0000 (20:51 +0000)]
* configure.in: Add cygserver subdir.
* Makefile.in: Ditto.
* configure: Regenerate.
* Makefile.common: Remove debugging statements.

21 years ago * s390.h (s390_opcode_cpu_val): Add enum for cpu type z990.
Martin Schwidefsky [Tue, 1 Jul 2003 14:46:57 +0000 (14:46 +0000)]
    * s390.h (s390_opcode_cpu_val): Add enum for cpu type z990.

21 years ago * s390.h (elf_s390_reloc_type): Add long displacement relocations
Martin Schwidefsky [Tue, 1 Jul 2003 14:46:26 +0000 (14:46 +0000)]
    * s390.h (elf_s390_reloc_type): Add long displacement relocations
        R_390_20, R_390_GOT20, R_390_GOTPLT20 and R_390_TLS_GOTIE20.

21 years ago * mingwex/math/tgamma.c, tgammaf.c, tgammal.c (small):
Earnie Boyd [Tue, 1 Jul 2003 13:55:47 +0000 (13:55 +0000)]
* mingwex/math/tgamma.c, tgammaf.c, tgammal.c (small):
Rename to Small (case difference).

21 years ago Change existing guards to use the above macro names as appropriate.
Earnie Boyd [Tue, 1 Jul 2003 13:01:41 +0000 (13:01 +0000)]
Change existing guards to use the above macro names as appropriate.
* include/basetyps.h (__int32, __int16, __int8, small, hyper): Define.
Note: Also added to mingw/include/_mingw.h.

21 years ago * include/_mingw.h (__int32, __int16, __int8, small, hyper): Define.
Earnie Boyd [Tue, 1 Jul 2003 12:57:53 +0000 (12:57 +0000)]
* include/_mingw.h (__int32, __int16, __int8, small, hyper): Define.
Note: Also added to w32api/include/basetyps.h.

21 years ago * include/w32api.h (_NT4, _W98, _WME, _NT5, _W2000, _WXP, _W2003,
Earnie Boyd [Tue, 1 Jul 2003 12:01:05 +0000 (12:01 +0000)]
* include/w32api.h (_NT4, _W98, _WME, _NT5, _W2000, _WXP, _W2003,
_IE3, _IE4, _IE5, _IE6): Add definitions.
* include/winbase.h (GetLongPathName[AW]): Add guard for OS >= NT5 or
>= Win98.
Change existing guards to use the above macro names as appropriate.

21 years agomerge from gcc
DJ Delorie [Tue, 1 Jul 2003 01:12:46 +0000 (01:12 +0000)]
merge from gcc

21 years ago * xtensa-config.h (XCHAL_HAVE_CONST16, XCHAL_HAVE_ABS,
Bob Wilson [Mon, 30 Jun 2003 21:56:32 +0000 (21:56 +0000)]
    * xtensa-config.h (XCHAL_HAVE_CONST16, XCHAL_HAVE_ABS,
        XCHAL_HAVE_ADDX, XCHAL_HAVE_L32R): Define.

21 years ago * cygheap.h (enum impersonation): New enum.
Corinna Vinschen [Mon, 30 Jun 2003 13:07:36 +0000 (13:07 +0000)]
* cygheap.h (enum impersonation): New enum.
(cygheap_user::token): Delete.
(cygheap_user::impersonated): Delete.
(cygheap_user::external_token): New member.
(cygheap_user::internal_token): New member.
(cygheap_user::impersonation_state): New member.
(cygheap_user::issetuid): Modify.
(cygheap_user::token): New method.
(cygheap_user::deimpersonate): New method.
(cygheap_user::reimpersonate): New method.
(cygheap_user::has_impersonation_tokens): New method.
(cygheap_user::close_impersonation_tokens): New method.
* dtable.cc (dtable::vfork_child_dup): Use new cygheap_user methods.
* fhandler_socket.cc (fhandler_socket::dup): Ditto.
* fork.cc (fork_child): Ditto.
(fork_parent): Ditto.
* grp.cc (internal_getgroups): Ditto.
* security.cc (verify_token): Ditto.
(check_file_access): Ditto.
(cygwin_set_impersonation_token): Detect conflicts. Set
user.external_token.
* spawn.cc (spawn_guts): Use new cygheap_user methods.
* syscalls.cc (seteuid32): Rearrange to use the two tokens
in cygheap_user.
(setegid32): Use new cygheap_user methods.
* uinfo.cc: (internal_getlogin): Ditto.

21 years ago * xcoff.h (struct __rtinit ): Convert to ISO C90 prototypes.
Andreas Jaeger [Sun, 29 Jun 2003 13:52:02 +0000 (13:52 +0000)]
* xcoff.h (struct __rtinit ): Convert to ISO C90 prototypes.

* ecoff.h: Convert to ISO C90 prototypes.  Replace PTR by void *.

21 years ago * mmix.h: Convert to ISO C90 prototypes.
Andreas Jaeger [Sun, 29 Jun 2003 13:51:25 +0000 (13:51 +0000)]
* mmix.h: Convert to ISO C90 prototypes.
* mips.h: Likewise.

* reloc-macros.h (START_RELOC_NUMBERS): Convert to ISO C90
prototype.
(RELOC_NUMBER): Remove !__STDC__ code.

21 years ago2003-06-28 Steven Edwards <Steven_Ed4153@yahoo.com>
Danny Smith [Sat, 28 Jun 2003 05:34:47 +0000 (05:34 +0000)]
2003-06-28  Steven Edwards  <Steven_Ed4153@yahoo.com>

* include/shlwapi.h (UrlGetLocationA, UrlGetLocationW,
PathFindSuffixArrayA, PathFindSuffixArrayW,
PathFindExtensionA, PathFindExtensionW, StrStrW
StrStrA): Change unicode-macro'd LP[C]TSTR return values to
explicit type.

21 years ago2003-06-27 Jose Goncalves <jose.goncalves@inov.pt>
Jeff Johnston [Fri, 27 Jun 2003 21:25:19 +0000 (21:25 +0000)]
2003-06-27  Jose Goncalves  <jose.goncalves@inov.pt>

        * libc/sys/linux/mq_open.c (mq_open): Only set created flag
        on if we actually created the shared memory file exclusively.

21 years ago2003-06-27 Joe Vornehm <joev@mitre.org>
Jeff Johnston [Fri, 27 Jun 2003 20:12:01 +0000 (20:12 +0000)]
2003-06-27  Joe Vornehm  <joev@mitre.org>

        * libm/common/s_fpclassify.c (__fpclassifyf): Fix
        comparisons to account for unsigned internal value w.

21 years ago * configure.in: Clean up config-lang.in handling. Delete
Nathanael Nerode [Fri, 27 Jun 2003 17:34:33 +0000 (17:34 +0000)]
* configure.in: Clean up config-lang.in handling.  Delete
useless assignment to "subdirs".
* configure: Regenerate.

21 years ago2003-06-26 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 27 Jun 2003 00:00:48 +0000 (00:00 +0000)]
2003-06-26  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/mq_open.c (mq_open): Must allocate rdbuf and
        wrbuf for a non-creating open.

21 years ago * configure.in: Rename 'target_libs' to 'target_libraries'.
Nathanael Nerode [Thu, 26 Jun 2003 20:19:41 +0000 (20:19 +0000)]
* configure.in: Rename 'target_libs' to 'target_libraries'.
Remove useless reference to 'target_libs'.
* configure: Regenerate.

21 years ago2003-06-26 Mattia Barbon <mbarbon@dsi.unive.it>
Danny Smith [Thu, 26 Jun 2003 01:49:11 +0000 (01:49 +0000)]
2003-06-26  Mattia Barbon  <mbarbon@dsi.unive.it>

* include/richedit.h (PARAFORMAT2): Add definition.
* include/richedit.h (PFA_*, PFE_*, PFM_*): Add some
missing constants.

21 years ago* Makefile.in: Use INSTALL_PROGRAM to install the cygwin DLL.
Christopher Faylor [Wed, 25 Jun 2003 19:12:01 +0000 (19:12 +0000)]
* Makefile.in: Use INSTALL_PROGRAM to install the cygwin DLL.

21 years agoinclude/opcode/
Richard Sandiford [Wed, 25 Jun 2003 15:31:57 +0000 (15:31 +0000)]
include/opcode/
* h8300.h (IMM2_NS, IMM8_NS, IMM16_NS): Remove.
(IMM8U, IMM8U_NS): Define.
(h8_opcodes): Use IMM8U_NS for mov.[wl] #xx:8,@yy.

gas/
* config/tc-h8300.c (get_specific): Allow ':8' to be used for
unsigned 8-bit operands.

gas/testsuite/
* gas/h8300/h8sx_mov_imm.[sd]: Add tests for mov.[wl] #xx:8,@yy.

21 years ago * include/opcode/h8300.h (h8_opcodes): Fix the mov.l @(dd:32,ERs),ERd
Richard Sandiford [Wed, 25 Jun 2003 15:19:40 +0000 (15:19 +0000)]
* include/opcode/h8300.h (h8_opcodes): Fix the mov.l @(dd:32,ERs),ERd
and mov.l ERs,@(dd:32,ERd) entries.

21 years agoCorrect spelling of "relocatable".
Alan Modra [Wed, 25 Jun 2003 06:40:17 +0000 (06:40 +0000)]
Correct spelling of "relocatable".

21 years ago* thread.cc (MTinterface::fixup_after_fork): Fix thread list after fork.
Thomas Pfaff [Tue, 24 Jun 2003 20:14:01 +0000 (20:14 +0000)]
* thread.cc (MTinterface::fixup_after_fork): Fix thread list after fork.
(pthread::threads): Instantiate.
(pthread::pthread): Initialize running and suspendend.
Initialize next with NULL.
Add thread to thread list if it is not the null_pthread.
(pthread::~pthread): Remove thread from thread list if it is not the null_pthread.
(pthread::postcreate): Set running flag.
(pthread::exit): Reset running flag.
(pthread::cancel): Try to cancel thread only if still running.
(pthread::_fixup_after_fork): Implement.
(pthread::detach): Check if thread is still running before detach.
* thread.h (pthread::running): New member.
(pthread::next): Ditto.
(pthread::fixup_after_fork): New static method.
(pthread::threads): New static method.
(pthread::_fixup_after_fork): New method.

21 years ago2003-06-24 Kazu Hirata <kazu@cs.umass.edu>
Jeff Johnston [Tue, 24 Jun 2003 19:43:58 +0000 (19:43 +0000)]
2003-06-24  Kazu Hirata  <kazu@cs.umass.edu>

        * libc/machine/h8300/setarch.h: New.
        * libc/machine/h8300/memcpy.S: Use it.
        * libc/machine/h8300/memset.S: Likewise.
        * libc/machine/h8300/reg_memcpy.S: Likewise.
        * libc/machine/h8300/reg_memset.S: Likewise.
        * libc/machine/h8300/setjmp.S: Likewise.
        * libc/machine/h8300/strcmp.S: Likewise.

21 years ago * libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
Richard Sandiford [Tue, 24 Jun 2003 18:13:35 +0000 (18:13 +0000)]
* libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
to atexit().

21 years ago * Makefile.tpl: Add maybe-configure-itcl to configure-gdb.
Keith Seitz [Mon, 23 Jun 2003 21:30:43 +0000 (21:30 +0000)]
    * Makefile.tpl: Add maybe-configure-itcl to configure-gdb.
        * Makefile.in: Regenerate.

21 years ago * Makefile.def: Introduce flags_to_pass.
Nathanael Nerode [Mon, 23 Jun 2003 20:36:40 +0000 (20:36 +0000)]
* Makefile.def: Introduce flags_to_pass.
* Makefile.tpl: Generate BASE_FLAGS_TO_PASS using it.
* Makefile.in: Regenerate.

21 years agogas/
H.J. Lu [Mon, 23 Jun 2003 20:15:33 +0000 (20:15 +0000)]
gas/

2003-06-23  H.J. Lu <hongjiu.lu@intel.com>

* gas/config/tc-i386.c (md_assemble): Support Intel Precott New
Instructions.

* gas/config/tc-i386.h (CpuPNI): New.
(CpuUnknownFlags): Add CpuPNI.

gas/testsuite/

2003-06-23  H.J. Lu <hongjiu.lu@intel.com>

* gas/i386/i386.exp: Add prescott.

* gas/i386/prescott.d: New file.
* gas/i386/prescott.s: Likewise.

include/opcode/

2003-06-23  H.J. Lu <hongjiu.lu@intel.com>

* i386.h (i386_optab): Support Intel Precott New Instructions.

opcodes/

2003-06-23  H.J. Lu <hongjiu.lu@intel.com>

* i386-dis.c (PNI_Fixup): New. Fix up "mwait" and "monitor" in
Intel Precott New Instructions.
(PREGRP27): New. Added for "addsubpd" and "addsubps".
(PREGRP28): New. Added for "haddpd" and "haddps".
(PREGRP29): New. Added for "hsubpd" and "hsubps".
(PREGRP30): New. Added for "movsldup" and "movddup".
(PREGRP31): New. Added for "movshdup" and "movhpd".
(PREGRP32): New. Added for "lddqu".
(dis386_twobyte): Use PREGRP30 to replace the "movlpX" entry.
Use PREGRP31 to replace the "movhpX" entry. Use PREGRP28 for
entry 0x7c. Use PREGRP29 for entry 0x7d. Use PREGRP27 for
entry 0xd0. Use PREGRP32 for entry 0xf0.
(twobyte_has_modrm): Updated.
(twobyte_uses_SSE_prefix): Likewise.
(grps): Use PNI_Fixup in the "sidtQ" entry.
(prefix_user_table): Add PREGRP27, PREGRP28, PREGRP29, PREGRP30,
PREGRP31 and PREGRP32.
(float_mem): Use "fisttp{l||l|}" in entry 1 in opcode 0xdb.
Use "fisttpll" in entry 1 in opcode 0xdd.
Use "fisttp" in entry 1 in opcode 0xdf.

21 years ago2003-06-23 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
Jeff Johnston [Mon, 23 Jun 2003 19:06:12 +0000 (19:06 +0000)]
2003-06-23  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>

        * m32r/crt0.S (_start): Allow _stack to be placed anywhere
        in memory.

21 years agoForgot 'configure' item.
Hans-Peter Nilsson [Mon, 23 Jun 2003 00:43:42 +0000 (00:43 +0000)]
Forgot 'configure' item.

21 years ago * configure.in (noconfigdirs) <cris-*-*>: Disable target-newlib
Hans-Peter Nilsson [Mon, 23 Jun 2003 00:40:23 +0000 (00:40 +0000)]
* configure.in (noconfigdirs) <cris-*-*>: Disable target-newlib
and target-libgloss.
<d30v-*-*, fr30-*-*, i960-*-*, m32r-*-*>: Disable gdb.
<h8300*-*-*>: Disable libf2c and ${libgcj}.

21 years agomerge from gcc
DJ Delorie [Sun, 22 Jun 2003 16:35:51 +0000 (16:35 +0000)]
merge from gcc

21 years agomerge from gcc
DJ Delorie [Sun, 22 Jun 2003 00:06:06 +0000 (00:06 +0000)]
merge from gcc

21 years ago2003-06-20 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Sat, 21 Jun 2003 00:11:40 +0000 (00:11 +0000)]
2003-06-20  Jeff Johnston  <jjohnstn@redhat.com>

        * configure.host (iq2000): Add tabs.

21 years ago* pinfo.cc (_pinfo::commune_send): Don't attempt to communicate with a pure
Christopher Faylor [Sat, 21 Jun 2003 00:08:02 +0000 (00:08 +0000)]
* pinfo.cc (_pinfo::commune_send): Don't attempt to communicate with a pure
windows process.

21 years ago2003-06-20 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 20 Jun 2003 23:57:48 +0000 (23:57 +0000)]
2003-06-20  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix macros
        to handle latest on_exit change.
        * libc/sys/linux/Makefile.am: Remove special compilation
        for malloc.c and mcheck.c.
        * libc/sys/linux/Makefile.in: Regenerated.
        * libc/sys/linux/mntent.c: Add definition of _LIBC flag
        after including <features.h>.
        * libc/sys/linux/mcheck.c: Ditto.
        * libc/sys/linux/malloc.c: Ditto plus define _GNU_SOURCE
        for <features.h>.
        * libc/sys/linux/intl/Makefile.am: Remove -D_LIBC and
        add -DNOT_IN_libc to C flags.
        * libc/sys/linux/intl/Makefile.in: Regenerated.
        * libc/sys/linux/intl/config.h: Add definition of _LIBC.
        * libc/sys/linux/linuxthreads/semaphore.h: Include
        <bits/pthreadtypes.h>.
        * libc/sys/linux/sys/dirent.h: Define _LIBC and NOT_IN_libc after
        including <features.h>.
        * libc/sys/linux/sys/lock.h: Ditto.

21 years agoFix typo.
Michael Snyder [Thu, 19 Jun 2003 02:56:24 +0000 (02:56 +0000)]
Fix typo.

21 years agoOops, Forgot to submit the change log
Earnie Boyd [Thu, 19 Jun 2003 02:06:04 +0000 (02:06 +0000)]
Oops, Forgot to submit the change log

21 years ago2003-06-18 Pierre Humblet <pierre.humblet@ieee.org>
Pierre Humblet [Thu, 19 Jun 2003 00:57:26 +0000 (00:57 +0000)]
2003-06-18  Pierre Humblet  <pierre.humblet@ieee.org>

        * autoload.cc (GetNetworkParams): Add.
        * net.cc (getdomainname): Call GetNetworkParams and read the
        DhcpDomain registry value if warranted.

21 years ago * include/dirent.h (dirent): Make d_name and array instead of a pointer.
Earnie Boyd [Wed, 18 Jun 2003 13:54:47 +0000 (13:54 +0000)]
* include/dirent.h (dirent): Make d_name and array instead of a pointer.
* mingwex/dirent.c: Modifications througout to fill d_name array.
        * Makefile.in (LIBS): Add new MSVCRT libraries libmsvcr70 and
        libmsvcr71, including debug versions.
        (msvcr70.def, msvcr70d.def, msvcr71.def, msvcr71.def): New targets.

21 years ago2003-06-17 Danny Smith <dannysmith@users.sourceforge.net>
Danny Smith [Wed, 18 Jun 2003 10:04:09 +0000 (10:04 +0000)]
2003-06-17  Danny Smith  <dannysmith@users.sourceforge.net>

* include/shellapi.h (SHQUERYRBINFO): Add structure,
(SHQueryRecycleBin[AW]. SHEmptyRecycleBin[AW]):Add prototypes.
(SHERB_NOCONFIRMATION, SHERB_NOPROGRESSUI, SHERB_NOSOUND):
Add defines. Thanks to Brett Hart <brett at ncubedtech dot com>

2003-06-17  Danny Smith  <dannysmith@users.sourceforge.net>

* include/winbase.h (GlobalCompact, GlobalFix, GlobalFlags,
GlobalUnfix, GlobalUnWire, GlobalWire, LocalCompact,
LocalFlags, LocalShrink, LockSegment, UnlockSegment): Add comment
that these are obsolete no-ops.

2003-06-17  Bang Jun-Young  <junyoung@netbsd.org>

* include/winbase.h (GetProcessWorkingSetSize,
GlobalCompact, LocalAlloc, LocalCompact, LocalReAlloc,
LocalShrink, SignalObjectAndWait, WriteProcessMemory):
Correct prototypes.

21 years ago2003-06-18 Steven Edwards <Steven_Ed4153@yahoo.com>
Luke Dunstan [Wed, 18 Jun 2003 09:46:09 +0000 (09:46 +0000)]
2003-06-18  Steven Edwards  <Steven_Ed4153@yahoo.com>

* include/winuser.h (TPM_RECURSE): Add define.

21 years ago* configure.in: Update testsuite_flags to new location.
DJ Delorie [Wed, 18 Jun 2003 02:25:31 +0000 (02:25 +0000)]
* configure.in: Update testsuite_flags to new location.
* configure. Regenerate.

21 years ago * msvcrt.def.in (__badioinfo, __lc_codepage, __lc_handle,
Danny Smith [Tue, 17 Jun 2003 23:08:26 +0000 (23:08 +0000)]
* msvcrt.def.in (__badioinfo, __lc_codepage, __lc_handle,
__pioinfo, __setlc_active, _unguarded_readlc_active, _dstbias):
Mark as DATA.

21 years ago (sync with gcc)
Nathanael Nerode [Tue, 17 Jun 2003 21:59:09 +0000 (21:59 +0000)]
(sync with gcc)
* Makefile.tpl: Remove BUILD_CC stuff.
* Makefile.in: Regenerate.

21 years ago* path.cc (mount): Do more strict checking on posix path arguments.
Christopher Faylor [Tue, 17 Jun 2003 16:52:18 +0000 (16:52 +0000)]
* path.cc (mount): Do more strict checking on posix path arguments.

21 years agomerge from gcc
DJ Delorie [Tue, 17 Jun 2003 16:31:07 +0000 (16:31 +0000)]
merge from gcc

21 years agoThroughout, remove "include <errno.h>" from files which already include
Christopher Faylor [Mon, 16 Jun 2003 03:24:13 +0000 (03:24 +0000)]
Throughout, remove "include <errno.h>" from files which already include
cygerrno.h.
* include/cygwin/config.h (__DYNAMIC_REENT__): Define.
* include/cygwin/version.h: Bump API minor version.
* cygwin.din: Export __getreent
* cygerrno.h: Include errno.h.  Fix places where _impure_ptr is used directly
to store the errno value.
* debug.cc (__set_errno): Ditto.
* errno.cc: Remove _RRENT_ONLY define to get errno.cc compiled.
* signal.cc: Rename _reent_clib to _REENT throughout.
* thread.h (reent_clib): Remove prototype.
* thread.cc (reent_clib): Rename reent_clib to __getreent.  Return _impure_ptr
until MTinterface is initialized.
(reent_winsup): Fix a possible SEGV when _r == NULL.  Return NULL instead.
* MTinterface::fixup_after_fork: Switch reent back to _impure_ptr to keep
signal handling running when fork is called from a thread other than the
mainthread.

21 years ago2003-06-14 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sat, 14 Jun 2003 14:07:21 +0000 (14:07 +0000)]
2003-06-14  H.J. Lu <hongjiu.lu@intel.com>

* config.guess: Update to 2003-06-12 version.
* config.sub: Update to 2003-06-13 version.

21 years ago(GNU_ABI_TAG_NETBSD): New tag.
Nick Clifton [Fri, 13 Jun 2003 13:07:51 +0000 (13:07 +0000)]
(GNU_ABI_TAG_NETBSD): New tag.
(GNU_ABI_TAG_FREEBSD): New tag.

21 years ago* cygcheck.cc (pretty_id): Rework slightly to not rely on spaces.
Christopher Faylor [Fri, 13 Jun 2003 02:36:12 +0000 (02:36 +0000)]
* cygcheck.cc (pretty_id): Rework slightly to not rely on spaces.

21 years agoclarify
Christopher Faylor [Fri, 13 Jun 2003 02:21:18 +0000 (02:21 +0000)]
clarify

21 years agoThroughout, always return error when GetShortPathName returns 0.
Christopher Faylor [Thu, 12 Jun 2003 20:40:58 +0000 (20:40 +0000)]
Throughout, always return error when GetShortPathName returns 0.

21 years ago* thread.cc (pthread_attr_init): Revert change from 2003-06-11
Thomas Pfaff [Thu, 12 Jun 2003 18:15:34 +0000 (18:15 +0000)]
* thread.cc (pthread_attr_init): Revert change from 2003-06-11
to return 0 if attribute is already initialized back to EBUSY.
(pthread_condattr_init): Ditto.
(pthread_rwlockattr_init): Ditto.
(pthread_mutexattr_init): Ditto.

21 years ago * MAINTAINERS: Add myself as MIPS co-maintainer.
Thiemo Seufer [Thu, 12 Jun 2003 16:47:08 +0000 (16:47 +0000)]
* MAINTAINERS: Add myself as MIPS co-maintainer.

21 years agoMerge these:
DJ Delorie [Thu, 12 Jun 2003 16:06:52 +0000 (16:06 +0000)]
Merge these:
2003-06-11  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>

* configure.in: Don't pass --with-stabs for mips*-sgi-irix6*o32.
* configure. Regenerate.

2003-06-10  Nathanael Nerode  <neroden@gcc.gnu.org>

* configure.in: Disable serial configure by default.
* configure: Regenerate.
* Makefile.tpl: Abolish .NOTPARALLEL.
* Makefile.in: Regenerate.

21 years ago2003-06-12 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 12 Jun 2003 14:41:29 +0000 (14:41 +0000)]
2003-06-12  H.J. Lu <hongjiu.lu@intel.com>

* config.guess: Update to 2003-06-06 version.
* config.sub: Update to 2003-06-06 version.

21 years ago * exceptions.cc (ctrl_c_handler): Don't send a signal on
Corinna Vinschen [Thu, 12 Jun 2003 12:36:07 +0000 (12:36 +0000)]
* exceptions.cc (ctrl_c_handler): Don't send a signal on
CTRL_SHUTDOWN_EVENT.  Add a comment to rationalize the patch.

21 years ago* thread.cc (pthread_attr_init): Return 0 if attribute is already initialized.
Thomas Pfaff [Wed, 11 Jun 2003 19:08:42 +0000 (19:08 +0000)]
* thread.cc (pthread_attr_init): Return 0 if attribute is already initialized.
Fix return code if out of memory.
(pthread_condattr_init): Ditto.
(pthread_rwlockattr_init): Ditto.
(pthread_mutexattr_init): Return 0 if attribute is already initialized.

21 years agoFix typo
Nick Clifton [Wed, 11 Jun 2003 08:44:40 +0000 (08:44 +0000)]
Fix typo

21 years ago * Makefile.tpl: Replace {build,host,target}_canonical by
Nathanael Nerode [Tue, 10 Jun 2003 22:25:49 +0000 (22:25 +0000)]
* Makefile.tpl: Replace {build,host,target}_canonical by
{build,host,target}.
* Makefile.in: Regenerate.

21 years agoCommit iq2000 port
Anthony Green [Tue, 10 Jun 2003 15:32:27 +0000 (15:32 +0000)]
Commit iq2000 port

21 years ago * gdb/fileio.h: New file.
Corinna Vinschen [Tue, 10 Jun 2003 14:23:05 +0000 (14:23 +0000)]
* gdb/fileio.h: New file.

21 years ago * Makefile.tpl: Fix stupid pasto.
Nathanael Nerode [Tue, 10 Jun 2003 13:37:14 +0000 (13:37 +0000)]
* Makefile.tpl: Fix stupid pasto.
* Makefile.in: Regenerate.

21 years ago * libc/sys/h8300hms/setarch.h: New file.
Richard Sandiford [Tue, 10 Jun 2003 07:44:30 +0000 (07:44 +0000)]
* libc/sys/h8300hms/setarch.h: New file.
* libc/sys/h8300hms/close.S, libc/sys/h8300hms/fstat.S,
libc/sys/h8300hms/lseek.S, libc/sys/h8300hms/open.S,
libc/sys/h8300hms/read.S, libc/sys/h8300hms/stat.S,
libc/sys/h8300hms/write.S, libc/sys/h8300hms/crt0.S: Use it.

21 years agoAdd "attn", "lq" and "stq" power4 insns.
Alan Modra [Tue, 10 Jun 2003 07:44:11 +0000 (07:44 +0000)]
Add "attn", "lq" and "stq" power4 insns.

21 years agoinclude/opcode/
Richard Sandiford [Tue, 10 Jun 2003 07:33:46 +0000 (07:33 +0000)]
include/opcode/
* h8300.h (IMM4_NS, IMM8_NS): New.
(h8_opcodes): Replace IMM4 with IMM4_NS in mov.b and mov.w entries.
Likewise IMM8 for mov.w and mov.l.  Likewise IMM16U for mov.l.

gas/testsuite
* gas/h8300/h8sx_mov_imm.[sd]: New test.
* gas/h8300/h8300.exp: Run it.

21 years agoinclude/elf/
Richard Sandiford [Tue, 10 Jun 2003 07:09:28 +0000 (07:09 +0000)]
include/elf/
* h8.h (E_H8_MACH_H8300SXN): New flag.

bfd/
* archures.c (bfd_mach_h8300sxn): New architecture.
* bfd-in2.h: Regenerate.
* cpu-h8300.c (h8300_scan): Check for 'sxn'.
(h8300sxn_info_struct): New.
(h8300sx_info_struct): Link to it.
* elf32-h8300.c (elf32_h8_mach): Add h8300sxn case.
(elf32_h8_final_write_processing): Likewise.

gas/
* config/tc-h8300.c (h8300sxnmode): New.
(md_pseudo_table): Add .h8300sxn entry.  Sync others with FSF version.

ld/
* configure.tgt (h8300*): Add h8300sxn emulations.
* Makefile.am (ALL_EMULATIONS): Add eh8300sxn.o and eh8300sxnelf.o.
(eh8300sxn.c, eh8300sxnelf.c): New rules.
* Makefile.in: Regenerate.
* emulparams/h8300sxnelf.sh, emulparams/h8300sxn.sh: New files.

21 years ago * Makefile.tpl: Remove bogus conditional.
Nathanael Nerode [Tue, 10 Jun 2003 02:11:57 +0000 (02:11 +0000)]
* Makefile.tpl: Remove bogus conditional.
* Makefile.in: Regenerate.

21 years ago * spawn.cc (spawn_guts): Call CreateProcess while impersonated,
Corinna Vinschen [Mon, 9 Jun 2003 13:29:12 +0000 (13:29 +0000)]
* spawn.cc (spawn_guts): Call CreateProcess while impersonated,
when the real {u,g}ids and the groups are original.
Move RevertToSelf and ImpersonateLoggedOnUser to the main line.
* uinfo.cc (uinfo_init): Reorganize. If CreateProcess was called
while impersonated, preserve the uids and gids and call
ImpersonateLoggedOnUser. Preserve the uids and gids on Win9X.

* exceptions.cc (error_start_init): Quote the pgm in the command.

21 years agofix typo
Christopher Faylor [Sat, 7 Jun 2003 15:37:35 +0000 (15:37 +0000)]
fix typo

21 years ago* poll.cc: Define FD_SETSIZE to ridiculously large number so that there will be
Christopher Faylor [Sat, 7 Jun 2003 15:36:47 +0000 (15:36 +0000)]
* poll.cc: Define FD_SETSIZE to ridiculously large number so that there will be
no artificially large limits.

21 years ago* fhandler_tty.cc (fhandler_tty_slave::close): Free the console when last tty
Christopher Faylor [Sat, 7 Jun 2003 15:12:23 +0000 (15:12 +0000)]
* fhandler_tty.cc (fhandler_tty_slave::close): Free the console when last tty
closes.

21 years ago* fhandler_socket.cc (fhandler_socket::connect): Change error
Thomas Pfaff [Sat, 7 Jun 2003 11:05:35 +0000 (11:05 +0000)]
* fhandler_socket.cc (fhandler_socket::connect): Change error
handling for nonblocking connects to return EALREADY when
connect is called more than once for the same socket.

21 years ago2003-06-06 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 6 Jun 2003 19:57:51 +0000 (19:57 +0000)]
2003-06-06  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/argz/argz_add.c: Change to use _DEFUN macro for function
        definition.
        * libc/argz/argz_add_sep.c: Ditto.
        * libc/argz/argz_append.c libc/argz/argz_count.c: Ditto.
        * libc/argz/argz_create.c libc/argz/argz_create_sep.c: Ditto.
        * libc/argz/argz_delete.c libc/argz/argz_extract.c: Ditto.
        * libc/argz/argz_insert.c libc/argz/argz_next.c: Ditto.
        * libc/argz/argz_replace.c libc/argz/argz_stringify.c: Ditto.
        * libc/argz/envz_add.c libc/argz/envz_entry.c: Ditto.
        * libc/argz/envz_get.c libc/argz/envz_merge.c: Ditto.
        * libc/argz/envz_remove.c libc/argz/envz_strip.c: Ditto.
        * libc/locale/nl_langinfo.c libc/misc/ffs.c: Ditto.
        * libc/posix/closedir.c libc/posix/creat.c: Ditto.
        * libc/posix/execl.c libc/posix/execle.c: Ditto.
        * libc/posix/execlp.c libc/posix/execve.c: Ditto.
        * libc/posix/isatty.c libc/posix/opendir.c: Ditto.
        * libc/posix/popen.c libc/posix/readdir.c: Ditto.
        * libc/posix/readdir_r.c libc/posix/rewinddir.c: Ditto.
        * libc/posix/scandir.c libc/posix/seekdir.c: Ditto.
        * libc/posix/telldir.c libc/search/hcreate.c: Ditto.
        * libc/search/tdelete.c libc/search/tdestroy.c: Ditto.
        * libc/search/tfind.c libc/search/tsearch.c: Ditto.
        * libc/search/twalk.c libc/signal/signal.c: Ditto.

21 years agoiq2000 port.
Anthony Green [Fri, 6 Jun 2003 16:07:57 +0000 (16:07 +0000)]
iq2000 port.

21 years agoNew structure containing fields used by the on_exit() function.
Nick Clifton [Fri, 6 Jun 2003 15:36:31 +0000 (15:36 +0000)]
New structure containing fields used by the on_exit() function.
(struct _atexit): Include struct _on_exit_args.  For _REENT_SMALL do his via a
pointer that is initialised when needed.

21 years ago * cygwin.din: Add vsyslog.
Corinna Vinschen [Fri, 6 Jun 2003 08:11:19 +0000 (08:11 +0000)]
* cygwin.din: Add vsyslog.
* fhandler.cc (fhandler_base::write): Only make file sparse if the
seeked area is >= 128K.
* syslog.cc (vsyslog): New function, overtaking functionality from
syslog.
(syslog): Just call vsyslog.
* include/cygwin/version.h: Bump API minor.
* include/sys/syslog.h: Add vsyslog declaration.

21 years ago2003-06-06 Danny Smith <dannysmith@users.sourceforge.net>
Danny Smith [Fri, 6 Jun 2003 00:24:34 +0000 (00:24 +0000)]
2003-06-06  Danny Smith  <dannysmith@users.sourceforge.net>

* lib/test.c: #include <powerprof.h>.

2003-06-06  James E. Lucas  <xelloss@sourceforge.net>

* include/powerprof.h: New file.
* lib/powerprof.def: New file.

2003-06-06  Danny Smith  <dannysmith@users.sourceforge.net>

* include/winnt (SLIST_HEADER): Add C90 anonymous struct
protection.

21 years ago* cygthread.cc (cygthread::terminate_thread): Change system_printf to
Christopher Faylor [Thu, 5 Jun 2003 19:18:33 +0000 (19:18 +0000)]
* cygthread.cc (cygthread::terminate_thread): Change system_printf to
debug_printf.

21 years ago2003-06-03 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 5 Jun 2003 18:47:12 +0000 (18:47 +0000)]
2003-06-03  Michael Snyder  <msnyder@redhat.com>

* h8sx.h (enum h8_model): Add AV_H8S to distinguish from H8H.
(ldc): Split ccr ops from exr ops (which are only available
on H8S or H8SX).
(stc): Ditto.
(andc, orc, xorc): Ditto.
(ldmac, stmac, clrmac, mac): Change access to AV_H8S.

21 years ago * include/winuser.h (WNDCLASS[AW], WNDCLASSEX[AW]): Change type of
Luke Dunstan [Thu, 5 Jun 2003 10:19:08 +0000 (10:19 +0000)]
* include/winuser.h (WNDCLASS[AW], WNDCLASSEX[AW]): Change type of
hInstance members to HINSTANCE.
Thanks to: Brenden T. <brenden@rcsis.com>

21 years ago* shared.cc (shared_info::heap_chunk_size): Be really defensive about making
Christopher Faylor [Thu, 5 Jun 2003 02:56:27 +0000 (02:56 +0000)]
* shared.cc (shared_info::heap_chunk_size): Be really defensive about making
sure that heap_chunk is set.

21 years ago2003-06-05 Bart Oldeman <bartoldeman@users.sourceforge.net>
Danny Smith [Thu, 5 Jun 2003 00:49:27 +0000 (00:49 +0000)]
2003-06-05  Bart Oldeman  <bartoldeman@users.sourceforge.net>

* include/lmaccess.h (UF_MNS_LOGON_ACCOUNT): Add define.
* include/wingdi.h (LPRGBTRIPLE, LPRGBQUAD): Add typedefs.

21 years ago* path.cc (conv_path_list): Use correct value when calculating length to avoid
Christopher Faylor [Wed, 4 Jun 2003 22:59:55 +0000 (22:59 +0000)]
* path.cc (conv_path_list): Use correct value when calculating length to avoid
a potential SEGV.

21 years ago2003-06-04 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 4 Jun 2003 15:06:21 +0000 (15:06 +0000)]
2003-06-04  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/net/Makefile.am: Remove extraneous markers.
        * libc/sys/linux/net/Makefile.in: Regenerated.

21 years ago2003-06-03 Pierre Humblet <pierre.humblet@ieee.org>
Pierre Humblet [Wed, 4 Jun 2003 01:57:44 +0000 (01:57 +0000)]
2003-06-03  Pierre Humblet  <pierre.humblet@ieee.org>

        * fhandler_disk_file.cc (fhandler_disk_file::fstat): Mark the pc
        as non-executable if the file cannot be opened for read. Retry query
        open only if errno is EACCES. Never change the mode, even if it is 000
        when query open() fails.

21 years ago* configure.in: Allow any i?86 variant.
Christopher Faylor [Wed, 4 Jun 2003 01:44:07 +0000 (01:44 +0000)]
* configure.in: Allow any i?86 variant.
* configure: Regenerate.

21 years agobinutils/
Jakub Jelinek [Tue, 3 Jun 2003 22:27:23 +0000 (22:27 +0000)]
binutils/
* readelf.c (get_segment_type): Handle PT_GNU_STACK.
bfd/
* elf.c (_bfd_elf_print_private_bfd_data): Handle PT_GNU_STACK.
(bfd_section_from_phdr): Likewise.
(map_sections_to_segments): Create PT_GNU_STACK segment header.
(get_program_header_size): Count with PT_GNU_STACK.
* elf-bfd.h (struct elf_obj_tdata): Add stack_flags.
* elflink.h (bfd_elfNN_size_dynamic_sections): Set stack_flags.
include/
* bfdlink.h (struct bfd_link_info): Add execstack and noexecstack.
* elf/common.h (PT_GNU_STACK): Define.
ld/
* ldgram.y (phdr_type): Grok PT_GNU_STACK.
* emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add
-z execstack and -z noexecstack.
(gld${EMULATION_NAME}_list_options): Likewise.
* scripttempl/elf.sc: If not -r, discard .note.GNU-stack section.

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