]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
19 years ago* cygthread.h (cygthread::terminate_thread): Reflect return value.
Christopher Faylor [Sun, 6 Feb 2005 05:04:34 +0000 (05:04 +0000)]
* cygthread.h (cygthread::terminate_thread): Reflect return value.
* cygthread.cc (cygthread::detach): Be more careful about ensuring that sigwait
is properly waited for to avoid later missynchronization.
(cygthread::terminate_thread): Return true if thread was actually terminated
and all handles were closed.
* fhandler_base.cc (fhandler_base::raw_read): Use signal_read_state rather than
raw calls to win32 api.
(fhandler_base::read): Ditto.
* fhandler.h (fhandler_pipe::fixup_after_exec): Use method to create read_state
signalling.
(fhandler_pipe::create): Ditto.
* Makefile.in: Make some more files -fomit-frame-pointer.

19 years agoinclude/
Alan Modra [Thu, 3 Feb 2005 03:30:38 +0000 (03:30 +0000)]
include/
* bfdlink.h (struct bfd_link_hash_entry): Add u.undef.weak.
bfd/
* linker.c (_bfd_generic_link_add_one_symbol): Set u.undef.weak.
* elflink.c (elf_smash_syms): Restore symbols that were undefweak
before the as-needed lib was loaded.  Abort on unexpected refs.

19 years ago * fhandler.h (fhandler_base::ftruncate): Define new virtual method.
Corinna Vinschen [Wed, 2 Feb 2005 22:42:06 +0000 (22:42 +0000)]
* fhandler.h (fhandler_base::ftruncate): Define new virtual method.
(fhandler_disk_file::ftruncate): Ditto.
* fhandler.cc (fhandler_base::ftruncate): New method.
* fhandler_disk_file.cc (fhandler_disk_file::ftruncate): Ditto.
* syscalls.cc (ftruncate64): Move functionality into fhandlers.
Call fhandler method from here.

19 years agoImport from FSF mainline
Nick Clifton [Wed, 2 Feb 2005 19:00:30 +0000 (19:00 +0000)]
Import from FSF mainline

19 years ago * pipe.cc (fhandler_pipe::dup): Fix conditionals in case of error.
Corinna Vinschen [Wed, 2 Feb 2005 10:09:51 +0000 (10:09 +0000)]
* pipe.cc (fhandler_pipe::dup): Fix conditionals in case of error.

19 years ago * times.cc (utimes): Mark st_ctime for update according to SUSv3.
Corinna Vinschen [Wed, 2 Feb 2005 09:46:52 +0000 (09:46 +0000)]
* times.cc (utimes): Mark st_ctime for update according to SUSv3.

19 years ago * cris/Makefile.in (ALL_INSTALL_FILES): New macro.
Hans-Peter Nilsson [Tue, 1 Feb 2005 21:22:33 +0000 (21:22 +0000)]
* cris/Makefile.in (ALL_INSTALL_FILES): New macro.
(ALL_INSTALL_FILES_NEWLIB_COPY): New macro.
(all): Use ALL_INSTALL_FILES instead of its contents.  Add
ALL_INSTALL_FILES_NEWLIB_COPY.
($(objroot)/newlib/%, $(objroot)/newlib/libnosys.a): New rules

19 years ago* fhandler_proc.cc (format_proc_partitions): Remove PartitionType check since
Christopher Faylor [Tue, 1 Feb 2005 17:16:14 +0000 (17:16 +0000)]
* fhandler_proc.cc (format_proc_partitions): Remove PartitionType check since
it could skip over partitions that are actually interesting.

19 years ago* cygthread.cc (cygthread::terminate_thread): Wait briefly for notification
Christopher Faylor [Tue, 1 Feb 2005 16:49:13 +0000 (16:49 +0000)]
* cygthread.cc (cygthread::terminate_thread): Wait briefly for notification
event in the event that the thread was actually in the process of exiting.
* pipe.cc (fhandler_pipe::dup): read_state is not supposed to be inheritable.
Fix that.
* path.cc (path_conv::check): Set symlen = 0 to avoid a compiler warning.
* devices.h (devices::parsedisk): Declare new function.
* devices.in (devices::parsedisk): Define new function.
* dtable.cc (dtable::init_std_file_from_handle): Use device numbers rather than
name.
* fhandler_proc.cc (format_proc_partitions): Use parsedisk to generate disk
names from numeric codes.  (This was broken on two of my systems previously and
is still broken now)

19 years ago * pipe.cc (fhandler_pipe::open): Allow re-opening of /proc/<pid>/fd
Corinna Vinschen [Tue, 1 Feb 2005 16:43:29 +0000 (16:43 +0000)]
* pipe.cc (fhandler_pipe::open):  Allow re-opening of /proc/<pid>/fd
pipes of the current process.

19 years ago * fhandler.cc (fhandler_base::get_proc_fd_name): Don't generate
Corinna Vinschen [Tue, 1 Feb 2005 15:11:47 +0000 (15:11 +0000)]
* fhandler.cc (fhandler_base::get_proc_fd_name): Don't generate
"device:" entry.
* fhandler.h (fhandler_socket::open): New method.
(fhandler_pipe::open): New method.
* fhandler_proc.cc (fhandler_proc::exists): Return -2 in case of
/proc/self.
* fhandler_process.cc (fhandler_process::exists): Return -2 in
case of symlinks, -3 for pipes and -4 for sockets.
(fhandler_process::fstat): Handle pipes and sockets.
(fhandler_process::open): Handle opening /proc/<pid>/fd.
(fhandler_process::fill_filebuf): Generate empty names for
non exisiting file descriptors.
* fhandler_socket.cc (fhandler_socket::get_proc_fd_name): Always
generate "socket:[number]" strings as on Linux.
(fhandler_socket::open): New method.
(fhandler_socket::fstat): Always return socket type.
* path.cc (symlink_info::set): Remove unused second parameter.
(path_conv::check): Handle pipes and sockets in /proc.
Set correct device type for AF_LOCAL sockets.
* pinfo.cc (_pinfo::commune_recv): Generate empty names for
non exisiting file descriptors.
(_pinfo::fd): Ditto.
* pipe.cc (fhandler_pipe::open): New method.

19 years ago * mingwex/strtold.c (__asctoe64): Set endptr to 'e' if exponent
Danny Smith [Tue, 1 Feb 2005 03:51:21 +0000 (03:51 +0000)]
* mingwex/strtold.c (__asctoe64): Set endptr to 'e' if exponent
string is not valid.

