]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
13 years agofix pr number
Alan Modra [Fri, 25 Feb 2011 12:33:53 +0000 (12:33 +0000)]
fix pr number

13 years ago PR 12519
Alan Modra [Fri, 25 Feb 2011 07:48:51 +0000 (07:48 +0000)]
PR 12519
* internal.h (ELF_SECTION_IN_SEGMENT_1): Don't match zero size
sections at start or end of PT_DYNAMIC.

13 years agoChangeLog include/
Kai Tietz [Wed, 23 Feb 2011 08:52:34 +0000 (08:52 +0000)]
ChangeLog include/

2011-02-23  Kai Tietz  <kai.tietz@onevision.com>

* dwarf2.h (_ELF_DWARF2_H): Renamed to
_DWARF2_H.
(DWARF2_External_LineInfo, DWARF2_Internal_LineInfo,
DWARF2_External_PubNames, DWARF2_Internal_PubNames,
DWARF2_External_CompUnit, DWARF2_Internal_CompUnit,
DWARF2_External_ARange, DWARF2_Internal_ARange): Removed.

ChangeLog binutils/

2011-02-23  Kai Tietz  <kai.tietz@onevision.com>

* dwarf.c (read_leb128): Use bfd_vma instead of
long type.
(dwarf_vmatoa): New helper routine.
(process_extended_line_op): Use for adr bfd_vma
type and print those typed values via BFD_VMA_FMT
or via dwarf_vmatoa for localized prints.
(fetch_indirect_string): Adjust offset's type.
(decode_location_expression): Adjust argument types
and uvalue type.
(read_and_display_attr_value): Likewise.
(read_and_display_attr): Likewise.
(decode_location_expression): Adjust printf format.
(process_debug_info): Likewise.
(display_debug_lines_raw): Likewise.
(display_debug_lines_decoded): Likewise.
(display_debug_pubnames): Likewise.
(display_debug_loc): Likewise.
(display_debug_aranges): Likewise.
* dwarf.h (DWARF2_External_LineInfo,
DWARF2_Internal_LineInfo, DWARF2_External_PubNames,
DWARF2_Internal_PubNames, DWARF2_External_CompUnit,
DWARF2_Internal_CompUnit, DWARF2_External_ARange,
DWARF2_Internal_ARange): Added..
(read_leb128): Adjust return type.

13 years ago * libc/stdio/fmemopen.c (fmemopen): Fix EINVAL condition. Avoid SEGV
Corinna Vinschen [Tue, 22 Feb 2011 15:38:14 +0000 (15:38 +0000)]
* libc/stdio/fmemopen.c (fmemopen): Fix EINVAL condition.  Avoid SEGV
if incoming buffer is NULL.

13 years ago * dcrt0.cc: Fix copyright dates.
Corinna Vinschen [Tue, 22 Feb 2011 09:17:57 +0000 (09:17 +0000)]
* dcrt0.cc: Fix copyright dates.
* winsup.h: Ditto.
* syscalls.cc (_read): Move EXPORT_ALIAS to its rightful place.

13 years agoForced checkin
Corinna Vinschen [Tue, 22 Feb 2011 08:58:15 +0000 (08:58 +0000)]
Forced checkin

13 years ago* cygwin.din: Mark __assert* and _abort as NOSIGFE.
Christopher Faylor [Tue, 22 Feb 2011 01:32:42 +0000 (01:32 +0000)]
* cygwin.din: Mark __assert* and _abort as NOSIGFE.

13 years agoAdd missing Changelog entry for previous patch:
Corinna Vinschen [Mon, 21 Feb 2011 17:11:10 +0000 (17:11 +0000)]
Add missing Changelog entry for previous patch:

* fhandler_socket (fhandler_socket::readv): Call recv_internal directly,
rather than recvmsg.
(fhandler_socket::writev): Call send_internal directly, rather than
sendmsg.
* net.cc (cygwin_recv): Call fhandler_socket::recvfrom directly, rather
than cygwin_recvfrom.
(cygwin_send): Call fhandler_socket::sendto directly, rather than
cygwin_sendto.

13 years ago * fhandler_socket (fhandler_socket::readv): Call recv_internal directly,
Corinna Vinschen [Mon, 21 Feb 2011 17:01:05 +0000 (17:01 +0000)]
* fhandler_socket (fhandler_socket::readv): Call recv_internal directly,
rather than recvmsg.
(fhandler_socket::writev): Call send_internal directly, rather than
sendmsg.
* net.cc (cygwin_recv): Call fhandler_socket::recvfrom directly, rather
than cygwin_recvfrom.
(cygwin_send): Call fhandler_socket::sendto directly, rather than
cygwin_sendto.

13 years ago* fhandler.cc (fhandler_base_overlapped::close): Finish any pending I/O before
Christopher Faylor [Mon, 21 Feb 2011 03:18:30 +0000 (03:18 +0000)]
* fhandler.cc (fhandler_base_overlapped::close): Finish any pending I/O before
closing.
(fhandler_base_overlapped::wait_overlapped): Defensively zero bytes read.  Add
more info to debugging output.

13 years ago* dcrt0.cc (dll_crt0_1): Add a CYGHEAP_DEBUG conditional for debugging which
Christopher Faylor [Fri, 18 Feb 2011 17:43:22 +0000 (17:43 +0000)]
* dcrt0.cc (dll_crt0_1): Add a CYGHEAP_DEBUG conditional for debugging which
allocates a lot of space at startup.

13 years ago * cygwin.sc: Set alignment of .cygheap section to 64K.
Corinna Vinschen [Fri, 18 Feb 2011 16:15:20 +0000 (16:15 +0000)]
* cygwin.sc: Set alignment of .cygheap section to 64K.

