]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
14 years agoinclude/elf/
Alan Modra [Sat, 24 Apr 2010 01:05:22 +0000 (01:05 +0000)]
include/elf/
* internal.h (ELF_SECTION_SIZE): Protect macro args with parentheses.
Invert logic to clarify test for .tbss.
(ELF_IS_SECTION_IN_SEGMENT): Rename to..
(ELF_SECTION_IN_SEGMENT_1): ..this.  Add check_vma param.  Protect
macro args with parentheses.
(ELF_SECTION_IN_SEGMENT): Define.
(ELF_IS_SECTION_IN_SEGMENT_FILE): Delete.
(ELF_IS_SECTION_IN_SEGMENT_MEMORY): Delete.
bfd/
* elf.c: Replace use of ELF_IS_SECTION_IN_SEGMENT and
ELF_IS_SECTION_IN_SEGMENT_FILE with ELF_SECTION_IN_SEGMENT
throughout file.
(assign_file_positions_for_load_sections): Modify section in
segment warning to ignore overlay vmas.
* elf32-spu.c (spu_elf_object_p): Replace use of
ELF_IS_SECTION_IN_SEGMENT_MEMORY with ELF_SECTION_IN_SEGMENT.
binutils/
* readelf.c (process_program_headers): Replace use of
ELF_IS_SECTION_IN_SEGMENT_MEMORY with ELF_SECTION_IN_SEGMENT.

14 years agomerge from gcc
DJ Delorie [Sat, 24 Apr 2010 01:03:15 +0000 (01:03 +0000)]
merge from gcc

14 years ago * path.h (get_nt_native_path): Add third parameter to declaration and
Corinna Vinschen [Fri, 23 Apr 2010 11:07:35 +0000 (11:07 +0000)]
* path.h (get_nt_native_path): Add third parameter to declaration and
declare with regparms.
* path.cc (get_nt_native_path): Add third parameter to allow conversion
of leading and trailing dots and spaces on filesystems only supporting
filenames following DOS rules.
(path_conv::get_nt_native_path): Call get_nt_native_path according to
fs.has_dos_filenames_only flag.
(getfileattr): Accommodate new parameter to get_nt_native_path.
(symlink_info::check): Revamp fs_update_called handling to call
fs.update only once per call.  Call get_nt_native_path according to
fs.has_dos_filenames_only flag.  Streamline filesystem dependent code
not to be called more than once unnecessarily.  Drop code tweaking
incoming path for broken filesystems only allowing DOS pathnames.
Rely on changed get_nt_native_path instead.
* mount.cc (fillout_mntent): Accommodate new parameter to
get_nt_native_path.
* strfuncs.cc (tfx_rev_chars): New conversion table with comment.
(sys_cp_wcstombs): Use tfx_rev_chars rather than tfx_chars.

14 years ago* libc/Makefile.am (SUBDEFS): Add LIBC_POSIX_DEF.
DJ Delorie [Thu, 22 Apr 2010 23:32:42 +0000 (23:32 +0000)]
* libc/Makefile.am (SUBDEFS): Add LIBC_POSIX_DEF.
(libc.info): Add posix.texi.
(libc.dvi): Likewise.
(stmp-posix): New.
(posix.texi): New.
(libc_TEXINFOS): Add posix.texi.
* libc/configure.in (LIBC_POSIX_LIB, LIBC_POSIX_DEF): Add
tests.
* libc/libc.texinfo: Include posix.texi
* libc/locale/locale.c: Fix texinfo typo.
* libc/time/strftime.c: Fix texinfo typo.

* libc/configure: Regenerate.
* libc/Makefile.in: Regenerate.
* libc/argz/Makefile.in: Regenerate.
* libc/ctype/Makefile.in: Regenerate.
* libc/errno/Makefile.in: Regenerate.
* libc/iconv/Makefile.in: Regenerate.
* libc/iconv/ccs/Makefile.in: Regenerate.
* libc/iconv/ccs/binary/Makefile.in: Regenerate.
* libc/iconv/ces/Makefile.in: Regenerate.
* libc/iconv/lib/Makefile.in: Regenerate.
* libc/locale/Makefile.in: Regenerate.
* libc/misc/Makefile.in: Regenerate.
* libc/posix/Makefile.in: Regenerate.
* libc/reent/Makefile.in: Regenerate.
* libc/search/Makefile.in: Regenerate.
* libc/signal/Makefile.in: Regenerate.
* libc/stdio/Makefile.in: Regenerate.
* libc/stdio64/Makefile.in: Regenerate.
* libc/stdlib/Makefile.in: Regenerate.
* libc/string/Makefile.in: Regenerate.
* libc/syscalls/Makefile.in: Regenerate.
* libc/time/Makefile.in: Regenerate.
* libc/unix/Makefile.in: Regenerate.
* libc/xdr/Makefile.in: Regenerate.

14 years ago * path.cc (symlink_info::check): Make sure to restart only once.
Corinna Vinschen [Thu, 22 Apr 2010 17:42:18 +0000 (17:42 +0000)]
* path.cc (symlink_info::check): Make sure to restart only once.

14 years ago * mount.cc (GETVOLINFO_VALID_MASK): Drop FILE_SEQUENTIAL_WRITE_ONCE
Corinna Vinschen [Thu, 22 Apr 2010 17:33:28 +0000 (17:33 +0000)]
* mount.cc (GETVOLINFO_VALID_MASK): Drop FILE_SEQUENTIAL_WRITE_ONCE
from mask.  Expand the comment a bit.
(WIN_FAT_FLAGS): New define.
(FS_IS_WINDOWS_FAT): New macro.
(fs_info::update): Handle remote FS faking to be FAT.  Subsume under
CIFS.  Check for NWFS and has_buggy_basic_info only for remote
filesystems.  Add check for has_dos_filenames_only.
* mount.h (class fs_info): Add has_dos_filenames_only status flag.
Implement accessors.
* path.cc (symlink_info::check): Rearrange variable definitions to
clear them up.  Add a restart label to allow a clean restart within
the method.  Add a check for broken filesystems only allowing DOS
pathnames in case we encounter a STATUS_OBJECT_NAME_NOT_FOUND status.
If all checks point to one of that, restart method with tweaked
incoming path.  Add lengthy comments to explain what we do.

14 years ago * path.cc (symlink_info::check): Fix a comment.
Corinna Vinschen [Thu, 22 Apr 2010 09:43:29 +0000 (09:43 +0000)]
* path.cc (symlink_info::check): Fix a comment.

14 years ago * cygserver.sgml: Note the fact that slave tty/pty handle dispersal is
Corinna Vinschen [Thu, 22 Apr 2010 09:05:37 +0000 (09:05 +0000)]
* cygserver.sgml: Note the fact that slave tty/pty handle dispersal is
unsed as of Cygwin 1.7.6.
* new-features.sgml (ov-new1.7.6): New section.  Add tty/pty and
setrlimit changes.

