d578467671
2012-04-28 LRN <l_r_nightmare@users.sf.net>
...
* include/shobjidl.h: New file.
* lib/shobjidl-uuid.c: New file.
* lib/Makefile.in: Reference shobjidl-uuid.c.
2012-04-29 02:43:40 +00:00
4a94927000
* dwarf2.def (DW_OP): Add DW_OP_GNU_addr_index.
2012-04-28 21:41:06 +00:00
ea17849f8b
* environ.cc (struct parse_thing): Add temporary (?) "pipe_byte" option.
...
* globals.cc (pipe_byte): Declare.
* pipe.cc (fhandler_pipe::create): Use current process id in pipe name rather
than pid for simple name collision avoidance. Do this only once to avoid extra
overhead when a busy pipe is found. Honor pipe_byte to create non-message
pipes if set.
* sigproc.cc (sigproc_init): Use a specific name for the signal pipe.
2012-04-28 19:49:58 +00:00
2875f31af2
merge from gcc
2012-04-27 18:03:18 +00:00
7ab2f71fa8
Add support for SPARC T4 crypto instructions.
...
include/opcode/
* sparc.h: Document new arg code' )' for crypto RS3
immediates.
opcodes/
* sparc-dis.c (print_insn_sparc): Handle ')'.
* sparc-opc.c (sparc_opcodes): Add crypto instructions.
gas/
* config/tc-sparc.c (sparc_ip): Likewise. Accept instruction
names containing "_".
(sparc_arch_table): Add sparc4, v8pluse, and v9e. Add crypto
hwcap masks to v8plusv and v9v.
gas/testsuite/
* gas/sparc/crypto.s: New file.
* gas/sparc/crypto.d: New file.
* gas/sparc/sparc.exp: Run crypto test.
2012-04-27 18:02:35 +00:00
975da0d73a
Move sparc opcode hwcaps out of sparc_opcode flags field.
...
include/opcode/
* sparc.h (struct sparc_opcode): New field 'hwcaps'.
F_MUL32, F_DIV32, F_FDMULD, F_V8PLUS, F_POPC, F_VIS, F_VIS2,
F_ASI_BLK_INIT, F_FMAF, F_VIS3, F_HPC, F_RANDOM, F_TRANS,
F_FJFMAU, F_IMA, F_ASI_CACHE_SPARING, F_HWCAP_MASK): Delete.
(HWCAP_MUL32, HWCAP_DIV32, HWCAP_FSMULD, HWCAP_V8PLUS, HWCAP_POPC,
HWCAP_VIS, HWCAP_VIS2, HWCAP_ASI_BLK_INIT, HWCAP_FMAF,
HWCAP_VIS3, HWCAP_HPC, HWCAP_RANDOM, HWCAP_TRANS, HWCAP_FJFMAU,
HWCAP_IMA, HWCAP_ASI_CACHE_SPARING, HWCAP_AES, HWCAP_DES,
HWCAP_KASUMI, HWCAP_CAMELLIA, HWCAP_MD5, HWCAP_SHA1,
HWCAP_SHA256, HWCAP_SHA512, HWCAP_MPMUL, HWCAP_MONT, HWCAP_PAUSE,
HWCAP_CBCOND, HWCAP_CRC32): New defines.
opcodes/
* sparc-opc.c (sparc_opcodes): Rework table to put HWCAP values
into new struct sparc_opcode 'hwcaps' field instead of 'flags'.
gas/
* config/tc-sparc.c (sparc_arch_table): Rework to use HWCAP_*
masks.
(sparc_md_end): No longer need to translate hwcap_seen values into
ELF hwcap bits, they now match exactly.
(get_hwcap_name): Use HWCAP_* and handle new values.
(sparc_ip): Fetch hwcaps from insn->hwcaps instead of insn->flags.
2012-04-27 18:01:35 +00:00
3117fd3083
Add new ELF_SPARC_HWCAP_* defines for features found on SPARC-T4.
...
include/elf/
* sparc.h: Add new ELF_SPARC_HWCAP_* defines for crypto,
pause, and compare-and-branch instructions.
2012-04-27 18:00:52 +00:00
2d487f2dd6
* path.cc (find_fast_cwd_pointer): Fix for W8 CP 32 bit.
2012-04-27 12:07:15 +00:00
8162f580cb
Update config.sub to 2012-04-18 version.
...
ChangeLog:
* config.sub: Update to 2012-04-18 version from official repo.
2012-04-25 15:53:25 +00:00
8e487e5954
* new-features.sgml (ov-new1.7.14): Add mouse reporting mode 1005.
2012-04-25 07:34:34 +00:00
070a2dd5dd
*** empty log message ***
2012-04-25 07:33:03 +00:00
8ee7527dc2
* fhandler.h (class dev_console): Add member ext_mouse_mode5.
...
* fhandler_console.cc (fhandler_console::read): Implement extended
mouse mode 1005 (xterm, mintty).
Fix actual mouse reporting for large coordinates.
2012-04-25 07:25:00 +00:00
f1ce77295d
* include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 15.
2012-04-24 16:05:20 +00:00
bd8839bbce
* new-features.sgml (ov-new1.7.14): New section. Add new console mouse
...
reporting modes.
2012-04-24 14:42:51 +00:00
d581bbfa8e
* fhandler_console.cc (ALT_PRESSED): Define earlier, never undefine.
...
(CTRL_PRESSED): Ditto.
(fhandler_console::read): Simplify expressions testing for pressed ALT
or CTRL modifier keys.
(get_nonascii_key): Ditto.
2012-04-24 14:39:22 +00:00
503a59c70b
*** empty log message ***
2012-04-24 14:31:35 +00:00
c9df1b2729
* fhandler.h (class dev_console): Add members ext_mouse_mode6 and
...
ext_mouse_mode15.
* fhandler_console.cc (fhandler_console::read): Implement extended
mouse modes 1015 (urxvt, mintty, xterm) and 1006 (xterm). Recognize,
but don't implement extended mouse mode 1005 (xterm, mintty).
Support mouse coordinates greater than 222 (each axis). Fix formatting.
(fhandler_console::char_command): Initialize enhanced mouse reporting
modes.
2012-04-24 14:29:37 +00:00
a5fa16e277
* configure: Regenerate.
2012-04-24 08:55:41 +00:00
7940dd8118
* faq-using.xml (faq.using.emacs, faq.using.xemacs): Change links
...
from http://cygwin.com/xfree to http://x.cygwin.com .
2012-04-23 22:10:37 +00:00
0a5135e32a
* faq-programming.xml (faq.programming.objective-c): Update for gcc4.
...
(faq.programming.win32-api): -mwindows does include -lcomdlg32.
(faq.programming.win32-no-cygwin): Update for removal of -mno-cygwin.
* overview2.sgml (ov-ex-win): Ditto.
2012-04-23 21:46:46 +00:00
f76ca72740
add in preparation for release
2012-04-23 15:18:54 +00:00
8b4bd08220
* dtable.cc (fh_alloc): Only disallow opening of nonexistent on-disk device.
...
* path.cc (path_conv::check): Remove PATH_KEPT_HANDLE setting.
* path.h (path_types): Remove PATH_KEPT_HANDLE.
(path_conv::kept_handle): Delete now-unneeded function.
2012-04-21 19:52:11 +00:00
080f275bae
* dtable.cc (fh_alloc): Keep fh which was flagged as error if it is for an
...
on-disk device and we were stating it.
* path.cc (path_conv::check): Set PATH_KEPT_HANDLE.
* path.h (path_types): Add PATH_KEPT_HANDLE.
(path_conv::kept_handle): Implement.
2012-04-19 17:21:32 +00:00
55dcba98db
* fhandler.h (fhandler_base::nohandle): Revert to standard implementation.
...
* dtable.cc (dtable::fixup_after_exec): Specifically reject releasing
nohandle() type fhandlers rather than relying on contents of io_handle.
(dtable::fixup_after_fork): Ditto.
* fhandler_termios.cc: Add includes necessary for definitions of have_execed
and have_execed_cygwin.
(fhandler_termios::sigflush): Don't flush console input when we've started a
non-Cygwin process.
2012-04-18 05:57:38 +00:00
c1d26a99cd
reformat
2012-04-15 17:56:50 +00:00
aba77cbe8f
wincap.h: Rename assitant to assistant throughout. wincap.cc: Ditto.
...
* devices.in (exists_console): Use fhandler_console::exists () rather than raw
test.
* devices.cc: Regenerate.
* fhandler.h (fhandler_console::exists): Define new function.
* fhandler_console.cc (fhandler_console::need_invisible): Use
fhandler_console::exists () rather than raw test.
* spawn.cc: Rename assitant to assistant throughout.
(child_info_spawn::worker): Simplify test for when to start a non-Cygwin
process in its own process group. Just do it whenever we start a non-Cygwin
process.
2012-04-15 17:51:22 +00:00
0a3819e655
clarify latest entry
2012-04-13 05:05:42 +00:00
3bfa9d984b
* devices.in (exists_console): Allow /dev/con{sole,in,out} to be referenced
...
they exist.
* devices.cc: Regenerate.
* fhandler_console.cc (fhandler_console::set_unit): Ditto.
2012-04-13 02:30:51 +00:00
416b2d8719
Support R_SPARC_WDISP10 and R_SPARC_H34.
...
include/
* elf/sparc.h (R_SPARC_WDISP10): New reloc.
* opcode/sparc.h: Define '=' as generating R_SPARC_WDISP10.
opcodes/
* sparc-dis.c (X_DISP10): Define.
(print_insn_sparc): Handle '='.
bfd/
* reloc.c (BFD_RELOC_SPARC_H34, BFD_RELOC_SPARC_SIZE32,
BFD_RELOC_SPARC_SIZE64, BFD_RELOC_SPARC_WDISP10): New relocs.
* libbfd.h: Regenerate.
* bfd-in2.h: Likewise.
* elfxx-sparc.c (sparc_elf_wdisp10_reloc): New function.
(_bfd_sparc_elf_howto_table): Add entries for R_SPARC_H34,
R_SPARC_SIZE32, R_SPARC_64, and R_SPARC_WDISP10.
(_bfd_sparc_elf_reloc_type_lookup): Handle new relocs.
(_bfd_sparc_elf_check_relocs): Likewise.
(_bfd_sparc_elf_gc_sweep_hook): Likewise.
(_bfd_sparc_elf_relocate_section): Likewise.
gas/
* config/tc-sparc.c (sparc_ip): Handle '=', "%h34", "%l34", and
BFD_RELOC_SPARC_H34.
(md_apply_fix): Handle BFD_RELOC_SPARC_WDISP10 and BFD_RELOC_SPARC_H34.
(tc_gen_reloc): Likewise.
gas/testsuite/
* gas/sparc/reloc64.s: Add abs34 code model tests.
* gas/sparc/reloc64.d: Update.
elfcpp/
* sparc.h (R_SPARC_WDISP10): New relocation.
gold/
* sparc.cc (Reloc::wdisp10): New relocation method.
(Reloc::h34): Likewise.
(Target_sparc::Scan::check_non_pic): Handle R_SPARC_H34.
(Target_sparc::Scan::get_reference_flags): Handle R_SPARC_H34 and
R_SPARC_WDISP10.
(Target_sparc::Scan::local): Likewise.
(Target_sparc::Scan::global): Likewise.
(Target_sparc::Relocate::relocate): Likewise.
2012-04-12 16:26:04 +00:00
0c91015243
* configure.ac (ia64*-*-*vms*): Add support for ld.
...
* configure: Regenerate.
* scripttempl/ia64vms.sc: New file.
* emultempl/vms.em (_before_parse): Support for ia64.
(elf64-ia64-vms): New fragment for ia64.
* emulparams/elf64_ia64_vms.sh: New file.
* configure.tgt (ia64-*-*vms*): Add.
* Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf64_ia64_vms.c
(eelf64_ia64_vms.c): New rule.
* Makefile.in: Regenerate.
* elflink.c (elf_link_output_extsym): Add a guard.
(bfd_elf_final_link): Remove assertion.
(bfd_elf_final_link): Add a guard.
* elfnn-ia64.c (INCLUDE_IA64_VMS): Removed.
(elfNN_vms_section_from_shdr, elfNN_vms_object_p)
(elfNN_vms_post_process_headers, elfNN_vms_section_processing)
(elfNN_vms_final_write_processing, elfNN_vms_close_and_cleanup):
Remove.
(elfNN-ia64-vms target): Move to ...
* elf64-ia64-vms.c: New file.
* configure.in (bfd_elf64_ia64_vms_vec): Add elf64-ia64-vms.lo
* Makefile.am (BFD64_BACKENDS): Add elf64-ia64-vms.lo.
(BFD64_BACKENDS_CFILES): Ad elf64-ia64-vms.c.
* configure: Regenerate.
* Makefile.in: Regenerate.
2012-04-12 07:34:57 +00:00
29243f0f87
gdb: add callback defines for new ARGV handling
...
The common sim code has slightly unfinished support for these already,
but even arch ports are unable to handle these if the common header does
not define them. This is because the generated callback header includes
simple common gdb/sim headers only which causes it to skip the new ARGV
syscalls. Plus, it isn't like providing these in the common header will
break any sim targets which don't want them.
Signed-off-by: Mike Frysinger <vapier@gentoo.org >
2012-04-12 05:33:15 +00:00
e62d782aec
* syscalls.cc (fhandler_base::stat_fixup): Fix inode numbers of
...
non-device files in virtual fileysystems.
2012-04-11 08:49:52 +00:00
a281df5589
merge from gcc
2012-04-10 17:07:28 +00:00
1036f9f1bf
bfd/
...
* elf.c (_bfd_elf_map_sections_to_segments): Set INFO->user_phdrs.
* elf-nacl.c (nacl_modify_segment_map): Do nothing if INFO->user_phdrs.
(nacl_modify_program_headers): Likewise.
include/
* bfdlink.h (struct bfd_link_info): Add new member user_phdrs.
2012-04-09 16:27:18 +00:00
e5b7e4d1c7
* dtable.cc (cygwin_attach_handle_to_fd): Defend against NULL return from
...
build_fh_*.
(dtable::init_std_file_from_handle): Ditto.
* mmap.cc (mmap_record::alloc_fh): Ditto.
* path.cc (path_conv::check): Ditto.
2012-04-07 17:32:44 +00:00
00ceaad134
* fhandler.h (fhandler_base::nohandle): Implement "by hand" rather than through
...
macro. Set io_handle to INVALID_HANDLE_VALUE when setting flag to true.
2012-04-06 19:40:58 +00:00
25fdb1ded1
* path.c (path_conv::check): Avoid directly referencing fields of the dev
...
structure when it can be easily avoided.
2012-04-06 04:40:49 +00:00
7217f94752
Fix a couple of typos.
2012-04-06 04:36:22 +00:00
d422f9e30f
* include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 14.
2012-04-05 15:26:27 +00:00
93bb67edb2
* new-features.sgml (ov-new1.7.13): Add typeahead description.
2012-04-05 15:04:24 +00:00
82405d4448
Add typeahead description.
2012-04-05 14:23:06 +00:00
260738bd33
* new-features.sgml (ov-new1.7.13): New section. Add entry for
...
mkpasswd/mkgroup change to print TrustedInstaller account.
2012-04-05 13:41:49 +00:00
ba17d0ed88
*** empty log message ***
2012-04-05 13:39:59 +00:00
036fb4772c
* mkgroup.c (print_special_by_sid): Rename from print_special. Change
...
calls throughout.
(print_special_by_name): New function.
(main): Call print_special_by_name for TrustedInstaller account.
* mkpasswd.c (print_special_by_sid): Rename from print_special. Change
calls throughout.
(print_special_by_name): New function.
(enum_std_accounts): Call print_special_by_name for TrustedInstaller
account.
2012-04-05 13:37:32 +00:00
b475fe5497
* passwd.cc (pwdgrp::read_passwd): Fix pretty_ls entry tyo contain
...
the required number of colons.
2012-04-05 10:16:09 +00:00
7b03b0d8ce
* fhandler.h (fhandler_pty_common::bytes_available): Declare new function.
...
(fhandler_pty_master::flush_to_slave): Ditto.
* fhandler_tty.cc (bytes_available): Define new function.
(fhandler_pty_common::bytes_available): Ditto.
(handler_pty_master::flush_to_slave): Ditto.
(fhandler_pty_master::process_slave_output): Call flush_to_slave () here. Use
bytes_available () rather than PeekNamedPipe. Cleanup sloppy logic.
(fhandler_pty_slave::read): Use bytes_available () rather than PeekNamedPipe.
(fhandler_pty_slave::ioctl): Ditto.
(fhandler_pty_master::ioctl): Ditto.
(fhandler_pty_master::cleanup): Remove ancient #if 0.
* select.cc (peek_pipe): Call flush_to_slave whenever we're checking for a pty
master.
2012-04-05 02:54:51 +00:00
ffcd2c3f89
* fhandler_nodevice.cc (fhandler_nodevice::open): Convert EROFS to
...
ENOENT if non-existent file got opened for reading only. Explain why.
* path.cc (path_conv::check): Stick to ENOENT if file has been opened
for informational purposes only. Add to comment.
2012-04-04 12:45:24 +00:00
ce508e512a
* path.cc (path_conv::check): Convert device type to FH_FS for
...
non-existant files on /dev, unless /dev itself doesn't exist on disk.
Add comment to explain why.
2012-04-04 12:06:21 +00:00
9e1fe26d12
* hookapi.cc (rvadelta): Compute max_size using SizeOfRawData rather
...
than VirtualSize.
2012-04-04 11:09:44 +00:00
7c1d11f7e8
* passwd.cc (_getpass_close_fd): New static pthread cleanup handler.
...
(getpass): Rework to use /dev/tty in the first place. Install
_getpass_close_fd as pthread cleanup handler. Flush prompt explicitely.
Lock input and switch off signal input handling when reading password.
2012-04-04 09:57:17 +00:00