]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
19 years ago* path.cc (mount): Only check win32_path when we know we need it.
Christopher Faylor [Sat, 9 Jul 2005 17:15:38 +0000 (17:15 +0000)]
* path.cc (mount): Only check win32_path when we know we need it.

19 years ago * cygwin.din (getline): Export.
Corinna Vinschen [Sat, 9 Jul 2005 08:22:39 +0000 (08:22 +0000)]
* cygwin.din (getline): Export.
(getdelim): Export.
* include/sys/stdio.h (getline): Replace macro with function prototype.
(getdelim):  Likewise.
* include/cygwin/version.h: Bump API minor number.

19 years ago2005-07-08 Ola Hugosson <Ola.Hugosson@anoto.com>
Jeff Johnston [Fri, 8 Jul 2005 18:28:46 +0000 (18:28 +0000)]
2005-07-08  Ola Hugosson   <Ola.Hugosson@anoto.com>

        * libc/string/wcsspn.c (wcsspn): Add missing increment of q.

19 years ago * include/objsafe.h: New file.
Dimitri Papadopoulos [Fri, 8 Jul 2005 13:37:31 +0000 (13:37 +0000)]
* include/objsafe.h: New file.

19 years ago * how-using.texinfo: Fix typos.
Corinna Vinschen [Fri, 8 Jul 2005 08:42:40 +0000 (08:42 +0000)]
* how-using.texinfo: Fix typos.

19 years ago * cygwin.din (__getline): Export.
Corinna Vinschen [Fri, 8 Jul 2005 08:24:13 +0000 (08:24 +0000)]
* cygwin.din (__getline): Export.
(__getdelim): Export.
* include/sys/stdio.h (getline): Define as __getline.
(getdelim): Define as __getdelim.
* include/cygwin/version.h: Bump API minor number.

19 years agoKaveh Ghazi's printf format attribute checking patch.
Jim Wilson [Thu, 7 Jul 2005 19:27:44 +0000 (19:27 +0000)]
Kaveh Ghazi's printf format attribute checking patch.
bfd:
* elf32-xtensa.c (vsprint_msg): Add format attribute.  Fix
format bugs.
* vms.h (_bfd_vms_debug): Add format attribute.
(_bfd_vms_debug, _bfd_hexdump): Fix typos.

binutils:
* bucomm.h (report): Add format attribute.
* dlltool.c (inform): Likewise.
* dllwrap.c (display, inform, warn): Likewise.
* objdump.c (objdump_sprintf): Likewise.
* readelf.c (error, warn): Likewise.  Fix format bugs.

gas:
* config/tc-tic30.c (debug): Add format attribute.  Fix format
bugs.

include:
* dis-asm.h (fprintf_ftype): Add format attribute.

opcodes:
* arc-dis.c, arm-dis.c, cris-dis.c, crx-dis.c, d10v-dis.c,
d30v-dis.c, fr30-dis.c, h8300-dis.c, h8500-dis.c, i860-dis.c,
ia64-dis.c, ip2k-dis.c, m10200-dis.c, m10300-dis.c,
m88k-dis.c, mcore-dis.c, mips-dis.c, ms1-dis.c, or32-dis.c,
ppc-dis.c, sh64-dis.c, sparc-dis.c, tic4x-dis.c, tic80-dis.c,
v850-dis.c: Fix format bugs.
* ia64-gen.c (fail, warn): Add format attribute.
* or32-opc.c (debug): Likewise.

19 years agoFix date of last entry.
Jeff Johnston [Thu, 7 Jul 2005 17:29:35 +0000 (17:29 +0000)]
Fix date of last entry.

19 years ago*** empty log message ***
Jeff Johnston [Thu, 7 Jul 2005 17:29:13 +0000 (17:29 +0000)]
*** empty log message ***

19 years ago * Makefile.def (flags_to_pass): Add CFLAGS_FOR_BUILD.
Andreas Schwab [Thu, 7 Jul 2005 15:38:42 +0000 (15:38 +0000)]
* Makefile.def (flags_to_pass): Add CFLAGS_FOR_BUILD.
* Makefile.tpl (EXTRA_GCC_FLAGS): Don't pass CFLAGS_FOR_BUILD here.
* Makefile.in: Regenerated.

19 years ago * configure.in: Add --enable-libssp and --disable-libssp.
Kazu Hirata [Thu, 7 Jul 2005 02:24:02 +0000 (02:24 +0000)]
* configure.in: Add --enable-libssp and --disable-libssp.
* configure: Regenerate with autoconf-2.13.

19 years ago * configure.in: Don't build sim or rda when targetting darwin.
Geoffrey Keating [Thu, 7 Jul 2005 01:14:34 +0000 (01:14 +0000)]
* configure.in: Don't build sim or rda when targetting darwin.
* configure: Regenerate.

19 years agoEliminate (void) cast on standalone function calls throughout.
Christopher Faylor [Wed, 6 Jul 2005 20:05:03 +0000 (20:05 +0000)]
Eliminate (void) cast on standalone function calls throughout.

19 years ago * configure.host: Added entry for ms1*.
Aldy Hernandez [Wed, 6 Jul 2005 13:14:10 +0000 (13:14 +0000)]
    * configure.host: Added entry for ms1*.
        * libc/include/machine/ieeefp.h: Handle ms1.
        * libc/include/machine/setjmp.h (_JBLEN): Define for ms1.
        * libc/machine/ms1/aclocal.m4: New.
        * libc/machine/ms1/configure: New.
        * libc/machine/ms1/configure.in: New.
        * libc/machine/ms1/Makefile.am: New.
        * libc/machine/ms1/Makefile.in: New.
        * libc/machine/ms1/setjmp.S: New.

19 years agoFix date in ChangeLog entry
Aldy Hernandez [Wed, 6 Jul 2005 12:59:51 +0000 (12:59 +0000)]
Fix date in ChangeLog entry

