]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
14 years agoFix some POSIX-compliance bugs in link, rename, mkdir.
Eric Blake [Sat, 26 Sep 2009 15:51:53 +0000 (15:51 +0000)]
Fix some POSIX-compliance bugs in link, rename, mkdir.

* syscalls.cc (link): Delete obsolete comment.  Reject directories
and missing source up front.
(rename): Use correct errno for trailing '.'.  Detect empty
strings.  Allow trailing slash to newpath iff oldpath is
directory.
* dir.cc (mkdir): Reject dangling symlink with trailing slash.
* fhandler_disk_file.cc (fhandler_disk_file::link): Reject
trailing slash.
* fhandler.cc (fhandler_base::link): Match Linux errno.

14 years agomerge from gcc
DJ Delorie [Sat, 26 Sep 2009 00:01:16 +0000 (00:01 +0000)]
merge from gcc

14 years ago* libc/include/sys/unistd.h (eaccess, euidaccess) [__CYGWIN__]:
Eric Blake [Fri, 25 Sep 2009 23:57:09 +0000 (23:57 +0000)]
* libc/include/sys/unistd.h (eaccess, euidaccess) [__CYGWIN__]:
Add declarations.

14 years ago* new-features.sgml (ov-new1.7-file): Mention eaccess, euidaccess,
Eric Blake [Fri, 25 Sep 2009 23:56:18 +0000 (23:56 +0000)]
* new-features.sgml (ov-new1.7-file): Mention eaccess, euidaccess,
canonicalize_file_name, and document change in access semantics.

14 years agoProvide euidaccess, canonicalize_file_name; fix fchmodat.
Eric Blake [Fri, 25 Sep 2009 23:55:00 +0000 (23:55 +0000)]
Provide euidaccess, canonicalize_file_name; fix fchmodat.

* syscalls.cc (fchmodat): lchmod is not yet implemented.
(euidaccess): New function.
* path.cc (realpath): Update comment.
(canonicalize_file_name): New function.
* include/cygwin/stdlib.h (canonicalize_file_name): Declare it.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
* cygwin.din: Export canonicalize_file_name, eaccess, euidaccess.
* posix.sgml: Mention them.

14 years ago * configure.ac: Pass any --cache-file=/dev/null option on to
Nick Clifton [Fri, 25 Sep 2009 19:25:04 +0000 (19:25 +0000)]
    * configure.ac: Pass any --cache-file=/dev/null option on to
        subconfigures.
        * configure: Regenerate.

14 years agomerge from gcc
DJ Delorie [Fri, 25 Sep 2009 19:02:00 +0000 (19:02 +0000)]
merge from gcc

14 years ago * setup2.sgml (setup-locale-problems): Fix charset names of codepages
Corinna Vinschen [Fri, 25 Sep 2009 16:42:36 +0000 (16:42 +0000)]
* setup2.sgml (setup-locale-problems): Fix charset names of codepages
936 and 949.

14 years agoFix faccessat(,0) and access() semantics.
Eric Blake [Fri, 25 Sep 2009 13:44:45 +0000 (13:44 +0000)]
Fix faccessat(,0) and access() semantics.

* 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.

14 years ago* setup2.sgml (setup-locale-problems): Document how to install
Eric Blake [Fri, 25 Sep 2009 12:27:46 +0000 (12:27 +0000)]
* setup2.sgml (setup-locale-problems): Document how to install
non-default charsets.

14 years agoinclude/
Cary Coutant [Thu, 24 Sep 2009 20:52:07 +0000 (20:52 +0000)]
include/

* 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.

14 years ago * posix_ipc.cc (mq_open): Avoid closing the same descriptor twice in
Corinna Vinschen [Thu, 24 Sep 2009 09:25:35 +0000 (09:25 +0000)]
* posix_ipc.cc (mq_open): Avoid closing the same descriptor twice in
case of errors.
(sem_open): Ditto.

14 years ago * kernel32.cc (CreateMutexW): Use correct access mask.
Corinna Vinschen [Thu, 24 Sep 2009 09:09:45 +0000 (09:09 +0000)]
* kernel32.cc (CreateMutexW): Use correct access mask.
(CreateSemaphoreW): Ditto.

14 years ago * libc/locale/locale.c: Drop Cygwin-specific windows.h include.
Corinna Vinschen [Wed, 23 Sep 2009 17:19:00 +0000 (17:19 +0000)]
* libc/locale/locale.c: Drop Cygwin-specific windows.h include.
(loadlocale): Call __set_charset_from_codepage with 0 codepage.

14 years ago * strfuncs.cc (__set_charset_from_codepage): Fetch current ANSI
Corinna Vinschen [Wed, 23 Sep 2009 17:13:55 +0000 (17:13 +0000)]
* strfuncs.cc (__set_charset_from_codepage): Fetch current ANSI
codepage if cp is 0.

14 years ago Fix typo.
Corinna Vinschen [Wed, 23 Sep 2009 12:01:42 +0000 (12:01 +0000)]
Fix typo.

14 years ago * strfuncs.cc (sys_cp_wcstombs): Convert lone surrogate pair
Corinna Vinschen [Wed, 23 Sep 2009 11:31:00 +0000 (11:31 +0000)]
* strfuncs.cc (sys_cp_wcstombs): Convert lone surrogate pair
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.

14 years ago * config.sub, config.guess: Update from upstream sources.
Nick Clifton [Wed, 23 Sep 2009 09:51:31 +0000 (09:51 +0000)]
    * config.sub, config.guess: Update from upstream sources.

14 years agomerge from gcc
DJ Delorie [Tue, 22 Sep 2009 21:52:47 +0000 (21:52 +0000)]
merge from gcc

14 years ago2009-09-22 Ralf Corsépius <ralf.corsepius@rtems.org>
Jeff Johnston [Tue, 22 Sep 2009 21:49:20 +0000 (21:49 +0000)]
2009-09-22  Ralf Corsépius <ralf.corsepius@rtems.org>

        * libc/include/stdlib.h: Add posix_memalign.

14 years ago2009-09-22 Ralf Corsépius <ralf.corsepius@rtems.org>
Jeff Johnston [Tue, 22 Sep 2009 21:24:55 +0000 (21:24 +0000)]
2009-09-22  Ralf Corsépius <ralf.corsepius@rtems.org>

        * configure.host (*-rtems*): Remove -DMISSING_SYSCALL_NAMES.
        Add -DHAVE_BLKSIZE, -D_NO_WORDEXP -D_NO_POPEN.

14 years ago2009-09-22 Ralf Corsépius <ralf.corsepius@rtems.org>
Jeff Johnston [Tue, 22 Sep 2009 21:23:13 +0000 (21:23 +0000)]
2009-09-22  Ralf Corsépius <ralf.corsepius@rtems.org>

        * configure.host (m32c): Move setting -DABORT_PROVIDED to second
        "case $host".

