summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 2008-11-17 Joel Sherrill <joel.sherrill@oarcorp.com>Jeff Johnston2008-11-173-1/+8
| | | | | * sys/rtems/include/limits.h: Add _POSIX2_RE_DUP_MAX. * sys/rtems/sys/param.h: sys/rtprio.h not needed.
* 2008-11-17 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2008-11-173-3/+1756
| | | | | | * m32r/Makefile.in: Add building m32r-stub.o from local copy instead of up and over in gdb. * m32r/m32r-stub.c: New file copied from gdb.
* Revert:Daniel Jacobowitz2008-11-146-42/+35
| | | | | | | | | | | | | | | | | | | | 2008-10-24 Daniel Jacobowitz <dan@codesourcery.com> * Makefile.tpl (HOST_EXPORTS): Correct CPPFLAGS typo. * Makefile.in: Regenerated. 2008-10-22 Daniel Jacobowitz <dan@codesourcery.com> * Makefile.def (flags_to_pass): Add CPPFLAGS_FOR_BUILD and CPPFLAGS. * Makefile.tpl (BUILD_EXPORTS): Set CPPFLAGS. (EXTRA_BUILD_FLAGS): Correct typo. Pass CPPFLAGS. (HOST_EXPORTS): Pass CPPFLAGS. (CPPFLAGS_FOR_BUILD, CPPFLAGS, CPPFLAGS_FOR_TARGET): Define. (LDFLAGS_FOR_TARGET): Initialize from configure script. (EXTRA_TARGET_FLAGS): Set CPPFLAGS. * Makefile.in, configure: Regenerated. * configure.ac: Set CPPFLAGS_FOR_TARGET, LDFLAGS_FOR_TARGET, and CPPFLAGS_FOR_BUILD.
* bfd/Nick Clifton2008-11-142-0/+6
| | | | | | | | | | * elf.c (assign_file_positions_for_load_sections): Use header_size to avoid moving the load address of file headers. (assign_file_positions_for_load_sections): Set header_size for segments containing the file header. include/elf/ * internal.h (struct elf_segment_map): Add header_size field.
* bfd/Tristan Gingold2008-11-142-6/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-11-14 Tristan Gingold <gingold@adacore.com> * configure.com: Handle bfd_default_target_size, BFD_HOST_LONG_LONG, BFD_HOST_64BIT_LONG_LONG, BFD_HOSTPTR_T, bfd_file_ptr. Generate bfdver.h. * vms-hdr.c (_bfd_vms_write_hdr): Use strdup/free instead of alloca. * hosts/alphavms.h: Defines macros to bypass i18n. * makefile.vms (OBJS): Update file list. (DEFS): Remove VMS_DEBUG, const, add DEBUGDIR. (CFLAGS): Update flags. * bfdio.c (real_fopen): Add code specific to VMS: extract attributes from modes. binutils/ 2008-11-14 Tristan Gingold <gingold@adacore.com> * configure.com: Get version from configure.in of bfd. * makefile.vms-in (DEBUG_OBJS): Add dwarf.obj. (CFLAGS): Update flags. include/ 2008-11-14 Tristan Gingold <gingold@adacore.com> * fopen-vms.h (FOPEN_RB): Use a single string to match the standard prototype. (FOPEN_WB): Ditto. (FOPEN_AB): Ditto. (FOPEN_RUB): Ditto. (FOPEN_WUB): Ditto. (FOPEN_AUB): Ditto. libiberty/ 2008-11-14 Tristan Gingold <gingold@adacore.com> * makefile.vms (OBJS): Update objects list. (CFLAGS): Update. (libiberty.olb): Remove alloca-conf.h dependency. * config.h-vms: Use new macro sets, use builtin alloca. opcodes/ 2008-11-14 Tristan Gingold <gingold@adacore.com> * makefile.vms (OBJS): Update list of objects. (DEFS): Update (CFLAGS): Update.
* gdb/ChangeLog:Ulrich Weigand2008-11-132-0/+7
| | | | | | | | | * auxv.c (fprint_target_auxv): Handle AT_BASE_PLATFORM and AT_EXECFN. Re-sort AT_SECURE. include/elf/ChangeLog: * common.h (AT_BASE_PLATFORM, AT_EXECFN): Define.
* * autoload.cc (GetSystemDEPPolicy): Define.Corinna Vinschen2008-11-126-3/+84
| | | | | | | | | | | | | (GetProcessDEPPolicy): Ditto. (SetProcessDEPPolicy): Ditto. * dcrt0.cc (disable_dep): New static function. (dll_crt0_0): Call disable_dep on platforms requiring it. Add longish comment to explain the circumstances. * wincap.h (wincaps::ts_has_dep_problem): New element. * wincap.cc: Implement above element throughout. (wincapc::init): Set ts_has_dep_problem to true on 2008 Terminal Servers. * winsup.h (WINVER): Set to 0x0601.
* * include/winbase.h (PROCESS_DEP_ENABLE,Corinna Vinschen2008-11-112-0/+28
| | | | | | PROCESS_DEP_DISABLE_ATL_THUNK_EMULATION): Define for >= Vista SP1. (enum _DEP_SYSTEM_POLICY_TYPE): Ditto. (GetProcessDEPPolicy, GetSystemDEPPolicy, SetProcessDEPPolicy): Ditto.
* * mount.cc (mount_info::cygdrive_win32_path): Always upper caseCorinna Vinschen2008-11-113-3/+19
| | | | | | | DOS drive letter to accommodate case sensitivity. (cygdrive_getmntent): Ditto. * path.cc (path_conv::check): Invalidate wide_path after making path relative.
* * cygwinenv.sgml: Add description for upcaseenv option.Corinna Vinschen2008-11-112-0/+40
|
* * environ.cc (create_upcaseenv): New static variable.Corinna Vinschen2008-11-112-2/+77
| | | | | | | | | | | | (renv_arr): New static array to keep track of environment variables which have to be always uppercased. (idx_arr): Ditto. (start_at): Ditto. (ucreqenv): New function to uppercase only the environment variables from renv_arr. (parse_thing): Add "upcaseenv" setting. (environ_init): Parse $CYGWIN before doing anything else. Call ucreqenv instead of ucenv if CYGWIN=noupcaseenv is set.
* * path.cc (normalize_win32_path): Don't add a trailing '\' if the cwd returns aChristopher Faylor2008-11-112-1/+7
| | | | path with a trailing '\'.
* * pthread.cc (pthread_mutex::_unlock): Avoid unlocking a mutex if theChristopher Faylor2008-11-073-11/+28
| | | | | | | | | | | recursion_counter is already 0. (pthread_mutex::_destroy): Don't consider a mutex busy if its recursion_counter == 0. (pthread_mutex::_fixup_after_fork): Set recursion_counter to 0 to flag that we've just forked. Don't reset the owner of this mutex since the forkee may think it still owns the mutex. Reinstate initialization of win32_obj_id. * fhandler_floppy.cc (fhandler_dev_floppy::raw_read): Initialize a variable to bypass a C++ warning.
* 2008-11-06 Chao-ying Fu <fu@mips.com>Chao-ying Fu2008-11-062-1/+6
| | | | * mips.h: Doucument '1' for 5-bit sync type.
* * environ.cc (environ_init): Avoid evaluating $CYGWIN twice.Corinna Vinschen2008-11-052-2/+4
|
* 2008-10-31 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2008-10-3129-92/+193
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libc/stdio/diprintf.c: Modify documentation so eclipse newlib libhover docs generate properly. * libc/stdio/dprintf.c: Ditto. * libc/stdio/fflush.c: Ditto. * libc/stdio/fopencookie.c: Ditto. * libc/stdio/fread.c: Ditto. * libc/stdio/fsetpos.c: Ditto. * libc/stdio/getc_u.c: Ditto. * libc/stdio/getchar_u.c: Ditto. * libc/stdio/putc_u.c: Ditto. * libc/stdio/putchar_u.c: Ditto. * libc/stdio/remove.c: Ditto. * libc/stdio/siprintf.c: Ditto. * libc/stdio/siscanf.c: Ditto. * libc/stdio/sprintf.c: Ditto. * libc/stdio/sscanf.c: Ditto. * libc/stdio/vfprintf.c: Ditto. * libc/stdio/vfscanf.c: Ditto. * libc/stdio/viprintf.c: Ditto. * libc/stdio/viscanf.c: Ditto. * libc/stdlib/calloc.c: Ditto. * libc/stdlib/efgcvt.c: Ditto. * libc/stdlib/envlock.c: Ditto. * libc/time/asctime.c: Ditto. * libc/time/ctime.c: Ditto. * libc/time/gmtime.c: Ditto. * libc/time/lcltime.c: Ditto. * libc/time/tzset.c: Ditto. * libc/stdlib/envlock.h: Moved to libc/include.
* 2008-10-31 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2008-10-3148-679/+1152
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libc/include/limits.h: Add ARG_MAX, PATH_MAX, and _POSIX2_RE_DUP_MAX. * libc/include/envlock.h: New file. * libc/include/fnmatch.h: Ditto. * libc/include/glob.h: Ditto. * libc/include/regex.h: Ditto. * libc/include/wordexp.h: Ditto. * libc/posix/Makefile.am: Add new files moved from libc/sys/linux/stdlib. * libc/posix/Makefile.in: Regenerated. * libc/posix/COPYRIGHT: New file moved from libc/sys/linux/stdlib. * libc/posix/cclass.h: Ditto. * libc/posix/cname.h: Ditto. * libc/posix/collate.c: Ditto. * libc/posix/collate.h: Ditto. * libc/posix/collcmp.c: Ditto. * libc/posix/engine.c: Ditto. * libc/posix/fnmatch.3: Ditto. * libc/posix/glob.3: Ditto. * libc/posix/fnmatch.c: Ditto. * libc/posix/glob.c: Ditto. * libc/posix/namespace.h: Ditto. * libc/posix/reallocf.c: Ditto. * libc/posix/regcomp.c: Ditto. * libc/posix/regerror.c: Ditto. * libc/posix/regex.3: Ditto. * libc/posix/regex2.h: Ditto. * libc/posix/regexec.c: Ditto. * libc/posix/regfree.c: Ditto. * libc/posix/rune.h: Ditto. * libc/posix/runetype.h: Ditto. * libc/posix/scandir.c: Remove advertising clause which is not in effect. * libc/posix/sysexits.h: Ditto. * libc/posix/un-namespace.h: Ditto. * libc/posix/utils.h: Ditto. * libc/posix/wordexp.c: Ditto. * libc/posix/wordfree.c: Ditto. * libc/posix/execl.c: Add !_NO_EXECVE flag check. * libc/posix/execle.c: Ditto. * libc/posix/execlp.c: Ditto. * libc/posix/execv.c: Ditto. * libc/posix/execve.c: Ditto. * libc/posix/execvp.c: Ditto. * libc/posix/popen.c: Add !_NO_POPEN flag check. * libc/sys/linux/configure: Regenerated. * libc/sys/linux/configure.in: Remove stdlib. * libc/sys/linux/include/limits.h: Add include of linux/limits.h. * libc/sys/linux/stdlib/Makefile.am: Removed. * libc/sys/linux/stdlib/Makefile.in: Ditto. * libc/sys/linux/stdlib/COPYRIGHT: Moved to libc/posix. * libc/sys/linux/stdlib/cclass.h: Ditto. * libc/sys/linux/stdlib/cname.h: Ditto. * libc/sys/linux/stdlib/collate.c: Ditto. * libc/sys/linux/stdlib/collate.h: Ditto. * libc/sys/linux/stdlib/collcmp.c: Ditto. * libc/sys/linux/stdlib/engine.c: Ditto. * libc/sys/linux/stdlib/fnmatch.3: Ditto. * libc/sys/linux/stdlib/fnmatch.c: Ditto. * libc/sys/linux/stdlib/glob.3: Ditto. * libc/sys/linux/stdlib/glob.c: Ditto. * libc/sys/linux/stdlib/reallocf.c: Ditto. * libc/sys/linux/stdlib/regcomp.c: Ditto. * libc/sys/linux/stdlib/regerror.c: Ditto. * libc/sys/linux/stdlib/regex.3: Ditto. * libc/sys/linux/stdlib/regex2.h: Ditto. * libc/sys/linux/stdlib/regexec.c: Ditto. * libc/sys/linux/stdlib/regfree.c: Ditto. * libc/sys/linux/stdlib/utils.h: Ditto. * libc/sys/linux/stdlib/wordexp.c: Ditto. * libc/sys/linux/stdlib/wordfree.c: Ditto.
* * Makefile.in: Use -static-libgcc when creating cygserver.exe.Christopher Faylor2008-10-302-7/+12
|
* 2008-10-29 Stefan Schulze Frielinghaus <xxschulz@de.ibm.com>Ulrich Weigand2008-10-293-2/+5
| | | | | * configure.ac [spu-*-*]: Do not set skipdirs. * configure: Re-generate.
* * Makefile.in (ALL_LDFLAGS): Link libgcc statically for everything here.Christopher Faylor2008-10-292-1/+6
|
* Correct some binary distribution packaging defects.Keith Marshall2008-10-282-18/+37
|
* * Makefile.tpl (HOST_EXPORTS): Correct CPPFLAGS typo.Daniel Jacobowitz2008-10-243-2/+7
| | | | * Makefile.in: Regenerated.
* * wincap.cc (all wincaps): Store in .cygwin_dll_common section same asCorinna Vinschen2008-10-232-10/+21
| | | | wincap. Add comment to explain why.
* PR gdb/921Daniel Jacobowitz2008-10-226-5/+60
| | | | | | | | | | | | | | | | | | | | | PR gdb/1646 PR gdb/2175 PR gdb/2176 * Makefile.def (flags_to_pass): Add CPPFLAGS_FOR_BUILD and CPPFLAGS. * Makefile.tpl (BUILD_EXPORTS): Set CPPFLAGS. (EXTRA_BUILD_FLAGS): Correct typo. Pass CPPFLAGS. (HOST_EXPORTS): Pass CPPFLAGS. (CPPFLAGS_FOR_BUILD, CPPFLAGS, CPPFLAGS_FOR_TARGET): Define. (LDFLAGS_FOR_TARGET): Initialize from configure script. (EXTRA_TARGET_FLAGS): Set CPPFLAGS. * Makefile.in, configure: Regenerated. * configure.ac: Set CPPFLAGS_FOR_TARGET, LDFLAGS_FOR_TARGET, and CPPFLAGS_FOR_BUILD. libiberty/ * Makefile.in (CPPFLAGS): Define. (FLAGS_TO_PASS, COMPILE.c): Add CPPFLAGS.
* * autoload.cc (GetSystemWindowsDirectoryW): Define.Corinna Vinschen2008-10-223-0/+43
| | | | | | * kernel32.cc (GetWindowsDirectoryW): Implement to abstract from running under Terminal Services or not. (GetWindowsDirectoryA): Ditto.
* * passwd.cc (pwdgrp::read_passwd): Check if we're called withinCorinna Vinschen2008-10-212-8/+17
| | | | | user_shared initialization and ignore myself, if so. Reformat conditional expression.
* * obstack.h (obstack_finish <!__GNUC__>): Cast result to void *.Alan Modra2008-10-202-2/+6
|
* * ntdll.h (NtSetAttributesFile): New inline function.Corinna Vinschen2008-10-205-45/+38
| | | | | | | | | * fhandler_disk_file.cc (fhandler_disk_file::fchmod): Use NtSetAttributesFile. * path.cc (symlink_worker): Ditto. * syscalls.cc (unlink_nt): Ditto. (rename): Omit FILE_SHARE_DELETE when opening files on Samba. Add comment to explain why.
* Fix MinGW-Bug [2136252]: Remove extraneous radix point in printf( "%.0f", v ↵Keith Marshall2008-10-182-32/+41
| | | | ) for v < 0.5
* * dtable.cc (dtable::get_debugger_info): Call SetStdHandleCorinna Vinschen2008-10-172-1/+17
| | | | | | for the newly opened handle. Explain why. (dtable::stdio_init): Don't duplicate standard error handle when stderr has already been created under debugger control.
* 2008-10-16 Joel Sherrill <joel.sherrill@oarcorp.com>Jeff Johnston2008-10-162-7/+9
| | | | * libc/include/sys/unistd.h: RTEMS follows standard for sync().
* 2008-10-16 Joel Sherrill <joel.sherrill@oarcorp.com>Jeff Johnston2008-10-163-0/+17
| | | | | | * libc/include/time.h: Add CLOCK_MONOTONIC. * libc/include/sys/features.h: Define _POSIX_MONOTONIC_CLOCK for RTEMS.
* 2008-10-15 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2008-10-162-51/+6
| | | | | * newlib.hin: Restore to previous 1.14 version which has no PACKAGE_ macros.
* 2008-10-15 Joel Sherrill <joel.sherrill@oarcorp.com>Jeff Johnston2008-10-152-1/+5
| | | | * libc/include/sys/unistd.h: Enable ttyname_r() for RTEMS.
* Fix typo and make C99 check the same as is used in math.hJeff Johnston2008-10-151-2/+1
|
* 2008-10-15 Craig Howland <howland@LGSInnovations.com>Jeff Johnston2008-10-153-6/+17
| | | | | | * libc/include/ctype.h (isblank): isblank is C99. * libc/ctype/isblank.c (isblank comments): ditto. isblank does not have a macro version (as was claimed in the description).
* 2008-10-15 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2008-10-152-32/+43
| | | | | * libc/stdio/vfscanf.c (__ssvfiscanf_r): Do not support %lc, %C, %ls or %S conversions when the EL/IX level is 1.
* Fix MinGW-Bug [2160227]: Eliminate conflicting declarations and ↵Keith Marshall2008-10-133-1/+20
| | | | implementations of scalb().
* * sec_acl.cc (setacl): Align standard owner and group permissionsCorinna Vinschen2008-10-133-10/+19
| | | | | | | with alloc_sd. Strip FILE_READ_ATTRIBUTES fromn setting FILE_GENERIC_EXECUTE permissions same as in alloc_sd. * security.cc (alloc_sd): Reformat expression. Strip EA permission bits from owner_deny and group_deny computation.
* fix typoChristopher Faylor2008-10-131-1/+1
|
* * mingw: Set sawcfile when -xc* is detected. Extend list of detected sourceChristopher Faylor2008-10-132-1/+7
| | | | filew.
* * Makefile.in: Use a different method to invoke gcc in a cygwin-hostedChristopher Faylor2008-10-1210-3993/+6379
| | | | | | | | | | | | environment. * mingwex/Makefile.in: Ditto. * profile/Makefile.in: Ditto. * configure.in: Record mingw front-end for building under Cygwin. * mingwex/configure.in: Ditto. * profile/configure.in: Ditto. * configure: Regenerate. * mingwex/configure: Ditto. * profile/configure: Ditto.
* * mingw: Add more checks to allow more varied use.Christopher Faylor2008-10-122-10/+24
|
* * Makefile.in: Rearrange to avoid -mno-cygwin.Christopher Faylor2008-10-125-1603/+2374
| | | | | | | | * configure.in: Use mingw front-end from utils directory as compiler front-end. * configure: Regenerate. * cyglsa.c (cyglsa_printf): Rename from 'printf' to avoid a compiler error. (print_sid, print_groups, print_privs, print_dacl, print_tokinf, LsaApLogonUserEx): Ditto.
* * mingw: Use a better method to find where mingw directory lives.Christopher Faylor2008-10-122-7/+5
|
* Dummy check-in to get right revision log:Christopher Faylor2008-10-122-2/+2
| | | | | | * mingw: New front-end script to control building of MinGW files without using the deprecated -mno-cygwin option. * Makefile.in: Use mingw front-end.
* * Makefile.in: Tweak to work better with new utils/mingw front-end.Christopher Faylor2008-10-125-15/+114
| | | | In utils:
* Use de-facto standard Makefile goals to invoke test suite.Keith Marshall2008-10-112-5/+19
|
* Make strtod() inline definition C89 compliant.Keith Marshall2008-10-112-2/+14
|
* include/elf/Nathan Froyd2008-10-102-0/+9
| | | | | | | | | | | | | | | | * ppc.h: Add Tag_GNU_Power_ABI_Struct_Return. bfd/ * elf32-ppc.c (ppc_elf_merge_obj_attributes): Merge Tag_GNU_Power_ABI_Struct_Return. binutils/ * readelf.c (display_power_gnu_attribute): Decode Tag_GNU_Power_ABI_Struct_Return. ld/testsuite/ * ld-powerpc/gnu-attr-12-1.s: New file. * ld-powerpc/gnu-attr-12-2.s: New file. * ld-powerpc/gnu-attr-12-11.d: New file. * ld-powerpc/gnu-attr-12-21.d: New file. * ld-powerpc/powerpc.exp: Run new dump tests.