summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/binutils-2.17/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add a few missing elocations.kettenis2020-07-221-0/+5
| | | | ok jasper@
* Various fixes to make this compile with clang on powerpc.kettenis2019-08-111-4/+6
| | | | ok visa@
* Ignore LLVM 7's LINKER_OPTIONS section.kettenis2019-01-311-0/+1
| | | | ok patrick@, naddy@
* Ignore LLVM 7's ADDRSIG section.guenther2019-01-131-0/+2
| | | | | Problem reported by bluhm@ ok kettenis@
* Core files with >65535 sections have to use PN_XNUM and a section headerguenther2018-12-061-0/+3
| | | | | | | | to pass the real count, with a minimal .shstrtab segment for consistency. Also, add support for PN_XNUM to readelf. problem reported and testing by claudio@ ok kettenis@
* Merge post-2.17 but pre-GPLv3 diffs that add support for DT_GNU_HASHguenther2018-12-031-0/+6
| | | | | | | | | | | | | | | to ld and improve the readelf support: https://sourceware.org/ml/binutils/2006-07/msg00129.html https://sourceware.org/ml/binutils/2006-07/msg00181.html Disable the ld support on mips64, as its ABI requires a symbol ordering that conflicts with the requirements of DT_GNU_HASH. Tested on macppc, alpha, and sparc64 to verify operation with all three ELF word size combos testing help miod@ ok kettenis@
* Teach binutils how to assemble INVPCID and how to disassembleguenther2018-09-091-0/+4
| | | | | | INV{EPT,VPID,PCID} ok mlarkin@
* Make our ancient binutils recognize .gnu.hash sections such that our toolskettenis2018-04-241-0/+1
| | | | | | don't barf on binaries created by ld.lld(1). From FreeBSD. ok millert@, deraadt@, guenther@
* R_AARCH64_NONE should be zero, not 256. The latter was a deprecatedguenther2017-10-241-2/+2
| | | | | | assignment and isn't used by clang/lld. ok jsg@
* Teach readelf the arm64 dynamic relocation we use, as well as theguenther2017-10-231-0/+36
| | | | | | m88k-specific dynamic tags ok deraadt@ jsg@
* Fix handling of the SVM instructions such that they accept a register askettenis2017-03-161-5/+9
| | | | | | | | an operand instead of a memory address. This matches what more recent binutils versions do and allows us to write inline assembly that's accepted by both clang and gas. ok mlarkin@, visa@
* Stub out aarch64 support and avoid building gas and ld on this architecture.kettenis2017-01-251-0/+1
| | | | ok mpi@, patrick@
* Teach readelf and objdump about the PT_OPENBSD_BOOTDATA section value.guenther2016-08-101-0/+1
| | | | | | Teach ld to access that and PT_GNU_RELRO in linker scripts. ok deraadt@
* Make creation of text-relocations a fatal error by default, with -znotextguenther2016-06-211-0/+3
| | | | | | to permit it and -ztext to reenable the default of forbidding it. ok kettenis@
* At least display the DT_GNU_HASH tag nicelyguenther2016-06-191-0/+1
| | | | ok kettenis@
* Port over binutils fix for PR ld/3111.stefan2016-05-311-0/+5
| | | | | | | | | | | | | | This greatly speeds up up linking of object files that contain lots of dwarf2 symbols by caching symbol tables. Original patch before binutils was switched to GPLv3 from: https://sourceware.org/ml/binutils/2006-08/msg00334.html Aaron Miller made us aware of that diff and adapted it to our in-tree binutils. Many thanks! Ports build testing on amd64 by krw@ ok deraadt@ krw@
* -z wxneeded creates a PHDR PT_OPENBSD_WXNEEDED. This annotation is placedderaadt2016-05-282-0/+4
| | | | | | on a binary by a software builder (ie. packager) to indicate to the kernel that this software performs W^X violations. ok kettenis guenther millert
* Add Octeon specific sync opcodes.pirofti2016-04-262-0/+8
| | | | | | This is needed for proper sili(4) functionality on Octeon II machines. OK jasper@, visa@
* Recognise the rdseed instruction introduced with Broadwell.jsg2015-12-211-0/+1
| | | | | Similar to changes made in FreeBSD. ok kettenis@
* Start moving some vmm things into the tree. First up is binutils so we willmlarkin2015-11-091-0/+4
| | | | | | be able to use the virtualization instructions. ok'ed a long time ago, I forgot who, but deraadt@ ok'ed it again anyway.
* Unbreak binutils on sparc64, hppa (and probably some others).deraadt2015-08-251-20/+0
| | | | Jumbo merges are NOT WELCOME. They have to be seperated out and tested.
* Introduce -Bsymbolic-functions and related flags. Taken from twobcallah2015-08-231-0/+20
| | | | | post-binutils 2.17 but pre-GPLv3 commits. miod@ says now is the time to get this in.
* Port the ELF m88k work to binutils 2.17. Good enough to build a bootingmiod2015-05-251-0/+106
| | | | kernel, and hopefully userland as well.
* Teach binutils the {rd,wr}{fs,gs}base instructions.guenther2015-05-251-1/+5
| | | | | Flag bits worked out with kettenis@ ok mlarkin@
* Add support for an efi-app-x86_64 target. Needed for UEFI bootloader work.kettenis2015-04-064-13/+163
| | | | ok mlarkin@
* Add the missing addressing modes for the fucomip instruction. Surprisingly,miod2014-04-061-0/+2
| | | | | | | fucompi was correct. Unbreaks www/webkit on i386. ok sthen@
* Add support for i386 XSAVE family of instructions: xgetbv, xsetbv, xsave,guenther2014-02-091-0/+7
| | | | | | | xrstor, and xsaveopt. based on kettenis's original that did xgetbv and xsetbv ok kettenis@
* Add support for stac/clac instructions to manipulate the flagjsg2012-10-181-0/+4
| | | | | | | that controls the behaviour of Intel's Supervisor Mode Access Prevention (SMAP) feature. 'looks correct' miod@ ok deraadt@
* Teach as(1) about rdrand on i386/amd64.kettenis2012-09-031-0/+3
| | | | ok jsg@
* Add support for .openbsd.randomdata and PT_OPENBSD_RANDOMIZE tomatthew2012-08-201-0/+2
| | | | binutils 2.17. Passes randomdata regress tests on sparc64.
* A first attempt at merging our local changes and fixes into the 2.17 codebase.miod2011-04-243-0/+30
| | | | | | ld(1) needs a lot more work, as the upstream code evolved significantly since 2.15, mostly due to changes in PIE binaries layout, and we had already diverged significantly to implement W^X.
* Here comes the easter bunnytils 2.17 (the last version released against amiod2011-04-24209-0/+63000
licence mere mortals can understand the terms of); will be connected to the build on an arch-by-arch basis. Testsuites and generated files have been intentionnaly omitted from this import. Peer pressure and ok from at least drahn@ pirofti@ deraadt@