19 years ago * configure.in: Add ms1 case.
Aldy Hernandez [Wed, 6 Jul 2005 12:58:12 +0000 (12:58 +0000)]
* configure.in: Add ms1 case.
* configure: Regenerate.
* ms1/16-002.ld: New.
* ms1/16-003.ld: New.
* ms1/64-001.ld: New.
* ms1/access.c: New.
* ms1/chmod.c: New.
* ms1/close.c: New.
* ms1/configure: New.
* ms1/configure.in: New.
* ms1/crt0-16-002.S: New.
* ms1/crt0-16-003.S: New.
* ms1/crt0-64-001.S: New.
* ms1/crt0.S: New.
* ms1/exit-16-002.c: New.
* ms1/exit-16-003.c: New.
* ms1/exit-64-001.c: New.
* ms1/exit.c: New.
* ms1/fstat.c: New.
* ms1/getpid.c: New.
* ms1/gettime.c: New.
* ms1/isatty.c: New.
* ms1/kill.c: New.
* ms1/lseek.c: New.
* ms1/Makefile.in: New.
* ms1/open.c: New.
* ms1/read.c: New.
* ms1/sbrk.c: New.
* ms1/startup-16-002.S: New.
* ms1/startup-16-003.S: New.
* ms1/startup-64-001.S: New.
* ms1/stat.c: New.
* ms1/time.c: New.
* ms1/times.c: New.
* ms1/trap.h: New.
* ms1/trap.S: New.
* ms1/unlink.c: New.
* ms1/utime.c: New.
* ms1/write.c: New.

19 years ago* cygcheck.cc (track_down, cygcheck): Return true on success.
Christopher Faylor [Tue, 5 Jul 2005 21:41:37 +0000 (21:41 +0000)]
* cygcheck.cc (track_down, cygcheck): Return true on success.
(main): Reflect cygcheck failures in exit status.

19 years ago* dcrt0.cc (cygwin_exit): Mark as "noreturn".
Christopher Faylor [Tue, 5 Jul 2005 20:20:48 +0000 (20:20 +0000)]
* dcrt0.cc (cygwin_exit): Mark as "noreturn".
* sigproc.cc (child_info::ready): Don't signal parent that we are a cygwin
process if we are dynamically loaded.

19 years ago* malloc.cc: Update to version 2.8.2.
Christopher Faylor [Tue, 5 Jul 2005 15:11:49 +0000 (15:11 +0000)]
* malloc.cc: Update to version 2.8.2.

19 years ago * fhandler_tape.cc (fhandler_dev_tape::close): Don't do "extra stuff"
Corinna Vinschen [Tue, 5 Jul 2005 07:28:52 +0000 (07:28 +0000)]
* fhandler_tape.cc (fhandler_dev_tape::close): Don't do "extra stuff"
when we know we're execing.

19 years agogas/
Jan Beulich [Tue, 5 Jul 2005 07:16:53 +0000 (07:16 +0000)]
gas/
2005-07-05  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.h (CpuSVME): New.
(CpuUnknownFlags): Include CpuSVME.
* config/tc-i386.c (cpu_arch): Add .pacifica and .svme. Add opteron
as alias of sledgehammer.
(md_assemble): Include invlpga in the check for insns with two source
operands.
(process_operands): Include SVME insns in the check for ignored
segment overrides. Adjust diagnostic.
(i386_index_check): Special-case SVME insns with memory operands.

gas/testsuite/
2005-07-05  Jan Beulich  <jbeulich@novell.com>

* gas/i386/svme.d: New.
* gas/i386/svme.s: New.
* gas/i386/svme64.d: New.
* gas/i386/i386.exp: Run new tests.

include/opcode/
2005-07-05  Jan Beulich  <jbeulich@novell.com>

* i386.h (i386_optab): Add new insns.

opcodes/
2005-07-05  Jan Beulich  <jbeulich@novell.com>

* i386-dis.c (SVME_Fixup): New.
(grps): Use it for the lidt entry.
(PNI_Fixup): Call OP_M rather than OP_E.
(INVLPG_Fixup): Likewise.

19 years agoChange foo (void) to foo () for all c++ functions throughout. Remove all
Christopher Faylor [Tue, 5 Jul 2005 03:16:46 +0000 (03:16 +0000)]
Change foo (void) to foo () for all c++ functions throughout.  Remove all
fhandler_*::dump functions throughout.
* fhandler.h (fhandler_dev_mem::close): Remove pass-through function in favor
of virtual method.
(handler_dev_raw::close): Ditto.
(fhandler_dev_clipboard::fixup_after_exec): New method.
* fhandler_dev_mem.cc (fhandler_dev_mem::close): Eliminate pass through
* fhandler_dev_raw.cc (fhandler_dev_raw::close): Ditto.
* fhandler_clipboard.cc (fhandler_dev_clipboard::close): Don't go to extra
effort when execing.
(fhandler_dev_clipboard::fixup_after_exec): New function.
* fhandler_console.cc (fhandler_console::close): Don't do "extra stuff" when we
know we're execing.
* fhandler_disk_file.cc (fhandler_disk_file::close): Ditto.
* fhandler_dsp.cc (fhandler_dev_dsp::close): Ditto.
* fhandler_fifo.cc (fhandler_fifo.cc::close): Ditto.  function in favor of base
function.
* fhandler_random.cc (fhandler_dev_random::close): Ditto.
* fhandler_registry.cc (fhandler_registry::close): Ditto.
* fhandler_tty.cc (fhandler_tty_slave::close): Ditto.
* fhandler_virtual.cc (fhandler_virtual::close): Ditto.
* pinfo.cc (proc_waiter): Remove unneeded hExeced declaration.
* sigproc.cc: Ditto.
* winsup.h (hExeced): Define here.
* fhandler_virtual.cc (fhandler_virtual::fixup_after_exec): Just call close()
to reinitialize things to known state.