19 years agoinclude/
Alan Modra [Tue, 1 Feb 2005 01:11:22 +0000 (01:11 +0000)]
include/
* bfdlink.h (bfd_link_repair_undef_list): Declare.
bfd/
* elf64-ppc.c (ppc64_elf_check_directives): Move undefs list fixup..
* linker.c (bfd_link_repair_undef_list): ..to new function, but don't
remove anything but new and undefweak.
* elflink.c (_bfd_elf_link_create_dynamic_sections): Override any
existing _DYNAMIC.
(_bfd_elf_create_dynamic_sections): Formatting.
(bfd_elf_record_link_assignment): Call bfd_link_repair_undef_list.
(_bfd_elf_merge_symbol): Don't handle as-needed syms here.
(struct elf_smash_data): New.
(elf_smash_syms): New function.
(elf_link_add_object_symbols): Call elf_smash_syms.  Don't add
unneeded dynamic objects to loaded list.
(elf_link_output_extsym): Don't handle as-needed here.  Strip
bfd_link_hash_new symbols.
* elf32-cris.c (elf_cris_discard_excess_program_dynamics): Don't
delref when dynindx is already -1.
* elf64-alpha.c (elf64_alpha_output_extsym): Strip bfd_link_hash_new
symbols.
* elfxx-mips.c (mips_elf_output_extsym): Likewise.
ld/
* ld.texinfo: Clarify --as-needed operation.

19 years ago* path.h (path_conv::set_name): Declare new function.
Christopher Faylor [Mon, 31 Jan 2005 21:29:59 +0000 (21:29 +0000)]
* path.h (path_conv::set_name): Declare new function.
* path.cc (path_conv::set_name): Define new function.
* fhandler.h (fhandler_dev_null::open): Declare new function.
* fhandler.cc (fhandler_dev_null::open): Define new function.

19 years ago* smallprint.c (rnarg): Use long rather than unsigned long so that we get
Christopher Faylor [Mon, 31 Jan 2005 20:55:33 +0000 (20:55 +0000)]
* smallprint.c (rnarg): Use long rather than unsigned long so that we get
proper sign extension.

19 years ago2005-01-31 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Mon, 31 Jan 2005 20:29:41 +0000 (20:29 +0000)]
2005-01-31  Andrew Cagney  <cagney@gnu.org>

* gettext.m4: Only set ENABLE_NLS when gettext is present.

19 years ago * cygwinenv.sgml: Add words for (no)traverse option.
Corinna Vinschen [Mon, 31 Jan 2005 20:03:20 +0000 (20:03 +0000)]
* cygwinenv.sgml: Add words for (no)traverse option.

19 years ago * environ.cc (set_traverse): New function.
Corinna Vinschen [Mon, 31 Jan 2005 20:02:36 +0000 (20:02 +0000)]
* environ.cc (set_traverse): New function.
(parse_thing): Add "traverse" option.  Sort options alphabetically.
(environ_init): On NT, switch on traverse checking by default.

19 years ago* smallprint.c (__rn): Regparmize.
Christopher Faylor [Mon, 31 Jan 2005 19:57:05 +0000 (19:57 +0000)]
* smallprint.c (__rn): Regparmize.

19 years ago* smallprint.c (rnarg): New macro.
Christopher Faylor [Mon, 31 Jan 2005 19:52:03 +0000 (19:52 +0000)]
* smallprint.c (rnarg): New macro.
(rnargLL): Ditto.
(__rn): Rename from 'rn', add a mask argument, and use the mask argument to
control how many significant digits to care about.
(__small_vsprintf): Use __rn, rnarg, rnargLL, as appropriate.

19 years ago* pinfo.cc (pinfo::exit): Only return low-order 16 bits when exiting.
Christopher Faylor [Mon, 31 Jan 2005 14:34:07 +0000 (14:34 +0000)]
* pinfo.cc (pinfo::exit): Only return low-order 16 bits when exiting.

19 years ago * fhandler_process.cc (format_process_maps): Get destbuf argument by
Corinna Vinschen [Mon, 31 Jan 2005 12:02:07 +0000 (12:02 +0000)]
* fhandler_process.cc (format_process_maps): Get destbuf argument by
reference.  Allow resizing of destbuf as necessary.  Fix string
handling.

19 years ago * cygheap.h (class cygheap_fdenum): New class to enumerate used
Corinna Vinschen [Mon, 31 Jan 2005 10:28:55 +0000 (10:28 +0000)]
* cygheap.h (class cygheap_fdenum): New class to enumerate used
fhandlers.
* dtable.h (class dtable): Add cygheap_fdenum as friend class.
* fhandler.h (fhandler_base::get_proc_fd_name): New virtual method
to return a name for /proc/<pid>/fd.
(fhandler_socket::get_proc_fd_name): Ditto.
(fhandler_pipe::get_proc_fd_name): Ditto.
(fhandler_virtual::opendir): Make virtual method.
(fhandler_process::opendir): New method.
* fhandler.cc (fhandler_base::get_proc_fd_name): New method.
* fhandler_process.cc: Include ctype.h.
(PROCESS_FD): Define.
(process_listing): Add "fd".
(fhandler_process::exists): Fix comment.  Return 1 in case of "fd"
directory. Handle files below "fd".
(fhandler_process::fstat): Drop "self" handling.  Set correct link
count for directories.
(fhandler_process::opendir): New method to handle "fd" directory.
(fhandler_process::readdir): Add "fd" handling.
(fhandler_process::open): Drop "self" handling.
(fhandler_process::fill_filebuf): Ditto.  Add "fd" handling.  Fix
"maps" output string.
* fhandler_registry.cc (fhandler_registry::fstat): Set correct link
count for directories.
* fhandler_socket.cc (fhandler_socket::get_proc_fd_name): New method.
* path.cc (symlink_info::set): Fix thinko.
* pinfo.cc (_pinfo::commune_recv): Rename pathbuf to path throughout.
Drop local path variable in PICOM_FIFO case.  Fix debug output.
Close handles as early as possible. Add PICOM_FDS and PICOM_FD
handling.
(_pinfo::commune_send): Add PICOM_FDS and PICOM_FD handling.
(_pinfo::fd): New method.
(_pinfo::fds): New method.
* pinfo.h (enum picom): Add PICOM_FDS and PICOM_FD.
(_pinfo::fd): Declare.
(_pinfo::fds): Declare.
* pipe.cc (fhandler_pipe::get_proc_fd_name): New method.

19 years ago* ntsec.sgml: Add Pierre's Windows 2003 text.
Joshua Daniel Franklin [Sat, 29 Jan 2005 22:35:17 +0000 (22:35 +0000)]
* ntsec.sgml: Add Pierre's Windows 2003 text.

19 years ago * smallprint.c (rn): Change uval to unsigned long long to fix 64 bit
Corinna Vinschen [Sat, 29 Jan 2005 13:34:34 +0000 (13:34 +0000)]
* smallprint.c (rn): Change uval to unsigned long long to fix 64 bit
handling.
* fhandler_process.cc (format_process_maps): Print major, minor and
inode numbers correctly.

