]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
21 years ago * autoload.cc (IsProcessorFeaturePresent): Add.
Corinna Vinschen [Thu, 13 Mar 2003 22:53:16 +0000 (22:53 +0000)]
* autoload.cc (IsProcessorFeaturePresent): Add.
* fhandler_proc.cc (format_proc_cpuinfo): Add case for 9x systems.

21 years ago * fhandler_proc.cc (format_proc_cpuinfo): Fix vendor id in cpuid case.
Corinna Vinschen [Thu, 13 Mar 2003 22:32:40 +0000 (22:32 +0000)]
* fhandler_proc.cc (format_proc_cpuinfo): Fix vendor id in cpuid case.

21 years ago * net.cc (cygwin_rcmd): Use correct file descriptor in call to fdsock.
Corinna Vinschen [Thu, 13 Mar 2003 11:31:24 +0000 (11:31 +0000)]
* net.cc (cygwin_rcmd): Use correct file descriptor in call to fdsock.
(cygwin_rexec): Ditto.

21 years ago* syscalls.cc (rename): Assume that DELETE_ON_CLOSE works on Win9x.
Christopher Faylor [Thu, 13 Mar 2003 08:18:15 +0000 (08:18 +0000)]
* syscalls.cc (rename): Assume that DELETE_ON_CLOSE works on Win9x.
* fhandler_tty.cc (fhandler_tty_slave::close): Fix typo in debug output.

21 years ago * include/mswsock.h: Correct invalid filter for _WINSOCK2_H.
Earnie Boyd [Wed, 12 Mar 2003 23:36:54 +0000 (23:36 +0000)]
* include/mswsock.h: Correct invalid filter for _WINSOCK2_H.
Thanks to Jim Barton <jmbarton@users.sf.net>.

21 years ago * Makefile.tpl: Move .NOEXPORT, MAKEOVERRIDES up. Delete unused
Nathanael Nerode [Wed, 12 Mar 2003 20:47:07 +0000 (20:47 +0000)]
* Makefile.tpl: Move .NOEXPORT, MAKEOVERRIDES up.  Delete unused
Make macro.
* Makefile.in: Regenerate.
* configure.in: Clean up gxx_include_dir logic.
* configure: Regenerate.

21 years agofix typo
Christopher Faylor [Wed, 12 Mar 2003 17:21:31 +0000 (17:21 +0000)]
fix typo

21 years agoCheckin previously referred to in ChangeLog.
Christopher Faylor [Wed, 12 Mar 2003 06:28:27 +0000 (06:28 +0000)]
Checkin previously referred to in ChangeLog.

21 years ago2003-03-12 Ranjit Mathew <rmathew@hotmail.com>
Danny Smith [Tue, 11 Mar 2003 23:53:08 +0000 (23:53 +0000)]
2003-03-12  Ranjit Mathew  <rmathew@hotmail.com>

        * include/winnt.h (_IMAGE_SEPARATE_DEBUG_HEADER): Expose
        member SectionAlignment.

21 years ago * fhandler_socket.cc (fhandler_socket::dup): Don't call
Corinna Vinschen [Tue, 11 Mar 2003 16:49:58 +0000 (16:49 +0000)]
* fhandler_socket.cc (fhandler_socket::dup): Don't call
fhandler_base::dup() but call DuplicateHandle directly instead to have
control over socket inheritence.

21 years ago * include/winsvc.h (SERVICE_NO_CHANGE): Use hex constant to avoid
Earnie Boyd [Tue, 11 Mar 2003 14:44:58 +0000 (14:44 +0000)]
* include/winsvc.h (SERVICE_NO_CHANGE): Use hex constant to avoid
warnings.
Thanks to Fabricio D. Rossi <gurusoda@users.sf.net>.
* Makefile.in (bindist): Correct process.
* lib/Makefile.in (install): Ditto.
Thanks to Jeff Bonnggren <jbon@users.sf.net>.

21 years ago2003-03-11 Corinna Vinschen <corinna@vinschen.de>
Corinna Vinschen [Tue, 11 Mar 2003 13:05:36 +0000 (13:05 +0000)]
2003-03-11  Corinna Vinschen  <corinna@vinschen.de>

* fhandler_socket.cc (fhandler_socket::dup): On NT systems avoid
using WinSock2 socket duplication methods.  Add comment.

2003-03-11  Pierre Humblet  <pierre.humblet@ieee.org>

* fhandler_socket.cc (fhandler_socket::fixup_after_fork):
Set io_handle to INVALID_SOCKET in case of failure.
(fhandler_socket::dup): Return 0 if the io_handle is valid.

21 years ago * include/stdlib.h (qsort): Remove const from first parm.
Danny Smith [Tue, 11 Mar 2003 03:00:50 +0000 (03:00 +0000)]
* include/stdlib.h (qsort): Remove const from first parm.
Thanks to: Tien-Ren Chen  <trchen@sourceforge.users.net>

21 years ago * include/rasdlg.h: New file.
Danny Smith [Mon, 10 Mar 2003 22:45:51 +0000 (22:45 +0000)]
* include/rasdlg.h: New file.
* lib/rasdlg.def: New file.
* lib/test.c: Include rasdlg.h.

21 years ago * sec_acl.cc (setacl): Don't handle DELETE flag specially.
Corinna Vinschen [Mon, 10 Mar 2003 16:25:48 +0000 (16:25 +0000)]
* sec_acl.cc (setacl): Don't handle DELETE flag specially.
* security.cc (alloc_sd): Ditto.

