359755 |
09-Apr-2020 |
kevans |
gas: mark dwarf2_loc_mark_labels as extern
Compiling with -fno-common complains as this header's included in multiple compilation units. In fact, the proper definition of dwarf2_loc_mark_labels already exists in dwarf2dbg.c, so simply mark this declaration with extern. |
318776 |
24-May-2017 |
mmel |
MFC r318135:
Fix parsing of 'vmov Q<n>.F32,Q<n>.F32' instruction. |
314573 |
03-Mar-2017 |
emaste |
MFC r312899: add octeon+ as an alias for octeon in GCC & binutils
r208737 added support for the "mips64r2" architecture and "octeon" CPU, and the saa/saad instructions.
Upstream binutils also added the "octeon+" CPU, and the saa/saad instructions are only available in octeon+, not octeon. Since our base system tool chain already accepts saa/saad with -march=octeon, just allow octeon+ as an alias.
This allows the use of octeon+ in kernel config files, for use with both external tool chain and in-tree GCC/binutils.
Also includes GCC FBSD_CC_VER bump (r313041 in HEAD)
PR: 216516 Sponsored by: The FreeBSD Foundation |
302408 |
08-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
300333 |
20-May-2016 |
pfg |
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 after: 3 weeks
|
300304 |
20-May-2016 |
pfg |
gas/config/tc-arm.c: Minor re-sorting to match upstream history.
No functional change.
MFC after: 2 weeks
|
286519 |
09-Aug-2015 |
dim |
In GNU as, avoid left-shifting negative integers, which is undefined.
MFC after: 3 days
|
279530 |
02-Mar-2015 |
bapt |
Remove pregenerated text version of the texinfo documentation
|
279528 |
02-Mar-2015 |
bapt |
Generate manpage out of the texinfo files using texi2mdoc
|
276651 |
04-Jan-2015 |
bapt |
Add pregenerated documentation for as(1) and ld(1)
|
276647 |
04-Jan-2015 |
bapt |
Fix generating documents with modern texinfo
|
276346 |
28-Dec-2014 |
dim |
In contrib/binutils/gas/config/tc-ppc.c, fix a few -Wformat-security warnings.
MFC after: 3 days
|
276229 |
26-Dec-2014 |
pfg |
Backport fix for binutils 11867: .quad directive not assembled correctly
Alan Modra (and Alan's employer) graciously permitted use of his patch under GPLv2.
Obtained from: OpenBSD MFC after: 5 days
|
276228 |
26-Dec-2014 |
pfg |
gas: use memmove instead of bogus memcpy.
partial_where points into the buffer that begins with buffer_start so we need to use memmove() to handle the overlap. Sourceware-PR 11456.
Obtained from: OpenBSD (CVS rev. 1.2) MFC after: 3 days
|
275873 |
18-Dec-2014 |
jhibbits |
Make gas parse '__tls_get_addr(foo@tlsgd)'.
Corresponds to 727fc41e077139570ea8b8ddfd6c546b2a55627c.
This allows us to use -no-integrated-as with clang, if we prefer.
Obtained from: binutils-gdb (Relicensed from Alan Modra as GPLv2) MFC after: 2 weeks X-MFC-with: r275718
|
275584 |
07-Dec-2014 |
andrew |
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.
MFC after: 1 week X-MFC with: r275415 Sponsored by: ABT Systems Ltd
|
275415 |
02-Dec-2014 |
andrew |
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.
MFC after: 1 Week Sponsored by: AB Systems Ltd
|
274856 |
22-Nov-2014 |
dim |
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 after: 3 days
|
272888 |
10-Oct-2014 |
bapt |
Rename elf*-powerpc into elf*-powerpc-freebsd in binutils
The powerpc support was the only supported architecture not prepending the elf format name with "-freebsd" in base this change makes it consistent with other architectures. On newer version of binutils the powerpc format is also prepended with "-freebsd".
Also modify the kernel ldscripts in that regards.
As a result it is now possible cross build the kernel on powerpc using newer binutils
Differential Revision: https://reviews.freebsd.org/D926 Differential Revision: https://reviews.freebsd.org/D928
|
272519 |
04-Oct-2014 |
andrew |
Add movw and movt relocations to the list of relocations against function names that must nnot be adjusted. This fixes a bug where code such as: movw r2, :lower16:symbol movt r2, :upper16:symbol
It is common for clang to generate such code when targeting armv7.
|
272476 |
03-Oct-2014 |
andrew |
Allow vld and vst instructions to use the canonical form from ARM ARM when including an alignment. Previously binutils would only allow instructions in the form "vld1.64 {d0, d1}, [r0, :128]" where the final comma should not be there, instead the above instruction should be "vld1.64 {d0, d1}, [r0:128]".
This change duplicates the alignment code from within the function to handle this case.
|
272473 |
03-Oct-2014 |
andrew |
Add all the dmb/dsb optional limitations, including the alternative values. These are needed for some code llvm generates when targeting ARMv7.
|
272472 |
03-Oct-2014 |
andrew |
Allow the optional limitation on dmb instructions as is already the case with dsb instructions.
|
269394 |
01-Aug-2014 |
ian |
Teach as(1) to handle the arm .arch_extension pseudo-op, which accepts the same values as the -march= command line option. Add support for the "sec" extension (security extensions).
We've been getting away without support for the sec extension because it's bogusly enabled even on arches where its presence is optional. This support for .arch_extension is being added mainly so that we can use the right directives in our source code, and that helps folks using external toolchains (and will help us when we finally update our toolchain).
|
269393 |
01-Aug-2014 |
ian |
Fix an bug in as(1) parsing of arm -march=arch+ext options. Compare the arch name to just the characters before the '+' in 'arch+ext'.
|
261422 |
03-Feb-2014 |
jhibbits |
Make gas accept any PowerPC instruction by default. This is a local change, and will not be submitted upstream.
Discussed with: nwhitehorn,rdivacky MFC after: 1 month
|
261175 |
26-Jan-2014 |
pfg |
binutils: add support for Intel SMAP-related instructions
Add support for stac/clac instructions to manipulate the flag that controls the behaviour of Intel's Supervisor Mode Access Prevention (SMAP) feature.
Tested by: dim Obtained from: OpenBSD MFC after: 5 days
|
260021 |
28-Dec-2013 |
marcel |
Fix cross-compilation of ia64 target code with clang.
|
257360 |
29-Oct-2013 |
sbruno |
Queisce warning about empty bodies in these loops by bumping the ;; to the next line.
|
256859 |
21-Oct-2013 |
emaste |
Don't force 64-bit DWARF2 on MIPS
64-bit debug data is only necessary for objects with greater than 4GB of debug data, and is not used on other 64-bit FreeBSD targets.
Sponsored by: DARPA, AFRL
|
256790 |
20-Oct-2013 |
andrew |
Merge from projects/arm_eabi_vfp r255380:
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.
There is a VCVTR instruction that will round depending on the current rounding mode. We don't yet support this instruction, or setting the rounding mode.
|
256692 |
17-Oct-2013 |
emaste |
Fix .debug_line prologue header length calculation for 64-bit DWARF
The header_length field is the number of bytes following the field to the first byte of the line number program. The hard-coded constants previously here (4 + 2 + 4) were correct only for 32-bit DWARF.
Sponsored by: DARPA, AFRL
|
255192 |
03-Sep-2013 |
jhb |
Add support for the 'invpcid' instruction to binutils and DDB's disassembler on amd64.
MFC after: 1 month
|
254449 |
17-Aug-2013 |
andrew |
Silence a warning that is incorrect on ARMv6 and later. In the smull, umull, 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.
|
248466 |
18-Mar-2013 |
andrew |
do_vfp_vmrs and do_vfp_vmsr should not return anything.
|
248460 |
18-Mar-2013 |
andrew |
Add support for the vmsr and vmrs instructions. This supports the system level version of the instructions. When used in userland the hardware only allows us to read/write FPSCR.
|
248459 |
18-Mar-2013 |
andrew |
Some ARM vmov similar to 'vmov.f32 s1, s2' will incorrectly have the second 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.
|
247386 |
27-Feb-2013 |
andrew |
Clear the memory allocated to build the unwind tables. This fixes C++ exceptions on ARM EABI with static binaries.
|
247012 |
19-Feb-2013 |
jmg |
add support for AES and PCLMULQDQ instructions to binutils...
Thanks to Mike Belopuhov for the pointer to the OpenBSD patch, though OpenBSD's gcc is very different that it only helped w/ where to modify, not how... Thanks to jhb for some early reviews...
Reviewed by: imp, kib MFC after: 1 month
|
244274 |
15-Dec-2012 |
andrew |
Recognise vfpv2 as a value for the ARM .fpu asm directive. Clang generates these even when building soft floating-point code
Submitted by: Daisuke Aoyama <aoyama AT peach.ne.jp>
|
239272 |
15-Aug-2012 |
gonzo |
Merging of projects/armv6, part 3
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>
|
238167 |
06-Jul-2012 |
jhb |
Add support for the 'invept' and 'invvpid' instructions. Beyond simply adding appropriate table entries, the assembler had to be adjusted as these are the first non-SSE instructions to use a 3-byte opcode (and a mandatory prefix to boot).
MFC after: 1 month
|
238123 |
04-Jul-2012 |
jhb |
Add support for the 'xsave', 'xrstor', 'xsaveopt', 'xgetbv', and 'xsetbv' instructions. I reimplemented this from scratch based on the Intel manuals and the existing support for handling the fxsave and fxrstor instructions. This will let us use these instructions natively with GCC rather than hardcoding the opcodes in hex.
Reviewed by: kib MFC after: 1 month
|
223484 |
23-Jun-2011 |
dim |
Make GNU as recognize the ARM 'rrx' mnemonic, which can be generated by clang for certain expressions. Code taken from Apple cctools (GPLv2).
Submitted by: damjan.marion@gmail.com
|
223262 |
18-Jun-2011 |
benl |
Fix clang warnings.
Approved by: philip (mentor)
|
222205 |
22-May-2011 |
benl |
Fix clang warnings.
Approved by: philip (mentor)
|
218822 |
18-Feb-2011 |
dim |
Merge binutils 2.17.50 to head. This brings a number of improvements to x86 CPU support, better support for powerpc64, some new directives, and many other things. Bump __FreeBSD_version, and add a note to UPDATING.
Thanks to the many people that have helped to test this.
Obtained from: projects/binutils-2.17
|
208737 |
02-Jun-2010 |
jmallett |
Add/improve mips64r2, Octeon, n32 and n64 support in the toolchain.
o) Add TARGET_ABI to the MIPS toolchain build process. This sets the default ABI to one of o32, n32 or n64. If it is not set, o32 is assumed as that is the current default. o) Set the default GCC cpu type to any specified TARGET_CPUTYPE. This is necessary to have a working "cc" if e.g. mips64 is specified, as binutils will refuse to link objects using different ISAs in some cases. o) Add support for n32 and n64 ABIs to binutils and GCC. o) Add additional required libgcc2 stubs for n32 and n64. o) Add support for the "mips64r2" architecture to GCC. Add the "octeon" o) When static linking, wrap default libraries in --start-group and --end-group. This is required for static linking to work on n64 with the interdependencies between libraries there. This is what other OSes that support n64 seem to do, as well. o) Fix our GCC spec to define __mips64 for 64-bit targets, not __mips64__, the former being what libgcc, etc., check and the latter seemingly being a misspelling of a hand merge from a Linux spec. o) When no TARGET_CPUTYPE is specified at build time, make GCC take the default ISA from the ABI. Our old defaults were too liberal and assumed that 64-bit ABIs should default to the MIPS64 ISA and that 32-bit ABIs should default to the MIPS32 ISA, when we are supporting or will support some systems based on earlier 32-bit and 64-bit ISAs, most notably MIPS-III. o) Merge a new opcode file (and support code) from a later version of binutils and add flags and code necessary to support Octeon-specific instructions. This should also make merging opcodes for other modern architectures easier.
Reviewed by: imp
|
185925 |
11-Dec-2008 |
imp |
Push mips support into the tree.
|
179405 |
29-May-2008 |
obrien |
This commit was generated by cvs2svn to compensate for changes in r179404, which included commits to RCS files with non-trunk default branches.
|
168434 |
06-Apr-2007 |
kan |
This commit was generated by cvs2svn to compensate for changes in r168433, which included commits to RCS files with non-trunk default branches.
|
130570 |
16-Jun-2004 |
obrien |
Update HEAD with the stock binutils_2_15_20040523 file.
|
130562 |
16-Jun-2004 |
obrien |
This commit was generated by cvs2svn to compensate for changes in r130561, which included commits to RCS files with non-trunk default branches.
|
107500 |
02-Dec-2002 |
obrien |
Update HEAD with the stock files.
|
107495 |
02-Dec-2002 |
obrien |
GC some stuff I thought was long gone.
|
107493 |
02-Dec-2002 |
obrien |
This commit was generated by cvs2svn to compensate for changes in r107492, which included commits to RCS files with non-trunk default branches.
|
107491 |
02-Dec-2002 |
obrien |
Try to keep CVS from pissing over the next binutils import by returning to purely stock files.
|
104859 |
11-Oct-2002 |
obrien |
This commit was generated by cvs2svn to compensate for changes in r104858, which included commits to RCS files with non-trunk default branches.
|
104849 |
11-Oct-2002 |
obrien |
Use the stock version of this.
|
104848 |
11-Oct-2002 |
obrien |
Bring the binutils_2_13_20021110 snap version of this to the HEAD branch.
|
104835 |
11-Oct-2002 |
obrien |
This commit was generated by cvs2svn to compensate for changes in r104834, which included commits to RCS files with non-trunk default branches.
|
99469 |
05-Jul-2002 |
obrien |
Use the stock version of this.
|
99468 |
05-Jul-2002 |
obrien |
Bring the binutils_2_12_20020622 snap version of this to the HEAD branch.
|
99462 |
05-Jul-2002 |
obrien |
This commit was generated by cvs2svn to compensate for changes in r99461, which included commits to RCS files with non-trunk default branches.
|
94546 |
12-Apr-2002 |
obrien |
Bring the binutils_2_12_20020410 snap version of this to the HEAD branch.
|
94537 |
12-Apr-2002 |
obrien |
This commit was generated by cvs2svn to compensate for changes in r94536, which included commits to RCS files with non-trunk default branches.
|
92834 |
20-Mar-2002 |
obrien |
Use the stock version of this.
|
92829 |
20-Mar-2002 |
obrien |
This commit was generated by cvs2svn to compensate for changes in r92828, which included commits to RCS files with non-trunk default branches.
|
91054 |
22-Feb-2002 |
obrien |
Bring the binutils_2_12_20020221_snap version of this to the HEAD branch.
|
91052 |
22-Feb-2002 |
obrien |
Use the stock (2.12_20020221_snap) version of this.
|
91051 |
22-Feb-2002 |
obrien |
Use the stock version of this.
|
91042 |
22-Feb-2002 |
obrien |
This commit was generated by cvs2svn to compensate for changes in r91041, which included commits to RCS files with non-trunk default branches.
|
89868 |
27-Jan-2002 |
obrien |
Bring the binutils_2_12_cvs_20020127 version of this to the HEAD branch.
|
89867 |
27-Jan-2002 |
obrien |
Bring the binutils_2_12_cvs_20020125 version of this to the HEAD branch.
|
89866 |
27-Jan-2002 |
obrien |
Use the stock 2.12.0_snap version of this now.
|
89858 |
27-Jan-2002 |
obrien |
This commit was generated by cvs2svn to compensate for changes in r89857, which included commits to RCS files with non-trunk default branches.
|
85824 |
01-Nov-2001 |
obrien |
Bring the binutils_2_11_cvs_20011031 version of this to the HEAD branch.
|
85822 |
01-Nov-2001 |
obrien |
This merges in the changes from the FSF anoncvs 19-July-2001 snapshot to the 2001 Halloween snapshot.
|
85816 |
01-Nov-2001 |
obrien |
This commit was generated by cvs2svn to compensate for changes in r85815, which included commits to RCS files with non-trunk default branches.
|
84866 |
13-Oct-2001 |
obrien |
This commit was generated by cvs2svn to compensate for changes in r84865, which included commits to RCS files with non-trunk default branches.
|
80018 |
20-Jul-2001 |
obrien |
This merges in the changes from the 2.11.2 release to the FSF anoncvs 19-July-2001 snapshot.
|
80017 |
20-Jul-2001 |
obrien |
This commit was generated by cvs2svn to compensate for changes in r80016, which included commits to RCS files with non-trunk default branches.
|
78840 |
26-Jun-2001 |
obrien |
We use the stock (2.11.2) version of this now.
|
78838 |
26-Jun-2001 |
obrien |
We use the stock (2.11.2) version of this file now.
|
78837 |
26-Jun-2001 |
obrien |
Use the stock (2.11.2) version of this now.
|
78829 |
26-Jun-2001 |
obrien |
This commit was generated by cvs2svn to compensate for changes in r78828, which included commits to RCS files with non-trunk default branches.
|
77313 |
28-May-2001 |
obrien |
Use the stock version of this file now. I committed our rev 1.2 fix into the FSF/GNU tree.
|
77312 |
28-May-2001 |
obrien |
We use the stock version of this file now. I folded our rev 1.2 localizations into the FSF/GNU tree.
|
77311 |
28-May-2001 |
obrien |
Return to the vendor's version of this file.
|
77310 |
28-May-2001 |
obrien |
Add a minor tweak for us that I failed to get committed to the stock 2.11.
|
77299 |
28-May-2001 |
obrien |
This commit was generated by cvs2svn to compensate for changes in r77298, which included commits to RCS files with non-trunk default branches.
|
69181 |
26-Nov-2000 |
obrien |
This commit was generated by cvs2svn to compensate for changes in r69180, which included commits to RCS files with non-trunk default branches.
|
69158 |
25-Nov-2000 |
obrien |
Remove binutils 2.9.1 files that are not part of 2.10.x.
|
69132 |
25-Nov-2000 |
obrien |
Remove this binutils 2.8.1 file that was never part of any FreeBSD release.
|
69131 |
25-Nov-2000 |
obrien |
Remove this binutils 2.8.1 file that was never part of any FreeBSD release.
|
68775 |
15-Nov-2000 |
obrien |
Merge conflicts into Binutils 2.10.1. This fixes the i386 config bits, merge in the Alpha bits, and adds arm32 & sparc bits.
|
68766 |
15-Nov-2000 |
obrien |
This commit was generated by cvs2svn to compensate for changes in r68765, which included commits to RCS files with non-trunk default branches.
|
61850 |
20-Jun-2000 |
obrien |
Merge conflicts. This fixes the i386 config bits, merge in the Alpha bits, and adds arm32 & sparc bits.
|
61849 |
20-Jun-2000 |
obrien |
Merge conflicts. This fixes the i386 config bits, merge in the Alpha bits, and adds arm32 & sparc bits.
|
61848 |
20-Jun-2000 |
obrien |
Binutils now properly supports our ELFness with this file. (use the stock file now that it is offically part of Binutils)
|
61847 |
20-Jun-2000 |
obrien |
Use the stock file now. The Binutils maintainers accepted our rev 1.2 changes (don't use "/" to start a comment).
|
61844 |
20-Jun-2000 |
obrien |
This commit was generated by cvs2svn to compensate for changes in r61843, which included commits to RCS files with non-trunk default branches.
|
60520 |
13-May-2000 |
obrien |
Merge in rev 1.2 (balance the brackets; PR-docs/8505)
|
60519 |
13-May-2000 |
obrien |
Merge in rev 1.2 (don't use "/" to start a comment).
|
60518 |
13-May-2000 |
obrien |
Merge in rev 1.2 which provides some FreeBSD a.out support.
|
60517 |
13-May-2000 |
obrien |
Fix the i386 config bits, merge in the Alpha bits, and add arm32 and sparc bits.
|
60516 |
13-May-2000 |
obrien |
Fix the i386 config bits, merge in the Alpha bits, and add arm32 and sparc bits.
|
60485 |
12-May-2000 |
obrien |
This commit was generated by cvs2svn to compensate for changes in r60484, which included commits to RCS files with non-trunk default branches.
|
59025 |
05-Apr-2000 |
obrien |
This commit was generated by cvs2svn to compensate for changes in r59024, which included commits to RCS files with non-trunk default branches.
|
57823 |
08-Mar-2000 |
cracauer |
Turn a warning into an error. Occurances of that warning generate bad -fpic code that damages symbol locations at runtime.
The only know occurance in our tree (src and ports) was locatime.c, which was just changed to generate code that doesn't trigger the problem.
This is a workaround, the real cause is that our gas doesn't understand code our gcc generates for some -O -fpic code. They are expected to be back in sync soon, but until then (including 4.0-RELEASE) we need to prevent people from using bad -fpic code.
PR: avoids such things as in bin/16862 Submitted by: bde Approved by: jkh
|
56945 |
02-Feb-2000 |
obrien |
This commit was generated by cvs2svn to compensate for changes in r56944, which included commits to RCS files with non-trunk default branches.
|
41605 |
08-Dec-1998 |
billf |
Balance the brackets.
PR: docs/8505 Submitted by: Kazuo Horikawa <horikawa@jp.FreeBSD.org>
|
38891 |
06-Sep-1998 |
jdp |
Resolve conflicts from import of binutils-2.9.1.
Submitted by: Doug Rabson <dfr>
|
38890 |
06-Sep-1998 |
jdp |
This commit was generated by cvs2svn to compensate for changes in r38889, which included commits to RCS files with non-trunk default branches.
|
34352 |
09-Mar-1998 |
jb |
This commit was generated by cvs2svn to compensate for changes in r34351, which included commits to RCS files with non-trunk default branches.
|
34350 |
09-Mar-1998 |
jb |
Add a FreeBSD entry for alpha-elf.
|
33973 |
01-Mar-1998 |
jdp |
Configuration changes to support FreeBSD. The linker only works for ELF, not a.out. But all the other tools support both. I'm not so sure about the assembler -- it might need more work.
|
33972 |
01-Mar-1998 |
jdp |
Don't use "/" as a comment starter. In some FreeBSD sources, "/" means divide (duh).
|
33966 |
01-Mar-1998 |
jdp |
This commit was generated by cvs2svn to compensate for changes in r33965, which included commits to RCS files with non-trunk default branches.
|