]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
13 years ago * cygwin.din (ppoll): Export.
Corinna Vinschen [Mon, 18 Apr 2011 12:00:05 +0000 (12:00 +0000)]
* cygwin.din (ppoll): Export.
* poll.cc (ppoll): Implement.
* posix.sgml (std-gnu): Add ppoll.
* include/cygwin/version.h: Bump API minor number.
* include/sys/poll.h (ppoll): Declare.

13 years ago * fhandler_socket.cc (fhandler_socket::evaluate_events): Handle the
Corinna Vinschen [Mon, 18 Apr 2011 11:44:17 +0000 (11:44 +0000)]
* fhandler_socket.cc (fhandler_socket::evaluate_events): Handle the
FD_CLOSE event specially when called from accept.  Explain why.
(fhandler_socket::shutdown): Fake success on not-connected socket and
trigger socket event if the read side of a socket is affected.  Explain
why.
* poll.cc (poll): Check for saw_shutdown_read on sockets to generate
POLLHUP as well.

13 years ago * Fix various copyrights.
Corinna Vinschen [Mon, 18 Apr 2011 11:26:37 +0000 (11:26 +0000)]
* Fix various copyrights.

13 years ago * setfacl.c (getaclentry): Allow extra colon in mask and other entries.
Corinna Vinschen [Mon, 18 Apr 2011 10:23:21 +0000 (10:23 +0000)]
* setfacl.c (getaclentry): Allow extra colon in mask and other entries.

13 years ago* * signal.cc (_pinfo::kill): Set this_process_state when process exists.
Christopher Faylor [Mon, 18 Apr 2011 01:46:57 +0000 (01:46 +0000)]
* * signal.cc (_pinfo::kill): Set this_process_state when process exists.

13 years ago* signal.cc (_pinfo::kill): Return 0 when attempting to test for existence of
Christopher Faylor [Sun, 17 Apr 2011 21:45:28 +0000 (21:45 +0000)]
* signal.cc (_pinfo::kill): Return 0 when attempting to test for existence of
an existed process which has not yet been reaped.

13 years ago* cygheap.h (init_cygheap::ctty): Use base class so that console can join in
Christopher Faylor [Sun, 17 Apr 2011 19:56:25 +0000 (19:56 +0000)]
* cygheap.h (init_cygheap::ctty): Use base class so that console can join in
the fun.
* dtable.cc (dtable::stdio_init): Remove special-case call to set_console_ctty
().
* exceptions.cc (sigpacket::process): Conditionally flush terminal input on
certain signals.
* fhandler.h (fhandler_console::get_tty_stuff): Make non-static.
(fhandler_termios::get_ttyp): Move here.
(fhandler_termios::sigflush): Declare.
(fhandler_tty_common::get_ttyp): Delete.
* fhandler_console.cc (fhandler_console::get_tty_stuff): Pass this as "arch"
argument.
(set_console_ctty): Delete.
(tty_list::get_tty): Just return pointer to shared console region, delaying
get_tty_stuff until open().
(fhandler_console::init): Treat NULL handle as signifying that console should
be opened with O_NOCTTY flag.  Rename handle argument to the more common 'h'.
* fhandler_termios.cc (fhandler_termios::sigflush): Define.
* fhandler_tty.cc (handler_tty_master::init_console): Pass NULL as first
argument to fhandler_console::init.
* pinfo.cc (_pinfo::set_ctty): Change third parameter to fhandler_termios *.
Add extra debugging.
* pinfo.h (_pinfo::set_ctty): Change third parameter to fhandler_termios *.
* sigproc.cc (handle_sigsuspend): Don't special-case non-main threads.

13 years agostrchrnul: avoid segv
Eric Blake [Fri, 15 Apr 2011 20:26:05 +0000 (20:26 +0000)]
strchrnul: avoid segv

* libc/string/strchrnul.c (strchrnul): Fix strchrnul.

13 years agogdb: sim: add style fixes lost between git->cvs
Michael Frysinger [Fri, 15 Apr 2011 16:23:19 +0000 (16:23 +0000)]
gdb: sim: add style fixes lost between git->cvs

13 years ago * elf-bfd.h (struct sdt_note): New struct.
Nick Clifton [Fri, 15 Apr 2011 11:14:01 +0000 (11:14 +0000)]
* elf-bfd.h (struct sdt_note): New struct.
(struct elf_obj_tdata) <sdt_note_head>: New field.
* elf.c (elfobj_grok_stapsdt_note_1): New function.
(elfobj_grok_stapsdt_note): Likewise.
(elf_parse_notes): Added code to treat SystemTap note
sections.
* common.h (NT_STAPSDT): New define.

13 years ago* thread.cc (pthread_setschedprio): New function.
Yaakov Selkowitz [Fri, 15 Apr 2011 09:22:14 +0000 (09:22 +0000)]
* thread.cc (pthread_setschedprio): New function.
* include/pthread.h (pthread_setschedprio): Declare.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
* cygwin.din (pthread_setschedprio): Export.
* posix.sgml (std-notimpl) Move pthread_setschedprio from here...
(std-susv4) ...to here.

13 years agogdb: sim: add command line completion
Michael Frysinger [Fri, 15 Apr 2011 03:43:45 +0000 (03:43 +0000)]
gdb: sim: add command line completion

For now, only the sub-command name is completed.  No support yet for
completing options to that command.  But even this is a huge step as
currently, nothing is completed, and the basic "help sim" is fairly
obtuse as to what exactly the "sim" command accepts.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
13 years ago2011-04-12 Jon TURNEY <jon.turney@dronecode.org.uk>
Jon TURNEY [Wed, 13 Apr 2011 11:42:43 +0000 (11:42 +0000)]
2011-04-12  Jon TURNEY  <jon.turney@dronecode.org.uk>

        * utils.sgml (strace): Fix a pair of exchanged lines in usage text.

13 years ago PR gas/12296
Nick Clifton [Mon, 11 Apr 2011 15:23:09 +0000 (15:23 +0000)]
PR gas/12296
* arm.h (ARM_AEXT_V7_ARM): Add ARM_EXT_OS.

* gas/arm/arch7.s: Add SVC insn.
* gas/arm/arch7.d: Add disassembly of SVC insn.
* gas/arm/attr-march-armv7.d: Add arch profile tag.

13 years ago* new-features.sgml (ov-new1.7.10): Document /proc/swaps.
Yaakov Selkowitz [Mon, 11 Apr 2011 02:10:35 +0000 (02:10 +0000)]
* new-features.sgml (ov-new1.7.10): Document /proc/swaps.

13 years ago* fhandler_proc.cc (proc_tab): Add /proc/swaps virtual file.
Yaakov Selkowitz [Mon, 11 Apr 2011 02:09:43 +0000 (02:09 +0000)]
* fhandler_proc.cc (proc_tab): Add /proc/swaps virtual file.
(format_proc_swaps): New function.

13 years ago* Makefile.in: Move srcdir definition before others which uses it.
Christopher Faylor [Thu, 7 Apr 2011 06:07:21 +0000 (06:07 +0000)]
* Makefile.in: Move srcdir definition before others which uses it.

13 years ago* dll_init.cc (reserve_at, release_at): New functions.
Christopher Faylor [Wed, 6 Apr 2011 13:58:00 +0000 (13:58 +0000)]
* dll_init.cc (reserve_at, release_at): New functions.
(load_after_fork): If the DLL was loaded higher than the required address,
assume that it loaded at it's base address and also reserve memory there to
force it to be relocated.

13 years ago * configure.ac (build_tools): Remove build-byacc.
Joseph Myers [Wed, 6 Apr 2011 12:21:21 +0000 (12:21 +0000)]
* configure.ac (build_tools): Remove build-byacc.
(host_libs): Remove mmalloc.
(host_tools): Remove byacc make patch prms send-pr ash bash bzip2
autoconf automake libtool diff rcs fileutils shellutils time
textutils wdiff find uudecode hello tar gzip indent recode release
sed perl gawk findutils gettext zip.
(libgcj): Remove target-qthreads.
(target_tools): Remove target-examples target-gperf.
(YACC): Don't handle building byacc.
* configure: Regenerate.
* Makefile.def (ash, autoconf, automake, bash, byacc, bzip2, diff,
dosutils, examples, fileutils, find, findutils, gawk, gettext,
gnuserv, gperf, gzip, hello, indent, libtool, make, mmalloc,
patch, perl, prms, qthreads, rcs, recode, release, sed, send-pr,
shellutils, tar, textutils, time, uudecode, wdiff, zip): Don't
handle building components.
* Makefile.in: Regenerate.