19 years ago * autoload.cc (GetModuleFileNameExA): Add.
Corinna Vinschen [Sat, 29 Jan 2005 11:23:07 +0000 (11:23 +0000)]
* autoload.cc (GetModuleFileNameExA): Add.
(GetModuleInformation): Add.
(QueryWorkingSet): Add.
* fhandler.h (fhandler_virtual::get_filebuf): New method.
* fhandler_proc.cc (PROC_SELF): Define.
(proc_fhandlers): Change type of self to FH_PROC.
(fhandler_proc::exists): Return -3 if self.
(fhandler_proc::fstat): Handle self as symlink.
(fhandler_proc::fill_filebuf): Handle self.
* fhandler_process.cc: Include psapi.h.
(PROCESS_EXENAME): Remove.
(PROCESS_MAPS): Define.
(PROCESS_ROOT): Define.
(PROCESS_EXE): Define.
(PROCESS_CWD): Define.
(process_listing): Remove "exename", add "maps, "root", "exe" and
"cwd" elements.
(fhandler_process::exists): Return -2 for symlinks.
(fhandler_process::fstat): Handle symlinks.
(fill_filebuf): Evaluate pid if pid is 0.  Use exename handling for
exe.  Handle maps, root and cwd.
(format_process_maps): New function evaluating "maps".
* path.cc (symlink_info::set): New method to fill symlink_info
with data matching virtual symlinks.
(path_conv::check): Handle virtual symlinks.
* pinfo.cc (_pinfo::commune_recv): Add PICOM_CWD and PICOM_ROOT
handling.
(_pinfo::commune_send): Ditto.
(_pinfo::root): New function.
(_pinfo::cwd): New function.
* pinfo.h (enum picom): Add PICOM_CWD and PICOM_ROOT.
(_pinfo::root): Declare.
(_pinfo::cwd): Declare.

19 years ago* cygthread.cc (new): Add a little more debugging.
Christopher Faylor [Sat, 29 Jan 2005 05:39:07 +0000 (05:39 +0000)]
* cygthread.cc (new): Add a little more debugging.
* thread.cc (pthread_null::exit): Add a _my_tls.remove() for safety.

19 years ago * configure.in (noconfigdirs) <crisv32-*-*>: Match like cris-*-*.
Hans-Peter Nilsson [Sat, 29 Jan 2005 04:24:23 +0000 (04:24 +0000)]
* configure.in (noconfigdirs) <crisv32-*-*>: Match like cris-*-*.
<crisv32-*-*, cris-*-*>: Only disable target-newlib and
target-libgloss when not *-*-elf and *-*-aout.
* configure: Regenerate.

19 years ago* cygtls.cc (cygtls::call2): Move socket cleanup.
Christopher Faylor [Sat, 29 Jan 2005 03:09:50 +0000 (03:09 +0000)]
* cygtls.cc (cygtls::call2): Move socket cleanup.
(cygtls::remove): Move socket cleanup here.  Don't use _my_tls to reference it.

19 years ago * how-using.texinfo: Change text about using shortcuts.
Corinna Vinschen [Fri, 28 Jan 2005 09:10:22 +0000 (09:10 +0000)]
* how-using.texinfo: Change text about using shortcuts.

19 years ago.
Christopher Faylor [Fri, 28 Jan 2005 05:53:22 +0000 (05:53 +0000)]
.

19 years ago * callback.h (struct host_callback_struct): New members pipe,
Hans-Peter Nilsson [Fri, 28 Jan 2005 03:39:28 +0000 (03:39 +0000)]
* callback.h (struct host_callback_struct): New members pipe,
pipe_empty, pipe_nonempty, ispipe, pipe_buffer and
target_sizeof_int.
(CB_SYS_pipe): New macro.

19 years ago * callback.h: Include "bfd.h".
Hans-Peter Nilsson [Fri, 28 Jan 2005 03:27:02 +0000 (03:27 +0000)]
* callback.h: Include "bfd.h".
(struct host_callback_struct): New member target_endian.
(cb_store_target_endian): Declare.

19 years ago2005-01-27 Hans-Peter Nilsson <hp@axis.com>
Jeff Johnston [Thu, 27 Jan 2005 23:54:46 +0000 (23:54 +0000)]
2005-01-27  Hans-Peter Nilsson  <hp@axis.com>

        * configure.host: Add support for cris-*-* and crisv32-*-*.
        * libc/include/machine/ieeefp.h: Ditto.
        * libc/include/machine/setjmp.h: Ditto.
        * libc/machine/cris/configure.in, libc/machine/cris/Makefile.am,
        libc/machine/cris/libcdtor.c, libc/machine/cris/setjmp.c,
        libc/machine/cris/memmove.c, libc/machine/cris/memcpy.c,
        libc/machine/cris/memset.c, libc/machine/cris/include/pthread.h,
        libc/machine/cris/sys/signal.h, libc/machine/cris/sys/fcntl.h,
        libc/machine/cris/sys/errno.h, libc/machine/cris/aclocal.m4,
        libc/machine/cris/configure, libc/machine/cris/Makefile.in: New
        files.

19 years ago2005-01-27 Hans-Peter Nilsson <hp@axis.com>
Jeff Johnston [Thu, 27 Jan 2005 22:57:32 +0000 (22:57 +0000)]
2005-01-27  Hans-Peter Nilsson  <hp@axis.com>

        * configure.in: Support cris-*-* and crisv32-*-*.
        * libnosys/configure.in: Ditto.
        * configure, libnosys/configure: Regenerate.
        * cris: New directory.
        * cris/crt0.S, cris/crtn.c, cris/gensyscalls, cris/linunistd.h,
        cris/outbyte.c, cris/configure.in, cris/crti.c, cris/lcrt0.c,
        cris/Makefile.in, cris/setup.S, cris/configure: New files.

19 years ago2005-01-27 Oliver Stoeneberg <oliverst@online.de>
Danny Smith [Thu, 27 Jan 2005 21:04:18 +0000 (21:04 +0000)]
2005-01-27  Oliver Stoeneberg  <oliverst@online.de>

* include/winbase.h (PWIN32_FIND_DATA): Add typedef.

19 years ago2005-01-27 Hans-Peter Nilsson <hp@axis.com>
Jeff Johnston [Thu, 27 Jan 2005 20:52:42 +0000 (20:52 +0000)]
2005-01-27  Hans-Peter Nilsson  <hp@axis.com>

* testsuite/newlib.string/memmove1.c: New test.

19 years agoUpdate previous ChangeLog entry with missing info.
Jeff Johnston [Thu, 27 Jan 2005 20:29:49 +0000 (20:29 +0000)]
Update previous ChangeLog entry with missing info.

19 years ago2005-01-27 Hans-Peter Nilsson <hp@axis.com>
Jeff Johnston [Thu, 27 Jan 2005 20:25:54 +0000 (20:25 +0000)]
2005-01-27  Hans-Peter Nilsson  <hp@axis.com>

        * testsuite/include/check.h: Include stdlib.h.

19 years ago2005-01-27 Hans-Peter Nilsson <hp@axis.com>
Jeff Johnston [Thu, 27 Jan 2005 19:13:54 +0000 (19:13 +0000)]
2005-01-27  Hans-Peter Nilsson  <hp@axis.com>

        * Makefile.am (stmp-targ-include): Support include header files
        from machine directories.
        * Makefile.in: Regenerate.

19 years ago2005-01-27 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Thu, 27 Jan 2005 14:47:56 +0000 (14:47 +0000)]
2005-01-27  Andrew Cagney  <cagney@gnu.org>

* gettext.m4: Don't use NONE as a default for CATOBJEXT.

19 years ago2005-01-26 Oliver Stoeneberg <oliverst@online.de>
Danny Smith [Thu, 27 Jan 2005 00:34:42 +0000 (00:34 +0000)]
2005-01-26  Oliver Stoeneberg  <oliverst@online.de>