21 years ago Fix typo.
Corinna Vinschen [Sun, 9 Mar 2003 22:13:27 +0000 (22:13 +0000)]
Fix typo.

21 years ago * winver.rc: Change Copyright hint to inlcude 2003.
Corinna Vinschen [Sun, 9 Mar 2003 22:13:06 +0000 (22:13 +0000)]
* winver.rc: Change Copyright hint to inlcude 2003.

21 years ago * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
Corinna Vinschen [Sun, 9 Mar 2003 22:10:14 +0000 (22:10 +0000)]
* libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.

21 years ago * libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
Corinna Vinschen [Sun, 9 Mar 2003 21:52:23 +0000 (21:52 +0000)]
* libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
Cygwin.

21 years ago Switch to 32/64 datatypes:
Corinna Vinschen [Sun, 9 Mar 2003 21:51:00 +0000 (21:51 +0000)]
Switch to 32/64 datatypes:
* Makefile.in (OBSOLETE_FUNCTIONS): Add open acl aclcheck aclfrommode
aclfrompbits aclfromtext aclsort acltomode acltopbits acltotext chown
facl fchown fgetpos fopen freopen fseeko fsetpos fstat ftello
ftruncate getegid geteuid getgid getgrent getgrgid getgrnam getgroups
getpwuid getpwuid_r getuid initgroups lchown lseek lstat mknod mmap
seekdir setegid seteuid setgid setgroups setregid setreuid setuid stat
telldir truncate.
(NEW_FUNCTIONS): Add _open64 acl32 aclcheck32 aclfrommode32
aclfrompbits32 aclfromtext32 aclsort32 acltomode32 acltopbits32
acltotext32 chown32 facl32 fchown32 fgetpos64 fopen64 freopen64
fseeko64 fsetpos64 fstat64 ftello64 ftruncate64 getegid32 geteuid32
getgid32 getgrent32 getgrgid32 getgrnam32 getgroups32 getpwuid32
getpwuid_r32 getuid32 initgroups32 lchown32 lseek64 lstat64 mknod32
mmap64 seekdir64 setegid32 seteuid32 setgid32 setgroups32 setregid32
setreuid32 setuid32 stat64 telldir64 truncate64 to substitute the
above.
* cygserver_shm.h (class client_request_shm): Change uid_t and gid_t
members to __uid32_t and __gid32_t.
* cygwin.din: Add symbols acl32 aclcheck32 aclfrommode32
aclfrompbits32 aclfromtext32 aclsort32 acltomode32 acltopbits32
acltotext32 facl32 fgetpos64 fopen64 freopen64 fseeko64 fsetpos64
_fstat64 ftello64 _lseek64 mknod32 _open64.
* glob.c: Include perprocess.h.
(globtilde): Call getpwuid32 and getuid32 instead of getpwuid and
getuid.
(g_lstat): Check for applications API version to call the appropriate
typed gl_lstat function.
(g_stat): Ditto for gl_stat.
* shm.cc (client_request_shm::client_request_shm): Call geteuid32
and getegid32 instead of geteuid and getegid throughout.
* syscalls.cc (_open64): New alias for open.
(_lseek64): New alias for lseek64.
(_fstat64): New alias for fseek64.
(mknod32): New function.
(mknod): Calls mknod32 now.
* winsup.h: Make function declarations for getuid32, geteuid32,
and getpwuid32 accessible for plain C sources.  Add declarations
for getegid32 and getpwnam.
* include/cygwin/version.h: Bum API minor number to 78.
* include/sys/cygwin.h: Guard C++ specific members of struct
per_process against inclusion in plain C sources.
* include/sys/mman.h (mman): Add guard to avoid type clash when
compiling Cygwin.

21 years ago * libc/include/pwd.h: Add guards to avoid type clashes when compiling
Corinna Vinschen [Sun, 9 Mar 2003 21:08:51 +0000 (21:08 +0000)]
* libc/include/pwd.h: Add guards to avoid type clashes when compiling
Cygwin.
* libc/include/sys/stat.h: Ditto.
* libc/include/sys/unistd.h: Ditto.
* libc/sys/cygwin/sys/dirent.h: Ditto.

21 years agofix typo
Christopher Faylor [Sun, 9 Mar 2003 20:54:12 +0000 (20:54 +0000)]
fix typo

21 years ago* include/cygwin/version.h: Bump DLL minor number to 21.
Christopher Faylor [Sun, 9 Mar 2003 20:50:11 +0000 (20:50 +0000)]
* include/cygwin/version.h: Bump DLL minor number to 21.

21 years agowhitespace cleanup
Christopher Faylor [Sun, 9 Mar 2003 20:31:07 +0000 (20:31 +0000)]
whitespace cleanup

21 years agoDo some minor reformatting of 'extern "C"' use throughout.
Christopher Faylor [Sun, 9 Mar 2003 20:10:25 +0000 (20:10 +0000)]
Do some minor reformatting of 'extern "C"' use throughout.
* autoload.cc (GetSystemTimes): Define new autoload function.
* fhandler_proc.cc (proc_listing): Add cpuinfo and partitions entries.
(fhandler_proc::fill_filebuf): Add PROC_CPUINFO and PROC_PARTITIONS cases.
(format_proc_uptime): Use GetSystemTimes if available.
(read_value): New macro.
(print): New macro.
(cpuid): New function.
(can_set_flag): New function.
(format_proc_cpuinfo): New function.
(format_proc_partitions): New function.

