summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils
AgeCommit message (Collapse)Author
2011-09-03Fix backtrace across signals on amd64Philip Guenthe
ok kettenis@
2011-07-06Replace a comment asking for a particular order to build stuff inIngo Schwarze
by actual make rules to enforce that order. While here, correct the MANDIR which must no more contain "cat". krw@ also confirms that this lets binutils build with -j.
2011-05-09Handle lazy relocation stubs like Linux does, (but with simplified code sinceMark Kettenis
we only care about N64 binaries).
2010-07-19Fix handling of hidden symbols on hppa. Patch from upstream (Alan Modra).Mark Kettenis
ok miod@, tested by landry@
2010-07-16Exit strip(1) with an error, if an objfile could not be read.Marco Pfatschbacher
Input and OK millert@
2010-06-11Add support for Intel AES-NI and the CLMUL_ instructions, plus a few othersThordur I. Bjornsson
that are needed to omplement accelerated AES (and AES-GCM mode) on newer Intel cores. Diff from Mike Belopuhov. no objections/ok miod@
2010-05-24Make sure references to hidden symbols are resolved locally and don't goMark Kettenis
through the PLT.
2010-05-08expand lvalue macro and remove an unnecessary and illegal cast inChristian Weisgerber
the process; ok kettenis@ miod@
2010-05-08Some fixes from upstream to make this compile with gcc4.Mark Kettenis
ok jsg@, miod@
2010-05-02Add support for floating-point registers on OpenBSD/hppa.Mark Kettenis
2010-03-18Backport fix of negative bignums from binutils 2.16:Mark Kettenis
2004-08-10 Mark Mitchell <mark@codesourcery.com> * expr.c (operand): Handle the "~", "-", and "!" operators applied to bignums. http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/expr.c.diff?cvsroot=src&only\ _with_tag=MAIN&r2=1.52&r1=1.51&f=u Fixes the problem mentioned here: http://llvm.org/bugs/show_bug.cgi?id=6528 ok jsg@, miod@
2010-02-03Add a new option to the mips64 gas, -mfix-loongson2f-btb. This optionMiod Vallat
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@
2010-02-03Use MACHINE_CPU instead of MACHINE_ARCH to pick the correct machine dependentMiod Vallat
files or directories when applicable. The inspiration and name of MACHINE_CPU come from NetBSD, although the way to provide it to Makefiles is completely different. ok kettenis@
2009-08-09Do not access s[strlen(s) - 1] without checking first that s is not anMiod Vallat
empty string.
2009-07-24add compat support to gdb so that it can deal with libpthread with andKurt Miller
without the _thread_ctx_offset private symbol. okay kettenis@
2009-07-12remove a semicolon at the end of an if statement, alreadyJonathan Gray
removed in upstream gdb sources. ok kettenis@
2009-06-06Handle our new ELF core dumps.Mark Kettenis
2009-03-09Provide more dependencies for binutils to build with make -j on a.outMiod Vallat
platforms; ok espie@ kettenis@
2009-03-05Teach bfd and gdb about the upcoming ELF core dumps.Mark Kettenis
2009-01-30Turns out we need to look one frame deeper to find the saved return addressMark Kettenis
from a pcb when debugging a kernel. Make sure we provide the matching stack pointer too to avoid duplicating the first frame. Makes "target kvm" much more useful on powerpc.
2008-11-11Enable support for debugging pie programs. Code from Elena Zannoni'sKurt Miller
<ezannoni at redhat dot com> pie branch in gdb cvs, less extraneous parts and with some bug fixes. Debugging w/core files for pie programs isn't working yet since AUXV data isn't included in our core files at the moment. feedback and ok kettenis@
2008-10-02Since we don't install libbfd anymore, don't install bfd.info.Mark Kettenis
requested by jmc@
2008-09-16Terminate printing of auxilliary vector upon reaching the first AT_NULL.Mark Kettenis
2008-09-16Add support for reading ELF auxilliary vectors.Mark Kettenis
ok kurt@
2008-08-22Don't install libbfd and libopcodes and the associated headers.Mark Kettenis
They really are just a way to share common code between gdb and binutils (which in the GNU world are seperate packages). The developers (and I'm one of them) make absolutely no effert to maintain a stable API/ABI. If ports people really need libbfd or libopcodes, they should just package a suitable version. ok weingart@, deraadt@
2008-06-13Fixup ldscripts for i386 when linked with -pie (no change to non-pieKurt Miller
ldscripts). Correct the xd and xdc ldscripts (pie and pie + combreloc) on i386 and add two new variants for pie + combreloc + Z and pie + Z on all arches. ok drahn@
2008-03-13Add __data_start symbol to all ELF archs to consistently mark the beginningKurt Miller
of the writable sections. This is useful for garbage collectors such as boehm-gc to locate these sections in a uniform way. input and okay drahn@, miod@
2008-01-14Fix a race by making maybe-all-bfd depend on all-bfd and maybe-all-opcodesMark Kettenis
depend on all-opcodes. Problem found by espie@. ok espie@
2008-01-14manpages need directories.Marc Espie
okay kettenis@
2007-12-30enforce install -S, avoids races with make -j:Marc Espie
libtool does relink some files during install, and it can happen that it relinks stuff at the exact same time that ld is being reinstalled. okay kettenis@
2007-12-24Teach as(1) about %gl on sparc64.Mark Kettenis
ok miod@
2007-11-28fix race: install-all can only be run *after* all is finished, otherwiseMarc Espie
we may end up installing gdb while it's been rm -f. okay kettenis@
2007-10-03On i386, use PCB_SAVECTX flags to distinguish between state saved by a normalMark Kettenis
context switch, and state saved by savectx(). This makes backtraces from kernel crash dumps work much better.
2007-08-21Treat Ldatafault_internal as having a trap frame.Mark Kettenis
2007-03-26remove old pages; spotted by kettenisJason McIntyre
ok deraadt
2007-03-26sort the MAN entry; ok deraadtJason McIntyre
2007-03-25pick up the newer rev man pages; noticed by ingo schwarze, first rev byTheo de Raadt
jmc
2007-03-19build two more man pages; Ingo SchwarzeTheo de Raadt
2007-01-07Make unwinding through kernel trap frames work on sparc64.Mark Kettenis
2006-11-10Convert to use inf-ptrace.c.Mark Kettenis
2006-11-10Handle OpenBSD as well.Mark Kettenis
2006-11-09Initial stab at OpenBSD/sh support.Mark Kettenis
2006-11-09grok sh-*-openbsd*Theo de Raadt
2006-10-24fix a crash with --statistics. closing file in the wrong place.Ted Unangst
from dasn. ok deraadt
2006-10-08Define superH obsd-specific emulations for ld, and use it by default.Miod Vallat
2006-10-06Early bits for a 32-bit SuperH toolchain, currently for little-endianMiod Vallat
systems only; more work is necessary in ld land.
2006-09-25Use S_IS* macros insted of masking with S_IF* flags. The latter mayOtto Moerbeek
have multiple bits set, which lead to surprising results. Spotted by Paul Stoeber. ok kettenis@
2006-07-23Do not build & install gdbtui.Mark Kettenis
2006-07-19``target kvm'' support for alpha; ok kettenis@Miod Vallat
2006-07-13fix info target, make sure as.info gets built during built, not install.Marc Espie