14 years ago * fhandler_termios.cc (tcinit): Remove previously applied change.
Corinna Vinschen [Wed, 21 Apr 2010 19:36:40 +0000 (19:36 +0000)]
* fhandler_termios.cc (tcinit): Remove previously applied change.
Replace with...
* fhandler_tty.cc (fhandler_tty_slave::init): Become process group
leader if called from dtable::init_std_file_from_handle.  Add comment
to explain.

14 years agogas/testsuite:
Joseph Myers [Wed, 21 Apr 2010 18:56:45 +0000 (18:56 +0000)]
gas/testsuite:
* gas/tic6x/insns-c674x.s, gas/tic6x/insns-c674x.d: Also test
"b .S2 b3".

include/opcode:
* tic6x-insn-formats.h (s_branch): Correct typo in bitmask.

14 years ago * dtable.cc (dtable::init_std_file_from_handle): Set access mask for
Corinna Vinschen [Wed, 21 Apr 2010 18:44:39 +0000 (18:44 +0000)]
* dtable.cc (dtable::init_std_file_from_handle): Set access mask for
the slave side of ttys explicitely.  Explain why.

14 years ago* path.cc (cygwin_create_path): Free memory on error.
Christopher Faylor [Tue, 20 Apr 2010 14:32:29 +0000 (14:32 +0000)]
* path.cc (cygwin_create_path): Free memory on error.

14 years ago * cygheap.h (struct init_cygheap): Add rlim_core member.
Corinna Vinschen [Tue, 20 Apr 2010 10:44:52 +0000 (10:44 +0000)]
* cygheap.h (struct init_cygheap): Add rlim_core member.
* cygheap.cc (cygheap_init): Initialize rlim_core to RLIM_INFINITY.
* exceptions.cc (stackdump): Drop extern declaration of rlim_core.
Refer to cygheap->rlim_core instead.
(exception::handle): Disable stackdumping if cygheap->rlim_core is 0.
Don't set WCOREDUMP flag in exit code, if cygheap->rlim_core is 0.
(sigpacket::process): Ditto.
* resource.cc (rlim_core): Remove.
(getrlimit): Fetch RLIMIT_CORE value from cygheap->rlim_core.
(setrlimit): Store RLIMIT_CORE value in cygheap->rlim_core.

14 years ago* cygerrno.h: Nevermind.
Christopher Faylor [Tue, 20 Apr 2010 03:45:27 +0000 (03:45 +0000)]
* cygerrno.h: Nevermind.

14 years ago* transport_pipes.cc: Include ntdef.h to accommodate cygerrno.h.
Christopher Faylor [Tue, 20 Apr 2010 03:44:38 +0000 (03:44 +0000)]
* transport_pipes.cc: Include ntdef.h to accommodate cygerrno.h.

14 years ago* cygerrno.h: Protect use of NTSTATUS for only when we need it.
Christopher Faylor [Tue, 20 Apr 2010 03:32:37 +0000 (03:32 +0000)]
* cygerrno.h: Protect use of NTSTATUS for only when we need it.
* lib/_cygwin_crt0_common.cc: Remove unneeded declarations.

14 years ago* lib/_cygwin_crt0_common.cc: Remove unneeded declarations.
Christopher Faylor [Tue, 20 Apr 2010 03:30:32 +0000 (03:30 +0000)]
* lib/_cygwin_crt0_common.cc: Remove unneeded declarations.

14 years ago * fhandler_tty.cc (fhandler_tty_slave::fch_set_sd): Remove commented out
Corinna Vinschen [Mon, 19 Apr 2010 20:00:18 +0000 (20:00 +0000)]
* fhandler_tty.cc (fhandler_tty_slave::fch_set_sd): Remove commented out
code.

14 years ago * autoload.cc (GetNamedPipeClientProcessId): Define.
Corinna Vinschen [Mon, 19 Apr 2010 19:52:43 +0000 (19:52 +0000)]
* autoload.cc (GetNamedPipeClientProcessId): Define.
* fhandler.h (fhandler_tty_slave::fch_open_handles): Declare private.
(fhandler_tty_slave::fch_close_handles): Ditto.
(fhandler_tty_slave::cygserver_attach_tty): Drop declaration.
(fhandler_tty_slave::fstat): Declare public.
(fhandler_tty_slave::fchmod): Declare public.
(fhandler_tty_slave::fchown): Declare public.
(class fhandler_pty_master): Add master_ctl handle.
(fhandler_pty_master::pty_master_thread): Declare public.
* fhandler_termios.cc (fhandler_termios::tcinit): If the process
is started from a non-Cygwin process, make it tty process group
leader.
* fhandler_tty.cc: Throughout accommodate additional security related
arguments in calls to functions creating or opening objects.
(close_maybe): Move to start of file to reuse it
in other methods.
(struct pipe_request): Define.
(struct pipe_reply): Define.
(fhandler_tty_slave::open): Throughout, try to open synchronization
objects with MAXIMUM_ALLOWED permissions.  Drop call to cygserver.
Try to duplicate pipe handles via master_ctl pipe if duplicating
directly doesn't work.
(fhandler_tty_slave::cygserver_attach_tty): Remove.
(fhandler_tty_slave::init): Close unused incoming pipe handle.
(fhandler_pty_master::close): Send exit message to master control
thread and close master_ctl handle.
(fhandler_pty_master::pty_master_thread): New method, implementing the
master control thread.
(pty_master_thread): Static helper to start master control thread.
(fhandler_pty_master::setup): Simplify creating pipe inheritance.
Make sure we're the one creating the input_available_event.  Add
comment to explain why.  Create master_ctl pipe and start master
control thread.  Close master_ctl handle in case of error.
* security.cc (alloc_sd): Add code to handle tty objects.  Add comments
to explain what exactly is required.
(get_object_sd): New function.
(get_object_attribute): New function.
(create_object_sd_from_attribute): New function.
(set_object_sd): New function.
(set_object_attribute): New function.
(set_file_attribute): Change attribute type to mode_t.
* security.h (set_file_attribute): Change attribute type to mode_t.
(get_object_sd): Declare.
(get_object_attribute): Declare.
(create_object_sd_from_attribute): Declare.
(set_object_sd): Declare.
(set_object_attribute): Declare.
* tty.cc (tty::slave_alive): Implement directly instead of via alive.
(tty::exists): Open mutex handle with READ_CONTROL access.
(tty::alive): Remove.
(tty::open_output_mutex): Convert to inline method.
(tty::open_input_mutex): Ditto.
(tty::open_mutex): Take additional ACCESS_MASK parameter for the
mutex open access mask.
(tty::open_inuse): New method.
(tty::create_inuse): Take PSECURITY_ATTRIBUTES parameter.  Drop fmt
name parameter.  Always create TTY_SLAVE_ALIVE event.
(tty::get_event): Take additional PSECURITY_ATTRIBUTES parameter for
CreateEvent.
* tty.h (class tty): Change declarations according to aforementioned
changes.
(tty::open_output_mutex): Implement as inline method.
(tty::open_input_mutex): Ditto.

