summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 2007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>Jeff Johnston2007-02-202-0/+5
| | | | * libc/include/stdio.h: Add declaration for vsiprintf.
* * cygcheck.cc (dump_sysinfo): Add "not supported" to osname on 9xCorinna Vinschen2007-02-202-12/+12
| | | | | machines. Drop "not supported" for Vista. Drop "Longhorn" text for now.
* * cygwin.din (sem_unlink): Export.Corinna Vinschen2007-02-209-292/+555
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * posix_ipc.cc: Include thread.h and semaphore.h. Remove TODO comment. (ipc_names): Add max_len member. Set to maximum length of the path before tacking on the prefix path. Set prefix path for named semaphors to /dev/shm, as on Linux. (enum ipc_type_t): Change sem to semaphore to avoid name conflicts. (check_path): Detect empty paths. Use ipc_names's max_len member. Use __small_sprintf to create full object path name. Special case semaphores. (ipc_cond_init): Drop superfluous strcpy. (class ipc_flock): New class to simplify file locking in subsequent code. (struct mq_hdr): Raise size of mqh_uname to allow adding a unique LUID to the name. (mq_open): Fix formatting. Create unique synchronization object names using AllocateLocallyUniqueId. (struct sem_finfo): New structure defining named semaphore file content. (sem_open): Move here. Rework implementation to allow kernel persistent implementation of POSIX named semaphores. (_sem_close): Implement sem_close. (sem_close): Move here. Just call _sem_close with do_close parameter set to true. (sem_unlink): New function. * pthread.cc (mangle_sem_name): Remove. (sem_open): Move to posix_ipc.cc. (sem_close): Ditto. * syscalls.cc (close_all_files): Call semaphore::terminate here. * thread.cc: Fix formatting. Rearrange semaphore functions so that they are close together. (semaphore::semaphore): Rework to play nicely with new named semaphore implementation. (semaphore::_terminate): Call _sem_close if semaphore is a named semaphore. (semaphore::destroy): Don't destroy named semaphores. Return EINVAL instead. (semaphore::close): Only destroy named semaphores. Return EINVAL otherwise. (semaphore::open): Rework to play nicely with new named semaphore implementation. Loop through existing semaphores to be able to return same sem_t pointer as a former call on the same named semaphore. (semaphore::getinternal): New function called from _sem_close. * thread.h (class List): Make mx and head public. (class semaphore): Fix formatting. Align method declarations with implementation in thread.cc. Add members used for named semaphores. (semaphore::terminate): New static method. * include/semaphore.h: Redefine SEM_FAILED. Fix formatting. (sem_unlink): Add declaration. * include/cygwin/version.h: Bump API minor number.
* * exceptions.cc (_cygtls::signal_exit): Only call myself.exit when whenChristopher Faylor2007-02-204-5/+13
| | | | | | | exit_state indicates that we've visited do_exit. * sync.h (lock_process::lock_process): Use renamed exit_state - ES_PROCESS_LOCKED. * winsup.h: Rename ES_MUTO_SET to ES_PROCESS_LOCKED.
* [ gas/ChangeLog ]Thiemo Seufer2007-02-202-3/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * config/tc-mips.c (mips_set_options, mips_opts, file_ase_dspr2, ISA_SUPPORTS_DSPR2_ASE, MIPS_CPU_ASE_DSPR2): Add DSP R2 ASE support. (macro_build): Add case '2'. (macro): Expand M_BALIGN to nop, packrl.ph or balign. (validate_mips_insn): Add support for balign instruction. (mips_ip): Handle DSP R2 instructions. Support balign instruction. (OPTION_DSPR2, OPTION_NO_DSPR2, OPTION_COMPAT_ARCH_BASE, md_parse_option, mips_after_parse_args): Add -mdspr2 and -mno-dspr2 command line options. (s_mipsset): Add support for .set dspr2 and .set nodspr2 directives. (md_show_usage): Add -mdspr2 and -mno-dspr2 help output. * doc/c-mips.texi, doc/as.texinfo: Document -mdspr2, -mno-dspr2, .set dspr2, .set nodspr2. [ gas/testsuite/ChangeLog ] * gas/mips/mips32-dspr2.s, gas/mips/mips32-dspr2.d: New test for DSP R2. * gas/mips/mips.exp: Run new test. [ include/opcode/Changelog ] * mips.h (OP_SH_BP, OP_MASK_BP): Add support for balign instruction. (INSN_DSPR2): Add flag for DSP R2 instructions. (M_BALIGN): New macro. [ opcodes/ChangeLog ] * mips-dis.c (mips_arch_choices): Add DSP R2 support. (print_insn_args): Add support for balign instruction. * mips-opc.c (D33): New shortcut for DSP R2 instructions. (mips_builtin_opcodes): Add DSP R2 instructions. [ sim/mips/ChangeLog ] * Makefile.in (IGEN_INCLUDE): Add dsp2.igen. * configure.ac (mips*-sde-elf*, mipsisa32r2*-*-*, mipsisa64r2*-*-*): Add dsp2 to sim_igen_machine. * configure: Regenerate. * dsp.igen (do_ph_op): Add MUL support when op = 2. (do_ph_mulq): New function to support mulq_rs.ph and mulq_s.ph. (mulq_rs.ph): Use do_ph_mulq. (MFHI, MFLO, MTHI, MTLO): Move these instructions to mips.igen. * mips.igen: Add dsp2 model and include dsp2.igen. (MFHI, MFLO, MTHI, MTLO): Extend these instructions for for *mips32r2, *mips64r2, *dsp. (MADD, MADDU, MSUB, MSUBU, MULT, MULTU): Extend these instructions for *mips32r2, *mips64r2, *dsp2. * dsp2.igen: New file for MIPS DSP REV 2 ASE. [ sim/testsuite/sim/mips/ChangeLog ] * basic.exp: Run the dsp2 test. * utils-dsp.inc (dspckacc_astio, dspck_tsimm): New macro. * mips32-dsp2.s: New test.
* * fhandler_socket.cc (fhandler_socket::bind): Remove printing wrongCorinna Vinschen2007-02-202-2/+7
| | | | errno in debug output.
* Remove extraneous whitespace.Christopher Faylor2007-02-2018-162/+166
| | | | | | * pinfo.cc (commune_process): Use default argument to lock_process. * sigproc.cc: Update copyright. * select.cc: Ditto.
* * configure.ac: Adjust for loop syntax.Joseph Myers2007-02-193-2/+9
| | | | * configure: Regenerate.
* ChangeLog:Alexandre Oliva2007-02-184-27/+1460
| | | | | | | | | | * configure: Rebuilt. config/ChangeLog: * acx.m4 (NCN_STRICT_CHECK_TOOLS): Mark environment variable as precious. Prefer it over a cached value. Use cached value verbosely. (NCN_STRICT_CHECK_TARGET_TOOLS): Likewise. Don't override environment variable with build-time tools.
* * configure.ac: Drop multiple occurrences of --enable-languages,Alexandre Oliva2007-02-183-2/+8
| | | | | and fix its quoting. * configure: Rebuilt.
* Correct spelling of submitter's name in ChangeLog.Danny Smith2007-02-181-1/+1
|
* 2007-02-18 Aurimas Cernius <aurisc4@gmail.com>Danny Smith2007-02-182-4/+8
| | | | * include/excpt.h: Replace "_try1" in comments with "__try1".
* 2007-02-18 Jiri Malak <jiri.malak@iol.cz>Danny Smith2007-02-184-4/+23
| | | | | | | | | | | * include/windef.h [WATCOM]: Fix !NONAMELESSUNION defines. * include/winnt.h [WATCOM] (GetCurrentFiber, GetFiberData): Add prototypes. [WATCOM] (NtCurrentTeb): Add protype and inline asm definition. 2007-02-18 Vesa Jskelinen <chaac@users.sourveforge.net> * lib/user32.def (InternalGetWindowText): Add stub.
* top level:Joseph Myers2007-02-175-21/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-02-17 Mark Mitchell <mark@codesourcery.com> Nathan Sidwell <nathan@codesourcery.com> Vladimir Prus <vladimir@codesourcery.com Joseph Myers <joseph@codesourcery.com> * configure.ac (TOPLEVEL_CONFIGURE_ARGUMENTS): Fix quoting. * configure: Regenerate. bfd: 2007-02-17 Mark Mitchell <mark@codesourcery.com> Nathan Sidwell <nathan@codesourcery.com> Vladimir Prus <vladimir@codesourcery.com Joseph Myers <joseph@codesourcery.com> * configure.in (--with-pkgversion): New option. * configure: Regenerate. * Makefile.am (bfdver.h): Substitute for @bfd_version_package@. * Makefile.in: Regenerate. * version.h (BFD_VERSION_STRING): Define using @bfd_version_package@. bfd/doc: 2007-02-17 Mark Mitchell <mark@codesourcery.com> Nathan Sidwell <nathan@codesourcery.com> Vladimir Prus <vladimir@codesourcery.com Joseph Myers <joseph@codesourcery.com> * Makefile.in: Regenerate. binutils: 2007-02-17 Mark Mitchell <mark@codesourcery.com> Nathan Sidwell <nathan@codesourcery.com> Vladimir Prus <vladimir@codesourcery.com Joseph Myers <joseph@codesourcery.com> * configure.in (--with-bugurl): New option. * configure: Regenerate. * Makefile.am (REPORT_BUGS_TO): Define. (INCLUDES): Define REPORT_BUGS_TO. Regenerate dependencies. * Makefile.in: Regenerate. * doc/Makefile.in: Regenerate. * bucomm.h: Remove include of bin-bugs.h. * addr2line.c (usage): Don't print empty REPORT_BUGS_TO. * ar.c (usage): Pass s to list_supported_targets. Don't print empty REPORT_BUGS_TO. * coffdump.c (show_usage): Don't print empty REPORT_BUGS_TO. * cxxfilt.c (usage): Print bug url when giving help. * dlltool.c (usage): Likewise. * dllwrap.c (usage): Likewise. * nlmconv.c (show_usage): Don't print empty REPORT_BUGS_TO. * nm.c (usage): Likewise. * objcopy.c (copy_usage, strip_usage): Likewise. * objdump.c (usage): Likewise. * readelf.c ((usage): Likewise. Add STREAM argument. Adjust callers. * size.c (usage): Don't print empty REPORT_BUGS_TO. * srconv.c (show_usage): Likewise. * strings.c (usage): Likewise. * sysdymp.c (show_usage): Likewise. * windres.c (usage): Likewise. gas: 2007-02-17 Mark Mitchell <mark@codesourcery.com> Nathan Sidwell <nathan@codesourcery.com> Vladimir Prus <vladimir@codesourcery.com Joseph Myers <joseph@codesourcery.com> * configure.in (--with-bugurl): New option. * configure: Regenerate. * dep-in.sed: Remove bin-bugs.h. * Makefile.am (REPORT_BUGS_TO): Define. (INCLUDES): Define REPORT_BUGS_TO. (DEP_INCLUDES): Likewise. ($(OBJS)): No longer depend on bin-bugs.h. * Makefile.in: Regenerate. * doc/Makefile.in: Regenerate. * as.c (show_usage): Don't print empty REPORT_BUGS_TO. * as.h: Remove include of bin-bugs.h. gprof: 2007-02-17 Mark Mitchell <mark@codesourcery.com> Nathan Sidwell <nathan@codesourcery.com> Vladimir Prus <vladimir@codesourcery.com Joseph Myers <joseph@codesourcery.com> * configure.in (--with-pkgversion, --with-bugurl): New options. * configure: Regenerate. * Makefile.am (PKGVERSION, REPORT_BUGS_TO): Define. (INCLUDES): Define PKGVERSION and REPORT_BUGS_TO. Regenerate dependencies. * Makefile.in: Regenerate. * gprof.c (usage): Don't print empty REPORT_BUGS_TO. (main): Include PKGVERSION in version output. * gprof.h: Remove include of bin-bugs.h. include: 2007-02-17 Mark Mitchell <mark@codesourcery.com> Nathan Sidwell <nathan@codesourcery.com> Vladimir Prus <vladimir@codesourcery.com Joseph Myers <joseph@codesourcery.com> * bin-bugs.h: Remove. ld: 2007-02-17 Mark Mitchell <mark@codesourcery.com> Nathan Sidwell <nathan@codesourcery.com> Vladimir Prus <vladimir@codesourcery.com Joseph Myers <joseph@codesourcery.com> * configure.in (--with-bugurl): New option. * configure: Regenerate. * Makefile.am (REPORT_BUGS_TO): Define. (INCLUDES): Define REPORT_BUGS_TO. Regenerate dependencies. * Makefile.in: Regenerate. * ld.h: Remove include of bin-bugs.h. * lexsup.c (help): Don't print empty REPORT_BUGS_TO.
* * posix_ipc.cc (mq_open): Avoid compiler warning. Initialize mqhdrCorinna Vinschen2007-02-153-3/+9
| | | | | before using it in file exists case. * include/mqueue.h (mqd_t): Make non-pointer type.
* * posix_ipc.cc (ipc_mutex_init): Create global object name.Corinna Vinschen2007-02-152-26/+36
| | | | | | | | | (ipc_cond_init): Ditto. (struct mq_hdr): Add mqh_uname member to store synchronization object name. (mq_open): Create unique synchronization object name and store in mq_hdr->mqh_uname. Use this name in calls to ipc_mutex_init and ipc_cond_init.
* * sparc/cygmon.ld.src: Link .rodata.* input sections into .text output section.Nick Clifton2007-02-153-0/+8
| | | | * sparc/cygmon-sparc64-ld.src: Likewise.
* * Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.Danny Smith2007-02-144-7/+16
| | | | | | | | (ALL_CXXFLAGS): Likewise. * mingwex/Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES. (ALL_CXXFLAGS): Likewise. * profile/Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES. (ALL_CXXFLAGS): Likewise.
* 2007-02-14 Patrick Mansfield <patmans@us.ibm.com>Jeff Johnston2007-02-1435-1/+6487
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a floating point environment for SPU (cell): * configure.host: add libm_machine_dir=spu. * libm/machine/configure: Add spu. * libm/machine/configure.in: regenerated with spu added. * libc/machine/spu/include/fenv.h: New file. * libc/machine/spu/sys/fenv.h: Ditto. * libm/machine/spu/Makefile.am: Ditto. * libm/machine/spu/Makefile.in: Ditto. * libm/machine/spu/aclocal.m4: Ditto. * libm/machine/spu/configure: Ditto. * libm/machine/spu/configure.in: Ditto. * libm/machine/spu/fe_dfl_env.c: Ditto. * libm/machine/spu/feclearexcept.c: Ditto. * libm/machine/spu/fegetenv.c: Ditto. * libm/machine/spu/fegetexceptflag.c: Ditto. * libm/machine/spu/fegetround.c: Ditto. * libm/machine/spu/feholdexcept.c: Ditto. * libm/machine/spu/feraiseexcept.c: Ditto. * libm/machine/spu/fesetenv.c: Ditto. * libm/machine/spu/fesetexceptflag.c: Ditto. * libm/machine/spu/fesetround.c: Ditto. * libm/machine/spu/fetestexcept.c: Ditto. * libm/machine/spu/feupdateenv.c: Ditto. * libm/machine/spu/headers/feclearexcept.h: Ditto. * libm/machine/spu/headers/fefpscr.h: Ditto. * libm/machine/spu/headers/fegetenv.h: Ditto. * libm/machine/spu/headers/fegetexceptflag.h: Ditto. * libm/machine/spu/headers/fegetround.h: Ditto. * libm/machine/spu/headers/feholdexcept.h: Ditto. * libm/machine/spu/headers/feraiseexcept.h: Ditto. * libm/machine/spu/headers/fesetenv.h: Ditto. * libm/machine/spu/headers/fesetexceptflag.h: Ditto. * libm/machine/spu/headers/fesetround.h: Ditto. * libm/machine/spu/headers/fetestexcept.h: Ditto. * libm/machine/spu/headers/feupdateenv.h: Ditto.
* * libc/include/sys/features.h: Add _POSIX_MESSAGE_PASSING forCorinna Vinschen2007-02-142-1/+6
| | | | Cygwin.
* * Makefile.in (DLL_OFILES): Add posix_ipc.o.Corinna Vinschen2007-02-149-87/+944
| | | | | | | | | | | | | | | | | | | | | | * cygwin.din (mq_close): Export. (mq_getattr): Export. (mq_notify): Export. (mq_open): Export. (mq_receive): Export. (mq_send): Export. (mq_setattr): Export. (mq_timedreceive): Export. (mq_timedsend): Export. (mq_unlink): Export. * posix_ipc.cc: New file implementing the above functions. Move shm_open and shm_unlink from syscalls.cc here. * sysconf.cc (sca): Set value of _SC_MQ_OPEN_MAX to MQ_OPEN_MAX, _SC_MQ_PRIO_MAX to MQ_PRIO_MAX, _SC_MESSAGE_PASSING to _POSIX_MESSAGE_PASSING. * include/limits.h (MQ_OPEN_MAX): Define. (MQ_PRIO_MAX): Define. * include/mqueue.h: New file. * include/cygwin/version.h: Bump API minor number.
* gas/Alan Modra2007-02-132-7/+12
| | | | | | | | | | | * config/tc-i386.h (Seg2ShortForm, Seg3ShortForm): Delete. * config/tc-i386.c: Wrap overly long lines, whitespace fixes. (process_operands): Move old Seg2ShortForm and Seg3ShortForm code, and test for these insns using a combination of opcode_modifier and operand_types. include/opcode/ * i386.h (i386_optab): Replace all occurrences of Seg2ShortForm and Seg3ShortFrom with Shortform.
* * configure.ac (target_libraries): Move libgcc before libiberty.Daniel Jacobowitz2007-02-133-4/+9
| | | | * configure: Regenerated.
* * include/cygwin/stdlib.h (valloc): Declare.Corinna Vinschen2007-02-132-0/+8
| | | | (memalign): Declare.
* 2007-02-13 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini2007-02-132-95/+443
| | | | * configure: Regenerate again?
* add autom4te.cache to .cvsignorePaolo Bonzini2007-02-131-418/+156
|
* 2007-02-13 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini2007-02-131-0/+4
| | | | * configure: Reapply PR30748 fix which was lost in the previous commit.
* PR bootstrap/30753Daniel Jacobowitz2007-02-133-203/+452
| | | | | | * configure.ac: Remove obsolete build / host tests. Use AC_PROG_CC unconditionally. Use AC_PROG_CXX. Use ACX_TOOL_DIRS to find $prefix. * configure: Regenerated.
* gas/testsuite/H.J. Lu2007-02-122-1/+7
| | | | | | | | | | | | | | | | | | 2007-02-11 H.J. Lu <hongjiu.lu@intel.com> PR gas/4027 * gas/i386/opcode.s: Add more tests for "test". * i386/opcode-intel.d: Updated. * gas/i386/opcode-suffix.d: Likewise. * gas/i386/opcode.d: Likewise. include/opcode/ 2007-02-11 H.J. Lu <hongjiu.lu@intel.com> PR gas/4027 * i386.h (i386_optab): Put the real "test" before the pseudo one.
* 2007-02-11 Daniel Atallah <datallah@users.sourceforge.net>Chris Sutcliffe2007-02-113-0/+17
| | | | | | | | | | * include/winnt.h (LANG_SERBIAN_NEUTRAL, LANG_BOSNIAN, LANG_BOSNIAN_NEUTRAL): Define. 2007-02-11 Daniel Schlyder <thrug@users.sourceforge.net> * include/winuser.h: Add guards around TITLEBARINFO and GetTitleBarInfo().
* 2007-02-10 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini2007-02-102-4/+89
| | | | * configure: Regenerate.
* PR bootstrap/30748Daniel Jacobowitz2007-02-093-86/+12
| | | | | * configure.ac: Correct syntax for Solaris ksh. * configure: Regenerated.
* 2007-02-09 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini2007-02-0910-23/+218
| | | | | | | | | | | * Makefile.def: Sync with GCC. * Makefile.tpl: Sync with GCC. * Makefile.in: Regenerate. * configure: Regenerate. * config/acx.m4: Sync with GCC. * config/depstand.m4: Sync with GCC. * config/tls.m4: Sync with GCC.
* merge from gccDJ Delorie2007-02-092-27/+4
|
* * Makefile.tpl (build_alias, host_alias, target_alias): UseDaniel Jacobowitz2007-02-098-2746/+5666
| | | | | | | | | | | | | | | | | | noncanonical equivalents. * configure.in: Rename to... * configure.ac: ...this. Update AC_PREREQ. Prevent error for AS_FOR_TARGET. Set build_noncanonical, host_noncanonical, and target_noncanonical. Use them. Rewrite removal of configure arguments for autoconf 2.59. Discard variable settings. Force program_transform_name for native tools. * Makefile.in: Regenerated. * configure: Regenerated with autoconf 2.59. * src-release (DEVO_SUPPORT, do-proto-toplev): Expect configure.ac. * acx.m4 (ACX_CHECK_INSTALLED_TARGET_TOOL): Avoid AC_PATH_PROG with an empty path.
* * libc/minires-os-if.c (write_record): Handle DNS_TYPE_SRV andCorinna Vinschen2007-02-092-1/+21
| | | | some obsolete types.
* 2007-02-08 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2007-02-083-37/+50
| | | | | | * COPYING.LIBGLOSS: Reformat default Red Hat license to fit within 80 columns. * COPYING.NEWLIB: Ditto.
* 2007-02-08 Dave Brolley <brolley@redhat.com>Jeff Johnston2007-02-0829-0/+7483
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * mep: New target directory. * README: Add MeP. * configure.in: Add support for MeP. * configure: Regenerated. * mep/configure.in: New file. * mep/configure: Ditto. * mep/Makefile.in: Ditto. * mep/aclocal.m4: Ditto. * mep/crt0.S: Ditto. * mep/crtn.S: Ditto. * mep/sim-crt0.S: Ditto. * mep/sim-crtn.S: Ditto. * mep/fmax.ld: Ditto. * mep/gcov-io.h: Ditto. * mep/gmap_default.ld: Ditto. * mep/handlers.c: Ditto. * mep/h_reset.c: Ditto. * mep/isatty.c: Ditto. * mep/mep-bb.c: Ditto. * mep/mep-gmon.c: Ditto. * mep/min.ld: Ditto. * mep/read.c: Ditto. * mep/sbrk.c: Ditto. * mep/sdram-crt0.S: Ditto. * mep/sdram-crtn.S: Ditto. * mep/simnovec-crt0.S: Ditto. * mep/simple.ld: Ditto. * mep/simsdran-crt0.S: Ditto. * mep/syscalls.S: Ditto. * mep/write.c: Ditto.
* * syscalls.cc (check_shm): New static function to do path checkingCorinna Vinschen2007-02-082-16/+47
| | | | | | common to shm_open and shm_unlink. Check for /dev/shm existance. (shm_open): Call check_shm. (shm_unlink): Ditto.
* * cygwin.din (shm_open): Export.Corinna Vinschen2007-02-086-2/+66
| | | | | | | | | | | (shm_unlink): Export. * syscalls.cc (shm_open): New function. (shm_unlink): New function. * sysconf.cc (sca): Set value of _SC_SHARED_MEMORY_OBJECTS to _POSIX_SHARED_MEMORY_OBJECTS. * include/cygwin/version.h: Bump API minor number. * include/sys/mman.h (shm_open): Add prototype. (shm_unlink): Ditto.
* * libc/include/sys/features.h: Add _POSIX_SHARED_MEMORY_OBJECTS forCorinna Vinschen2007-02-082-3/+8
| | | | Cygwin. Fix value of _POSIX_SEMAPHORES. Fix formatting.
* * cygmalloc.h (__set_ENOMEM): Declare.Corinna Vinschen2007-02-083-11/+22
| | | | | | | | | | (MALLOC_FAILURE_ACTION): Call __set_ENOMEM. * malloc_wrapper.cc (malloc) Remove setting errno here. (realloc): Ditto. (calloc): Ditto. (memalign): Ditto. (valloc): Ditto. (posix_memalign): Save and restore errno.
* * include/io.h (X_OK): Revert 2007-01-24 change, but leave comment.Danny Smith2007-02-082-1/+5
|
* * cygmalloc.h (MALLOC_FAILURE_ACTION): Move to correct #if branch.Corinna Vinschen2007-02-072-1/+5
|
* * cygmalloc.h (MALLOC_FAILURE_ACTION): Define empty.Corinna Vinschen2007-02-0714-180/+564
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cygwin.din (posix_madvise): Export. (posix_memalign): Export. * fhandler.cc (fhandler_base::fpathconf): Return useful values in _PC_VDISABLE, _PC_SYNC_IO and _PC_SYMLINK_MAX cases. * malloc_wrapper.cc (malloc): Set errno here since it's not set in dlmalloc.c anymore. (realloc): Ditto. (calloc): Ditto. (memalign): Ditto. (valloc): Ditto. (posix_memalign): New function. * mmap.cc (posix_madvise): New function. * sysconf.cc (get_open_max): New function. (get_page_size): Ditto. (get_nproc_values): Ditto. (get_avphys): Ditto. (sc_type): New type. (sca): New array to map _SC_xxx options to sysconf return values. (sysconf): Reimplement using sca array. * include/limits.h: Add all missing values as defined by SUSv3. * include/pthread.h (PTHREAD_DESTRUCTOR_ITERATIONS): Move definition to sys/limits.h. (PTHREAD_KEYS_MAX): Ditto. * include/semaphore.h (SEM_VALUE_MAX): Ditto. * include/cygwin/stdlib.h (posix_memalign): Declare. * include/cygwin/version.h: Bump API minor number. * include/sys/mman.h: Add posix_madvise flags. (posix_madvise): Declare. * include/sys/termios.h (_POSIX_VDISABLE): Move definition to sys/limits.h.
* * libc/include/sys/features.h: Add definition of all supportedCorinna Vinschen2007-02-074-86/+227
| | | | | | | | | _POSIX_xxx values for Cygwin. * libc/include/sys/types.h (pthread_rwlock_t): Omit definition on Cygwin. (pthread_rwlockattr_t): Ditto. * libc/include/sys/unistd.h: Define all _SC_xxx values as required by SUSv3. Unify formatting.
* Fix entries for MeP submission.Dave Brolley2007-02-061-43/+4
|
* Fix comment attached to #endifNick Clifton2007-02-061-1/+1
|
* 2007-02-05 Dave Brolley <brolley@redhat.com>Dave Brolley2007-02-052-1/+9
| | | | | | | * Contribute the following changes: 2001-03-26 Ben Elliston <bje@redhat.com> * dis-asm.h (print_insn_mep): Declare.
* 2007-02-05 Dave Brolley <brolley@redhat.com>Dave Brolley2007-02-051-0/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Contribute the following Changes: 2005-08-22 Dave Brolley <brolley@redhat.com> * mep.h (EF_MEP_CPU_C4): New macro. (EF_MEP_CPU_H1): Change to 0x10000000. 2005-04-22 Richard Sandiford <rsandifo@redhat.com> * mep.h (EF_MEP_LIBRARY): New flag. (EF_MEP_ALL_FLAGS): Update accordingly. 2004-06-21 Dave Brolley <brolley@redhat.com> * mep.h (EF_MEP_CPU_MASK, EF_MEP_CPU_MEP, EF_MEP_CPU_C2) (EF_MEP_CPU_C3, EF_MEP_CPU_H1, EF_MEP_INDEX_MASK) (EF_MEP_ALL_FLAGS): New macros. 2001-09-28 Richard Henderson <rth@redhat.com> * mep.h (SHF_MEP_VLIW, SEC_MEP_VLIW): New. 2001-07-12 DJ Delorie <dj@redhat.com> * mep.h (R_MEP_GNU_VTINHERIT, R_MEP_GNU_VTENTRY): Mark as no-overflow. 2001-06-25 DJ Delorie <dj@redhat.com> * mep.h: Add vtable relocs. 2001-05-10 DJ Delorie <dj@redhat.com> * mep.h: Fix bit offsets for HI16*, make them no-overflow. Add comment about mep-relocs.pl. 2001-05-01 DJ Delorie <dj@redhat.com> * mep.h: Add MeP-specific relocs. 2001-03-22 Ben Elliston <bje@redhat.com> * mep.h: New file. 2001-03-20 Ben Elliston <bje@redhat.com> * common.h (EM_CYGNUS_MEP): Define.