summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add missing ChangeLog entry.Christopher Faylor2012-10-241-0/+4
|
* * configure.in: Add AC_NO_EXECUTABLES,Corinna Vinschen2012-10-243-13/+97
| | | | * configure: Regenerate.
* Move disable_target_specific_optimizations to bfd_link_infoH.J. Lu2012-10-242-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | include/ * bfdlink.h (bfd_link_info): Add disable_target_specific_optimizations. ld/ * ld.h (command_line): Remove disable_target_specific_optimizations. (RELAXATION_DISABLED_BY_DEFAULT): Removed. (RELAXATION_DISABLED_BY_USER): Likewise. (RELAXATION_ENABLED): Likewise. (DISABLE_RELAXATION): Likewise. (ENABLE_RELAXATION): Likewise. * ldmain.c (main): Updated. * ldmain.h (RELAXATION_DISABLED_BY_DEFAULT): New macro. (RELAXATION_DISABLED_BY_USER): Likewise. (RELAXATION_ENABLED): Likewise. (DISABLE_RELAXATION): Likewise. (ENABLE_RELAXATION): Likewise.
* * configure.in: Add check for MINGW_CXX. Remove libiconv check.Yaakov Selkowitz2012-10-248-1585/+1260
| | | | | | | | | | | * configure: Regenerate. * Makefile.in: Remove references to mingw and w32api directories. Use MINGW_CXX instead of mingw script to build MINGW_BINS. Check for libiconv with $CC --print-file-name. * cygcheck.cc: Use relative include paths for Cygwin headers. * path.cc: Ditto. * strace.cc: Ditto * mingw: Remove.
* * Makefile.in (DLL_IMPORTS): Use system import libraries forYaakov Selkowitz2012-10-242-2/+9
| | | | | | kernel32 and ntdll instead of from in-tree w32api. (cygwin0.dll): Remove rule dependency on DLL_IMPORTS, as they are no longer built in-tree.
* 2012-10-24 Kai Tietz <ktietz70@googlemail.com>Yaakov Selkowitz2012-10-245-244/+252
| | | | | | | | | | | | | | | | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Corinna Vinschen <corinna@vinschen.de> * configure.in [cygwin*]: Always build cygserver, lsaauth, utils, and doc. Do not build mingw or w32api. [mingw*]: Build w32api if present. * configure: Regenerate. * Makefile.common: Remove references to mingw and w32api directories. (MINGW_LDFLAGS): Redefine as -static to force static linking with libgcc and libstdc++. * Makefile.in: Remove references to mingw and w32api directories from Cygwin targets.
* * configure.in: Add AC_NO_EXECUTABLES.Corinna Vinschen2012-10-243-13/+97
| | | | * configure: Regenerate.
* 2012-10-24 Kai Tietz <ktietz70@googlemail.com>Yaakov Selkowitz2012-10-246-1165/+1100
| | | | | | | | | | | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> * configure.in: Check for MINGW32_CC and MINGW64_CC. * configure: Regenerate. * Makefile.in: Use MINGW32_CC and MINGW64_CC to build 32-bit and 64-bit DLLs. Remove references to mingw and w32api directories. * cyglsa64.dll: Remove from version control. * make-64bit-version-with-mingw-w64.sh: Remove.
* PR bootstrap/54820Eric Botcazou2012-10-233-1/+15
| | | | | * configure.ac (have_static_libs): Force 'no' for GCC version < 4.5. * configure: Regenerate.
* binutilsTom Tromey2012-10-232-0/+6
| | | | | | | | * readelf.c (get_note_type): Handle NT_SIGINFO, NT_FILE. (print_core_note): New function. (process_note): Call it. include/common/elf * common.h (NT_SIGINFO, NT_FILE): New defines.
* * thread.h (List_insert): Cast first parameter inCorinna Vinschen2012-10-232-8/+16
| | | | | InterlockedCompareExchangePointer call to avoid compiler warnings. (List_remove): Ditto.
* bfd/Nathan Sidwell2012-10-232-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bfd-in.h (bfd_elf_stack_segment_size): Declare. * bfd-in2.h: Rebuilt. * elfxx-target.h (elf_backend_stack_align): New. (elfNN_bed): Add it. * elf-bfd.h (struct elf_backend_data): Add stack_align field. * elf.c (bfd_elf_map_sections_to_segments): Pay attention to stack_align and stacksize for PT_GNU_STACK segment. (assign_file_positions_for_non_load_sections): Set p_memsz for PT_GNU_STACK segment. (copy_elf_program_header): Copy PT_GNU_STACK size. * elflink.c (bfd_elf_stack_segment_size): New function, taken from uclinux backends. (bfd_elf_size_dynamic_sections): Determine PT_GNU_STACK requirements after calling backend. Pay attention to stacksize. * elf32-bfin.c (elf32_bfinfdpic_always_size_sections): Call bfd_elf_stack_segment_size. (elf32_bfinfdpic_modify_program_headers): Delete. (elf32_bfingfdpic_copy_private_bfd_data): Don't copy PT_GNU_STACK here. (elf_backend_stack_align): Override. (elf_backend_modify_program_headers): Don't override. * elf32-frv.c (frvfdpic_always_size_sections): Call bfd_elf_stack_segment_size. (elf32_frvfdpic_modify_program_headers): Delete. (elf32_frvfdpic_copy_private_bfd_data): Don't copy PT_GNU_STACK here. (elf_backend_stack_align): Override. (elf_backend_modify_program_headers): Don't override. * elf32-lm32.c (lm32_elf_always_size_sections): Leave PT_GNU_STACK creation to underlying elf support. Check __stacksize here for backwards compatibility, and set it if needed. (lm32_elf_modify_segment_map): Delete. (lm32_elf_modify_program_headers): Delete. (elf_backend_stack_align): Override. (elf_backend_modify_segment_map): Don't override. (elf_backend_modify_program_headers): Don't override. * elf32-sh.c (sh_elf_always_size_sections): Call bfd_elf_stack_segment_size. (sh_elf_modify_program_headers): Delete. (sh_elf_copy_private_data): Don't copy PT_GNU_STACK here. (elf_backend_stack_align): Override. (elf_backend_modify_program_headers): Don't override. * elf32-tic6x.c (elf32_tic6x_always_size_sections): Call bfd_elf_stack_segment_size. (elf32_tic6x_modify_program_headers): Delete. (elf32_tic6x_copy_private_data): Delete. (elf_backend_stack_align): Override. (bfd_elf32_bfd_copy_private_bfd_data): Don't override. (elf_backend_modify_program_headers): Don't override. include/ * bfdlink.h (struct bfd_link_info): Add stacksize option. ld/ * ld.texinfo (stack-size): New option. * emultempl/elf32.em: Add stack-size option. ld/testsuite/ * ld-elf/binutils.exp: Add -z stack-size=0. * ld-elf/elf.exp: Add stack-exec and stack-size tests. * ld-elf/orphan-region.d: Add stack-size option. Remove xfail. * ld-elf/stack-exec.rd: New. * ld-elf/stack-size.rd: New. * ld-elf/stack.s: New. * ld-scripts/empty-aligned.d: Add stack-size option. * ld-sh/fdpic-stack-set.d: New. * ld-tic6x/shlib-1.rd: Remove __stacksize symbol. * ld-tic6x/shlib-1b.rd: Likewise. * ld-tic6x/shlib-1r.rd: Likewise. * ld-tic6x/shlib-1rb.rd: Likewise. * ld-tic6x/shlib-app-1.rd: Likewise. * ld-tic6x/shlib-app-1b.rd: Likewise. * ld-tic6x/shlib-app-1r.rd: Likewise. * ld-tic6x/shlib-app-1rb.rd: Likewise. * ld-tic6x/shlib-noindex.rd: Likewise. * ld-tic6x/static-app-1.rd: Likewise. * ld-tic6x/static-app-1b.rd: Likewise. * ld-tic6x/static-app-1r.rd: Likewise. * ld-tic6x/static-app-1rb.rd: Likewise.
* * winbase.h: Remove.Corinna Vinschen2012-10-222-98/+4
|
* * libc/include/string.h (strdup, strndup): Declare if notCorinna Vinschen2012-10-222-0/+14
| | | | __STRICT_ANSI__ or _XOPEN_SOURCE is defined appropriately.
* * libc/include/stdlib.h (strtof, strtoll, strtoull, strtold):PrototypeCorinna Vinschen2012-10-222-0/+17
| | | | if not __STRICT_ANSI__ or stdc version C99 or greater.
* include/Alan Modra2012-10-222-0/+9
| | | | | | | | | | | | | | | PR ld/14426 * bfdlink.h (bfd_link_info): Add ignore_hash. ld/ PR ld/14426 * ldlex.h (option_values): Add OPTION_IGNORE_UNRESOLVED_SYMBOL. * lexsup.c (parse_args): Likewise. (ld_options): Describe --ignore-unresolved-symbol. * ldmain.h (add_ignoresym): Declare. * ldmain.c (add_ignoresym): New function, extracted from.. (undefined_symbol): ..here. Return if the symbol is in ignore_hash. (constructor_callback): Don't use global link_info here. (reloc_overflow): Likewise.
* * child_info.h (CURR_CHILD_INFO_MAGIC): Update.Corinna Vinschen2012-10-222-1/+5
|
* PR bootstrap/54820Eric Botcazou2012-10-225-498/+428
| | | | | | | | | | | | | * Makefile.tpl (STAGE1_FLAGS_TO_PASS): New variable. (all-[+prefix+][+module+]): Pass stage1_args to sub-makes. (all-stage[+id+]-[+prefix+][+module+]): Likewise, if prev is false. (clean-stage[+id+]-[+prefix+][+module+]): Likewise, if prev is false. (host_modules): Set stage1_args to STAGE1_FLAGS_TO_PASS. * Makefile.in: Regenerate. * configure.ac (have_static_libs): New variable and associated check. (stage1-ldflags): Move to after stage1_libs and set to -static-libstdc++ -static-libgcc if stage1_libs is empty and have_static_libs is yes. * configure: Regenerate.
* * include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 18.Corinna Vinschen2012-10-212-1/+5
|
* * libc/sys/mmixware/sbrk.c (_sbrk): Drop unused extern declarationHans-Peter Nilsson2012-10-212-2/+23
| | | | of "end". Mark allocated memory by applying PRELD.
* * new-features.sgml (ov-new1.7.17): Add section.Corinna Vinschen2012-10-202-0/+22
|
* * Makefile.in (cygcheck.exe): Add temporary (1.7.17-only) hack toCorinna Vinschen2012-10-192-1/+7
| | | | | allow cygcheck running on pre-Vista despite of the new w32api not matching the locally used w32api.
* * libc/stdlib/getopt.c (getopt_internal): Align handling of colon toCorinna Vinschen2012-10-162-5/+33
| | | | | SUSv4 requirements. (__getopt_long_r): Fix formatting.
* * libc/stdio/vfprintf.c (__sbprintf): Fix comment.Corinna Vinschen2012-10-162-2/+6
|
* * libc/include/assert.h (static_assert): Define.Corinna Vinschen2012-10-162-0/+8
|
* * libc/include/sys/features.h (__GNUC_PREREQ): Define. UseCorinna Vinschen2012-10-1610-19/+41
| | | | | | | throughout in place of explicit GNUC version checks. * libc/include/_ansi.h (_NOINLINE): Define. (_NOINLINE_STATIC): Define. * libc/stdio/vfprintf.c (__sbprintf): Define _NOINLINE_STATIC.
* *** empty log message ***Corinna Vinschen2012-10-161-0/+3
|
* *** empty log message ***Corinna Vinschen2012-10-161-0/+7
|
* * fhandler_floppy.cc (fhandler_dev_floppy::lseek): Remove lloffset.Corinna Vinschen2012-10-163-38/+34
| | | | | | Use offset directly. Add shortcut for lseek(fd, 0, SEEK_CUR) case. (fhandler_dev_floppy::ioctl): Drop wrong RDSETBLK case. * fhandler_raw.cc (fhandler_dev_raw::ioctl): Revamp RDSETBLK code.
* * fhandler_tty.cc (fhandler_pty_slave::write): Fix potential exit from loopChristopher Faylor2012-10-153-1/+11
| | | | | with write mutex held. Delete redundant mutex release. Clear tty error once we've grabbed it.
* * fhandler_raw.cc (fhandler_dev_raw::fhandler_dev_raw): Drop gratuitousCorinna Vinschen2012-10-152-6/+5
| | | | initializing from previous patch.
* * fhandler_floppy.cc (fhandler_dev_floppy::open): Fix comment.Corinna Vinschen2012-10-152-3/+7
|
* * fhandler_tty.cc (fhandler_pty_slave::write): DWORD -> BOOL.Christopher Faylor2012-10-152-1/+5
|
* * hppa.h (pa_opcodes): Use "cX" completer instead of "cx" in fstqxJohn David Anglin2012-10-152-4/+9
| | | | opcodes. Likewise, use "cM" instead of "cm" in fstqs opcodes.
* * fhandler.h (class fhandler_dev_raw): Add members devbufalloc andCorinna Vinschen2012-10-136-80/+209
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | devbufalign. (class fhandler_dev_floppy): Remove member bytes_per_sector; * fhandler_floppy.cc (bytes_per_sector): Define as devbufalign. (fhandler_dev_floppy::open): Set devbufalign to a multiple of the sector size and handle devbuf allocation and alignment in !O_DIRECT case here. Change comment accordingly. Call FSCTL_ALLOW_EXTENDED_DASD_IO for partitions as well. (fhandler_dev_floppy::raw_write): Fix comment. Rewrite and fix writing behaviour when application uses read and lseek. (fhandler_dev_floppy::lseek): Use rounddown macro. Call SetFilePointerEx rather than the old SetFilePointer. (fhandler_dev_floppy::ioctl): Reformat switch. Call IOCTL_DISK_UPDATE_PROPERTIES rather than IOCTL_DISK_UPDATE_DRIVE_SIZE in BLKRRPART case. Support BLKIOMIN, BLKIOOPT, BLKPBSZGET and BLKALIGNOFF. * fhandler_raw.cc (fhandler_dev_raw::fhandler_dev_raw): Initialize all devbuf-related members. (fhandler_dev_raw::~fhandler_dev_raw): Delete devbufalloc rather than devbuf. (fhandler_dev_raw::open): Drop allocating devbuf. (fhandler_dev_raw::dup): Allocate devbufalloc and set devbuf to support new sector-aligned devbuf handling. (fhandler_dev_raw::fixup_after_exec): Ditto. * fhandler_tape.cc (fhandler_dev_tape::open): Ditto, set devbufalign to 1. * include/cygwin/fs.h (BLKIOMIN): Define. (BLKIOOPT): Define. (BLKALIGNOFF): Define. (BLKPBSZGET): Define.
* * fhandler_raw.cc (fhandler_dev_raw::open): Allow O_EXCL flag, as onCorinna Vinschen2012-10-122-3/+8
| | | | Linux.
* * fhandler_termios.cc (fhandler_termios::line_edit): Don't manipulateChristopher Faylor2012-10-124-16/+24
| | | | | | | | | output_mutex on CTRL-S/CTRL-Q to avoid a deadlock. * fhandler_tty.cc (fhandler_pty_slave::write): Loop when output_stopped is detected before acquiring output_mutex. Acquire output_mutex in the loop for each write. * tty.h: Remove some obsolete defines. (tty_min::output_stopped): Make 'bool'.
* config.{guess,sub}: update from upstream config-patches repoMichael Frysinger2012-10-113-31/+64
| | | | | | | | | From: David Holsgrove <david.holsgrove@xilinx.com> Adds microblaze little endian support. Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* * include/cygwin/in.h (struct in_addr): Guard with s_addr to avoidCorinna Vinschen2012-10-102-0/+9
| | | | potential collision with Win32 headers.
* merge from gccDJ Delorie2012-10-103-2/+15
|
* * child_info.h (child_info_spawn::has_execed): Remove unneeded synchronization.Christopher Faylor2012-10-092-2/+5
|
* * pinfo.cc: Remove unneeded assert.h.Christopher Faylor2012-10-092-1/+4
|
* * cygcheck.cc (dump_sysinfo): Convert "if/else if" chain to a switchCorinna Vinschen2012-10-092-9/+21
| | | | | statement. Drop "not yet supported" and "Server" from Windows 2012 output string.
* * libc/posix/wordfree.c (wordfree): The wrong words are freedCorinna Vinschen2012-10-094-32/+73
| | | | | | | | when WRDE_DOOFFS is in use. Restructure the code so that the memory needed to be freed is instead kept in an internal linked list... * libc/posix/wordexp2.h: ...as defined here... * libc/posix/wordexp.c (wordexp): ...and build this internal linked list here, avoiding wasteful strdup calls in the process.
* * libc/posix/wordexp.c (wordexp): Return WRDE_NOSPACE on resourceCorinna Vinschen2012-10-092-27/+72
| | | | allocation failure. Cleanup leftover resources when failing.
* * libc/posix/wordexp.c (wordexp): Handle expanded words longerCorinna Vinschen2012-10-092-7/+25
| | | | than 500 bytes.
* * libc/posix/wordexp.c (wordexp): Don't leak file streams.Corinna Vinschen2012-10-092-2/+6
|
* 2012-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>Andreas Krebbel2012-10-042-0/+5
| | | | | | | | | | | | | | | | | | | | | | * config/tc-s390.c (s390_parse_cpu): Add new option zEC12. * doc/as.texinfo: Document new option zEC12. * doc/c-s390.texi: Likewise. 2012-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * gas/s390/s390.exp: Run zEC12 tests. * gas/s390/zarch-zEC12.d: New file. * gas/s390/zarch-zEC12.s: New file. 2012-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * s390-mkopc.c: Support new option zEC12. * s390-opc.c: Add new instruction formats. * s390-opc.txt: Add new instructions for zEC12. 2012-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * s390.h (s390_opcode_cpu_val): Add S390_OPCODE_ZEC12.
* * libc/machine/rl78/setjmp.S: Convert from CPP macros to GASDJ Delorie2012-10-034-35/+65
| | | | | | | | macros, to avoid dependence on the line separation character. * rl78/crt0.S (_interrupt_vector_table): Convert from CPP macros to GAS macros, to avoid dependence on the line separation character.
* * libc/sys/sysnecv850/sbrk.c (_sbrk): Change heap_start to be anDJ Delorie2012-10-024-4/+15
| | | | | | | | array of undefined size, to avoid problems when compiled with -msda=4. * v850/sbrk.c (_sbrk): Change heap_start to be an array of undefined size, to avoid problems when compiled with -msda=4.