summaryrefslogtreecommitdiffstats
path: root/contrib/binutils/gas/config/tc-arm.c
Commit message (Collapse)AuthorAgeFilesLines
* MFC r300333:pfg2016-06-101-0/+32
| | | | | | | | | gas: Implement the .inst assembler directive for arm. We normally use the binutils from ports but on other systems this is required for building gcc 4.9. Obtained from: OpenBSD (CVS rev. 1.5)
* MFC r300304:pfg2016-06-031-2/+2
| | | | | | gas/config/tc-arm.c: Minor re-sorting to match upstream history. No functional change.
* MFC r272519:ian2015-02-121-0/+6
| | | | | Add movw and movt relocations to the list of relocations against function names that must not be adjusted.
* MFC 275415:andrew2014-12-141-3/+7
| | | | | | | | | | | | | | | Allow the UAL APSR_nzcv format for the mrc and mrc2 instructions. The clang integrated assembler only allows these forms so binutils will need to support them. Sponsored by: ABT Systems Ltd MFC 275584: Fix mrc and mrc2 with APSR_nzcv. Binutils encodes it internally as 0 where we need it to be set to 15 for it to be equivalent to r15. Sponsored by: ABT Systems Ltd
* MFC r274856:dim2014-11-251-1/+1
| | | | | | | | | Avoid undefined behaviour in gas's rotate_left() macro for n == 0. Otherwise, clang can effectively remove the first iteration of the for loops where this macro is invoked, and as a result, "cmp r0, #99" fails to assemble. Obtained from: joerg at netbsd
* MFC r269393, r269394, r269395:ian2014-08-111-1/+32
| | | | | | Fix parsing of arch extensions in binutils/gas. Use ".arch_extension sec" when compiling ARM TI code that uses the security extensions.
* MFC r256790:ian2014-05-181-4/+4
| | | | | | Fix the VCVT instruction. It must round towards zero when converting from a floating-point to an integer value. This was not the case causing issues when printing certain values.
* Silence a warning that is incorrect on ARMv6 and later. In the smull, umull,andrew2013-08-171-2/+3
| | | | | | smlal, and umlal the output registers are allowed to be the same as either input registers, where in ARMv4 and ARMv5 they could only be the same as the last input register.
* do_vfp_vmrs and do_vfp_vmsr should not return anything.andrew2013-03-181-11/+7
|
* Add support for the vmsr and vmrs instructions. This supports the systemandrew2013-03-181-0/+66
| | | | | level version of the instructions. When used in userland the hardware only allows us to read/write FPSCR.
* Some ARM vmov similar to 'vmov.f32 s1, s2' will incorrectly have the secondandrew2013-03-181-4/+4
| | | | | | | | | register added to the symbol table by the assembler. On further investigation it was found the problem was with the my_get_expression function. This is called by parse_big_immediate. Fix this by moving the call to parse_big_immediate to the end of the if, else if, ..., else block.
* Clear the memory allocated to build the unwind tables. This fixes C++andrew2013-02-271-0/+2
| | | | exceptions on ARM EABI with static binaries.
* Recognise vfpv2 as a value for the ARM .fpu asm directive. Clang generatesandrew2012-12-151-0/+1
| | | | | | these even when building soft floating-point code Submitted by: Daisuke Aoyama <aoyama AT peach.ne.jp>
* Merging of projects/armv6, part 3gonzo2012-08-151-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | r238211: Support TARGET_ARCH=armv6 and TARGET_ARCH=armv6eb This adds a new TARGET_ARCH for building on ARM processors that support the ARMv6K multiprocessor extensions. In particular, these processors have better support for TLS and mutex operations. This mostly touches a lot of Makefiles to extend existing patterns for inferring CPUARCH from ARCH. It also configures: * GCC to default to arm1176jz-s * GCC to predefine __FreeBSD_ARCH_armv6__ * gas to default to ARM_ARCH_V6K * uname -p to return 'armv6' * make so that MACHINE_ARCH defaults to 'armv6' It also changes a number of headers to use the compiler __ARM_ARCH_XXX__ macros to configure processor-specific support routines. Submitted by: Tim Kientzle <kientzle@freebsd.org>
* Make GNU as recognize the ARM 'rrx' mnemonic, which can be generated bydim2011-06-231-0/+10
| | | | | | clang for certain expressions. Code taken from Apple cctools (GPLv2). Submitted by: damjan.marion@gmail.com
* Merge ^/vendor/binutils/dist@214571 into contrib/binutils, which bringsdim2010-11-011-580/+7266
|\ | | | | | | | | | | | | | | | | | | | | | | us up to version 2.17.50.20070703, at the last GPLv2 commit. Amongst others, this added upstream support for some FreeBSD-specific things that we previously had to manually hack in, such as the OSABI label support, and so on. There are also quite a number of new files, some for cpu's (e.g. SPU) that we may or may not be interested in, but those can be cleaned up later on, if needed.
* \ Merge ^vendor/binutils/dist@214082 into contrib/binutils.dim2010-10-211-10897/+10639
|\ \ | |/
| * Rename vendor/binutils/*/contrib to vendor/binutils/*/xobrien2009-01-191-14300/+0
|/ | | | | | | Binutils has a "contrib" subdirectory - thus flattening cannot happen without renaming the upper level contrib directory in a first pass. Also, don't record this move and remove any keyword expansion.
* Import of Binutils from the FSF 2.15 branch (just post-.0 release).obrien2004-06-161-504/+3111
| | | | These bits are taken from the FSF anoncvs repo on 23-May-2004 04:41:00 UTC.
* Import of Binutils from the FSF 2.13 branch (just pre-.1 release).obrien2002-10-111-62/+61
| | | | These bits are taken from the FSF anoncvs repo on 11-Oct-2002 22:39:35 PDT.
* Import of Binutils from the FSF 2.12 branch (just post-.1 release).obrien2002-07-051-6/+8
| | | | These bits are taken from the FSF anoncvs repo on 22-June-2002 23:28:00 EDT.
* Import of Binutils from the FSF 2.12 branch.obrien2002-04-121-1/+1
| | | | | (this fixes several linker problems and coredumps) These bits are taken from the FSF anoncvs repo on 10-April-2002 13:24 Zulu
* Enlist the FreeBSD-CURRENT users as testers of what is to become Binutilsobrien2002-01-271-1674/+4455
| | | | | version 2.12.0. These bits are taken from the FSF anoncvs repo on 27-January-2002 03:41 PST.
* Import of Binutils from the FSF 2.11 branch [checked out 19-July-2001].obrien2001-07-201-24/+38
| | | | This fixes an annoying `ld' bug.
* Import of GNU Binutils version 2.11.2.obrien2001-06-261-25/+177
|
* Import of GNU Binutils version 2.11.0.obrien2001-05-281-1108/+2617
| | | | Believe it or not, this is heavily stripped down.
* Import of GNU Binutils version 2.10.1.obrien2000-11-151-3/+3
| | | | Believe it or not, this is heavily stripped down.
* Import a virgin (but trimed) Binutils 2.10 release.obrien2000-06-201-142/+174
|
* Import of Binutils 2.10 snapshot.obrien2000-05-121-0/+7204
OpenPOWER on IntegriCloud