21 years ago* winsup.api/winsup.exp: Use -nostdinc when compiling.
Christopher Faylor [Sun, 9 Mar 2003 19:46:29 +0000 (19:46 +0000)]
* winsup.api/winsup.exp: Use -nostdinc when compiling.
* Makefile.in: Specifically search compiler include directory since it is now
stripped via -nostdinc.

21 years ago.
Christopher Faylor [Sun, 9 Mar 2003 19:29:22 +0000 (19:29 +0000)]
.

21 years ago* Makefile.common: Avoid double slashes in GCC_INCLUDE.
Christopher Faylor [Sun, 9 Mar 2003 19:22:15 +0000 (19:22 +0000)]
* Makefile.common: Avoid double slashes in GCC_INCLUDE.

21 years ago * getfacl.c (username): Fix ambiguous printf calls.
Corinna Vinschen [Sun, 9 Mar 2003 19:04:23 +0000 (19:04 +0000)]
* getfacl.c (username): Fix ambiguous printf calls.
(groupname): Ditto.
(main): Ditto.

21 years ago* configure.in (gxx_include_dir): Fix typo.
DJ Delorie [Sun, 9 Mar 2003 18:43:06 +0000 (18:43 +0000)]
* configure.in (gxx_include_dir): Fix typo.
* configure: Regenerated.

21 years ago* syscalls.cc (unlink): Attempt to be more clever about setting attributes of
Christopher Faylor [Sun, 9 Mar 2003 18:10:42 +0000 (18:10 +0000)]
* syscalls.cc (unlink): Attempt to be more clever about setting attributes of
file.  Only open file in query mode to avoid having to mess with security stuff
for reading.

21 years ago * winsup.api/ltp/fork10.c (main): Remove non-portable declaration
Corinna Vinschen [Sun, 9 Mar 2003 17:53:06 +0000 (17:53 +0000)]
* winsup.api/ltp/fork10.c (main): Remove non-portable declaration
of lseek.

21 years ago * rmsym: Fix regular expression.
Corinna Vinschen [Sun, 9 Mar 2003 17:13:46 +0000 (17:13 +0000)]
* rmsym: Fix regular expression.

21 years ago* Makefile.in: Use "cygwin0" rather than "new-cygwin" to denote in-build-tree
Christopher Faylor [Sun, 9 Mar 2003 17:03:05 +0000 (17:03 +0000)]
* Makefile.in: Use "cygwin0" rather than "new-cygwin" to denote in-build-tree
version of library or dll.
* config/default.exp: Ditto.
* winsup.api/winsup.exp: Ditto.

21 years ago* Makefile.in: Change from using new-* to cygwin0 for temporary targets.
Christopher Faylor [Sun, 9 Mar 2003 17:01:41 +0000 (17:01 +0000)]
* Makefile.in: Change from using new-* to cygwin0 for temporary targets.

21 years ago * include/cygwin/socket.h: Set SOMAXCONN to Winsock2 value.
Corinna Vinschen [Sun, 9 Mar 2003 16:05:54 +0000 (16:05 +0000)]
* include/cygwin/socket.h: Set SOMAXCONN to Winsock2 value.

21 years ago* syscalls.cc (unlink): Always attempt to use FILE_FLAG_CLOSE_ON_DELETE to
Christopher Faylor [Sun, 9 Mar 2003 00:10:29 +0000 (00:10 +0000)]
* syscalls.cc (unlink): Always attempt to use FILE_FLAG_CLOSE_ON_DELETE to
delete files since this allows us to preserve the protection of hard linked
files.
(link): Generate full path for potentially recalculated .lnk target.

21 years agomissed in last checkin
Christopher Faylor [Sat, 8 Mar 2003 19:22:08 +0000 (19:22 +0000)]
missed in last checkin

21 years agoRevert below changes regarding _pinfo::cmdline.
Christopher Faylor [Sat, 8 Mar 2003 17:56:13 +0000 (17:56 +0000)]
Revert below changes regarding _pinfo::cmdline.

21 years ago * external.cc (cygwin_internal): Change n to __off64_t to match change
Corinna Vinschen [Sat, 8 Mar 2003 16:44:25 +0000 (16:44 +0000)]
* external.cc (cygwin_internal): Change n to __off64_t to match change
of _pinfo::cmdline.
* fhandler.h (class fhandler_virtual): Change filesize member to
__off64_t.
* fhandler_proc.cc (format_proc_meminfo): Change to return __off64_t.
(format_proc_stat): Ditto.
(format_proc_uptime): Ditto.
* fhandler_process.cc (format_process_stat): Ditto.
(format_process_status): Ditto.
(format_process_statm): Ditto.
* pinfo.cc (_pinfo::cmdline): Expect __off64_t parameter.
* pinfo.h (class _pinfo): Change declaration of cmdline accordingly.

21 years ago* libc/include/sys/unistd.h: Guard getopt.h call to force only declaration of
Christopher Faylor [Sat, 8 Mar 2003 04:57:41 +0000 (04:57 +0000)]
* libc/include/sys/unistd.h: Guard getopt.h call to force only declaration of
getopt and avoid getopt_long declaration.
* libc/sys/cygwin/include/unistd.h: Remove.

