summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils-2.17
AgeCommit message (Collapse)Author
2014-04-06Add the missing addressing modes for the fucomip instruction. Surprisingly,Miod Vallat
fucompi was correct. Unbreaks www/webkit on i386. ok sthen@
2014-02-17Having CpuSMAP and Cpu64 overlap isn't a terribly good idea.Mark Kettenis
Makes it possible to build an i386 kernel with binutils-2.17 again. ok miod@
2014-02-09Add support for i386 XSAVE family of instructions: xgetbv, xsetbv, xsave,Philip Guenther
xrstor, and xsaveopt. based on kettenis's original that did xgetbv and xsetbv ok kettenis@
2013-12-30Recognize PT_OPENBSD_RANDOMIZE in linker scripts.Mark Kettenis
ok miod@, matthew@
2013-10-09Merge binutils 2.15 einfo() buffering change to binutils-2.17.Todd C. Miller
OK deraadt@ miod@
2013-07-05ELF_TOOLCHAIN bye bye.Miod Vallat
2013-04-19Use time_t instead of long for archive timestamps, and print them as long long;Miod Vallat
prodding deraadt@
2013-03-31Replace the common_definition method in mips BFD backends with a routineMiod Vallat
which correctly recognizes SHN_MIPS_ACOMMON and SHN_MIPS_SCOMMON as common symbols; this allows them to correctly be aligned to their natural alignment.
2013-03-30Revert alpha/OpenBSD to the binutils 2.15 state, with only DATA_PLT andMiod Vallat
disable readonly plt. This lets a binutils 2.17 toolchain produce working binaries, until a working way to get proper padding sections (and boundary symbols) emitted with proper value once .plt position is decided is found, when .plt can exist at multiple places in the binary.
2013-03-30Revert ppc/OpenBSD to the binutils 2.15 state, with only BSS_PLT andMiod Vallat
disable secure plt. This lets a binutils 2.17 toolchain produce working binaries, until a working way to get proper padding sections (and boundary symbols) emitted with proper value once .plt position is decided is found, when .plt can exist at multiple places in the binary.
2013-03-27Revert the --as-needed logic to match the 2.15 logic. It is now aggressivelyMiod Vallat
trying to avoid symbols needed by inter-library dependencies, assuming that libraries are built with inter-library dependency information. Such is not the case under OpenBSD and there are currently no plans to change this.
2013-03-24Don't forget to put .plt padding in the BSS_PLT case; lost during the 2.15->2.17Miod Vallat
update.
2013-03-23Fix a bug in ld --gc-sections: it strips out .note sections, whileDavid Coppa
it should never do so. This can cause global constructors and destructors to not be executed at run-time, resulting in crashes and other strange behaviour. From FreeBSD: http://svnweb.freebsd.org/base?view=revision&revision=244600 This unbreaks building chromium with binutils-2.17 ok miod@, sthen@
2013-03-21Define LABELS_WITHOUT_COLONS under OpenBSD again.Miod Vallat
2013-03-21Define PLT_BEFORE_GOT.Miod Vallat
2013-03-21Don't set TEXT_PLT if PLT_BEFORE_GOT.Miod Vallat
2013-03-20Move the __openbsd_randomdata_{start,end} symbols outside of thePhilip Guenther
.openbsd.randomdata so that ld can cleanly suppress the program header slot for PT_OPENBSD_RANDOMIZE when it isn't needed...such as for /boot. The symbols probably can and should be removed completely, but until that can be tested this at least unblocks the 2.17 transition ok miod@ matthew@
2013-03-18Try harder putting .ctor and .dtor next to .got, to be able to have ld.soMiod Vallat
mprotect these sections RO as soon as they have been relocated; similar to what the W^X changes in 2.15 did.
2013-03-10Sync to ../binutils/Makefile.bsd-wrapper rev. 1.75:Miod Vallat
eplace a comment asking for a particular order to build stuff in by actual make rules to enforce that order. While here, correct the MANDIR which must no more contain "cat".
2013-03-10Let platforms configured to use binutils 2.17 still recurse into the binutilsMiod Vallat
2.15 directory, but only to build gdb. ok deraadt@ espie@
2013-03-09Bring back got and plt padding sections and special symbols from our changesMiod Vallat
to binutils 2.15. Do not preserve brain cells. Do not collect $20,000. Do not pass go. Do not keep your sanity.
2013-03-09Do not recurse into gprof/ and etc/ on OpenBSD. The former is providedMiod Vallat
elsewhere, and the latter only installs useless documentation about how configure scripts waste your time and resources, and the awfully ugly GNU coding standards which waste whitespace.
2013-02-05Disable PIE-by-default if -static (or one of its aliases) is passed on theMark Kettenis
command line. While technically -static only controls whether we link against static libraries, people expect that doing so produces a fully static binary. tested by sthen@ ok pascal@, miod@
2013-02-03Stop as(1) from optimizing away R_X86_64_GOTPCREL relocations.Mark Kettenis
ok miod@
2013-01-07Teach as(1) how to handle mips symbolic register names.bcallah
Backported from a commit made after binutils 2.17 but before the GPLv3 switch. ok miod@
2013-01-05Replace the list of platforms enabled (or not) to build the whole binutilsMiod Vallat
with a test of ELF_TOOLCHAIN provided by bsd.own.mk. No functional change.
2012-10-18Add support for stac/clac instructions to manipulate the flagJonathan Gray
that controls the behaviour of Intel's Supervisor Mode Access Prevention (SMAP) feature. 'looks correct' miod@ ok deraadt@
2012-09-07disassemble the rdrand instruction on i386/amd64Christian Weisgerber
2012-09-03Teach as(1) about rdrand on i386/amd64.Mark Kettenis
ok jsg@
2012-09-01Fix typo in comment: s/PT_OPENBSD_RANDOMDATA/PT_OPENBSD_RANDOMIZE/Matthew Dempsky
2012-09-01don't pollute the src dir with info pages when doing buildsJonathan Gray
ok kettenis@ deraadt@
2012-08-28Add support for PIE-by-default in both ld and gcc. This is a completelyPascal Stumpf
different approach than the one taken in kurt@'s original diff, but deemed better after discussion and diff exchange with kettenis@ and matthew@. Lots of feedback by kettenis@ and matthew@, prodding and encouragement by deraadt@. ok kettenis@ matthew@
2012-08-22recognise rrx mnemonic, from GPLv2 apple cctools via FreeBSDJonathan Gray
ok miod@
2012-08-22Bring in a change from post 2.17 (but still GPLv2) binutilsJonathan Gray
to avoid BFD64 host ifdefs in 32 bit only sparc targets. elfxx-sparc.c 1.31 and elfxx-sparc.h 1.8 Needed to compile sparc from a 64 bit host. ok miod@
2012-08-22make this compile by adapting loongson changes to the 2.17 struct layoutJonathan Gray
ok miod@ matthew@
2012-08-22add a file from 2.17 which was omitted when imported but needed for mips64Jonathan Gray
ok miod@ matthew@
2012-08-20Add support for .openbsd.randomdata and PT_OPENBSD_RANDOMIZE toMatthew Dempsky
binutils 2.17. Passes randomdata regress tests on sparc64.
2012-05-21Fix binutils-2.17 configure script to build on amd64.Matthew Dempsky
ok miod
2012-01-01Properly recognize threads in OpenBSD core dumps.Mark Kettenis
2011-11-16Sync to ../binutils/Makefile.bsd-wrapper rev. 1.76:Ingo Schwarze
Always install addr2line(1), objcopy(1), and readelf(1) manuals, even on architectures with !ELF_TOOLCHAIN && !USING_NEW_BINUTILS. Such architectures do not yet exist, but both symmetry and fixing potential future issues early are good ideas. ok jsing@
2011-11-12Satisfy -Wbounded.Paul Irofti
Patch gyped from nicm@'s and jasper@'s work on the gdb port.
2011-11-12Unscrew the cross-gcc build after the bounds warning addition.Paul Irofti
Pointed out by sthen@, LGTM jsing@.
2011-09-19Don't unconditionally create the dynamic sections since that makes buildingMark Kettenis
static binaries impossible.
2011-07-27Add support for OpenBSD/hppa64.Mark Kettenis
2011-07-26Add OpenBSD/hppa support.Mark Kettenis
2011-07-10remove a duplicate definition of BadOp(), fixes compilation on i386Jonathan Gray
ok miod@
2011-07-08This was included in the diff which merged miod's WIP code, but was missedDale Rahn
when the code was committed a few days ago. noticed by kettenis.
2011-07-04My merges of miod's binutils-2.17 WIP code with my changed necessary to getDale Rahn
somewhere with it building on arm/ia64. much pressure pirofti@ deraadt@
2011-06-13Let opcodes build for ia64 cross-tools.Paul Irofti
Okay drahn@, ``Go ahead, don't wait for me'' miod@.
2011-05-18Start making the introductions between OpenBSD and Itanium.Paul Irofti
Inside the new binutils, let the configure scripts for bfd, gas and ld know about ia64-*-openbsd*. This gets the cross-tools make target further. Okay miod@.