69138a8bc5bfd/ * elfxx-mips.c: Adjust comments throughout. (mips_elf_relax_delete_bytes): Reshape code. (_bfd_mips_elf_relax_section): Remove check for R_MICROMIPS_GPREL16 relocations. Reshape code.
Maciej W. Rozycki
2011-07-29 22:46:29 +0000
c487f2fef5Throughout change "WinSock" to "Winsock" in comments. * fhandler_socket.cc (fhandler_socket::sendmsg): Add missing call to get_inet_addr to convert AF_LOCAL to AF_INET sockets. * net.cc (cygwin_socket): Workaround UDP Winsock problem. Add comment to explain why. * select.cc: Include winsock2.h rather than winsock.h.
Corinna Vinschen
2011-07-29 12:47:54 +0000
b1e7a23e54bfd/ 2011-02-25 Chao-ying Fu <fu@mips.com> Ilie Garbacea <ilie@mips.com> Maciej W. Rozycki <macro@codesourcery.com> Joseph Myers <joseph@codesourcery.com> Catherine Moore <clm@codesourcery.com> Richard Sandiford <rdsandiford@googlemail.com>
Richard Sandiford
2011-07-24 14:20:12 +0000
f9576a7ec5include/opcode/ 2011-07-24 Maciej W. Rozycki <macro@codesourcery.com>
Richard Sandiford
2011-07-24 14:04:50 +0000
9d241bcfee* dwarf2.h (DW_AT_GNU_macros): New. (enum dwarf_macro_record_type): New enum. Add DW_MACRO_GNU_*.
Jakub Jelinek
2011-07-22 20:37:50 +0000
671e946ca0Add initial Intel K1OM support.
H.J. Lu
2011-07-22 20:22:36 +0000
da7287ed5d* Makefile.def (language=c++): Add check-c++0x and check-target-libmudflap-c++. * Makefile.tpl (check-target-libmudflap-c++): New. * Makefile.in: Regenerate.
Jason Merrill
2011-07-22 18:20:21 +0000
a2b52d6b29merge from gcc
DJ Delorie
2011-07-22 14:37:51 +0000
e9b5cc32f7Corinna Vinschen <corinna@vinschen.de> * fhandler.cc: Add #include for asm/socket.h for dealing with FIONREAD. (fhandler_base::ioctl): Special-case errno for FIONREAD. * fhandler_dsp.cc (fhandler_dev_dsp::ioctl): Rename parameter for consistency. Call fhandler_base::ioctl to decode default condition. * fhandler_serial.cc (fhandler_serial::ioctl): Ditto. * fhandler_tty.cc (fhandler_pty_slave::ioctl): Call fhandler_base::ioctl to decode default condition. * fhandler_windows.cc (fhandler_windows::ioctl): Ditto.
Christopher Faylor
2011-07-21 20:21:46 +0000
37aeec7f72* heap.cc (eval_start_address): Simplify test for large address awareness of executable, which works for 32 and 64 bit systems. Change comment accordingly.
Corinna Vinschen
2011-07-21 17:52:05 +0000
86719a10d0* heap.cc (eval_start_address): New static function to evaluate the best start address for the application heap. (heap_init): Call eval_start_address to fetch the start value for start_address. Move preceeding comment to eval_start_address.
Corinna Vinschen
2011-07-21 15:23:24 +0000
8a7b0a00df* cygwin.din (pthread_condattr_getclock): Export. (pthread_condattr_setclock): Export. * posix.sgml (std-notimpl): Move pthread_condattr_getclock and pthread_condattr_setclock from here... (std-susv4): ... to here. * sysconf.cc (sca): Set _SC_CLOCK_SELECTION to _POSIX_CLOCK_SELECTION. * thread.cc: (pthread_condattr::pthread_condattr): Initialize clock_id. (pthread_cond::pthread_cond): Initialize clock_id. (pthread_cond_timedwait): Use clock_gettime() instead of gettimeofday() in order to support all allowed clocks. (pthread_condattr_getclock): New function. (pthread_condattr_setclock): New function. * thread.h (class pthread_condattr): Add clock_id member. (class pthread_cond): Ditto. * include/pthread.h: Remove obsolete comment. (pthread_condattr_getclock): Declare. (pthread_condattr_setclock): Declare. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
Yaakov Selkowitz
2011-07-21 09:39:22 +0000
42f8872e61* setup-net.sgml (setup-packages): Reflect removal of Prev button. Also document Keep button and improve description of Exp button.
Andy Koppe
2011-07-20 19:31:05 +0000
b6c42976eb* heap.cc (heap_init): Change type of largest_found to PVOID. Start querying memory at 0x20000000. Use largest_found pointer when trying to allocate largest free memory area found.
Corinna Vinschen
2011-07-18 08:43:49 +0000
ec5c578057correct comment
Christopher Faylor
2011-07-15 20:59:30 +0000
7890be6e7d2011-07-15 Yufeng Zhang <yufeng.zhang@arm.com>
Jeff Johnston
2011-07-15 17:20:16 +0000
c842ff73e7* libc/stdio/fscanf.c (fscanf): Call _vfscanf_r instead of __svfscanf_r to make sure CHECK_INIT is called. (_fscanf_r): Ditto. * /libc/stdio/scanf.c (scanf): Ditto. (_scanf_r): Ditto. * libc/stdio/fwscanf.c (fwscanf): Call _vfwscanf_r instead of __svfwscanf_r to make sure CHECK_INIT is called. (_fwscanf_r): Ditto. * libc/stdio/wscanf.c (wscanf): Ditto. (_wscanf_r): Ditto.
Corinna Vinschen
2011-07-15 08:04:17 +0000
27a249f513include/ * bfdlink.h (struct bfd_link_info): Use ENUM_BITFIELD for strip, discard, common_skip_ar_symbols, unresolved_syms_in_objects, and unresolved_syms_in_shared_libs fields. Move emit_note_gnu_build_id out of bitfields. Reorder bitfields. bfd/ * configure.in: Bump version. * configure: Regenerate.
Alan Modra
2011-07-15 02:36:36 +0000
8924483160* fhandler_console.cc (fhandler_console::input_tcsetattr): Revert to setting ENABLE_PROCESSED_INPUT depending on ISIG and IGNBRK. (fhandler_console::tcgetattr): Set ISIG depending on ENABLE_PROCESSED_INPUT as well.
Corinna Vinschen
2011-07-14 10:02:11 +0000
f55fc99c77* fhandler_serial.cc (fhandler_serial::raw_read): Handle non-blocking case more thoroughly.
Corinna Vinschen
2011-07-13 18:59:41 +0000
b4efd5410c* setup_handler (setup_handler): Change break to goto out, missed in 2011-07-06 changes.
Christopher Faylor
2011-07-13 17:53:21 +0000
415e1ecce4* arm/crt0.S: Support armv6-m processors in libgloss. * arm/swi.h: Likewise. * arm/trap.S: Likewise. * arm/redboot-crt0.S: Likewise. * arm/linux-crt0.c: Likewise. * arm/arm.h: New.
Nick Clifton
2011-07-13 15:06:21 +0000
1d15e018c7* libm/complex/cacos.c: Use temporaries and correct sequencing error in previous reordering change.
Corinna Vinschen
2011-07-13 07:18:54 +0000
e021e18968include/ChangeLog 2011-07-11 Catherine Moore <clm@codesourcery.com>
Catherine Moore
2011-07-11 15:03:08 +0000
c57fc872f5* fhandler_tty.cc (fhandler_pty_slave::ioctl): Remove erroneous support for TIOCLINUX for pty. Get rid of unneeded EINVAL handling in wake of tty removal. Remove now-unneeded variable.
Christopher Faylor
2011-07-11 00:03:55 +0000
14295a59d3pthread_sigmask: fix return value to match POSIX
Eric Blake
2011-07-10 00:01:33 +0000
f6835aecb3PR ld/12942 bfd/ * elflink.c (elf_link_add_object_symbols): Use elf_discarded_section rather than kept_section to determine whether a symbol is from a discarded section. * cofflink.c (coff_link_add_symbols): Make symbols from discarded sections appear undefined.
Alan Modra
2011-07-09 06:20:51 +0000
66965620fc* miscfuncs.cc (yield): Drop thread priority only once.
Corinna Vinschen
2011-07-07 06:21:24 +0000
57e64035f8* exceptions.cc (_cygtls::interrupt_now): Back out previous change since it could theoretically cause a non-CTRL-C-able program if a program has suffered memory corruption. (setup_handler): Ditto.
Christopher Faylor
2011-07-06 18:44:06 +0000
5e6a91549e* sched.c (sched_yield): Just call SwitchToThread because yield now potentially switches CPU.
Corinna Vinschen
2011-07-06 18:35:44 +0000
51b5e9211d* exceptions.cc (_cygtls::interrupt_now): Don't check for spinning here. (setup_handler): Check for spinning here, assuming that it is transitory and should not affect the retry loop.
Christopher Faylor
2011-07-06 18:14:22 +0000
d1204b6378* exceptions.cc (CALL_HANDLER_RETRY_INNER): Rename to reflect different functionality. (CALL_HANDLER_RETRY_OUTER): New define. (setup_handler): Add outer loop to signal handler to try harder to deliver the signal. * miscfuncs.cc (yield): Drop priority and use SleepEx() to force thread rescheduling rather than relying on SwitchToThread().
Christopher Faylor
2011-07-06 16:33:30 +0000
7616b79e0d* fhandler_console.cc (fhandler_console::input_tcsetattr): Make ENABLE_PROCESSED_INPUT flag only depending on value of IGNBRK. (fhandler_console::tcgetattr): Don't set ISIG depending on ENABLE_PROCESSED_INPUT, set IGNBRK instead.
Corinna Vinschen
2011-07-05 18:01:13 +0000
fcacca02dd* fhandler.cc (fhandler_base::open): Don't open file with WRITE_DAC access on remote filesystem. Explain why. * fhandler_disk_file.cc (fhandler_disk_file::mkdir): Ditto for directories. * fhandler_socket.cc (fhandler_socket::bind): Ditto for sockets. * path.cc (symlink_worker): Ditto for symlinks.
Corinna Vinschen
2011-07-05 09:59:34 +0000
3dce4ce653* environ.cc (tty_is_gone): Wrap warning at 80 characters.
Christopher Faylor
2011-07-04 18:14:31 +0000
fc3e7da6b0Throughout, open console handles with sharing for reading and writing. * dcrt0.cc (insert_file): Open file with full sharing allowed. * hookapi.cc (find_first_notloaded_dll): Ditto. * spawn.cc (av::fixup): Ditto.
Corinna Vinschen
2011-07-04 15:25:36 +0000
d3ed549d51* dtable.cc (dtable::init_std_file_from_handle): Change test for console device in call to fh->init to avoid conhost crash on W7.
Corinna Vinschen
2011-07-04 09:47:10 +0000
d51a9c25bd* environ.cc (environ_init): Reinstantiate on-the-fly CYGWIN variable test and call to parse_options if found.
Corinna Vinschen
2011-07-04 09:39:20 +0000
b9a0725042* fhandler.cc (fhandler_base::open_with_arch): Call close_on_exec last to avoid setting close_on_exec for archetype. * fhandler_tty.cc (fhandler_pty_master::setup): Protect {from,to}_pty handles. Use consistent naming in debug output. Use inheritable handles and... (fhandler_pty_master::fixup_after_fork): ...avoid duplicating handles here. (fhandler_pty_slave::open): Don't set close_on_exec flag here.
Christopher Faylor
2011-07-04 05:08:28 +0000
867649762bELFOSABI_GNU
Thomas Schwinge
2011-07-03 13:45:32 +0000
38671b0197ELFOSABI_GNU
Thomas Schwinge
2011-07-03 13:37:08 +0000
c38da4ee1d* dtable.cc (cnew): Fix whitespace.
Christopher Faylor
2011-07-01 22:04:20 +0000
1df99a60b3libgloss: bfin: implement getpid/fstat/stat/link/unlink syscalls
Michael Frysinger
2011-07-01 21:47:36 +0000
071fabe6d9[libiberty/filename_cmp] Darwin has case-insensitive filesystems
Joel Brobecker
2011-07-01 18:24:38 +0000
2d9de442972011-07-01 Eric B. Weddington <eric.weddington@atmel.com>
Eric Weddington
2011-07-01 17:14:03 +0000
0e77c830b6PR binutils/12329 * avr-dis.c (avr_operand): Fix disassembly of ELPM, LPM and SPM insns using post-increment addressing.
Nick Clifton
2011-07-01 16:11:27 +0000
00994759b6* include/sys/param.h (NGROUPS): Redefine as NGROUPS_MAX. (MAXHOSTNAMELEN): Redefine with same value as MAX_HOSTNAME_LEN. Change comment. (MAXPATHLEN): Improve comment. (MAXSYMLINKS): Define and add comment.
Corinna Vinschen
2011-07-01 12:45:25 +0000
9780b0da3c* fhandler.cc (fhandler_base::open): Move NFS-specific code into the code block handling FH_FS stuff.
Corinna Vinschen
2011-07-01 11:23:43 +0000
3d938be6c5* dtable.cc (fh_oom): Remove. (fh_calloc): Remove. (cnew): Redefine to handle NULL returns from cmalloc. (build_fh_name): Accommodate new definition of cnew. Remove unneeded test for fh_oom. (fh_alloc): Ditto.
Corinna Vinschen
2011-06-30 14:04:51 +0000
4b626add7e* fhandler_console.cc (fhandler_console::read): Add comment. (fhandler_console::input_tcsetattr): Don't set ENABLE_PROCESSED_INPUT if IGNBRK flag is set.
Corinna Vinschen
2011-06-30 13:55:57 +0000
9e1fd6bcf7* dtable.cc (fh_oom): New static fhandler storage. (fh_calloc): New static function. Add a comment to explain why this is needed. (cnew): Call fh_calloc as placement argument. (build_fh_name): Check return code from cnew against address of fh_oom to test for out of memory condition. (fh_alloc): Ditto. (build_fh_pc): Avoid a crash due to useing a NULL fhandler. * pipe.cc (fhandler_pipe::create): Check if build_fh_dev returned a valid pointer before using it.
Corinna Vinschen
2011-06-30 09:37:36 +0000
53ffbf09d52011-06-29 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2011-06-29 15:32:09 +0000
cb26eb6868* fhandler_process.cc (heap_info::fill_if_match): Rename info to note that this heap is a Windows heap. (format_process_maps): Print info about application heap.
Corinna Vinschen
2011-06-28 10:21:34 +0000
7e055fdf39* libc/time/mktime.c (mktime): Lock global timezone info while accessing it.
Corinna Vinschen
2011-06-27 10:13:11 +0000
4dfc786b8blibgloss: bfin: handle result2/errcode in sim syscalls
Michael Frysinger
2011-06-22 04:18:45 +0000
3a81efd10elibgloss: bfin: trim trailing whitespace
Michael Frysinger
2011-06-22 03:00:44 +0000
e3b09df6efPR ld/12570 include/ * bfdlink.h (struct bfd_link_info): Add no_ld_generated_unwind_info option. ld/ * emultempl/elf32.em (OPTION_LD_GENERATED_UNWIND_INFO, OPTION_NO_LD_GENERATED_UNWIND_INFO): Define. (gld${EMULATION_NAME}_handle_option): Handle --ld-generated-unwind-info and --no-ld-generated-unwind-info. * ld.texinfo (--ld-generated-unwind-info, --no-ld-generated-unwind-info): Document. bfd/ * elf-eh-frame.c (_bfd_elf_parse_eh_frame): Allow no relocations at all for linker created .eh_frame sections. (_bfd_elf_discard_section_eh_frame): Handle linker created .eh_frame sections with no relocations. * elf64-x86-64.c: Include dwarf2.h. (elf_x86_64_eh_frame_plt): New variable. (PLT_CIE_LENGTH, PLT_FDE_LENGTH, PLT_FDE_START_OFFSET, PLT_FDE_LEN_OFFSET): Define. (struct elf_x86_64_link_hash_table): Add plt_eh_frame field. (elf_x86_64_create_dynamic_sections): Create and fill in .eh_frame section for .plt section. (elf_x86_64_size_dynamic_sections): Write .plt section size into .eh_frame FDE covering .plt section. (elf_x86_64_finish_dynamic_sections): Write .plt section start into .eh_frame FDE covering .plt section. Call _bfd_elf_write_section_eh_frame on htab->plt_eh_frame section. (elf_backend_plt_alignment): Define to 4. * elf32-i386.c: Include dwarf2.h. (elf_i386_eh_frame_plt): New variable. (PLT_CIE_LENGTH, PLT_FDE_LENGTH, PLT_FDE_START_OFFSET, PLT_FDE_LEN_OFFSET): Define. (struct elf_i386_link_hash_table): Add plt_eh_frame field. (elf_i386_create_dynamic_sections): Create and fill in .eh_frame section for .plt section. (elf_i386_size_dynamic_sections): Write .plt section size into .eh_frame FDE covering .plt section. (elf_i386_finish_dynamic_sections): Write .plt section start into .eh_frame FDE covering .plt section. Call _bfd_elf_write_section_eh_frame on htab->plt_eh_frame section. (elf_backend_plt_alignment): Define to 4. ld/testsuite/ * ld-x86-64/x86-64.exp: Link some testcases with --no-ld-generated-unwind-info. * ld-x86-64/tlsbin.rd: Add --no-ld-generated-unwind-info to ld comment. * ld-x86-64/tlsdesc.dd: Likewise. * ld-x86-64/tlspic.dd: Likewise. * ld-x86-64/tlsdesc.sd: Likewise. * ld-x86-64/tlspic.rd: Likewise. * ld-x86-64/tlsbindesc.rd: Likewise. * ld-x86-64/tlsbindesc.sd: Likewise. * ld-x86-64/tlsbin.td: Likewise. * ld-x86-64/tlsdesc.pd: Likewise. * ld-x86-64/tlsdesc.td: Likewise. * ld-x86-64/tlsbindesc.dd: Likewise. * ld-x86-64/tlsbin.dd: Likewise. * ld-x86-64/tlsgdesc.rd: Likewise. * ld-x86-64/tlspic.sd: Likewise. * ld-x86-64/tlsbindesc.td: Likewise. * ld-x86-64/tlspic.td: Likewise. * ld-x86-64/tlsbin.sd: Likewise. * ld-x86-64/ilp32-4.d: Likewise. * ld-x86-64/tlsgdesc.dd: Add --no-ld-generated-unwind-info to ld comment. Adjust. * ld-x86-64/tlsdesc.rd: Likewise. * ld-x86-64/tlsgd6.dd: Adjust. * ld-x86-64/tlsgd5.dd: Likewise. * ld-i386/i386.exp: Link some testcases with --no-ld-generated-unwind-info. * ld-i386/tlsbin.rd: Add --no-ld-generated-unwind-info to ld comment.. * ld-i386/tlsdesc.dd: Likewise. * ld-i386/tlspic.dd: Likewise. * ld-i386/tlsdesc.sd: Likewise. * ld-i386/tlsgdesc.dd: Likewise. * ld-i386/tlsnopic.sd: Likewise. * ld-i386/tlspic.rd: Likewise. * ld-i386/tlsdesc.rd: Likewise. * ld-i386/tlsbindesc.rd: Likewise. * ld-i386/tlsbindesc.sd: Likewise. * ld-i386/tlsbin.td: Likewise. * ld-i386/tlsdesc.td: Likewise. * ld-i386/tlsnopic.dd: Likewise. * ld-i386/tlsbindesc.dd: Likewise. * ld-i386/tlsbin.dd: Likewise. * ld-i386/tlsgdesc.rd: Likewise. * ld-i386/tlspic.sd: Likewise. * ld-i386/tlsnopic.rd: Likewise. * ld-i386/tlsbindesc.td: Likewise. * ld-i386/tlspic.td: Likewise. * ld-i386/tlsbin.sd: Likewise.
Jakub Jelinek
2011-06-20 13:18:48 +0000
e70fc2f8efsim: bfin: fix sign extension in dsp insns with MM flag
Michael Frysinger
2011-06-18 19:42:55 +0000
787908c173* path.cc (normalize_win32_path): Skip all slashes after recognizing a ".." path component. Add comment.
Corinna Vinschen
2011-06-18 08:36:59 +0000
8dbc35cd76opcodes: blackfin: fix style
Michael Frysinger
2011-06-18 06:43:57 +0000
c36cd56c54* fhandler.cc (fhandler_base::open): Drop local create_options variable. Use options member instead. * fhandler.h (class fhandler_base): Change type of access member to ACCESS_MASK. Change get_access and set_access methods accordingly. Add options member. Add get_options and set_options methods. (class fhandler_disk_file): Add prw_handle. (fhandler_disk_file::prw_open): Declare. (fhandler_disk_file::close): Declare. (fhandler_disk_file::dup): Declare. (fhandler_disk_file::fixup_after_fork): Declare. * fhandler_disk_file.cc (fhandler_disk_file::fhandler_disk_file): Initialize prw_handle to NULL. (fhandler_disk_file::close): Close prw_handle. (fhandler_disk_file::dup): New method. (fhandler_disk_file::fixup_after_fork): Set prw_handle to NULL since prw_handle is not inherited. (fhandler_disk_file::prw_open): New method. Add long comment to explain current behaviour. (fhandler_disk_file::pread): Revert previous change. Change to use prw_handle if possible. (fhandler_disk_file::pwrite): Change to use prw_handle if possible.
Corinna Vinschen
2011-06-17 11:04:44 +0000
a716252619* dcrt0.cc (dll_crt0_1): Call strace.dll_info after call to pinfo_init. * strace.cc (strace::hello): Drop printing DLL information here since application info is not always available at this point. (strace::dll_info): New method to print DLL info. * include/sys/strace.h (strace::dll_info): Declare.
Corinna Vinschen
2011-06-17 08:30:27 +0000
2ae8e0e482* dtable.cc (handle_to_fn): Accommodate name change of pty named pipes, otherwise ptys are not recognized.
Corinna Vinschen
2011-06-17 08:27:32 +0000
6f294f8601* fhandler_console.cc (fhandler_console::set_unit): Set pc.file_attributes() to reflect existence. * fhandler.h (fhandler_pty_common::fhandler_pty_common): Ditto. * pinfo.cc (_pinfo::set_ctty): Output device numbers in hex.
Christopher Faylor
2011-06-16 23:00:00 +0000