* include/malloc.h: Add missing return code defines for
_heapwalk()

19 years ago* pinfo.cc (pinfo::init): Avoid a compiler warning.
Christopher Faylor [Wed, 26 Jan 2005 18:21:22 +0000 (18:21 +0000)]
* pinfo.cc (pinfo::init): Avoid a compiler warning.

19 years ago * syscalls.cc (setpriority): Implement PRIO_PGRP, PRIO_USER and
Corinna Vinschen [Wed, 26 Jan 2005 13:07:48 +0000 (13:07 +0000)]
* syscalls.cc (setpriority): Implement PRIO_PGRP, PRIO_USER and
setting priority in other Cygwin processes.
(getpriority): Implement PRIO_PGRP, PRIO_USER and getting nice value
from other processes.

19 years ago * include/winuser.h (SW_SMOOTHSCROLL): Add define.
Danny Smith [Wed, 26 Jan 2005 06:25:59 +0000 (06:25 +0000)]
* include/winuser.h (SW_SMOOTHSCROLL): Add define.

19 years ago2005-01-26 Pierre Humblet <pierre.humblet@ieee.org>
Pierre Humblet [Wed, 26 Jan 2005 04:34:19 +0000 (04:34 +0000)]
2005-01-26  Pierre Humblet <pierre.humblet@ieee.org>

* path.cc (path_conv::check): Return ENOTDIR rather than ENOENT
when a component is not a directory. Remove unreachable code.
(digits): Delete.

19 years ago* pinfo.h (pinfo::init): Make third parameter non-optional and propagate change
Christopher Faylor [Wed, 26 Jan 2005 00:15:11 +0000 (00:15 +0000)]
* pinfo.h (pinfo::init): Make third parameter non-optional and propagate change
throughout.
* pinfo.cc (set_myself): Pass INVALID_HANDLE_POINTER if h is NULL.
(pinfo::init): Make third parameter non-optional.  Eliminate use of PID_EXECED
as an argument.  Put setting of handle back inside loop but reorganize to try
to open it only when necessary.

19 years ago * cygwin.din: Export getpriority and setpriority.
Corinna Vinschen [Tue, 25 Jan 2005 22:45:11 +0000 (22:45 +0000)]
* cygwin.din: Export getpriority and setpriority.
* fork.cc (fork_parent): Copy parent's nice value into child.
* spawn.cc (spawn_guts): Ditto.
* miscfuncs.cc (winprio_to_nice): New function.
(nice_to_winprio): Ditto.
* pinfo.cc (pinfo_init): If parent is not a Cygwin process, set
default nice value according to current Win32 priority class.
* pinfo.h (class _pinfo): Add nice member.
* syscalls.cc (setpriority): New function, only implementing
PRIO_PROCESS for now.
(getpriority): Ditto.
(nice): Just call setpriority.
* wincap.h (wincaps::has_extended_priority_class): New element.
* wincap.cc: Implement above element throughout.
* winsup.h: Add prototypes for winprio_to_nice and nice_to_winprio.
* include/limits.h (NZERO): New define.
* include/cygwin/types.h (id_t): New datatype.
* include/cygwin/version.h: Bump API minor version.
* include/sys/resource.h: Add PRIO_XXX defines and prototypes for
getpriority and setpriority.

19 years ago * path.cc (realpath): Allow to expand with .exe suffix.
Corinna Vinschen [Tue, 25 Jan 2005 20:28:40 +0000 (20:28 +0000)]
* path.cc (realpath): Allow to expand with .exe suffix.