14 years ago * dtable.cc (dtable::init_std_file_from_handle): Set dev to
Corinna Vinschen [Mon, 19 Apr 2010 16:25:11 +0000 (16:25 +0000)]
* dtable.cc (dtable::init_std_file_from_handle): Set dev to
valid content for ptys.  Remove setting FILE_CREATE_PIPE_INSTANCE
in access flags since it's not needed.  Set the access mask for
kernel objects according to what's returned by NtQueryInformationFile,
info class FileAccessInformation.

14 years ago * syscalls.cc (rename): On STATUS_ACCESS_VIOLATION, retry to open
Corinna Vinschen [Mon, 19 Apr 2010 08:09:51 +0000 (08:09 +0000)]
* syscalls.cc (rename): On STATUS_ACCESS_VIOLATION, retry to open
for DELETE until the STATUS_ACCESS_VIOLATION goes away.  Add comment
to explain why.

14 years ago * sec_helper.cc (get_null_sd): Make static. Use PSECURITY_DESCRIPTOR
Corinna Vinschen [Sat, 17 Apr 2010 15:51:09 +0000 (15:51 +0000)]
* sec_helper.cc (get_null_sd): Make static.  Use PSECURITY_DESCRIPTOR
instead of SECURITY_DESCRIPTOR *.
(sec_acl): Fix fomratting.
* security.h (get_null_sd): Drop declaration.

14 years ago * cygerrno.h (seterrno_from_nt_status): Declare.
Corinna Vinschen [Fri, 16 Apr 2010 15:42:29 +0000 (15:42 +0000)]
* cygerrno.h (seterrno_from_nt_status): Declare.
(__seterrno_from_nt_status): Call seterrno_from_nt_status.
* errno.cc (seterrno_from_win_error): Set errno without calling
set_errno to avoid packing strace output with errno messages.
(seterrno_from_nt_status): New function to print NT status as well as
resulting Windows error.

14 years ago * kernel32.cc (CreateEventW): Create event object with EVENT_ALL_ACCESS
Corinna Vinschen [Thu, 15 Apr 2010 17:20:59 +0000 (17:20 +0000)]
* kernel32.cc (CreateEventW): Create event object with EVENT_ALL_ACCESS
access mask.
(CreateMutexW): Create mutex object with MUTEX_ALL_ACCESS access mask.
(CreateSemaphoreW): Create semaphore object with SEMAPHORE_ALL_ACCESS
access mask.

14 years ago * sec_helper.cc (set_cygwin_privileges): Enable SE_DEBUG_PRIVILEGE, if
Corinna Vinschen [Thu, 15 Apr 2010 17:17:59 +0000 (17:17 +0000)]
* sec_helper.cc (set_cygwin_privileges): Enable SE_DEBUG_PRIVILEGE, if
available.  Add comments.

14 years ago * ld/testsuite/ld-arm/attr-merge-2.attr: Update for changes in attribute output.
Matthew Gretton-Dann [Thu, 15 Apr 2010 10:56:36 +0000 (10:56 +0000)]
* ld/testsuite/ld-arm/attr-merge-2.attr: Update for changes in attribute output.
* ld/testsuite/ld-arm/attr-merge-3.attr: Likewise.
* ld/testsuite/ld-arm/attr-merge-vfp-1.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-vfp-1r.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-vfp-2.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-vfp-2r.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-vfp-3.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-vfp-3r.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-vfp-4.d: Likeiwse.
* ld/testsuite/ld-arm/attr-merge-vfp-4r.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-vfp-5.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-vfp-5r.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-wchar-00-nowarn.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-wchar-00.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-wchar-02-nowarn.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-wchar-02.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-wchar-04-nowarn.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-wchar-04.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-wchar-20-nowarn.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-wchar-20.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-wchar-22-nowarn.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-wchar-22.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-wchar-24-nowarn.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-wchar-40-nowarn.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-wchar-40.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-wchar-42-nowarn.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-wchar-44-nowarn.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-wchar-44.d: Likewise.
* ld/testsuite/ld-arm/attr-merge.attr: Likewise.
* binutils/readelf.c (arm_attr_tag_FP_arch): Rename from arm_attr_tag_VFP_arch.
(arm_attr_tag_ABI_align8_needed): Remove.
(arm_attr_tag_ABI_align8_preserved): Remove.
(arm_attr_tag_ABI_HardFP_use): Update text strings.
(arm_attr_public_tags): Add strings for ABI v2.08 attribute tags.
(display_arm_attribute): Add decoding of ABI v2.08 attributes.
* include/elf/arm.h (Tag_FP_arch, Tag_ABI_align_needed, Tag_ABI_align_preserved,
Tag_FP_HP_extension): Add new ABI attribute tags.
* gas/config/tc-arm.c (arm_convert_symbolic_attribute): Add support for
new tag names in v2.08 of ARM ABI.
* gas/doc/c-arm.texi: Document new tag names in ABI.
* gas/testsuite/gas/arm/attr-mcpu.d: Update for new attribute tag names.
* gas/testsuite/gas/arm/attr-mfpu-arm1020e.d: Likewise.
* gas/testsuite/gas/arm/attr-mfpu-arm1020t.d: Likewise.
* gas/testsuite/gas/arm/attr-mfpu-arm1136jf-s.d: Likewise.
* gas/testsuite/gas/arm/attr-mfpu-arm1136jfs.d: Likewise.
* gas/testsuite/gas/arm/attr-mfpu-neon-fp16.d: Likewise.
* gas/testsuite/gas/arm/attr-mfpu-neon.d: Likewise.
* gas/testsuite/gas/arm/attr-mfpu-softvfp+vfp.d: Likewise.
* gas/testsuite/gas/arm/attr-mfpu-vfp.d: Likewise.
* gas/testsuite/gas/arm/attr-mfpu-vfp10-r0.d: Likewise.
* gas/testsuite/gas/arm/attr-mfpu-vfp10.d: Likewise.
* gas/testsuite/gas/arm/attr-mfpu-vfp3.d: Likewise.
* gas/testsuite/gas/arm/attr-mfpu-vfp9.d: Likewise.
* gas/testsuite/gas/arm/attr-mfpu-vfpv2.d: Likewise.
* gas/testsuite/gas/arm/attr-mfpu-vfpv3-d16.d: Likewise.
* gas/testsuite/gas/arm/attr-mfpu-vfpv3.d: Likewise.
* gas/testsuite/gas/arm/attr-mfpu-vfpv4-d16.d: Likewise.
* gas/testsuite/gas/arm/attr-mfpu-vfpv4.d: Likewise.
* gas/testsuite/gas/arm/attr-mfpu-vfpxd.d: Likewise.
* gas/testsuite/gas/arm/attr-names.d: Add test to make sure all attribute names
are recognised.
* gas/testsuite/gas/arm/attr-names.s: Likewise.