19 years ago* cygtls.h (_cygtls): Perform minor reformatting.
Christopher Faylor [Tue, 5 Jul 2005 02:05:07 +0000 (02:05 +0000)]
* cygtls.h (_cygtls): Perform minor reformatting.
* winsup.h (close_all_files): Reflect argument change.
* dtable.cc (close_all_files): Ditto.
* dtable.h: Ditto.
* fhandler.h: Ditto.
* spawn.cc (spawn_guts): Move close_all_files back to its original location in
first P_OVERLAY test but use argument denoting that handles are only supposed
to be closed, not released (more work to be done here).
* syscalls.cc (close_all_files): Take an argument denoting whether to release
closed files or not.
* path.cc (symlink): Change argument names to reflect linux man page.
(symlink_worker): Ditto.  Also appropriately set ENOENT for empty strings.

19 years agoARGH. Check in previous uncommitted-but-ChangeLog'ed entry.
Christopher Faylor [Tue, 5 Jul 2005 02:02:23 +0000 (02:02 +0000)]
ARGH.  Check in previous uncommitted-but-ChangeLog'ed entry.

19 years ago2005-07-04 Mark Mitchell <mark@codesourcery.com>
Jeff Johnston [Tue, 5 Jul 2005 00:11:50 +0000 (00:11 +0000)]
2005-07-04  Mark Mitchell  <mark@codesourcery.com>

        * Makefile.am (site.exp): Set tmpdir.
        * Makefile.in: Regenerated.
        * testsuite/lib/checkoutput.exp (newlib_check_output): Put
        executables in $tmpdir.
        * testsuite/lib/flags.exp (libgloss_link_flags): Use the original
        libgloss version if not running in the build directory.
        * testsuite/lib/newlib.exp (newlib_init): Put testglue.o in
        $tmpdir.
        * testsuite/lib/passfail.exp (newlib_pass_fail): Put executables
        in $tmpdir.

19 years ago * cygheap.h (struct init_cygheap): Delete cygwin_regname member.
Corinna Vinschen [Mon, 4 Jul 2005 08:44:06 +0000 (08:44 +0000)]
* cygheap.h (struct init_cygheap): Delete cygwin_regname member.
* external.cc (cygwin_internal): Use cygpsid::get_id for
CW_GET_UID_FROM_SID and CW_GET_GID_FROM_SID.
Turn CW_SET_CYGWIN_REGISTRY_NAME and CW_GET_CYGWIN_REGISTRY_NAME
into noops.

19 years ago * src-release (do-proto-toplev): Remove dejagnu bits.
Ben Elliston [Sun, 3 Jul 2005 20:43:40 +0000 (20:43 +0000)]
* src-release (do-proto-toplev): Remove dejagnu bits.
(DEJAGNU_SUPPORT_DIRS): Remove.
(dejagnu.tar.bz2, dejagnu.tar): Likewise.
(GDBD_SUPPORT_DIRS): Likewise.
(gdb+dejagnu.tar.bz2, gdb+dejagnu.tar): Likewise.
(INSIGHTD_SUPPORT_DIRS): Likewise.
(insight+dejagnu.tar.bz2, insight+dejagnu.tar): Likewise.

19 years agomerge from gcc
DJ Delorie [Sun, 3 Jul 2005 19:16:16 +0000 (19:16 +0000)]
merge from gcc

19 years ago* thread.cc (pthread_mutex::init): Remove unneeded efault/mutex check.
Christopher Faylor [Sun, 3 Jul 2005 04:05:00 +0000 (04:05 +0000)]
* thread.cc (pthread_mutex::init): Remove unneeded efault/mutex check.

19 years agoadd missing ChangeLog entries
Christopher Faylor [Sun, 3 Jul 2005 03:44:56 +0000 (03:44 +0000)]
add missing ChangeLog entries

19 years ago* thread.h (verifyable_object_state verifyable_object_isvalid): Delete function
Christopher Faylor [Sun, 3 Jul 2005 03:25:19 +0000 (03:25 +0000)]
* thread.h (verifyable_object_state verifyable_object_isvalid): Delete function
declaration that should have been static.
* thread.cc (verifyable_object_state verifyable_object_isvalid): Make inline
static.
(pthread*::is_good_object): Move to directly after verifyable_object_state
verifyable_object_isvalid and make inline.

19 years agoReplace valid memory checks with new myfault class "exception handling", almost
Christopher Faylor [Sun, 3 Jul 2005 02:40:30 +0000 (02:40 +0000)]
Replace valid memory checks with new myfault class "exception handling", almost
everywhere.  Leave some thread.cc stuff alone for now.
* cygtls.h: Kludge some definitions to avoid including a problematic windows
header.
(_cygtls::_myfault): New entry.
(_cygtls::_myfault_errno): Ditto.
(_cygtls::fault_guarded): New function.
(_cygtls::setup_fault): Ditto.
(_cygtls::return_from_fault): Ditto.
(_cygtls::clear_fault): Ditto.
(myfault): New class.
* exceptions.cc (handle_exceptions): Handle case of guarded fault in system
routine.
* gendef: Add another entry point for setjmp that the compiler doesn't know
about and won't complain about.
* gentls_offsets: Just include windows.h rather than kludging a HANDLE def.
* miscfuncs.cc (check_null_str): Delete.
(check_null_empty_str): Ditto.
(check_null_empty_str_errno): Ditto.
(check_null_str_errno): Ditto.
(__check_null_invalid_struct): Ditto.
(__check_null_invalid_struct_errno): Ditto.
(__check_invalid_read_ptr): Ditto.
(__check_invalid_read_ptr_errno): Ditto.
(dummytest): New function.
(check_iovec_for_read): Delete.
(chec_iovec): Rename from check_iovec_for_write.  Take a read/write parameter.
* tlsoffsets.h: Regenerate.
* winsup.h: Remove check_* declarations.
(check_iovec_for_read): Delete declaration.  Turn into a define instead.
(check_iovec_for_write): Ditto.
(check_iovec): New declaration.
* thread.h: Use ifdef guard name consistent with other header files.

19 years agoshould have been checked in on 2005-06-29
Christopher Faylor [Sun, 3 Jul 2005 02:28:14 +0000 (02:28 +0000)]
should have been checked in on 2005-06-29

