99790663b8* bfd/coff-arm.c (coff_arm_relocate_section) (record_thumb_to_arm_glue, bfd_arm_process_before_allocation): Change member name class to symbol_class. * bfd/coff-i960.c (coff_i960_relocate_section) Rename variable class to class_val. Change member name class to symbol_class. * bfd/coff-rs6000.c (_bfd_xcoff_swap_aux_in) (_bfd_xcoff_swap_aux_out): Rename arguments class to in_class. * bfd/coff-stgo32.c (adjust_aux_in_post) (adjust_aux_out_pre, adjust_aux_out_post): Rename arguments class to in_class. * bfd/coff64-rs6000.c (_bfd_xcoff64_swap_aux_in) (_bfd_xcoff64_swap_aux_out): Rename arguments class to in_class. * bfd/coffcode.h (coff_pointerize_aux_hook): Rename variable class to n_sclass. * bfd/coffgen.c (coff_write_symbol, coff_pointerize_aux): Rename variables named class to n_sclass. (coff_write_symbols): Rename variable class to sym_class. (bfd_coff_set_symbol_class): Rename argument class to symbol_class. * bfd/cofflink.c (_bfd_coff_link_hash_newfunc) (coff_link_add_symbols, _bfd_coff_link_input_bfd) (_bfd_coff_write_global_sym, _bfd_coff_generic_relocate_section): Update code to use renamed members. * bfd/coffswap.h (coff_swap_aux_in, coff_swap_aux_out): Rename argument class to in_class. * bfd/libcoff-in.h (struct coff_link_hash_entry, struct coff_debug_merge_type) Renamed members class to symbol_class and type_class. * bfd/libcoff.h Regenerated. * bfd/peXXigen.c: (_bfd_XXi_swap_aux_in, _bfd_XXi_swap_aux_out): Rename argument class to in_class. * bfd/pef.c (bfd_pef_parse_imported_symbol): Update code to use renamed members. * bfd/pef.h (struct bfd_pef_imported_symbol): Changed name of member class to symbol_class. * binutils/ieee.c (ieee_read_cxx_misc, ieee_read_cxx_class) (ieee_read_reference): Rename variables named class to cxxclass. * gas/config/tc-arc.c (struct syntax_classes): Rename member class to s_class. (arc_extinst): Rename variable class to s_class. Update code to use renamed members. * gas/config/tc-mips.c (insn_uses_reg): Rename argument class to regclass. * gas/config/tc-ppc.c (ppc_csect, ppc_change_csect, ppc_function) (ppc_tc, ppc_is_toc_sym, ppc_symbol_new_hook, ppc_frob_label) (ppc_fix_adjustable, md_apply_fix): Update code to use renamed members. * gas/config/tc-ppc.h (struct ppc_tc_sy): Change name of member from class to symbol_class. (OBJ_COPY_SYMBOL_ATTRIBUTES): Update code to use renamed members. * gas/config/tc-score.c (s3_adjust_paritybit): Rename argument class to i_class. * gas/config/tc-score7.c (s7_adjust_paritybit): Rename argument class to i_class. * gprof/corefile.c (core_create_function_syms): Rename variable class to cxxclass. * include/coff/ti.h (GET_LNSZ_SIZE, PUT_LNSZ_SIZE): Updated name of class variable to in_class to match changes in function that use this macro. * include/opcode/ia64.h (struct ia64_operand): Renamed member class to op_class * ld/emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols) (gld${EMULATION_NAME}_try_needed): Rename variable class to link_class * opcodes/ia64-dis.c (print_insn_ia64): Update code to use renamed member. * opcodes/m88k-dis.c (m88kdis): Rename variable class to in_class. * opcodes/tic80-opc.c (tic80_symbol_to_value) (tic80_value_to_symbol): Rename argument class to symbol_class.
Nick Clifton
2009-09-05 07:56:25 +0000
ec977517dcgas/ * config/bfin-parse.y (asm_1): Implement HLT instruction. Fix comments for DBGA, DBGAH and DBGAL. * config/tc-bfin.c (bfin_gen_pseudodbg_assert): Change according to the new encoding of DBGA, DBGAH, and DBGAL.
Jie Zhang
2009-09-04 04:29:40 +0000
2601da9fffupdate copyright dates
Alan Modra
2009-09-03 02:02:48 +0000
2dd53c83d4merge from gcc
DJ Delorie
2009-09-02 16:08:35 +0000
46b487005aupdate copyright dates
Alan Modra
2009-09-02 07:21:40 +0000
a8a01987442009-09-02 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini
2009-09-02 07:05:02 +0000
532032a874Avoid multiple link time definitions of _printf() for C++
Keith Marshall
2009-09-01 20:41:55 +0000
d984eb88db* select.cc (peek_console): Always check window size when there is ANY keyboard activity.
Christopher Faylor
2009-09-01 14:25:10 +0000
21bc970cf8merge from gcc
DJ Delorie
2009-08-31 23:24:07 +0000
a9dd6324612009-08-31 Takaki Makino <t@snowelm.com>
Jeff Johnston
2009-08-31 22:12:41 +0000
dd5b8f6c17* ltmain.sh (func_normal_abspath): New function. (func_relative_path): Likewise. (func_mode_help): Document new -bindir option for link mode. (func_mode_link): Add new -bindir option, and use it to place output DLL if specified.
Dave Korn
2009-08-31 16:59:32 +0000
89b883512d2009-08-30 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe
2009-08-30 23:20:52 +0000
96d3d07383Updated sources to avoid using the identifier name "new", which is a keyword in c++.
Nick Clifton
2009-08-29 22:11:00 +0000
eb9194f52c2009-08-25 Andy Koppe <andy.koppe@gmail.com>
Jeff Johnston
2009-08-25 18:47:24 +0000
c177980e75* mount.cc (fs_info::update): Add comment. * path.cc (symlink_info::check_reparse_point): Return -1 for volume mount points. Explain why. (symlink_info::check): Call fs.update again for volume mount points. Explain why.
Corinna Vinschen
2009-08-25 11:27:03 +0000
162a23c5042009-08-24 Corinna Vinschen <corinna@vinschen.de>
Jeff Johnston
2009-08-24 22:11:11 +0000
ce1831cb4eSync from GCC: Update AC_PREREQ entries to 2.64.
Ralf Wildenhues
2009-08-24 19:12:54 +0000
4b4a1363aa2009-08-24 Andy Koppe <andy.koppe@gmail.com>
Jeff Johnston
2009-08-24 16:59:35 +0000
11788f8ce0* globals.cc (ro_u_volume): New R/O unicode string. * path.cc (symlink_info::check_reparse_point): Fix check for volume mount points to work on Vista and later as well.
Corinna Vinschen
2009-08-24 11:14:30 +0000
84acd4c989Cleanups after the update to Autoconf 2.64, Automake 1.11.
Ralf Wildenhues
2009-08-22 17:08:06 +0000
efd58f08fcRegenerate tree using Autoconf 2.64 and Automake 1.11.
Ralf Wildenhues
2009-08-22 16:56:38 +0000
f3b6fef631* cygwin/strfuncs.cc (__set_charset_from_codepage): Add codepages 20866 (KOI8-R) and 21866 (KOI8-U).
Christopher Faylor
2009-08-22 15:01:03 +0000
fca2207542Update automake-provided files in the toplevel.
Ralf Wildenhues
2009-08-22 11:48:33 +0000
d90dc552ac* setup2.sgml (setup-locale-charsetlist): Add description of case-insensitivity of charsets. Fix a typo. Add "UTF8" to the list.
Corinna Vinschen
2009-08-22 08:44:04 +0000
6282fe16dd* dll_init.h (has_dtors): New flag. (run_dtors): New wrapper function which avoids calling dtors more than once. * dll_init.cc (dll_global_dtors): Use dll.run_dtors wrapper. (dll_list::detach): Ditto. (dll_list::alloc): Set has_dtors flag.
Christopher Faylor
2009-08-21 21:32:06 +0000
e41f43a1a6* fcntl.cc (fcntl64): Detect negative fd as error.
Christopher Faylor
2009-08-21 21:19:45 +0000
24149e4aa9* libc/locale/locale.c (loadlocale): Throughout check charset string case insensitive and store internal charset string uppercased. Allow "UTF8" additionally to "UTF-8". Add this change to documentation.
Corinna Vinschen
2009-08-21 20:56:13 +0000
3584ff9cb2iconv: match SUSv3 prototype
Eric Blake
2009-08-21 20:27:10 +0000
c11ba63d522009-08-21 Craig Howland <howland@LGSInnovations.com>
Jeff Johnston
2009-08-21 20:25:28 +0000
a2c5f4b4e4* mmap.cc (mmap64): Allocate fh_disk_file on cygheap. Delete explicitely before returning.
Corinna Vinschen
2009-08-21 08:47:59 +0000
5d38c0d906hppa.h (pa_opcodes): Add a pa10 bb without FLAG_STRICT.
Nick Hudson
2009-08-20 20:31:27 +0000
1c1b04b84c* dtable.cc (build_fh_dev): Take additional bool parameter indicating whether set_name should be called or not. (dtable::dup_worker): Call build_fh_pc with new second parameter set to false. Explain why. If fhandler's dup failed, delete rather than cfree newfh and set newfh to NULL to indicate failure correctly. * dtable.h (build_fh_pc): Change declaration according to above change. Default set_name parameter to true. * mmap.cc (mmap_record::free_fh): Delete rather than cfree fh.
Corinna Vinschen
2009-08-20 08:34:21 +0000
5546e07b4fDisable option checking in the toplevel, avoid 2.64 fopen glitch.
Ralf Wildenhues
2009-08-19 22:21:10 +0000
4315703af7* syscalls.cc (popen): Reorganize slightly for clarity. Fix a comment.
Christopher Faylor
2009-08-18 01:51:35 +0000
d5c44ae231* syscalls.cc (popen): Rewrite to accommodate situations where stdin, stdout, or stderr are closed.
Christopher Faylor
2009-08-18 01:40:46 +0000
28c054b720* pipe.cc (fhandler_pipe::create_selectable): Add -pipe to default pipe names. * lib/_cygwin_crt0_common.cc (_cygwin_crt0_common): Use bool/true/false for what is actually a boolean variable.
Christopher Faylor
2009-08-17 12:45:51 +0000
de856c4402* config.sub, config.guess: Update from upstream sources.
Ben Elliston
2009-08-17 04:10:29 +0000
b17d0de476Sync config/ from GCC:
Ralf Wildenhues
2009-08-16 12:49:48 +0000
8484e111d5Sync include/ChangeLog-9103 from GCC to fix invalid UTF-8.
Ralf Wildenhues
2009-08-16 12:06:21 +0000
22fa2131292009-08-14 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe
2009-08-15 02:50:19 +0000
719ffe8792* fhandler_disk_file.cc (fhandler_disk_file::readdir): Fix length check for ".." dir.
Corinna Vinschen
2009-08-14 18:27:18 +0000
e684ace44e* fhandler_disk_file.cc (fhandler_disk_file::readdir): Change comment to be fair.
Corinna Vinschen
2009-08-14 14:10:31 +0000
e575678945* fhandler_disk_file.cc (fhandler_disk_file::readdir_helper): Remove ill-advised attempt to optimize "." and ".." handling by checking for specific position in directory listing. Explain why. (fhandler_disk_file.cc (fhandler_disk_file::readdir): Ditto. Special-case opening file on NFS to fetch inode number and add longish comment to explain why.
Corinna Vinschen
2009-08-14 13:39:07 +0000
c1999c4b0c* (fhandler_socket::getsockname): Fix length returned for unbound AF_LOCAL sockets. (fhandler_socket::getpeername): Ditto. * net.cc (socketpair): Don't set sun_path and peer_sun_path to make sure getsockname and getpeername return the correct values for AF_LOCAL sockets.
Corinna Vinschen
2009-08-14 06:58:44 +0000
95a1cc7024* fhandler_socket.cc (fhandler_socket::accept): Use sizeof rather then constant size. Truncate returned data, but return full address length as per POSIX. (fhandler_socket::getsockname): Truncate returned data, but return full address length as per POSIX. (fhandler_socket::getpeername): Ditto.
Corinna Vinschen
2009-08-13 15:44:29 +0000
d3d4aa96aa* fhandler.h (class fhandler_socket): Add peer_sun_path member. (fhandler_socket::set_peer_sun_path): New method. (fhandler_socket::get_peer_sun_path): New method. * fhandler_socket.cc (fhandler_socket::fhandler_socket): Initialize peer_sun_path to NULL. (fhandler_socket::~fhandler_socket): Free peer_sun_path if necessary. (fhandler_socket::dup): Duplicate peer_sun_path. (fhandler_socket::accept): Ditto. Return fake unbound peer content and len in case of AF_LOCAL sockets. (fhandler_socket::getsockname): Always use local sockaddr_storage to store socket address and copy over to incoming address. Handle every namelen correctly per POSIX. (fhandler_socket::getpeername): Ditto. Add code path to return correct value for AF_LOCAL sockets. (fhandler_socket::set_peer_sun_path): New method. * net.cc (socketpair): Set peer_sun_path to empty string, just like sun_path.
Corinna Vinschen
2009-08-13 10:26:42 +0000
af0a038ecbChangeLog: Fix typo in "typo".
Corinna Vinschen
2009-08-13 07:41:35 +0000
ce5eb135a2* cxx.cc (default_cygwin_cxx_malloc): Enhance commenting. * dll_init.cc (dll_dllcrt0_1): Likewise. * dlfcn.cc (dlopen): Prevent dlopen()'d DLL from installing any cxx malloc overrides. * include/cygwin/cygwin_dll.h (__dynamically_loaded): New variable. * lib/_cygwin_crt0_common.cc (_cygwin_crt0_common): Check it and only install cxx malloc overrides when statically loaded. Extend comments.
Corinna Vinschen
2009-08-13 07:35:50 +0000
61189f19de* libc/stdio/mktemp.c (mkdtemp): Fix type in function name.
Corinna Vinschen
2009-08-13 07:19:33 +0000
12387ab6f72009=08-12 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2009-08-12 18:22:38 +0000
a73a3f438b* fhandler_socket.cc (fhandler_socket::accept): Always use local sockaddr_storage to store peer address and copy over to incoming peer address if available. Truncate data as necessary according to POSIX.
Corinna Vinschen
2009-08-12 14:48:16 +0000
91dd009e81* mkgroup.c (enum_local_groups): Avoid error message if given group name isn't found and return 0 to allow searching to proceed. Always return 0 or 1, not -1. (enum_groups): Avoid error message if given group name isn't found. * mkpasswd.c (enum_users): Ditto.
Corinna Vinschen
2009-08-11 08:59:50 +0000
b1ce1770ea* include/limits.h (NGROUPS_MAX): Set to a more sane value. * include/sys/param.h (NGROUPS): Ditto.
Corinna Vinschen
2009-08-11 07:28:22 +0000
12fa1497c1include/coff/ Fix references past allocated memory for i386-*-go32. * ti.h (COFF_ADJUST_FILEHDR_IN_POST, COFF_ADJUST_FILEHDR_OUT_POST): Reference F_TARGET_ID only when !COFF0_P.
Jan Kratochvil
2009-08-10 22:02:41 +0000
4e9b47b8d4bfd/ Stop using bfd_usrdata in libbfd. * coff-stgo32.c (bfd_coff_go32stub): Remove. (stub_bytes, comment): Replace STUBSIZE by GO32_STUBSIZE. (adjust_filehdr_in_post): Declare the abfd parameter as unused. Replace STUBSIZE by GO32_STUBSIZE. Save now the stub in filehdr_dst->u.go32.stub. New comment with the reason. (adjust_filehdr_out_pre): Replace STUBSIZE by GO32_STUBSIZE. Substitute the removed macro bfd_coff_go32stub. (adjust_filehdr_out_post, adjust_scnhdr_in_post, adjust_scnhdr_out_pre) (adjust_scnhdr_out_post, adjust_aux_in_post, adjust_aux_out_pre) (adjust_aux_out_post): Replace STUBSIZE by GO32_STUBSIZE. (create_go32_stub, go32_stubbed_coff_bfd_copy_private_bfd_data): Replace STUBSIZE by GO32_STUBSIZE. Substitute the removed macro bfd_coff_go32stub. * coffcode.h (coff_mkobject_hook): Initialize coff->go32stub. * libcoff-in.h (coff_data_type): New field go32stub. * libcoff.h: Regenerated.
Jan Kratochvil
2009-08-10 21:56:42 +0000
9043b49e63* spawn.cc (av::fixup): Check shell scripts for executability only on filesystems/mounts supporting real permissions.
Corinna Vinschen
2009-08-10 18:36:28 +0000
5f8c90bbc02009-08-10 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2009-08-10 16:23:20 +0000
019fc8d880* dtable.cc (DEV_SOCKET): New static WCHAR string. Name of the native NT socket device. (dtable::init_std_file_from_handle): Remove unused tmp_pathbuf variable. Move check for sockets into FILE_TYPE_PIPE clause. Rely on handle_to_fn having recognized socket, or check if getsockopt works to accommodate NT4 shortcoming. (handle_to_fn): Use tmp_pathbuf for OBJECT_NAME_INFORMATION buffer and simplify code due to that. Check name returned by NtQueryObject for socket device.
Corinna Vinschen
2009-08-10 15:38:37 +0000
78d959ce6f* fhandler_console.cc (create_invisible_console_workaround): Fix size of cmd in the way originally intended.
Christopher Faylor
2009-08-10 15:25:58 +0000
d63db09bf8* readelf.c (get_arm_section_type_name): Added support for new sections headers.
Nick Clifton
2009-08-10 14:56:34 +0000
264ae244af* fhandler_console.cc (create_invisible_console_workaround): Fix size of cmd to take spaces into account.
Corinna Vinschen
2009-08-10 08:54:51 +0000
4f2e34d821* mingw: Add fallbacks to search for MinGW components in standard install locations if not found in compiler's $prefix.
Dave Korn
2009-08-10 01:55:14 +0000
2d7697cad1bfd/ From Mike Frysinger <michael.frysinger@analog.com> * elf32-bfin.c (bfin_howto_table, bfin_reloc_map, bfin_check_relocs, bfin_final_link_relocate, bfin_relocate_section, bfin_gc_sweep_hook, _bfinfdpic_emit_got_relocs_plt_entries, bfinfdpic_relocate_section, bfinfdpic_gc_sweep_hook, bfinfdpic_check_relocs, bfin_finish_dynamic_symbol, bfd_bfin_elf32_create_embedded_relocs): Adjust to match the renamed reloc definitions.
Bernd Schmidt
2009-08-09 16:45:05 +0000
7be107ce24* dtable.cc (dtable::init_std_file_from_handle): Fix comment to document change in the Windows 7 workaround. * wincap.cc (wincapc::init): Don't set has_console_handle_problem to false on 32 bit systems.
Corinna Vinschen
2009-08-08 20:24:54 +0000
75bf04114e2009-08-08 Danny Smith <dannysmith@users.sourceforge.net>
Chris Sutcliffe
2009-08-08 13:26:11 +0000