]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
19 years ago * fhandler.cc (fhandler_base::raw_write): Mark as changed on
Corinna Vinschen [Fri, 11 Feb 2005 15:37:26 +0000 (15:37 +0000)]
* fhandler.cc (fhandler_base::raw_write): Mark as changed on
successful write.
* fhandler.h (fhandler_base::status_flags): Add 'has_changed' flag.
* fhandler_disk_file.cc (fhandler_disk_file::fchmod): Call
fhandler_disk_file's own open and close instead of open_fs and
close_fs.  Mark as changed on success.
(fhandler_disk_file::fchown): Ditto.
(fhandler_disk_file::facl): Ditto.
(fhandler_disk_file::ftruncate): Ditto.
(fhandler_base::open_fs): Mark as changed when O_TRUNC flag on existing
file is set.
(fhandler_disk_file::close): Set st_ctime if has_changed flag is set.

19 years ago* cygthread.cc (cygthread::release): Reset ev here if it exists.
Christopher Faylor [Fri, 11 Feb 2005 15:24:15 +0000 (15:24 +0000)]
* cygthread.cc (cygthread::release): Reset ev here if it exists.
(cygthread::terminate_thread): Eliminat racy code which reset ev and
thread_sync.  Remove a few nonsensical inuse checks.  Exit at the bottom.
(cygthread::detach): Rewrite to again try to ensure that we don't say we're
signalled when we are not signalled.
* fhandler.cc (fhandler_base::raw_read): Revert to signalling read success
quickly.
* pipe.cc (fhandler_pipe::close): Use base method to close handle.
* sigproc.h (WAIT_SIG_PRIORITY): Just trundle along at normal priority to allow
the pipe thread to do its thing if possible.
* pinfo.h (pinfo::zap_cwd): Declare new function.
(pinfo::zap_cwd): Move 'cd out of the way code' here.
(pinfo::exit): Use it here.
* spawn.cc (spawn_guts): And here.

19 years ago * times.cc (utimes): Open files with GENERIC_WRITE on file systems
Corinna Vinschen [Fri, 11 Feb 2005 14:27:36 +0000 (14:27 +0000)]
* times.cc (utimes): Open files with GENERIC_WRITE on file systems
not supporting ACLs.

19 years ago * include/tchar.h (_tstat64, _tstati64): Add Unicode/ANSI mappings.
Danny Smith [Fri, 11 Feb 2005 07:23:44 +0000 (07:23 +0000)]
* include/tchar.h (_tstat64, _tstati64): Add Unicode/ANSI mappings.

19 years ago * include/assert.h; Remove header guard. undef assert macro.
Danny Smith [Fri, 11 Feb 2005 07:17:00 +0000 (07:17 +0000)]
* include/assert.h; Remove header guard.  undef assert macro.
(_assert): Use __MINGW_ATTRIB_NORETURN define.

19 years agoAdd Changelog entry from last commit.
Danny Smith [Fri, 11 Feb 2005 07:15:00 +0000 (07:15 +0000)]
Add Changelog entry from last commit.

19 years ago2005-02-11 Gregory W. Chicares <chicares at cox dot net>
Danny Smith [Fri, 11 Feb 2005 04:15:17 +0000 (04:15 +0000)]
2005-02-11  Gregory W. Chicares  <chicares at cox dot net>
            Danny Smith  <dannysmith@users at sourceforge dot net>

* include/math.h (expm1, expm1f, expmll): Add prototypes.
* mingwex/Makefile.in (MATH_DISTFILES): Add expm1.c,
expm1f.c, expm1l.c.
(MATH_OBJS): Add expm1.o, expm1f.o, expm1l.o.
* mingwex/math/expm1.c: New file.
* mingwex/math/expm1f.c: New file.
* mingwex/math/expm1l.c: New file.

19 years agoadd missing ChangeLog entry
Christopher Faylor [Thu, 10 Feb 2005 18:12:56 +0000 (18:12 +0000)]
add missing ChangeLog entry