19 years ago* include/cygwin/version.h: Bump DLL minor number to 19.
Christopher Faylor [Sun, 3 Jul 2005 02:03:58 +0000 (02:03 +0000)]
* include/cygwin/version.h: Bump DLL minor number to 19.

19 years agoUpdate function declarations to ISO C90 formatting
Nick Clifton [Fri, 1 Jul 2005 11:16:27 +0000 (11:16 +0000)]
Update function declarations to ISO C90 formatting

19 years agomerge from gcc
DJ Delorie [Thu, 30 Jun 2005 23:02:54 +0000 (23:02 +0000)]
merge from gcc

19 years ago * fhandler.cc (fhandler_base::readv): Use malloc/free instead of alloca.
Corinna Vinschen [Thu, 30 Jun 2005 17:00:10 +0000 (17:00 +0000)]
* fhandler.cc (fhandler_base::readv): Use malloc/free instead of alloca.
(fhandler_base::writev): Ditto.

19 years ago* cygerrno.h: Make multi-inclusion safe.
Christopher Faylor [Thu, 30 Jun 2005 02:52:14 +0000 (02:52 +0000)]
* cygerrno.h: Make multi-inclusion safe.
* fhandler_termios.cc (fhandler_termios::tcsetpgrp): Deal with EINTR.
* dcrt0.cc (dll_crt0_0): Accommodate init_console_handler argument change.
* winsup.h: Ditto.
* fhandler_tty.cc (fhandler_tty_slave::open): Ditto.
* exceptions.cc (init_console_handler): Ditto.  Ignore console events if we're
not attached to a terminal.
* fhandler_tty.cc (fhandler_tty_slave::open): Ditto.
* wincap.cc: Implement has_null_console_handler_routine throughout.
* wincap.h: Ditto.

19 years agorevert erroneous checkin
Christopher Faylor [Thu, 30 Jun 2005 02:51:31 +0000 (02:51 +0000)]
revert erroneous checkin

19 years ago* autoload.cc (LoadDLLprime): Use a more descriptive name for autoload text
Christopher Faylor [Wed, 29 Jun 2005 23:05:41 +0000 (23:05 +0000)]
* autoload.cc (LoadDLLprime): Use a more descriptive name for autoload text
sections.
* cygwin.sc: Ditto.

19 years ago * setup.com (mpw): Remove unused directive.
Ben Elliston [Wed, 29 Jun 2005 19:12:31 +0000 (19:12 +0000)]
* setup.com (mpw): Remove unused directive.

19 years agoRemove dejagnu/ entry.
Ben Elliston [Wed, 29 Jun 2005 02:05:07 +0000 (02:05 +0000)]
Remove dejagnu/ entry.

19 years ago2005-06-28 Dave Korn <dave.korn@artimi.com>
Jeff Johnston [Tue, 28 Jun 2005 17:03:18 +0000 (17:03 +0000)]
2005-06-28  Dave Korn  <dave.korn@artimi.com>

        * libm/common/s_lrint.c (lrint):  Fix signed-vs-unsigned comparison
        and miscalculation caused by fp representation of zero.
        * libm/common/sf_lrint.c (lrintf):  Likewise.

19 years ago * fhandler_disk_file.cc (fhandler_disk_file::facl): Add missing break.
Corinna Vinschen [Mon, 27 Jun 2005 14:18:13 +0000 (14:18 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::facl): Add missing break.

19 years ago * path.cc (path_conv::check): Don't strip trailing dots and spaces
Corinna Vinschen [Fri, 24 Jun 2005 09:15:05 +0000 (09:15 +0000)]
* path.cc (path_conv::check): Don't strip trailing dots and spaces
at the start of the path.

19 years ago * fhandler.cc (rootdir): Don't set errno.
Corinna Vinschen [Fri, 24 Jun 2005 09:12:15 +0000 (09:12 +0000)]
* fhandler.cc (rootdir): Don't set errno.
* syscalls.cc (statvfs): Set errno to ENOTDIR if rootdir() failed.

19 years ago2005-06-22 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Thu, 23 Jun 2005 07:34:15 +0000 (07:34 +0000)]
2005-06-22  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.def (stagefeedback): Come after profile.
Define profiledbootstrap target.
* Makefile.tpl (profiledbootstrap): Remove.
(stageprofile-end): Zap stagefeedback.
(stagefeedback-start): Copy all .gcda files, not only GCC's.
* Makefile.in: Regenerate.

19 years ago * fhandler.h (class fhandler_dev_tape): Add declaration for
Corinna Vinschen [Wed, 22 Jun 2005 19:59:19 +0000 (19:59 +0000)]
* fhandler.h (class fhandler_dev_tape): Add declaration for
fixup_after_fork and set_close_on_exec.
* fhandler_tape.cc (fhandler_dev_tape::open): Create mt_mtx mutex
inheritable.
(fhandler_dev_tape::close): Close mt_mtx.
(fhandler_dev_tape::dup): Duplicate mt_mtx and mt_evt as necessary.
(fhandler_dev_tape::fixup_after_fork): New method.
(fhandler_dev_tape::set_close_on_exec): New method.

19 years ago * security.cc (get_initgroups_sidlist): Drop special_pgrp parameter.
Corinna Vinschen [Tue, 21 Jun 2005 20:38:05 +0000 (20:38 +0000)]
* security.cc (get_initgroups_sidlist): Drop special_pgrp parameter.
(get_setgroups_sidlist): Avoid duplicate groups in group list.
(create_token): Remove special_pgrp local variable.  Accomodate
change to get_initgroups_sidlist call.

19 years ago * uinfo.cc (uinfo_init): Call reimpersonate to set the main thread's
Corinna Vinschen [Tue, 21 Jun 2005 20:09:31 +0000 (20:09 +0000)]
* uinfo.cc (uinfo_init): Call reimpersonate to set the main thread's
impersonation token.

19 years ago* how-using.texinfo: Add FAQ about firewall software. Update
Joshua Daniel Franklin [Tue, 21 Jun 2005 05:52:25 +0000 (05:52 +0000)]
* how-using.texinfo: Add FAQ about firewall software. Update
        section on mounting and specifically note using managed mounts.

