Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-06-17bfd/Jan Beulich
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.
2005-06-162005-06-16 Christopher Faylor <cgf@timesys.com>Jeff Johnston
* 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.
2005-06-16 * syscalls.cc (statvfs): Handle the case when GetDiskFreeSpaceExCorinna Vinschen
succeeds but GetDiskFreeSpace fails by faking bytes-per-sector and sectors-per-cluster values.
2005-06-16 * profile/profile.h (_MCOUNT_CALL): Define as regparm(2)Danny Smith
(_MCOUNT_DECL): Use it. (MCOUNT): Save and restore eax, ecx, edx registers. * profile/mcount.c (_mcount): ANSI-fy.
2005-06-16 * include/_mingw.h (__MINGW_GNUC_PREREQ): Define. Use toDanny Smith
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.
2005-06-16add missing entryChristopher Faylor
2005-06-16* cygthread.cc (cygthread::detach): Fix debugging output.Christopher Faylor
* 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.
2005-06-15* path.cc (path_conv::check): Always reset to FH_FS when component != 0 andChristopher Faylor
FH_NETDRIVE to fix problems with strict case checking.
2005-06-15 PR libgcj/19877:Tom Tromey
* no-executables.m4: Call real AC_FUNC_MMAP when cache variable is set but not 'no'.
2005-06-14 * parse_pe.c (exclusion::sort_and_check): Remove crude cast.Corinna Vinschen
2005-06-14 * sysv_sem.cc (semu_list): Define static to avoid gcc 4.x compilerCorinna Vinschen
warning.
2005-06-13* depstand.m4, lead-dot.m4: New files.DJ Delorie
2005-06-13* depcomp: Update from automake CVS. Add 'ia64hp' stanza.DJ Delorie
In 'cpp' stanza, support '#line' as well as '# '.
2005-06-12 * fhandler_socket.cc (fhandler_socket::recvmsg): Avoid SEGV in OpenSSHCorinna Vinschen
when trying to pass file descriptor by setting msg->msg_accrightslen to 0.
2005-06-12* Makefile.in: Avoid initial heap allocation since cygwin has its own heap.Christopher Faylor
2005-06-11 * hppa.h (pa_opcodes): Use cM and cX instead of cm and cx,John David Anglin
respectively, in various floating-point load and store patterns.
2005-06-11* fhandler_console.cc (fhandler_console::read): Fix a compiler warning.Christopher Faylor
2005-06-11* winsup.api/pthread/cancel2.c: Use explicit initializer for mutex.Christopher Faylor
* 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.
2005-06-11* include/pthread.h: Change PTHREAD_MUTEX_DEFAULT to PTHREAD_MUTEX_NORMAL.Christopher Faylor
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.
2005-06-11 * fhandler_socket.cc (fhandler_socket::sendto): Always initializeCorinna Vinschen
ret to 0. (fhandler_socket::sendmsg): Ditto.
2005-06-10* winsup.api/winsup.exp: Remove (temporarily?) -nostdinc from build since itChristopher Faylor
causes compile failures with gcc 3.4.4.
2005-06-10whitespace changes to hopefully force snapshot run.Christopher Faylor
2005-06-10 * cygwin.din (imaxabs): Export.Corinna Vinschen
(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.
2005-06-10* cygthread.cc (cygthread::detach): Improve diagnostics for what should be anChristopher Faylor
impossible failure condition.
2005-06-10* cygtls.h (_local_storage::setmode_file): New element.Christopher Faylor
(_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.
2005-06-10* thread.cc (pthread_mutex::_lock): Use cancelable_wait rather thanChristopher Faylor
WaitForSingleObject.
2005-06-10* cygwin.sc: Place .cygwin_dll_common in a more sensible spot.Christopher Faylor
2005-06-09* cygwin.sc: Place .cygwin_dll_common.Christopher Faylor
* init.cc (threadfunc_ix): Use a more common name for the section name.
2005-06-09* include/pthread.h (PTHREAD_MUEXT_INITIALIZER): Change toChristopher Faylor
PTHREAD_NORMAL_MUTEX_INITIALIZER_NP to be closer to linux default.
2005-06-09* thread.cc (cancelable_wait): No-op change to make sure that res is always aChristopher Faylor
valid WFMO return.
2005-06-09Change pthread::cancelable_wait to just cancelable_wait, throughout.Christopher Faylor
* 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.
2005-06-09* cygwin.sc: Apparently nonloading sections need to go last.Christopher Faylor
2005-06-09* cygwin.sc: Restore resource and reloc sections and use more modern syntax forChristopher Faylor
stabs sections.
2005-06-08opcodes:Zack Weinberg
* 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.
2005-06-08* environ.cc (spenvs): Remove cut/paste error which associated CYGWIN_DEBUGChristopher Faylor
with HOME.
2005-06-08 * security.cc (cygwin_logon_user): Run LogonUser in the primaryCorinna Vinschen
process token context. Fix potential handle leak.
2005-06-08 * common.h (EM_MS1): Define.Aldy Hernandez
* ms1.h: New file.
2005-06-08 * dis-asm.h: Externalize print_insn_ms1.Aldy Hernandez
2005-06-07 * pinfo.cc (pinfo::init): Define sa_buf as PSECURITY_ATTRIBUTES andCorinna Vinschen
allocate dynamically. (pinfo::set_acl): Replace sa_buf by dynamically allocated acl_buf. * sec_acl.cc (setacl): Allocate acl dynamically. * sec_helper.cc (sec_acl): Add test for alignment of acl when DEBUGGING is defined. (__sec_user): Same for sa_buf. * security.cc (verify_token): Define sd_buf as PSECURITY_DESCRIPTOR and allocate dynamically. (alloc_sd): Allocate acl dynamically. security.h (sec_user_nih): Change first parameter to SECURITY_ATTRIBUTES *. (sec_user): Ditto. * sigproc.cc (wait_sig): Define sa_buf as PSECURITY_ATTRIBUTES and allocate dynamically. * syscalls.cc (seteuid32): Define dacl_buf as PACL and allocate dynamically. * uinfo.cc (cygheap_user::init): Define sa_buf as PSECURITY_ATTRIBUTES and allocate dynamically. * winbase.h (ilockincr): Mark first argument of inline assembly as earlyclobber. (ilockdecr): Ditto.
2005-06-07* cygthread.cc (cygthread::detach): Make error message a little more detailed.Christopher Faylor
* fhandler.cc (fhandler_base::raw_read): Ditto for debug message. * dcrt0.cc (do_exit): Add some more synchronization tests. * fhandler_fifo.cc (fhandler_fifo::dup): Don't duplicate a nonexistent handle. Use derived return value rather than always retuning 0. * fhandler_netdrive.cc (fhandler_netdrive::exists): Wnet -> WNet. * winsup.h (exit_states): Add a couple of new exit states.
2005-06-07 * configure.in <cris-*, crisv32-*>: Enable target-libffi again forHans-Peter Nilsson
*-*-linux* and *-*-elf. * configure: Regenerate.
2005-06-07Sync with gcc-toplevelHans-Peter Nilsson
2005-06-07 * configure.in (unsupported_languages): New macro.Hans-Peter Nilsson
<mmix-knuth-mmixware>: Set unsupported_languages. Name explicit non-ported target libraries in noconfigdirs. <cris-*, crisv32-*> Ditto, except for non-aout, non-elf, non-linux-gnu. Remove libgcj_ex_libffi. <lang_frag loop>: Set add_this_lang=no if the language is in unsupported_languages. * configure: Regenerate.
2005-06-07merge from gccDJ Delorie
2005-06-07* cygload/cygload.exp: .cpp -> .cc.Christopher Faylor
2005-06-07* Makefile.in: Test cygload.Christopher Faylor
* cygload: New directory. * cygload/README: New file. * cygload/Makefile: Ditto. * cygload/cygload.h: Ditto. * cygload/cygload.cc: Ditto. * cygload/cygload.exp: Ditto.
2005-06-07reformat ChangeLog entry slightly.Christopher Faylor
2005-06-06* configure.in: Fix typo in handling of --with-mpfr-dir.DJ Delorie
* configure: Regenerate.
2005-06-06 * path.cc (symlink_info::check): If GetFileAttributes returnsCorinna Vinschen
with ERROR_SHARING_VIOLATION, the file exists.
2005-06-06 * uname.cc (uname): Change "amd64" to "x86_64" as on Linux.Corinna Vinschen