14 years agoUpgrade header files to use GPLv3
Nick Clifton [Thu, 15 Apr 2010 10:26:09 +0000 (10:26 +0000)]
Upgrade header files to use GPLv3

14 years ago * filenames.h (HAS_DRIVE_SPEC, STRIP_DRIVE_SPEC): New macros.
Doug Evans [Wed, 14 Apr 2010 21:18:27 +0000 (21:18 +0000)]
* filenames.h (HAS_DRIVE_SPEC, STRIP_DRIVE_SPEC): New macros.

14 years ago2010-04-14 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Wed, 14 Apr 2010 09:28:48 +0000 (09:28 +0000)]
2010-04-14  Tristan Gingold  <gingold@adacore.com>

* configure.ac (alpha*-*-*vms*): Remove ld from noconfigdirs.
* configure: Regenerate.

14 years agosim: drop PARAMS
Michael Frysinger [Tue, 13 Apr 2010 20:39:44 +0000 (20:39 +0000)]
sim: drop PARAMS

The PARAMS macro is no longer useful, so drop it from the sim includes.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 years agosim: constify sim_write source buffer
Michael Frysinger [Tue, 13 Apr 2010 20:28:19 +0000 (20:28 +0000)]
sim: constify sim_write source buffer

Most the sim write functions declare their source buffer const because
they only ever read from it.  The global sim_write() function does not
follow this convention though which causes some warnings when trying to
pass it const strings or buffers.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 years ago * fhandler_socket.cc (get_inet_addr): Only test the file for being a
Corinna Vinschen [Tue, 13 Apr 2010 19:56:30 +0000 (19:56 +0000)]
* fhandler_socket.cc (get_inet_addr): Only test the file for being a
socket after opening it.  Retry if opening failed with sharing
violation.  Explain why we do this.
(fhandler_socket::bind): Create file with no sharing allowed.

14 years ago * cygheap.cc (cwcsdup): Fix allocation size to accommodate sizeof WCHAR.
Corinna Vinschen [Tue, 13 Apr 2010 10:01:34 +0000 (10:01 +0000)]
* cygheap.cc (cwcsdup): Fix allocation size to accommodate sizeof WCHAR.
(cwcsdup1): Ditto.

14 years ago * include/cygwin/version.h: Bump DLL minor version number to 5.
Corinna Vinschen [Mon, 12 Apr 2010 17:01:01 +0000 (17:01 +0000)]
* include/cygwin/version.h: Bump DLL minor version number to 5.

14 years ago * posix.sgml (std-notes): Improve lseek description.
Corinna Vinschen [Mon, 12 Apr 2010 15:36:48 +0000 (15:36 +0000)]
* posix.sgml (std-notes): Improve lseek description.

14 years ago * fhandler_tty.cc (fhandler_tty_slave::open): Add code to duplicate
Corinna Vinschen [Mon, 12 Apr 2010 13:28:06 +0000 (13:28 +0000)]
* fhandler_tty.cc (fhandler_tty_slave::open): Add code to duplicate
handles within a single process to simplify openpty case.
(fhandler_tty_slave::cygserver_attach_tty): Correctly send Windows PID
to cygserver, rather than the Cygwin PID.

14 years ago* cygwin.dsl: Remove comments.
Christopher Faylor [Sun, 11 Apr 2010 22:15:59 +0000 (22:15 +0000)]
* cygwin.dsl: Remove comments.

14 years ago * new-features.sgml (ov-new1.7.5): New section.
Corinna Vinschen [Sun, 11 Apr 2010 19:38:35 +0000 (19:38 +0000)]
* new-features.sgml (ov-new1.7.5): New section.

14 years ago * fhandler.h (class dev_console): Add backspace_keycode member.
Corinna Vinschen [Sun, 11 Apr 2010 19:11:17 +0000 (19:11 +0000)]
* fhandler.h (class dev_console): Add backspace_keycode member.
* fhandler_console.cc (fhandler_console::get_tty_stuff): Initialize
backspace_keycode with CERASE.
(fhandler_console::read): Return dev_state->backspace_keycode if the
backspace key is pressed.
(fhandler_console::char_command): Implement DECBKM escape sequence.

14 years ago* cygwin-api.in.sgml: Update to DocBook SGML 4.5 DTD.
Christopher Faylor [Sun, 11 Apr 2010 17:43:28 +0000 (17:43 +0000)]
* cygwin-api.in.sgml: Update to DocBook SGML 4.5 DTD.
* cygwin-ug-net.in.sgml: Ditto.
* cygwin-ug.in.sgml: Ditto.
* faq-sections.xml: Ditto.
* faq.xml: Ditto.

14 years ago* fhandler_console.cc (fhandler_console::read): Default to sending CERASE
Christopher Faylor [Sat, 10 Apr 2010 18:05:52 +0000 (18:05 +0000)]
* fhandler_console.cc (fhandler_console::read): Default to sending CERASE
character if termios VERASE field is zero.
(fhandler_console::fixup_after_fork_exec): Avoid a spurious debug message.

14 years agoupdate copyright
Christopher Faylor [Sat, 10 Apr 2010 05:47:54 +0000 (05:47 +0000)]
update copyright

14 years ago* mkvers.sh: Use modern date formats to construct the date.
Christopher Faylor [Sat, 10 Apr 2010 05:46:45 +0000 (05:46 +0000)]
* mkvers.sh: Use modern date formats to construct the date.

14 years ago * nlsfuncs.cc (__set_lc_time_from_win): Actually set
Corinna Vinschen [Fri, 9 Apr 2010 21:20:21 +0000 (21:20 +0000)]
* nlsfuncs.cc (__set_lc_time_from_win): Actually set
_time_locale->md_order to the D_MD_ORDER value written to the buffer.

14 years ago* path.cc (path_conv::set_normalized_path): Use crealloc_abort to avoid a
Christopher Faylor [Fri, 9 Apr 2010 16:51:08 +0000 (16:51 +0000)]
* path.cc (path_conv::set_normalized_path): Use crealloc_abort to avoid a
memory leak.
* path.h (path_conv::operator =): Just use cstrdup to allocate normalized_path,
avoiding attempt to free a pointer which is allocated in another pc.

14 years ago/:
Ralf Wildenhues [Thu, 8 Apr 2010 19:44:08 +0000 (19:44 +0000)]
/:
Merge from gcc:
PR bootstrap/43615
PR bootstrap/43328
Revert:
2010-03-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
* configure.ac: Do not pass --enable-multilib nor
--disable-multilib in baseargs.  Accept explicitly passed
--enable_multilib.
* configure: Regenerate.

14 years ago * internal.h (ELF_IS_SECTION_IN_SEGMENT): PT_PHDR program headers
Alan Modra [Thu, 8 Apr 2010 02:09:59 +0000 (02:09 +0000)]
* internal.h (ELF_IS_SECTION_IN_SEGMENT): PT_PHDR program headers
cannot contain any sections.