19 years agobfd/ChangeLog:
Alexandre Oliva [Tue, 25 Jan 2005 20:22:35 +0000 (20:22 +0000)]
bfd/ChangeLog:
2004-12-10  Alexandre Oliva  <aoliva@redhat.com>
* elf32-frv.c (elf32_frv_relocate_section): Force local binding
for TLSMOFF.
* reloc.c: Add R_FRV_TLSMOFF.
* elf32-frv.c (elf32_frv_howto_table): Likewise.
(frv_reloc_map, frv_reloc_type_lookup): Map it.
(elf32_frv_relocate_section): Handle it.
(elf32_frv_check_relocs): Likewise.
* libbfd.h, bfd-in2.h: Rebuilt.
2004-11-26  Alexandre Oliva  <aoliva@redhat.com>
* elf32-frv.c (_frvfdpic_emit_got_relocs_plt_entries): Don't crash
when given an undefweak TLS symbol.  Fix constant TLS PLT entries
such that they return the constant in gr9.
(_frvfdpic_relax_tls_entries): Don't crash for undefweak TLS
symbols.
(_frvfdpic_size_got_plt): Set _cooked_size of dynamic sections.
too, such that they shrink on relaxation.
(elf32_frvfdpic_finish_dynamic_sections): Check __ROFIXUP_END__ as
marking the position right past the _GLOBAL_OFFSET_TABLE_ value.
(_frvfdpic_assign_plt_entries): Shrink constant TLS PLT entries
if we can guarantee the use of 16-bit constants.
2004-11-10  Alexandre Oliva  <aoliva@redhat.com>
Introduce TLS support for FR-V FDPIC.
* reloc.c: Add TLS relocations.
* elf32-frv.c (elf32_frv_howto_table): Add TLS relocations.
(elf32_frv_rel_tlsdesc_value_howto): New.
(elf32_frv_rel_tlsoff_howto): New.
(frv_reloc_map): Add new mappings.
(struct frvfdpic_elf_link_hash_table): Add pointer to summary
reloc information.
(frvfdpic_dynamic_got_plt_info): New.
(frvfdpic_plt_tls_ret_offset): New.
(ELF_DYNAMIC_INTERPRETER, DEFAULT_STACK_SIZE): Move earlier.
(struct _frvfdpic_dynamic_got_info): Likewise.  Add TLS members.
(struct _frvfdpic_dynamic_got_plt_info): Likewise.
(FRVFDPIC_SYM_LOCAL): Regard symbols defined in the absolute
section as local.
(struct frvfdpic_relocs_info): Add TLS fields.
(frvfdpic_relocs_info_hash): Warning clean up.
(frvfdpic_relocs_info_find): Initialize tlsplt_entry.
(frvfdpic_pic_merge_early_relocs_info): Merge TLS fields.
(FRVFDPIC_TLS_BIAS): Define.
(tls_biased_base): New.
(_frvfdpic_emit_got_relocs_plt_entries): Deal with TLS
relocations.
(frv_reloc_type_lookup): Likewise.
(frvfdpic_info_to_howto_rel): Likewise.
(elf32_frv_relocate_section): Likewise.
(_frv_create_got_section): Create the PLT section here.
(elf32_frvfdpic_create_dynamic_sections): Not here.
(_frvfdpic_count_nontls_entries): Move out of...
(_frvfdpic_count_got_plt_entries): ... here.
(_frvfdpic_count_tls_entries): Likewise.  Add TLS support.
(_frvfdpic_count_relocs_fixups): Likewise.  Add relaxation
support.
(_frvfdpic_relax_tls_entries): New.
(_frvfdpic_compute_got_alloc_data): Add TLS support.
(_frvfdpic_get_tlsdesc_entry): New.
(_frvfdpic_assign_got_entries): Add TLS support.
(_frvfdpic_assign_plt_entries): Likewise.
(_frvfdpic_reset_got_plt_entries): New.
(_frvfdpic_size_got_plt): Move out of...
(elf32_frvfdpic_size_dynamic_sections): ... here.
(_frvfdpic_relax_got_plt_entries): New.
(elf32_frvfdpic_relax_section): New.
(elf32_frvfdpic_finish_dynamic_sections): Add TLS sanity check.
(elf32_frv_check_relocs): Add TLS support.
(bfd_elf32_bfd_relax_section): Define for FDPIC.
* libbfd.h, bfd-in2.h: Rebuilt.
cpu/ChangeLog:
2004-11-10  Alexandre Oliva  <aoliva@redhat.com>
* frv.cpu: Add support for TLS annotations in loads and calll.
* frv.opc (parse_symbolic_address): New.
(parse_ldd_annotation): New.
(parse_call_annotation): New.
(parse_ld_annotation): New.
(parse_ulo16, parse_uslo16): Use parse_symbolic_address.
Introduce TLS relocations.
(parse_d12, parse_s12, parse_u12): Likewise.
(parse_uhi16): Likewise.  Fix constant checking on 64-bit host.
(parse_call_label, print_at): New.
gas/ChangeLog:
* config/tc-frv.c (md_apply_fix3): Mark TLS symbols as such.
2004-12-10  Alexandre Oliva  <aoliva@redhat.com>
* config/tc-frv.c (frv_pic_ptr): Add tlsmoff support.
2004-11-10  Alexandre Oliva  <aoliva@redhat.com>
* cgen.c (gas_cgen_parse_operand): Handle
CGEN_PARSE_OPERAND_SYMBOLIC.
* config/tc-frv.c (md_cgen_lookup_reloc): Handle TLS relocations.
(frv_force_relocation): Likewise.  Fix handling of PIC
relocations.
(md_apply_fix3): Likewise.
include/elf/ChangeLog:
2004-12-10  Alexandre Oliva  <aoliva@redhat.com>
* frv.h: Add R_FRV_TLSMOFF.
2004-11-10  Alexandre Oliva  <aoliva@redhat.com>
* frv.h: Add TLS relocations.
include/opcode/ChangeLog:
2004-11-10  Alexandre Oliva  <aoliva@redhat.com>
* cgen.h (enum cgen_parse_operand_type): Add
CGEN_PARSE_OPERAND_SYMBOLIC.
ld/testsuite/ChangeLog:
* ld-frv/fdpic.exp: Add -mfdpic to ASFLAGS.
* ld-frv/tls.exp: Likewise.
2004-11-26  Alexandre Oliva  <aoliva@redhat.com>
* ld-frv/tls-3.s: New.
* ld-frv/tls-static-3.d: New.
* ld-frv/tls-dynamic-3.d: New.
* ld-frv/tls-pie-3.d: New.
* ld-frv/tls-shared-3.d: New.
* ld-frv/tls-relax-static-3.d: New.
* ld-frv/tls-relax-dynamic-3.d: New.
* ld-frv/tls-relax-pie-3.d: New.
* ld-frv/tls-relax-shared-3.d: New.
* ld-frv/tls.exp: Run the new tests.
* ld-frv/tls-dynamic-2.d: Adjust for improved relaxation.
* ld-frv/tls-relax-dynamic-2.d: Likewise.
* ld-frv/tls-relax-initial-shared-2.d: Likewise.
2004-11-10  Alexandre Oliva  <aoliva@redhat.com>
* ld-frv/tls-1-dep.s: New.
* ld-frv/tls-1-shared.lds: New.
* ld-frv/tls-1.s: New.
* ld-frv/tls-2.s: New.
* ld-frv/tls-dynamic-1.d: New.
* ld-frv/tls-dynamic-2.d: New.
* ld-frv/tls-initial-shared-2.d: New.
* ld-frv/tls-pie-1.d: New.
* ld-frv/tls-relax-dynamic-1.d: New.
* ld-frv/tls-relax-dynamic-2.d: New.
* ld-frv/tls-relax-initial-shared-2.d: New.
* ld-frv/tls-relax-pie-1.d: New.
* ld-frv/tls-relax-shared-1.d: New.
* ld-frv/tls-relax-shared-2.d: New.
* ld-frv/tls-relax-static-1.d: New.
* ld-frv/tls-shared-1-fail.d: New.
* ld-frv/tls-shared-1.d: New.
* ld-frv/tls-shared-2.d: New.
* ld-frv/tls-static-1.d: New.
* ld-frv/tls.exp: New.
* ld-frv/fdpic-pie-1.d: Adjust for 64-bit host.
* ld-frv/fdpic-pie-2.d: Likewise.
* ld-frv/fdpic-pie-6.d: Likewise.
* ld-frv/fdpic-pie-7.d: Likewise.
* ld-frv/fdpic-pie-8.d: Likewise.
* ld-frv/fdpic-shared-1.d: Likewise.
* ld-frv/fdpic-shared-2.d: Likewise.
* ld-frv/fdpic-shared-3.d: Likewise.
* ld-frv/fdpic-shared-4.d: Likewise.
* ld-frv/fdpic-shared-5.d: Likewise.
* ld-frv/fdpic-shared-6.d: Likewise.
* ld-frv/fdpic-shared-7.d: Likewise.
* ld-frv/fdpic-shared-8.d: Likewise.
* ld-frv/fdpic-shared-local-2.d: Likewise.
* ld-frv/fdpic-shared-local-8.d: Likewise.
* ld-frv/fdpic-static-1.d: Likewise.
* ld-frv/fdpic-static-2.d: Likewise.
* ld-frv/fdpic-static-6.d: Likewise.
* ld-frv/fdpic-static-7.d: Likewise.
* ld-frv/fdpic-static-8.d: Likewise.
opcodes/ChangeLog:
2004-11-10  Alexandre Oliva  <aoliva@redhat.com>
* frv-asm.c: Rebuilt.
* frv-desc.c: Rebuilt.
* frv-desc.h: Rebuilt.
* frv-dis.c: Rebuilt.
* frv-ibld.c: Rebuilt.
* frv-opc.c: Rebuilt.
* frv-opc.h: Rebuilt.

19 years ago2005-01-24 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Mon, 24 Jan 2005 20:00:49 +0000 (20:00 +0000)]
2005-01-24  Andrew Cagney  <cagney@gnu.org>

* gettext.m4: Only fall back to ../intl/ when it's present.

19 years ago2005-01-24 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 24 Jan 2005 18:46:09 +0000 (18:46 +0000)]
2005-01-24  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/string.h: Remove Linux-specific declaration of
        strsignal and add #include <sys/string.h>.
        * libc/include/sys/string.h: New file.
        * libc/include/sys/linux/sys/string.h: New file with strsignal
        declaration deleted above.

19 years ago * warnings.m4 (ACX_PROG_CC_WARNING_ALMOST_PEDANTIC): Don't do
Joseph Myers [Sun, 23 Jan 2005 21:05:46 +0000 (21:05 +0000)]
* warnings.m4 (ACX_PROG_CC_WARNING_ALMOST_PEDANTIC): Don't do
anything for non-GCC compilers.

