summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * cygwin.din: Fix some erroneous SIGFE/NOSIGFE settings.Christopher Faylor2006-03-013-43/+59
| | | | | | | * cygthread.cc (cygthread::callfunc): Revert below change. Make ev a manual reset event again. so that it will be reset by WaitFor*Object as appropriate. (cygthread::stub): Ditto. (cygthread::terminate_thread): Reset ev if it was found to have been set.
* * analyze_sigfe: New script.Christopher Faylor2006-03-016-0/+120
| | | | | | | * dllfixdbg: Add copyright. * gendef: Ditto. * gendevices: Ditto. * gentls_offsets: Ditto.
* * cygthread.cc (cygthread::callfunc): Create ev as an auto-reset event so thatChristopher Faylor2006-03-012-8/+11
| | | | | | it will be reset by WaitFor*Object as appropriate. (cygthread::stub): Ditto. (cygthread::terminate_thread): Remove forced setting of thread termination.
* 2006-03-01 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2006-03-012-1/+6
| | | | | PR libgcj/17311 * ltmain.sh: Don't use "$finalize_rpath" for compile.
* * include/sys/dirent.h (struct __DIR): Rename __d_unused toCorinna Vinschen2006-03-015-8/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | __d_internal. * fhandler_disk_file.cc (struct __DIR_cache): Remove useless "typedef". (d_dirname): Remove useless "struct". (d_cachepos): Ditto. (d_cache): Ditto. (class __DIR_mounts): New class, implementing mount point tracking for readdir. (d_mounts): New macro for easy access to __DIR_mounts structure. (fhandler_disk_file::opendir): Allocate __DIR_mounts structure and let __d_internal element of dir point to it. (fhandler_disk_file::readdir_helper): Add mount points in the current directory, which don't have a real directory backing them. Don't generate an inode number for /dev. Add comment, why. (fhandler_disk_file::readdir): Move filling fname to an earlier point. Check if current entry is a mount point and evaluate correct inode number for it. (fhandler_disk_file::readdir_9x): Ditto. (fhandler_disk_file::rewinddir): Set all mount points in this directory to "not found" so that they are listed again after calling rewinddir(). (fhandler_disk_file::closedir): Deallocate __DIR_mounts structure. * path.cc (mount_info::get_mounts_here): New method to evaluate a list of mount points in a given parent directory. * shared_info.h (class mount_info): Declare get_mounts_here.
* Update information about: config-ml.in; makefile.vms; mkdep; setup.com;Nick Clifton2006-03-011-4/+16
| | | | | etc/; intl/; utils/; compile; depcomp; install-sh; missing; ylwrap; config/
* * fhandler_disk_file.cc (fhandler_disk_file::opendir): Use iscygdriveCorinna Vinschen2006-02-283-2/+9
| | | | | instead of isspecial. * path.h (path_conv::iscygdrive): New method.
* * exceptions.cc (_cygtls::interrupt_now): Remove "inside cygwin" check sinceChristopher Faylor2006-02-282-1/+6
| | | | some cygwin functions are meant to be interrupted.
* * cygwin.din: Export __isinff, __isinfd, __isnanf, __isnand.Corinna Vinschen2006-02-283-1/+11
| | | | * include/cygwin/version.h: Bump API minor number to 155.
* * dir.cc (readdir_worker): Use slash as path separator when evaluatingCorinna Vinschen2006-02-283-2/+16
| | | | | | namehash for paths below /proc. * fhandler_netdrive.cc (fhandler_netdrive::readdir): Use expensive inode number evaluation on share names.
* * fhandler_disk_file.cc (fhandler_disk_file::opendir): Only set d_cacheposChristopher Faylor2006-02-282-55/+70
| | | | | | | | under NT or suffer memory corruption. (fhandler_disk_file::readdir_helper): Avoid else with a return. Just calculate extension location once when doing symlink checks. (fhandler_disk_file::readdir): Make debug output more useful. (fhandler_disk_file::readdir_9x): Ditto. Eliminate redundant variable.
* * include/sys/termios.h (cfsetispeed): Just define as a function rather thanChristopher Faylor2006-02-282-21/+29
| | | | | resorting to a macro. (cfsetospeed): Ditto.
* * sigproc.cc: Fix a comment.Christopher Faylor2006-02-282-5/+8
|
* * cygthread.cc (cygthread::release): Add a comment.Christopher Faylor2006-02-282-0/+5
|
* Add missing comment regarding math.h.Jeff Johnston2006-02-281-0/+3
|
* 2006-02-27 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2006-02-2723-387/+388
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am (MATHOBJS_IN_LIBC): Add s_isinfd, sf_isinff, s_isnand, and sf_isnanf object files. * Makefile.in: Regenerated. * libc/include/ieeefp.h: Undef isnan and isinf to avoid conflict if <math.h> has previously been included. * libc/include/math.h * libm/common/Makefile.am: Add new s_isinfd, s_isnand, sf_isinff, and sf_isnanf files. Also support s_isnan, sf_isnan, s_isinf, and sf_isinf files which have been moved from math/mathfp directories. * libm/common/Makefile.in: Regenerated. * libm/common/s_isinfd.c: New file. * libm/common/s_isnand.c: Ditto. * libm/common/sf_isinff.c: Ditto. * libm/common/sf_isnanf.c: Ditto. * libm/common/s_isinf.c: Moved from libm/math directory. * libm/common/s_isnan.c: Ditto. * libm/common/sf_isinf.c: Ditto. * libm/common/sf_isnan.c: Ditto. * libm/math/Makefile.am: Remove isinf and isnan family functions which have been moved into common directory. * libm/mathfp/Makefile.am: Ditto. * libm/math/Makefile.in: Regenerated. * libm/mathfp/Makefile.in: Ditto. * libm/math/s_isinf.c: Removed. * libm/math/s_isnan.c: Ditto. * libm/math/sf_isinf.c: Ditto. * libm/math/sf_isnan.c: Ditto. * libm/mathfp/s_isinf.c: Ditto. * libm/mathfp/s_isnan.c: Ditto. * libm/mathfp/sf_isinf.c: Ditto. * libm/mathfp/sf_isnan.c: Ditto.
* * fhandler_netdrive.cc (fhandler_netdrive::fstat): Create unambiguousCorinna Vinschen2006-02-272-0/+9
| | | | | inode number. (fhandler_netdrive::readdir): Ditto.
* bfd/doc/Carlos O'Donell2006-02-274-17/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-10-14 Carlos O'Donell <carlos@codesourcery.com> * Makefile.am: Add html target. * Makefile.in: Regenerate. bfd/ 2006-10-14 Carlos O'Donell <carlos@codesourcery.com> * po/Make-in: Add html target. binutils/ 2006-10-14 Carlos O'Donell <carlos@codesourcery.com> * po/Make-in: Add html target. gas/ 2006-10-14 Carlos O'Donell <carlos@codesourcery.com> * doc/Makefile.am: Add html target. * doc/Makefile.in: Regenerate. * po/Make-in: Add html target. gprof/ 2006-10-14 Carlos O'Donell <carlos@codesourcery.com> * po/Make-in: Add html target. ld/ 2006-10-14 Carlos O'Donell <carlos@codesourcery.com> * Makefile.am: Add html target. * Makefile.in: Regenerate. * po/Make-in: Add html target. opcodes/ 2006-10-14 Carlos O'Donell <carlos@codesourcery.com> * po/Make-in: Add html target. etc/ 2006-10-14 Carlos O'Donell <carlos@codesourcery.com> * Makefile.in: TEXI2HTML uses makeinfo. Define HTMLFILES. Add html targets. * configure.texi: Use ifnottex. Add alternative image format specifier as jpg. * standards.texi: Use ifnottex. intl/ 2006-10-14 Carlos O'Donell <carlos@codesourcery.com> * intl/Makefile.in: Add html target.
* gas/H.J. Lu2006-02-272-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-02-27 H.J. Lu <hongjiu.lu@intel.com> * gas/config/tc-i386.c (output_insn): Support Intel Merom New Instructions. * gas/config/tc-i386.h (CpuMNI): New. (CpuUnknownFlags): Add CpuMNI. gas/testsuite/ 2006-02-27 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/i386.exp: Add merom and x86-64-merom. * gas/i386/merom.d: New file. * gas/i386/merom.s: Likewise. * gas/i386/x86-64-merom.d: Likewise. * gas/i386/x86-64-merom.s: Likewise. include/opcode/ 2006-02-27 H.J. Lu <hongjiu.lu@intel.com> * i386.h (i386_optab): Support Intel Merom New Instructions. opcodes/ 2006-02-27 H.J. Lu <hongjiu.lu@intel.com> * i386-dis.c (IS_3BYTE_OPCODE): New for 3-byte opcodes used by Intel Merom New Instructions. (THREE_BYTE_0): Likewise. (THREE_BYTE_1): Likewise. (three_byte_table): Likewise. (dis386_twobyte): Use THREE_BYTE_0 for entry 0x38. Use THREE_BYTE_1 for entry 0x3a. (twobyte_has_modrm): Updated. (twobyte_uses_SSE_prefix): Likewise. (print_insn): Handle 3-byte opcodes used by Intel Merom New Instructions.
* [include/elf]DJ Delorie2006-02-242-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * m32c.h: Add relax relocs. [cpu] * m32c.cpu (RL_TYPE): New attribute, with macros. (Lab-8-24): Add RELAX. (unary-insn-defn-g, binary-arith-imm-dst-defn, binary-arith-imm4-dst-defn): Add 1ADDR attribute. (binary-arith-src-dst-defn): Add 2ADDR attribute. (jcnd16-5, jcnd16, jcnd32, jmp16.s, jmp16.b, jmp16.w, jmp16.a, jmp32.s, jmp32.b, jmp32.w, jmp32.a, jsr16.w, jsr16.a): Add JUMP attribute. (jsri16, jsri32): Add 1ADDR attribute. (jsr32.w, jsr32.a): Add JUMP attribute. [opcodes] * m32c-desc.c: Regenerate with linker relaxation attributes. * m32c-desc.h: Likewise. * m32c-dis.c: Likewise. * m32c-opc.c: Likewise. [gas] * config/tc-m32c.h (md_apply_fix): Define to m32c_apply_fix. (tc_gen_reloc): Don't define. * config/tc-m32c.c (rl_for, relaxable): New convenience macros. (OPTION_LINKRELAX): New. (md_longopts): Add it. (m32c_relax): New. (md_parse_options): Set it. (md_assemble): Emit relaxation relocs as needed. (md_convert_frag): Emit relaxation relocs as needed. (md_cgen_lookup_reloc): Add LAB_8_8 and LAB_8_16. (m32c_apply_fix): New. (tc_gen_reloc): New. (m32c_force_relocation): Force out jump relocs when relaxing. (m32c_fix_adjustable): Return false if relaxing. [bfd] * elf32-m32c.c (m32c_elf_howto_table): Add relaxation relocs. (m32c_elf_relocate_section): Don't relocate them. (compare_reloc): New. (relax_reloc): Remove. (m32c_offset_for_reloc): New. (m16c_addr_encodings): New. (m16c_jmpaddr_encodings): New. (m32c_addr_encodings): New. (m32c_elf_relax_section): Relax jumps and address displacements. (m32c_elf_relax_delete_bytes): Adjust for internal syms. Fix up short jumps. * reloc.c: Add m32c relax relocs. * libbfd.h: Regenerate.
* * sigproc.cc (sigheld): Define new variable.Christopher Faylor2006-02-242-3/+26
| | | | | | (sig_dispatch_pending): Don't check sigq since that's racy. (sig_send): Set sigheld flag if __SIGHOLD is specified, reset it if __SIGNOHOLD is specified. Ignore flush signals if we're holding signals.
* 2006-02-24 Paul Brook <paul@codesourcery.com>Jeff Johnston2006-02-242-0/+8
| | | | * arm/redboot-crt0.S: Use cps in Thumb-2 mode.
* 2006-02-24 Paul Brook <paul@codesourcery.com>Paul Brook2006-02-242-5/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gas/ * config/arm/tc-arm.c (arm_ext_v6_notm, arm_ext_div, arm_ext_v7, arm_ext_v7a, arm_ext_v7r, arm_ext_v7m): New variables. (struct asm_barrier_opt): Define. (arm_v7m_psr_hsh, arm_barrier_opt_hsh): New variables. (parse_psr): Accept V7M psr names. (parse_barrier): New function. (enum operand_parse_code): Add OP_oBARRIER. (parse_operands): Implement OP_oBARRIER. (do_barrier): New function. (do_dbg, do_pli, do_t_barrier, do_t_dbg, do_t_div): New functions. (do_t_cpsi): Add V7M restrictions. (do_t_mrs, do_t_msr): Validate V7M variants. (md_assemble): Check for NULL variants. (v7m_psrs, barrier_opt_names): New tables. (insns): Add V7 instructions. Mark V6 instructions absent from V7M. (md_begin): Initialize arm_v7m_psr_hsh and arm_barrier_opt_hsh. (arm_cpu_option_table): Add Cortex-M3, R4 and A8. (arm_arch_option_table): Add armv7, armv7a, armv7r and armv7m. (struct cpu_arch_ver_table): Define. (cpu_arch_ver): New. (aeabi_set_public_attributes): Use cpu_arch_ver. Set Tag_CPU_arch_profile. * doc/c-arm.texi: Document new cpu and arch options. gas/testsuite/ * gas/arm/thumb32.d: Fix expected msr and mrs output. * gas/arm/arch7.d: New test. * gas/arm/arch7.s: New test. * gas/arm/arch7m-bad.l: New test. * gas/arm/arch7m-bad.d: New test. * gas/arm/arch7m-bad.s: New test. include/opcode/ * arm.h: Add V7 feature bits. opcodes/ * arm-dis.c (arm_opcodes): Add V7 instructions. (thumb32_opcodes): Ditto. Handle V7M MSR/MRS variants. (print_arm_address): New function. (print_insn_arm): Use it. Add 'P' and 'U' cases. (psr_name): New function. (print_insn_thumb32): Add 'U', 'C' and 'D' cases.
* * cygwin.din (_exit): Use signal front end.Christopher Faylor2006-02-242-2/+7
| | | | (exit): Ditto.
* bfd/H.J. Lu2006-02-232-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-02-23 H.J. Lu <hongjiu.lu@intel.com> * cpu-ia64-opc.c (ins_immu5b): New. (ext_immu5b): Likewise. (elf64_ia64_operands): Add IMMU5b. gas/ 2006-02-23 H.J. Lu <hongjiu.lu@intel.com> * config/tc-ia64.c (operand_match): Handle IA64_OPND_IMMU5b. gas/testsuite/ 2006-02-23 H.J. Lu <hongjiu.lu@intel.com> * gas/ia64/opc-i.s: Add tests for tf. * gas/ia64/pseudo.s: Likewise. * gas/ia64/opc-i.d: Updated. * gas/ia64/pseudo.d: Likewise. include/opcode/ 2006-02-23 H.J. Lu <hongjiu.lu@intel.com> * ia64.h (ia64_opnd): Add IA64_OPND_IMMU5b. opcodes/ 2006-02-23 H.J. Lu <hongjiu.lu@intel.com> * ia64-opc-i.c (bXc): New. (mXc): Likewise. (OpX2TaTbYaXcC): Likewise. (TF). Likewise. (TFCM). Likewise. (ia64_opcodes_i): Add instructions for tf. * ia64-opc.h (IMMU5b): New. * ia64-asmtab.c: Regenerated.
* * winsup.h (cygwin_hmodule): Declare.Christopher Faylor2006-02-235-10/+29
| | | | | | | | | * exceptions.cc (inside_kernel): Reverse return values to reflect function name. Return true if we're in cygwin1.dll or if we're executing in dll_entry. (_cygtls::interrupt_now): Reflect reversal of inside_kernel return value. * hookapi.cc (cygwin_hmodule): Remove declaration. * init.cc (dll_entry): Use in_dllentry global to record that we are executing in dllentry.
* 2006-02-22 Nathan Sidwell <nathan@codesourcery.com>Jeff Johnston2006-02-224-2/+144
| | | | | | | | | | * m68k/Makefile.in (CF_SCRIPTS): New. (all): Add CF_SCRIPTS. (m5208evb.ld, m5213evb.ld, m5235evb.ld, m5272c3.ld, m5282evb.ld): New targets (install): Iterate over CF_SCRIPTS. * m68k/crt0.S: Don't use dbra on any cf chips. * m68k/dbug-cf.sc: New.
* * exceptions.cc (_cygtls::interrupt_now): Reorder conditionalCorinna Vinschen2006-02-222-1/+6
| | | | to call inside_kernel only if this isn't locked.
* * fhandler.cc (fhandler_base::open): Add FILE_READ_ATTRIBUTES toCorinna Vinschen2006-02-222-2/+8
| | | | | access flags in case of query_read_control case, add FILE_READ_DATA in case of query_stat_control.
* * include/ddk/ntifs,h (FILE_ID_FULL_DIRECTORY_INFORMATION): RevertDanny Smith2006-02-212-5/+6
| | | | | last change. Remove file level #pragma pack(push,4)/#pragma pop.
* 2006-02-20 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2006-02-203-1/+25
| | | | | | | * libc/stdio/fflush.c (fflush): For an fflush on a read-only stream, turn off fseek/rewind optimization as per POSIX/SUSv3. * libc/stdio/fseek.c (_fseek_r): After a successful unoptimized seek, turn off the __SNPT no-optimization flag.
* fix typoChristopher Faylor2006-02-201-1/+1
|
* * spawn.cc (av::fixup): Check for .bat and friends specifically now since theseChristopher Faylor2006-02-202-2/+11
| | | | extensions are no longer automatically detected.
* 2006-02-20 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini2006-02-206-1888/+2152
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR bootstrap/25670 * Makefile.tpl ([+compare-target+]): Print explanation messages. * Makefile.def (ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES): New flags_to_pass. * Makefile.tpl (BASE_FLAGS_TO_PASS): Support optional flags_to_pass. (EXTRA_GCC_FLAGS): Remove ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES, BUILD_PREFIX, BUILD_PREFIX_1. * configure.in: (BUILD_PREFIX, BUILD_PREFIX_1): Don't substitute. * Makefile.def (bootstrap stage 1): Pass LIBCFLAGS too. * Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Override LIBCFLAGS too. * Makefile.tpl (configure-stage[+id+]-[+prefix+][+module+], all-stage[+id+]-[+prefix+][+module+], : Use $(current_stage) instead of `cat stage_current`. Always provide the `r' and `s' variables. (clean-stage[+id+]-[+prefix+][+module+]): Likewise, and make it into a single shell execution. (configure-[+prefix+][+module+], all-[+prefix+][+module+]): For bootstrapped modules, make the stage1 module if the build was not started yet, else build the current stage. (all-host, all-target): Omit bootstrapped modules (if bootstrapping). (all-build, all-host, all-target, [+make_target+]-host, [+make_target+]-target): Do not use \-continued lines. (target modules): Depend on stage_last, not all-gcc, if bootstrapping. (current_stage, restrap, stage_last): New. * Makefile.in: Regenerate. * configure: Regenerate.
* revert erroneous checkinChristopher Faylor2006-02-202-13/+0
|
* * exceptions.cc (stackdump): Avoid dumping more than once.Christopher Faylor2006-02-204-1/+21
|
* * fhandler_disk_file.cc (fhandler_disk_file::opendir): Use NtOpenFile to openChristopher Faylor2006-02-192-6/+25
| | | | | | the directory. (fhandler_disk_file::readdir): Use NT_SUCCESS to determine if status represents success.
* * include/ddk/ntifs.h (FILE_ID_FULL_DIRECTORY_INFORMATION): Add fillerCorinna Vinschen2006-02-192-0/+6
| | | | value to force correct alignment.
* * include/commctrl.h (LPNMLVCACHEHINT): Correct spelling.Danny Smith2006-02-192-1/+11
| | | | | | Thanks to: Sebastian Pipping <hartwork at users dot sf dot net> (PNM_CACHEHINT): Add backward compatibilty define. (LPNM_CACHEHINT): Likewise.
* * fhandler_disk_file.cc (fhandler_disk_file::opendir): Drop generatingCorinna Vinschen2006-02-192-1/+5
| | | | path_conv for root.
* * fhandler_disk_file.cc (FS_IS_SAMBA): Move out ofCorinna Vinschen2006-02-183-5/+35
| | | | | | | | path_conv::hasgood_inode. (path_conv::is_samba): New method. (fhandler_base::fstat_by_handle): Don't even try to use FileIdBothDirectoryInformation on Samba. * path.h (class path_conv): Declare is_samba method.
* * path.cc (conv_path_list): Eat empty paths when converting to POSIX.Christopher Faylor2006-02-172-16/+44
| | | | | (cygwin_conv_to_win32_path): Deal with Cygwin's necessity of adding a '/' to the end of a path ending in '.'.
* Add support for the Infineon XC16X.Nick Clifton2006-02-175-57/+114
|
* * cygpath.cc (get_long_name): Load GetLongPathNameA instead of incorrectCorinna Vinschen2006-02-172-3/+10
| | | | | | GetLongPathName. (doit): Create mixed filename after converting to short or long pathname respectively.
* * ps.cc (main): Set aflag if -p option is given.Corinna Vinschen2006-02-172-0/+5
|
* 2006-02-16 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2006-02-163-1/+10
| | | | | | | * libc/sys/linux/aio.c: Define _GNU_SOURCE so struct aioinit will be defined. * libc/sys/linux/sys/types.h: Move <sys/config.h> ahead of <features.h> to preset special flags.
* * cygwin.din: Export sigignore and sigset.Corinna Vinschen2006-02-165-1/+63
| | | | | | | | | * exceptions.cc (sigset): New function. (sigignore): New function. * include/cygwin/signal.h (SIG_HOLD): Define. (sigignore): Declare. (sigset): Declare. * include/cygwin/version.h: Bump API minor number to 154.
* * ps.cc (longopts): Add --process option.Corinna Vinschen2006-02-163-4/+24
| | | | | | | (opts): Add -p option. (usage): Mention -p/--process option. (main): Handle -p option. * utils.sgml: Describe -p/--process option.
* minor comment restructuringChristopher Faylor2006-02-152-7/+5
|
* * regtool.cc (usage): Clarify help for "-K".Corinna Vinschen2006-02-152-1/+5
|