summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/binutils/include
AgeCommit message (Collapse)AuthorFilesLines
2018-12-11Add PN_XNUM support to libbfd so objdump and gdb can handle coreguenther1-0/+3
dumps with many many segments. ok yasuoka@
2017-08-14Add improvements to the DWARF frame unwinder to support xorguard.kettenis2-0/+5
ok mortimer@
2015-11-09Start moving some vmm things into the tree. First up is binutils so we willmlarkin1-0/+31
be able to use the virtualization instructions. ok'ed a long time ago, I forgot who, but deraadt@ ok'ed it again anyway.
2015-04-06Add support for an efi-app-x86_64 target. Needed for UEFI bootloader work.kettenis4-14/+171
ok mlarkin@
2014-11-19Bring in a change present in binutils 2.17 to allow sahf/lahfjsg1-2/+2
instructions on amd64. ok deraadt@ miod@ mlarkin@
2014-08-31Backport @file support from binutils-2.17tobiasu1-0/+3
@file allows reading command line arguments from a file. Gcc now uses this to pass very long arguments lists to ld. ok guenther@ miod@
2014-08-20Backport support for i386/amd64 'rdtscp' instruction from binutils-2.17guenther1-0/+1
Request and testing by krw@
2014-04-06Add the missing addressing modes for the fucomip instruction. Surprisingly,miod1-0/+2
fucompi was correct. Unbreaks www/webkit on i386. ok sthen@
2014-03-13Add a few more instruction patterns that are apparently needed by gcc 4.8.kettenis1-13/+16
Taken from binutils 2.17. ok guenther@
2014-02-09Add support for i386 XSAVE family of instructions: xgetbv, xsetbv, xsave,guenther1-0/+7
xrstor, and xsaveopt. based on kettenis's original that did xgetbv and xsetbv ok kettenis@
2013-04-17Define and fill machine-specific DT_88K_PLT{START,END} _DYNAMIC tags whenmiod1-0/+7
creating objects with a .plt (either shared libraries or dynamic binaries). These tags contain the start and end address of the plt, relative to the beginning of the object. This will (eventually) allow ld.so to find the area spanned by the plt more easily, and also matches what SVR4/m88k does.
2013-01-01m88k ELF toolchain, supporting static binaries only so far.miod1-0/+99
Assembler supports a register prefix of `#' when configured for SVR4, and `%' when configured for OpenBSD. Pseudo-ops do not need a leading dot, except when configured for OpenBSD, allowing the `set' instruction to be recognized correctly. Based upon various unfinished or unreliable works, including smurph@'s early work in 2003, my own attempts in 2004 and 2005, and Michael Kato's binutils 2.15 diff from 2005. Support for register prefixes, as well as fixing an evil off-by-one in resolving 16-bit pc-relative relocations in ld (which would only affect kernel .S files branching to global symbols), came as part of the 2012 work. Not enabled yet (needs Makefile.bsd-wrapper, bfd/config.bfd and gdb/configure.tgt updates to completely enable) so as not to disturb the existing a.out toolchain builds; will hopefully be enabled very soon.
2012-11-05Backport a powerpc --relax fix present in binutils 2.17.landry1-2/+4
This allows mozilla trunk to finally link again on ppc (with --relax), otherwise it fails badly with relocations overflow. From http://sourceware.org/ml/binutils/2005-01/msg00115.html ok kettenis@, no objection miod@
2012-10-18Add support for stac/clac instructions to manipulate the flagjsg1-0/+4
that controls the behaviour of Intel's Supervisor Mode Access Prevention (SMAP) feature. 'looks correct' miod@ ok deraadt@
2012-09-03Teach as(1) about rdrand on i386/amd64.kettenis1-0/+3
ok jsg@
2012-08-20Add support for .openbsd.randomdata sections and PT_OPENBSD_RANDOMIZEmatthew1-0/+3
segments to the kernel, ld (2.15), and ld.so. Tested on alpha, amd64, i386, macppc, and sparc64 (thanks naddy, mpi, and okan!). Idea discussed for some time; committing now for further testing. ok deraadt
2012-01-05Teach as(4) about cmpxchg16b on amd64.kettenis1-0/+1
ok miod@
2010-06-11Add support for Intel AES-NI and the CLMUL_ instructions, plus a few othersthib1-0/+18
that are needed to omplement accelerated AES (and AES-GCM mode) on newer Intel cores. Diff from Mike Belopuhov. no objections/ok miod@
2010-02-03Add a new option to the mips64 gas, -mfix-loongson2f-btb. This optionmiod1-0/+4
is intended to be used when compiling kernel code which will run on a Loongson 2E or 2F processor, and inserts an explicit BTB clear operation before every jump through a register (jr or jalr instructions), unless that register is k0 or k1, or we are in .set noat. This is a reliable, although aggressive, workaround for the misbehaviour of the branch prediction engine of many Loongson 2F processors with regard to the Branch Translation Buffer, for which an official errata has yet to be published, and for which the Loongson suggested workaround apparently only works due to pipeline side effects, but requires all the executable kernel code to be located in CKSEG0/CKSEG1. These changes are inspired by a backport of the Loongson binutils 2.19 patch to binutils 2.18; the idea of doing an aggressive BTB clear is mine. This causes no functional change to code compiled without the -mfix-loongson2f-btb option. ``looks reasonable'' kettenis@
2009-03-05Teach bfd and gdb about the upcoming ELF core dumps.kettenis1-0/+11
2006-05-18add some more xcrypt & co opcodeshshoexer1-0/+6
ok deraadt
2004-12-27GDB 6.3 (excluding .info files)kettenis4-5/+812
2004-11-02Merge conflicts, bringing our changes back in:miod32-7670/+3427
- extra $(SHELL) and sugar for make (so that files not mode +x still work) - safer temp file handling - our W^X binary layout changes in ld - OpenBSD policy for library file selection in ld - arm and m88k changes which were not merged in time for official 2.15 - bfd core file handling - a couple typos New for 2.15: - ld(1) and as(1) manpages now generated at build time - binutils/stabs.c reverted to use our in-tree libiberty for now - we still use our VIA C3 crypto code over stock binutils, as it recognizes more instructions - new emulations for OpenBSD on mips64 machines, to help OpenBSD/sgi - relaxed %f# handling in gas on OpenBSD/sparc64 (same as was in 2.14) Tested on all platforms by various people; special thanks to sturm@ and otto@.
2004-11-02Binutils 2.15, with testsuites removed, and without gdb and libiberty.miod34-316/+9518
2004-05-21GDB 6.1 (excluding .info files)kettenis5-4/+227
2004-05-21Update headers to gdb-6.1 version to get new constants.kettenis2-16/+79
ok deraadt@
2004-05-19Add dis-init.c from gdb 6.1.kettenis1-34/+9
ok drahn@
2004-05-19Remove a build warning by reverting to old method of testing fordrahn1-8/+5
HAVE_DECL_GETOPT. pointed out by a few.
2004-05-17Resolve merge conflicts, adjust method of W^X handing (.sh files)drahn61-5647/+4451
remove testsuites (not useable) remove mmalloc (not part of new binutils).
2004-05-17import binutils 2.14 (excluding testsuites, .info files, and .po files)drahn81-1322/+8112
2004-02-01Add support for xmove-rng and xcrypt-{ecb,cbc,cfb,ofb} instructions foundderaadt1-0/+7
in VIA C3 cpus. Very simple encoding: 0f a7 {c0, c8, d0, e0, d8}. This change is placed into the public domain, so someone get it back to FSF
2002-05-13pull some demangler changes as with the libiberty counterpart to pleasefgsch1-19/+35
binutils; actually both files should be the same.
2002-05-13resolve conflicts.fgsch59-1764/+3978
2002-05-13Import binutils-2.11.2fgsch91-847/+4441
- only the binutils package (no gdb here) - don't import libiberty and texinfo, they are elsewhere - remove all .info* generated files
2001-06-09Revert to older demangle. Not tested nor updated yet.espie1-44/+19
2001-06-09Automatic cvs merge. Dread what I will have to fix after this excuseespie4-22/+97
of a program is done...
2001-06-09Long delayed import of binutils-2.10.1. Turns out art@ needs some alphaespie1-0/+92
bug-fixes...
2000-09-12Resolve other problems that dumb cvs can't find out by itself.espie4-14/+44
(trivial part done, `interesting' patches remain)
2000-09-12Help stupid cvs fixing basic conflicts.espie28-1625/+6853
2000-09-12Import binutils-2.10espie56-726/+7767
- only the binutils package (no gdb here) - don't import libiberty and texinfo, they are elsewhere - remove all .info* generated files
1999-09-14Kill remaining instances of mktemp, direct and indirect.espie1-1/+4
1998-08-114 more instructions; some registers needed, but numbers are ok anywaymickey1-0/+4
1997-05-29Import of binutils-2.8.1 from Cygnus/FSFniklas12-86/+1397
1996-11-23Merge to Cygnus 961112 + add some support (not ready) for shared libsniklas12-34/+416
1996-11-19Import of 961112 Cygnus binutils+gas+ld+gdb+gprofniklas2-267/+14
1996-10-31Alpha support based on Chris Demetriou's <cgd@cs.cmu.edu> workniklas1-0/+1
1996-10-06Alpha support based on Chris Demetriou's <cgd@cs.cmu.edu> workniklas2-1/+3
1996-09-04Merge the Cygnus 960904 sourcesniklas21-104/+416
1996-09-04Import of binutils, gas, ld & gprof from Cygnus 960904 treeniklas21-70/+1090
1996-06-07(Correct) Import of Cygnus binutils snapshot taken 960607niklas36-140/+1089