summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * net.cc (fdsock): Drop setting uninterruptible_io to true.Corinna Vinschen2011-05-012-1/+4
|
* * fhandler.h (fhandler_socket::is_slow): Remove.Corinna Vinschen2011-05-012-1/+4
|
* * fcntl.cc (fcntl64): Call pthread_testcancel.Corinna Vinschen2011-04-3010-99/+197
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fhandler_socket.cc (fhandler_socket::connect): Ditto. (fhandler_socket::accept4): Ditto. (fhandler_socket::recvfrom): Ditto. (fhandler_socket::recvmsg): Ditto. (fhandler_socket::sendto): Ditto. (fhandler_socket::sendmsg): Ditto. * flock.cc (lf_setlock): Allow to cancel thread running blocking file lock. Try to make code more readable. (lockf): Call pthread_testcancel. * mmap.cc (msync): Ditto. * posix_ipc.cc (ipc_cond_timedwait): Call pthread::static_cancel_self rather than pthread_testcancel. * select.cc (cygwin_select): Call pthread_testcancel. * syscalls.cc (pread): Ditto. (pwrite): Ditto. (readv): Ditto. (writev): Ditto. (open): Ditto. (close): Ditto. (fsync): Ditto. * termios.cc (tcdrain): Ditto. * thread.cc: Align list of cancellation points with above changes. Mark not-implemented functions, too. (cancelable_wait): Don't set unused object indices to WAIT_FAILED since that could result in wrong behaviour. Set them to the invalid value WAIT_TIMEOUT + 1 instead.
* * dwarf2.h (DW_OP_GNU_const_type, DW_OP_GNU_regval_type,Jakub Jelinek2011-04-302-0/+12
| | | | DW_OP_GNU_deref_type, DW_OP_GNU_convert, DW_OP_GNU_reinterpret): New.
* * thread.h (class pthread): Add bool member canceled.Corinna Vinschen2011-04-303-3/+23
| | | | | | | | * thread.cc (pthread::pthread): Initialize canceled to false. (pthread::cancel): Set canceled before setting cancel_event. (pthread::testcancel): Check for canceled. Only wait for cancel_event if canceled is true. Explain why. (pthread::_fixup_after_fork): Set canceled to false.
* * errno.cc (errmap): Sort. Map ERROR_EXE_MACHINE_TYPE_MISMATCH toCorinna Vinschen2011-04-292-4/+10
| | | | ENOEXEC.
* * thread.cc: Update comment listing cancellation points per POSIX.Corinna Vinschen2011-04-292-173/+305
|
* * advapi32.cc: Add comment.Corinna Vinschen2011-04-298-80/+97
| | | | | | | | | | | | | | | | | (EqualSid): Remove. (CopySid): Remove. (AddAccessAllowedAce): Remove. (AddAccessDeniedAce): Remove. (MakeSelfRelativeSD): Remove. * flock.cc: Replace above functions throughout with their ntdll.dll equivalent. * sec_acl.cc: Ditto. * sec_auth.cc: Ditto. * sec_helper.cc: Ditto. * security.cc: Ditto. * security.h: Ditto. (RtlEqualSid): Declare. Explain why. (RtlCopySid): Ditto.
* * advapi32.cc (AccessCheck): Remove.Corinna Vinschen2011-04-294-48/+41
| | | | | | | | (PrivilegeCheck): Remove. (OpenThreadToken): Remove. * fhandler_tty.cc: Replace above functions throughout with their ntdll.dll equivalent. * security.cc: Ditto.
* * ntdll.h (IsEventSignalled): New inline function.Corinna Vinschen2011-04-298-8/+36
| | | | | | | | | | | * cygthread.cc (cygthread::terminate_thread): Use IsEventSignalled in place of WaitForSingleObject on event with 0 timeout. * fhandler.cc (fhandler_base_overlapped::has_ongoing_io): Ditto. * fhandler_fifo.cc (fhandler_fifo::open_nonserver): Ditto. (fhandler_fifo::wait): Ditto. * fhandler_termios.cc (fhandler_termios::bg_check): Ditto. * select.cc (verify_tty_slave): Ditto. * thread.cc (pthread::testcancel): Ditto.
* * advapi32.cc (GetTokenInformation): Remove.Corinna Vinschen2011-04-296-139/+180
| | | | | | | | | (SetTokenInformation): Remove. * grp.cc: Replace above functions throughout with their ntdll.dll equivalent. * sec_auth.cc: Ditto. * syscalls.cc: Ditto. * uinfo.cc: Ditto.
* * posix_ipc.cc (ipc_cond_timedwait): Only wait for pthread'sCorinna Vinschen2011-04-292-1/+7
| | | | cancel_event if thread's cancelability isn't disabled.
* * configure.ac (*-*-dragonfly*, *-*-freebsd*, *-*-netbsd*,Joseph Myers2011-04-283-190/+29
| | | | | | | | | | | | | | | | | | | | | | alpha*-dec-osf*, alpha*-*-linux*, alpha*-*-*, sh-*-linux*, arm-*-elf* | arm*-*-eabi*, arm*-*-linux-gnueabi, frv-*-*): Remove cases in libgcj-disabling case statement. (hppa*64*-*-linux*): Set unsupported_languages instead of disabling target-zlib. (hppa*64*-*-*): Restrict case in libgcj-disabling case statement to hppa*64*-*-hpux*. (hppa*-*-*): Restrict case in libgcj-disabling case statement to hppa*-*-hpux*. (ia64*-*-elf*, ia64*-**-hpux*, i[[3456789]]86-*-elf, i[[3456789]]86-*-linux*, *-*-cygwin*, i[[3456789]]86-*-interix*, i[[3456789]]86-*-solaris2*, m32r-*-*, m68k-*-elf*, m68*-*-* | fido-*-*, powerpc-*-eabi, powerpc-*-eabi* | powerpcle-*-eabi* | powerpc-*-rtems*, mips*-*-linux*, mips*-*-*, sh-*-* | sh64-*-*, sparc-*-elf*, sparc64-*-elf*, sparc-*-solaris* | sparc64-*-solaris* | sparcv9-*-solaris*, *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu, *-*-*): Remove cases in libgcj-disabling case statement. * configure: Regenerate.
* * advapi32.cc (SetSecurityDescriptorDacl): Remove.Corinna Vinschen2011-04-286-53/+41
| | | | | | | | | | | | (SetSecurityDescriptorGroup): Remove. (SetSecurityDescriptorOwner): Remove. * pinfo.cc: Replace above functions throughout with their ntdll.dll equivalent. * sec_acl.cc: Ditto. * sec_helper.cc: Ditto. * security.cc: Ditto. * sec_helper.cc (__sec_user): Remove old comment.
* * posix_ipc.cc (ipc_cond_timedwait): Also wait for pthread'sCorinna Vinschen2011-04-282-8/+27
| | | | | cancel_event, if any. Call pthread_testcancel if cancel_event has been signalled.
* * configure.ac: Disable Java for targets not supporting libffi.Joseph Myers2011-04-283-216/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | (*-*-chorusos, *-*-kaos*, am33_2.0-*-linux*, sh*-*-pe|mips*-*-pe): Remove cases in Java-disabling statement. (*arm-wince-pe): Change to arm-wince-pe. (arc-*-*, arm-*-coff, arm-*-pe*, arm-*-riscix*, avr-*-*): Remove cases in Java-disabling statement. (bfin-*-*): Don't disable Java again. (c4x-*-* | tic4x-*-*, tic54x-*-*, cr16-*-*, d10v-*-*, d30v-*-*, fr30-*-elf*, moxie-*-*, h8300*-*-*, h8500-*-*, hppa1.1-*-osf* | hppa1.1-*-bsd*, hppa*-*-*elf* | hppa*-*-lites* | hppa*-*-openbsd*, hppa*-*-pro*, i960-*-*, i[[3456789]]86-*-coff, i[[3456789]]86-*-pe, i[[3456789]]86-*-sco3.2v5*, i[[3456789]]86-*-sco*, i[[3456789]]86-*-sysv4*, i[[3456789]]86-*-beos*, i[[3456789]]86-*-rdos*, m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*): Remove cases in Java-disabling statement. (mmix-*-*): Don't disable Java again. (mt-*-*, powerpc*-*-winnt* | powerpc*-*-pe*, powerpcle-*-solaris*, powerpc-*-beos*, rs6000-*-lynxos*, rs6000-*-*, m68k-apollo-*, microblaze*, mips*-sde-elf*, mips*-*-irix5*, mips*-*-bsd*, sparclet-*-aout* | sparc86x-*-*, sparclite-*-*, sparc-*-sunos4*, tic6x-*-*, v810-*-*, vax-*-*): Remove cases in Java-disabling statement. * configure: Regenerate.
* Merge from GCC:Joseph Myers2011-04-283-2/+12
| | | | | | | | 2011-04-18 Jack Howarth <howarth@bromo.med.uc.edu> PR lto/48086 * configure.ac: Re-enable LTO on *-apple-darwin9*. * configure: Regenerate.
* * configure.ac: Separate cases disabling Java and Java librariesJoseph Myers2011-04-283-166/+660
| | | | | from general case over targets. * configure: Regenerate.
* * posix_ipc.cc (ipc_cond_timedwait): Remove pthread_testcancel calls.Corinna Vinschen2011-04-282-2/+10
| | | | | (_mq_send): Add pthread_testcancel call at start of function. (_mq_receive): Ditto.
* * cygerrno.h (geterrno_from_nt_status): Declare.Corinna Vinschen2011-04-286-37/+128
| | | | | | | | | | | | | | | | | | | | | * errno.cc (geterrno_from_nt_status): Define. * flock.cc: Fix copyright dates. * ntdll.h (enum _TIMER_TYPE): Define. (PTIMER_APC_ROUTINE): Define. (NtCancelTimer): Declare. (NtCreateTimer): Declare. (NtSetTimer): Declare. * posix_ipc.cc (ipc_cond_timedwait): Rewrite to make interruptible and restartable. Call pthread_testcancel in case of timeout to enable pthread_cancel on waiting thread. Replace WFMO timeout with waiting for a waitable timer. Explain why. Replace single call to WFMO with two calls, one for the event, one for the mutex. Don't lock mutex in case of error. (ipc_cond_signal): Make void function. (ipc_cond_close): Ditto. (_mq_send): Immediately return -1 in case of error from ipc_cond_timedwait. (_mq_receive): Ditto.
* * advapi32.cc (GetSecurityDescriptorDacl): Remove.Corinna Vinschen2011-04-286-64/+68
| | | | | | | | | | (GetSecurityDescriptorGroup): Remove. (GetSecurityDescriptorOwner): Remove. * sec_acl.cc: Replace above functions throughout with their ntdll.dll equivalent. Remove redundant debug output. * sec_auth.cc: Ditto. * security.cc: Ditto. * uinfo.cc: Ditto.
* * advapi32.cc (InitializeAcl): Remove.Corinna Vinschen2011-04-2810-98/+65
| | | | | | | | | | | | | | | | | (AddAce): Remove. (FindFirstFreeAce): Remove. (GetAce): Remove. (InitializeSecurityDescriptor): Remove. (OpenProcessToken): Remove. * dcrt0.cc: Replace above functions throughout with their ntdll.dll equivalent. * fhandler_tty.cc: Ditto. * flock.cc: Ditto. * pinfo.cc: Ditto. Drop unnecessary error handling. * sec_acl.cc: Ditto. * sec_auth.cc: Ditto. * sec_helper.cc: Ditto. * security.cc: Ditto.
* * advapi32.cc (InitializeSid): Remove.Corinna Vinschen2011-04-287-57/+35
| | | | | | | | | | | | | (EqualPrefixSid): Remove. (GetLengthSid): Remove. (GetSidSubAuthority): Remove. (GetSidSubAuthorityCount): Remove. (GetSidIdentifierAuthority): Remove. * fhandler_disk_file.cc: Remove above functions throughout with their ntdll.dll equivalent. * sec_auth.cc: Ditto. * sec_helper.cc: Ditto. * security.cc: Ditto.
* * advapi32.cc (AllocateLocallyUniqueId): Remove.Corinna Vinschen2011-04-284-18/+11
| | | | | | | * fhandler_disk_file.cc (fhandler_base::open_fs): Replace call to AllocateLocallyUniqueId with call to NtAllocateLocallyUniqueId; * posix_ipc.cc (mq_open): Ditto. Drop error handling for that call. (sem_open): Ditto.
* * autoload.cc (GetSecurityInfo): Remove.Corinna Vinschen2011-04-286-101/+183
| | | | | | | | | | | | | | | | * ntdll.h (RtlConvertToAutoInheritSecurityObject): Declare. (RtlDeleteSecurityObject): Declare. (RtlGetControlSecurityDescriptor): Declare. (RtlLengthSecurityDescriptor): Declare. * security.cc (file_mapping): New global variable. (get_file_sd): Rewrite. Clean up code. Get rid of GetSecurityInfo call. (alloc_sd): Call RtlSetControlSecurityDescriptor to set SE_DACL_PROTECTED flag. (check_file_access): Remove mapping. Use file_mapping instead. (check_registry_access): Rename mapping to reg_mapping. * wincap.cc: Througout, drop use_get_sec_info_on_dirs, * wincap.h (struct wincaps): Drop use_get_sec_info_on_dirs.
* 2011-04-27 Tristan Gingold <gingold@adacore.com>Tristan Gingold2011-04-272-7/+64
| | | | | | | | | | * xcoff.h (F_FDPR_PROF, F_FDPR_OPTI, F_DSA, F_VARPG) (STYP_DWARF, SSUBTYP_DWINFO) (SSUBTYP_DWLINE, SSUBTYP_DWPBNMS, SSUBTYP_DWPBTYP) (SSUBTYP_DWARNGE, SSUBTYP_DWABREV, SSUBTYP_DWSTR) (SSUBTYP_DWRNGES, STYP_TDATA, STYP_TBSS, R_TLS, R_TLS_IE) (R_TLS_LD, R_TLS_LE, R_TLSM, R_TLSML, R_TOCU, R_TOCL, C_DWARF): New macros.
* gdb/Jan Kratochvil2011-04-253-6/+17
| | | | | | | | | | | * defs.h (ENUM_BITFIELD): Remove. include/ * bfdlink.h (ENUM_BITFIELD): Remove. merge from gcc: include/ * ansidecl.h (ENUM_BITFIELD): New, from gcc/system.h.
* * include/fenv.h: Add missing _FENV_H_ define.Corinna Vinschen2011-04-242-1/+6
|
* PR ld/12365Alan Modra2011-04-242-4/+21
| | | | | | | | | | | | | | | | | | | | | | | PR ld/12696 include/ * bfdlink.h (ENUM_BITFIELD): Define. (struct bfd_link_hash_entry): Make "type" a bitfield. Add "non_ir_ref". (struct bfd_link_callbacks <notice>): Pass bfd_link_hash_entry pointer rather than "name". bfd/ * coff-aux.c (coff_m68k_aux_link_add_one_symbol): Update "notice" call. * linker.c (_bfd_link_hash_newfunc): Clear bitfields. (_bfd_generic_link_add_one_symbol): Update "notice" call. * elflink.c (_bfd_elf_merge_symbol): Don't skip weak redefs when it is a redef of an IR symbol in a real BFD. ld/ * ldmain.c (notice): Delete "name" param, add "h". * plugin.c (plugin_notice): Likewise. Set non_ir_ref. Handle redefinitions of IR symbols in real BFDs. (plugin_multiple_definition, plugin_multiple_common): Delete. (non_ironly_hash, init_non_ironly_hash): Delete. (is_visible_from_outside): Traverse entry_symbol chain. (get_symbols): Use non_ir_ref flag rather than hash lookup.
* * registry.cc (reg_key::get_dword): Rename from get_int, use DWORDCorinna Vinschen2011-04-237-33/+53
| | | | | | | | | | | | | | | | | | | | rather than int type. Avoid compiler warning. (reg_key::set_dword): Rename from set_int, use DWORD rather than int type. Change return type to NTSTATUS. (reg_key::get_string): Change return type to NTSTATUS. (reg_key::set_string): Ditto. * registry.h: Accommodate above changes. * environ.cc (regopt): Test return value of reg_key::get_string as NTSTATUS. * sched.cc (sched_rr_get_interval): Change local int vars to DWORD. Call reg_key::get_dword instead of reg_key::get_int. * shared.cc (init_installation_root): Test return value of reg_key::get_string as NTSTATUS. (shared_info::heap_slop_size): Call reg_key::get_dword rather than reg_key::get_int. (shared_info::heap_chunk_size): Ditto. * shared_info.h (CURR_SHARED_MAGIC): Update. (class shared_info): Change heap_chunk and heap_slop to DWORD values.
* 2011-04-21 Chris Sutcliffe <ir0nh34d@users.sf.net>Chris Sutcliffe2011-04-223-5/+8
| | | | | | | * include/windef.h (PACKED): Remove macro. * include/wincon.h: Replace PACKED macro with __attribute__((packed)). Thanks to Keith Marshall for the fix.
* 2011-04-21 Chris Sutcliffe <ir0nh34d@users.sf.net>Chris Sutcliffe2011-04-212-1/+7
| | | | | | * include/imagehlp.h (PREAD_PROCESS_MEMORY_ROUTINE): Correct definition. Thanks to Safety0ff for the report.
* * cygtls.cc (_cygtls::init_thread): Drop setting locals.process_logmask.Corinna Vinschen2011-04-215-90/+101
| | | | | | | | | | * cygtls.cc (_cygtls::remove): Always free mallocated TLS storage on thread exit. Drop freeing locals.process_ident. * cygtls.h (struct _local_storage): Remove syslog-related members. * syslog.cc (syslog_globals): New static storage for global syslog settings. Use throughout instead of _my_tls.locals. (openlog): Set new syslog_globals.process_ident value more carefully. * tlsoffsets.h: Regenerate.
* * include/sys/poll.h: Include signal.h to get definition of sigset_t.Corinna Vinschen2011-04-212-0/+5
|
* * cygheap.cc (init_cygheap::close_ctty): Avoid closing console-cttys since theyChristopher Faylor2011-04-216-21/+62
| | | | | | | | | | | don't use archetypes and this will just result in double frees. * dll_init.cc (dll_list::protect): Define. (dll_list::alloc): Guard list access. (dll_list::detach): Ditto. * dll_init.h (dll_list::protect): Declare new muto. (dll_list::guard): Define/declare function to guard list access. * fhandler_termios.cc (fhandler_termios::sigflush): Avoid SEGV in pathological condition of get_ttyp() == NULL.
* * select.cc (serial_cleanup): Make sure that device_specific_pipe is alwaysChristopher Faylor2011-04-202-9/+23
| | | | | | deleted regardless of whether it has a unique thread associated with it (socket_cleanup): Ditto. (mailslot_cleanup): Ditto.
* * bootstrap-lto.mk: Remove obsolete requirement.Eric Botcazou2011-04-202-3/+6
|
* * devices.h: Renumber internal devices so that FH_PROCESS is part ofCorinna Vinschen2011-04-203-12/+21
| | | | | | the /proc family of virtual devices. (FH_PROC_MAX_MINOR): Define. * path.h (isproc_dev): Use FH_PROC_MAX_MINOR rather than FH_PROC.
* Fix spacesCorinna Vinschen2011-04-201-3/+3
|
* * select.cc (pipe_cleanup): Make sure that device_specific_pipe is alwaysChristopher Faylor2011-04-202-3/+11
| | | | deleted regardless of whether it has a unique thread associated with it.
* PR ld/12365Alan Modra2011-04-202-19/+18
| | | | | | | | | | | | | | | | | | | | | | | include/ * bfdlink.h (struct bfd_link_callbacks): Modify multiple_definition and multiple_common parameters to pass in a bfd_link_hash_entry pointer rather than name,bfd etc. found in the hash entry. bfd/ * elflink.c (_bfd_elf_merge_symbol): Update multiple_common calls. * linker.c (_bfd_generic_link_add_one_symbol): Likewise. Call multiple_definition regardless of allow_multiple_definition. * simple.c (simple_dummy_multiple_definition): Update. * xcofflink.c (xcoff_link_add_symbols): Update multiple_definition calls. ld/ * ldmain.c (multiple_definition): Take a bfd_link_hash_entry pointer arg rather than "name", "obfd", "osec", "oval". Add code removed from linker.c. Hack around xcofflink.c oddity in passing NULL nbfd. (multiple_common): Similarly. * plugin.c (orig_allow_multiple_defs): Delete. (plugin_call_all_symbols_read): Don't twiddle allow_multiple_definition. (plugin_multiple_definition): Update.
* 2011-04-02 Jon TURNEY <jon.turney@dronecode.org.uk>Jon TURNEY2011-04-192-3/+12
| | | | | | * thread.cc (semaphore::init): We cannot reliably infer anything from the existing contents of sem, so merely warn rather than return EBUSY if it looks like we are reinitialising a semaphore.
* * COPYING: Replace with the GPLv3 definition.Corinna Vinschen2011-04-193-306/+649
| | | | * CYGWIN_LICENSE: Move Cygwin to GPLv3+. Align text to FSF speak.
* * autoload.cc (GetConsoleWindow): Drop.Corinna Vinschen2011-04-195-17/+24
| | | | | | | | | | (GetSystemWindowsDirectoryW): Drop. * fhandler_console.cc (beep): Call GetSystemWindowsDirectoryW instead of GetWindowsDirectoryW. * uinfo.cc (cygheap_user::env_systemroot): Call GetSystemWindowsDirectoryW and convert to multibyte on the fly. * winlean.h (GetWindowsDirectoryW): Redefine to something invalid. Explain why.
* * Makefile.in (DLL_IMPORTS): Drop advapi32.dll.Corinna Vinschen2011-04-1912-300/+323
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * autoload.cc: Enable autoloading advapi32 functions. * environ.cc (regopt): Use wide char arguments in reg_key functions. * fhandler_console.cc (beep): Ditto. Use WCHAR throughout. * registry.cc (reg_key): Rewrite reg_key class to use native NT registry functions. Use WCHAR string parameters throughout. Use PCWSTR rather than const WCHAR. Drop multibyte char functionality. Drop unused methods. (get_registry_hive_path): Use RtlQueryRegistryValues to fetch path from registry. (load_registry_hive): Drop useless check for user hive being available. Load hive using NtLoadKey. * registry.h: Accommodate above changes. * sched.cc (sched_rr_get_interval): Use wide char arguments in reg_key functions. * shared.cc (init_installation_root): Ditto. (shared_info::init_obcaseinsensitive): Use RtlQueryRegistryValues to fetch obcaseinsensitive value. (shared_info::heap_slop_size): Use wide char arguments in reg_key functions. (shared_info::heap_chunk_size): Ditto. * syscalls.cc (gethostid): Ditto. * winsup.h (__WIDE): Define. (_WIDE): Define. * libc/minires-os-if.c (get_registry_dns_items): Don't fetch values from registry. Just extract them from given UNICODE_STRING parameter. (get_registry_dns): Fetch all registry values at once using RtlQueryRegistryValues.
* * net.cc (get_ipv4fromreg_ipcnt): Rearrange to fetch all registryCorinna Vinschen2011-04-192-66/+89
| | | | | values at once using RtlQueryRegistryValues. (get_ipv4fromreg): Ditto.
* * fhandler_registry.cc (fhandler_registry::fstat): Use RegQueryInfoKeyW.Corinna Vinschen2011-04-192-4/+7
|
* * fhandler_proc.cc (read_value): Remove definition.Corinna Vinschen2011-04-192-59/+58
| | | | | | | (print): Simplify. (format_proc_cpuinfo): Drop useless call to GetSystemInfo. Rearrange to use Rtl registry functions. Rename dwOldThreadAffinityMask to orig_affinity_mask.
* * libc/include/sys/signal.h (_sig_func_ptr): Define with int parameterCorinna Vinschen2011-04-192-1/+7
| | | | per POSIX. Explain in comment.
* * gas/arm/arch7.s: Fix typo basepri_max should be basepri_mask.Nick Clifton2011-04-192-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | * gas/arm/mrs-msr-thumb-v7e-m.s: Likewise. * gas/arm/arch7.d: Update expected disassembly. * gas/arm/attr-march-armv7.d: Remove Microcontroller tag. * gas/arm/blx-bad.d: Only run for ELF based targets. * gas/arm/mrs-msr-thumb-v6t2.d: Likewise. * gas/arm/vldm-arm.d: Likewise. * gas/arm/mrs-msr-thumb-v7-m.d: Likewise. Remove qualifiers from PSR and IAPSR regsiter names. * gas/arm/mrs-msr-thumb-v7e-m.d: Likewise. * gas/arm/thumb2_bcond.d: Update expected disassembly to allow for relaxing of branch insns. * gas/arm/thumb32.d: Fix whitespace problems in disassembly. * config/tc-arm.c (parse_psr): Use selected_cpu not cpu_variant to detect M-profile targets. (do_t_swi): Exclude v7 and higher variants from arm_ext_os test. (v7m_psrs): Fix typo: basepri_max should be basepri_mask. * arm-dis.c (psr_name): Revert previous delta. * arm.h (ARM_AEXT_V7_ARM): Remove ARM_EXT_OS from bitmask.