21 years ago* path.h (PATH_LNK): New enum val.
Christopher Faylor [Sat, 8 Mar 2003 03:36:39 +0000 (03:36 +0000)]
* path.h (PATH_LNK): New enum val.
(path_conv::is_lnk_symlink): New function.  True if path represents .lnk style
symlink.
* path.cc (check_shortcut): Set PATH_LNK in pflags when appropriate.
(symlink_info::check): Ditto.  Remove PATH_LNK from pflags initially.
* syscalls.cc (unlink): Always remove readonly attribute from a symlink
regardless of type.
(link): (from Corinna Vinschen) Allow links to symlinks.  Reset attributes on a
symlink after successful link creation.
(chmod): Use is_lnk_symlink where appropriate.
(rename): Ditto.
* tty.cc (create_tty_master): Call GetComputerName instead of
cygwin_gethostname.  Set ut_id.
* syscalls.cc (login): Call endutent.
(setutent): Do not seek after a fresh open.

21 years ago * configure.host: Define stdio64_dir for Cygwin.
Corinna Vinschen [Fri, 7 Mar 2003 20:41:49 +0000 (20:41 +0000)]
* configure.host: Define stdio64_dir for Cygwin.
* libc/include/stdio.h: Change definition of fpos_t to fulfill
Cygwin 64bit file access requirements.
Drop definition of f*64() functions when compiled for Cygwin.
* libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin.
* libc/reent/lseek64r.c: Use _off64_t instead of off64_t.
* libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.

21 years ago * syscalls.cc (seteuid32): Fix formatting.
Corinna Vinschen [Fri, 7 Mar 2003 16:35:56 +0000 (16:35 +0000)]
* syscalls.cc (seteuid32): Fix formatting.

21 years ago * winsup.api/known_bugs.tcl: Remove fsync01, setregid01 and setreuid01
Corinna Vinschen [Fri, 7 Mar 2003 15:59:58 +0000 (15:59 +0000)]
* winsup.api/known_bugs.tcl: Remove fsync01, setregid01 and setreuid01
from list of known bugs.

21 years ago2003-03-07 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 7 Mar 2003 15:56:49 +0000 (15:56 +0000)]
2003-03-07   Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/reent.h: Remove extraneous _sig_func
        declaration.

21 years ago2003-03-06 Christopher January <chris@atomice.net>
Danny Smith [Fri, 7 Mar 2003 00:51:19 +0000 (00:51 +0000)]
2003-03-06  Christopher January  <chris@atomice.net>

* include/winbase.h (FindFirstVolume): Add declaration.
(FindNextVolume): Add declaration.
(FindVolumeClose): Add declaration.
(GetSystemTimes): Add declaration.
* include/winnt.h: Add define for PF_XMMI64_INSTRUCTIONS_AVAILABLE.

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

*lib/kernel32.def (GetSystemTimes): Add stub.

21 years ago2003-03-06 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 6 Mar 2003 20:50:01 +0000 (20:50 +0000)]
2003-03-06  Andrew Cagney  <cagney@redhat.com>

* texinfo/texinfo.tex: Import version 2003-02-03.16.

21 years agoRemove redundant defintions of BYTES_IN_WORD and add conditional defintion in
Nick Clifton [Thu, 6 Mar 2003 16:45:42 +0000 (16:45 +0000)]
Remove redundant defintions of BYTES_IN_WORD and add conditional defintion in
aout64.h.

21 years ago2003-03-04 Daniel Jacobowitz <drow@mvista.com>
Nathanael Nerode [Wed, 5 Mar 2003 01:50:53 +0000 (01:50 +0000)]
2003-03-04  Daniel Jacobowitz  <drow@mvista.com>

* configure.in: Include $(build_tooldir)/sys-include in
FLAGS_FOR_TARGET.
* configure: Regenerated.

2003-03-04  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.tpl: Reindent.
* Makefile.in: Regenerate.
* configure.in: Reindent.  Don't set unused variables.
* configure: Regenerate.

21 years ago* thread.cc (MTinterface::fixup_after_fork): Initialize mainthread
Thomas Pfaff [Tue, 4 Mar 2003 20:16:49 +0000 (20:16 +0000)]
* thread.cc (MTinterface::fixup_after_fork): Initialize mainthread
prior to pthread objects.

21 years ago * fhandler_socket.cc (fhandler_socket::dup): Initialize type.
Corinna Vinschen [Tue, 4 Mar 2003 16:35:00 +0000 (16:35 +0000)]
* fhandler_socket.cc (fhandler_socket::dup): Initialize type.

21 years agoReally commit it... dunno what happened last time.
Nathanael Nerode [Tue, 4 Mar 2003 08:36:40 +0000 (08:36 +0000)]
Really commit it... dunno what happened last time.

21 years ago * mh-dgux: Delete.
Nathanael Nerode [Tue, 4 Mar 2003 07:48:49 +0000 (07:48 +0000)]
* mh-dgux: Delete.

21 years ago * Makefile.tpl: Always pass down RANLIB.
Nathanael Nerode [Tue, 4 Mar 2003 07:48:06 +0000 (07:48 +0000)]
* Makefile.tpl: Always pass down RANLIB.
* Makefile.in: Regenerate.

* Makefile.tpl: Don't set unused enable_shared, enable_threads macros.
* Makefile.in: Regenerate.
* configure.in: Remove unused logic relating to --enable-shared
and --enable-threads.  Remove bogus comments.  Remove redundant
noconfigdirs.
* configure: Regenerate.