19 years ago* winsup.api/known_bugs.tcl: Remove dup05, fcntl07B, lseek04, select03,
Christopher Faylor [Thu, 10 Feb 2005 17:48:30 +0000 (17:48 +0000)]
* winsup.api/known_bugs.tcl: Remove dup05, fcntl07B, lseek04, select03,
unlink06.

19 years ago2005-02-10 Jiri Malak <Jiri.Malak@iol.cz>
Danny Smith [Thu, 10 Feb 2005 01:19:43 +0000 (01:19 +0000)]
2005-02-10  Jiri Malak  <Jiri.Malak@iol.cz>
            Danny Smith  <dannysmith@users.sourceforge.net>

* lib/directx/dinput_private.h (ATTRIBUTE_TEXT_SECTION): New
define for Open Watcom portability.
* lib/directx/(dinput_joy.c, dinput_joy2.c, dinput_kbd.c,
dinput_mouse.c, dinput_mouse2.c): Use new macro in definition
of local c_rgodfDI* objects. Replace .rdata section attribute
with 'const' keyword in definition of global c_dfDI* objects.

19 years ago * fhandler_disk_file.cc (fhandler_disk_file::ftruncate): Fix checking
Corinna Vinschen [Wed, 9 Feb 2005 19:28:06 +0000 (19:28 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::ftruncate): Fix checking
lseek return code.

19 years agogas/testsuite/
Jan Beulich [Wed, 9 Feb 2005 08:05:43 +0000 (08:05 +0000)]
gas/testsuite/
2005-02-09  Jan Beulich  <jbeulich@novell.com>

* gas/i386/intelok.s: Remove comments disabling alternative forms of
fbld, fbstp, and fldcw.
* gas/i386/intelok.d: Expect two instances of fbld, fbstp, and fldcw.

include/opcode/
2005-02-09  Jan Beulich  <jbeulich@novell.com>

PR gas/707
* i386.h (i386_optab): Add x_Suf to fbld and fbstp. Add w_Suf and
FloatMF to fldcw, fstcw, fnstcw, and the memory formas of fstsw and
fnstsw.

19 years ago2005-02-08 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Tue, 8 Feb 2005 22:37:35 +0000 (22:37 +0000)]
2005-02-08  Andrew Cagney  <cagney@gnu.org>

* MAINTAINERS: Delete reference to dejagnu/ and mmalloc/ from the
gdb/ section.  Update GDB's URL.

19 years ago * times.cc (timeval_to_filetime): Define first parameter const.
Corinna Vinschen [Tue, 8 Feb 2005 20:59:41 +0000 (20:59 +0000)]
* times.cc (timeval_to_filetime): Define first parameter const.
(utimes): Define second parameter to const according to SUSv3.
(utime): Ditto.
* include/sys/utime.h (utime) : Change declaration accordingly.

19 years ago * libc/include/pwd.h (struct passwd): Change pw_uid and pw_gid
Corinna Vinschen [Tue, 8 Feb 2005 20:55:18 +0000 (20:55 +0000)]
* libc/include/pwd.h (struct passwd): Change pw_uid and pw_gid
members to uid_t and gid_t according to SUSv3.
* libc/include/sys/time.h (utimes):  Change second parameter
to const according to SUSv3.

19 years ago2005-02-08 Antony King <antony.king@st.com>
Jeff Johnston [Tue, 8 Feb 2005 19:38:47 +0000 (19:38 +0000)]
2005-02-08  Antony King  <antony.king@st.com>

        * arm/syscalls.c: Change CHECK_INIT to pass reentrant struct
        instead of file pointer.

19 years ago * cygthread.cc (cygthread::detach): Just test thread handle after
Corinna Vinschen [Tue, 8 Feb 2005 16:56:02 +0000 (16:56 +0000)]
* cygthread.cc (cygthread::detach): Just test thread handle after
signal arrived, don't wait infinitely for it.

