summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* merge from gccDJ Delorie2009-09-251-0/+14
|
* * setup2.sgml (setup-locale-problems): Fix charset names of codepagesCorinna Vinschen2009-09-252-1/+6
| | | | 936 and 949.
* Fix faccessat(,0) and access() semantics.Eric Blake2009-09-257-25/+38
| | | | | | | | | | | * fhandler.h (fhandler_base::fhaccess): Add parameter. * security.h (check_file_access, check_registry_access): Likewise. * security.cc (check_file_access, check_registry_access) (check_access): Implement new parameter. * fhandler.cc (fhandler_base::fhaccess): Likewise. (device_access_denied): Update caller. * syscalls.cc (access, faccessat): Update callers. * spawn.cc (find_exec, fixup): Likewise.
* * setup2.sgml (setup-locale-problems): Document how to installEric Blake2009-09-252-0/+13
| | | | non-default charsets.
* include/Cary Coutant2009-09-242-2/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | * dwarf2.h (DW_TAG_rvalue_reference_type, DW_TAG_template_alias): New tags. (DW_FORM_ref_sig8): New name for DW_FORM_sig8. (DW_AT_main_subprogram, DW_AT_data_bit_offset, DW_AT_const_expr, DW_AT_enum_class, DW_AT_linkage_name, DW_AT_GNU_guarded_by, DW_AT_GNU_pt_guarded_by, DW_AT_GNU_guarded, DW_AT_GNU_pt_guarded, DW_AT_GNU_locks_excluded, DW_AT_GNU_exclusive_locks_required, DW_AT_GNU_shared_locks_required, DW_AT_GNU_odr_signature): New attributes. (DW_LANG_Python): New language. binutils/ * dwarf.c (get_TAG_name): Add missing DWARF-3 and new DWARF-4 tags. (get_FORM_name): Add new DWARF-4 forms. (read_and_display_attr_value): Add DW_FORM_ref_sig8, DW_LANG_Python. (get_AT_name): Add new DWARF-4 and GNU-specific attributes. (process_debug_info): Add do_types parameter; change all callers. Add support for .debug_types sections. (display_debug_types): New function. (debug_displays): Add .debug_types section. * readelf.c (process_section_headers): Add .debug_types section. (display_debug_section): Simplify call to streq.
* * posix_ipc.cc (mq_open): Avoid closing the same descriptor twice inCorinna Vinschen2009-09-242-4/+15
| | | | | case of errors. (sem_open): Ditto.
* * kernel32.cc (CreateMutexW): Use correct access mask.Corinna Vinschen2009-09-242-2/+7
| | | | (CreateSemaphoreW): Ditto.
* * libc/locale/locale.c: Drop Cygwin-specific windows.h include.Corinna Vinschen2009-09-232-4/+6
| | | | (loadlocale): Call __set_charset_from_codepage with 0 codepage.
* * strfuncs.cc (__set_charset_from_codepage): Fetch current ANSICorinna Vinschen2009-09-232-1/+8
| | | | codepage if cp is 0.
* Fix typo.Corinna Vinschen2009-09-231-1/+1
|
* * strfuncs.cc (sys_cp_wcstombs): Convert lone surrogate pairCorinna Vinschen2009-09-232-35/+73
| | | | | | | | | | | | second halves to unambiguous ASCII SO sequence. When converting chars invalid in current codepage to ASCII SO sequence, make sure to check for surrogate pair second half only if ct least one wide characters is left. Decrement nwc if valid second half has been converted. (sys_cp_mbstowcs): Improve ASCII SO handling. Never break from loop if invalid character has been found. Recognize ASCII SO sequence representing originally invalid mulitbyte char converted into a lone surrogate pair second half. Convert accordingly.
* * config.sub, config.guess: Update from upstream sources.Nick Clifton2009-09-233-83/+52
|
* merge from gccDJ Delorie2009-09-222-0/+13
|
* 2009-09-22 Ralf Corsépius <ralf.corsepius@rtems.org>Jeff Johnston2009-09-222-0/+8
| | | | * libc/include/stdlib.h: Add posix_memalign.
* 2009-09-22 Ralf Corsépius <ralf.corsepius@rtems.org>Jeff Johnston2009-09-222-2/+7
| | | | | * configure.host (*-rtems*): Remove -DMISSING_SYSCALL_NAMES. Add -DHAVE_BLKSIZE, -D_NO_WORDEXP -D_NO_POPEN.
* 2009-09-22 Ralf Corsépius <ralf.corsepius@rtems.org>Jeff Johnston2009-09-222-2/+7
| | | | | * configure.host (m32c): Move setting -DABORT_PROVIDED to second "case $host".
* Error out if building separately but srcdir has build remnants.Ralf Wildenhues2009-09-223-0/+17
| | | | | | | | /: PR bootstrap/32272 * configure.ac: Error out if $srcdir isn't '.' but contains host-${host_noncanonical}. * configure: Regenerate.
* * autoload.cc (WSARecv): Define.Corinna Vinschen2009-09-223-6/+29
| | | | | * fhandler_socket.cc (fhandler_socket::recv_internal): Call WSARecv instead of WSARecvFrom if no name parameter is given. Explain why.
* Make *at functions more like Linux.Eric Blake2009-09-222-1/+38
| | | | | | * syscalls.cc (faccessat): Fix typo, reject bad flags. (fchmodat, fchownat, fstatat, utimensat, linkat, unlinkat): Reject bad flags.
* * strfuncs.cc (sys_cp_mbstowcs): Reset shift state after handlingCorinna Vinschen2009-09-222-0/+6
| | | | invalid multibyte sequence.
* * path.cc (symlink_worker): Rework error handling to generate LinuxCorinna Vinschen2009-09-222-4/+18
| | | | compatible errno in case of trailing slash in newpath.
* Match dup2 and fcntl error values to POSIX.Eric Blake2009-09-226-5/+23
| | | | | | | | * dtable.h (OPEN_MAX_MAX): New macro. * resource.cc (getrlimit) [RLIMIT_NOFILE]: Use it. * dtable.cc (dtable::extend): Likewise. * fcntl.cc (fcntl64): Obey POSIX rule with too-large F_DUPFD. * syscalls.cc (dup2): Likewise.
* * ChangeLog-2002: Fix typo.Eric Blake2009-09-222-2/+2
| | | | * ChangeLog-2008: Likewise.
* o * ppc.h (ppc_cpu_t): Typedef to uint64_t.Alan Modra2009-09-222-1/+7
|
* Require c++ in stage1_languages with --enable-gold in combined bootstrap.Ralf Wildenhues2009-09-213-0/+18
| | | | | | | /: * configure.ac: If bootstrapping a combined tree with --enable-gold, require c++ in stage1_languages. * configure: Regenerate.
* toplevel configure: bootstrap target_libs of stage1_languages.Ralf Wildenhues2009-09-213-6/+16
| | | | | | | /: * configure.ac: Also add target_libs of stage1_languages to bootstrap_target_libs. * configure: Regenerate.
* * cygheap.h (cwdstuff::get_posix): Convert to const inline method justCorinna Vinschen2009-09-214-29/+40
| | | | | | | | | | | | | | returning pointer to posix path. (cwdstuff::reset_posix): Convert to non-inline method taking a wchar_t pointer. * path.cc (cwdstuff::set): Revert change from 2009-05-13. Set posix to valid incoming path again. (cwdstuff::reset_posix): New implementation setting posix path from incoming wchar_t path. Explain usage. (cwdstuff::get_posix): Drop implementation. (cwdstuff::get): Drop special case to handle empty posix path. * syscalls.cc (internal_setlocale): Store old posix cwd as wide char path. Restore posix cwd using new charset. Explain why.
* Diagnose --enable-build-with-cxx --enable-bootstrap --enable-languages w/o c++Ralf Wildenhues2009-09-213-0/+20
| | | | | | | /: * configure.ac: Diagnose --enable-build-with-cxx bootstrap with --enable-languages not containing c++. * configure: Regenerate.
* 2009-09-21 Ken Werner <ken.werner@de.ibm.com>Jeff Johnston2009-09-212-8/+6
| | | | * spu/getpagesize.c: Align getpagesize implementation to POSIX
* include/elf/Alan Modra2009-09-213-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ppc.h (DT_PPC_TLSOPT): Define. * ppc64.h (DT_PPC64_TLSOPT): Define. bfd/ * elf32-ppc.c (TLS_GET_ADDR_GLINK_SIZE): Define. (ADD_3_12_2, BEQLR, CMPWI_11_0, LWZ_11_3, LWZ_12_3): Define. (MR_0_3, MR_3_0): Define. (struct ppc_elf_link_hash_table): Add no_tls_get_addr_opt. (ppc_elf_select_plt_layout): Save emit_stub_syms param earlier. (ppc_elf_tls_setup): Add no_tls_get_addr_opt param and save to hash table. Check for presense of __tls_get_addr_opt (allocate_dynrelocs): Increase glink entry size for __tls_get_addr. (ppc_elf_size_dynamic_sections): Add DT_PPC_TLS_OPT tag. (write_glink_stub): Add param p. (ppc_elf_relocate_section): Adjust write_glink_stub call. (ppc_elf_finish_dynamic_symbol): Emit special glink call stub for __tls_get_addr. * elf32-ppc.h (ppc_elf_tls_setup): Update prototype. * elf64-ppc.c (struct ppc_link_hash_table): Add no_tls_get_addr_opt. (ppc64_elf_tls_setup): Add no_tls_get_addr_opt param and save to hash table. Check for presense of __tls_get_addr_opt. (ppc64_elf_size_dynamic_sections): Add DT_PPC64_TLS_OPT tag. (LD_R11_0R3, LD_R12_0R3, MR_R0_R3, CMPDI_R11_0, ADD_R3_R12_R13, BEQLR, MR_R3_R0, MFLR_R11, STD_R11_0R1, BCTRL, LD_R11_0R1, LD_R2_0R1, MTLR_R11): Define. (build_tls_get_addr_stub): New function. (ppc_build_one_stub): Call it. (ppc_size_one_stub): Add extra size for __tls_get_addr stub. (ppc64_elf_relocate_section): Don't change nop to ld 2,40(1) for __tls_get_addr plt call. * elf64-ppc.h (ppc64_elf_tls_setup): Update prototype. binutils/ * readelf.c (get_ppc_dynamic_type): Add TLSOPT. (get_ppc64_dynamic_type): Likewise. ld/ * emultempl/ppc32elf.em (no_tls_get_addr_opt): New var. (ppc_before_allocation): Pass to ppc_elf_tls_setup. (OPTION_NO_TLS_GET_ADDR_OPT): Define. Redefine other options in terms of previous option. (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --no-tls-get-addr-optimize. (PARSE_AND_LIST_ARGS_CASES): Handle it. * emultempl/ppc64elf.em (no_tls_get_addr_opt): New var. (ppc_before_allocation): Pass to ppc64_elf_tls_setup. (OPTION_NO_TLS_GET_ADDR_OPT): Define. (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --no-tls-get-addr-optimize. (PARSE_AND_LIST_ARGS_CASES): Handle it. ld/testsuite/ * ld-powerpc/tlslib.s: Delete dot-symbol entry syms. Add __tls_get_addr_opt. * ld-powerpc/tlslib32.s: Add __tls_get_addr_opt. * ld-powerpc/oldtlslib.s: New file, old-abi version of tlslib.s. * ld-powerpc/powerpc.exp: Build old-abi library and use it in two new link tests. * ld-powerpc/tlsexe.d: Update for new __tls_get_addr stub. * ld-powerpc/tlsexe.g, * ld-powerpc/tlsexe.r, *ld-powerpc/tlsexe32.d, * ld-powerpc/tlsexe32.g, * ld-powerpc/tlsexe32.r, * ld-powerpc/tlsexetoc.d, * ld-powerpc/tlsexetoc.g, * ld-powerpc/tlsexetoc.r: Likewise.
* * new-features.sgml (ov-new1.7-file): Add new hardlink behaviour onCorinna Vinschen2009-09-213-2/+12
| | | | | filesystems not supporting hardlinks. * overview2.sgml (ov-hi-files): Change descripton accordingly.
* * fhandler_disk_file.cc (fhandler_disk_file::link): Drop faking hardlinkCorinna Vinschen2009-09-212-11/+8
| | | | creation on filesystems not supporting hardlinks.
* gas/Ben Elliston2009-09-212-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | * config/tc-ppc.c (md_show_usage): Document -mpcca2. * doc/c-ppc.texi (PowerPC-Opts): Document -mppca2. gas/testsuite/ * gas/ppc/a2.s: New. * gas/ppc/a2.d: Likewise. * gas/ppc/ppc.exp: Run the a2 dump test. include/opcode/ * ppc.h (PPC_OPCODE_PPCA2): New. opcodes/ * ppc-dis.c (ppc_opts): Add "ppca2" entry. * ppc-opc.c (powerpc_opcodes): Add eratilx, eratsx, eratsx., eratre, wchkall, eratwe, ldawx., mdfcrx., mfdcr. mtdcrx., icswx, icswx., mtdcr., dci, wclrone, wclrall, wclr, erativax, tlbsrx., ici mnemonics. (ERAT_T): New operand. (XWC_MASK): New mask. (XOPL2): New macro. (PPCA2): Define.
* * dcrt0.cc (dll_crt0_1): Add another hack to REALLY make sure that cxx_mallocChristopher Faylor2009-09-212-0/+11
| | | | is always set to the cygwin version.
* * external.cc (cygwin_internal): Add hack to always reset cxx_malloc to properChristopher Faylor2009-09-213-2/+16
| | | | | value. * lib/_cygwin_crt0_common.cc (_cygwin_crt0_common): Relocate wayward comment.
* * exceptions.cc (sigpacket::process): Explicitly set thread-specific handlerChristopher Faylor2009-09-192-1/+9
| | | | | | function to zero to avoid transferring to incorrect location. (_cygtls::call_signal_handler): Don't transfer to handler if there is no handler to transfer to.
* * libc/include/sys/unistd.h: Declare getpagesize as returning POSIX-mandatedChristopher Faylor2009-09-193-2/+8
| | | | | int. * libc/sys/linux/sys/unistd.h: Ditto.
* * exceptions.cc (sigpacket::process): Give sigwait() processing precedence evenChristopher Faylor2009-09-183-4/+12
| | | | | when a handler is present. * syscalls.cc (getpagesize): Change return to 'int'.
* * ntea.c (write_ea): Don't abort if not-samba.Christopher Faylor2009-09-162-2/+11
|
* 2009-09-16 Mike Frysinger <michael.frysinger@analog.com>Jeff Johnston2009-09-1667-1275/+11089
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bfin/include/cdefBF512.h, bfin/include/cdefBF514.h, bfin/include/cdefBF516.h, bfin/include/cdefBF518.h, bfin/include/cdefBF51x_base.h, bfin/include/cdefBF523.h, bfin/include/cdefBF524.h, bfin/include/cdefBF526.h, bfin/include/cdefBF542M.h, bfin/include/cdefBF544M.h, bfin/include/cdefBF547M.h, bfin/include/cdefBF548M.h, bfin/include/cdefBF549M.h, bfin/include/defBF512.h, bfin/include/defBF514.h, bfin/include/defBF516.h, bfin/include/defBF518.h, bfin/include/defBF51x_base.h, bfin/include/defBF523.h, bfin/include/defBF524.h, bfin/include/defBF526.h, bfin/include/defBF542M.h, bfin/include/defBF544M.h, bfin/include/defBF547M.h, bfin/include/defBF548M.h, bfin/include/defBF549M.h: New file. * bfin/include/ccblkfn.h, bfin/include/cdefBF525.h, bfin/include/cdefBF527.h, bfin/include/cdefBF52x_base.h, bfin/include/cdefBF532.h, bfin/include/cdefBF534.h, bfin/include/cdefBF535.h, bfin/include/cdefBF538.h, bfin/include/cdefBF539.h, bfin/include/cdefBF542.h, bfin/include/cdefBF544.h, bfin/include/cdefBF547.h, bfin/include/cdefBF548.h, bfin/include/cdefBF549.h, bfin/include/cdefBF54x_base.h, bfin/include/cdefBF561.h, bfin/include/cdefblackfin.h, bfin/include/cdef_LPBlackfin.h, bfin/include/cplb.h, bfin/include/defBF527.h, bfin/include/defBF52x_base.h, bfin/include/defBF532.h, bfin/include/defBF534.h, bfin/include/defBF535.h, bfin/include/defBF537.h, bfin/include/defBF538.h, bfin/include/defBF539.h, bfin/include/defBF542.h, bfin/include/defBF544.h, bfin/include/defBF547.h, bfin/include/defBF548.h, bfin/include/defBF549.h, bfin/include/defBF54x_base.h, bfin/include/defBF561.h, bfin/include/defblackfin.h, bfin/include/def_LPBlackfin.h, bfin/include/sys/_adi_platform.h, bfin/include/sys/anomaly_macros_rtl.h, bfin/include/sys/exception.h, bfin/include/sysreg.h: Update to Visual DSP 5.0 Update 6.
* 2009-09-16 Mike Frysinger <michael.frysinger@analog.com>Jeff Johnston2009-09-166-1/+118
| | | | | | | | | * bfin/Makefile.in (BOARD_SCRIPTS): Add bf512.ld, bf514.ld, and bf516.ld, bf518.ld. * bfin/bf512.ld: New file. * bfin/bf514.ld: Likewise. * bfin/bf516.ld: Likewise. * bfin/bf518.ld: Likewise
* 2009-09-16 Jie Zhang <jie.zhang@analog.com>Jeff Johnston2009-09-1626-25/+29
| | | | * bfin/*.ld: Fix typos in comments.
* * configure.ac: Disable java and boehm-gc for bfin-*-*.Jie Zhang2009-09-163-2/+9
| | | | * configure: Regenerate.
* Updated soruces in bfd/* to compile cleanly with -Wc++-compat.Nick Clifton2009-09-093-7/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bfd/aoutx.h: Add casts. * bfd/archive.c: Add casts. * bfd/archive64.c: Add casts. * bfd/archures.c: Add casts. * bfd/bfd-in2.h: Regenerated. * bfd/bfd.c: Add casts. (enum bfd_direction): Move out to top level. * bfd/bfdio.c: Add casts. * bfd/binary.c: Add casts. * bfd/cache.c (cache_bseek,cache_bread_1,cache_bwrite): Updated parameter to use enum value instead of int. * bfd/coffcode.h: Add casts. * bfd/coffgen.c: Add casts. * bfd/cofflink.c: Add casts. * bfd/compress.c: Add casts. * bfd/dwarf1.c: Add casts. * bfd/dwarf2.c: Add casts. (struct dwarf2_debug): Rename member bfd to bfd_ptr. Update code to use new name. * bfd/elf-attrs.c: Add casts. * bfd/elf-bfd.h (elf_link_virtual_table_entry): Gives name to anonymous struct. (union gotplt_union, struct elf_link_virtual_table_entry): Move to top level. * bfd/elf-eh-frame.c: Add casts. * bfd/elf-strtab.c: Add casts. * bfd/elf.c: Add casts. (_bfd_elm_make_Section_from_phdr): Change argument name from typename to type_name. * bfd/elf32-i386.c: Add casts. * bfd/elf64-x86-64.c: Add casts. * bfd/elfcode.h: Add casts. * bfd/elfcore.h: Add casts. * bfd/elflink.c: Add casts. * bfd/format.c: Add casts. * bfd/hash.c: Add casts. * bfd/ihex.c: Add casts. * bfd/libaout.h (enum aout_subformat, enum aout_magic): Move to top level. * bfd/libbfd.c: Add casts. * bfd/linker.c: Add casts. * bfd/merge.c: Add casts. * bfd/opncls.c: Add casts. * bfd/peXXigen.c: Add casts. * bfd/peicode.h: Add casts. * bfd/reloc.c: Add casts. * bfd/section.c: Add casts. * bfd/simple.c: Add casts. * bfd/srec.c: Add casts. * bfd/stabs.c: Add casts. * bfd/syms.c: Add casts. * bfd/targets.c: Add casts. * bfd/tekhex.c: Add casts. * bfd/verilog.c: Add casts. * include/bfdlink.h (struct bfd_link_hash_common_entry): Move to top level.
* config:Paolo Bonzini2009-09-092-32/+486
| | | | | | | | | | | | 2009-09-09 Paolo Bonzini <bonzini@gnu.org> * stdint.m4 (GCC_HEADER_STDINT): Revert changes to this macro in the previous two patches. bfd: 2009-09-09 Paolo Bonzini <bonzini@gnu.org> * configure: Regenerate.
* config:Paolo Bonzini2009-09-092-480/+53
| | | | | | | | | | | 2009-09-09 Paolo Bonzini <bonzini@gnu.org> * stdint.m4: Store temporary file in $tmp/_GCC_STDINT_H. bfd: 2009-09-09 Paolo Bonzini <bonzini@gnu.org> * configure: Regnerate.
* 2009-09-08 Bernd Schmidt <bernd.schmidt@analog.com>Jeff Johnston2009-09-082-0/+6
| | | | * bfin/include/ccblkfn.h: New file.
* 2009-09-08 Mike Frysinger <michael.frysinger@analog.com>Jeff Johnston2009-09-083-7/+13
| | | | | | * bfin/include/sys/_adi_platform.h: Convert __ASSEMBLY__ to __ASSEMBLER__. * bfin/include/sys/pll.h: Likewise
* 2009-09-08 Jie Zhang <jie.zhang@analog.com>Jeff Johnston2009-09-082-9/+5
| | | | | * bfin/Makefile.in (basiccrt.o, basiccrts.o): Don't use -mcpu=bf532-any for the default multilib.
* Fix toplevel config.status for HP-UX sed.Ralf Wildenhues2009-09-083-21/+62
| | | | | | | | | /: * configure.ac: Do not use $extrasub for replacing @if/@endif parts in Makefile; instead, use additional arguments to AC_CONFIG_COMMANDS to do the replacement manually, with several sed invocations, to avoid HP-UX sed command limits. * configure: Regenerate.