19 years agoIndex: include/ChangeLog
Geoffrey Keating [Tue, 21 Jun 2005 00:28:25 +0000 (00:28 +0000)]
Index: include/ChangeLog
2005-06-20  Geoffrey Keating  <geoffk@apple.com>

* libiberty.h (strverscmp): Prototype.

Index: libiberty/ChangeLog
2005-06-20  Geoffrey Keating  <geoffk@apple.com>

* strverscmp.c: New.
* Makefile.in (CFILES): Add strverscmp.c.
(CONFIGURED_OFILES): Add strverscmp.o.
(strverscmp.o): New rule.
(stamp-functions): Add $(srcdir) to files in source directory.
* configure.ac (funcs): Add strverscmp.
(AC_CHECK_FUNCS): Add strverscmp.
* configure: Regenerate.
* functions.texi: Regenerate.

19 years agogas/
H.J. Lu [Mon, 20 Jun 2005 23:18:38 +0000 (23:18 +0000)]
gas/

2005-06-20  H.J. Lu  <hongjiu.lu@intel.com>

PR 1013
* config/tc-i386.c (md_assemble): Don't call optimize_disp on
movabs.
(optimize_disp): Optimize only if possible. Don't use 64bit
displacement on non-constants and do same on constants if
possible.

gas/testsuite/

2005-06-20  H.J. Lu  <hongjiu.lu@intel.com>

PR 1013
* i386/x86_64.s: Add absolute 64bit addressing tests for mov.
* i386/x86_64.s: Updated.

include/opcode/

2005-06-20  H.J. Lu  <hongjiu.lu@intel.com>

PR 1013
* i386.h (i386_optab): Update comments for 64bit addressing on
mov. Allow 64bit addressing for mov and movq.

19 years ago * fhandler_proc.cc (format_proc_partitions): Only list recognized
Corinna Vinschen [Mon, 20 Jun 2005 19:58:26 +0000 (19:58 +0000)]
* fhandler_proc.cc (format_proc_partitions): Only list recognized
partitions.  Use partition number given by PartitionNumber member.

19 years agofix indentation
Christopher Faylor [Mon, 20 Jun 2005 15:33:50 +0000 (15:33 +0000)]
fix indentation