19 years ago* pipe.cc (fhandler_pipe::read): Remove hold over from old read_state
Christopher Faylor [Tue, 8 Feb 2005 16:19:58 +0000 (16:19 +0000)]
* pipe.cc (fhandler_pipe::read): Remove hold over from old read_state
implementation.

19 years ago2005-02-07 Antony King <antony.king@st.com>
Jeff Johnston [Tue, 8 Feb 2005 01:33:19 +0000 (01:33 +0000)]
2005-02-07  Antony King  <antony.king@st.com>

        * libc/stdio/clearerr.c (clearerr): Ensure CHECK_INIT() is
        called before _flockfile to prevent lock object use before
        initialisation. _REENT_SMALL_CHECK_INIT() and CHECK_INIT()
        take a struct _reent * instead of a FILE *.
        * libc/stdio/fclose.c (_fclose_r): Ditto.
        * libc/stdio/feof.c (feof): Ditto.
        * libc/stdio/ferror.c (ferror): Ditto.
        * libc/stdio/fflush.c (fflush): Ditto.
        * libc/stdio/fgetc.c (fgetc): Ditto.
        * libc/stdio/fgets.c (fgets): Ditto.
        * libc/stdio/fileno.c (fileno): Ditto.
        * libc/stdio/fputc.c (fputc): Ditto.
        * libc/stdio/fputs.c (fputs): Ditto.
        * libc/stdio/fread.c (fread): Ditto.
        * libc/stdio/freopen.c (_freopen_r): Ditto.
        * libc/stdio/fseek.c (_fseek_r): Ditto.
        * libc/stdio/ftell.c (_ftell_r): Ditto.
        * libc/stdio/fwrite.c (fwrite): Ditto.
        * libc/stdio/getc.c (getc): Ditto.
        * libc/stdio/getdelim.c (__getdelim): Ditto.
        * libc/stdio/putc.c (putc): Ditto.
        * libc/stdio/setvbuf.c (setvbuf): Ditto.
        * libc/stdio/ungetc.c (_ungetc_r): Ditto.
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
        * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
        * libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
        * libc/stdio64/ftello64.c (_ftello64_r): Ditto.
        * libc/stdio/local.h (CHECK_INIT): Argument is now a struct
        _reent * instead of a FILE * and so replace incorrect use of
        _REENT with argument.
        * libc/sys/arm/syscalls.c (CHECK_INIT): Ditto.
        * libc/stdio/getchar.c (getchar): _REENT_SMALL_CHECK_INIT() and
        CHECK_INIT() take a struct _reent * instead of a FILE *.
        * libc/stdio/iprintf.c (iprintf, _iprintf_r): Ditto.
        * libc/stdio/iscanf.c (iscanf, _iscanf_r): Ditto.
        * libc/stdio/perror.c (perror): Ditto.
        * libc/stdio/printf.c (printf, _printf_r): Ditto.
        * libc/stdio/putchar.c (putchar): Ditto.
        * libc/stdio/puts.c (puts): Ditto.
        * libc/stdio/refill.c (__srefill): Ditto.
        * libc/stdio/scanf.c (scanf, _scanf_r): Ditto.
        * libc/stdio/vfscanf.c (VFSCANF, _VFSCANF_R): Ditto.
        * libc/stdio/viprintf.c (viprintf, _viprintf_r): Ditto.
        * libc/stdio/viscanf.c (viscanf, _viscanf_r): Ditto.
        * libc/stdio/vprintf.c (vprintf, _vprintf_r): Ditto.
        * libc/stdio/vscanf.c (vscanf, _vscanf_r): Ditto.
        * libc/stdio/wbuf.c (__swbuf): Ditto.
        * libc/stdio/wsetup.c (__swsetup): Ditto.
        * libc/stdlib/mallocr.c (malloc_stats): Ditto.
        * libc/stdlib/mstats.c (_mstats_r): Ditto.
        * libc/include/sys/reent.h (_REENT_SMALL_CHECK_INIT): Ditto.
        * libc/machine/powerpc/vfscanf.c (vfscanf): Ditto.
        * libc/stdio/fgetpos.c (_fgetpos_r): Removed unnecessary calls
        to _flockfile and _funlockfile; rely on locking in _ftell_r.
        * libc/stdio64/fgetpos64.c (_fgetpos64_r): Ditto (_ftello64_r).
        * libc/machine/powerpc/vfprintf.c (__sbprintf): Removed unnecessary
        initialision of _data field in FILE structure.
        * libc/machine/powerpc/vfprintf.c (VFPRINTF): Added CHECK_INIT() call.