* configure.in: Replace ${libstdcxx_version} by its value.
Remove reference to mh-dgux.
* configure: Regenerate.

21 years agorevert erroneous entry
Christopher Faylor [Tue, 4 Mar 2003 05:30:51 +0000 (05:30 +0000)]
revert erroneous entry

21 years ago* Makefile.in (strace.exe): Include mingw_getopt.o in link line.
Christopher Faylor [Tue, 4 Mar 2003 05:30:50 +0000 (05:30 +0000)]
* Makefile.in (strace.exe): Include mingw_getopt.o in link line.
* cygcheck.cc (print_version): Update copyright.
* strace.cc (print_version): Ditto.
(main): Allow cygwin paths for -o option.
(create_child): Allow cygwin path as argv[0].
* path.cc (path.cc): Allow UNC paths.

21 years ago* fhandler.h (fhandler_tty_slave::close): Declare new function.
Christopher Faylor [Tue, 4 Mar 2003 04:07:34 +0000 (04:07 +0000)]
* fhandler.h (fhandler_tty_slave::close): Declare new function.
(fhandler_tty_slave::dup): Declare new function.
(fhandler_tty_slave::fixup_after_function): Declare new function.
* fhandler_tty.cc (fhandler_tty_slave_open): Only increment
fhandler_console::open_fhs when associated with a pty.
(fhandler_tty_slave::close): Define new function.  Decrement
fhandler_console::open_fhs when associated with a pty.
(fhandler_tty_slave::dup): Define new function.  Increment
fhandler_console::open_fhs when associated with a pty.
(fhandler_tty_slave::fixup_after_fork): Define new function.  Increment
fhandler_console::open_fhs when associated with a pty.

21 years ago2003-03-04 Heiko Gerdau <hg@technosis.de>
Danny Smith [Tue, 4 Mar 2003 00:36:06 +0000 (00:36 +0000)]
2003-03-04  Heiko Gerdau  <hg@technosis.de>

* oleidl.h (IOleObject): Correct GetUserType prototype.
(IViewObject2): Correct GetExtent prototype.
* olectl.h (DISPIP_): Add new defines
* ocidl.h (IOleInPlaceSiteWindowless): Add new interface.

21 years agoFix sh-elf linker relaxation:
Joern Rennecke [Mon, 3 Mar 2003 21:03:58 +0000 (21:03 +0000)]
Fix sh-elf linker relaxation:

gcc:
* config/sh/sh.h (EXTRA_SPECS): Add subtarget_asm_relax_spec and
subtarget_asm_isa_spec.
(SUBTARGET_ASM_RELAX_SPEC, SUBTARGET_ASM_ISA_SPEC): Define.
(ASM_SPEC): Define as SH_ASM_SPEC.
(SH_ASM_SPEC): New; take the role of ASM_SPEC, but safe from svr4.h.
Use subtarget_asm_relax_spec and subtarget_asm_isa_spec.
* config/sh/elf.h (ASM_SPEC): Use SH_ASM_SPEC.
(SUBTARGET_ASM_ISA_SPEC): Undef / define.
gcc/testsuite:
gcc.dg/sh-relax.c: New test.

include/elf:
* sh.h (EF_SH_MERGE_MACH): Make sure SH2E & SH3/SH3E merge to SH3E,
and SH2E & SH4 merge to SH4, not SH2E.

gas:
* config/tc-sh.c (sh_dsp): Replace with preset_target_arch.
(md_begin): Use preset_target_arch.
(md_longopts): Make isa option unconditional.
(md_parse_option): Make OPTION_DSP and OPTION_ISA sh4 / any
set preset_target_arch.
(md_apply_fix3): If BFD_ASSEMBLER, adjust SWITCH_TABLE fixups
by -S_GET_VALUE  (fixP->fx_subsy).
(tc_gen_reloc): For SWITCH_TABLE fixups, the symbol is fixp->fx_subsy,
and the addend is 0.
Adjust addend of R_SH_IND12W relocations by fixp->fx_offset - 4.
* config/tc-sh.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.

bfd:
elf32-sh.c (sh_elf_howto_tab): Make R_SH_IND12W into an ordinary
relocation (no special function), and make it non-partial_inplace.
(sh_elf_relax_section): When creating a bsr, use a consistent value
no matter if the symbol is extern or not;  set addend to -4.
Don't swap load / non-load instructions for SH4.
(sh_elf_relax_delete_bytes): In R_SH_IND12W case, check the offset
rather than if the symbol is external to determine if adjusting the
offset makes sense.  Adjust the addend too if appropriate.
(sh_elf_relocate_section): In R_SH_IND12W, don't fiddle with the
relocation.

21 years ago* fhandler_tty.cc (fhandler_pty_slave::open): Grudgingly increment
Christopher Faylor [Mon, 3 Mar 2003 15:15:49 +0000 (15:15 +0000)]
* fhandler_tty.cc (fhandler_pty_slave::open): Grudgingly increment
fhandler_console::open_fhs here.
(fhandler_pty_slave::close): Ditto for close.

21 years ago2003-03-03 Christopher Faylor <cgf@redhat.com>
Danny Smith [Mon, 3 Mar 2003 10:27:57 +0000 (10:27 +0000)]
2003-03-03  Christopher Faylor  <cgf@redhat.com>

* mingwex/getopt.c: Refresh from NetBSD sources.