14 years agoError out if building separately but srcdir has build remnants.
Ralf Wildenhues [Tue, 22 Sep 2009 18:00:40 +0000 (18:00 +0000)]
Error out if building separately but srcdir has build remnants.

/:
PR bootstrap/32272
* configure.ac: Error out if $srcdir isn't '.' but contains
host-${host_noncanonical}.
* configure: Regenerate.

14 years ago * autoload.cc (WSARecv): Define.
Corinna Vinschen [Tue, 22 Sep 2009 14:27:57 +0000 (14:27 +0000)]
* autoload.cc (WSARecv): Define.
* fhandler_socket.cc (fhandler_socket::recv_internal): Call WSARecv
instead of WSARecvFrom if no name parameter is given.  Explain why.

14 years agoMake *at functions more like Linux.
Eric Blake [Tue, 22 Sep 2009 12:13:53 +0000 (12:13 +0000)]
Make *at functions more like Linux.

* syscalls.cc (faccessat): Fix typo, reject bad flags.
(fchmodat, fchownat, fstatat, utimensat, linkat, unlinkat): Reject
bad flags.

14 years ago * strfuncs.cc (sys_cp_mbstowcs): Reset shift state after handling
Corinna Vinschen [Tue, 22 Sep 2009 09:44:32 +0000 (09:44 +0000)]
* strfuncs.cc (sys_cp_mbstowcs): Reset shift state after handling
invalid multibyte sequence.

14 years ago * path.cc (symlink_worker): Rework error handling to generate Linux
Corinna Vinschen [Tue, 22 Sep 2009 09:24:30 +0000 (09:24 +0000)]
* path.cc (symlink_worker): Rework error handling to generate Linux
compatible errno in case of trailing slash in newpath.

14 years agoMatch dup2 and fcntl error values to POSIX.
Eric Blake [Tue, 22 Sep 2009 04:09:03 +0000 (04:09 +0000)]
Match dup2 and fcntl error values to POSIX.

* 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.

14 years ago* ChangeLog-2002: Fix typo.
Eric Blake [Tue, 22 Sep 2009 02:49:15 +0000 (02:49 +0000)]
* ChangeLog-2002: Fix typo.
* ChangeLog-2008: Likewise.

14 years agoo * ppc.h (ppc_cpu_t): Typedef to uint64_t.
Alan Modra [Tue, 22 Sep 2009 02:36:26 +0000 (02:36 +0000)]
o * ppc.h (ppc_cpu_t): Typedef to uint64_t.

14 years agoRequire c++ in stage1_languages with --enable-gold in combined bootstrap.
Ralf Wildenhues [Mon, 21 Sep 2009 20:32:59 +0000 (20:32 +0000)]
Require c++ in stage1_languages with --enable-gold in combined bootstrap.

/:
* configure.ac: If bootstrapping a combined tree with
--enable-gold, require c++ in stage1_languages.
* configure: Regenerate.

14 years agotoplevel configure: bootstrap target_libs of stage1_languages.
Ralf Wildenhues [Mon, 21 Sep 2009 20:31:02 +0000 (20:31 +0000)]
toplevel configure: bootstrap target_libs of stage1_languages.

/:
* configure.ac: Also add target_libs of stage1_languages to
bootstrap_target_libs.
* configure: Regenerate.

14 years ago * cygheap.h (cwdstuff::get_posix): Convert to const inline method just
Corinna Vinschen [Mon, 21 Sep 2009 19:29:16 +0000 (19:29 +0000)]
* cygheap.h (cwdstuff::get_posix): Convert to const inline method just
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.

14 years agoDiagnose --enable-build-with-cxx --enable-bootstrap --enable-languages w/o c++
Ralf Wildenhues [Mon, 21 Sep 2009 19:25:05 +0000 (19:25 +0000)]
Diagnose --enable-build-with-cxx --enable-bootstrap --enable-languages w/o c++

/:
* configure.ac: Diagnose --enable-build-with-cxx bootstrap
with --enable-languages not containing c++.
* configure: Regenerate.

14 years ago2009-09-21 Ken Werner <ken.werner@de.ibm.com>
Jeff Johnston [Mon, 21 Sep 2009 16:07:34 +0000 (16:07 +0000)]
2009-09-21  Ken Werner  <ken.werner@de.ibm.com>

        * spu/getpagesize.c: Align getpagesize implementation to POSIX

14 years agoinclude/elf/
Alan Modra [Mon, 21 Sep 2009 11:51:01 +0000 (11:51 +0000)]
include/elf/
* 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.

14 years ago * new-features.sgml (ov-new1.7-file): Add new hardlink behaviour on
Corinna Vinschen [Mon, 21 Sep 2009 11:01:19 +0000 (11:01 +0000)]
* new-features.sgml (ov-new1.7-file): Add new hardlink behaviour on
filesystems not supporting hardlinks.
* overview2.sgml (ov-hi-files): Change descripton accordingly.