19 years ago * include/winldap.h (ldap_simple_bindW, ldap_simple_bind_sW,
Danny Smith [Sun, 19 Jun 2005 07:25:11 +0000 (07:25 +0000)]
* include/winldap.h (ldap_simple_bindW, ldap_simple_bind_sW,
ldap_bindW, ldap_bind_sW): Change PCHAR arg to PWCHAR.
Thanks to: Christian  <chhd at users dot sf dot net>

19 years ago * glob.c: (glob0): New local variable `limit`. Use in calls to glob1
Corinna Vinschen [Sat, 18 Jun 2005 19:04:25 +0000 (19:04 +0000)]
* glob.c: (glob0): New local variable `limit`. Use in calls to glob1
and globextend.
(glob1): Add `limit' parameter.
(glob2): Ditto.
(glob3): Ditto.
(globextend): Ditto. Implement GLOB_LIMIT handling.
* include/glob.h (GLOB_LIMIT): New define.
* include/cygwin/version.h: Bump API minor number.

19 years agoCorrect typo in ChangeLog
Danny Smith [Sat, 18 Jun 2005 07:53:49 +0000 (07:53 +0000)]
Correct typo in ChangeLog

19 years ago * include/winbase.h (GETTEXTEX): Correct name of lpUsedDefChar field.
Danny Smith [Sat, 18 Jun 2005 07:51:33 +0000 (07:51 +0000)]
* include/winbase.h  (GETTEXTEX): Correct name of lpUsedDefChar field.
Thanks to: Saulius Menkevicius  <bobas at users dot sf dot net>

19 years ago * include/winbase.h (GolbalDiscard): Define as macro.
Danny Smith [Sat, 18 Jun 2005 07:36:02 +0000 (07:36 +0000)]
* include/winbase.h  (GolbalDiscard): Define as macro.
Thanks to: David Golub  <david_golub  at users dot sf dot net>

19 years ago* wincap.h (wincaps::detect_win16_exe): Declare.
Christopher Faylor [Sat, 18 Jun 2005 01:36:18 +0000 (01:36 +0000)]
* wincap.h (wincaps::detect_win16_exe): Declare.
(wincapc::detect_win16_exe): Implement.
* wincap.cc: Populate detect_win16_exe where appropriate.
* spawn.cc (spawn_guts): Only go out of the way to detect 16-bit apps on
systems which are flummoxed by them.

19 years ago* spawn.cc (spawn_guts): Detect when executing a 16-bit application and avoid
Christopher Faylor [Sat, 18 Jun 2005 01:27:06 +0000 (01:27 +0000)]
* spawn.cc (spawn_guts): Detect when executing a 16-bit application and avoid
setting the process pipe since this causes conniptions in Windows 9x.

19 years ago * cygwin.din (inet_pton): Export.
Corinna Vinschen [Fri, 17 Jun 2005 20:01:59 +0000 (20:01 +0000)]
* cygwin.din (inet_pton): Export.
(inet_ntop): Export.
* net.cc (cygwin_inet_pton): Implement inet_pton for AF_INET for now.
(cygwin_inet_ntop): Implement inet_ntop for AF_INET for now.
* include/arpa/inet.h (inet_pton): Declare.
(inet_ntop): Declare.
* include/cygwin/version.h: Bump API minor number.

19 years ago * elf/external.h (GRP_ENTRY_SIZE): Define.
Jakub Jelinek [Fri, 17 Jun 2005 13:37:23 +0000 (13:37 +0000)]
* elf/external.h (GRP_ENTRY_SIZE): Define.

* readelf.c (CHECK_ENTSIZE_VALUES, CHECK_ENTSIZE): Define.
(process_section_headers): Use it.
(process_relocs): Don't crash if symsec is not SHT_SYMTAB
or SHT_DYNSYM.
(process_version_sections): Use sizeof (Elf_External_Versym)
instead of sh_entsize.

19 years ago * fhandler.h (fhandler_union): Add missing members corresponding to
Corinna Vinschen [Fri, 17 Jun 2005 11:44:45 +0000 (11:44 +0000)]
* fhandler.h (fhandler_union): Add missing members corresponding to
fhandler_fifo and fhandler_netdrive.

19 years agobfd/
Jan Beulich [Fri, 17 Jun 2005 08:03:59 +0000 (08:03 +0000)]
bfd/
2005-06-17  Jan Beulich  <jbeulich@novell.com>

* bfd-in2.h (elf_x86_64_reloc_type): Add BFD_RELOC_X86_64_GOTOFF64
and BFD_RELOC_X86_64_GOTPC32.
* libbfd.h (bfd_reloc_code_real_names): Likewise.
* elf64-x86-64.c (x86_64_elf_howto_table): Add entries for
R_X86_64_PC64, R_X86_64_GOTOFF64, and R_X86_64_GOTPC32.
(x86_64_reloc_map): Add entries for R_X86_64_PC64, R_X86_64_GOTOFF64,
and R_X86_64_GOTPC32.
(elf64_x86_64_info_to_howto): Adjust bounding relocation type.
(elf64_x86_64_check_relocs): Also handle R_X86_64_PC64,
R_X86_64_GOTOFF64, and R_X86_64_GOTPC32.
(elf64_x86_64_relocate_section): Likewise.
(elf64_x86_64_gc_sweep_hook): Also handle R_X86_64_PC64.

gas/
2005-06-17  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.c (reloc): Also handle BFD_RELOC_64_PCREL.
(tc_i386_fix_adjustable): Include BFD_RELOC_X86_64_GOTOFF64,
BFD_RELOC_X86_64_DTPOFF64, and BFD_RELOC_X86_64_TPOFF64.
(output_disp): Do GOTPC conversion also for BFD_RELOC_X86_64_32S
and BFD_RELOC_32_PCREL. Use BFD_RELOC_X86_64_GOTPC32 instead of
aborting.
(output_imm): Do GOTPC conversion also for BFD_RELOC_X86_64_32S.
Use BFD_RELOC_X86_64_GOTPC32 instead of aborting.
(tc_gen_reloc): Do GOTPC conversion also for BFD_RELOC_32_PCREL.
Use BFD_RELOC_X86_64_GOTPC32 instead of aborting. Also handle
BFD_RELOC_X86_64_GOTOFF64, BFD_RELOC_X86_64_GOTPC32,
BFD_RELOC_X86_64_DTPOFF64, and BFD_RELOC_X86_64_TPOFF64. Also
convert 8-byte pc-relative relocations.
(lex_got): Use BFD_RELOC_X86_64_GOTOFF64 for 64-bit @gotoff.
(i386_validate_fix): Likewise.
(x86_cons): Also handle quad values in 64-bit mode.
(i386_displacement): Also handle BFD_RELOC_X86_64_GOTOFF64.
(md_apply_fix): Include BFD_RELOC_X86_64_DTPOFF64 and
BFD_RELOC_X86_64_TPOFF64 in the TLS check. Also convert BFD_RELOC_64
to pc-relative variant. Also check for BFD_RELOC_64_PCREL.

gas/testsuite/
2005-06-17  Jan Beulich  <jbeulich@novell.com>

* gas/i386/x86-64-pcrel.s: Add insn requiring 64-bit pc-relative
relocation. Add insns for all widths of non-pc-relative relocations.
* gas/i386/x86-64-pcrel.d: Adjust.

include/elf/
2005-06-17  Jan Beulich  <jbeulich@novell.com>

* x86-64.h (elf_x86_64_reloc_type): Adjust comment for
R_X86_64_GOTPCREL. Add R_X86_64_PC64, R_X86_64_GOTOFF64, and
R_X86_64_GOTPC32.

19 years ago2005-06-16 Christopher Faylor <cgf@timesys.com>
Jeff Johnston [Thu, 16 Jun 2005 19:14:01 +0000 (19:14 +0000)]
2005-06-16  Christopher Faylor  <cgf@timesys.com>

        * libc/stdio/vfprintf.c (cvt): Don't rely on pointer aliasing to
        determine characteristics of long double.  Use a union instead.
        * ldtoa.c (_ldtoa_r): Ditto.
        (_ldcheck): Ditto.
        (_strtold): Ditto.
        (union uconv): New union.

19 years ago * syscalls.cc (statvfs): Handle the case when GetDiskFreeSpaceEx
Corinna Vinschen [Thu, 16 Jun 2005 15:46:40 +0000 (15:46 +0000)]
* syscalls.cc (statvfs): Handle the case when GetDiskFreeSpaceEx
succeeds but GetDiskFreeSpace fails by faking bytes-per-sector and
sectors-per-cluster values.

19 years ago * profile/profile.h (_MCOUNT_CALL): Define as regparm(2)
Danny Smith [Thu, 16 Jun 2005 12:14:21 +0000 (12:14 +0000)]
* profile/profile.h (_MCOUNT_CALL): Define as regparm(2)
(_MCOUNT_DECL): Use it.
(MCOUNT): Save and restore eax, ecx, edx registers.
* profile/mcount.c (_mcount): ANSI-fy.

19 years ago * include/_mingw.h (__MINGW_GNUC_PREREQ): Define. Use to
Danny Smith [Thu, 16 Jun 2005 11:41:49 +0000 (11:41 +0000)]
* include/_mingw.h (__MINGW_GNUC_PREREQ): Define. Use to
guard __MINGW_ATTRIB macro definitions.
* include/math.h (logb[fl]):  Don't define inlines for
GCC-4.0+ && __FAST_MATH__.
(rint[fl], lrint[fl], llrint[fl]); Likewise.  Clean up
line-continuation backslashes.

19 years agoadd missing entry
Christopher Faylor [Wed, 15 Jun 2005 22:51:05 +0000 (22:51 +0000)]
add missing entry

19 years ago* cygthread.cc (cygthread::detach): Fix debugging output.
Christopher Faylor [Wed, 15 Jun 2005 22:50:31 +0000 (22:50 +0000)]
* cygthread.cc (cygthread::detach): Fix debugging output.
* dcrt0.cc (dll_crt0_1): Create signal_arrived early -- before any filename
manipulation.
* sigproc.cc (sigproc_init): Don't create signal_arrived here.
* fork.cc (fork_child): Ditto.

19 years ago* path.cc (path_conv::check): Always reset to FH_FS when component != 0 and
Christopher Faylor [Tue, 14 Jun 2005 23:52:53 +0000 (23:52 +0000)]
* path.cc (path_conv::check): Always reset to FH_FS when component != 0 and
FH_NETDRIVE to fix problems with strict case checking.

19 years ago PR libgcj/19877:
Tom Tromey [Tue, 14 Jun 2005 20:27:38 +0000 (20:27 +0000)]
PR libgcj/19877:
* no-executables.m4: Call real AC_FUNC_MMAP when cache variable
is set but not 'no'.

19 years ago * parse_pe.c (exclusion::sort_and_check): Remove crude cast.
Corinna Vinschen [Tue, 14 Jun 2005 12:42:57 +0000 (12:42 +0000)]
* parse_pe.c (exclusion::sort_and_check): Remove crude cast.

19 years ago * sysv_sem.cc (semu_list): Define static to avoid gcc 4.x compiler
Corinna Vinschen [Tue, 14 Jun 2005 12:22:14 +0000 (12:22 +0000)]
* sysv_sem.cc (semu_list): Define static to avoid gcc 4.x compiler
warning.

19 years ago* depstand.m4, lead-dot.m4: New files.
DJ Delorie [Mon, 13 Jun 2005 18:06:59 +0000 (18:06 +0000)]
* depstand.m4, lead-dot.m4: New files.

19 years ago* depcomp: Update from automake CVS. Add 'ia64hp' stanza.
DJ Delorie [Mon, 13 Jun 2005 18:01:01 +0000 (18:01 +0000)]
* depcomp: Update from automake CVS.  Add 'ia64hp' stanza.
In 'cpp' stanza, support '#line' as well as '# '.

19 years ago * fhandler_socket.cc (fhandler_socket::recvmsg): Avoid SEGV in OpenSSH
Corinna Vinschen [Sun, 12 Jun 2005 12:01:09 +0000 (12:01 +0000)]
* fhandler_socket.cc (fhandler_socket::recvmsg): Avoid SEGV in OpenSSH
when trying to pass file descriptor by setting msg->msg_accrightslen
to 0.

19 years ago* Makefile.in: Avoid initial heap allocation since cygwin has its own heap.
Christopher Faylor [Sat, 11 Jun 2005 21:00:23 +0000 (21:00 +0000)]
* Makefile.in: Avoid initial heap allocation since cygwin has its own heap.

19 years ago * hppa.h (pa_opcodes): Use cM and cX instead of cm and cx,
John David Anglin [Sat, 11 Jun 2005 15:33:52 +0000 (15:33 +0000)]
* hppa.h (pa_opcodes): Use cM and cX instead of cm and cx,
respectively, in various floating-point load and store patterns.

19 years ago* fhandler_console.cc (fhandler_console::read): Fix a compiler warning.
Christopher Faylor [Sat, 11 Jun 2005 05:09:25 +0000 (05:09 +0000)]
* fhandler_console.cc (fhandler_console::read): Fix a compiler warning.

19 years ago* winsup.api/pthread/cancel2.c: Use explicit initializer for mutex.
Christopher Faylor [Sat, 11 Jun 2005 04:59:53 +0000 (04:59 +0000)]
* winsup.api/pthread/cancel2.c: Use explicit initializer for mutex.
* winsup.api/pthread/mutex4.c (main): Ditto.
* winsup.api/pthread/mutex5.c: Reflect change in cygwin default mutex type.
* winsup.api/pthread/mutex6d.c: Ditto.

19 years ago* include/pthread.h: Change PTHREAD_MUTEX_DEFAULT to PTHREAD_MUTEX_NORMAL.
Christopher Faylor [Sat, 11 Jun 2005 04:56:36 +0000 (04:56 +0000)]
* include/pthread.h: Change PTHREAD_MUTEX_DEFAULT to PTHREAD_MUTEX_NORMAL.
Revert PTHREAD_MUTEX_INITIALIZER to PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP
since that is actually closer to what linux does.
* thread.h (cw_cancel_action): New enum.
(cancelable_wait): Use cw_cancel_action as third argument.
* thread.cc (cancelable_wait): Ditto.  Don't wait for cancel if cancel_action
== cw_no_cancel.
(pthread::create): Don't wait for cancel event since that is racy.
(pthread_mutex::pthread_mutex): Set default to PTHREAD_MUTEX_ERRORCHECK.
(pthread_mutexattr::pthread_mutexattr): Ditto.
(pthread_mutex::_lock): Tell cancelable_wait not to wait for cancellation
event.
(semaphore::_timedwait): Accommodate change in cancelable_wait args.
(pthread::join): Ditto.

19 years ago * fhandler_socket.cc (fhandler_socket::sendto): Always initialize
Corinna Vinschen [Fri, 10 Jun 2005 21:47:24 +0000 (21:47 +0000)]
* fhandler_socket.cc (fhandler_socket::sendto): Always initialize
ret to 0.
(fhandler_socket::sendmsg): Ditto.

19 years ago* winsup.api/winsup.exp: Remove (temporarily?) -nostdinc from build since it
Christopher Faylor [Fri, 10 Jun 2005 19:32:29 +0000 (19:32 +0000)]
* winsup.api/winsup.exp: Remove (temporarily?) -nostdinc from build since it
causes compile failures with gcc 3.4.4.

19 years agowhitespace changes to hopefully force snapshot run.
Christopher Faylor [Fri, 10 Jun 2005 18:44:26 +0000 (18:44 +0000)]
whitespace changes to hopefully force snapshot run.

19 years ago * cygwin.din (imaxabs): Export.
Corinna Vinschen [Fri, 10 Jun 2005 12:11:35 +0000 (12:11 +0000)]
* cygwin.din (imaxabs): Export.
(imaxdiv): Export.
(llabs): Export.
(lldiv): Export.
(strtoimax): Export.
(strtoumax): Export.
* include/inttypes.h (imaxabs): Activate declaration.
(imaxdiv): Ditto.
(strtoimax): Ditto.
(strtoumax): Ditto.
* include/cygwin/version.h: Bump API minor.

19 years ago* cygthread.cc (cygthread::detach): Improve diagnostics for what should be an
Christopher Faylor [Thu, 9 Jun 2005 23:48:08 +0000 (23:48 +0000)]
* cygthread.cc (cygthread::detach): Improve diagnostics for what should be an
impossible failure condition.

19 years ago* cygtls.h (_local_storage::setmode_file): New element.
Christopher Faylor [Thu, 9 Jun 2005 22:33:57 +0000 (22:33 +0000)]
* cygtls.h (_local_storage::setmode_file): New element.
(_local_storage::setmode_mode): New element.
* tlsoffsets.h: Regenerate.
* cygwin.din (setmode): Define as cygwin_getmode.
* syscalls.cc (setmode_helper): Use setmode_* variables from tls rather than
using unthreadsafe static.
(setmode): Break out fwalk stuff.
(cygwin_setmode): New function.  Put fwalk stdio stuff here.

19 years ago* thread.cc (pthread_mutex::_lock): Use cancelable_wait rather than
Christopher Faylor [Thu, 9 Jun 2005 20:59:59 +0000 (20:59 +0000)]
* thread.cc (pthread_mutex::_lock): Use cancelable_wait rather than
WaitForSingleObject.

19 years ago* cygwin.sc: Place .cygwin_dll_common in a more sensible spot.
Christopher Faylor [Thu, 9 Jun 2005 20:46:00 +0000 (20:46 +0000)]
* cygwin.sc: Place .cygwin_dll_common in a more sensible spot.

19 years ago* cygwin.sc: Place .cygwin_dll_common.
Christopher Faylor [Thu, 9 Jun 2005 19:29:27 +0000 (19:29 +0000)]
* cygwin.sc: Place .cygwin_dll_common.
* init.cc (threadfunc_ix): Use a more common name for the section name.

19 years ago* include/pthread.h (PTHREAD_MUEXT_INITIALIZER): Change to
Christopher Faylor [Thu, 9 Jun 2005 15:30:44 +0000 (15:30 +0000)]
* include/pthread.h (PTHREAD_MUEXT_INITIALIZER): Change to
PTHREAD_NORMAL_MUTEX_INITIALIZER_NP to be closer to linux default.

19 years ago* thread.cc (cancelable_wait): No-op change to make sure that res is always a
Christopher Faylor [Thu, 9 Jun 2005 05:14:02 +0000 (05:14 +0000)]
* thread.cc (cancelable_wait): No-op change to make sure that res is always a
valid WFMO return.

19 years agoChange pthread::cancelable_wait to just cancelable_wait, throughout.
Christopher Faylor [Thu, 9 Jun 2005 05:11:51 +0000 (05:11 +0000)]
Change pthread::cancelable_wait to just cancelable_wait, throughout.
* thread.h (cw_sig_wait): New enum.
(fast_mutex::lock): Use cancelable_wait with resumable signal.
(cancelable_wait): Change fourth argument to cw_sig_wait enum.
* thread.cc (cancelable_wait): Ditto.  Loop on signal detection if fourth
argument == cw_sig_resume.

19 years ago* cygwin.sc: Apparently nonloading sections need to go last.
Christopher Faylor [Wed, 8 Jun 2005 20:56:34 +0000 (20:56 +0000)]
* cygwin.sc: Apparently nonloading sections need to go last.

19 years ago* cygwin.sc: Restore resource and reloc sections and use more modern syntax for
Christopher Faylor [Wed, 8 Jun 2005 20:18:23 +0000 (20:18 +0000)]
* cygwin.sc: Restore resource and reloc sections and use more modern syntax for
stabs sections.

19 years agoopcodes:
Zack Weinberg [Wed, 8 Jun 2005 17:27:41 +0000 (17:27 +0000)]
opcodes:
* arm-opc.h: Delete; fold contents into ...
* arm-dis.c: ... here.  Move includes of internal COFF headers
next to includes of internal ELF headers.
(streq, WORD_ADDRESS, BDISP, BDISP23): Delete, unused.
(struct arm_opcode): Rename struct opcode32.  Make 'assembler' const.
(struct thumb_opcode): Rename struct opcode16.  Make 'assembler' const.
(arm_conditional, arm_fp_const, arm_shift, arm_regname, regnames)
(iwmmxt_wwnames, iwmmxt_wwssnames):
Make const.
(regnames): Remove iWMMXt coprocessor register sets.
(iwmmxt_regnames, iwmmxt_cregnames): New statics.
(get_arm_regnames): Adjust fourth argument to match above changes.
(set_iwmmxt_regnames): Delete.
(print_insn_arm): Constify 'c'.  Use ISO syntax for function
pointer calls.  Expand sole use of BDISP.  Use iwmmxt_regnames
and iwmmxt_cregnames, not set_iwmmxt_regnames.
(print_insn_thumb16, print_insn_thumb32): Constify 'c'.  Use
ISO syntax for function pointer calls.
include:
* dis-asm.h (get_arm_regnames): Update prototype.

19 years ago* environ.cc (spenvs): Remove cut/paste error which associated CYGWIN_DEBUG
Christopher Faylor [Wed, 8 Jun 2005 15:42:58 +0000 (15:42 +0000)]
* environ.cc (spenvs): Remove cut/paste error which associated CYGWIN_DEBUG
with HOME.

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