19 years ago2005-02-07 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 8 Feb 2005 01:05:50 +0000 (01:05 +0000)]
2005-02-07  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdio/findfp.c (__sinit): Protect with new lock.
        (__sinit_lock): New lock.
        (__sinit_lock_acquire, __sinit_lock_release): New functions.
        * libc/stdio/local.h: Add reference to new __sinit locking
        functions.

19 years ago2005-02-07 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 7 Feb 2005 21:04:22 +0000 (21:04 +0000)]
2005-02-07  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/math.h (isfinite, isnormal, isunordered): Change
        input variable names to avoid mixups with nesting macros.

19 years ago2005-02-07 Danny Smith <dannysmith@users.sourceforge.net>
Danny Smith [Mon, 7 Feb 2005 20:40:32 +0000 (20:40 +0000)]
2005-02-07  Danny Smith  <dannysmith@users.sourceforge.net>

* include/winioctl.h (IOCTL_VOLUME_BASE,
IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS, IOCTL_VOLUME_IS_CLUSTERED):
Copy defines from include/ddk/ntdddvol.h.
Bug reported to Debian by Anand Kumria  <wildfire at progsoc dot org>

19 years ago2005-02-07 Danny Smith <dannysmith@users.sourceforge.net>
Danny Smith [Mon, 7 Feb 2005 20:18:08 +0000 (20:18 +0000)]
2005-02-07  Danny Smith  <dannysmith@users.sourceforge.net>

* include/sys/stat.h (struct stat): Guard with _NO_OLDNAMES.
* include/wchar.h (struct stat): Likwwise.
Bug reported to Debian by Anand Kumria  <wildfire@progsoc.org>

* include/sys/stat.h: Remove empty __STRICT_ANSI__ guard.

19 years ago* net.cc (cygwin_gethostbyname): Be more picky about what's a numeric address
Christopher Faylor [Mon, 7 Feb 2005 15:27:40 +0000 (15:27 +0000)]
* net.cc (cygwin_gethostbyname): Be more picky about what's a numeric address
string, and use tls in that case too.

19 years ago* exceptions.cc: Make windows_system_directory non-static.
Christopher Faylor [Mon, 7 Feb 2005 05:28:49 +0000 (05:28 +0000)]
* exceptions.cc: Make windows_system_directory non-static.
* pinfo.cc (pinfo::exit): Change innocuous cd'ed location to one that is more
likely to exist.

19 years ago * path.cc (path_conv::check): Leave symlink expansion loop in case
Corinna Vinschen [Sun, 6 Feb 2005 11:15:29 +0000 (11:15 +0000)]
* path.cc (path_conv::check): Leave symlink expansion loop in case
a not-ENOENT error happens.

* cygheap.h (cygheap_fdmanip::fhandler_pipe *): New cast operator.
* pinfo.cc (_pinfo::commune_recv): Add PICOM_PIPE_FHANDLER handling.
(_pinfo::commune_send): Ditto.
(_pinfo::pipe_fhandler): New method.
* pinfo.h (enum picom): Add PICOM_PIPE_FHANDLER.
(_pinfo::pipe_fhandler): Declare.
* pipe.cc (fhandler_pipe::open): Rewrite.  Allow to open foreign
pipe handles.

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.

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