14 years ago * fhandler_disk_file.cc (fhandler_disk_file::link): Drop faking hardlink
Corinna Vinschen [Mon, 21 Sep 2009 10:56:50 +0000 (10:56 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::link): Drop faking hardlink
creation on filesystems not supporting hardlinks.

14 years agogas/
Ben Elliston [Mon, 21 Sep 2009 10:29:07 +0000 (10:29 +0000)]
gas/
* 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.

14 years ago* dcrt0.cc (dll_crt0_1): Add another hack to REALLY make sure that cxx_malloc
Christopher Faylor [Mon, 21 Sep 2009 02:32:06 +0000 (02:32 +0000)]
* dcrt0.cc (dll_crt0_1): Add another hack to REALLY make sure that cxx_malloc
is always set to the cygwin version.

14 years ago* external.cc (cygwin_internal): Add hack to always reset cxx_malloc to proper
Christopher Faylor [Mon, 21 Sep 2009 02:19:31 +0000 (02:19 +0000)]
* external.cc (cygwin_internal): Add hack to always reset cxx_malloc to proper
value.
* lib/_cygwin_crt0_common.cc (_cygwin_crt0_common): Relocate wayward comment.

14 years ago* exceptions.cc (sigpacket::process): Explicitly set thread-specific handler
Christopher Faylor [Sat, 19 Sep 2009 15:34:19 +0000 (15:34 +0000)]
* exceptions.cc (sigpacket::process): Explicitly set thread-specific handler
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.

14 years ago* libc/include/sys/unistd.h: Declare getpagesize as returning POSIX-mandated
Christopher Faylor [Sat, 19 Sep 2009 02:30:51 +0000 (02:30 +0000)]
* libc/include/sys/unistd.h: Declare getpagesize as returning POSIX-mandated
int.
* libc/sys/linux/sys/unistd.h: Ditto.

14 years ago* exceptions.cc (sigpacket::process): Give sigwait() processing precedence even
Christopher Faylor [Fri, 18 Sep 2009 21:27:02 +0000 (21:27 +0000)]
* exceptions.cc (sigpacket::process): Give sigwait() processing precedence even
when a handler is present.
* syscalls.cc (getpagesize): Change return to 'int'.

14 years ago* ntea.c (write_ea): Don't abort if not-samba.
Christopher Faylor [Wed, 16 Sep 2009 16:23:51 +0000 (16:23 +0000)]
* ntea.c (write_ea): Don't abort if not-samba.

14 years ago2009-09-16 Mike Frysinger <michael.frysinger@analog.com>
Jeff Johnston [Wed, 16 Sep 2009 16:08:27 +0000 (16:08 +0000)]
2009-09-16  Mike Frysinger  <michael.frysinger@analog.com>

        * 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.

14 years ago2009-09-16 Mike Frysinger <michael.frysinger@analog.com>
Jeff Johnston [Wed, 16 Sep 2009 15:59:40 +0000 (15:59 +0000)]
2009-09-16  Mike Frysinger  <michael.frysinger@analog.com>

        * 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

14 years ago2009-09-16 Jie Zhang <jie.zhang@analog.com>
Jeff Johnston [Wed, 16 Sep 2009 15:56:58 +0000 (15:56 +0000)]
2009-09-16  Jie Zhang  <jie.zhang@analog.com>

        * bfin/*.ld: Fix typos in comments.

14 years ago * configure.ac: Disable java and boehm-gc for bfin-*-*.
Jie Zhang [Wed, 16 Sep 2009 00:45:55 +0000 (00:45 +0000)]
* configure.ac: Disable java and boehm-gc for bfin-*-*.
* configure: Regenerate.

14 years ago Updated soruces in bfd/* to compile cleanly with -Wc++-compat.
Nick Clifton [Wed, 9 Sep 2009 21:38:59 +0000 (21:38 +0000)]
    Updated soruces in bfd/* to compile cleanly with -Wc++-compat.

        * 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.

14 years agoconfig:
Paolo Bonzini [Wed, 9 Sep 2009 19:46:39 +0000 (19:46 +0000)]
config:
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.

14 years agoconfig:
Paolo Bonzini [Wed, 9 Sep 2009 17:05:42 +0000 (17:05 +0000)]
config:
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.

14 years ago2009-09-08 Bernd Schmidt <bernd.schmidt@analog.com>
Jeff Johnston [Tue, 8 Sep 2009 21:22:06 +0000 (21:22 +0000)]
2009-09-08  Bernd Schmidt  <bernd.schmidt@analog.com>

* bfin/include/ccblkfn.h: New file.

14 years ago2009-09-08 Mike Frysinger <michael.frysinger@analog.com>
Jeff Johnston [Tue, 8 Sep 2009 21:20:12 +0000 (21:20 +0000)]
2009-09-08  Mike Frysinger  <michael.frysinger@analog.com>

* bfin/include/sys/_adi_platform.h: Convert __ASSEMBLY__ to
__ASSEMBLER__.
* bfin/include/sys/pll.h: Likewise

14 years ago2009-09-08 Jie Zhang <jie.zhang@analog.com>
Jeff Johnston [Tue, 8 Sep 2009 21:17:58 +0000 (21:17 +0000)]
2009-09-08  Jie Zhang  <jie.zhang@analog.com>

        * bfin/Makefile.in (basiccrt.o, basiccrts.o): Don't use
        -mcpu=bf532-any for the default multilib.

14 years agoFix toplevel config.status for HP-UX sed.
Ralf Wildenhues [Tue, 8 Sep 2009 17:55:50 +0000 (17:55 +0000)]
Fix toplevel config.status for HP-UX sed.

/:
* 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.

14 years agoChangeLog:
Alexandre Oliva [Mon, 7 Sep 2009 00:44:08 +0000 (00:44 +0000)]
ChangeLog:
* configure.ac (with-build-config): Document.  Handle without.
Handle missing argument.
* configure: Rebuilt.
config/ChangeLog:
* bootstrap-debug-big.mk (STAGE2_CFLAGS): Drop -gtoggle.
* bootstrap-debug-lean.mk: Update comments.
(STAGE2_CFLAGS): Likewise.
(do-compare): Don't override.
ChangeLog:
* configure.ac (with-build-config): Document.  Handle without.
Handle missing argument.
* configure: Rebuilt.

14 years ago * bfd/coff-arm.c (coff_arm_relocate_section)
Nick Clifton [Sat, 5 Sep 2009 07:56:25 +0000 (07:56 +0000)]
    * 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.

14 years ago gas/
Jie Zhang [Fri, 4 Sep 2009 04:29:40 +0000 (04:29 +0000)]
  gas/
* 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.

include/
* opcode/bfin.h (PseudoDbg_Assert): Add bits_grp and mask_grp.
(PseudoDbg_Assert_grp_bits, PseudoDbg_Assert_grp_mask): Define.
(PseudoDbg_Assert_dbgop_bits, PseudoDbg_Assert_dbgop_mask,
PseudoDbg_Assert_dontcare_bits, PseudoDbg_Assert_dontcare_mask):
Adjust accordingly.
(init_PseudoDbg_Assert): Add PseudoDbg_Assert_grp_bits and
PseudoDbg_Assert_grp_mask.

opcodes/
* bfin-dis.c (decode_pseudodbg_assert_0): Change according
to the new encoding of DBGA, DBGAH, and DBGAL.
(_print_insn_bfin): Likewise.

14 years agoupdate copyright dates
Alan Modra [Thu, 3 Sep 2009 02:02:48 +0000 (02:02 +0000)]
update copyright dates

14 years agomerge from gcc
DJ Delorie [Wed, 2 Sep 2009 16:08:35 +0000 (16:08 +0000)]
merge from gcc

14 years agoupdate copyright dates
Alan Modra [Wed, 2 Sep 2009 07:21:40 +0000 (07:21 +0000)]
update copyright dates

14 years ago2009-09-02 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Wed, 2 Sep 2009 07:05:02 +0000 (07:05 +0000)]
2009-09-02  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl (AWK): Fix typo.
* Makefile.in: Regenerate.

2009-09-02  Paolo Bonzini  <bonzini@gnu.org>

* configure.ac: Detect awk and sed.
* Makefile.def (flags_to_pass): Add AWK and SED.
* Makefile.tpl (AWK, SED): New.
(BASE_FLAGS_TO_PASS): Add AWK and SED.
* configure: Regenerate.
* Makefile.in: Regenerate.

14 years agoAvoid multiple link time definitions of _printf() for C++
Keith Marshall [Tue, 1 Sep 2009 20:41:55 +0000 (20:41 +0000)]
Avoid multiple link time definitions of _printf() for C++

14 years ago* select.cc (peek_console): Always check window size when there is ANY keyboard
Christopher Faylor [Tue, 1 Sep 2009 14:25:10 +0000 (14:25 +0000)]
* select.cc (peek_console): Always check window size when there is ANY keyboard
activity.

14 years ago2009-09-01 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Tue, 1 Sep 2009 13:38:26 +0000 (13:38 +0000)]
2009-09-01  Tristan Gingold  <gingold@adacore.com>

* makefile.vms: Adjust include pathes.  Remove useless vaxctrl
library.
* configure.com: Ported to Itanium VMS.  Create build.com DCL script.
Make edit silent.

14 years agomerge from gcc
DJ Delorie [Mon, 31 Aug 2009 23:24:07 +0000 (23:24 +0000)]
merge from gcc

14 years ago2009-08-31 Takaki Makino <t@snowelm.com>
Jeff Johnston [Mon, 31 Aug 2009 22:12:41 +0000 (22:12 +0000)]
2009-08-31  Takaki Makino  <t@snowelm.com>

        * libm/machine/i386/f_pow.c(_f_pow): Alter ASM so it works with
        newer gcc versions.
        * libm/maachine/i386/f_powf.c(_f_powf): Ditto.

14 years ago * ltmain.sh (func_normal_abspath): New function.
Dave Korn [Mon, 31 Aug 2009 16:59:32 +0000 (16:59 +0000)]
* 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.

14 years ago2009-08-30 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Sun, 30 Aug 2009 23:20:52 +0000 (23:20 +0000)]
2009-08-30  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/wtsapi32.h (WTSQuerySessionInformationA,
        WTSQuerySessionInformationW, WTSQuerySessionInformation, WTSFreeMemory):
        Moved to (_WIN32_WINNT >= 0x0500) guard.
        (thanks to Pierre Ossman)

14 years ago Updated sources to avoid using the identifier name "new", which is a
Nick Clifton [Sat, 29 Aug 2009 22:11:00 +0000 (22:11 +0000)]
    Updated sources to avoid using the identifier name "new", which is a
        keyword in c++.

        * bfd/aoutx.h (NAME (aout, make_empty_symbol)): Rename variable
        new to new_symbol.
        * bfd/coffgen.c (coff_make_empty_symbol)
        (coff_bfd_make_debug_symbol): Rename variable new to new_symbol.
        * bfd/cpu-ia64-opc.c (ext_reg, ins_imms_scaled): Rename variable
        new to new_insn.
        * bfd/doc/chew.c (newentry, add_intrinsic): Rename variable new to
        new_d.
        * bfd/ecoff.c (_bfd_ecoff_make_empty_symbol): Rename variable new
        to new_symbol.
        * bfd/elf32-m68k.c (elf_m68k_get_got_entry_type): Rename argument
        new to new_reloc.
        * bfd/hash.c (bfd_hash_lookup): Rename variable new to new_string.
        * bfd/ieee.c (ieee_make_empty_symbol): Rename variable new to
        new_symbol.
        * bfd/linker.c (bfd_new_link_order): Rename variable new to
        new_lo.
        * bfd/mach-o.c (bfd_mach_o_sizeof_headers): Rename variable new to
        symbol.
        * bfd/oasys.c (oasys_make_empty_symbol): Rename variable new to
        new_symbol_type.
        * bfd/pdp11.c (NAME (aout, make_empty_symbol)): Rename variable
        new to new_symbol_type.
        * bfd/plugin.c (bfd_plugin_make_empty_symbol): Rename variable new
        to new_symbol.
        * bfd/rs6000-core.c (CoreHdr, VmInfo): Rename union member new to
        new_dump.
        (read_hdr, rs6000coff_core_p)
        (rs6000coff_core_file_matches_executable_p)
        (rs6000coff_core_file_failing_command)
        (rs6000coff_core_file_failing_signal): Updated function to use new
        union member name.
        * bfd/som.c (som_make_empty_symbol): Rename variable new to
        new_symbol_type.
        * bfd/syms.c (_bfd_generic_make_empty_symbol): Rename variable new
        to new_symbol.
        * bfd/tekhex.c (first_phase, tekhex_make_empty_symbol): Rename
        variable new to new_symbol.
        * binutils/nlmconv.c (main): Rename variable new to new_name.
        * gas/config/tc-arm.c (insert_reg_alias): Rename variable new to
        new_reg.
        * gas/config/tc-dlx.c (parse_operand): Rename variable new to
        new_pos.
        * gas/config/tc-ia64.c (ia64_gen_real_reloc_type): Rename variable
        new to newr.
        * gas/config/tc-mcore.c (parse_exp, parse_imm): Rename variable
        new to new_pointer.
        * gas/config/tc-microblaze.c (parse_exp, parse_imm, check_got):
        Change name from new to new_pointer.
        * gas/config/tc-or32.c (parse_operand): Rename variable new to
        new_pointer.
        * gas/config/tc-pdp11.c (md_assemble): Rename variable new to
        new_pointer.
        * gas/config/tc-pj.c (alias): Change argument new to new_name.
        * gas/config/tc-score.c (s3_build_score_ops_hsh): Rename variable
        new to new_opcode. (s3_build_dependency_insn_hsh) Rename variable
        new to new_i2n. (s3_convert): Rename variables old and new to
        r_old and r_new.
        * gas/config/tc-score7.c (s7_build_score_ops_hsh): Rename variable
        new to new_opcode. (s7_build_dependency_insn_hsh): Rename variable
        new to new_i2d. (s7_b32_relax_to_b16, s7_convert_frag): Rename
        variables old and new to r_old and r_new.
        * gas/config/tc-sh.c (parse_exp): Rename variable new to
        new_pointer.
        * gas/config/tc-sh64.c (shmedia_parse_exp): Rename variable new to
        new_pointer.
        * gas/config/tc-tic4x.c (tic4x_operand_parse): Rename variable new
        to new_pointer.
        * gas/config/tc-z8k.c (parse_exp): Rename variable new to
        new_pointer.
        * gas/listing.c (listing_newline): Rename variable new to new_i.
        * ld/ldexp.c (exp_intop, exp_bigintop, exp_relop, exp_binop)
        (exp_trinop, exp_unop, exp_nameop, exp_assop): Rename variable new
        to new_e.
        * ld/ldfile.c (ldfile_add_library_path): Rename variable new to
        new_dirs. (ldfile_add_arch): Rename variable new to new_arch.
        * ld/ldlang.c (new_statement, lang_final, lang_add_wild)
        (lang_target, lang_add_fill, lang_add_data, lang_add_assignment)
        (lang_add_insert): Rename variable new to new_stmt. (new_afile):
        Added missing cast. (lang_memory_region_lookup): Rename variable
        new to new_region. (init_os): Rename variable new to
        new_userdata. (lang_add_section): Rename variable new to
        new_section. (ldlang_add_undef): Rename variable new to
        new_undef. (realsymbol): Rename variable new to new_name.
        * opcodes/z8kgen.c (internal, gas): Rename variable new to new_op.

        Updated sources to avoid using the identifier name "template",
        which is a keyword in c++.

        * bfd/elf32-arm.c (struct stub_def): Rename member template to
        template_sequence. (arm_build_one_stub,
        find_stub_size_and_template, arm_size_one_stub, arm_map_one_stub):
        Rename variable template to template_sequence.
        * bfd/elfxx-ia64.c (elfNN_ia64_relax_br, elfNN_ia64_relax_brl):
        Rename variable template to template_val.
        * gas/config/tc-arm.c (struct asm_cond, struct asm_psr, struct
        asm_barrier_opt): Change member template to
        template_name. (md_begin): Update code to reflect new member
        names.
        * gas/config/tc-i386.c (struct templates, struct _i386_insn)
        (match_template, cpu_flags_match, match_reg_size, match_mem_size)
        (operand_size_match, md_begin, i386_print_statistics, pi)
        (build_vex_prefix, md_assemble, parse_insn, optimize_imm)
        (optimize_disp): Updated code to use new names. (parse_insn):
        Added casts.
        * gas/config/tc-ia64.c (dot_template, emit_one_bundle): Updated
        code to use new names.
        * gas/config/tc-score.c (struct s3_asm_opcode): Renamed member
        template to template_name. (s3_parse_16_32_inst, s3_parse_48_inst,
        s3_do_macro_ldst_label, s3_build_score_ops_hsh): Update code to
        use new names.
        * gas/config/tc-score7.c (struct s7_asm_opcode): Renamed member
        template to template_name. (s7_parse_16_32_inst,
        s7_do_macro_ldst_label, s7_build_score_ops_hsh): Update code to
        use new names.
        * gas/config/tc-tic30.c (md_begin, struct tic30_insn)
        (md_assemble): Update code to use new names.
        * gas/config/tc-tic54x.c (struct _tic54x_insn, md_begin)
        (optimize_insn, tic54x_parse_insn, next_line_shows_parallel):
        Update code to use new names.
        * include/opcode/tic30.h (template): Rename type template to
        insn_template. Updated code to use new name.
        * include/opcode/tic54x.h (template): Rename type template to
        insn_template.
        * opcodes/cris-dis.c (bytes_to_skip): Update code to use new name.
        * opcodes/i386-dis.c (putop): Update code to use new name.
        * opcodes/i386-gen.c (process_i386_opcodes): Update code to use
        new name.
        * opcodes/i386-opc.h (struct template): Rename struct template to
        insn_template. Update code accordingly.
        * opcodes/i386-tbl.h (i386_optab): Update type to use new name.
        * opcodes/ia64-dis.c (print_insn_ia64): Rename variable template
        to template_val.
        * opcodes/tic30-dis.c (struct instruction, get_tic30_instruction):
        Update code to use new name.
        * opcodes/tic54x-dis.c (has_lkaddr, get_insn_size)
        (print_parallel_instruction, print_insn_tic54x, tic54x_get_insn):
        Update code to use new name.
        * opcodes/tic54x-opc.c (tic54x_unknown_opcode, tic54x_optab):
        Update type to new name.

14 years ago * path.h (INTERIX_SYMLINK_COOKIE): Define.
Corinna Vinschen [Wed, 26 Aug 2009 20:32:35 +0000 (20:32 +0000)]
* path.h (INTERIX_SYMLINK_COOKIE): Define.
* path.cc (symlink_info::check_sysfile): Read Interix symlinks as well.

14 years ago * fhandler.cc (fhandler_base::open): Only set R/O attribute if ACLs
Corinna Vinschen [Wed, 26 Aug 2009 19:37:34 +0000 (19:37 +0000)]
* fhandler.cc (fhandler_base::open): Only set R/O attribute if ACLs
are not used.

14 years ago * new-features.sgml (ov-new1.7-posix): Add "KOI8-R" and "KOI8-U"
Corinna Vinschen [Wed, 26 Aug 2009 08:15:49 +0000 (08:15 +0000)]
* new-features.sgml (ov-new1.7-posix): Add "KOI8-R" and "KOI8-U"
charsets.

14 years ago2009-08-25 Andy Koppe <andy.koppe@gmail.com>
Jeff Johnston [Tue, 25 Aug 2009 18:47:24 +0000 (18:47 +0000)]
2009-08-25  Andy Koppe  <andy.koppe@gmail.com>

        * libc/stdlib/sb_charsets.c (__micro_atoi): Allow five-digit codepage
        numbers.
        * libc/locale/locale.c (loadlocale): Set MB_CUR_MAX to 1 for KOI8
        charsets.
        * libc/stdlib/local.h (__cp_conv): Remove incorrect number of codepages.

14 years ago * mount.cc (fs_info::update): Add comment.
Corinna Vinschen [Tue, 25 Aug 2009 11:27:03 +0000 (11:27 +0000)]
* 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.

14 years ago2009-08-24 Corinna Vinschen <corinna@vinschen.de>
Jeff Johnston [Mon, 24 Aug 2009 22:11:11 +0000 (22:11 +0000)]
2009-08-24  Corinna Vinschen  <corinna@vinschen.de>

        * libc/locale/locale.c: Update documentation.
        (loadlocale): Map "KOI8-R" and "KOI8-U" to CP20866 and CP21866.

2009-08-24  Andy Koppe  <andy.koppe@gmail.com>

        * libc/stdlib/sb_charsets.c (__cp_conv): Add KOI8-R (Russian, CP20866)
        and KOI8-U (Ukrainian, CP21866) to Windows codepage conversion tables.
        * libc/ctype/ctype_cp.h (__ctype_cp): Likewise for ctype tables.

14 years agoSync from GCC: Update AC_PREREQ entries to 2.64.
Ralf Wildenhues [Mon, 24 Aug 2009 19:12:54 +0000 (19:12 +0000)]
Sync from GCC: Update AC_PREREQ entries to 2.64.

/:
* configure.ac (AC_PREREQ): Bump to 2.64.

intl/:
* configure.ac (AC_PREREQ): Bump to 2.64.

libdecnumber/:
* configure.ac (AC_PREREQ): Bump to 2.64.

libiberty/:
* configure.ac (AC_PREREQ): Bump to 2.64.

14 years ago2009-08-24 Andy Koppe <andy.koppe@gmail.com>
Jeff Johnston [Mon, 24 Aug 2009 16:59:35 +0000 (16:59 +0000)]
2009-08-24  Andy Koppe  <andy.koppe@gmail.com>

        * libc/ctype/iswspace.c (iswspace): Include "non-breaking
        space" (U+00A0).
        * libc/ctype/iswblank.c (iswblank): Likewise.

14 years ago * globals.cc (ro_u_volume): New R/O unicode string.
Corinna Vinschen [Mon, 24 Aug 2009 11:14:30 +0000 (11:14 +0000)]
* 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.

14 years agoCleanups after the update to Autoconf 2.64, Automake 1.11.
Ralf Wildenhues [Sat, 22 Aug 2009 17:08:06 +0000 (17:08 +0000)]
Cleanups after the update to Autoconf 2.64, Automake 1.11.

/:
* README-maintainer-mode: Point directly to upstream locations
for autoconf, automake, libtool, gettext, instead of copies on
sources.redhat.com.  Document required versions.
* configure.ac: Do not substitute datarootdir, htmldir,
pdfdir, docdir.  Do not process --with-datarootdir,
--with-htmldir, --with-pdfdir, --with-docdir.
* configure: Regenerate.

gdb/:
* CONTRIBUTE: Bump documented Autoconf version.
* configure.ac: Do not substitute datarootdir, htmldir,
pdfdir, docdir.  Do not process --with-datarootdir,
--with-htmldir, --with-pdfdir, --with-docdir.
* configure: Regenerate.

gdb/doc/:
* gdbint.texinfo (Releasing GDB): Point to
README-maintainer-mode file for required autoconf version.
* configure.ac: Do not substitute datarootdir, htmldir,
pdfdir, docdir.  Do not process --with-datarootdir,
--with-htmldir, --with-pdfdir, --with-docdir.
* configure: Regenerate.

gprof/:
* Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
(install-pdf-recursive, html__strip_dir, install-html)
(install-html-am, install-html-recursive): Remove.
* Makefile.in: Regenerate.

opcodes/:
* Makefile.am (install-pdf, install-html): Remove.
* Makefile.in: Regenerate.

gas/:
* Makefile.am (install-pdf, install-pdf-recursive, install-html)
(install-html-recursive): Remove.
* Makefile.in: Regenerate.
* doc/Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
(html__strip_dir, install-html, install-html-am): Remove.
* doc/Makefile.in: Regenerate.

ld/:
* Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
(install-pdf-recursive, html__strip_dir, install-html)
(install-html-am, install-html-recursive): Remove.
* Makefile.in: Regenerate.

binutils/:
* Makefile.am (install-pdf, install-pdf-recursive, install-html)
(install-html-recursive): Remove.
* Makefile.in: Regenerate.
* doc/Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
(html__strip_dir, install-html, install-html-am): Remove.
* doc/Makefile.in: Regenerate.

bfd/:
* Makefile.am (datarootdir, docdir, htmldor, pdfdir)
(install-pdf, install-pdf-recursive, install-html)
(install-html-recursive): Remove.
* Makefile.in: Regenerate.

bfd/doc/:
* Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
(html__strip_dir, install-html, install-html-am): Remove.
* Makefile.in: Regenerate.

14 years agoRegenerate tree using Autoconf 2.64 and Automake 1.11.
Ralf Wildenhues [Sat, 22 Aug 2009 16:56:38 +0000 (16:56 +0000)]
Regenerate tree using Autoconf 2.64 and Automake 1.11.

config/:
* override.m4 (_GCC_AUTOCONF_VERSION): Bump to 2.64.

/:
* configure: Regenerate.

etc/:
* configure: Regenerate.

sim/common/:
* config.in: Regenerate.
* configure: Likewise.

sim/iq2000/:
* config.in: Regenerate.
* configure: Likewise.

sim/d10v/:
* config.in: Regenerate.
* configure: Likewise.

sim/igen/:
* config.in: Regenerate.
* configure: Likewise.

sim/m32r/:
* config.in: Regenerate.
* configure: Likewise.

sim/frv/:
* config.in: Regenerate.
* configure: Likewise.

sim/:
* avr/config.in: Regenerate.
* avr/configure: Likewise.
* configure: Likewise.
* cris/config.in: Likewise.
* cris/configure: Likewise.

sim/h8300/:
* config.in: Regenerate.
* configure: Likewise.

sim/mn10300/:
* config.in: Regenerate.
* configure: Likewise.

sim/ppc/:
* config.in: Regenerate.
* configure: Likewise.

sim/erc32/:
* config.in: Regenerate.
* configure: Likewise.

sim/arm/:
* config.in: Regenerate.
* configure: Likewise.

sim/m68hc11/:
* config.in: Regenerate.
* configure: Likewise.

sim/lm32/:
* config.in: Regenerate.
* configure: Likewise.

sim/sh64/:
* config.in: Regenerate.
* configure: Likewise.

sim/v850/:
* config.in: Regenerate.
* configure: Likewise.

sim/cr16/:
* config.in: Regenerate.
* configure: Likewise.

sim/moxie/:
* config.in: Regenerate.
* configure: Likewise.

sim/m32c/:
* config.in: Regenerate.
* configure: Likewise.

sim/mips/:
* config.in: Regenerate.
* configure: Likewise.

sim/mcore/:
* config.in: Regenerate.
* configure: Likewise.

sim/testsuite/d10v-elf/:
* configure: Regenerate.

sim/testsuite/:
* configure: Regenerate.

sim/testsuite/frv-elf/:
* configure: Regenerate.

sim/testsuite/m32r-elf/:
* configure: Regenerate.

sim/testsuite/mips64el-elf/:
* configure: Regenerate.

sim/sh/:
* config.in: Regenerate.
* configure: Likewise.

gold/:
* Makefile.in: Regenerate.
* aclocal.m4: Likewise.
* config.in: Likewise.
* configure: Likewise.
* testsuite/Makefile.in: Likewise.

gprof/:
* Makefile.in: Regenerate.
* aclocal.m4: Likewise.
* configure: Likewise.
* gconfig.in: Likewise.

opcodes/:
* Makefile.in: Regenerate.
* aclocal.m4: Likewise.
* config.in: Likewise.
* configure: Likewise.

gas/:
* Makefile.in: Regenerate.
* aclocal.m4: Likewise.
* config.in: Likewise.
* configure: Likewise.
* doc/Makefile.in: Likewise.

ld/:
* Makefile.in: Regenerate.
* aclocal.m4: Likewise.
* config.in: Likewise.
* configure: Likewise.

gdb/:
* aclocal.m4: Regenerate.
* config.in: Likewise.
* configure: Likewise.
* gnulib/Makefile.in: Likewise.

gdb/doc/:
* configure: Regenerate.

gdb/gdbserver/:
* aclocal.m4: Regenerate.
* config.in: Likewise.
* configure: Likewise.

gdb/testsuite/:
* configure: Regenerate.
* gdb.hp/configure: Likewise.
* gdb.hp/gdb.aCC/configure: Likewise.
* gdb.hp/gdb.base-hp/configure: Likewise.
* gdb.hp/gdb.compat/configure: Likewise.
* gdb.hp/gdb.defects/configure: Likewise.
* gdb.hp/gdb.objdbg/configure: Likewise.
* gdb.stabs/configure: Likewise.

binutils/:
* Makefile.in: Regenerate.
* aclocal.m4: Likewise.
* config.in: Likewise.
* configure: Likewise.
* doc/Makefile.in: Likewise.

bfd/:
* Makefile.in: Regenerate.
* aclocal.m4: Likewise.
* config.in: Likewise.
* configure: Likewise.

bfd/doc/:
* Makefile.in: Regenerate.

readline/:
* configure: Regenerate.

readline/examples/rlfe/:
* configure: Regenerate.

14 years ago* cygwin/strfuncs.cc (__set_charset_from_codepage): Add codepages 20866
Christopher Faylor [Sat, 22 Aug 2009 15:01:03 +0000 (15:01 +0000)]
* cygwin/strfuncs.cc (__set_charset_from_codepage): Add codepages 20866
(KOI8-R) and 21866 (KOI8-U).

* doc/setup2.sgml (setup-locale-charsetlist): Add KOI8-R and KOI8-U to list of
supported charsets.

14 years agoUpdate automake-provided files in the toplevel.
Ralf Wildenhues [Sat, 22 Aug 2009 11:48:33 +0000 (11:48 +0000)]
Update automake-provided files in the toplevel.

/:
* compile: Sync from Automake 1.11.
* depcomp: Likewise.
* install-sh: Likewise.
* missing: Likewise.
* mkinstalldirs: Likewise.
* ylwrap: Likewise.

14 years ago * setup2.sgml (setup-locale-charsetlist): Add description of
Corinna Vinschen [Sat, 22 Aug 2009 08:44:04 +0000 (08:44 +0000)]
* setup2.sgml (setup-locale-charsetlist): Add description of
case-insensitivity of charsets.  Fix a typo.  Add "UTF8" to the list.

14 years ago* dll_init.h (has_dtors): New flag.
Christopher Faylor [Fri, 21 Aug 2009 21:32:06 +0000 (21:32 +0000)]
* 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.

14 years ago* fcntl.cc (fcntl64): Detect negative fd as error.
Christopher Faylor [Fri, 21 Aug 2009 21:19:45 +0000 (21:19 +0000)]
* fcntl.cc (fcntl64): Detect negative fd as error.

14 years ago * libc/locale/locale.c (loadlocale): Throughout check charset string
Corinna Vinschen [Fri, 21 Aug 2009 20:56:13 +0000 (20:56 +0000)]
* 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.

14 years agoiconv: match SUSv3 prototype
Eric Blake [Fri, 21 Aug 2009 20:27:10 +0000 (20:27 +0000)]
iconv: match SUSv3 prototype

* libc/include/iconv.h (iconv): Match POSIX prototype.
* libc/iconv/lib/iconv.c (iconv): Likewise.

14 years ago2009-08-21 Craig Howland <howland@LGSInnovations.com>
Jeff Johnston [Fri, 21 Aug 2009 20:25:28 +0000 (20:25 +0000)]
2009-08-21  Craig Howland <howland@LGSInnovations.com>

        * libm/common/s_remquo.c (remquo):  Fix sign of quotient when |x|==|y|.
        * libc/stdio/mktemp.c:  Add #include <stdlib.h> for function prototypes.

14 years ago * mmap.cc (mmap64): Allocate fh_disk_file on cygheap. Delete
Corinna Vinschen [Fri, 21 Aug 2009 08:47:59 +0000 (08:47 +0000)]
* mmap.cc (mmap64): Allocate fh_disk_file on cygheap.  Delete
explicitely before returning.

14 years agohppa.h (pa_opcodes): Add a pa10 bb without FLAG_STRICT.
Nick Hudson [Thu, 20 Aug 2009 20:31:27 +0000 (20:31 +0000)]
hppa.h (pa_opcodes): Add a pa10 bb without FLAG_STRICT.

14 years ago * dtable.cc (build_fh_dev): Take additional bool parameter indicating
Corinna Vinschen [Thu, 20 Aug 2009 08:34:21 +0000 (08:34 +0000)]
* 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.

14 years agoDisable option checking in the toplevel, avoid 2.64 fopen glitch.
Ralf Wildenhues [Wed, 19 Aug 2009 22:21:10 +0000 (22:21 +0000)]
Disable option checking in the toplevel, avoid 2.64 fopen glitch.

/:
* configure.ac: Call AC_DISABLE_OPTION_CHECKING.
(baseargs): Add --disable-option-checking.
* configure: Regenerate.

config/:
* override.m4 (AC_DISABLE_OPTION_CHECKING): Define to be
empty if not defined, to avoid error with 2.59.
(_AC_LANG_IO_PROGRAM): When the Autoconf version is exactly
2.64, avoid per-language instances to drop fopen from test
program.

14 years ago Fix toplevel target deps.
Ralf Wildenhues [Wed, 19 Aug 2009 21:59:11 +0000 (21:59 +0000)]
Fix toplevel target deps.

/:
* Makefile.def (configure-target-libiberty): Depend on
all-binutils and all-ld.
(configure-target-newlib): Likewise.
* Makefile.in: Regenerate.

14 years agoall-local should depend upon crt0, not all.
Ralf Wildenhues [Wed, 19 Aug 2009 20:04:45 +0000 (20:04 +0000)]
all-local should depend upon crt0, not all.

* iconvdata/Makefile.am (all): Remove.
* libc/sys/a29khif/Makefile.am (all-am): Rename from ...
(all): ... this.
* libc/sys/arc/Makefile.am: Likewise.
* libc/sys/arm/Makefile.am: Likewise.
* libc/sys/d10v/Makefile.am: Likewise.
* libc/sys/decstation/Makefile.am: Likewise.
* libc/sys/h8300hms/Makefile.am: Likewise.
* libc/sys/h8500hms/Makefile.am: Likewise.
* libc/sys/linux/Makefile.am: Likewise.
* libc/sys/linux/machine/i386/Makefile.am: Likewise.
* libc/sys/m88kbug/Makefile.am: Likewise.
* libc/sys/mmixware/Makefile.am: Likewise.
* libc/sys/netware/Makefile.am: Likewise.
* libc/sys/rdos/Makefile.am: Likewise.
* libc/sys/rtems/Makefile.am: Likewise.
* libc/sys/sh/Makefile.am: Likewise.
* libc/sys/sparc64/Makefile.am: Likewise.
* libc/sys/sun4/Makefile.am: Likewise.
* libc/sys/sysmec/Makefile.am: Likewise.
* libc/sys/sysnec810/Makefile.am: Likewise.
* libc/sys/sysnecv850/Makefile.am: Likewise.
* libc/sys/sysvi386/Makefile.am: Likewise.
* libc/sys/sysvnecv70/Makefile.am: Likewise.
* libc/sys/tic80/Makefile.am: Likewise.
* libc/sys/w65/Makefile.am: Likewise.
* libc/sys/z8ksim/Makefile.am: Likewise.
* iconvdata/Makefile.in: Regenerate.
* libc/sys/a29khif/Makefile.in: Likewise.
* libc/sys/arc/Makefile.in: Likewise.
* libc/sys/arm/Makefile.in: Likewise.
* libc/sys/d10v/Makefile.in: Likewise.
* libc/sys/decstation/Makefile.in: Likewise.
* libc/sys/h8300hms/Makefile.in: Likewise.
* libc/sys/h8500hms/Makefile.in: Likewise.
* libc/sys/linux/Makefile.in: Likewise.
* libc/sys/linux/machine/i386/Makefile.in: Likewise.
* libc/sys/m88kbug/Makefile.in: Likewise.
* libc/sys/mmixware/Makefile.in: Likewise.
* libc/sys/netware/Makefile.in: Likewise.
* libc/sys/rdos/Makefile.in: Likewise.
* libc/sys/rtems/Makefile.in: Likewise.
* libc/sys/sh/Makefile.in: Likewise.
* libc/sys/sparc64/Makefile.in: Likewise.
* libc/sys/sun4/Makefile.in: Likewise.
* libc/sys/sysmec/Makefile.in: Likewise.
* libc/sys/sysnec810/Makefile.in: Likewise.
* libc/sys/sysnecv850/Makefile.in: Likewise.
* libc/sys/sysvi386/Makefile.in: Likewise.
* libc/sys/sysvnecv70/Makefile.in: Likewise.
* libc/sys/tic80/Makefile.in: Likewise.
* libc/sys/w65/Makefile.in: Likewise.
* libc/sys/z8ksim/Makefile.in: Likewise.

14 years ago * configure.in (newlib_cv_ldbl_eq_dbl): Rename cache variable
Ralf Wildenhues [Wed, 19 Aug 2009 19:56:05 +0000 (19:56 +0000)]
* configure.in (newlib_cv_ldbl_eq_dbl): Rename cache variable
from newlib_ldbl_eq_dbl.
* configure: Regenerate.

14 years agoSync toplevel with GCC, merge.
Ralf Wildenhues [Wed, 19 Aug 2009 19:49:26 +0000 (19:49 +0000)]
Sync toplevel with GCC, merge.

/:
2009-07-31  Christian Bruel  <christian.bruel@st.com>

* configure.ac (sh*-*-elf): Don't add target-libgloss to noconfigdirs.
* configure: Regenerate.

2009-07-06  Ian Lance Taylor  <iant@google.com>

* configure.ac: Add missing comma in AC_ARG_WITH(boot-libs).
* configure: Rebuild.

2009-06-26  Steve Ellcey  <sje@cup.hp.com>

PR bootstrap/40338
* configure.ac (comparestring): Create new variable.
* Makefile.tpl (comparestring): Use to skip some comparisions.
* configure: Regenerate.
* Makefile.in: Regenerate.

2009-06-23  Ian Lance Taylor  <iant@google.com>

* configure.ac: Add --enable-build-with-cxx.  When set, add c++ to
boot_languages.  Only bootstrap target libraries listed in
target_libs for some boot language.  Add --with-stage1-ldflags,
--with-stage1-libs, --with-boot-ldflags, --with-boot-libs.  Remove
with_host_libstdcxx from ppllibs.  Only add -fkeep-inline-functions
if not building with C++.
* Makefile.def: For target_module libstdc++-v3, set bootstrap=true.
* Makefile.tpl (STAGE1_LDFLAGS, STAGE1_LIBS): New variables.
(POSTSTAGE1_LDFLAGS, POSTSTAGE1_LIBS): New variables.
(HOST_EXPORTS): Add STAGE1_LDFLAGS to LDFLAGS.  Export HOST_LIBS.
(POSTSTAGE1_HOST_EXPORTS): Set CXX and CXX_FOR_BUILD.  Add
POSTSTAGE1_LDFLAGS to LDFLAGS.  Export HOST_LIBS.
(POSTSTAGE1_FLAGS_TO_PASS): Likewise.
* configure, Makefile.in: Rebuild.

2009-06-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

* configure.ac: Detect MPC in default directory.
* configure: Regenerate.

2009-06-02  Richard Sandiford  <r.sandiford@uk.ibm.com>

* configure.ac (powerpc-*-aix*, rs6000-*-aix*): Add target-newlib
to noconfdirs.
* configure: Regenerate.

2009-05-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

* Makefile.def: Add MPC support and dependencies.
* configure.ac: Likewise.  Reorganize GMP/MPFR checks.

* Makefile.in, configure: Regenerate.

2009-05-24  Nicolas Roche  <roche@adacore.com>

* Makefile.tpl (compare-target): Skip ./ada/*tools directories.
* Makefile.in: Regenerate.

2009-05-21  Dave Korn  <dave.korn.cygwin@gmail.com>

* configure.ac (cygwin noconfigdirs):  Remove libgcj.
* configure:  Regenerate.

2009-05-07  Dave Korn  <dave.korn.cygwin@gmail.com>

* configure.ac ($with_ppl):  Default to no if not supplied.
($with_cloog):  Likewise.
configure:  Regenerate.

2009-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

PR bootstrap/39739
* configure.ac (extra_mpfr_configure_flags): Set and AC_SUBST.
* Makefile.def (module=mpfr): Use extra_mpfr_configure_flags.

* configure, Makefile.in: Regenerate.

2009-04-14  Jakub Jelinek  <jakub@redhat.com>

* configure.ac: Change copyright header to refer to version
3 of the GNU General Public License and to point readers at the
COPYING3 file and the FSF's license web page.
* Makefile.def: Likewise.
* Makefile.tpl: Likewise.
* Makefile.in: Regenerate.

2009-04-09  Jack Howarth  <howarth@bromo.med.uc.edu>

* configure.ac: Restore match for darwin9 or later. Use double
brackets since regeneration eats one pair.
* configure: Regenerate.

14 years agoFix 'make info' to work again.
Eric Blake [Wed, 19 Aug 2009 12:38:09 +0000 (12:38 +0000)]
Fix 'make info' to work again.

* libc/Makefile.am (SUBDEFS): Correctly build popen docs.
* libc/libc.texinfo (Top): Add posix node to menu.

14 years ago* MAINTAINERS: Perform some obvious fixups.
Christopher Faylor [Wed, 19 Aug 2009 02:53:50 +0000 (02:53 +0000)]
* MAINTAINERS: Perform some obvious fixups.

This page took 0.072783 seconds and 5 git commands to generate.