Add DT_MIPS_RLD_MAP_REL support to the in-tree GDB.ok deraadt@
In the linkers, collect objects in section "openbsd.mutable" and placethem into a page-aligned region in the bss, with the right markers forkernel/ld.so to identify the region and skip making it im
In the linkers, collect objects in section "openbsd.mutable" and placethem into a page-aligned region in the bss, with the right markers forkernel/ld.so to identify the region and skip making it immutable.While here, fix readelf/objdump versions to show all of this.ok miod kettenis
show more ...
Add PN_XNUM support to libbfd so objdump and gdb can handle coredumps with many many segments.ok yasuoka@
Add improvements to the DWARF frame unwinder to support xorguard.ok mortimer@
Start moving some vmm things into the tree. First up is binutils so we willbe able to use the virtualization instructions.ok'ed a long time ago, I forgot who, but deraadt@ ok'ed it again anyway.
Add support for an efi-app-x86_64 target. Needed for UEFI bootloader work.ok mlarkin@
Bring in a change present in binutils 2.17 to allow sahf/lahfinstructions on amd64.ok deraadt@ miod@ mlarkin@
Backport @file support from binutils-2.17@file allows reading command line arguments from a file. Gcc now uses this topass very long arguments lists to ld.ok guenther@ miod@
Backport support for i386/amd64 'rdtscp' instruction from binutils-2.17Request and testing by krw@
Add the missing addressing modes for the fucomip instruction. Surprisingly,fucompi was correct.Unbreaks www/webkit on i386.ok sthen@
Add a few more instruction patterns that are apparently needed by gcc 4.8.Taken from binutils 2.17.ok guenther@
Add support for i386 XSAVE family of instructions: xgetbv, xsetbv, xsave,xrstor, and xsaveopt.based on kettenis's original that did xgetbv and xsetbvok kettenis@
Define and fill machine-specific DT_88K_PLT{START,END} _DYNAMIC tags whencreating objects with a .plt (either shared libraries or dynamic binaries).These tags contain the start and end address of t
Define and fill machine-specific DT_88K_PLT{START,END} _DYNAMIC tags whencreating objects with a .plt (either shared libraries or dynamic binaries).These tags contain the start and end address of the plt, relative to thebeginning of the object.This will (eventually) allow ld.so to find the area spanned by the plt moreeasily, and also matches what SVR4/m88k does.
m88k ELF toolchain, supporting static binaries only so far.Assembler supports a register prefix of `#' when configured for SVR4, and `%'when configured for OpenBSD. Pseudo-ops do not need a leadin
m88k ELF toolchain, supporting static binaries only so far.Assembler supports a register prefix of `#' when configured for SVR4, and `%'when configured for OpenBSD. Pseudo-ops do not need a leading dot, exceptwhen configured for OpenBSD, allowing the `set' instruction to be recognizedcorrectly.Based upon various unfinished or unreliable works, including smurph@'s earlywork in 2003, my own attempts in 2004 and 2005, and Michael Kato's binutils2.15 diff from 2005. Support for register prefixes, as well as fixing anevil off-by-one in resolving 16-bit pc-relative relocations in ld (which wouldonly affect kernel .S files branching to global symbols), came as part of the2012 work.Not enabled yet (needs Makefile.bsd-wrapper, bfd/config.bfd andgdb/configure.tgt updates to completely enable) so as not to disturb theexisting a.out toolchain builds; will hopefully be enabled very soon.
Backport a powerpc --relax fix present in binutils 2.17.This allows mozilla trunk to finally link again on ppc (with --relax),otherwise it fails badly with relocations overflow.From http://source
Backport a powerpc --relax fix present in binutils 2.17.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.htmlok kettenis@, no objection miod@
Add support for stac/clac instructions to manipulate the flagthat 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.ok jsg@
Add support for .openbsd.randomdata sections and PT_OPENBSD_RANDOMIZEsegments to the kernel, ld (2.15), and ld.so. Tested on alpha, amd64,i386, macppc, and sparc64 (thanks naddy, mpi, and okan!).
Add support for .openbsd.randomdata sections and PT_OPENBSD_RANDOMIZEsegments 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
Teach as(4) about cmpxchg16b on amd64.ok miod@
Add support for Intel AES-NI and the CLMUL_ instructions, plus a few othersthat are needed to omplement accelerated AES (and AES-GCM mode) on newerIntel cores.Diff from Mike Belopuhov.no object
Add support for Intel AES-NI and the CLMUL_ instructions, plus a few othersthat are needed to omplement accelerated AES (and AES-GCM mode) on newerIntel cores.Diff from Mike Belopuhov.no objections/ok miod@
Add a new option to the mips64 gas, -mfix-loongson2f-btb. This optionis intended to be used when compiling kernel code which will run on aLoongson 2E or 2F processor, and inserts an explicit BTB cl
Add a new option to the mips64 gas, -mfix-loongson2f-btb. This optionis intended to be used when compiling kernel code which will run on aLoongson 2E or 2F processor, and inserts an explicit BTB clear operationbefore every jump through a register (jr or jalr instructions), unlessthat register is k0 or k1, or we are in .set noat.This is a reliable, although aggressive, workaround for the misbehaviourof the branch prediction engine of many Loongson 2F processors with regardto the Branch Translation Buffer, for which an official errata has yetto be published, and for which the Loongson suggested workaround apparentlyonly works due to pipeline side effects, but requires all the executablekernel code to be located in CKSEG0/CKSEG1.These changes are inspired by a backport of the Loongson binutils 2.19 patchto 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@
Teach bfd and gdb about the upcoming ELF core dumps.
add some more xcrypt & co opcodesok deraadt
GDB 6.3 (excluding .info files)
Merge conflicts, bringing our changes back in:- 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 po
Merge conflicts, bringing our changes back in:- 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 typosNew 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@ andotto@.
123