19 years ago* install.texinfo: Add live CD, registry information.
Joshua Daniel Franklin [Sat, 22 Jan 2005 23:39:37 +0000 (23:39 +0000)]
* install.texinfo: Add live CD, registry information.

19 years ago* spawn.cc (spawn_guts): Perform same "cd" as in pinfo::exit below to make sure
Christopher Faylor [Sat, 22 Jan 2005 21:47:04 +0000 (21:47 +0000)]
* spawn.cc (spawn_guts): Perform same "cd" as in pinfo::exit below to make sure
that a stub process does not keep the current working directory busy after the
"execed" process has exited.

19 years ago* pinfo.cc (pinfo::init): Move everything but the MapViewOfFileEx out of the
Christopher Faylor [Sat, 22 Jan 2005 21:17:53 +0000 (21:17 +0000)]
* pinfo.cc (pinfo::init): Move everything but the MapViewOfFileEx out of the
loop since trying multiple times to call CreateFileMapping doesn't make much
sense.  Try to structure the loop a little better so that exiting with a break
does the right thing.
(pinfo::release): Release shared memory area if it exists and close handle if
it exists.

19 years ago* how-programming.texinfo: Add details about building a debugging version of the...
Joshua Daniel Franklin [Sat, 22 Jan 2005 19:12:33 +0000 (19:12 +0000)]
* how-programming.texinfo: Add details about building a debugging version of the DLL.
* how-using.texinfo: Correct rxvt README location.
* install.texinfo: Add mount -m note to uninstall instructions.

19 years ago* pinfo.cc (pinfo::maybe_set_exit_code_from_windows): Make sure that process
Christopher Faylor [Sat, 22 Jan 2005 18:07:10 +0000 (18:07 +0000)]
* pinfo.cc (pinfo::maybe_set_exit_code_from_windows): Make sure that process
has exited before getting an error code.
(pinfo::exit): "cd" to innocuous location before exiting to make sure that
process does not keep the current working directory busy while it is in the
process of really exiting.

19 years ago* how-programming.texinfo: Remove obsolete w32api instructions and add some
Christopher Faylor [Sat, 22 Jan 2005 03:53:38 +0000 (03:53 +0000)]
* how-programming.texinfo: Remove obsolete w32api instructions and add some
words about unpacking net release .tar.bz2.

19 years ago2005-01-21 Hans-Peter Nilsson <hp@axis.com>
Jeff Johnston [Fri, 21 Jan 2005 21:55:07 +0000 (21:55 +0000)]
2005-01-21  Hans-Peter Nilsson  <hp@axis.com>

* libnosys/warning.h (stub_warning): Remove "warning: " prefix.

19 years ago 2005-01-21 Fred Fish <fnf@specifixinc.com>
Fred Fish [Fri, 21 Jan 2005 19:42:08 +0000 (19:42 +0000)]
2005-01-21  Fred Fish  <fnf@specifixinc.com>
* mips.h: Change INSN_ALIAS to INSN2_ALIAS.
Change INSN_WRITE_MDMX_ACC to INSN2_WRITE_MDMX_ACC.
Change INSN_READ_MDMX_ACC to INSN2_READ_MDMX_ACC.

19 years ago2005-01-21 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Fri, 21 Jan 2005 13:39:35 +0000 (13:39 +0000)]
2005-01-21  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/commdlg.h (OFN_DONTADDTORECENT): Added definition.

19 years ago2005-01-20 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 20 Jan 2005 19:56:27 +0000 (19:56 +0000)]
2005-01-20  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/time/strftime.c (strftime): Change %r and %x to be compliant
        to POSIX standard for "C" locale.  Allow %E and %O modifiers
        to be ignored as long as they precede valid specifiers according
        to POSIX.

19 years ago2005-01-19 Shaun Jackman <sjackman@gmail.com>
Jeff Johnston [Thu, 20 Jan 2005 17:31:04 +0000 (17:31 +0000)]
2005-01-19  Shaun Jackman  <sjackman@gmail.com>

        * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
        environment variable is set.

19 years ago 2005-01-19 Fred Fish <fnf@specifixinc.com>
Fred Fish [Wed, 19 Jan 2005 23:29:12 +0000 (23:29 +0000)]
2005-01-19  Fred Fish  <fnf@specifixinc.com>
* mips.h (struct mips_opcode): Add new pinfo2 member.
(INSN_ALIAS): New define for opcode table entries that are
specific instances of another entry, such as 'move' for an 'or'
with a zero operand.
(INSN_READ_MDMX_ACC): Redefine from 0 to 0x2.
(INSN_WRITE_MDMX_ACC): Redefine from 0 to 0x4.

19 years ago2005-01-19 Shaun Jackman <sjackman@gmail.com>
Jeff Johnston [Wed, 19 Jan 2005 16:44:42 +0000 (16:44 +0000)]
2005-01-19  Shaun Jackman  <sjackman@gmail.com>

        * tzset_r.c (_tzname): Add a comma.

19 years ago2005-01-17 Kelley Cook <kcook@gcc.gnu.org>
R. Kelley Cook [Wed, 19 Jan 2005 00:34:56 +0000 (00:34 +0000)]
2005-01-17  Kelley Cook  <kcook@gcc.gnu.org>

* install-sh, config.sub: Import from upstream.

19 years ago2005-01-13 Kelley Cook <kcook@gcc.gnu.org>
R. Kelley Cook [Wed, 19 Jan 2005 00:33:04 +0000 (00:33 +0000)]
2005-01-13  Kelley Cook  <kcook@gcc.gnu.org>

PR bootstrap/18222
* Makefile.def: Pass CPPFLAGS_FOR_TARGET.
* Makefile.tpl: Define target CPPFLAGS on CPPFLAGS_FOR_TARGET.
* Makefile.in: Regenerate.

19 years ago2005-01-18 Hans-Peter Nilsson <hp@axis.com>
Jeff Johnston [Tue, 18 Jan 2005 19:27:44 +0000 (19:27 +0000)]
2005-01-18  Hans-Peter Nilsson  <hp@axis.com>

        * libnosys/warning.h (link_warning) [HAVE_GNU_LD and HAVE_ELF]:
        Prefix symbol in section name with __SYMBOL_PREFIX.  Do not use
        __make_section_unallocated.  Mark magic variable as used.

19 years ago2005-01-18 Hans-Peter Nilsson <hp@axis.com>
Jeff Johnston [Tue, 18 Jan 2005 19:23:36 +0000 (19:23 +0000)]
2005-01-18  Hans-Peter Nilsson  <hp@axis.com>

        * libnosys/configure.in (libc_cv_asm_previous_directive): Set
        cache-id variable.
        (libc_cv_asm_popsection_directive): Ditto.
        (libc_cv_section_attributes): Ditto.
        (libc_symbol_prefix): Rename from libc_dollar_prefix.  Check for
        "_" as well, and set __SYMBOL_PREFIX accordingly.
        * libnosys/configure: Regenerate.