14 years ago * include/cygwin/version.h: Bump DLL minor version number to 4.
Corinna Vinschen [Wed, 7 Apr 2010 08:55:38 +0000 (08:55 +0000)]
* include/cygwin/version.h: Bump DLL minor version number to 4.

14 years ago2010-04-06 Dave Korn <dave.korn.cygwin@googlemail.com>
Jeff Johnston [Tue, 6 Apr 2010 20:20:36 +0000 (20:20 +0000)]
2010-04-06  Dave Korn  <dave.korn.cygwin@googlemail.com>

        * libc/stdlib/__atexit.c (__atexit_lock): Initialise as recursive
        rather than non-recursive lock type.
        (__register_exitproc): Use recursive locking APIs on it.
        * libc/stdlib/__call_atexit.c (__call_exitprocs): Likewise.

14 years ago * thread.cc (valid_sched_parameters): Declare extern here.
Corinna Vinschen [Tue, 6 Apr 2010 15:27:34 +0000 (15:27 +0000)]
* thread.cc (valid_sched_parameters): Declare extern here.
(sched_set_thread_priority): Ditto.

14 years ago * include/sched.h: Remove, overruled by newlib file.
Corinna Vinschen [Tue, 6 Apr 2010 15:16:24 +0000 (15:16 +0000)]
* include/sched.h: Remove, overruled by newlib file.
* include/sys/sched.h: Ditto.

14 years ago* fhandler_fifo.cc (fhandler_fifo::open): Accommodate previous return value
Christopher Faylor [Tue, 6 Apr 2010 15:09:44 +0000 (15:09 +0000)]
* fhandler_fifo.cc (fhandler_fifo::open): Accommodate previous return value
change to setup_overlapped.

14 years ago * libc/stdlib/btowc.c (btowc): Reorganize EOF check. Fix incorrect
Corinna Vinschen [Tue, 6 Apr 2010 14:46:31 +0000 (14:46 +0000)]
* libc/stdlib/btowc.c (btowc): Reorganize EOF check.  Fix incorrect
return value if input byte is ASCII NUL.

14 years agomerge from gcc
Jakub Jelinek [Tue, 6 Apr 2010 07:39:30 +0000 (07:39 +0000)]
merge from gcc

14 years agomerge from gcc
DJ Delorie [Mon, 5 Apr 2010 20:13:18 +0000 (20:13 +0000)]
merge from gcc

14 years agoinclude/
Jakub Jelinek [Mon, 5 Apr 2010 19:30:00 +0000 (19:30 +0000)]
include/
* dwarf2.h (DWARF2_Internal_LineInfo): Add li_max_ops_per_insn
field.
bfd/
* dwarf2.c (struct line_head): Add maximum_ops_per_insn field.
(struct line_info): Add op_index field, change end_sequence type to
unsigned char.
(new_line_sorts_after): For the same address compare op_index.
(add_line_info): Add op_index argument, store it into the structure.
(decode_line_info): Complain about unknown versions of .debug_line.
Initialize maximum_ops_per_insn.  Add op_index state register and
track it.
binutils/
* dwarf.c (struct State_Machine_Registers): Add op_index field,
change end_sequence type to unsigned char.
(reset_state_machine): Clear op_index.
(process_extended_line_op): For DW_LNE_set_address clear op_index.
(display_debug_lines_raw): Initialize li_max_ops_per_insn.
Track op_index state machine register and print it if
li_max_ops_per_insn is != 1.
(display_debug_lines_decoded): Likewise.

14 years ago* fhandler.h (fhandler_base::has_ongoing_io): Declare virtual method.
Christopher Faylor [Fri, 2 Apr 2010 22:36:44 +0000 (22:36 +0000)]
* fhandler.h (fhandler_base::has_ongoing_io): Declare virtual method.
* select.cc (peek_pipe): Reorganize slightly.  Don't attempt to check a handle
if it has ongoing I/O.
(select_pipe_info::select_pipe_info): Delete definition.
(select_pipe_info::~select_pipe_info): Delete definition.
(thread_pipe): Get rid of WFMO call.  Reorganize loop.
(pipe_cleanup): Remove dependence on destructor.
(thread_serial): Reorganize loop.
* select.h (select_pipe_info): Empty this class since it no longer has any
special requirements (for now).
* syscalls.cc (readv): Remove an unneeded debug printf.

14 years ago* fhandler.h (fhandler_base::setup_overlapped): Delete virtual declaration.
Christopher Faylor [Fri, 2 Apr 2010 18:55:02 +0000 (18:55 +0000)]
* fhandler.h (fhandler_base::setup_overlapped): Delete virtual declaration.
(fhandler_base::destroy_overlapped): Ditto.
(fhandler_base_overlapped): Remove now-unneeded friend.
(fhandler_base_overlapped::setup_overlapped): Return int, remove parameter.
(fhandler_base_overlapped::get_overlapped): Return reference.
(fhandler_base_overlapped::fhandler_base_overlapped): Be more assertive about
zeroing everything.
(fhandler_base_overlapped::fixup_after_fork): Declare new function.
(fhandler_base_overlapped::fixup_after_exec): Ditto.
(fhandler_base_overlapped::dup): Ditto.
(fhandler_base_overlapped::close): Ditto.
* fhandler_fifo.cc (fhandler_fifo::dup): Call fhandler_base_overlapped::dup
rather than fhandler_base::dup.
* pipe.cc (fhandler_pipe::dup): Ditto.
(fhandler_pipe::init): Accommodate change in setup_overlapped arguments for
"opened_properly" case.

14 years ago* fhandler_fifo.cc (fhandler_fifo::fhandler_fifo): Properly initialize
Christopher Faylor [Fri, 2 Apr 2010 16:43:27 +0000 (16:43 +0000)]
* fhandler_fifo.cc (fhandler_fifo::fhandler_fifo): Properly initialize
overlapped part of this class.

14 years ago * fhandler_tty.cc (fhandler_tty_slave::close): Revert previous change.
Corinna Vinschen [Fri, 2 Apr 2010 16:16:53 +0000 (16:16 +0000)]
* fhandler_tty.cc (fhandler_tty_slave::close): Revert previous change.

14 years agofix typo
Christopher Faylor [Fri, 2 Apr 2010 16:01:58 +0000 (16:01 +0000)]
fix typo

14 years ago* select.h (select_pipe_info::add_watch_handle): Delete declaration.
Christopher Faylor [Fri, 2 Apr 2010 15:50:54 +0000 (15:50 +0000)]
* select.h (select_pipe_info::add_watch_handle): Delete declaration.
* select.cc (select_pipe_info::add_watch_handle): Delete deinition.
(fhandler_pipe::select_read): Delete call to add_watch_handle.
(fhandler_pipe::select_write): Ditto.
(fhandler_pipe::select_except): Ditto.