13 years agoSync config.sub from upstream.
Ralf Wildenhues [Tue, 5 Apr 2011 06:03:02 +0000 (06:03 +0000)]
Sync config.sub from upstream.

/:
* config.sub: Sync from upstream.

13 years ago* include/cygwin/types.h: Move #include <sys/sysmacros.h> to
Yaakov Selkowitz [Tue, 5 Apr 2011 00:53:17 +0000 (00:53 +0000)]
* include/cygwin/types.h: Move #include <sys/sysmacros.h> to
end of header so that it gets the dev_t typedef.
* include/sys/sysmacros.h (gnu_dev_major, gnu_dev_minor,
gnu_dev_makedev): Prototype and define as inline functions.
(major, minor, makedev): Redefine in terms of gnu_dev_*.

13 years ago* include/cygwin/types.h: Move multiple inclusion guards to
Yaakov Selkowitz [Tue, 5 Apr 2011 00:50:19 +0000 (00:50 +0000)]
* include/cygwin/types.h: Move multiple inclusion guards to
beginning and end of header.

13 years ago* Makefile.in: Move Makefile.common include earlier to fix problems with
Christopher Faylor [Mon, 4 Apr 2011 15:01:43 +0000 (15:01 +0000)]
* Makefile.in: Move Makefile.common include earlier to fix problems with
relative ${srcdir} path which confuses make.

13 years ago * new-features.sgml (ov-new1.7.10): Document dropped NT4 support.
Corinna Vinschen [Mon, 4 Apr 2011 12:25:37 +0000 (12:25 +0000)]
* new-features.sgml (ov-new1.7.10): Document dropped NT4 support.

13 years ago Drop NT4 support.
Corinna Vinschen [Mon, 4 Apr 2011 12:23:36 +0000 (12:23 +0000)]
Drop NT4 support.
* autoload.cc (DnsQuery_A): Fatal if not available.
(DnsRecordListFree): Ditto.
(DsGetDcNameW): Ditto.
(NetGetAnyDCName): Remove.
(NetGetDCName): Remove.
(EnumProcessModules): Fatal if not available.
(GetModuleFileNameExW): Ditto.
(GetModuleInformation): Ditto.
(GetProcessMemoryInfo): Ditto.
(QueryWorkingSet): Ditto.
(LsaRegisterLogonProcess): Ditto.
* fenv.cc (_feinitialise): Drop supports_sse condition.
* fhandler_disk_file.cc (path_conv::isgood_inode): Fix comment.
(fhandler_base::fstat_by_name): Drop has_fileid_dirinfo condition.
(fhandler_disk_file::opendir): Ditto.
* fhandler_netdrive.cc (fhandler_netdrive::readdir): Fix comment.
* fhandler_proc.cc (format_proc_partitions): Drop NT4-only code.
* fhandler_process.cc (get_process_state): Ditto.
* kernel32.cc (GetWindowsDirectoryW): Remove.
(GetWindowsDirectoryA): Remove.
* miscfuncs.cc (nice_to_winprio): Drop NT4-only code.
* mount.cc (fs_info::update): Fix comments.
* net.cc (get_2k_ifs): Drop NT4-only code.
* sec_auth.cc (get_logon_server): Ditto.
(lsaauth): Drop NT4-specific error handling.
* security.cc (alloc_sd): Set SE_DACL_PROTECTED unconditionally.
* select.cc (select_stuff::wait): Always use MWMO_INPUTAVAILABLE.
(peek_windows): Drop NT4-only condition in call to PeekMessage.
* syscalls.cc (gethostid): Remove NT4-only workaround.
* wincap.cc: Througout, drop has_dacl_protect,
has_broken_if_oper_status, has_process_io_counters,
has_terminal_services, has_extended_priority_class, has_guid_volumes,
has_fileid_dirinfo, has_mwmo_inputavailable and supports_sse from
wincaps.
(wincap_nt4sp4): Remove.
(wincap_minimal): Set to wincap_2000.
(wincapc::init): Rely on availability of OSVERSIONINFOEX structure.
Treat error from GetVersionEx as fatal.  Treat NT4 as fatal.
* wincap.h (struct wincaps): Drop has_dacl_protect,
has_broken_if_oper_status, has_process_io_counters,
has_terminal_services, has_extended_priority_class, has_guid_volumes,
has_fileid_dirinfo, has_mwmo_inputavailable and supports_sse flags
and methods.
* winlean.h (GetWindowsDirectoryW) Define as GetSystemWindowsDirectoryW.
(GetWindowsDirectoryA): Define as GetSystemWindowsDirectoryA.

13 years ago * dtable.cc (dtable::init_std_file_from_handle): Fix a comment to
Corinna Vinschen [Mon, 4 Apr 2011 11:24:20 +0000 (11:24 +0000)]
* dtable.cc (dtable::init_std_file_from_handle): Fix a comment to
reflect the current state.

13 years ago* new-features.sgml (ov-new1.7.10): Document additional information
Yaakov Selkowitz [Mon, 4 Apr 2011 11:14:20 +0000 (11:14 +0000)]
* new-features.sgml (ov-new1.7.10): Document additional information
in /proc/version.

13 years ago* Makefile.in (fhandler_proc_CFLAGS): Define USERNAME, HOSTNAME,
Yaakov Selkowitz [Mon, 4 Apr 2011 11:12:48 +0000 (11:12 +0000)]
* Makefile.in (fhandler_proc_CFLAGS): Define USERNAME, HOSTNAME,
and GCC_VERSION.
* fhandler_proc.cc (format_proc_version):  Add build machine and GCC
version information as on Linux.

13 years ago* devices.h (fh_devices): Define FH_PROC_MIN_MINOR.
Yaakov Selkowitz [Mon, 4 Apr 2011 10:14:27 +0000 (10:14 +0000)]
* devices.h (fh_devices): Define FH_PROC_MIN_MINOR.
Reorder major-0 devices so that all /proc directories fall
between FH_PROC and FH_PROC_MIN_MINOR.
* path.h (isproc_dev): Redefine accordingly.

13 years ago * include/winnt.h (DOMAIN_ALIAS_RID_REMOTE_DESKTOP_USERS): Add.
Corinna Vinschen [Mon, 4 Apr 2011 09:10:41 +0000 (09:10 +0000)]
* include/winnt.h (DOMAIN_ALIAS_RID_REMOTE_DESKTOP_USERS): Add.

13 years ago * passwd.c (main): Add the ability to specify a username for the -R
Corinna Vinschen [Mon, 4 Apr 2011 09:09:43 +0000 (09:09 +0000)]
* passwd.c (main): Add the ability to specify a username for the -R
command.
* utils.sgml: Document the aforementioned change.

13 years ago * cygserver_setpwd.h (setlsapwd): Add username parameter to declaration.
Corinna Vinschen [Mon, 4 Apr 2011 09:04:00 +0000 (09:04 +0000)]
* cygserver_setpwd.h (setlsapwd): Add username parameter to declaration.
* external.cc (cygwin_internal): In the CW_SET_PRIV_KEY case, fetch
additional username parameter.
* setlsapwd.cc (setlsapwd): Add username parameter.  Allow admin to
set the hidden password for other users.

13 years agoAdd ChangeLog missing in previous checkin
Corinna Vinschen [Mon, 4 Apr 2011 09:00:53 +0000 (09:00 +0000)]
Add ChangeLog missing in previous checkin