21 years ago* lib/getopt.c: Refresh from NetBSD sources.
Christopher Faylor [Mon, 3 Mar 2003 04:30:09 +0000 (04:30 +0000)]
* lib/getopt.c: Refresh from NetBSD sources.

21 years ago* fhandler_console.cc (fhandler_console::close): Don't decrement in use counter
Christopher Faylor [Mon, 3 Mar 2003 03:58:10 +0000 (03:58 +0000)]
* fhandler_console.cc (fhandler_console::close): Don't decrement in use counter
if in vfork fixup stage.

21 years ago * mingwex/getopt.c: New file, copied from cygwin srcs.
Danny Smith [Mon, 3 Mar 2003 01:19:42 +0000 (01:19 +0000)]
* mingwex/getopt.c: New file, copied from cygwin srcs.
* include/getopt.h: New file, copied from cygwin srcs.
* include/unistd.h: Include getopt.h.
* mingwex/Makefile.in ((DISTFILES): Add getopt.c.
(POSIX_OBJS): Add getopt.o.

21 years ago* lib/getopt.c: Nuke use of unneeded BSDisms.
Christopher Faylor [Sun, 2 Mar 2003 22:52:18 +0000 (22:52 +0000)]
* lib/getopt.c: Nuke use of unneeded BSDisms.

21 years ago* dll_init.cc (dll_list::load_after_fork): Don't revert to LoadLibrary if
Christopher Faylor [Sun, 2 Mar 2003 18:37:17 +0000 (18:37 +0000)]
* dll_init.cc (dll_list::load_after_fork): Don't revert to LoadLibrary if
LoadLibraryEx fails.
* dtable.cc (dtable::dec_console_fds): Eliminate.
(dtable::release): Don't treat console specially.
(dtable::build_fhandler): Ditto.
* dtable.h (console_fds): Eliminate.
(dtable::dec_console_fds): Eliminate.
(dtable::inc_console_fds): Eliminate.
* fhandler.h (fhandler_console::open_fhs): New static element.
* fhandler_console.cc (fhandler_console::open): Increment open_fs.
(fhandler_console::close): Call FreeConsole if no more open consoles and ctty
is not associated with the console.
* syscalls.cc (setsid): Simplify check for when to call FreeConsole.
(check_pty_fds): Eliminate definition.
* winsup.h (check_pty_fds): Eliminate declaration.

21 years ago* dll_init.cc (dll_list::load_after_fork): Fix typo where result of LoadLibrary
Christopher Faylor [Sun, 2 Mar 2003 17:29:47 +0000 (17:29 +0000)]
* dll_init.cc (dll_list::load_after_fork): Fix typo where result of LoadLibrary
was ignored.

21 years ago2003-03-02 Danny Smith <dannysmith@users.sourceforge.net>
Danny Smith [Sun, 2 Mar 2003 07:00:48 +0000 (07:00 +0000)]
2003-03-02  Danny Smith  <dannysmith@users.sourceforge.net>

* include/stdio.h (vscanf): Add prototype.
(vfscanf): Ditto.
(vsscanf): Ditto.
(vwscanf): Ditto.
(vfwscanf): Ditto.
(vswscanf): Ditto.
* include/wchar.h (vwscanf): Add prototype.
(vfwscanf): Ditto.
(vswscanf): Ditto.
* mingwex/snprintf.c: Move to mingwex/stdio.
  * mingwex/vsnprintf.c: Ditto.
* mingwex/snwprintf.c: Ditto.
* mingwex/vsnwprintf.c: Ditto.
* mingwex/Makefile.in (VPATH): Add $(srcdir)/stdio
(STDIO_DISTFILES): Add.
(DISTFILES): Adjust.
(STDIO_STUB_OBJS): Rename to STDIO_OBJS and add v*scanf objects.
(LIB_OBJS): Adjust.
(dist): Adjust.

2003-03-02  Aaron W  LaFramboise   <AWLaFramboise@aol.com>

* mingwex/stdio: New directory
* mingwex/stdio/vfscanf.c: New file.
* mingwex/stdio/vfwscanf.c:  New file.
* mingwex/stdio/vscanf.c:  New file.
* mingwex/stdio/vsscanf.c:  New file.
* mingwex/stdio/vswscanf.c:  New file.
* mingwex/stdio/vwscanf.c:  New file.

21 years agofix typo
Christopher Faylor [Sun, 2 Mar 2003 06:50:27 +0000 (06:50 +0000)]
fix typo

21 years agoDocument new mkgroup,mkpasswd options
Joshua Daniel Franklin [Sat, 1 Mar 2003 17:29:51 +0000 (17:29 +0000)]
Document new mkgroup,mkpasswd options

21 years ago2003-03-01 Pierre Humblet <pierre.humblet@ieee.org>
Pierre Humblet [Sat, 1 Mar 2003 16:38:26 +0000 (16:38 +0000)]
2003-03-01  Pierre Humblet  <pierre.humblet@ieee.org>

       * mkpasswd.cc (main): On Win95, output both a default line and a
       line for the current user (if known) with a pseudorandom uid. If
       the -u switch is given, produce a line for the specified user.
       * mkgroup.cc (main): On Win95 change the group name from "unknown" to
       "all".

21 years ago * fhandler_socket.cc (fhandler_socket::bind): Open and write socket
Corinna Vinschen [Sat, 1 Mar 2003 16:17:55 +0000 (16:17 +0000)]
* fhandler_socket.cc (fhandler_socket::bind): Open and write socket
file using Win32 calls.

21 years ago * fhandler_socket.cc (get_inet_addr): Open and read socket file using
Corinna Vinschen [Sat, 1 Mar 2003 15:28:24 +0000 (15:28 +0000)]
* fhandler_socket.cc (get_inet_addr): Open and read socket file using
Win32 calls.

21 years ago * include/olectl.h (OleLoadPictureEx) Add prototype.
Danny Smith [Sat, 1 Mar 2003 09:34:12 +0000 (09:34 +0000)]
* include/olectl.h (OleLoadPictureEx) Add prototype.
(OleLoadPictureFile): Ditto.
(OleLoadPictureFileEx): Ditto.
(OleLoadPicturePath): Ditto.
(OleSavePictureFile): Ditto.

21 years ago * include/objbase.h (CoAddRefServerProcess): Add prototype.
Danny Smith [Sat, 1 Mar 2003 07:19:36 +0000 (07:19 +0000)]
* include/objbase.h (CoAddRefServerProcess): Add prototype.
(CoAddReleaseServerProcess): Ditto.
(CoResumeClassObjects): Ditto.
(CoSuspendClassObjects): Ditto.
* include/oleauto.h (V_I1): Define.
Thanks to: "Timofei"  <mmttmm@users.sourceforge.net>

21 years ago2003-03-01 Heiko Gerdau <hg@technosis.de>
Danny Smith [Sat, 1 Mar 2003 06:51:51 +0000 (06:51 +0000)]
2003-03-01  Heiko Gerdau  <hg@technosis.de>

* include/oleidl.h (USERCLASSTYPE): Add enum.
* include/ocidl.h (IObjectWithSite): Add interface.

21 years ago* Makefile.in (cygcheck.o): Fix so that actual mingw include files are used.
Christopher Faylor [Sat, 1 Mar 2003 03:38:19 +0000 (03:38 +0000)]
* Makefile.in (cygcheck.o): Fix so that actual mingw include files are used.
* cygcheck.cc (find_on_path): Translate from cygwin path when qualified path
name found.
(pretty_id): New function.  Dump output of id command.
(dump_sysinfo): Call pretty_id for CYGWIN=ntsec and CYGWIN=nontsec cases.

21 years ago* cygwin.din: Wrap atexit and exit with cygwin, thread-safe functions.
Christopher Faylor [Sat, 1 Mar 2003 02:02:42 +0000 (02:02 +0000)]
* cygwin.din: Wrap atexit and exit with cygwin, thread-safe functions.
* dcrt0.cc (cygwin_atexit): New function.
(cygwin_exit): Ditto.

21 years ago2003-02-28 Pierre Humblet <pierre.humblet@ieee.org>
Pierre Humblet [Fri, 28 Feb 2003 23:52:48 +0000 (23:52 +0000)]
2003-02-28  Pierre Humblet  <pierre.humblet@ieee.org>

* syscalls.cc (fstat64): Pass get_name () to pc.
(access): Pass fn to stat_worker.

21 years ago * Makefile.tpl: Rearrange.
Nathanael Nerode [Fri, 28 Feb 2003 18:03:31 +0000 (18:03 +0000)]
* Makefile.tpl: Rearrange.
* Makefile.in: Regenerate.

21 years ago2003-02-28 Roland Schwingel <roland.schwingel@onevision.de>
Danny Smith [Fri, 28 Feb 2003 08:03:13 +0000 (08:03 +0000)]
2003-02-28  Roland Schwingel <roland.schwingel@onevision.de>

Fixup UNICODE thinko in 2003-02-22 patch.
* include/wingdi.h (AddFontMemResourceEx): Add.
(RemoveFontMemResourceEx): Ditto.
(AddFontMemResourceEx[AW]): Remove.
(RemoveFontMemResourceEx[AW]): Ditto
* lib/gdi32.def: (AddFontResourceEx): Add.
(RemoveFontMemResourceEx): Ditto.
(AddFontMemResourceEx[AW]): Remove.
(RemoveFontResourceEx[AW]): Ditto.

21 years ago2003-02-27 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 27 Feb 2003 23:13:32 +0000 (23:13 +0000)]
2003-02-27  Andrew Cagney  <cagney@redhat.com>