14 years ago* dtable.cc (dtable::init_std_file_from_handle): Avoid adding fh to fdtab until
Christopher Faylor [Fri, 2 Apr 2010 15:41:27 +0000 (15:41 +0000)]
* dtable.cc (dtable::init_std_file_from_handle): Avoid adding fh to fdtab until
we know that it is good.
* fhandler_tty.cc (fhandler_tty_slave::fhandler_tty_slave): Handle error
conditions more consistently.  Avoid handle leakage on error.

14 years ago * fhandler_tty.cc (fhandler_tty_slave::close): Avoid potential crash
Corinna Vinschen [Fri, 2 Apr 2010 14:11:45 +0000 (14:11 +0000)]
* fhandler_tty.cc (fhandler_tty_slave::close): Avoid potential crash
if former open call has been unsuccessful.

14 years ago * nlsfuncs.cc: Fix indentation.
Corinna Vinschen [Thu, 1 Apr 2010 20:30:07 +0000 (20:30 +0000)]
* nlsfuncs.cc: Fix indentation.

14 years ago * nlsfuncs.cc (rebase_locale_buf): New helper function to rebase
Corinna Vinschen [Thu, 1 Apr 2010 20:13:22 +0000 (20:13 +0000)]
* nlsfuncs.cc (rebase_locale_buf): New helper function to rebase
function pointers in locale structures.  Explain why this is necessary.
(__set_lc_time_from_win): Use rebase_locale_buf after realloc.
(__set_lc_numeric_from_win): Ditto.
(__set_lc_monetary_from_win): Ditto.

14 years ago2010-04-01 Joel Sherrill <joel.sherrill@oarcorp.com>
Jeff Johnston [Thu, 1 Apr 2010 18:33:37 +0000 (18:33 +0000)]
2010-04-01  Joel Sherrill <joel.sherrill@oarcorp.com>

        * libc/include/sched.h: Include prototypes for
        sched_* methods.
        * libc/include/sys/sched.h: Update to POSIX
        1003.1b-2008.  Rework constants to allow sharing
        between RTEMS and Cygwin.

14 years ago* setup-net.sgml: Remove more mentions of rxvt.
Charles Wilson [Thu, 1 Apr 2010 05:23:07 +0000 (05:23 +0000)]
* setup-net.sgml: Remove more mentions of rxvt.

14 years ago* cygwinenv.sgml: Remove/deprecate mention of rxvt.
Christopher Faylor [Wed, 31 Mar 2010 21:06:43 +0000 (21:06 +0000)]
* cygwinenv.sgml: Remove/deprecate mention of rxvt.
* effectively.sgml: Ditto.
* faq-using.xml: Ditto.
* setup-net.sgml: Ditto.

14 years ago* sigproc.cc (wait_sig): Make sure that strace is activated on __SIGSTRACE by
Christopher Faylor [Wed, 31 Mar 2010 18:06:02 +0000 (18:06 +0000)]
* sigproc.cc (wait_sig): Make sure that strace is activated on __SIGSTRACE by
calling new strace::activate function.
* strace.cc (strace::activate): Rename from strace::strace.
* strace.h (strace::activate): Define new function.
(strace::strace): Call activate.

14 years ago* fhandler.h (fhandler_base_overlapped): Temporarily (?) make select_pipe_info
Christopher Faylor [Wed, 31 Mar 2010 15:00:48 +0000 (15:00 +0000)]
* fhandler.h (fhandler_base_overlapped): Temporarily (?) make select_pipe_info
a friend until the fhandler_tty intertangling can be worked out.
* select.cc (select_pipe_info::add_watch_handle): Don't inspect the overlapped
event if we're not waiting for I/O.
(fhandler_tty_common::select_*): Change to standard function.  Don't do kludgy
fhandler_pipe coercion.

14 years ago2010-03-31 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Wed, 31 Mar 2010 07:35:54 +0000 (07:35 +0000)]
2010-03-31  Tristan Gingold  <gingold@adacore.com>

* dcx.h: New file.
* dsc.h: New file.
* esdfm.h: New file.
* esdfv.h: New file.
* internal.h: New file.
* lbr.h: New file.
* prt.h: New file.
* shl.h (struct vms_shl): Add comments.
* esrf.h (ESRF__B_NAMLNG): New macro.
* esdf.h (ESDF__B_NAMLNG): New macro.
* emh.h: Add macros for fields maximum value.
* eisd.h (EISD__M_PROTECT): Fix typo in comment.
Add macros for offsets, version, section type and match control.
Merge vms_eisd_ext into vms_eisd.
* eihvn.h (EIHVN__MULTI_PROCESSING_BIT, EIHVN__GALAXY_BIT): Added.
* eihs.h: Remove blank line.
* eihd.h (struct vms_eihd): Add comments, add image subtype names.
* eiha.h (struct vms_eiha): Add inishr and inishr_h fields.
* eiaf.h (struct vms_eiaf): Fix base_va size.
* egsy.h: Add comments.
* egsd.h: Remove blank line.
* egps.h: Add flag names.
* eeom.h (EEOM__M_WKTFR): Added.
* dst.h (DST__K_CXX): Added, and reident languages.
(DST__K_SRC_INCRLNUM_B): Added.
Indent and order pcline commands.
Add record begin/end, enumerations, type specification, value
specification, label, discontinue range definitions.

14 years agoFix toplevel configure --enable-multilib handling.
Ralf Wildenhues [Wed, 31 Mar 2010 05:44:01 +0000 (05:44 +0000)]
Fix toplevel configure --enable-multilib handling.

/:
PR bootstrap/43328
* configure.ac: Do not pass --enable-multilib nor
--disable-multilib in baseargs.  Accept explicitly passed
--enable_multilib.
* configure: Regenerate.

14 years agoAdd missing fhandler.h patch and ChangeLog comment.
Christopher Faylor [Wed, 31 Mar 2010 04:39:13 +0000 (04:39 +0000)]
Add missing fhandler.h patch and ChangeLog comment.

14 years ago* fhandler.cc (fhandler_base::dup): Call setup_overlapped unconditionally.
Christopher Faylor [Wed, 31 Mar 2010 04:26:11 +0000 (04:26 +0000)]
* fhandler.cc (fhandler_base::dup): Call setup_overlapped unconditionally.
(fhandler_base::fork_fixup): Ditto.
(fhandler_base::fixup_after_fork): Ditto.
(fhandler_base::fixup_after_exec): Ditto.
(fhandler_base_overlapped::setup_overlapped): Move to this class from
fhandler_base.
(handler_base_overlapped::destroy_overlapped): Ditto.
(fhandler_base_overlapped::wait_overlapped): Ditto.  Track when we expect
pending I/O.
(fhandler_base_overlapped::read_overlapped): Move to this class from
fhandler_base.  Return error if ongoing I/O.
(fhandler_base_overlapped::write_overlapped): Ditto.
(fhandler_base_overlapped::has_ongoing_io): Semi-reinstate previous function.
* fhandler.h (fhandler_base::wait_overlapped): Move to fhandler_base_overlapped
class.
(fhandler_base::write_overlapped): Ditto.
(fhandler_base::get_overlapped): Ditto.
(fhandler_base::get_overlapped_buffer): Ditto.
(fhandler_base_overlapped): New class.
(fhandler_pipe): Inherit from fhandler_base_overlapped.  Remove overlapped
stuff as a result.
(fhandler_fifo): Ditto.
* pipe.cc (fhandler_pipe::fhandler_pipe): Initialize fhandler_base_overlapped.
(pipe): Put a descriptive name in the fhandler.