13 years ago * sec_auth.cc (get_user_groups): Mark well-known groups as well-known.
Corinna Vinschen [Mon, 4 Apr 2011 09:00:02 +0000 (09:00 +0000)]
* sec_auth.cc (get_user_groups): Mark well-known groups as well-known.
(get_user_local_groups): Ditto.
(verify_token): Drop useless label.
* sec_helper.cc (cygsid::get_sid): Check for well-known SID if
well_known isn't set.
* security.h (well_known_sid_type): New inline function.

13 years ago * autoload.cc (FindFirstVolumeA): Remove.
Corinna Vinschen [Sat, 2 Apr 2011 11:43:43 +0000 (11:43 +0000)]
* autoload.cc (FindFirstVolumeA): Remove.
(FindNextVolumeA): Remove.
(FindVolumeClose): Remove.
(GetVolumeNameForVolumeMountPointA): Remove.
* ntdll.h (NtFlushBuffersFile): Declare.
* syscalls.cc (sync_worker): Rewrite using native NT functions.
(sync): Ditto.

13 years ago * fhandler_proc.cc (format_proc_partitions): Express length in WCHAR
Corinna Vinschen [Sat, 2 Apr 2011 11:32:55 +0000 (11:32 +0000)]
* fhandler_proc.cc (format_proc_partitions): Express length in WCHAR
size.

13 years ago * autoload.cc (GetExtendedTcpTable): Remove.
Corinna Vinschen [Sat, 2 Apr 2011 11:30:27 +0000 (11:30 +0000)]
* autoload.cc (GetExtendedTcpTable): Remove.
(GetTcpTable): Remove.
(CharNextExA): Remove.
(FindWindowA): Remove.
(ShowWindowAsync): Remove.
* dcrt0.cc (disable_dep): Remove unused function.
(dll_crt0_0): Drop comment babbling about TS & DEP.
* fhandler_socket.cc (address_in_use): Remove unused function.
* wincap.cc: Throughout, drop ts_has_dep_problem from wincaps.
(wincapc::init): Drop code setting ts_has_dep_problem flag.
* wincap.h (struct wincaps): Drop ts_has_dep_problem flags and method.

13 years agoupdate copyright
Christopher Faylor [Fri, 1 Apr 2011 20:41:32 +0000 (20:41 +0000)]
update copyright

13 years ago* new-features.sgml (ov-new1.7.10): Document /proc/sysvipc/.
Yaakov Selkowitz [Fri, 1 Apr 2011 19:49:16 +0000 (19:49 +0000)]
* new-features.sgml (ov-new1.7.10): Document /proc/sysvipc/.