* remote-sim.h (sim_open, sim_load, sim_create_inferior): Rename
_bfd to bfd.

21 years ago2003-03-27 Corinna Vinschen <corinna@vinschen.de>
Corinna Vinschen [Thu, 27 Feb 2003 21:41:28 +0000 (21:41 +0000)]
2003-03-27  Corinna Vinschen  <corinna@vinschen.de>

* fhandler_socket.cc (class sock_event): New class managing Winsock
events for interruptible socket calls.
(fhandler_socket::connect): Move support for interruptible call to
class sock_event.  Use class object instead.
(fhandler_socket::accept): Ditto.  Remove useless casts.

2003-03-27  Thomas Pfaff  <tpfaff@gmx.net>

* fhandler_socket.cc (fhandler_socket::connect): Add support for
an interruptable connect.

21 years agomerge from gcc
DJ Delorie [Thu, 27 Feb 2003 21:01:01 +0000 (21:01 +0000)]
merge from gcc

21 years ago * uinfo.cc (internal_getlogin): Only update user.groups.pgsid
Corinna Vinschen [Thu, 27 Feb 2003 17:41:15 +0000 (17:41 +0000)]
* uinfo.cc (internal_getlogin): Only update user.groups.pgsid
if the call to set the primary group succeeds.

21 years ago* cygthread::detach: Improve error message.
Christopher Faylor [Thu, 27 Feb 2003 15:09:31 +0000 (15:09 +0000)]
* cygthread::detach: Improve error message.