14 years ago * fhandler_socket.cc (fhandler_socket::wait_for_events): Remove call to
Corinna Vinschen [Tue, 30 Mar 2010 16:20:15 +0000 (16:20 +0000)]
* fhandler_socket.cc (fhandler_socket::wait_for_events): Remove call to
sig_dispatch_pending.

14 years ago2010-03-30 Thomas Wolff <towo@towo.net>
Corinna Vinschen [Tue, 30 Mar 2010 16:17:34 +0000 (16:17 +0000)]
2010-03-30  Thomas Wolff  <towo@towo.net>

* fhandler.h (class dev_console): Drop vt100_graphics_mode_active.
Add flags vt100_graphics_mode_G0, vt100_graphics_mode_G1 and
iso_2022_G1.
* fhandler_console.cc: Throughout, tune VT100 graphics mode switching
to follow ISO 2022 strictly.

14 years ago * syscalls.cc (open): Remove call to sig_dispatch_pending.
Corinna Vinschen [Tue, 30 Mar 2010 14:36:42 +0000 (14:36 +0000)]
* syscalls.cc (open): Remove call to sig_dispatch_pending.

14 years ago * net.cc: Remove calls to sig_dispatch_pending throughout.
Corinna Vinschen [Tue, 30 Mar 2010 09:25:46 +0000 (09:25 +0000)]
* net.cc: Remove calls to sig_dispatch_pending throughout.
* libc/rexec.cc: Ditto.

14 years ago * mount.cc (fs_info::update): Allow variable FILE_SUPPORTS_SPARSE_FILES
Corinna Vinschen [Tue, 30 Mar 2010 08:55:23 +0000 (08:55 +0000)]
* mount.cc (fs_info::update): Allow variable FILE_SUPPORTS_SPARSE_FILES
flag in netapp flag test.  Add comment.

14 years ago * spawn.cc (find_exec): Enable finding paths in backslash notation,
Corinna Vinschen [Mon, 29 Mar 2010 17:15:51 +0000 (17:15 +0000)]
* spawn.cc (find_exec): Enable finding paths in backslash notation,
especially for the exec[vl]p functions.

* path.cc (symlink_info::check): Disable returning directories with
suffix appended here.

14 years ago * new-features.sgml (ov-new1.7.3): New section.
Corinna Vinschen [Mon, 29 Mar 2010 15:10:09 +0000 (15:10 +0000)]
* new-features.sgml (ov-new1.7.3): New section.

14 years ago * include/cygwin/version.h: Bump DLL minor version number to 3.
Corinna Vinschen [Mon, 29 Mar 2010 15:06:09 +0000 (15:06 +0000)]
* include/cygwin/version.h: Bump DLL minor version number to 3.

14 years ago * fhandler.cc (fhandler_base::fstat): Keep st_ctime and st_birthtime
Corinna Vinschen [Mon, 29 Mar 2010 15:02:50 +0000 (15:02 +0000)]
* fhandler.cc (fhandler_base::fstat): Keep st_ctime and st_birthtime
fixed to 2006-12-01 00:00 UTC.

14 years ago * libc/rcmd.c: Enable IPv6.
Corinna Vinschen [Mon, 29 Mar 2010 09:00:25 +0000 (09:00 +0000)]
* libc/rcmd.c: Enable IPv6.

14 years agochange wording
Christopher Faylor [Sun, 28 Mar 2010 18:36:02 +0000 (18:36 +0000)]
change wording

14 years ago* fhandler.cc (fhandler_base::fstat): Set st_mtime time to current time.
Christopher Faylor [Sun, 28 Mar 2010 17:49:35 +0000 (17:49 +0000)]
* fhandler.cc (fhandler_base::fstat): Set st_mtime time to current time.

14 years ago* globals.cc (exit_status): Add new ES_EXIT_STARTING enum.
Christopher Faylor [Sun, 28 Mar 2010 17:27:52 +0000 (17:27 +0000)]
* globals.cc (exit_status): Add new ES_EXIT_STARTING enum.
* dcrt0.cc (cygwin_exit): Set exit_state to ES_EXIT_STARTING prior to calling
real exit.
* dll_init.cc (dll_list::detach): Remove dll from linked list and call
destructors even if exiting.  Don't call __cxa_finalize in exiting case.

14 years ago * setup2.sgml (setup-locale-charsetlist): Add EUC-CN and GB2312.
Corinna Vinschen [Sat, 27 Mar 2010 21:13:04 +0000 (21:13 +0000)]
* setup2.sgml (setup-locale-charsetlist): Add EUC-CN and GB2312.

14 years ago * locale.cc (print_charmaps): Add EUC-CN and GB2312.
Corinna Vinschen [Sat, 27 Mar 2010 21:08:02 +0000 (21:08 +0000)]
* locale.cc (print_charmaps): Add EUC-CN and GB2312.

14 years ago * nlsfuncs.cc (__set_charset_from_locale): Set default charset for
Corinna Vinschen [Sat, 27 Mar 2010 21:07:17 +0000 (21:07 +0000)]
* nlsfuncs.cc (__set_charset_from_locale):  Set default charset for
locales defaulting to codepage 936 to GB2312.

14 years ago * libc/locale/locale.c (loadlocale): Optimize "EUC" charset check.
Corinna Vinschen [Sat, 27 Mar 2010 21:04:49 +0000 (21:04 +0000)]
* libc/locale/locale.c (loadlocale): Optimize "EUC" charset check.
Cygwin only: Allow GB2312 and EUC-CN as alternative codeset names
for GBK.  Add to documentation.
* libc/locale/nl_langinfo.c (nl_langinfo): On Cygwin, translate EUCCN
to GB2312.

14 years ago * textbinary.sgml: Add missing </para>.
Corinna Vinschen [Sat, 27 Mar 2010 17:10:23 +0000 (17:10 +0000)]
* textbinary.sgml: Add missing </para>.

14 years ago* textbinary.sgml: Remove tr example and just mention u2d and d2u instead.
Christopher Faylor [Sat, 27 Mar 2010 05:26:51 +0000 (05:26 +0000)]
* textbinary.sgml: Remove tr example and just mention u2d and d2u instead.

