Commit Graph

  • 0c75a14f2c This commit was manufactured by cvs2svn to create tag 'pre-ptmalloc3'. pre-ptmalloc3 cvs2svn 2013-02-26 10:35:30 +00:00
  • a0467be072 * exception.h (_except_list): Don't define on x86_64. (class exception): Don't define members el and save on x86_64. (exception::~exception): Don't define on x86_64. * exceptions.cc (signal_exit): Fix typo in condition. Corinna Vinschen 2013-02-26 10:35:29 +00:00
  • 27f9446378 Pull in changes from HEAD Corinna Vinschen 2013-02-26 10:32:48 +00:00
  • 1ef8ce71a8 * include/pthread.h (pthread_atfork): Add missing declaration. Corinna Vinschen 2013-02-26 10:32:36 +00:00
  • 1e2c348890 * cygwin64.din: Remove all deprecated cygwin32_foo and cygwin_foo path conversion functions. * path.cc: Disable aforementioned functions on x86_64. * include/sys/cygwin.h: Don't declare aforementioned functions on x86_64. Corinna Vinschen 2013-02-25 12:53:22 +00:00
  • f554dbf1cf * exception.h (class exception): Add handler_installed member. Change parameters to handle method to match high-level exception handler calls. (exception::exception): On x86_64, install exception handler only once. Explain what we do. * exceptions.cc (_AFMT): Change to only 11 digits on x86_64. (cygwin_exception::dump_exception): Print Rip with only 11 digits. Print 64 bit registers with 0-padding. (class stack_info): Add members c and hist on x86_64. (stack_info::init): Take PCONTEXT rather than bool as third parameter. Tweak code accordingly. Initialize c and hist on x86_64. (stack_info::walk): Add implementation for x86_64. Drop unneeded #ifndef in 32 bit code. (cygwin_exception::dumpstack): Call thestack.init with context as parameter. Change header output for x86_64. (cygwin_stackdump): Prefer RtlCaptureContext over GetThreadContext. (CYG_EXC_CONTINUE_EXECUTION): Define generic definition matching all platforms. (CYG_EXC_CONTINUE_SEARCH): Ditto. (exception::handler_installed): Define here. (exception::handle): Define according to declaration in exception.h. Create 32 bit parameters as local variable on 64 bit. Change all return statements to use generic definitions. Simplify setting framep on x86_64. Disable setting frame-based exception handler on x86_64. Fix formatting of klog output for x86_64. (signal_exit): Create context for cygwin_exception creation. (sigpacket::process): Prefer RtlCaptureContext over GetThreadContext. * wincap.h (wincaps::has_rtl_capture_context): New element. * wincap.cc: Implement above element throughout. Corinna Vinschen 2013-02-25 12:44:29 +00:00
  • 434388108f * cygwin.din (_get_osfhandle): Make main export. Define get_osfhandle from here. * cygwin64.din (_get_osfhandle): Rename from get_osfhandle. (_setmode): Rename from setmode. * include/io.h: Ditto. Define unprefixed names with preprocessor macros for backwards source compatibility. (access): Remove. * syscalls.cc (_setmode): Rename from setmode. (cygwin_setmode): Call _setmode. (_get_osfhandle): Rename from get_osfhandle. Corinna Vinschen 2013-02-22 10:02:15 +00:00
  • d177455e48 * configure.ac: Skip check for i686-w64-mingw32-g++ on x86_64. * configure: Regenerate. Yaakov Selkowitz 2013-02-22 06:23:01 +00:00
  • f33928cf35 Pull in changes from HEAD Corinna Vinschen 2013-02-21 12:27:28 +00:00
  • 7080b36417 * libc/include/sys/_types.h (_ssize_t): Define as signed equivalent of size_t with GCC. Corinna Vinschen 2013-02-21 12:27:11 +00:00
  • c8aa46bfbf * libc/include/sys/_types.h (_ssize_t): Define as signed equivalent of size_t with GCC. Corinna Vinschen 2013-02-21 12:27:08 +00:00
  • be7fd57209 * Makefile.in (target_cpu): Define. Check for target_cpu rather than target_alias for conditional compilation issues. Corinna Vinschen 2013-02-21 12:11:29 +00:00
  • 0580eccc44 * Makefile.in (target_cpu): Define. Check for target_cpu rather than target_alias for conditional compilation issues. (toolopts): Change --target into --cpu option and use $target_cpu as argument. ($(DEF_FILE)): Call gendef with $(target_cpu) as argument, rather than with $(target_alias). * gendef: Accommodate change from --target to --cpu option. * mkimport: Ditto. * speclib: Ditto. Corinna Vinschen 2013-02-21 12:02:52 +00:00
  • f73889ef24 Pull in changes from HEAD Corinna Vinschen 2013-02-21 11:26:31 +00:00
  • 7b3739f2ae * include/error.h (error_message_count): Declare as dllimport. (error_one_per_line): Ditto. (error_print_progname): Ditto. Yaakov Selkowitz 2013-02-21 03:15:47 +00:00
  • 7e38f161ea * Makefile.in (CYGWIN_LDFLAGS): Replace -static-lib* with -static. (MINGW_LDFLAGS): Ditto. (ZLIB): Simplify accordingly. Yaakov Selkowitz 2013-02-21 02:13:17 +00:00
  • c678234d4b * cygserver_ipc (class ipc_retval): Add ssize_t member to anonymous union. (ipc_retval::operator =): Add ssize_t variant for x86_64. * fhandler_floppy.cc (fhandler_dev_floppy::raw_write): Change return type to ssize_t to match fhandler.h. * fhandler_socket.cc (fhandler_socket::readv): Ditto. (fhandler_socket::write): Ditto. (fhandler_socket::writev): Ditto. (fhandler_socket::sendmsg): Ditto. Yaakov Selkowitz 2013-02-20 20:15:56 +00:00
  • 6c618f939b * cygcheck.cc (dll_info): Handle x86_64 binaries. Make sure to print only architecture matching cygcheck build, otherwise suffer path evaluation problems. Corinna Vinschen 2013-02-19 14:27:36 +00:00
  • aa102a6a57 * libc/machine/mips/memcpy.S: Fix USE_PREFETCH check. Corinna Vinschen 2013-02-19 07:31:04 +00:00
  • c9a1338099 * libc/machine/mips/memcpy.S: Fix USE_PREFETCH check. Corinna Vinschen 2013-02-19 07:31:03 +00:00
  • c6371eeb8d include/ * bfdlink.h (struct bfd_link_info): Delete emit_note_gnu_build_id. bfd/ * configure.in: Bump version to 2.23.52. * elf-bfd.h (struct elf_build_id_info): New. (struct elf_obj_tdata): Delete after_write_object_contents, after_write_object_contents_info and build_id_size. Make build_id a pointer to struct elf_build_id_info. * elf.c (_bfd_elf_write_object_contents): Style. Update after_write_ibject_contents invocation. (elfobj_grok_gnu_build_id): Update for new build_id struct. Don't allow zero size notes. * configure: Regenerate. gdb/ * elfread.c (struct build_id): Delete. Use struct elf_build_id throughout file instead. (build_id_bfd_get): Update to use new elf_tdata build_id field. Don't xmalloc return value. (build_id_verify): Similarly. Don't xfree. (build_id_to_debug_filename): Update. (find_separate_debug_file_by_buildid): Update, don't xfree. ld/ * emultempl/elf32.em (emit_note_gnu_build_id): New static var. Replace all info->emit_note_gnu_build_id refs. (id_note_section_size): Rename from gld${EMULATION_NAME}_id_note_section_size. (struct build_id_info): Delete. (write_build_id): Rename from gld${EMULATION_NAME}_write_build_id_section. Update elf_tdata usage. Style, formatting. (setup_build_id): New function. (gld${EMULATION_NAME}_after_open): Use setup_build_id. Alan Modra 2013-02-18 23:50:26 +00:00
  • 12d7a509a8 * localtime.cc: Add comment. Corinna Vinschen 2013-02-18 21:09:46 +00:00
  • 601cdcdf09 * localtime.cc: Throughout, pull up to latest code from NetBSD. Corinna Vinschen 2013-02-18 21:00:55 +00:00
  • f0449d56bd * fhandler.cc (fhandler_base::raw_read): Rearrange code to use NtReadFile and to fix problem using pointer to wrongly sized variable on x86_64. (fhandler_base::read): Drop redundant code. * fhandler_disk_file.cc (fhandler_disk_file::pread): Fix function to not read the information twice. Handle STATUS_END_OF_FILE. Corinna Vinschen 2013-02-18 11:38:27 +00:00
  • dcb8390b2e * Makefile.in (libcygwin.a): Move --target flag from here... (toolopts): to here, to be used by both mkimport and speclib. * speclib: Omit leading underscore in symbol names on x86_64. Yaakov Selkowitz 2013-02-18 06:02:38 +00:00
  • 31d307b19e * cygwin.sc.in (.gnu_debuglink_overlay): Drop "64" in dbg file name. Corinna Vinschen 2013-02-17 14:17:38 +00:00
  • 8980da07ac Fix 64-bit type problems in dumper.exe * dumper.cc: Througout, cast pid to unsigned int, change addresses and sizes from DWORD to SIZE_T, and use %p for pointer addresses. (dumper::add_mem_region): Change size type to SIZE_T. (dumper::split_add_mem_region): Ditto. * dumper.h (struct process_mem_region): Change size type to SIZE_T. (class exclusion): Change last, size, and step types to size_t. (exclusion::exclusion): Change argument type to size_t. (exclusion::add): Change mem_size type to SIZE_T. (dumper::add_mem_region): Change size type to SIZE_T. (dumper::split_add_mem_region): Ditto. (psapi_get_module_name): Change BaseAddress type to LPVOID. * module_info.cc (psapi_get_module_name): Ditto. * parse_pe.cc: Througout, change addresses and sizes from DWORD to SIZE_T, and use %p for pointer addresses. (exclusion::add): Change mem_size type to SIZE_T. Yaakov Selkowitz 2013-02-17 12:07:34 +00:00
  • 60fbcae419 * nfs.h: Make sure packing of NFS fattr3 struct is 4 byte. (struct nfs_timestruc_t): Define. (struct fattr3): Define timestamps as type struct nfs_timestruc_t. * fhandler_disk_file.cc (fhandler_base::fstat_by_nfs_ea): Copy each timestruc_t component separately to accommodate different size. Corinna Vinschen 2013-02-16 12:25:40 +00:00
  • 349693687a * configure.ac: Sync with GCC repo. * configure: Ditto. Yufeng Zhang 2013-02-15 17:55:25 +00:00
  • fe9f4830be * configure.ac: Sync with GCC repo. * configure: Ditto. yufeng 2013-02-15 17:55:24 +00:00
  • 2a79a3da46 Forced checkin Corinna Vinschen 2013-02-15 13:36:52 +00:00
  • 53437b6bdc * Makefile.in (toollibdir): Remove. Revert to using tooldir instead. * configure.ac (DLL_NAME): Set to cygwin1.dll in x86_64 case, too. * configure: Regenerate. * cygwin.sc.in (SEARCH_DIR): Align to 32 bit search dir, use lib, rather than lib64. * cygwin64.din (LIBRARY): Set name to cygwin1.dll. * fhandler_process.cc (struct heap_info): Drop win_heap_info class and revert code to former heap_info implementation. (format_process_maps): Define heaps back to heap_info * hookapi.cc (hook_or_detect_cygwin): Add shortcut so the code does not search executable for being a Cygwin executable, if the architecture is not matching the current Cygwin. Always use for "cygwin1.dll". * pinfo.cc (commune_process): Drop PICOM_HEAP_INFO code. (_pinfo::commune_request): Ditto. (_pinfo::win_heap_info): Remove. * pinfo.h (enum picom): Remove PICOM_HEAP_INFO. Corinna Vinschen 2013-02-15 13:36:36 +00:00
  • 400c154e6e * Makefile.in: Do not build or install 32bit DLL for 64bit target. Yaakov Selkowitz 2013-02-15 10:42:16 +00:00
  • d8daabc78b * autoload.cc (two_addr_t): Use __uint64_t as type for the i686 version, analogue to __uint128_t for x86_64. (INIT_WRAPPER): New x86_64 macro to install a sysv_abi function wrapper for the DLL init functions. Add long comment to explain why this is necessary. Create wrapper for std_dll_init and wsock_init. (std_dll_init): Rename with leading underscore on x86_64 and take calling function as argument. Disable overwriting return address on stack for x86_64. (wsock_init): Ditto. Corinna Vinschen 2013-02-14 19:32:02 +00:00
  • df85c52e8c * pathnames.sgml: Remove stray '@'. Christopher Faylor 2013-02-13 18:07:24 +00:00
  • 729c92aaa7 * pathnames.sgml: Clarify '@' processing. Christopher Faylor 2013-02-13 17:57:19 +00:00
  • 1b35f03ed2 * Makefile.in (toollibdir): Define build and target dependent. (install-libs): Use $(toollibdir) rather than $(tooldir)/lib. (uninstall-libs): Ditto. (uninstall-man): Use $(DESTDIR)$(mandir) as in install-man, rather than $(tooldir)/man. Corinna Vinschen 2013-02-13 16:34:03 +00:00
  • 92e12f7af8 * kill.cc (forcekill): Use unsigned int printf format specifier and cast to avoid compiler warnings where DWORD value is used. * regtool.cc: Ditto, throughout. Corinna Vinschen 2013-02-13 15:06:58 +00:00
  • fa33dd9b58 * Makefile.in (cygserver.exe): Make cygwin_build a tooldir (-B instead of -L) to support bootstrapping. Corinna Vinschen 2013-02-13 15:04:46 +00:00
  • e612ee0b2d include/opcode/ binutils-2_23_2 Yufeng Zhang 2013-02-12 15:31:35 +00:00
  • b40dbd2f93 Fix wrongly applied patch Corinna Vinschen 2013-02-12 15:26:30 +00:00
  • 6cb2bb7166 Fix wrongly applied patch Corinna Vinschen 2013-02-12 15:26:30 +00:00
  • 7889fe9f0c * heap.cc (eval_start_address): Move heap to 0x6:00000000. Change comment to explain why. * mmap.cc (MMAP_STORAGE_LOW): Accommodate above change. Corinna Vinschen 2013-02-12 13:25:41 +00:00
  • 7d7f51b8a5 * fhandler_floppy.cc (fhandler_dev_floppy::open): Cast second parameter in roundup2 to same size as first parameter to make sure mask size is correct. * fhandler_process.cc (format_process_maps): Ditto. * fhandler_raw.cc (fhandler_dev_raw::dup): Ditto. * hookapi.cc (find_first_notloaded_dll): Add cast. * spawn.cc (av::fixup): Ditto. * wincap.h: Add comment to explain the folowing change. (wincapc::page_size): Return size_t. (wincapc::allocation_granularity): Ditto. Corinna Vinschen 2013-02-12 11:24:35 +00:00
  • eb2f8e51cc This patch assigns explicit integers to enum values corresponding to the plugin API. This patch helps preventing problems while cherry-picking plugin-api.h changes from trunk gold to local branches. For instance, a linker plugin compiled with a cherry-picked plugin-api.h header with some enum values missing will behave strangely when used with a linker built with the up to date header. Sriraman Tallam 2013-02-11 19:36:56 +00:00
  • 6c90cf82ed * gendef (longjmp): Fix indirect addressing in x86_64 setjmp. Corinna Vinschen 2013-02-11 11:40:18 +00:00
  • 6fb8fc9012 * libgloss/rx/Makefile.in: Respect DESTDIR when installing Corinna Vinschen 2013-02-11 08:28:46 +00:00
  • 72f4690dec * libgloss/rx/Makefile.in: Respect DESTDIR when installing Corinna Vinschen 2013-02-11 08:28:45 +00:00
  • 905e5692df Fix timestamp Corinna Vinschen 2013-02-11 08:23:09 +00:00
  • d6dd8b55dc * cygwin64.din: Add missing symbols. * mkimport: Make sure to use and test against platform dependent "imp" prefix. Corinna Vinschen 2013-02-11 07:51:13 +00:00
  • 29507fecb4 * arm/elf-rdimon.specs (-lrdimon): Change link to lib. Corinna Vinschen 2013-02-10 11:57:51 +00:00
  • 48a2284c94 * arm/elf-rdimon.specs (-lrdimon): Change link to lib. Corinna Vinschen 2013-02-10 11:57:50 +00:00
  • 9c03c7927f * cygwin.sc.in (.rdata): Add .rdata_cygwin_nocopy subsection. (.cygheap): Raise size to 3 Megs on x86_64. * dcrt0.cc (dll_crt0_0): Drop call to init_global_security. * dtable.cc (std_consts): Drop NO_COPY. * errno.cc (errmap): Drop NO_COPY, constify instead. (_sys_errlist): Drop NO_COPY. * fhandler_clipboard.cc (CYGWIN_NATIVE): Ditto. * fhandler_console.cc (keytable): Drop NO_COPY, constify instead. * grp.cc (null_ptr): Make NO_COPY_RO. * heap.cc (eval_start_address): Fix comment. * localtime.cc (wildabbr): Make NO_COPY_RO. (gmt): Ditto. * miscfuncs.cc (case_folded_lower): Drop NO_COPY. (case_folded_upper): Ditto. (isalpha_array): Ditto. (nice_to_winprio): Ditto for priority. (class thread_allocator): New class to allocate thread stack on x86_64. (thr_alloc): Define global NO_COPY instant of thread_allocator. (CygwinCreateThread): Call thr_alloc.alloc on x86_64 to reserve stack. * net.cc (errmap): Drop NO_COPY, constify instead. (host_errmap): Ditto. * netdb.cc (SPACE): Drop NO_COPY. * sec_helper.cc (null_sdp): Static NO_COPY_RO definition of null SD. (sec_none): Define NO_COPY_RO, define content statically. (sec_none_nih): Ditto. (sec_all): Ditto. (sec_all_nih): Ditto. (get_null_sd): Remove. (init_global_security): Remove. * security.cc (file_mapping): Define NO_COPY_RO. (check_registry_access): Ditto for reg_mapping. * spawn.cc (exe_suffixes): Drop NO_COPY, constify instead. (dll_suffixes): Drop unused, disabled definition and comment. * strsig.cc (sys_sigabbrev): Drop NO_COPY_INIT. (sys_siglist): Ditto. * syscalls.cc (def_shells): Drop NO_COPY. * winsup.h (NO_COPY_RO): Define to place variable in .rdata_cygwin_nocopy section. (init_global_security): Drop declaration. Corinna Vinschen 2013-02-09 20:38:03 +00:00
  • c2fd96093a * fhandler_process.cc (win_heap_info::~win_heap_info): Only try to free heap_vm_chunks if it's not NULL. * pinfo.h (struct commune_result): Change type of n to DWORD. * pinfo.cc (_pinfo::commune_request): Change type of n to DWORD to fix subsequent sizeof test after reading from commune pipe on x86_64. Raise read timeout to match write timeout. Corinna Vinschen 2013-02-09 20:29:37 +00:00
  • c2ed8d16f4 * configure: Regenerate to fix wrong ac_unique_file dependency. Corinna Vinschen 2013-02-09 11:13:21 +00:00
  • 036b38c5aa * child_info.h (CURR_CHILD_INFO_MAGIC): Update. (class child_info_fork): Drop extraneous semicolon. Corinna Vinschen 2013-02-09 11:10:15 +00:00
  • eff1da4dfd Fix ChangeLog entries Corinna Vinschen 2013-02-08 20:15:26 +00:00
  • 064e3a9115 * child_info.h (CURR_CHILD_INFO_MAGIC): Update. (class child_info_fork): Drop extraneous semicolon. Corinna Vinschen 2013-02-08 20:15:05 +00:00
  • 5a926e21bb * regparm.h: New file to define platform dependent regparm attributes. Define all of them empty if __CYGMAGIC__ is defined. * cygerrno.h: Include regparm.h instead of defining _reg[123] here. * winsup.h: Ditto. * cygmagic: Define __CYGMAGIC__ to help generate same result on all platforms. * child_info.h (CURR_CHILD_INFO_MAGIC): Update. (class child_info_fork): Drop extraneous semicolon. Corinna Vinschen 2013-02-08 19:42:29 +00:00
  • bc79909179 Enforced checkin Corinna Vinschen 2013-02-08 14:18:12 +00:00
  • 4bcade3e68 * cygwin64.din (BASE): Set to 0x180040000. (_fe_dfl_env): Remove useless symbol. (_fe_nomask_env): Remove useless symbol. (exit): Add missing symbol. (setmode): Ditto. * gendef (longjmp): Convert all displacements to hex for readability. Change all movaps instructions to movdqu to accommodate unaligned access to 128 bit values. Corinna Vinschen 2013-02-08 14:17:48 +00:00
  • be071de851 2013-02-06 Sandra Loosemore <sandra@codesourcery.com> Andrew Jenner <andrew@codesourcery.com> Sandra Loosemore 2013-02-06 23:22:18 +00:00
  • 485738f5e9 * ldd.cc: Drop including inttypes.h. Use %u rather than PRIu32. * mount.cc: Fix type problem with %* expression. * cygcheck.cc: Ditto. Corinna Vinschen 2013-02-06 17:54:25 +00:00
  • 0c42137b60 Throughout, fix type problems on 32 and 64 bit. Except: * ssp.c: Disable entire functionality on x86_64 for now. Corinna Vinschen 2013-02-06 17:03:49 +00:00
  • 454dc45ff8 PR go/55969 * configure.ac: Disable libgo on some systems where it does not work. * configure: Rebuild. Ian Lance Taylor 2013-02-05 22:39:30 +00:00
  • 51ab11f758 PR go/55969 * configure.ac: Disable libgo on some systems where it does not work. * configure: Rebuild. Ian Lance Taylor 2013-02-05 22:39:30 +00:00
  • 7ada71c07a * fhandler_socket.cc (fhandler_socket::bind): Fix error code for empty filename. Corinna Vinschen 2013-02-05 19:54:00 +00:00
  • 9300713adc Pull in changes from HEAD Corinna Vinschen 2013-02-05 15:30:13 +00:00
  • 5ce1b4086a * miscfuncs.cc (RtlFillMemory): Declare. (RtlCopyMemory): Declare. (memset): Just call RtlFillMemory. (memcpy): Just call RtlCopyMemory. * mmap.cc (class mmap_record): Drop enforced packing. Reorder members to allow tight packing on 32 as well as on 64 bit. * include/sys/dirent.h: Don't enforced structure packing on x86_64. (__DIRENT_COOKIE): Use different value on 64 bit. Corinna Vinschen 2013-02-05 15:04:39 +00:00
  • fb21562cf7 * configure: Regenerate after syncing config/. amodra 2013-02-04 23:31:16 +00:00
  • 79a97aa5ea * configure: Regenerate after syncing config/. Alan Modra 2013-02-04 23:31:16 +00:00
  • 8b5978caf3 * gendef (fefunc): Fix incorrect pc-relative jmp instruction. (_sigfe): Fix offset to return address on stack. Add and fix comments. (_sigbe): Fix stack alignment when creating spill area for call to yield. Add and fix comments. (sigdelayed): Add fake push to make sure stack is aligned correctly. Use fake stack alignment on exit to store return address and call ret, rather than jmp. Fix comments. (_cygtls::lock): Only create and destroy spill area when really calling yield. Corinna Vinschen 2013-02-04 17:03:36 +00:00
  • c82b212779 * autoload.cc (LoadDLLfuncEx3): Adjust address computation required by latest change to the 64 bit code. * cygmalloc.h (MALLOC_ALIGNMENT): Set to 16 on x86_64. * cygtls.h: Set struct alignment to 8 on x86_64. Move inclusion of other header files outside of alignment-enforced code area. Drop inclusion of security.h entirely. (_cygtls::get_signal_arrived): Use NULL SECURITY_ATTRIBUTES rather than &sec_none_nih. * gendef (_cygtls::lock): Fix stack alignment. * heap.cc (page_const): Change type to ptrdiff_t, otherwise negation operator in pround creates broken bitmask. * shared.cc (page_const): Add cast to ptrdiff_t. * tlsoffsets64.h: Regenerate. Corinna Vinschen 2013-02-04 15:43:12 +00:00
  • cf4acdbc1f * fhandler_socket.cc (fhandler_socket::bind): Fix error code for empty filename. Corinna Vinschen 2013-02-04 12:21:56 +00:00
  • 188fc1cf6e * fhandler_socket.cc (fhandler_socket::bind): Fix length check of AF_LOCAL filename so it never accesses memory beyond namelen. Also make sure filename is NUL-terminated. Corinna Vinschen 2013-02-04 12:04:20 +00:00
  • db7922e5bc include/coff/ * ti.h (SWAP_OUT_RELOC_EXTRA): Define. bfd/ * coff-tic54x.c (SWAP_OUT_RELOC_EXTRA): Delete. * coff-tic80.c (SWAP_OUT_RELOC_EXTRA): Delete. Alan Modra 2013-02-04 05:25:41 +00:00
  • 92825fd954 * crt0.S: Add recognition of the e3v5 architecture variant. Nick Clifton 2013-02-01 08:29:04 +00:00
  • d1a935615e * crt0.S: Add recognition of the e3v5 architecture variant. Nick Clifton 2013-02-01 08:29:02 +00:00
  • 118e51be1d * DevNotes: Add entry cgf-000022. * cygtls.h (_cygtls::func): Define as a sa_sigaction style function. * exceptions.cc (sig_handle_tty_stop): Ditto. (_cygtls::interrupt_setup): Fix coercion to accommodate 'func' change. (ctrl_c_handler): Use tty kill_pgrp to send a signal. (sigpacket::process): Don't process sigflush here. (_cygtls::call_signal_handler): Reorganize to avoid a race. Always call sa_sigaction style function. * fhandler_termios.cc (is_flush_sig): Define new function. (tty_min::kill_pgrp): Handle tty flush when signal detected. (fhandler_termios::bg_check): Be slightly more paranoid about checking for valid tty. (fhandler_termios::sigflush): Don't flush unless tty owner. * fhandler_tty.cc (fhandler_pty_slave::ioctl): Use tty kill_pgrp to send signal. (fhandler_pty_master::ioctl): Ditto. * signal.cc (killsys): Delete definition. * sigproc.h (killsys): Delete declaration. * include/cygwin/signal.h (siginfo_t): Simplify union/struct nesting slightly. Implement mechanism to allow cygwin data passing. Christopher Faylor 2013-01-31 05:26:47 +00:00
  • 39ff426414 * Makefile.in ($(LIB_NAME)): Add --target option to mkimport call. * gendef: Drop -w option. Make callto sigfe function pc-relative on x86_64. * miscfuncs.cc (__import_address): Drop comment and misguide attempt to handle absolute addressing in x86_64 mode. * mkimport: Add --target option. Handle x86_64 target, especially create pc-relative jmp calls. Corinna Vinschen 2013-01-30 19:42:17 +00:00
  • b0bb7fb5bb This commit was manufactured by cvs2svn to create tag 'sid- snapshot-20130201'. sid-snapshot-20130201 cvs2svn 2013-01-30 16:52:36 +00:00
  • 3371f4c714 PR other/54620 PR target/39064 * md5.h (md5_uintptr, md5_uint32): Define as uintptr_t/uint32_t if stdint.h and sys/types.h headers are present. * sha1.h (sha1_uintptr, sha1_uint32): Likewise. Kai Tietz 2013-01-30 16:52:35 +00:00
  • 077277f22c include/opcode/ Yufeng Zhang 2013-01-30 15:43:31 +00:00
  • fa2c540383 ...and pull in changes from HEAD Corinna Vinschen 2013-01-29 22:16:53 +00:00
  • 85505fbc69 * cygtls.h: Cleanup x86_64 related comment. (_tlsbase): Change return type to PVOID. (_tlstop): Ditto. (_my_tls): Accommodate above change. * dcrt0.cc (child_info_fork::alloc_stack): Revert previous patch, but keep cast to PVOID. (dll_crt0_1): Ditto. * exception.h: Define _exception_list as _EXCEPTION_REGISTRATION_RECORD on x86_64. (_except_list): Define in terms of NtCurrentTeb() on x86_64. * miscfuncs.cc (__import_address): Handle 32 bit absolute addressing in IAT on x86_64. * include/cygwin/config.h (___getreent): New inline function on x86_64. Define __getreent in terms of ___getreent on x86_64. Fix comment accordingly. Corinna Vinschen 2013-01-29 22:15:14 +00:00
  • 76e902b20c Pull in changes from HEAD Corinna Vinschen 2013-01-29 21:54:42 +00:00
  • 0b91e9b602 Update copyrights Corinna Vinschen 2013-01-29 21:50:40 +00:00
  • 4f5b8f9f73 * cygtls.h (_tlsbase): Temporary workaround for GCC bug. (_tlsbase): Ditto. * cygwin64.din: Set BASE temporariliy to address < 32 bit to workaround GDB bug. * dcrt0.cc (child_info_fork::alloc_stack): Temporary workaround for GCC bug. (dll_crt0_1): Ditto. * miscfuncs.cc (memset): Temporary workaround missing MSABI function in newlib. (memcpy): Ditto. * include/cygwin/config.h (__getreent): Drop definition for x86_64 to workaround GCC bug. Corinna Vinschen 2013-01-29 18:29:35 +00:00
  • a51d5e93c8 * libc/include/machine/setjmp.h: Fix definition of _JBTYPE and _JBLEN for 64 bit Cygwin to enforce 16 byte alignment. Change comment to explain. Corinna Vinschen 2013-01-29 17:07:45 +00:00
  • 466b6bd629 Add missing patch Corinna Vinschen 2013-01-29 15:43:30 +00:00
  • 66844e49c2 * winbase.h (ilockcmpexch): Define always. (InterlockedCompareExchange): Ditto. (ilockcmpexch64): Define for x86_64. (InterlockedCompareExchange64): Ditto. (InterlockedCompareExchangePointer): Define in terms of InterlockedCompareExchange64 on x86_64. Corinna Vinschen 2013-01-29 15:26:56 +00:00
  • 09315734dc * libc/ctype/ctype_.c (_ctype_): Fix definition for 64 bit Cygwin. Corinna Vinschen 2013-01-29 14:16:29 +00:00
  • 1540163366 * cygwin.sc.in: Fix ctors and dtors filler and zero-terminator for 64 bit. Corinna Vinschen 2013-01-29 13:02:20 +00:00
  • b73108eb3a * Makefile.in (TEST_DLL_NAME): Fix to use correct name per target. * gendef (fefunc): Resurrect accidentally dropped 32 bit code. Corinna Vinschen 2013-01-29 12:32:16 +00:00
  • 6f7cf3c1ec * heap.cc (eval_start_address): Change address and comment for 64 bit. (eval_initial_heap_size): Change return type to SIZE_T. Use different values for 64 bit. Corinna Vinschen 2013-01-29 11:40:45 +00:00
  • 685bde999d * gendef: Add missing setjmp/longjmp functionality, still untested. Corinna Vinschen 2013-01-28 18:31:44 +00:00
  • 1ecbae339c PR gas/15069 * tic6x-opcode-table.h: Fix encoding of BNOP instruction. Nick Clifton 2013-01-28 15:28:38 +00:00
  • 70cc0fda26 * cygwin.sc.in: Accommodate extra .text, .pdata, and .xdata section on 64 bit. * cygwin64.din: Set BASE to 0x200040000 to start shared sections at 0x200000000. * gendef: Second cut 64 bit assembler functionality, still untested. Corinna Vinschen 2013-01-25 17:07:42 +00:00
  • 1c81cbbda2 Missed commit. sorry Kai Tietz 2013-01-25 15:05:18 +00:00
  • c5f77a4ac4 * autoload.cc (LoadDLLfuncEx3): Adjust assembler for x64 to avoid relocations. (noload): Likewise. Kai Tietz 2013-01-25 14:44:41 +00:00