13 years ago * spawn.cc (spawn_guts): Only set PID_NOTCYGWIN in _P_OVERLAY mode.
Corinna Vinschen [Tue, 15 Feb 2011 18:11:50 +0000 (18:11 +0000)]
* spawn.cc (spawn_guts): Only set PID_NOTCYGWIN in _P_OVERLAY mode.
Drop flag if creating new process failed.

13 years ago * new-features.sgml (ov-new1.7.8): Fix typo.
Corinna Vinschen [Tue, 15 Feb 2011 16:05:27 +0000 (16:05 +0000)]
* new-features.sgml (ov-new1.7.8): Fix typo.

13 years ago * cygcheck.cc: Fix copyright dates.
Corinna Vinschen [Tue, 15 Feb 2011 15:57:35 +0000 (15:57 +0000)]
* cygcheck.cc: Fix copyright dates.

13 years agoforced checkin
Corinna Vinschen [Tue, 15 Feb 2011 15:56:23 +0000 (15:56 +0000)]
forced checkin

13 years ago * Throughout fix copyright dates.
Corinna Vinschen [Tue, 15 Feb 2011 15:56:03 +0000 (15:56 +0000)]
* Throughout fix copyright dates.

13 years ago * legal.sgml: Bump date.
Corinna Vinschen [Tue, 15 Feb 2011 15:37:59 +0000 (15:37 +0000)]
* legal.sgml: Bump date.
* new-features.sgml (ov-new1.7.8): Move dropped NT4 pre-SP4 support
up to be the first paragraph.

13 years ago * new-features.sgml (ov-new1.7.8): Document /proc/sys.
Corinna Vinschen [Tue, 15 Feb 2011 15:32:19 +0000 (15:32 +0000)]
* new-features.sgml (ov-new1.7.8): Document /proc/sys.

13 years ago * devices.in: Throughout use slashes instead of backslashes in the
Corinna Vinschen [Tue, 15 Feb 2011 15:25:59 +0000 (15:25 +0000)]
* devices.in: Throughout use slashes instead of backslashes in the
native path of devices not backed by native NT devices.
* devices.cc: Regenerate.
* globals.cc (ro_u_pmem): Use correct case.
(ro_u_globalroot): New R/O unicode string.
* path.cc (path_conv::check): Fix incorrect handling of /proc/sys
block devices if they are just visited due to a component check.
(symlink_info::posixify): Fix typo in comment.
(cygwin_conv_path): Use ro_u_globalroot instead of string constant.
(fast_cwd_version): New shared variable to store FAST_CWD version
used on the system.
(find_fast_cwd_pointer): Rename from find_fast_cwd_pointers.  Don't
set global fast_cwd_ptr pointer here.  Return pointer value instead.
(find_fast_cwd): New function to set fast_cwd_ptr and fast_cwd_version.
(cwdstuff::override_win32_cwd): Call find_fast_cwd from here.
Check for fast_cwd_version to differ between old and new FAST_CWD
structure.  Check old_cwd for NULL to avoid SEGV.  Don't set CWD if
we have neitehr a valid fast_cwd_ptr, nor a valid CWD handle in the
process parameter block.
(cwdstuff::set): Create Win32 path taking /proc/sys paths into account.
* spawn.cc (spawn_guts): Recode creating runpath.  Also take /proc/sys
paths into account.  Drop special CWD handling when starting non-Cygwin
processes.

13 years ago * fhandler_procsys.cc (fhandler_procsys::opendir): Avoid SEGV if
Corinna Vinschen [Tue, 15 Feb 2011 14:44:11 +0000 (14:44 +0000)]
* fhandler_procsys.cc (fhandler_procsys::opendir): Avoid SEGV if
opening object directory fails.
* fhandler_virtual.cc (fhandler_virtual::opendir): Don't leak memory.