13 years agoImplement /proc/sysvipc/*
Yaakov Selkowitz [Fri, 1 Apr 2011 19:48:19 +0000 (19:48 +0000)]
Implement /proc/sysvipc/*
* devices.in (dev_procsysvipc_storage): Add.
* devices.cc: Regenerate.
* devices.h (fh_devices): Add FH_PROCSYSVIPC.
* dtable.cc (build_fh_pc): Add case FH_PROCSYSVIPC.
* fhandler.h (class fhandler_procsysvipc): Declare.
(fhandler_union): Add __procsysvipc.
* fhandler_proc.cc (proc_tab): Add sysvipc virt_directory.
* fhandler_procsysvipc.cc: New file.
* Makefile.in (DLL_OFILES): Add fhandler_procsysvipc.o.
* path.h (isproc_dev): Add FH_PROCSYSVIPC to conditional.

13 years ago * configure.ac (avr-*-*): Add comment about why libssp is disabled.
Joseph Myers [Fri, 1 Apr 2011 19:16:09 +0000 (19:16 +0000)]
* configure.ac (avr-*-*): Add comment about why libssp is disabled.
(microblaze*): Don't disable libssp.
* configure: Regenerate.

13 years ago * configure.ac: Remove code setting CONFIG_SHELL, config_shell and
Joseph Myers [Fri, 1 Apr 2011 13:44:53 +0000 (13:44 +0000)]
* configure.ac: Remove code setting CONFIG_SHELL, config_shell and
moveifchange.
* configure: Regenerate.
* Makefile.tpl: Use @SHELL@ not @config_shell@.
* Makefile.in: Regenerate.

13 years ago * configure.ac (*-*-sysv4*): Don't enable libgomp.
Joseph Myers [Fri, 1 Apr 2011 13:42:02 +0000 (13:42 +0000)]
* configure.ac (*-*-sysv4*): Don't enable libgomp.
(alpha*-*-*vms*, i[[34567]]86-*-sco3.2v5*, mn10300-*-*,
powerpc-*-chorusos*, powerpc*-*-eabi*, powerpc*-*-sysv*,
powerpc*-*-kaos*, s390x-ibm-tpf*, sparc64-*-elf*, v850*-*-*,
xtensa*-*-elf*, *-*-beos*, *-*-elf*, *-*-netware*, *-*-rtems*,
*-*-sysv[[45]]*, *-*-vxworks*, *-wrs-windiss): Remove
md_exec_prefix cases.
* configure: Regenerate.

13 years ago * Makefile.in (DLL_OFILES): Add avapi32.o.
Corinna Vinschen [Fri, 1 Apr 2011 12:46:09 +0000 (12:46 +0000)]
* Makefile.in (DLL_OFILES): Add avapi32.o.
* advapi32.cc: New file.
* autoload.cc: Add block of remaining advapi32 functions used by
Cygwin.  Keep commented out.  Explain why.

13 years ago * configure.ac: Separate cases disabling target-libssp,
Joseph Myers [Fri, 1 Apr 2011 12:00:58 +0000 (12:00 +0000)]
* configure.ac: Separate cases disabling target-libssp,
target-libiberty, target-libstdc++-v3 and Fortran from general
case over targets.
* configure: Regenerate.

13 years ago * configure.ac (*-*-chorusos): Don't disable libgcj.
Joseph Myers [Fri, 1 Apr 2011 11:58:07 +0000 (11:58 +0000)]
* configure.ac (*-*-chorusos): Don't disable libgcj.
(*-*-freebsd[[12]] | *-*-freebsd[[12]].* | *-*-freebsd*aout*):
Remove case.
(*-*-kaos*): Don't disable GCC libraries, zlib or fastjar.
(arm-*-coff): Don't disable libgcj.
(arm*-*-linux-gnueabi): Remove useless assignment.
(arm-*-riscix*): Don't disable libgcj.
(bfin-*-*): Don't enable target-bsp and target-cygmon depending on
configuration.
(c4x-*-* | tic4x-*-*): Don't disable GCC libraries.
(c54x*-*-*): Remove case.
(tic54x-*-*): Don't disable GCC or GCC libraries.
(cris-*-* | crisv32-*-*): Don't handle *-*-aout.  Change *-*-elf
to *.
(d10v-*-*): Don't disable GCC libraries.
(d30v-*-*): Don't disable libgcj.
(h8500-*-*): Don't disable GCC libraries.
(i960-*-*): Don't disable libgcj.
(i[[3456789]]86-*-linux*): Don't handle *-*-*libc1*.
(i[[3456789]]86-*-sco3.2v5*, i[[3456789]]86-*-sco*,
i[[3456789]]86-*-sysv4*, i[[3456789]]86-*-beos*): Don't disable
libgcj.
(m68k-*-coff*): Remove case.
(mmix-*-*): Don't disable libgloss on host.
(mn10200-*-*, mn10300-*-*): Remove cases.
(powerpc*-*-winnt* | powerpc*-*-pe*, powerpcle-*-solaris*,
powerpc-*-beos*, m68k-apollo-*, mips*-*-irix5*, mips*-*-bsd*):
Don't disable libgcj.
(romp-*-*): Remove case.
(sparclite-*-*, sparc-*-sunos4*): Don't disable libgcj.
(sparc-*-solaris2.[[0-6]] | sparc-*-solaris2.[[0-6]].*): Remove
case.
(v810-*-*): Don't disable GCC libraries.
(v850*-*-*, vax-*-vms, xtensa*-*-*): Remove cases.
(ip2k-*-*): Don't disable GCC libraries.
* configure: Regenerate.

13 years ago* new-features.sgml (ov-new1.7.10): /proc/loadavg now shows
Yaakov Selkowitz [Fri, 1 Apr 2011 09:01:47 +0000 (09:01 +0000)]
* new-features.sgml (ov-new1.7.10): /proc/loadavg now shows
current running/total processes count.

13 years ago* fhandler_proc.cc (format_proc_loadavg): Add running/total
Yaakov Selkowitz [Fri, 1 Apr 2011 09:00:21 +0000 (09:00 +0000)]
* fhandler_proc.cc (format_proc_loadavg): Add running/total
processes as fourth component of output.
* fhandler_process.cc (get_process_state): Make non-static.
Add FIXME about generating an 'O' flag.

13 years ago * fhandler_random.cc (fhandler_dev_random::crypt_gen_random):
Corinna Vinschen [Fri, 1 Apr 2011 08:41:26 +0000 (08:41 +0000)]
* fhandler_random.cc (fhandler_dev_random::crypt_gen_random):
Use CryptAcquireContextW.
* ntdll.h (STATUS_PROCEDURE_NOT_FOUND): Define.
* sec_auth.cc (open_local_policy): Rename NTSTATUS variable ret to
status.  Drop usage of LsaNtStatusToWinError.
(verify_token): Call NtQuerySecurityObject instead of
GetKernelObjectSecurity.
(create_token): Rename NTSTATUS variable ret to status.  Rename ret2 to
sub_status.  Drop usage of LsaNtStatusToWinError.  In case LsaLogonUser
fails, report the sub_status as well.

13 years ago * libc/strptime.c: Remove misleading comment.
Corinna Vinschen [Fri, 1 Apr 2011 08:37:10 +0000 (08:37 +0000)]
* libc/strptime.c: Remove misleading comment.

13 years ago * ntdll.h: Allow usage from plain C code.
Corinna Vinschen [Thu, 31 Mar 2011 16:08:01 +0000 (16:08 +0000)]
* ntdll.h: Allow usage from plain C code.
(FSCTL_PIPE_IMPERSONATE): Define.
(enum _THREAD_INFORMATION_CLASS): Define.
(RTL_QUERY_REGISTRY_xxx): Define.
(RTL_REGISTRY_xxx): Define.
(PRTL_QUERY_REGISTRY_ROUTINE): Define.
(struct _RTL_QUERY_REGISTRY_TABLE): Define.
(enum _KEY_VALUE_INFORMATION_CLASS): Define.
(struct _KEY_VALUE_PARTIAL_INFORMATION): Define.
(NtAccessCheck): Declare.
(NtAllocateLocallyUniqueId): Declare.
(NtCreateKey): Declare.
(NtDuplicateToken): Declare.
(NtLoadKey): Declare.
(NtOpenKey): Declare.
(NtOpenProcessToken): Declare.
(NtOpenThreadToken): Declare.
(NtPrivilegeCheck): Declare.
(NtQueryInformationToken): Declare.
(NtQueryValueKey): Declare.
(NtSetInformationThread): Declare.
(NtSetInformationToken): Declare.
(NtSetValueKey): Declare.
(RtlAbsoluteToSelfRelativeSD): Declare.
(RtlAddAccessAllowedAce): Declare.
(RtlAddAccessDeniedAce): Declare.
(RtlAddAce): Declare.
(RtlCheckRegistryKey): Declare.
(RtlCopySid): Declare.
(RtlCreateAcl): Declare.
(RtlCreateRegistryKey): Declare.
(RtlCreateSecurityDescriptor): Declare.
(RtlEqualPrefixSid): Declare.
(RtlEqualSid): Declare.
(RtlFirstFreeAce): Declare.
(RtlGetAce): Declare.
(RtlGetDaclSecurityDescriptor): Declare.
(RtlGetGroupSecurityDescriptor): Declare.
(RtlGetOwnerSecurityDescriptor): Declare.
(RtlIdentifierAuthoritySid): Declare.
(RtlInitializeSid): Declare.
(RtlLengthSid): Declare.
(RtlQueryRegistryValues): Declare.
(RtlSetControlSecurityDescriptor): Declare.
(RtlSetDaclSecurityDescriptor): Declare.
(RtlSetGroupSecurityDescriptor): Declare.
(RtlSetOwnerSecurityDescriptor): Declare.
(RtlSubAuthorityCountSid): Declare.
(RtlSubAuthoritySid): Declare.
(RtlWriteRegistryValue): Declare.

13 years ago * uinfo.cc (cygheap_user::init): Don't call GetUserName. Fetch username
Corinna Vinschen [Thu, 31 Mar 2011 15:33:53 +0000 (15:33 +0000)]
* uinfo.cc (cygheap_user::init): Don't call GetUserName.  Fetch username
from Windows environment instead.  Explain why.
(cygheap_user::env_domain): Use MAX_DOMAIN_NAME_LEN rather than DNLEN
to specify the size of the domain name buffer.

13 years agoMove ChangeLog entry to correct directory.
Bernd Schmidt [Thu, 31 Mar 2011 14:40:11 +0000 (14:40 +0000)]
Move ChangeLog entry to correct directory.

13 years ago2011-03-31 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Thu, 31 Mar 2011 14:29:33 +0000 (14:29 +0000)]
2011-03-31  Tristan Gingold  <gingold@adacore.com>

* dwarf2.h (dwarf_line_number_hp_sfc_ops): New enum.

13 years ago * Makefile.in (LIBS): Remove advapi32.dll.
Corinna Vinschen [Thu, 31 Mar 2011 14:19:35 +0000 (14:19 +0000)]
* Makefile.in (LIBS): Remove advapi32.dll.
(clean): Remove cyglsa.def.
* cyglsa.c: Drop definitions required for VC++.  Don't include ntddk.h.
Declare functions from NTDLL here.  Explain why.  Use NTDLL functions
in place of ADVAPI32 functions.
* cyglsa64.def: New file.
* cyglsa64.dll: Regenerate.
* make-64bit-version-with-mingw-w64.sh (LIBS): Remove advapi32.dll.
Reference cyglsa64.def instead of mslsa.def.
* make-64bit-version-with-visual-c.bat: Remove.
* mslsa.def: Remove.

13 years ago * cyglsa.c: Fix compilation with MinGW-w64 toolchains.
Corinna Vinschen [Thu, 31 Mar 2011 13:07:54 +0000 (13:07 +0000)]
* cyglsa.c: Fix compilation with MinGW-w64 toolchains.
* make-64bit-version-with-mingw-w64.sh: New file.
* cyglsa64.dll: Regenerate with MinGW-w64-gc.

13 years agoinclude/elf/
Bernd Schmidt [Thu, 31 Mar 2011 08:58:25 +0000 (08:58 +0000)]
include/elf/
* tic6x.h (R_C6000_JUMP_SPLOT, R_C6000_EHTYPE,
R_C6000_PCR_H16, R_C6000_PCR_L16): New relocs.
(SHN_TIC6X_SCOMMON): Define.

bfd/
* elf32-tic6x.h (struct elf32_tic6x_params): New.
(elf32_tic6x_setup): Declare.
* elf32-tic6x.c: Include <limits.h>.
(ELF_DYNAMIC_LINKER, DEFAULT_STACK_SIZE, PLT_ENTRY_SIZE): Define.
(struct elf32_tic6x_link_hash_table, struct elf32_link_hash_entry):
New structures.
(elf32_tic6x_link_hash_table, is_tic6x_elf): New macros.
(tic6x_elf_scom_section, tic6x_elf_scom_symbol,
tic6x_elf_scom_symbol_ptr): New static variables.
(elf32_tic6x_howto_table, elf32_tic6x_howto_table_rel,
elf32_tic6x_reloc_map): Add R_C6000_JUMP_SLOT, R_C6000_EHTYPE,
R_C6000_PCR_H16 and R_C6000_PCR_L16.
(elf32_tic6x_link_hash_newfunc, elf32_tic6x_link_hash_table_create,
elf32_tic6x_link_hash_table_free, elf32_tic6x_setup,
elf32_tic6x_using_dsbt, elf32_tic6x_install_rela,
elf32_tic6x_create_dynamic_sections, elf32_tic6x_make_got_dynreloc,
elf32_tic6x_finish_dynamic_symbol, elf32_tic6x_gc_sweep_hook,
elf32_tic6x_adjust_dynamic_symbol): New static functions.
(elf32_tic6x_relocate_section): For R_C6000_PCR_S21, convert branches
to weak symbols as required by the ABI.
Handle GOT and DSBT_INDEX relocs, and copy relocs to the output file
as needed when generating DSBT output.
(elf32_tic6x_check_relocs, elf32_tic6x_add_symbol_hook,
elf32_tic6x_symbol_processing, elf32_tic6x_section_from_bfd_section,
elf32_tic6x_allocate_dynrelocs, elf32_tic6x_size_dynamic_sections,
elf32_tic6x_always_size_sections, elf32_tic6x_modify_program_headers,
elf32_tic6x_finish_dynamic_sections, elf32_tic6x_plt_sym_val,
elf32_tic6x_copy_private_data, elf32_tic6x_link_omit_section_dynsym):
New static functions.
(ELF_MAXPAGESIZE): Define to 0x1000.
(bfd_elf32_bfd_copy_private_bfd_data,
bfd_elf32_bfd_link_hash_table_create,
bfd_elf32_bfd_link_hash_table_free, elf_backend_can_refcount,
elf_backend_want_got_plt, elf_backend_want_dynbss,
elf_backend_plt_readonly, elf_backend_got_header_size,
elf_backend_gc_sweep_hook, elf_backend_modify_program_headers,
elf_backend_create_dynamic_sections, elf_backend_adjust_dynamic_symbol,
elf_backend_check_relocs, elf_backend_add_symbol_hook,
elf_backend_symbol_processing, elf_backend_link_output_symbol_hook,
elf_backend_section_from_bfd_section,
elf_backend_finish_dynamic_symbol, elf_backend_always_size_sections,
elf32_tic6x_size_dynamic_sections, elf_backend_finish_dynamic_sections,
elf_backend_omit_section_dynsym, elf_backend_plt_sym_val): Define.

* bfd/reloc.c (BFD_RELOC_C6000_JUMP_SLOT, BFD_RELOC_C6000_EHTYPE,
BFD_RELOC_C6000_PCR_H16, BFD_RELOC_C6000_PCR_S16): Add.
* bfd/bfd-in2.h: Regenerate.
* bfd/libbfd.h: Regenerate.
* config.bfd: Accept tic6x-*-* instead of tic6x-*-elf.

gas/
* config/tc-tic6x.c (sbss_section, scom_section, scom_symbol): New
static variables.
(md_begin): Initialize them.
(s_tic6x_scomm): New static function.
(md_pseudo_table): Add "scomm".
(tc_gen_reloc): Really undo all adjustments made by
bfd_install_relocation.
* doc/c-tic6x.texi: Document the .scomm directive.

gas/testsuite/
* gas/tic6x/scomm-directive-1.s: New test.
* gas/tic6x/scomm-directive-1.d: New test.
* gas/tic6x/scomm-directive-2.s: New test.
* gas/tic6x/scomm-directive-2.d: New test.
* gas/tic6x/scomm-directive-3.s: New test.
* gas/tic6x/scomm-directive-3.d: New test.
* gas/tic6x/scomm-directive-4.s: New test.
* gas/tic6x/scomm-directive-4.d: New test.
* gas/tic6x/scomm-directive-5.s: New test.
* gas/tic6x/scomm-directive-5.d: New test.
* gas/tic6x/scomm-directive-6.s: New test.
* gas/tic6x/scomm-directive-6.d: New test.
* gas/tic6x/scomm-directive-7.s: New test.
* gas/tic6x/scomm-directive-7.d: New test.
* gas/tic6x/scomm-directive-8.s: New test.
* gas/tic6x/scomm-directive-8.d: New test.

ld/
* emulparams/elf32_tic6x_le.sh (BIG_OUTPUT_FORMAT, EXTRA_EM_FILE,
GENERATE_SHLIB_SCRIPT): New defines.
(TEXT_START_ADDR): Define differently depending on target.
(.got): Redefine to include "*(.dsbt)".
(SDATA_START_SYMBOLS): Remove, replace with
(OTHER_GOT_SYMBOLS): New.
(OTHER_BSS_SECTIONS): Define only for ELF targets.
* emultempl/tic6xdsbt.em: New file.
* gen-doc.texi: Set C6X.
* ld.texinfo: Likewise.
(Options specific to C6X uClinux targets): New section.

binutils/
* readelf.c (get_symbol_index_type): Handle SCOM for TIC6X.
(dump_relocations): Likewise.

binutils/testsuite/
* lib/binutils-common.exp (is_elf_format): Accept tic6x*-*-uclinux*.

ld/testsuite/
* ld-scripts/crossref.exp: Add CFLAGS for tic6x*-*-*.
* ld-elf/sec-to-seg.exp: Remove tic6x from list of targets defining
pagesize to 1.
* ld-tic6x/tic6x.exp: Add support for DSBT shared library/executable
linking tests.
* ld-tic6x/dsbt.ld: New linker script.
* ld-tic6x/dsbt-be.ld: New linker script.
* ld-tic6x/dsbt-overflow.ld: New linker script.
* ld-tic6x/dsbt-inrange.ld: New linker script.
* ld-tic6x/shlib-1.s: New test.
* ld-tic6x/shlib-2.s: New test.
* ld-tic6x/shlib-app-1r.s: New test.
* ld-tic6x/shlib-app-1.s: New test.
* ld-tic6x/shlib-1.sd: New test.
* ld-tic6x/shlib-1.dd: New test.
* ld-tic6x/shlib-app-1.rd: New test.
* ld-tic6x/shlib-app-1rb.rd: New test.
* ld-tic6x/shlib-app-1.sd: New test.
* ld-tic6x/static-app-1rb.od: New test.
* ld-tic6x/shlib-app-1.dd: New test.
* ld-tic6x/shlib-app-1rb.sd: New test.
* ld-tic6x/static-app-1b.od: New test.
* ld-tic6x/static-app-1r.od: New test.
* ld-tic6x/shlib-1rb.rd: New test.
* ld-tic6x/shlib-app-1rb.dd: New test.
* ld-tic6x/shlib-1rb.sd: New test.
* ld-tic6x/shlib-1rb.dd: New test.
* ld-tic6x/shlib-app-1b.od: New test.
* ld-tic6x/tic6x.exp: New test.
* ld-tic6x/static-app-1rb.rd: New test.
* ld-tic6x/shlib-app-1r.od: New test.
* ld-tic6x/static-app-1.od: New test.
* ld-tic6x/static-app-1b.rd: New test.
* ld-tic6x/static-app-1r.rd: New test.
* ld-tic6x/static-app-1rb.sd: New test.
* ld-tic6x/static-app-1b.sd: New test.
* ld-tic6x/static-app-1rb.dd: New test.
* ld-tic6x/static-app-1r.sd: New test.
* ld-tic6x/static-app-1b.dd: New test.
* ld-tic6x/shlib-1b.rd: New test.
* ld-tic6x/static-app-1r.dd: New test.
* ld-tic6x/shlib-app-1b.rd: New test.
* ld-tic6x/shlib-1r.rd: New test.
* ld-tic6x/shlib-app-1r.rd: New test.
* ld-tic6x/shlib-1b.sd: New test.
* ld-tic6x/static-app-1.rd: New test.
* ld-tic6x/shlib-app-1b.sd: New test.
* ld-tic6x/shlib-1r.sd: New test.
* ld-tic6x/shlib-1b.dd: New test.
* ld-tic6x/shlib-app-1r.sd: New test.
* ld-tic6x/shlib-app-1b.dd: New test.
* ld-tic6x/shlib-1r.dd: New test.
* ld-tic6x/static-app-1.sd: New test.
* ld-tic6x/shlib-app-1r.dd: New test.
* ld-tic6x/static-app-1.dd: New test.
* ld-tic6x/shlib-noindex.rd: New test.
* ld-tic6x/shlib-noindex.dd: New test.
* ld-tic6x/shlib-noindex.sd: New test.
* ld-tic6x/got-reloc-local-1.s: New test.
* ld-tic6x/got-reloc-local-2.s: New test.
* ld-tic6x/got-reloc-local-r.d: New test.
* ld-tic6x/got-reloc-global.s: New test.
* ld-tic6x/got-reloc-global-addend-1.d: New test.
* ld-tic6x/got-reloc-global-addend-1.s: New test.
* ld-tic6x/got-reloc-global-addend-2.d: New test.
* ld-tic6x/got-reloc-inrange.d: New test.
* ld-tic6x/got-reloc-overflow.d: New test.
* ld-tic6x/got-reloc-global-addend-2.s: New test.
* ld-tic6x/dsbt-index-error.d: New test.
* ld-tic6x/dsbt-index.d: New test.
* ld-tic6x/dsbt-index.s: New test.
* ld-tic6x/shlib-app-1.od: New test.
* ld-tic6x/shlib-app-1rb.od: New test.
* ld-tic6x/shlib-1.rd: New test.
* ld-tic6x/weak.d: New test.
* ld-tic6x/weak-be.d: New test.
* ld-tic6x/weak.s: New test.
  * ld-tic6x/weak-data.d: New test.
* ld-tic6x/common.d: New test.
* ld-tic6x/common.ld: New test.
* ld-tic6x/common.s: New test.

13 years agoinclude/coff
Tristan Gingold [Thu, 31 Mar 2011 08:13:48 +0000 (08:13 +0000)]
include/coff
2011-03-31  Tristan Gingold  <gingold@adacore.com>

* internal.h (C_NULL_VALUE): Define.

bfd/
2011-03-31  Tristan Gingold  <gingold@adacore.com>

* coffcode.h (coff_slurp_symbol_table): Silently discard C_NULL
entry on xcoff when value is C_NULL_VALUE.

13 years agobinutils/
Tristan Gingold [Thu, 31 Mar 2011 07:49:45 +0000 (07:49 +0000)]
binutils/
2011-03-31  Tristan Gingold  <gingold@adacore.com>

* readelf.c (get_ia64_vms_note_type): New function.
(print_ia64_vms_note): Ditto.
(process_note): Recognize VMS/ia64 specific notes.
Display them.
(process_corefile_note_segment): Decode VMS notes.

include/elf
2011-03-31  Tristan Gingold  <gingold@adacore.com>

* ia64.h (Elf64_External_VMS_Note): New struct.
(NT_VMS_MHD, NT_VMS_LNM, NT_VMS_SRC, NT_VMS_TITLE, NT_VMS_EIDC,
NT_VMS_FPMODE, NT_VMS_LINKTIME, NT_VMS_IMGNAM, NT_VMS_IMGID
NT_VMS_LINKID, NT_VMS_IMGBID, NT_VMS_GSTNAM, NT_VMS_ORIG_DYN)
NT_VMS_PATCHTIME) New macros.

13 years agoFix ChangeLog entry.
Corinna Vinschen [Wed, 30 Mar 2011 21:58:58 +0000 (21:58 +0000)]
Fix ChangeLog entry.

13 years ago * hires.h: Fix copyright.
Corinna Vinschen [Wed, 30 Mar 2011 21:54:09 +0000 (21:54 +0000)]
* hires.h: Fix copyright.
* times.cc: Ditto.
localtime, gmtime).
(FACTOR): Add comment.
(NSPERSEC): Ditto.
(JITTER): New definition.  Comment.
(systime_ns): Avoid gratuitous copying of the value returned by
GetSystemTimeAsFileTime.
(corelocaltime, localtime, gmtime): Remove very old, unused code block.
(cygwin_tzset): Remove.
(hires_ms::timeGetTime_ns): Add missing semicolon in comment.
(hires_ms::nsecs): Redefine check for difference between internal
timer value and system time.

13 years ago * times.cc (hires_ms::resolution): Make sure resolution is never 0.
Corinna Vinschen [Wed, 30 Mar 2011 11:30:34 +0000 (11:30 +0000)]
* times.cc (hires_ms::resolution): Make sure resolution is never 0.
(clock_setres): Ditto.

13 years ago * regtool.cc (cmd_set): Avoid a compiler warning.
Corinna Vinschen [Wed, 30 Mar 2011 08:22:59 +0000 (08:22 +0000)]
* regtool.cc (cmd_set): Avoid a compiler warning.

13 years ago*** empty log message ***
Corinna Vinschen [Tue, 29 Mar 2011 11:18:20 +0000 (11:18 +0000)]
*** empty log message ***

13 years ago * cygtls.h (struct _local_storage): Redefine process_ident as wchar_t
Corinna Vinschen [Tue, 29 Mar 2011 11:18:10 +0000 (11:18 +0000)]
* cygtls.h (struct _local_storage): Redefine process_ident as wchar_t
pointer.
* syslog.cc (CYGWIN_LOG_NAME): Convert to wide char constant.
(openlog): Convert incoming ident string to wide char.  Fix formatting.
(vsyslog): Print ident string as wide char string.  Convert message
string to wide char and call UNICODE Win32 Event functions to make sure
to use correct codeset.
* tlsoffset.h: Regenerate.

13 years ago * fhandler_socket.cc (get_inet_addr): Make externally available.
Corinna Vinschen [Tue, 29 Mar 2011 11:07:23 +0000 (11:07 +0000)]
* fhandler_socket.cc (get_inet_addr): Make externally available.
* autoload.cc (GetUdpTable): Define.
* syslog.cc (connect_syslogd): Use get_inet_addr rather than _stat64
to check for local socket file.  Create socket with type returned by
get_inet_addr.  If connect on UDP socket works, test if there's
really a listening peer, otherwise fall back to Windows event log.
(try_connect_syslogd): Use syslogd_inited flag to check if syslogd
is available.

13 years ago * cygcheck.cc (handle_unique_object_name): Avoid a compiler warning.
Corinna Vinschen [Tue, 29 Mar 2011 11:02:58 +0000 (11:02 +0000)]
* cygcheck.cc (handle_unique_object_name): Avoid a compiler warning.
(dump_sysinfo): Ditto.
* loadlib.h (_load_sys_library): Mark as used, to avoid a compiler
warning.
* path.cc (oopt): Gurad with !FSTAB_ONLY to avoid a compiler warning.
(read_flags): Ditto.

13 years ago * uinfo.cc (cygheap_user::env_domain): Use LookupAccountSidW and
Corinna Vinschen [Tue, 29 Mar 2011 10:46:04 +0000 (10:46 +0000)]
* uinfo.cc (cygheap_user::env_domain): Use LookupAccountSidW and
convert user and domain to multibyte strings to make sure to use
correct codeset.

13 years ago * autoload.cc (UuidCreate): Remove.
Corinna Vinschen [Tue, 29 Mar 2011 10:42:11 +0000 (10:42 +0000)]
* autoload.cc (UuidCreate): Remove.
(UuidCreateSequential): Remove.
* passwd.cc (internal_getpwsid): Avoid a strict-aliasing compiler
error with gcc 4.5.1.
* fhandler_floppy.cc (fhandler_dev_floppy::get_drive_info): Ditto.
* ntdll.h (NtAllocateUuids): Declare.
* syscalls.cc (gethostid): Use NtAllocateUuids function rather than
UuidCreateSequential/UuidCreate to get rid of rpcrt4 dependency.

13 years ago * new-features.sgml (ov-new1.7.10): Document pthread spinlocks.
Corinna Vinschen [Tue, 29 Mar 2011 10:35:08 +0000 (10:35 +0000)]
* new-features.sgml (ov-new1.7.10): Document pthread spinlocks.

13 years ago * cygwin.din (pthread_spin_destroy): Export.
Corinna Vinschen [Tue, 29 Mar 2011 10:32:40 +0000 (10:32 +0000)]
* cygwin.din (pthread_spin_destroy): Export.
(pthread_spin_init): Export.
(pthread_spin_lock): Export.
(pthread_spin_trylock): Export.
(pthread_spin_unlock): Export.
* posix.sgml (std-susv4): Add pthread_spin_destroy, pthread_spin_init,
pthread_spin_lock, pthread_spin_trylock, pthread_spin_unlock.
(std-notimpl): Remove pthread_spin_[...].
* pthread.cc (pthread_spin_init): New function.
* thread.cc (pthread_spinlock::is_good_object): New function.
(pthread_mutex::pthread_mutex): Rearrange initializers to accommodate
protected data in pthread_mutex.
(pthread_spinlock::pthread_spinlock): New constructor.
(pthread_spinlock::lock): New method.
(pthread_spinlock::unlock): New method.
(pthread_spinlock::init): New method.
(pthread_spin_lock): New function.
(pthread_spin_trylock): New function.
(pthread_spin_unlock): New function.
(pthread_spin_destroy): New function.
* thread.h (PTHREAD_SPINLOCK_MAGIC): Define.
(class pthread_mutex): Change access level of members shared with
derived classes to protected.
(pthread_mutex::set_shared): New protected method.
(class pthread_spinlock): New class, derived class of pthread_mutex.
* include/pthread.h (pthread_spin_destroy): Declare.
(pthread_spin_init): Declare.
(pthread_spin_lock): Declare.
(pthread_spin_trylock): Declare.
(pthread_spin_unlock): Declare.
* include/cygwin/types.h (pthread_spinlock_t): New typedef.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.

13 years ago * net.cc (SIO_BASE_HANDLE): Define.
Corinna Vinschen [Tue, 29 Mar 2011 10:25:20 +0000 (10:25 +0000)]
* net.cc (SIO_BASE_HANDLE): Define.
(fdsock): If we got an LSP handle, try to create a copy of the base
handle instead.  Change comment to explain.

13 years ago * include/cygwin/version.h: Bump CYGWIN_VERSION_DLL_MINOR to 10.
Corinna Vinschen [Tue, 29 Mar 2011 10:24:19 +0000 (10:24 +0000)]
* include/cygwin/version.h: Bump CYGWIN_VERSION_DLL_MINOR to 10.

13 years ago * autoload.cc (winmm): Remove time functions. Don't treat
Corinna Vinschen [Tue, 29 Mar 2011 10:21:30 +0000 (10:21 +0000)]
* autoload.cc (winmm): Remove time functions.  Don't treat
unloadable wave functions as fatal.
* hires.h (hires_ms::timeGetTime_ns): New private method.
(hires_ms::dmsecs): Call timeGetTime_ns here.
* ntdll.h (struct _KSYSTEM_TIME): Define.
(KUSER_SHARED_DATA): Redefine to allow access to InterruptTime.
(SharedUserData): Define here.
(NtQueryTimerResolution): Declare.
(NtSetTimerResolution): Declare.
* path.cc (SharedUserData): Move to ntdll.h.
* times.cc (hires_ms::timeGetTime_ns): New private method.
Use throughout instead of timeGetTime.  Document entire functionality
of timeGetTime in case we need it.
(hires_ms::resolution): Try a call to NtQueryTimerResolution
to fetch current period.  Fall back to heuristic if that fails.
Cast to DWORD in assignments to minperiod.
(clock_setres): Align period to possible values per a call to
NtQueryTimerResolution.  Explain why.  Replace calls to timeBeginPeriod
and timeEndPeriod with underlying call to NtSetTimerResolution.  Use
status code from NtSetTimerResolution to compute errno.
Convert period to ULONGLONG and store 100ns value to simplify code.

13 years ago * include/userenv.h: Add functions and definitions added with Windows
Corinna Vinschen [Tue, 29 Mar 2011 08:43:17 +0000 (08:43 +0000)]
* include/userenv.h: Add functions and definitions added with Windows
2000 and Vista.

13 years ago * include/sys/xattr.h: New file.
Corinna Vinschen [Tue, 29 Mar 2011 08:03:35 +0000 (08:03 +0000)]
* include/sys/xattr.h: New file.

13 years ago * thread.cc (semaphore::init, destroy, close): Standards conformance
Corinna Vinschen [Tue, 29 Mar 2011 07:49:25 +0000 (07:49 +0000)]
* thread.cc (semaphore::init, destroy, close): Standards conformance
fix.  On a failure, return -1 and set errno.
* thread.h (semaphore::terminate): Save errno since semaphore::close()
may now modify it.

13 years ago * setfacl.c (strchrnul): Drop local implementation.
Corinna Vinschen [Mon, 28 Mar 2011 21:21:03 +0000 (21:21 +0000)]
* setfacl.c (strchrnul): Drop local implementation.

13 years ago * new-features.sgml (ov-new1.7.9): Add "new API" paragraph.
Corinna Vinschen [Mon, 28 Mar 2011 15:01:19 +0000 (15:01 +0000)]
* new-features.sgml (ov-new1.7.9): Add "new API" paragraph.

13 years ago * cygwin.din (strchrnul): Export.
Corinna Vinschen [Mon, 28 Mar 2011 14:55:20 +0000 (14:55 +0000)]
* cygwin.din (strchrnul): Export.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
* posix.sgml (std-gnu): Add strchrnul.

13 years agoCheck in strchrnul.c file missing in previous checkin
Corinna Vinschen [Mon, 28 Mar 2011 14:52:17 +0000 (14:52 +0000)]
Check in strchrnul.c file missing in previous checkin

13 years ago * libc/include/string.h (strchrnul): Declare.
Corinna Vinschen [Mon, 28 Mar 2011 14:51:28 +0000 (14:51 +0000)]
* libc/include/string.h (strchrnul): Declare.
* libc/string/strchrnul.c: New file.
* libc/string/Makefile.am (ELIX_2_SOURCES): Add strchrnul.c.
* libc/string/Makefile.in: Regenerate.

13 years ago * configure.ac (i[[3456789]]86-*-msdosdjgpp*): Don't disable
Joseph Myers [Mon, 28 Mar 2011 13:14:27 +0000 (13:14 +0000)]
* configure.ac (i[[3456789]]86-*-msdosdjgpp*): Don't disable
libffi on host.
(x86_64-*-mingw*, i[[3456789]]86-*-mingw32*): Don't disable newlib
on host.
(c54x*-*-* | tic54x-*-*): Don't disable newlib on host.
* configure: Regenerate.

13 years agoAdd support for DragonFlyBSD target.
Nick Clifton [Mon, 28 Mar 2011 11:18:20 +0000 (11:18 +0000)]
Add support for DragonFlyBSD target.

13 years ago* dll_init.cc (dll::init): Accommodate ill-behaved dlls who don't fill out
Christopher Faylor [Sun, 27 Mar 2011 19:14:02 +0000 (19:14 +0000)]
* dll_init.cc (dll::init): Accommodate ill-behaved dlls who don't fill out
p.envptr.

13 years agofix typo in previous changelog entry
Michael Frysinger [Sun, 27 Mar 2011 03:48:44 +0000 (03:48 +0000)]
fix typo in previous changelog entry

13 years agolibgloss: bfin: fix asm constraints for raise/excpt helpers
Michael Frysinger [Sun, 27 Mar 2011 03:47:30 +0000 (03:47 +0000)]
libgloss: bfin: fix asm constraints for raise/excpt helpers

The RAISE and EXPT insns take a constant, not a register.  So make
sure the asm constraints reflect this.

13 years agolibgloss: bfin: abort on install errors
Michael Frysinger [Sun, 27 Mar 2011 03:40:00 +0000 (03:40 +0000)]
libgloss: bfin: abort on install errors

13 years ago2011-03-25 Chris Sutcliffe <ir0nh34d@users.sf.net>
Chris Sutcliffe [Sat, 26 Mar 2011 03:47:54 +0000 (03:47 +0000)]
2011-03-25  Chris Sutcliffe  <ir0nh34d@users.sf.net>

        * Makefile.in: Increment CYGRELEASE to 2.

13 years ago2011-03-25 Chris Sutcliffe <ir0nh34d@users.sf.net>
Chris Sutcliffe [Sat, 26 Mar 2011 03:41:23 +0000 (03:41 +0000)]
2011-03-25  Chris Sutcliffe  <ir0nh34d@users.sf.net>

        * lib/Makefile.in: Include GDIPLUS_HEADERS in dist target.

13 years ago * mmap.cc (mmap64): Add a cheat to let a certain autoconf test succeed
Corinna Vinschen [Fri, 25 Mar 2011 20:39:26 +0000 (20:39 +0000)]
* mmap.cc (mmap64): Add a cheat to let a certain autoconf test succeed
on 64 bit systems.  Explain why.

13 years ago2011-03-24 Mark Wielaard <mjw@redhat.com>
Tom Tromey [Fri, 25 Mar 2011 15:45:38 +0000 (15:45 +0000)]
2011-03-24  Mark Wielaard  <mjw@redhat.com>

* dwarf2.h (dwarf_form): Remove deprecated DW_FORM_sig8 define.

13 years ago * configure.ac (native_only): Remove.
Joseph Myers [Fri, 25 Mar 2011 13:08:19 +0000 (13:08 +0000)]
* configure.ac (native_only): Remove.
(i[[3456789]]86-*-msdosdjgpp*): Don't disable expect dejagnu
send-pr uudecode guile gnuserv on host.
(x86_64-*-mingw*): Don't disable expect dejagnu autoconf automake
send-pr rcs guile perl texinfo libtool on host.
(i[[3456789]]86-*-mingw32*): Don't disable expect dejagnu autoconf
automake send-pr rcs guile perl texinfo libtool on host.
(*-*-cygwin*, *-*-netbsd*): Remove host cases.
(*-*-kaos*): Don't disable target-examples target-gperf on target.
(alpha*-dec-osf*): Don't disable fileutils on target.
(sh*-*-pe|mips*-*-pe|*arm-wince-pe): Don't disable target-examples
texinfo send-pr expect dejagnu on target.
(arm-*-elf* | arm*-*-eabi*, arm*-*-linux-gnueabi): Don't disable
target-qthreads on target.
(hppa*-hp-hpux11*, hppa*-*-*): Don't disable shellutils on target.
(ia64*-*-elf*, ia64*-*-*vms*): Don't disable mmalloc on target.
(i[[3456789]]86-w64-mingw*, i[[3456789]]86-*-mingw*,
x86_64-*-mingw*): Don't disable expect on target.
(*-*-cygwin*): Don't disable target-gperf on target.
(powerpc*-*-winnt* | powerpc*-*-pe*): Don't disable make expect
gnuserv on target.
(powerpcle-*-solaris*): Don't disable make expect gnuserv on
target.
* configure: Regenerate.

13 years ago * configure.ac (target_tools): Remove target-groff.
Joseph Myers [Fri, 25 Mar 2011 11:36:41 +0000 (11:36 +0000)]
* configure.ac (target_tools): Remove target-groff.
(native_only): Remove target-groff.
(hppa*64*-*-*): Don't disable byacc.
(i[[3456789]]86-*-mingw32*): Remove commented-out noconfigdirs
setting.
(*-*-kaos*): Don't skip target-librx and target-groff.
(*-*-netware*): Don't skip target-libmudflap.
(*-*-tpf*): Don't skip target-libmudflap.
(sh*-*-pe|mips*-*-pe|*arm-wince-pe): Don't condition configured
directories on the host.
(ia64*-*-*vms*): Don't skip tix.
(sh-*-* | sh64-*-*): Don't condition skipped directories on the
host.
* configure: Regenerate.

13 years ago2011-03-24 Paolo Bonzini <pbonzini@redhat.com>
Paolo Bonzini [Thu, 24 Mar 2011 17:50:32 +0000 (17:50 +0000)]
2011-03-24  Paolo Bonzini  <pbonzini@redhat.com>

        * configure.ac: Remove references to mt-mep, mt-netware,
        mt-wince.
        * Makefile.def: Add all-utils soft dependencies.
        * Makefile.tpl: Remove GDB_NLM_DEPS.
        * configure: Regenerate.
        * Makefile.in: Regenerate.

config:
2011-03-24  Paolo Bonzini  <pbonzini@redhat.com>

        * mt-mep: Remove, obsolete.
        * mt-netware: Remove, obsolete.
        * mt-wince: Remove, obsolete.
        * mt-v810: Remove, unused.

13 years ago2011-03-24 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Thu, 24 Mar 2011 17:31:20 +0000 (17:31 +0000)]
2011-03-24  Paolo Bonzini  <bonzini@gnu.org>

Sync from GCC:

2011-03-24  Paolo Bonzini  <bonzini@gnu.org>

* configure.ac: Remove empty cases.
* configure: Regenerate.

2011-03-24  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.def: Add dependency from termcap to gdb.
* Makefile.in: Regenerate.

2011-03-24  Paolo Bonzini  <bonzini@gnu.org>

* configure.ac: Remove all mentions of mh-sysv4 and mh-solaris.
* configure: Regenerate.
* Makefile.def: Remove all mentions of X11_FLAGS_TO_PASS.
* Makefile.tpl: Likewise.
* Makefile.in: Regenerate.

2011-03-24  Paolo Bonzini  <bonzini@gnu.org>

* configure.ac: Remove all mentions of tentative_cc.
* configure: Regenerate.

2011-03-16  Jack Howarth  <howarth@bromo.med.uc.edu>

PR lto/48086
* configure.ac: Re-enable LTO on *-apple-darwin9.
* configure: Regenerate.

config:
2011-03-24  Paolo Bonzini  <bonzini@gnu.org>

Sync from GCC:

2011-03-24  Paolo Bonzini  <bonzini@gnu.org>

* mh-cygwin: Remove obsolete variables and dependencies.

2011-03-24  Paolo Bonzini  <bonzini@gnu.org>

* mh-sysv4: Remove.
* mh-solaris: Remove.

2011-03-24  Paolo Bonzini  <bonzini@gnu.org>

* mh-sysv4: Remove AR_CFLAGS.

13 years ago2011-03-24 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Thu, 24 Mar 2011 16:55:11 +0000 (16:55 +0000)]
2011-03-24  Paolo Bonzini  <bonzini@gnu.org>

* mh-sysv4: Remove AR_CFLAGS.

13 years ago * configure.ac (i[[3456789]]86-*-vsta, i[[3456789]]86-*-go32*,
Joseph Myers [Thu, 24 Mar 2011 16:52:11 +0000 (16:52 +0000)]
* configure.ac (i[[3456789]]86-*-vsta, i[[3456789]]86-*-go32*,
i[[3456789]]86-*-beos*, powerpc-*-beos*, m68k-hp-hpux*,
m68k-apollo-sysv*, m68k-apollo-bsd*, m88k-dg-dgux*,
m88k-harris-cxux*, m88k-motorola-sysv*, mips*-dec-ultrix*,
mips*-nec-sysv4*, mips*-sgi-irix4*, mips*-*-sysv4*, mips*-*-sysv*,
i370-ibm-opened*, i[[3456789]]86-*-sysv5*, i[[3456789]]86-*-dgux*,
i[[3456789]]86-ncr-sysv4.3*, i[[3456789]]86-ncr-sysv4*,
i[[3456789]]86-*-sco3.2v5*, i[[3456789]]86-*-sco*,
i[[3456789]]86-*-udk*, vax-*-ultrix2*, m68k-sun-sunos*,
hppa*-*-hiux*, *-*-hiux*, rs6000-*-lynxos*, *-*-sysv4*,
*-*-rhapsody*): Remove host cases.
* configure: Regenerate.

config:
* mh-cxux, mh-decstation, mh-dgux386, mh-lynxrs6k, mh-ncr3000,
mh-necv4, mh-sco, mh-sysv5: Remove.

13 years ago * xstormy16/crt0.s (_hwint): Fix .size directive.
Nick Clifton [Thu, 24 Mar 2011 16:29:11 +0000 (16:29 +0000)]
* xstormy16/crt0.s (_hwint): Fix .size directive.

13 years ago * frv/crt0.S (__frv_fix_usrptrs): Fix .size directive.
Nick Clifton [Thu, 24 Mar 2011 16:24:36 +0000 (16:24 +0000)]
* frv/crt0.S (__frv_fix_usrptrs): Fix .size directive.

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