19 years ago2005-01-18 Hans-Peter Nilsson <hp@axis.com>
Jeff Johnston [Tue, 18 Jan 2005 19:00:26 +0000 (19:00 +0000)]
2005-01-18  Hans-Peter Nilsson  <hp@axis.com>

        * libnosys/Makefile.in (LD, AS): Correct obsoleted suffix: Say
        as-new and ld-new, not as.new and ld.new.

19 years ago * libc/machine/powerpc/vfprintf.c: Use _REENT when calling
Aldy Hernandez [Tue, 18 Jan 2005 17:08:55 +0000 (17:08 +0000)]
* libc/machine/powerpc/vfprintf.c: Use _REENT when calling
_VFPRINTF_R.

19 years ago * autoload.cc (CoInitialize): Remove.
Corinna Vinschen [Tue, 18 Jan 2005 13:00:18 +0000 (13:00 +0000)]
* autoload.cc (CoInitialize): Remove.
(CoUninitialize): Remove.
(CoCreateInstance): Remove.
(CoTaskMemFree): Add.
(SHGetDesktopFolder): Add.
* path.cc (shortcut_header): Remove.
(shortcut_initalized): Remove.
(GUID_shortcut): New static GUID.
(struct win_shortcut_hdr): New struct describing Windows shortcut
header structure.
(symlink_worker): Rewrite creating Windows shortcuts.  Create
ITEMIDLIST if target exists.  Only write once.
(cmp_shortcut_header): Use win_shortcut_hdr structure for comparison.
(check_shortcut): Rewrite to read only once from file.  Allow skipping
an ITIMIDLIST in the file.

19 years ago * lib/user32.def (MonitorFromPoint}: Correct suffix.
Danny Smith [Tue, 18 Jan 2005 07:14:54 +0000 (07:14 +0000)]
* lib/user32.def (MonitorFromPoint}: Correct suffix.

19 years agoFix SH2A machine variants in order to correctly select instruction inheritance
Nick Clifton [Mon, 17 Jan 2005 14:08:16 +0000 (14:08 +0000)]
Fix SH2A machine variants in order to correctly select instruction inheritance

19 years ago * include/sys/stat.h (struct __stat64): Change st_size type to
Danny Smith [Mon, 17 Jan 2005 05:03:17 +0000 (05:03 +0000)]
* include/sys/stat.h (struct __stat64): Change st_size type to
 __int64.
* include/wchar.h (struct __stat64): Change st_size type to __int64.

19 years ago* pinfo.h (maybe_set_exit_code_from_windows): Renamed from set_exit_state.
Christopher Faylor [Mon, 17 Jan 2005 04:12:08 +0000 (04:12 +0000)]
* pinfo.h (maybe_set_exit_code_from_windows): Renamed from set_exit_state.
* pinfo.cc (pinfo::exit): Use renamed function.
(proc_waiter): Ditto.  Make a copy of input argument to avoid problems when
procs array is shuffled.  Flag when copy is made so that remove_proc knows when
it is safe to reshuffle.
* sigproc.cc (proc_terminate): Don't flag process_state as PID_EXITED.
(remove_proc): Wait for waiter to finish copying pinfo element before moving it
(an actual wait should be an extremely rare event).

19 years ago* ps.cc (main): Eliminate use of PID_ZOMBIE.
Christopher Faylor [Sun, 16 Jan 2005 17:13:51 +0000 (17:13 +0000)]
* ps.cc (main): Eliminate use of PID_ZOMBIE.
* strace.cc (main): Recognize new option for displaying hex value of strace
type.
(handle_output_debug_string): Prepend output with hex value of strace message
if -H is specified.

19 years ago* init.cc (dll_entry): Remove unused extern.
Christopher Faylor [Sun, 16 Jan 2005 17:00:27 +0000 (17:00 +0000)]
* init.cc (dll_entry): Remove unused extern.
* include/sys/cygwin.h: Remove PID_ZOMBIE.
* pinfo.h: Rename EXITCODE_* defines.
(pinfo::set_exit_state): Remove parameter.
* pinfo.cc (set_exit_state): Remove parameter.  Reverse sense of test so that
exitcode is checked for having been set rather than not having been set.  Set
flag when exitcode has been established.  Don't set PID_STATE here.
(pinfo::init): Remove exitcode initialization.
(pinfo::exit): Reflect change in EXITCODE_* naming.  Set flag when exitcode has
been established.  Reflect change in arguments to set_process_state.
(proc_waiter): Reflect change in arguments to set_process_state.  Set
process_state here and only here.
* fhandler_process.cc (fhandler_process::fill_filebuf): Reflect removal of
PID_ZOMBIE define.
(format_process_stat): Ditto.
(format_process_status): Ditto.
* sigproc.cc (pid_exists): Ditto.
(stopped_or_terminated): Ditto.  Make sure that only low-order 16 bits of
exitcode are used.
* spawn.cc (spawn_guts): Reflect change in EXITCODE_* naming.

19 years ago* sigproc.cc (sig_send): Don't complain if attempt to send signal to myself
Christopher Faylor [Sat, 15 Jan 2005 23:43:42 +0000 (23:43 +0000)]
* sigproc.cc (sig_send): Don't complain if attempt to send signal to myself
fails after I've "execed".

19 years ago2005-01-14 Hans-Peter Nilsson <hp@axis.com>
Jeff Johnston [Sat, 15 Jan 2005 00:17:51 +0000 (00:17 +0000)]
2005-01-14  Hans-Peter Nilsson  <hp@axis.com>

        * libnosys/warning.h (__make_section_unallocated)
        [HAVE_ASM_PREVIOUS_DIRECTIVE, HAVE_ASM_POPSECTION_DIRECTIVE]: Use "\n"
        instead of ";" to delimit assembly lines.