13 years ago * fhandler_disk_file.cc (fhandler_disk_file::readdir_helper): Don't
Corinna Vinschen [Tue, 15 Feb 2011 10:47:24 +0000 (10:47 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::readdir_helper): Don't
append slash if there is one already.

13 years ago Revert change from 2010-08-31:
Corinna Vinschen [Tue, 15 Feb 2011 10:39:36 +0000 (10:39 +0000)]
Revert change from 2010-08-31:
* path.cc (normalize_posix_path): Drop support for //./ and //?/
prefixes.
(path_conv::check): Ditto.

13 years ago * fhandler_disk_file.cc (fhandler_disk_file::readdir_helper): Use POSIX
Corinna Vinschen [Tue, 15 Feb 2011 10:31:54 +0000 (10:31 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::readdir_helper): Use POSIX
path to check for symlink.

13 years ago * config/i386/profile.h: Sync with Mingw.
Corinna Vinschen [Mon, 14 Feb 2011 09:42:19 +0000 (09:42 +0000)]
* config/i386/profile.h: Sync with Mingw.

13 years agoRemove freebsd1 from libtool.m4 macros and config.rpath.
Ralf Wildenhues [Sun, 13 Feb 2011 21:00:08 +0000 (21:00 +0000)]
Remove freebsd1 from libtool.m4 macros and config.rpath.

/:
Import from Libtool and gnulib:

2011-01-27  Gerald Pfeifer  <gerald@pfeifer.com>

Prepare for supporting FreeBSD 10.
* config.rpath: Remove handling of freebsd1* which soon would
match FreeBSD 10.0.

2011-01-20  Gerald Pfeifer  <gerald@pfeifer.com>  (tiny change)

Remove support for FreeBSD 1.x.
* libtool.m4 (_LT_LINKER_SHLIBS)
(_LT_SYS_DYNAMIC_LINKER): Remove handling of freebsd1* which
soon would incorrectly match FreeBSD 10.0.

bfd/:
* configure: Regenerate.

gas/:
* configure: Regenerate.

ld/:
* configure: Regenerate.

opcodes/:
* configure: Regenerate.

binutils/:
* configure: Regenerate.

gprof/:
* configure: Regenerate.

13 years ago * path.cc (struct _FAST_CWD): Redefine to new layout used since patch
Corinna Vinschen [Sun, 13 Feb 2011 15:43:00 +0000 (15:43 +0000)]
* path.cc (struct _FAST_CWD): Redefine to new layout used since patch
for KB 2393802.  Adjust comments throughout.
(struct _FAST_CWD_OLD): Rename former definition.
(cwdstuff::override_win32_cwd): Check if the OS is using the old or the
new FAST_CWD structure layout and handle accordingly.

13 years agogas/opcodes: blackfin: move dsp mac func defines to common header
Michael Frysinger [Sat, 12 Feb 2011 19:36:31 +0000 (19:36 +0000)]
gas/opcodes: blackfin: move dsp mac func defines to common header

The mmod field is decoded in a few places (gas/opcodes/sim), so move it to
a common place to avoid duplication.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
13 years agoImport move-if-change script from gnulib.
Ralf Wildenhues [Sat, 12 Feb 2011 15:47:02 +0000 (15:47 +0000)]
Import move-if-change script from gnulib.

/:
PR binutils/12283
* MAINTAINERS (mkinstalldirs): Comes from Automake.
(move-if-change): Comes from gnulib.
* move-if-change: Import version from gnulib.

13 years agoSync toplevel and config/ from GCC.
Ralf Wildenhues [Sat, 12 Feb 2011 14:40:09 +0000 (14:40 +0000)]
Sync toplevel and config/ from GCC.

/:
Sync from GCC:

2011-02-12  Alexandre Oliva  <aoliva@redhat.com>

PR lto/47225
* Makefile.def (lto-plugin): Double dash for enable-shared.
(configure-gcc): Depend on all-lto-plugin.
* Makefile.in: Rebuilt.

2011-02-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

* configure.ac: Remove extra bracket.
* configure: Regenerate.

2011-02-06  Kai Tietz  <kai.tietz@onevision.com>

PR lto/47225
* Makefile.def: Add dependency for install-gcc
on install-lto-plugin.
* Makfile.in: Regenerated

2011-01-25  Jakub Jelinek  <jakub@redhat.com>

* configure.ac: If with_ppl is no, move setting with_cloog=no
after CLOOG_REQUESTED check.
* configure: Regenerated.

2011-01-25  Sebastian Pop  <sebastian.pop@amd.com>

* configure.ac: Call AC_MSG_ERROR when PPL 0.11 is not present and
CLooG has been requested.
* configure: Regenerated.

2011-01-25  Sebastian Pop  <sebastian.pop@amd.com>

* configure: Regenerated.
* configure.ac: Check for version 0.11 (or later revision) of PPL.

2011-01-25  Tobias Grosser  <grosser@fim.uni-passau.de>

* configure: Regenerated.
* configure.ac: Use CLOOG_CHECK_VERSION(0,16,1).

2011-01-07  Jan Hubicka  <jh@suse.cz>

PR lto/47225
* Makefile.in: Regenerate.
* Makefile.def (lto-plugin): Always pass enable-shared to the plugin
configure.

config/:
2011-01-25  Jakub Jelinek  <jakub@redhat.com>

* cloog.m4 (CLOOG_REQUESTED): Use $2 if --without-cloog.

2011-01-10  Jan Hubicka  <jh@suse.cz>

* bootstrap-lto.mk: -fuse-linker-plugin is default now;
pass -fno-lto to STAGEprofile.

13 years ago* mkstatic: Make sure that we are not cd'ed to temporary directory on exit to
Christopher Faylor [Fri, 11 Feb 2011 18:00:55 +0000 (18:00 +0000)]
* mkstatic: Make sure that we are not cd'ed to temporary directory on exit to
avoid bogus warnings on directory cleanup.
* speclib: Ditto.
* mkimport: Ditto.

13 years agoopcodes: blackfin: add multiple inclusion protection
Michael Frysinger [Fri, 11 Feb 2011 17:47:54 +0000 (17:47 +0000)]
opcodes: blackfin: add multiple inclusion protection

Prevent build errors if the header happens to be included multiple times.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
13 years ago* cygwin.sc: Eliminate __cygheap_mid.
Christopher Faylor [Fri, 11 Feb 2011 16:18:34 +0000 (16:18 +0000)]
* cygwin.sc: Eliminate __cygheap_mid.
* cygheap.cc: Ditto.

13 years ago* cygheap.cc (_cygheap_mid): Drop unneeded section attribute.
Christopher Faylor [Fri, 11 Feb 2011 16:05:26 +0000 (16:05 +0000)]
* cygheap.cc (_cygheap_mid): Drop unneeded section attribute.
(cygheap_init): Just zero cygheap structure.
* cygwin.sc: Keep 16 byte alignment but drop all other alignments related to
cygheap.  Eliminate unused __cygheap_end1.

13 years ago * cygwin.sc: Raise default cygheap size to 1 Meg. Set alignment to
Corinna Vinschen [Fri, 11 Feb 2011 12:58:01 +0000 (12:58 +0000)]
* cygwin.sc: Raise default cygheap size to 1 Meg.  Set alignment to
standard 64K.

13 years ago * include/endian.h: Move definitions of __BIG_ENDIAN, __LITTLE_ENDIAN,
Corinna Vinschen [Fri, 11 Feb 2011 12:42:30 +0000 (12:42 +0000)]
* include/endian.h: Move definitions of __BIG_ENDIAN, __LITTLE_ENDIAN,
and __BYTE_ORDER into ...
* include/bits/endian.h: New file.
* include/arpa/nameser_compat.h: Include endian.h rather than defining
BYTE_ORDER here.
* include/asm/byteorder.h: Include bits/endian.h.  Drop definition of
__LITTLE_ENDIAN.
* include/netinet/ip.h: Include bits/endian.h.  Drop definitions of
BIG_ENDIAN, LITTLE_ENDIAN, and BYTE_ORDER.  Use underscored variants
of aforementioned constants.
* include/netinet/tcp.h: Ditto.
* include/sys/param.h: Drop disabled definitions of BIG_ENDIAN,
LITTLE_ENDIAN, and BYTE_ORDER.

* include/netinet/ip.h: Reformat.  Define setsockopt IP_TOS options
matching recent RFCs.  Tweak comments.

13 years agostrerror_r: fix compilation bug in previous patch
Eric Blake [Thu, 10 Feb 2011 20:25:54 +0000 (20:25 +0000)]
strerror_r: fix compilation bug in previous patch

* errno.cc (includes): Avoid compilation failure if <string.h>
settles on wrong strerror_r signature.

13 years ago* new-features.sgml (ov-new1.7.8): Document strerror_r fixes.
Eric Blake [Thu, 10 Feb 2011 17:38:18 +0000 (17:38 +0000)]
* new-features.sgml (ov-new1.7.8): Document strerror_r fixes.

13 years agostrerror_r: obey POSIX, and match newlib header change
Eric Blake [Thu, 10 Feb 2011 17:36:51 +0000 (17:36 +0000)]
strerror_r: obey POSIX, and match newlib header change

* errno.cc (__xpg_strerror_r): New function.
(strerror_r): Update to copy newlib's fixes.
(strerror): Set errno on failure.
(_sys_errlist): Cause EINVAL failure for reserved values.
* cygwin.din: Export new function.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Combine
this into minor 236.

13 years agostrerror_r: provide POSIX implementation
Eric Blake [Thu, 10 Feb 2011 16:48:18 +0000 (16:48 +0000)]
strerror_r: provide POSIX implementation

* libc/include/string.h (strerror_r): Update declaration.
* libc/string/strerror.c (strerror): Update documentation.
* libc/string/strerror_r.c (strerror_r): Always return
NUL-terminated string; don't overwrite too-short buf.
* libc/string/xpg_strerror_r.c (__xpg_strerror_r): Implement POSIX
variant.
* libc/string/Makefile.am (GENERAL_SOURCES): Build new file.
* libc/string/Makefile.in: Regenerate.

13 years ago* new-features.sgml (ov-new1.7.8): Document pthread_yield.
Yaakov Selkowitz [Thu, 10 Feb 2011 10:58:28 +0000 (10:58 +0000)]
* new-features.sgml (ov-new1.7.8): Document pthread_yield.

13 years ago* cygwin.din (pthread_yield): Export as alias to sched_yield.
Yaakov Selkowitz [Thu, 10 Feb 2011 10:51:14 +0000 (10:51 +0000)]
* cygwin.din (pthread_yield): Export as alias to sched_yield.
* include/pthread.h (pthread_yield): Declare.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
* posix.sgml (std-deprec): Add pthread_yield.

13 years ago* cygheap.cc: Add some __stdcall decoration where appropriate.
Christopher Faylor [Thu, 10 Feb 2011 02:22:36 +0000 (02:22 +0000)]
* cygheap.cc: Add some __stdcall decoration where appropriate.
* lib/cygwin_crt0.c: __attribute -> __attribute__.

13 years ago* hookapi.cc (hook_or_detect_cygwin): Prevent i from being considered
Christopher Faylor [Wed, 9 Feb 2011 15:46:00 +0000 (15:46 +0000)]
* hookapi.cc (hook_or_detect_cygwin): Prevent i from being considered
uninitialized by gcc.

13 years ago* exception.h: Remove DEBUG_EXCEPTION left over debugging ifdef.
Christopher Faylor [Wed, 9 Feb 2011 15:40:37 +0000 (15:40 +0000)]
* exception.h: Remove DEBUG_EXCEPTION left over debugging ifdef.
* dll_init.cc: Fix typo in comment.

13 years ago* dll_init.cc: Fix typo in comment.
Christopher Faylor [Tue, 8 Feb 2011 20:14:37 +0000 (20:14 +0000)]
* dll_init.cc: Fix typo in comment.

13 years agoinclude/ChangeLog:
Ulrich Weigand [Tue, 8 Feb 2011 13:30:10 +0000 (13:30 +0000)]
include/ChangeLog:

* dwarf2.h (enum dwarf_calling_convention): Add DW_CC_GDB_IBM_OpenCL.

gdb/ChangeLog:

* dwarf2read.c (read_subroutine_type): Set special calling
convention flag for functions compiled by IBM XL C for OpenCL.
* ppc-sysv-tdep.c: Include "dwarf2.h"
(ppc_sysv_abi_push_dummy_call): Implement IBM OpenCL vector types
calling convention.
(do_ppc_sysv_return_value): Add FUNC_TYPE argument.  Implement
IBM OpenCL vector types calling convention.
(ppc_sysv_abi_return_value): Pass through FUNC_TYPE.
(ppc_sysv_abi_broken_return_value): Likewise.
(ppc64_sysv_abi_push_dummy_call): Implement IBM OpenCL vector
types calling convention.
(ppc64_sysv_abi_return_value): Likewise.
* spu-tdep.c: Include "dwarf2.h"
(spu_return_value): Implement IBM OpenCL vector types calling
convention.

gdb/testsuite/ChangeLog:

* gdb.opencl/callfuncs.cl: New file.
* gdb.opencl/callfuncs.exp: New test.
* gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.

13 years ago * configure.in: Remove AC_ALLOCA test and test for __builtin_memset.
Corinna Vinschen [Mon, 7 Feb 2011 16:22:02 +0000 (16:22 +0000)]
* configure.in: Remove AC_ALLOCA test and test for __builtin_memset.
* configure: Regenerate.

13 years agoFix path in ChangeLog entry
Corinna Vinschen [Mon, 7 Feb 2011 11:36:04 +0000 (11:36 +0000)]
Fix path in ChangeLog entry

13 years ago * fhandler_console.cc (fhandler_console::write_normal): Remove
Corinna Vinschen [Mon, 7 Feb 2011 11:18:19 +0000 (11:18 +0000)]
* fhandler_console.cc (fhandler_console::write_normal): Remove
erroneous premature return after collecting truncated multibyte
sequence in trunc_buf.  Rather fall through to printing routine.
Fix return value to take trunc_buf content into account.  Improve
comments.

13 years ago* autoload.cc (wsock_init): Properly define WSAStartup function pointer to
Christopher Faylor [Sat, 5 Feb 2011 19:38:21 +0000 (19:38 +0000)]
* autoload.cc (wsock_init): Properly define WSAStartup function pointer to
avoid stack damage.

13 years ago gas/
Bernd Schmidt [Thu, 3 Feb 2011 23:20:26 +0000 (23:20 +0000)]
gas/
* doc/as.texinfo (Target TIC6X options): Don't mention "-matomic".
* doc/c-tic6x.texi (TIC6X Directives): Don't mention ".atomic".
(TIC6X Options): Don't mention "-matomic".
* config/tc-tic6x.c (OPTION_MATOMIC, OPTION_MNO_ATOMIC): Delete.
(md_longopts): Remove corresponding entries.
(md_parse_option): Don't handle them.
(md_show_usage): Don't document them.
(tic6x_atomic): Delete variable.
(tic6x_update_features): Always copy tic6x_arch_enable to
tic6x_features.
(tic6x_arch_enable): Remove references to TIC6X_INSN_ATOMIC.
(s_tic6x_atomic, s_tic6x_noatomic): Remove functions.
(md_pseudo_table): Remove ".atomic" and ".noatomic".

gas/testsuite/
* gas/tic6x/dir-junk.l: Remove tests for .atomic and .noatomic.
* gas/tic6x/dir-junk.s: Likewise.
* gas/tic6x/insns-c674x-bad.d: Remove test.
* gas/tic6x/insns-c674x-bad.l: Likewise.
* gas/tic6x/insns-atomic.d: Remove "-matomic" switch.

include/opcode/
* tic6x-opcode-table.h (cmtl, ll, sl): Available on C64XP.
* tic6x.h (TIC6X_INSN_ATOMIC): Remove.

13 years agoFix spelling of Ralf Corsepius' name in ChangeLog.
Jeff Johnston [Thu, 3 Feb 2011 22:25:04 +0000 (22:25 +0000)]
Fix spelling of Ralf Corsepius' name in ChangeLog.

13 years ago * libc/bsdlib.cc: Include err.h.
Corinna Vinschen [Wed, 2 Feb 2011 15:17:14 +0000 (15:17 +0000)]
* libc/bsdlib.cc: Include err.h.

13 years ago * include/err.h: Fix loss of semicolons in previous patch.
Corinna Vinschen [Wed, 2 Feb 2011 15:14:46 +0000 (15:14 +0000)]
* include/err.h: Fix loss of semicolons in previous patch.

13 years ago * include/err.h (err): Add noreturn attribute.
Corinna Vinschen [Wed, 2 Feb 2011 10:16:30 +0000 (10:16 +0000)]
* include/err.h (err): Add noreturn attribute.
(errx): Ditto.
(verr): Ditto.
(verrx): Ditto.

13 years ago * path.cc (conv_path_list): Remove enclosing quotes and trailing
Corinna Vinschen [Wed, 2 Feb 2011 09:59:10 +0000 (09:59 +0000)]
* path.cc (conv_path_list): Remove enclosing quotes and trailing
backslashes from Win32 environment path lists.

13 years ago * fhandler.cc (fhandler_base::fsync): Ignore ERROR_INVALID_FUNCTION
Corinna Vinschen [Tue, 1 Feb 2011 08:46:48 +0000 (08:46 +0000)]
* fhandler.cc (fhandler_base::fsync): Ignore ERROR_INVALID_FUNCTION
error from FlushFileBuffers().

13 years ago * syscalls.cc (utmp_data): Fix potential buffer overflow.
Corinna Vinschen [Mon, 31 Jan 2011 13:58:59 +0000 (13:58 +0000)]
* syscalls.cc (utmp_data): Fix potential buffer overflow.

13 years ago * fhandler_socket.cc (address_in_use): Improve comment readability.
Corinna Vinschen [Mon, 31 Jan 2011 08:53:57 +0000 (08:53 +0000)]
* fhandler_socket.cc (address_in_use): Improve comment readability.

13 years agoPR libgcj/44341
Alexandre Oliva [Mon, 31 Jan 2011 05:26:01 +0000 (05:26 +0000)]
PR libgcj/44341
* configure.ac: Discard --with-* flags for host when configuring
target libraries for cross build.
* configure: Rebuilt.

13 years ago * fhandler_socket.cc (address_in_use): Disable. Add comment.
Corinna Vinschen [Sun, 30 Jan 2011 21:52:12 +0000 (21:52 +0000)]
* fhandler_socket.cc (address_in_use): Disable.  Add comment.
(fhandler_socket::bind): Change comment to explain setting the
SO_EXCLUSIVEADDRUSE socket option.  Remove code which checks for
address in use.
* net.cc (cygwin_setsockopt): Never set SO_REUSEADDR option.  Improve
comment to compensate for the deleted comment in fhandler_socket::bind.
* wincap.cc: Throughout, drop has_enhanced_socket_security from wincaps.
* wincap.h (struct wincaps): Drop has_enhanced_socket_security flags
and method.

13 years agowinsup:
Christopher Faylor [Sat, 29 Jan 2011 06:41:28 +0000 (06:41 +0000)]
winsup:
* configure.in: Configure winsup/cygserver regardless of cross_host.
* configure: Regenerate.
winsup/cygwin:
* configure.in: Define LIBSERVER regardless of cross_host.
* configure: Regenerate.

13 years ago * fhandler_socket.cc (fhandler_socket::wait_for_events): Call
Corinna Vinschen [Fri, 28 Jan 2011 11:17:29 +0000 (11:17 +0000)]
* fhandler_socket.cc (fhandler_socket::wait_for_events): Call
pthread_testcancel in case of timeout to enable pthread_cancel
on waiting thread.

13 years ago * libc/stdio/fclose.c: Only use sfp lock to guard non-atomic
Corinna Vinschen [Fri, 28 Jan 2011 10:49:11 +0000 (10:49 +0000)]
* libc/stdio/fclose.c: Only use sfp lock to guard non-atomic
changes of flags and fp lock.
* libc/stdio/freopen.c: Ditto.
* libc/stdio/freopen64.c: Ditto.
* libc/stdio/fgetc.c: Revert change from 2009-04-24, remove sfp locks
which guard entire function to avoid potential deadlocks when using
stdio functions in multiple thraeds.
* libc/stdio/fgets.c: Ditto.
* libc/stdio/fgetwc.c: Ditto.
* libc/stdio/fgetws.c: Ditto.
* libc/stdio/fread.c: Ditto.
* libc/stdio/fseek.c: Ditto.
* libc/stdio/getc.c: Ditto.
* libc/stdio/getdelim.c: Ditto.
* libc/stdio/gets.c: Ditto.
* libc/stdio/vfscanf.c: Ditto.
* libc/stdio/vfwscanf.c: Ditto.

* libc/stdio/fflush.c (_fflush_r): Split out core functionality into
new function __sflush_r.  Just lock file and call __sflush_r from here.
* libc/stdio/fwalk.c (_fwalk): Remove static helper function and move
functionality back into main function. Don't walk a file with flags
value of 1.  Add comment.
(_fwalk_reent): Ditto.
* libc/stdio/local.h (__sflush_r): Declare.
* libc/stdio/refill.c (__srefill): Before calling fwalk, set flags
value to 1 so this file pointer isn't walked.  Revert flags afterwards
and call __sflush_r for this fp if necessary.  Add comments.

13 years ago * include/features.h (__STDC_ISO_10646__): Move to newlib's
Corinna Vinschen [Thu, 27 Jan 2011 11:55:51 +0000 (11:55 +0000)]
* include/features.h (__STDC_ISO_10646__): Move to newlib's
sys/features.h.

13 years ago * libc/include/sys/features.h: Define __STDC_ISO_10646__ for Cygwin.
Corinna Vinschen [Thu, 27 Jan 2011 11:55:01 +0000 (11:55 +0000)]
* libc/include/sys/features.h: Define __STDC_ISO_10646__ for Cygwin.
* libc/include/wchar.h: Include features.h.

13 years ago * fhandler_disk_file.cc (fhandler_base::fstat_by_nfs_ea): Fix
Corinna Vinschen [Wed, 26 Jan 2011 10:55:13 +0000 (10:55 +0000)]
* fhandler_disk_file.cc (fhandler_base::fstat_by_nfs_ea): Fix
computation of st_blocks.
(fhandler_base::fstat_helper): Fix formatting.

13 years ago * include/features.h (__STDC_ISO_10646__): Define. Add comment.
Corinna Vinschen [Mon, 24 Jan 2011 16:27:35 +0000 (16:27 +0000)]
* include/features.h (__STDC_ISO_10646__): Define.  Add comment.

13 years agoSync toplevel configure from GCC
Andreas Schwab [Fri, 21 Jan 2011 13:29:47 +0000 (13:29 +0000)]
Sync toplevel configure from GCC

2011-01-21  Andreas Schwab  <schwab@redhat.com>

* configure.ac: Use AS_HELP_STRING throughout.
* configure: Regenerate.

2011-01-18  Jie Zhang  <jie.zhang@analog.com>

* configure.ac (bfin-*-*): Remove gdb from noconfigdirs.
* configure: Regenerate.

13 years ago * syscalls.cc (rename): Fix permission problem with symlinks on NFS.
Corinna Vinschen [Fri, 21 Jan 2011 13:13:00 +0000 (13:13 +0000)]
* syscalls.cc (rename): Fix permission problem with symlinks on NFS.
Rework how NtOpenFile gets called to make it more readable.  Change
comment.

13 years ago * exec.cc: Include pinfo.h.
Corinna Vinschen [Thu, 20 Jan 2011 11:09:21 +0000 (11:09 +0000)]
* exec.cc: Include pinfo.h.
* winf.h: Move definitions of _P_PATH_TYPE_EXEC and _P_MODE from here...
* pinfo.h: ...to here.
(_P_PATH_TYPE_EXEC): Redefine to be bigger than _P_SYSTEM.
(_P_MODE): Redefine so as not to mask out _P_SYSTEM.
* spawn.cc (spawnlp): Add _P_PATH_TYPE_EXEC flag in call to spawnve.
(spawnlpe): Ditto.
(spawnvp): Ditto.

13 years ago * spawn.cc (av::fixup): Reenable #! handling for all exec functions.
Corinna Vinschen [Wed, 19 Jan 2011 14:59:10 +0000 (14:59 +0000)]
* spawn.cc (av::fixup): Reenable #! handling for all exec functions.
Return ENOEXEC in !p_type_exec case only for unrecognized files.
Fix comment formatting.

13 years ago * exec.cc (execlp): Add missing _P_PATH_TYPE_EXEC flag in call to
Corinna Vinschen [Wed, 19 Jan 2011 10:30:39 +0000 (10:30 +0000)]
* exec.cc (execlp): Add missing _P_PATH_TYPE_EXEC flag in call to
spawnve.

13 years ago * exec.cc: Rearrange functions in alphabetical order.
Corinna Vinschen [Wed, 19 Jan 2011 10:28:39 +0000 (10:28 +0000)]
* exec.cc: Rearrange functions in alphabetical order.
(_execve): Drop temporary define and drop export alias.
(execl): Call spawnve.
(execle): New function.
(execlp): New function.
(execv): Call spawnve.
(execve): Drop converting NULL envp to emtpy envp.
(execvp): Call spawnve.
(execvpe): Drop converting NULL envp to emtpy envp.  Call spawnve.
(fexecve): Call spawnve.
* spawn.cc (spawnve): Convert NULL envp to emtpy envp.  Remove outdated
comment.
(spawnlp): Call spawnve.
(spawnlpe): Ditto.
(spawnvp): Ditto.
(spawnvpe): Fix formatting.

13 years ago * exec.cc (strccpy): Move function from here...
Corinna Vinschen [Wed, 19 Jan 2011 09:41:54 +0000 (09:41 +0000)]
* exec.cc (strccpy): Move function from here...
* strfuncs.cc (strccpy): ...to here.
* string.h (strccpy): Declare.
* winsup.h (strccpy): Drop declaration.

13 years ago * errno.cc (errmap): Add error codes for invalid binaries.
Corinna Vinschen [Wed, 19 Jan 2011 09:15:17 +0000 (09:15 +0000)]
* errno.cc (errmap): Add error codes for invalid binaries.
* exec.cc (execvp): Call spawnve with _P_PATH_TYPE_EXEC flag
from here.
(execvpe): Ditto.
* spawn.cc (spawn_guts): Filter _P_PATH_TYPE_EXEC from mode and
store in p_type_exec.  Call av::fixup with addtional p_type_exec
argument.
(spawnve): Check for filtered mode.
(spawnvpe): Add _P_PATH_TYPE_EXEC flag when calling spawnve.
(av::fixup): Accept additional bool parameter p_type_exec.  Only check
for script if p_type_exec is true.
* winf.h (_P_PATH_TYPE_EXEC): Define.
(_P_MODE): Define.
(av::fixup): Declare with additional bool parameter.

13 years ago * fhandler_proc.cc (format_proc_partitions): Fix compiler warning.
Corinna Vinschen [Mon, 17 Jan 2011 14:31:30 +0000 (14:31 +0000)]
* fhandler_proc.cc (format_proc_partitions): Fix compiler warning.

13 years ago * path.cc (path_conv::check): Don't follow reparse point symlinks if
Corinna Vinschen [Mon, 17 Jan 2011 14:19:39 +0000 (14:19 +0000)]
* path.cc (path_conv::check): Don't follow reparse point symlinks if
PC_SYM_NOFOLLOW_REP flag is set.
(cygwin_conv_path): Set PC_SYM_NOFOLLOW_REP flag when converting from
POSIX to Win32.
* path.h (enum pathconv_arg): Define PC_SYM_NOFOLLOW_REP flag.

13 years ago * fhandler_proc.cc (proc_tab_cmp): Fix typo in comment.
Corinna Vinschen [Mon, 17 Jan 2011 13:38:06 +0000 (13:38 +0000)]
* fhandler_proc.cc (proc_tab_cmp): Fix typo in comment.
(fhandler_proc::fill_filebuf): Handle return value of 0 from format
function as error.
(format_proc_stat): Set errno when returning 0 size.
(format_proc_partitions): Rewrite method to fetch partition info.

13 years ago * libc/include/sys/types.h (ulong): Add typedef.
Corinna Vinschen [Sat, 15 Jan 2011 09:26:16 +0000 (09:26 +0000)]
* libc/include/sys/types.h (ulong): Add typedef.

13 years agoBackport from Libtool: Fix relink mode to use absolute path if hardcode_minus_L.
Ralf Wildenhues [Thu, 13 Jan 2011 18:52:53 +0000 (18:52 +0000)]
Backport from Libtool: Fix relink mode to use absolute path if hardcode_minus_L.

/:
* ltmain.sh (relink): Use absolute path when hardcoding with -L.

13 years agoport GDB to ia64-hpux (native).
Joel Brobecker [Thu, 13 Jan 2011 16:24:08 +0000 (16:24 +0000)]
port GDB to ia64-hpux (native).

ChangeLog:

        * configure.ac: Remove readline, mmalloc, and gdb from noconfigdirs
        for ia64-hpux.
        * configure: Regenerate.

gdb/ChangeLog:

        * config/ia64/hpux.mh, ia64-hpux-nat.c, ia64-hpux-tdep.c,
        ia64-hpux-tdep.h, solib-ia64-hpux.c, solib-ia64-hpux.h: New files.

        * configure.host: Add handling for ia64-hpux hosts.  Add associated
        floatformats.
        * configure.tgt: Add handling for ia64-hpux targets.
        * Makefile.in (ALL_64_TARGET_OBS): Add ia64-hpux-tdep.o.
        (HFILES_NO_SRCDIR): Add ia64-hpux-tdep.h.
        (ALLDEPFILES): Add ia64-hpux-nat.c ia64-hpux-tdep.c.

13 years agoFix typo, fix copyright
Corinna Vinschen [Thu, 13 Jan 2011 14:00:00 +0000 (14:00 +0000)]
Fix typo, fix copyright

13 years ago * fhandler_disk_file.cc (fhandler_base::fstat_helper): Alwasy set
Corinna Vinschen [Thu, 13 Jan 2011 13:50:02 +0000 (13:50 +0000)]
* fhandler_disk_file.cc (fhandler_base::fstat_helper): Alwasy set
st_size of directories to 0.  Explain why.

13 years agoReally check in now
Corinna Vinschen [Thu, 13 Jan 2011 13:48:12 +0000 (13:48 +0000)]
Really check in now

13 years agoFix ChangeLog entry
Corinna Vinschen [Thu, 13 Jan 2011 11:28:14 +0000 (11:28 +0000)]
Fix ChangeLog entry

13 years ago2011-01-12 Ralf Corsépius <ralf.corsepius@rtems.org>
Jeff Johnston [Wed, 12 Jan 2011 22:25:15 +0000 (22:25 +0000)]
2011-01-12  Ralf Corsépius  <ralf.corsepius@rtems.org>

        * libm/math/w_tgamma.c: Only build ifndef _DOUBLE_IS_32BITS.
        * libm/math/wf_tgamma.c: Map tgamma to tgammaf, ifdef _DOUBLE_IS_32BITS.

13 years ago2011-01-12 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 12 Jan 2011 22:24:06 +0000 (22:24 +0000)]
2011-01-12  Jeff Johnston  <jjohnstn@redhat.com>

        * configure.host: Add noinclude variable to allow specification
        of header files to remove from installation.
        * acinclude.m4: Provide NO_INCLUDE_LIST variable based on
        noinclude variable in configure.host.
        * configure: Regenerated.
        * Makefile.am: Remove all header files in NO_INCLUDE_LIST.
        * Makefile.in: Regenerated.

13 years agomerge from gcc
DJ Delorie [Wed, 12 Jan 2011 19:04:47 +0000 (19:04 +0000)]
merge from gcc

13 years ago * new-features.sgml (ov-new1.7.8): Add "new API" paragraph.
Corinna Vinschen [Wed, 12 Jan 2011 13:16:46 +0000 (13:16 +0000)]
* new-features.sgml (ov-new1.7.8): Add "new API" paragraph.

13 years ago * posix.sgml: Add madvise to BSD list.
Corinna Vinschen [Wed, 12 Jan 2011 13:09:31 +0000 (13:09 +0000)]
* posix.sgml: Add madvise to BSD list.

13 years ago * cygwin.din (madvise): Export posix_madvise as madvise.
Corinna Vinschen [Wed, 12 Jan 2011 13:01:43 +0000 (13:01 +0000)]
* cygwin.din (madvise): Export posix_madvise as madvise.
* include/cygwin/version.h: Bump CYGWIN_VERSION_API_MINOR.
* include/sys/mman.h: Define madvise constants, keep Linux-specific
constants undefined.
(madvise): Declare.

13 years ago * libc/include/linux/sys/signal.h (sig_t): Move from here...
Corinna Vinschen [Wed, 12 Jan 2011 11:49:28 +0000 (11:49 +0000)]
* libc/include/linux/sys/signal.h (sig_t): Move from here...
* libc/include/signal.h (sig_t): ...to here.

13 years ago * fhandler.h (struct part_t): New type.
Corinna Vinschen [Wed, 12 Jan 2011 09:16:51 +0000 (09:16 +0000)]
* fhandler.h (struct part_t): New type.
(class fhandler_dev_floppy): Convert partitions to part_t pointer.
Add lock_partition method.
* fhandler_floppy.cc (fhandler_dev_floppy::lock_partition): New method
to implement ondemand partition locking.
(fhandler_dev_floppy::write_file): Call lock_partition from here if
writing failed due to a potential write restriction on a disk
partition.
(fhandler_dev_floppy::open): Don't lock partitions here.
(fhandler_dev_floppy::close): Keep track of partition handle reference
count.  Close handles and remove partitions pointer ony if count is 0.
(fhandler_dev_floppy::dup): Just copy partitions pointer and increment
reference count.

13 years ago * fhandler.h (MAX_PARTITIONS): New definition.
Corinna Vinschen [Tue, 11 Jan 2011 14:50:45 +0000 (14:50 +0000)]
* fhandler.h (MAX_PARTITIONS): New definition.
(class fhandler_dev_floppy): Add partitions array member.  Add close
method.
* fhandler_floppy.cc (fhandler_dev_floppy::fhandler_dev_floppy): Zero
out partitions array.
(fhandler_dev_floppy::open): Fix "entire disk" condition for call to
DeviceIoControl (FSCTL_ALLOW_EXTENDED_DASD_IO).
When opening disks for writing, call DeviceIoControl (FSCTL_LOCK_VOLUME)
on all affected disk partitions starting with Vista.
(fhandler_dev_floppy::close): New method.
(fhandler_dev_floppy::dup): Duplicate handles in partitions, if any.
* wincap.h (wincaps::has_restricted_raw_disk_access): New element.
* wincap.cc: Implement above element throughout.

13 years agohttp://sourceware.org/ml/gdb-patches/2010-11/msg00112.html
Andrew Burgess [Tue, 11 Jan 2011 14:19:31 +0000 (14:19 +0000)]
http://sourceware.org/ml/gdb-patches/2010-11/msg00112.html
gdb/ChangeLog
* remote-sim.c (gdbsim_store_register): Update API to
sim_store_register to check more error conditions.
include/gdb/ChangeLog
* remote-sim.h (sim_store_register): Update the API
documentation for this function.
sim/erc32/ChangeLog
sim/h8300/ChangeLog
sim/m32c/ChangeLog
sim/mn10300/ChangeLog
sim/ppc/ChangeLog
sim/rx/ChangeLog
sim/v850/ChangeLog
* ???.c (sim_store_register): Update return value to
match new API.

13 years ago * termios.cc (cfgetospeed, cfgetispeed): Constify argument per POSIX.
Corinna Vinschen [Tue, 11 Jan 2011 10:09:23 +0000 (10:09 +0000)]
* termios.cc (cfgetospeed, cfgetispeed): Constify argument per POSIX.
* include/sys/termios.h (cfgetospeed, cfgetispeed): Declare functions.
Move macros after declarations and make conditional on !__cplusplus.

13 years ago * cygtls.cc (_cygtls::init_thread): Call _REENT_INIT_PTR. Drop setting
Corinna Vinschen [Tue, 11 Jan 2011 08:05:51 +0000 (08:05 +0000)]
* cygtls.cc (_cygtls::init_thread): Call _REENT_INIT_PTR.  Drop setting
current locale and calling srand48.

13 years ago * cygcheck.cc (main): don't imply -d from -s option to cygcheck
Corinna Vinschen [Mon, 10 Jan 2011 12:51:02 +0000 (12:51 +0000)]
* cygcheck.cc (main): don't imply -d from -s option to cygcheck

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