21 years ago * sec_helper.cc (get_sids_info): debug_print owner_sid and group_sid.
Corinna Vinschen [Wed, 26 Feb 2003 08:34:34 +0000 (08:34 +0000)]
* sec_helper.cc (get_sids_info): debug_print owner_sid and group_sid.

21 years ago2002-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
Jeff Johnston [Tue, 25 Feb 2003 20:36:29 +0000 (20:36 +0000)]
2002-02-25   D.Venkatasubramanian <dvenkat@noida.hcltech.com>

        * libc/sys/h8300hms/Makefile.am: Add support for new files.
        * libc/sys/h8300hms/Makefile.in: Regenerated.
        * libc/sys/h8300hms/close.S: New file.
        * libc/sys/h8300hms/fstat.S: Ditto.
        * libc/sys/h8300hms/lseek.S: Ditto.
        * libc/sys/h8300hms/open.S: Ditto.
        * libc/sys/h8300hms/stat.S: Ditto.
        * libc/sys/h8300hms/read.S: New file to replace read.c.
        * libc/sys/h8300hms/read.c: Removed.
        * libc/sys/h8300hms/syscalls.c: Removed functions _open,
        _lseek, _close, _stat, _fstat.
        * libc/sys/h8300hms/write.S: New file to replace write.c.
        * libc/sys/h8300hms/write.c: Removed.

21 years ago * Makefile.in (libmsvcrt20.a): Remove target and dependencies.
Earnie Boyd [Tue, 25 Feb 2003 13:07:46 +0000 (13:07 +0000)]
* Makefile.in (libmsvcrt20.a): Remove target and dependencies.
(libmsvcrt40.a): Ditto.

21 years ago * mmap.cc (mmap64): Fix returned address by taking the granularity
Corinna Vinschen [Tue, 25 Feb 2003 12:46:39 +0000 (12:46 +0000)]
* mmap.cc (mmap64): Fix returned address by taking the granularity
into account.

21 years agoRemove site-file support - it is obsolete.
Nick Clifton [Tue, 25 Feb 2003 10:47:07 +0000 (10:47 +0000)]
Remove site-file support - it is obsolete.

21 years agoAdd support for kaOS as cross build target system.
Nick Clifton [Mon, 24 Feb 2003 16:47:04 +0000 (16:47 +0000)]
Add support for kaOS as cross build target system.

21 years ago 2003-02-23 Pierre Humblet <pierre.humblet@ieee.org>
Pierre Humblet [Sun, 23 Feb 2003 19:12:55 +0000 (19:12 +0000)]
 2003-02-23  Pierre Humblet  <pierre.humblet@ieee.org>

       * syslog.cc (syslog): Do not unlock the file before closing it
       and remove debug_printf about stream errors.

21 years ago2003-02-23 Danny Smith <dannysmith@users.sourceforge.net>
Danny Smith [Sun, 23 Feb 2003 08:31:37 +0000 (08:31 +0000)]
2003-02-23  Danny Smith  <dannysmith@users.sourceforge.net>

* include/winbase.h (EVENTLOG_SUCCESS): Add define.
Thanks to: Thomas Weber  <thomasweber@sourceforge.net>

21 years agowhitespace
Christopher Faylor [Sat, 22 Feb 2003 23:03:26 +0000 (23:03 +0000)]
whitespace

21 years ago* cygmalloc.h: Remove MORECORE_CANNOT_TRIM. It's not true. # cygwin.din:
Christopher Faylor [Sat, 22 Feb 2003 23:02:15 +0000 (23:02 +0000)]
* cygmalloc.h: Remove MORECORE_CANNOT_TRIM.  It's not true.  # cygwin.din:
Export mallinfo.  # malloc_wrapper.cc (mallinfo): New function.

21 years ago* syslog.cc (syslog): Do not print the Windows pid. Print the Cygwin pid as an
Christopher Faylor [Sat, 22 Feb 2003 19:35:03 +0000 (19:35 +0000)]
* syslog.cc (syslog): Do not print the Windows pid.  Print the Cygwin pid as an
unsigned decimal.  On Win95 print a timestamp and attempt to lock the file up
to four times in 3 ms.

21 years ago2003-02-22 Roland Schwingel <roland.schwingel@onevision.de>
Danny Smith [Sat, 22 Feb 2003 11:32:30 +0000 (11:32 +0000)]
2003-02-22  Roland Schwingel  <roland.schwingel@onevision.de>

* include/wingdi.h (AddFontMemResourceEx[AW]): Add.
(RemoveFontMemResourceEx[AW]): Ditto
* lib/gdi32.def (AddFontMemResourceEx[AW]): Add.
(RemoveFontMemResourceEx[AW]): Ditto.

21 years ago2003-02-22 Bang Jun-Young <junyoung@netbsd.org>
Danny Smith [Sat, 22 Feb 2003 10:43:46 +0000 (10:43 +0000)]
2003-02-22  Bang Jun-Young  <junyoung@netbsd.org>

* lib/ntdll.def (NT*, RTL*, ZW*): Add missing exports.
(NtCurrentTeb): Remove.

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