14 years agobfd:
Joseph Myers [Thu, 25 Mar 2010 21:12:32 +0000 (21:12 +0000)]
bfd:
* Makefile.am (ALL_MACHINES): Add cpu-tic6x.lo.
(ALL_MACHINES_CFILES): Add cpu-tic6x.c.
(BFD32_BACKENDS): Add elf32-tic6x.lo.
(BFD32_BACKENDS_CFILES): Add elf32-tic6x.c.
* Makefile.in: Regenerate.
* archures.c (bfd_arch_tic6x, bfd_tic6x_arch): New.
(bfd_archures_list): Update.
* config.bfd (tic6x-*-elf): New.
* configure.in (bfd_elf32_tic6x_be_vec, bfd_elf32_tic6x_le_vec):
New.
* configure: Regenerate.
* cpu-tic6x.c, elf32-tic6x.c: New.
* reloc.c (BFD_RELOC_C6000_PCR_S21, BFD_RELOC_C6000_PCR_S12,
BFD_RELOC_C6000_PCR_S10, BFD_RELOC_C6000_PCR_S7,
BFD_RELOC_C6000_ABS_S16, BFD_RELOC_C6000_ABS_L16,
BFD_RELOC_C6000_ABS_H16, BFD_RELOC_C6000_SBR_U15_B,
BFD_RELOC_C6000_SBR_U15_H, BFD_RELOC_C6000_SBR_U15_W,
BFD_RELOC_C6000_SBR_S16, BFD_RELOC_C6000_SBR_L16_B,
BFD_RELOC_C6000_SBR_L16_H, BFD_RELOC_C6000_SBR_L16_W,
BFD_RELOC_C6000_SBR_H16_B, BFD_RELOC_C6000_SBR_H16_H,
BFD_RELOC_C6000_SBR_H16_W, BFD_RELOC_C6000_SBR_GOT_U15_W,
BFD_RELOC_C6000_SBR_GOT_L16_W, BFD_RELOC_C6000_SBR_GOT_H16_W,
BFD_RELOC_C6000_DSBT_INDEX, BFD_RELOC_C6000_PREL31,
BFD_RELOC_C6000_COPY, BFD_RELOC_C6000_ALIGN,
BFD_RELOC_C6000_FPHEAD, BFD_RELOC_C6000_NOCMP): New.
* targets.c (bfd_elf32_tic6x_be_vec, bfd_elf32_tic6x_le_vec): New.
(_bfd_target_vector): Update.
* bfd-in2.h, libbfd.h: Regenerate.

binutils:
* MAINTAINERS: Add self as TI C6X maintainer.
* NEWS: Add news entry for TI C6X support.
* readelf.c: Include elf/tic6x.h.
(guess_is_rela): Handle EM_TI_C6000.
(dump_relocations): Likewise.
(get_tic6x_dynamic_type): New.
(get_dynamic_type): Call it.
(get_machine_flags): Handle EF_C6000_REL.
(get_osabi_name): Handle machine-specific values only for relevant
machines.  Handle C6X values.
(get_tic6x_segment_type): New.
(get_segment_type): Call it.
(get_tic6x_section_type_name): New.
(get_section_type_name): Call it.
(is_32bit_abs_reloc, is_16bit_abs_reloc, is_none_reloc): Handle
EM_TI_C6000.

gas:
* Makefile.am (TARGET_CPU_CFILES): Add config/tc-tic6x.c.
(TARGET_CPU_HFILES): Add config/tc-tic6x.h.
* Makefile.in: Regenerate.
* NEWS: Add news entry for TI C6X support.
* app.c (do_scrub_chars): Handle "||^" for TI C6X.  Handle
TC_PREDICATE_START_CHAR and TC_PREDICATE_END_CHAR.  Keep spaces in
operands if TC_KEEP_OPERAND_SPACES.
* configure.tgt (tic6x-*-*): New.
* config/tc-ia64.h (TC_PREDICATE_START_CHAR,
TC_PREDICATE_END_CHAR): Define.
* config/tc-tic6x.c, config/tc-tic6x.h: New.
* doc/Makefile.am (CPU_DOCS): Add c-tic6x.texi.
* doc/Makefile.in: Regenerate.
* doc/all.texi (TIC6X): Define.
* doc/as.texinfo: Add TI C6X documentation.  Include c-tic6x.texi.
* doc/c-tic6x.texi: New.

gas/testsuite:
* gas/tic6x: New directory and testcases.

include:
* dis-asm.h (print_insn_tic6x): Declare.

include/elf:
* common.h (ELFOSABI_C6000_ELFABI, ELFOSABI_C6000_LINUX): Define.
* tic6x.h: New.

include/opcode:
* tic6x-control-registers.h, tic6x-insn-formats.h,
tic6x-opcode-table.h, tic6x.h: New.

ld:
* Makefile.am (ALL_EMULATIONS): Add eelf32_tic6x_be.o and
eelf32_tic6x_le.o.
(eelf32_tic6x_be.c, eelf32_tic6x_le.c): New.
* NEWS: Add news entry for TI C6X support.
* configure.tgt (tic6x-*-*): New.
* emulparams/elf32_tic6x_be.sh, emulparams/elf32_tic6x_le.sh: New.

ld/testsuite:
* ld-elf/flags1.d, ld-elf/merge.d: XFAIL for tic6x-*-*.
* ld-elf/sec-to-seg.exp: Set B_test_same_seg to 0 for tic6x-*-*.
* ld-tic6x: New directory and testcases.

opcodes:
* Makefile.am (TARGET_LIBOPCODES_CFILES): Add tic6x-dis.c.
* Makefile.in: Regenerate.
* configure.in (bfd_tic6x_arch): New.
* configure: Regenerate.
* disassemble.c (ARCH_tic6x): Define if ARCH_all.
(disassembler): Handle TI C6X.
* tic6x-dis.c: New.

14 years ago* pathnames.sgml: Clarify wording of user-specific fstab files. Fix typo.
Christopher Faylor [Thu, 25 Mar 2010 12:52:32 +0000 (12:52 +0000)]
* pathnames.sgml: Clarify wording of user-specific fstab files.  Fix typo.

14 years ago * regtool.cc (find_key): Fix allocation size of "value".
Corinna Vinschen [Wed, 24 Mar 2010 19:52:00 +0000 (19:52 +0000)]
* regtool.cc (find_key): Fix allocation size of "value".

14 years ago * legal.sgml: Bump copyright date.
Corinna Vinschen [Wed, 24 Mar 2010 08:54:52 +0000 (08:54 +0000)]
* legal.sgml: Bump copyright date.

14 years ago * locale.cc (add_locale_alias_locales): Always use loc_num at function
Corinna Vinschen [Tue, 23 Mar 2010 21:26:03 +0000 (21:26 +0000)]
* locale.cc (add_locale_alias_locales): Always use loc_num at function
start to avoid confusing bsearch.

14 years ago * locale.cc: Revert accidental checkin of unfinished changes.
Corinna Vinschen [Tue, 23 Mar 2010 21:20:31 +0000 (21:20 +0000)]
* locale.cc: Revert accidental checkin of unfinished changes.

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