summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * libc/include/sys/features.h (_POSIX_V6_ILP32_OFF32): Always define.Corinna Vinschen2008-12-042-3/+9
| | | | | (_POSIX_V6_LP64_OFF64): Ditto. (_POSIX_V6_LPBIG_OFFBIG): Ditto.
* * ntsec.sgml: Fix typo.Corinna Vinschen2008-12-042-2/+6
|
* * libc/minires.c (open_sock): Set non blocking and close on exec.Corinna Vinschen2008-12-032-48/+103
| | | | | | | (res_ninit): Set id pseudo-randomly. (res_nsend): Do not set close on exec. Initialize server from id. Flush socket. Tighten rules for answer acceptance. (res_nmkquery): Update id using current data.
* include/elf/Nick Clifton2008-12-032-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * common.h (STT_IFUNC): Define. elfcpp/ * elfcpp.h (enum STT): Add STT_IFUNC. bfd/ * syms.c (struct bfd_symbol): Add new flag BSF_INDIRECT_FUNCTION. Remove redundant flag BFD_FORT_COMM_DEFAULT_VALUE. Renumber flags to remove gaps. (bfd_print_symbol_vandf): Return 'i' for BSF_INDIRECT_FUNCTION. (bfd_decode_symclass): Likewise. * elf.c (swap_out_syms): Translate BSF_INDIRECT_FUNCTION into STT_IFUNC. (elf_find_function): Treat STT_IFUNC in the same way as STT_FUNC. (_bfd_elf_is_function_type): Likewise. * elf32-arm.c (arm_elf_find_function): Likewise. (elf32_arm_adjust_dynamic_symbol): Likewise. (elf32_arm_swap_symbol_in): Likewise. (elf32_arm_additional_program_headers): Likewise. * elf32-i386.c (is_indirect_symbol): New function. (elf_i386_check_relocs): Also generate dynamic relocs for relocations against STT_IFUNC symbols. (allocate_dynrelocs): Likewise. (elf_i386_relocate_section): Likewise. * elf64-x86-64.c (is_indirect_symbol): New function. (elf64_x86_64_check_relocs): Also generate dynamic relocs for relocations against STT_IFUNC symbols. (allocate_dynrelocs): Likewise. (elf64_x86_64_relocate_section): Likewise. * elfcode.h (elf_slurp_symbol_table): Translate STT_IFUNC into BSF_INDIRECT_FUNCTION. * elflink.c (_bfd_elf_adjust_dynamic_reloc_section): Add support for STT_IFUNC symbols. (get_ifunc_reloc_section_name): New function. (_bfd_elf_make_ifunc_reloc_section): New function. * elf-bfd.h (struct bfd_elf_section_data): Add indirect_relocs field. * bfd-in2.h: Regenerate. gas/ * config/obj-elf.c (obj_elf_type): Add support for STT_IFUNC type. * doc/as.texinfo: Document new feature. * NEWS: Mention new feature. gas/testsuite/ * gas/elf/type.s: Add test of STT_IFUNC symbol type. * gas/elf/type.e: Update expected disassembly. * gas/elf/elf.exp: Update grep of symbol types. ld/ * NEWS: Mention new feature. * pe-dll.c (process_def_file): Replace use of redundant BFD_FORT_COMM_DEFAULT_VALUE with 0. * scripttempl/elf.sc: Add .rel.ifunc.dyn and .rela.ifunc.dyn sections. ld/testsuite/ * ld-mips-elf/reloc-1-n32.d: Updated expected output for reloc descriptions. * ld-mips-elf/reloc-1-n64.d: Likewise. * ld-i386/ifunc.d: New test. * ld-i386/ifunc.s: Source file for the new test. * ld-i386/i386.exp: Run the new test.
* * ntsec.sgml: Revamp parts of the doc for clearness.Corinna Vinschen2008-12-032-61/+86
|
* * ntsec.sgml: Fix a few typos.Corinna Vinschen2008-12-022-2/+6
|
* * cygserver.sgml: Fix cross reference to the ntsec documentation.Corinna Vinschen2008-12-022-1/+5
|
* * cygserver.sgml: Document new feature to store hidden passwordsCorinna Vinschen2008-12-022-0/+13
| | | | for seteuid.
* * ntsec.sgml: Finishing up changes for 1.7.Corinna Vinschen2008-12-022-190/+422
|
* * Makefile.def: configure-target-boehm-gc depends onAndreas Schwab2008-12-023-209/+216
| | | | | all-target-libstdc++-v3. * Makefile.in: Regenerate.
* * fhandler_registry.cc (must_encode): Fix condition changed for testing.Corinna Vinschen2008-12-022-1/+5
|
* * fhandler_registry.cc (must_encode): New function.Corinna Vinschen2008-12-022-10/+102
| | | | | | | | | | (encode_regname): Ditto. (decode_regname): Ditto. (fhandler_registry::exists): Encode name before path compare. (fhandler_registry::fstat): Pass decoded name to win32 registry call. (fhandler_registry::readdir): Return encoded name to user. (fhandler_registry::open): Store decoded name into value_name. (open_key): Pass decoded name to win32 registry call.
* * config.sub, config.guess: Update from upstream sources.Ben Elliston2008-12-023-7/+35
|
* gold/ChangeLog:Cary Coutant2008-12-012-1/+5
| | | | | | | | | * plugin.cc (ld_plugin_message): Change format parameter to const. Fix mismatch between new[] and delete. include/ChangeLog: * plugin-api.h (ld_plugin_message): Change format parameter to const.
* * plugin-api.h: Fix syntax error when compiling with C++.Cary Coutant2008-12-012-1/+5
|
* * ntsec.sgml: Further changes for 1.7. Switch from "NT" to "Windows".Corinna Vinschen2008-12-012-238/+97
| | | | | Add preliminary text. Try to be more clear in description. Remove useless chapters. Finish the permission related chapters.
* fix typoChristopher Faylor2008-11-301-1/+1
|
* * faq-using.xml: Remove assertion that lpr doesn't exit.Christopher Faylor2008-11-303-45/+9
| | | | * faq-what.xml: Remove ancient who's who data.
* * exceptions.c (sigpacket::process): Set tls on return since it is assumed toChristopher Faylor2008-11-292-0/+6
| | | | be set to a valid value by the caller.
* * include/cygwin/version.h: Bump api minor number to 189 to flag theChristopher Faylor2008-11-292-1/+7
| | | | implementation of dirent.d_type.
* * aoutx.h (NAME): Add case statements for bfd_mach_mips14000,Thiemo Seufer2008-11-282-1/+9
| | | | | | | | | | | | | | | | | | | | | bfd_mach_mips16000. * archures.c (bfd_architecture): Add .#defines for bfd_mach_mips14000, bfd_mach_mips16000. * bfd-in2.h: Regenerate. * cpu-mips.c: Add enums I_mips14000, I_mips16000. (arch_info_struct): Add refs to R14000, R16000. * elfxx-mips.c (mips_set_isa_flags): Handle bfd_mach_mips14000, bfd_mach_mips16000. (mips_mach_extensions): Map R14000, R16000 to R10000. * config/tc-mips.c (hilo_interlocks): Handle CPU_R14000, CPU_R16000. (mips_cpu_info_table): Add r14000, r16000. * doc/c-mips.texi: Add entries for 14000, 16000. * mips-dis.c (mips_arch_choices): Add r14000, r16000. * mips.h: Define CPU_R14000, CPU_R16000. (OPCODE_IS_MEMBER): Include R14000, R16000 in test.
* 2008-11-28 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2008-11-283-1/+8
| | | | | | * libc/sys/linux/inode.c: Include <dirent.h> instead of <linux/dirent.h>. * libc/sys/linux/io64.c: Add weak alias for _stat64.
* * exceptions.cc (sigpacket::process): Rework previous change. tls could stillChristopher Faylor2008-11-282-14/+21
| | | | become NULL.
* * dir.cc (readdir_worker): Initialize dirent.d_type and __d_unused1.Corinna Vinschen2008-11-284-4/+35
| | | | | | | | * fhandler_disk_file.cc (fhandler_disk_file::readdir_helper): Set dirent.d_type based on FILE_ATTRIBUTE_*. * include/sys/dirent.h: Define _DIRENT_HAVE_D_TYPE (enables DT_* declarations). (struct dirent): Add d_type. Adjust __d_unused1 size to preserve layout.
* * exceptions.cc (sigpacket::process): Make sure that 'tls' is never NULL whenChristopher Faylor2008-11-282-8/+12
| | | | used.
* 2008-11-27 Ralf Corsepius <ralf.corsepius@rtems.org>Jeff Johnston2008-11-272-1/+6
| | | | | * libc/posix/telldir.c: Use #if !defined() instead of #ifndef to fix GCC warning.
* 2008-11-27 Ken Werner <ken.werner@de.ibm.com>Jeff Johnston2008-11-275-4/+539
| | | | | | | * libc/machine/spu/Makefile.am: Add spu-mcount.S spu-gmon.c. * libc/machine/spu/Makefile.in: Regenerated. * libc/machine/spu/spu-gmon.c: New file. * libc/machine/spu/spu-mcount.S: New file.
* 2008-11-27 Joel Sherrill <joel.sherrill@oarcorp.com>Jeff Johnston2008-11-272-0/+7
| | | | * configure.host (*-rtems*): Turn on using portion of unix subdirectory.
* 2008-11-27 Craig Howland <howland@LGSInnovations.com>Jeff Johnston2008-11-2712-1/+29
| | | | | | | | | | | | | | | | | * libc/argz/argz_add.c: Added #include <argz.h> to get function prototypes. * libc/argz/argz_append.c: Ditto. * libc/argz/argz_count.c: Ditto. * libc/argz/argz_create.c: Ditto. * libc/argz/argz_create_sep.c: Ditto. * libc/argz/argz_delete.c: Ditto. * libc/argz/argz_next.c: Ditto. * libc/argz/argz_stringify.c: Ditto * libc/stdlib/strtod.c: Added #include <stdlib.h> to get function prototypes. * libc/stdlib/wcstoul.c: Added #include <wchar.h> to get function prototypes, corrected traditional usage comment. * libc/include/wchar.h: Added _mbsrtowcs_r() prototype.
* Merge from GCC:Joseph Myers2008-11-273-17/+37
| | | | | | | | | | | | | 2008-11-21 Kai Tietz <kai.tietz@onevision.com> Fix PR/25502 * mh-mingw (BOOT_CFLAGS): Add -Wno-pedantic-ms-format switch. 2008-11-12 Steve Ellcey <sje@cup.hp.com> PR target/27880 * unwind_ipinfo.m4 (GCC_CHECK_UNWIND_GETIPINFO): Change from link test to target based test.
* Merge from GCC:Joseph Myers2008-11-277-63/+2698
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-12-02 Matthias Klose <doko@ubuntu.com> * config-ml.in: Remove 64bit configure tests. 2008-05-14 Rafael Espindola <espindola@google.com> * config-ml.in: don't handle --enable-shared and --enable-static. 2008-09-02 Sebastian Pop <sebastian.pop@amd.com> Tobias Grosser <grosser@fim.uni-passau.de> Jan Sjodin <jan.sjodin@amd.com> Harsha Jagasia <harsha.jagasia@amd.com> Dwarakanath Rajagopal <dwarak.rajagopal@amd.com> Konrad Trifunovic <konrad.trifunovic@inria.fr> Adrien Eliche <aeliche@isty.uvsq.fr> Merge from graphite branch. * configure: Regenerate. * Makefile.in: Regenerate. * configure.ac (host_libs): Add ppl and cloog. Add checks for PPL and CLooG. * Makefile.def (ppl, cloog): Added modules and dependences. * Makefile.tpl (PPLLIBS, PPLINC, CLOOGLIBS, CLOOGINC): New. (HOST_PPLLIBS, HOST_PPLINC, HOST_CLOOGLIBS, HOST_CLOOGINC): New. 2008-09-03 Richard Guenther <rguenther@suse.de> * configure.ac: Always pass -DCLOOG_PPL_BACKEND to the cloog test. * configure: Re-generate. 2008-09-03 Sebastian Pop <sebastian.pop@amd.com> * configure.ac (--with-cloog-polylib): New. (--disable-cloog-version-check): New. (--disable-ppl-version-check): New. * configure: Re-generate. 2008-09-05 Richard Guenther <rguenther@suse.de> * configure.ac: Initialize clooglibs to -lcloog. * configure: Re-generate. 2008-10-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> * configure.ac (MPFR check): Bump minimum version to 2.3.0 and recommended version to 2.3.2. * configure: Regenerate. 2008-10-31 Ben Elliston <bje@au.ibm.com> * configure.ac (spu-*-*): Remove special case. * configure: Regenerate. Complete comment text from GCC version of: 2008-08-31 Aaron W. LaFramboise <aaronavay62@aaronwl.com> * configure.ac (RPATH_ENVVAR): Use PATH on Windows. (GCC_SHLIB_SUBDIR): New. * Makefile.tpl (HOST_LIB_PATH_gcc): Use GCC_SHLIB_SUBDIR. * configure: Regenerate. * Makefile.in: Regenerate.
* 2008-11-27 Tristan Gingold <gingold@adacore.com>Tristan Gingold2008-11-273-2/+15
| | | | | * configure.ac: Build gdb for i?86-*-darwin* * configure: Regenerated.
* * cr16.h (R_CR16_GOT_REGREL20, R_CR16_GOTC_REGREL20 andSwami Reddy M R2008-11-272-0/+8
| | | | R_CR16_GLOB_DAT): New relocations.
* 2008-11-26 Ken Werner <ken.werner@de.ibm.com>Jeff Johnston2008-11-2610-337/+629
| | | | | | | | | | | | * libm/machine/spu/headers/acosd2.h: Rebase against current simdmath. * libm/machine/spu/headers/asind2.h: Likewise. * libm/machine/spu/headers/asinhf4.h: Likewise. * libm/machine/spu/headers/divd2.h: Likewise. * libm/machine/spu/headers/erf_utils.h: Likewise. * libm/machine/spu/headers/erfcd2.h: Likewise. * libm/machine/spu/headers/erfcf4.h: Likewise. * libm/machine/spu/headers/erfd2.h: Likewise. * libm/machine/spu/headers/recipd2.h: Likewise.
* clarify entryChristopher Faylor2008-11-261-1/+1
|
* Remove unneeded whitespace.Christopher Faylor2008-11-2621-196/+242
| | | | | | | | | | | | | | | | * fhandler_fifo.cc (fhandler_fifo::open): Rework to cause errno to be set to ENXIO when opening a fifo write/nonblocking. * environ.cc (ucreqenv): Rename to ucenv. Move code from old ucenv here and conditionalize it on create_upcaseenv. (ucenv): Delete. (environ_init): Fix compiler warning by moving create_upcaseenv test to ucenv. Don't bother checking for child_proc_info when calling ucenv since it is assumed to be NULL at the point where the function is called. * path.cc (symlink_worker): Turn off MS-DOS path warnings when dealing with devices since the device handler passes in a translated MS-DOS path. * sec_auth.cc (lsaprivkeyauth): Avoid variable initialization which causes a compiler error. * fhandler_netdrive.cc: Update copyright.
* * Revert erroneous checkin.Christopher Faylor2008-11-262-7/+13
|
* update copyrightChristopher Faylor2008-11-261-1/+2
|
* * Makefile.in: Revert erroneous checkin.Christopher Faylor2008-11-262-10/+14
| | | | * Makefile.common: Tweak to work better with new utils/mingw front-end.
* * passwd.c (longopts): Add --reg-store-pwd option.Corinna Vinschen2008-11-263-17/+110
| | | | | | | | (opts): Add -R option. (usage): Add text for -R/--reg-store-pwd option. (main): Fix size of local user and password string arrays. Handle -R option. * utils.sgml: Add text for passwd -R/--reg-store-pwd option.
* * Makefile.in (OBJS): Add setpwd.o.Corinna Vinschen2008-11-267-2/+125
| | | | | | | | | | | * README: Explain new service to store passwords in the LSA registry area. * bsd_helper.cc (get_token_info): Make externally available. * bsd_helper.h (get_token_info): Declare. * client.cc (client_request::handle_request): Add case for CYGSERVER_REQUEST_SETPWD request. * setpwd.cc: New file implementing the CYGSERVER_REQUEST_SETPWD request.
* * Makefile.in (DLL_OFILES): Add setlsapwd.o.Corinna Vinschen2008-11-2614-32/+323
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cygserver.h (CYGWIN_SERVER_VERSION_API): Bump. (request_code_t): Define CYGSERVER_REQUEST_SETPWD request type. * cygserver_msg.h (client_request_msg::retval): Use default value of -1 for retval if msglen is 0. * cygserver_sem.h (client_request_sem::retval): Ditto. * cygserver_shm.h (client_request_shm::retval): Ditto. * cygserver_setpwd.h: New file. * external.cc (cygwin_internal): Implement new CW_SET_PRIV_KEY type. * sec_auth.cc (open_local_policy): Make externally available. Get ACCESS_MASK as argument. (create_token): Accommodate change to open_local_policy. (lsaauth): Ditto. (lsaprivkeyauth): New function fetching token by retrieving password stored in Cygwin or Interix LSA private data area and calling LogonUser with it. * security.h (lsaprivkeyauth): Declare. (open_local_policy): Declare. * setlsapwd.cc: New file implementing setting LSA private data password using LsaStorePrivateData or by calling cygserver if available. * syscalls.cc (seteuid32): Add workaround to get the original token when switching back to the original privileged user, even if setgroups group list is still active. Add long comment to explain why. Call lsaprivkeyauth first, only if that fails call lsaauth or create_token. * include/cygwin/version.h: Bump API minor number. * include/sys/cygwin.h (cygwin_getinfo_types): Add CW_SET_PRIV_KEY.
* include/Alan Modra2008-11-262-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PR 7047 * bfdlink.h (struct bfd_elf_version_expr): Delete "symbol". Add "literal". bfd/ PR 7047 * configure.in: Bump version. * configure: Regenerate. * elflink.c (_bfd_elf_link_assign_sym_version): Continue matching against version nodes when a global match is a wildcard. Similarly continue matching on local wildcard matches, rather than only continuing for "*". Have any global wildcard match override a local wildcard match. Correct logic hiding unversioned symbol. (bfd_elf_size_dynamic_sections): Update for changes to struct bfd_elf_version_expr. ld/ PR 7047 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Update for changes to struct bfd_elf_version_expr. * ldlang.c (lang_vers_match, version_expr_head_hash): Likewise. (version_expr_head_eq, lang_finalize_version_expr_head): Likewise. (lang_register_vers_node): Likewise. (lang_new_vers_pattern): Likewise. Ensure "literal" is set when no glob chars found in "pattern". (realsymbol): Correct backslash quote logic. * ld.texinfo (VERSION): Warn about global wildcards.
* * overview2.sgml: Reorganize and make minor wording changes.Christopher Faylor2008-11-252-14/+19
|
* * overview2.sgml: Clarify unix-specific automatic updates section.Christopher Faylor2008-11-252-11/+22
|
* * overview2.sgml: Add text that no automatic updates are provided.Corinna Vinschen2008-11-252-3/+11
|
* * libc/stdio/gets.c (_gets_r): Lock stdin here and callCorinna Vinschen2008-11-252-2/+12
| | | | __sgetc_r instead of _getchar_r.
* * cris.h (R_CRIS_32_TPREL): Correct comment.Hans-Peter Nilsson2008-11-252-5/+9
| | | | (R_CRIS_DTPMOD): Open up for use elsewhere than the fourth GOT entry.
* 2008-11-24 Craig Howland <howland@LGSInnovations.com>Jeff Johnston2008-11-241-0/+1
| | | | | | | | | | | | | | | | | | | | * libc/stdlib/wcstoull_r.c: Add EINVAL return for bad base value, include wchar.h for prototype, remove extraneous includes, use C99/POSIX ULLONG_MAX (but allow for poor limits.h). * libc/stdlib/wcstoull.c: Fix usage comments (mistakes and to add base value check noted above), remove extraneous includes. * libc/stdio/asnprintf.c: Add #include "local.h" to get function prototype for _svfprintf_r(). * libc/stdio/vasnprintf.c: Ditto. * libc/stdio/local.h: Add function prototype for __submore(). * libc/include/stdio.h: Add function prototypes for _fseeko_r and _ftello_r. * libc/posix/namespace.h: Commented out define for write to eliminate write() prototype being missing for collate.c (which is the only file that presently includes namespace.h). * libc/include/reent.h: Added _rename_r. * libc/reent/renamer.c: Corrected function prototypes in synopses. * libc/locale/ldpart.c: Use struct stat64 when calling fstat64.
* 2008-11-24 Craig Howland <howland@LGSInnovations.com>Jeff Johnston2008-11-2410-18/+58
| | | | | | | | | | | | | | | | | | | | * libc/stdlib/wcstoull_r.c: Add EINVAL return for bad base value, include wchar.h for prototype, remove extraneous includes, use C99/POSIX ULLONG_MAX (but allow for poor limits.h). * libc/stdlib/wcstoull.c: Fix usage comments (mistakes and to add base value check noted above), remove extraneous includes. * libc/stdio/asnprintf.c: Add #include "local.h" to get function prototype for _svfprintf_r(). * libc/stdio/vasnprintf.c: Ditto. * libc/stdio/local.h: Add function prototype for __submore(). * libc/include/stdio.h: Add function prototypes for _fseeko_r and _ftello_r. * libc/posix/namespace.h: Commented out define for write to eliminate write() prototype being missing for collate.c (which is the only file that presently includes namespace.h). * libc/include/reent.h: Added _rename_r. * libc/reent/renamer.c: Corrected function prototypes in synopses. * libc/locale/ldpart.c: Use struct stat64 when calling fstat64.