19 years ago * fhandler_disk_file.cc (fhandler_disk_file::facl): Pretend successful
Corinna Vinschen [Fri, 14 Jan 2005 22:03:40 +0000 (22:03 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::facl): Pretend successful
SETACL if no acls are available.
* fhandler.cc (fhandler_base::facl): Implement to return sensible
values on GETACL and GETACLCNT.  Pretend successful SETACL.
* fhandler_virtual.cc (fhandler_virtual::facl): Ditto.

19 years ago * fhandler.h (fhandler_disk_file::touch_ctime): Declare.
Corinna Vinschen [Thu, 13 Jan 2005 22:56:20 +0000 (22:56 +0000)]
* fhandler.h (fhandler_disk_file::touch_ctime): Declare.
* fhandler_disk_file.cc (fhandler_disk_file::touch_ctime): New method
to set file's ctime.
(fhandler_disk_file::fchmod): Try opening file for writing first.
Set file's ctime on success.
(fhandler_disk_file::fchown): Ditto.
(fhandler_disk_file::facl): Ditto.

19 years ago * pinfo.cc (pinfo::exit): Don't access self after releasing it.
Corinna Vinschen [Thu, 13 Jan 2005 22:18:57 +0000 (22:18 +0000)]
* pinfo.cc (pinfo::exit): Don't access self after releasing it.
* path.h (path_conv::path_conv): Fill path with native device
name in case of device argument.

19 years ago * fhandler_serial.cc (fhandler_serial::dup): Call overlapped_setup
Corinna Vinschen [Thu, 13 Jan 2005 20:10:04 +0000 (20:10 +0000)]
* fhandler_serial.cc (fhandler_serial::dup): Call overlapped_setup
for child, not for parent.

19 years ago * include/_mingw.h: Increment version to 3.7.
Earnie Boyd [Thu, 13 Jan 2005 19:51:02 +0000 (19:51 +0000)]
* include/_mingw.h: Increment version to 3.7.
* Makefile.in: Ditto.

19 years ago* init.cc (dll_entry): Nuke attempt to set exit code since parent will use
Christopher Faylor [Thu, 13 Jan 2005 16:38:35 +0000 (16:38 +0000)]
* init.cc (dll_entry): Nuke attempt to set exit code since parent will use
windows exit code if needed.
* pinfo.cc (pinfo::exit): Move release() here to minimize pid creation race
(suggested by Pierre Humblet).

19 years ago * include/sys/stat.h (_S_IFLNK, S_IFLNK, _S_ISLNK, S_ISLNK, _lstat,
Earnie Boyd [Thu, 13 Jan 2005 12:40:37 +0000 (12:40 +0000)]
* include/sys/stat.h (_S_IFLNK, S_IFLNK, _S_ISLNK, S_ISLNK, _lstat,
lstat): Remove.
* include/errno.h (ELOOP): Ditto.

19 years ago2005-01-13 Benoit Blanchon <bblanchon@users.sourceforge.net>
Danny Smith [Thu, 13 Jan 2005 09:14:42 +0000 (09:14 +0000)]
2005-01-13  Benoit Blanchon  <bblanchon@users.sourceforge.net>

* include/wininet.h (InternetCheckConnectionA,
InternetCheckConnectionW) Add prototypes.
(INTERNET_RAS_INSTALLED, INTERNET_CONNECTION_OFFLINE,
INTERNET_CONNECTION_CONFIGURED): Add defines.

19 years agoReorganize header file inclusion throughout so that cygerrno.h comes first.
Christopher Faylor [Wed, 12 Jan 2005 22:40:46 +0000 (22:40 +0000)]
Reorganize header file inclusion throughout so that cygerrno.h comes first.
* fhandler.h (select_record::thread_errno): Save any encountered errno here.
(select_record::set_select_errno): New function.
(select_record::saw_error): New function.
(select_record::select_record): Initialize thread_errno to zero.
* select.cc (set_handle_or_return_if_not_open): Set thread_errno on failure.
(select_stuff::wait): Record errno for later resurrection in calling thread.
(peek_serial): Ditto.

19 years agoAdd missing changelog entry.
Christopher Faylor [Wed, 12 Jan 2005 20:06:17 +0000 (20:06 +0000)]
Add missing changelog entry.

19 years ago* pinfo.cc (pinfo::exit): Don't assume that this == myself.
Christopher Faylor [Wed, 12 Jan 2005 18:05:07 +0000 (18:05 +0000)]
* pinfo.cc (pinfo::exit): Don't assume that this == myself.

19 years agoinclude/elf/
Alan Modra [Wed, 12 Jan 2005 11:28:23 +0000 (11:28 +0000)]
include/elf/
* ppc.h (R_PPC_RELAX32_PLT, R_PPC_RELAX32PC_PLT): Define.
(R_PPC_RELAX32, R_PPC_RELAX32PC): Adjust value.
bfd/
* elf32-ppc.c (ppc_elf_howto_raw): Delete RELAX32* entries.
(ppc_elf_relax_section): Use PLT variants of RELAX32 relocs for
reaching PLT.
(ppc_elf_relocate_section): Handle R_PPC_RELAX32_PLT and
R_PPC_RELAX32PC_PLT.

19 years ago * include/tchar.h (_tfreopen): Add UNICODE mappings.
Danny Smith [Wed, 12 Jan 2005 09:08:12 +0000 (09:08 +0000)]
* include/tchar.h (_tfreopen): Add UNICODE mappings.

19 years ago2005-01-11 Pierre Humblet <pierre.humblet@ieee.org>
Pierre Humblet [Tue, 11 Jan 2005 23:03:24 +0000 (23:03 +0000)]
2005-01-11  Pierre Humblet <pierre.humblet@ieee.org>

        * mkpasswd.c (print_win_error): Transform into macro.
        (_print_win_error): Upgrade former print_win_error by
        printing the line.
        (current_user): Call _print_win_error.
        (enum_users): Print name in case of lookup failure.
        (enum_local_groups): Ditto.

19 years ago* pinfo.cc (pinfo::init): Don't close input handle on temporary (?) failure.
Christopher Faylor [Tue, 11 Jan 2005 16:58:31 +0000 (16:58 +0000)]
* pinfo.cc (pinfo::init): Don't close input handle on temporary (?) failure.

19 years agorevert previous erroneous checkin.
Christopher Faylor [Tue, 11 Jan 2005 15:49:17 +0000 (15:49 +0000)]
revert previous erroneous checkin.

19 years ago* pinfo.h (_pinfo::set_exit_state): Declare new function.
Christopher Faylor [Tue, 11 Jan 2005 15:31:04 +0000 (15:31 +0000)]
* pinfo.h (_pinfo::set_exit_state): Declare new function.
(pinfo::exit): Move here from _pinfo::exit.
* sigproc.cc (child_info::sync): Use new function to set exitcode and
process_state.
* pinfo.cc (_pinfo::exit): Ditto.
(proc_waiter): Ditto.
(_pinfo::set_exit_state): Define new function.
(_pinfo::dup_proc_pipe): Close handle when there is no parent process around to
care about the exit value.
* dcrt0.cc (dll_crt0_0): Move subproc_ready synchronization later to make sure
that myself is still mapped in parent.
(do_exit): Reflect movement to pinfo::exit.
(__api_fatal): Ditto.
* exceptions.cc (signal_exit): Ditto.
* errno.cc (errmap): Map PROC_NOT_FOUND.
* init.cc (dll_entry): Release myself before exiting.
* sigproc.cc (proc_can_be_signalled): Set errno appropriately.
(sig_send): Ditto.  Also remove ill-advised test for !myself->sendsig since
this is an indication of a process which is still initializating -- it is not
an error.
(child_info::sync): Don't set exitcode here.  Assume that will happen in
proc_waiter, if necessary.
* spawn.cc (spawn_guts): Delay "wait_for_myself" logic until later.  Don't wait
at all if the process has already exited.  Reflect movement to pinfo::exit.

19 years ago * include/sys/stat.h (_S_IFLNK, S_IFLNK, _S_ISLNK, S_ISLNK, _lstat,
Earnie Boyd [Tue, 11 Jan 2005 13:34:42 +0000 (13:34 +0000)]
* include/sys/stat.h (_S_IFLNK, S_IFLNK, _S_ISLNK, S_ISLNK, _lstat,
lstat): Conditionalize defines for __STRICT_ANSI__.

19 years ago * ChangeLog: Split and create ChangeLog-2004.
Corinna Vinschen [Tue, 11 Jan 2005 12:48:34 +0000 (12:48 +0000)]
* ChangeLog:  Split and create ChangeLog-2004.

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