summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/bfd
AgeCommit message (Collapse)Author
2004-05-20bfd support for OpenBSD/m88k a.out binaries, glueing existing bits together.Miod Vallat
Gives us working objcopy, objdump, etc, and the ability to process core files to some extent. ok and pushed upstream kettenis@
2004-05-17Resolve merge conflicts, adjust method of W^X handing (.sh files)Dale Rahn
remove testsuites (not useable) remove mmalloc (not part of new binutils).
2004-05-17import binutils 2.14 (excluding testsuites, .info files, and .po files)Dale Rahn
2004-02-10configs for amd64; brad@ okMichael Shalayeff
2003-04-17Switch i386 to new binutils, i386 tools now do ELF.Dale Rahn
RODATA_* align macros to preserve current behavior on other archs and allow for 1G sep between beginning of exe and beginning of data DARPA funded work.
2003-01-30Again this comment was not updated. now we have 7 load sections.Dale Rahn
2003-01-30ELF security enhancement: put .rodata into it's own load section insteadDale Rahn
of putting it with the text. This removes the execute permission from readonly data. This constrains the executable region to portions of the executable which need to be executable. Note: not all processors or mmus are capable of -X protection at the page level, but should handle ELF images which specify specific RWX protections on each section.
2003-01-17Update comment for linker change which just committed.Dale Rahn
2003-01-17This is a project to modify executables so that they do not have anyDale Rahn
executable regions which are writable. If a section of an executable is writable and executable, it is much easier for errant code to modify the executable's behavior. Two current areas in shared library environments which have this critical problem are the GOT (Global Offset Table) and PLT (Procedure Linkage Table). The PLT is required to be executable and both GOT and PLT are writable on most architectures. On most ELF architecture machines this would cause shared libraries to have data and BSS marked as executable. Padding to the linker script for programs and shared libraries/objects to isolate the GOT and PLT into their own load sections in the executables. This allows only the text(readonly) region and the PLT region to be marked executable with the normal data and BSS not marked as executable. The PLT region is still marked executable on most architectures because the PLT lives in the "data" or "BSS" regions and the dynamic loader will need to modify it. Since the GOT and PLT should only ever be written by the dynamic linker, it will be modified to mprotect those regions so that they are not writable during normal execution. If the dynamic linker needs to modify the regions later, (eg for lazy binding), it will mprotect the region, make the necessary changes, and mprotect it back. Since it is possible to receive a signal which would interrupt the program flow and perhaps cause the dynamic linker to modify the same (or nearby) PLT references, it is now necessary for signals to be blocked for the duration of the mprotect.
2002-12-09From Andrushock, s/sucess/success/gTodd C. Miller
2002-08-11Switch sparc binutils to ELF.Artur Grabowski
XXX - we might want to improve the version selection logic when feeding those diffs back to FSF, but we can't do that until we bump our version to OpenBSD 3.2 because then the tree wouldn't build.
2002-07-16Correct memset arguments; from Moritz Jodeit <moritz@jodeit.org> viaFederico G. Schwindt
PR/2822. Submited to binutils as well.
2002-05-14regen.Federico G. Schwindt
2002-05-14ops, add missing vax vector.Federico G. Schwindt
2002-05-13- Sync changes between source and generated files (ie., changes existingFederico G. Schwindt
only in the generated files). - Regen. Whenever is possible, changes should be done to the source files (.am, .in). That way is easier to track and merge local changes when importing.
2002-05-13hppa pieces; don't regenerate yet.Federico G. Schwindt
2002-05-13resolve conflicts.Federico G. Schwindt
2002-05-13Import binutils-2.11.2Federico G. Schwindt
- only the binutils package (no gdb here) - don't import libiberty and texinfo, they are elsewhere - remove all .info* generated files
2002-05-08includes should be installed during `make include', not later.Marc Espie
Fixes this for lex and binutils' bfd. Also, do not install ansidecl.h, we don't really need it, bfd.h uses it, and we installed it so that bfd worked, so let bfd.h include it directly. prompted by mickey@
2002-04-02Leave space for terminating NULL if empty symbol table. from bfd-currentFederico G. Schwindt
via pr 2447; deraadt@ ok.
2002-03-31recognize coredumps in sparc64 (for gdb); deraadt@ ok.Federico G. Schwindt
2002-02-13Changes necessary to configure vax. Confirmed by miod + theo.Hugh Graham
2001-11-14Change Vax aout magic and set binary page size to 4k.Hugh Graham
2001-09-25let configure script use GNUSYSTEM_AUX_DIRMarc Espie
2001-09-13Support for arm.Kevin Lo
2001-09-05Support for sparc64. gdb disabled for now.Artur Grabowski
2001-06-09Bye, byeMarc Espie
2001-06-09Automatic cvs merge. Dread what I will have to fix after this excuseMarc Espie
of a program is done...
2001-06-09Long delayed import of binutils-2.10.1. Turns out art@ needs some alphaMarc Espie
bug-fixes...
2001-03-07Revert my bfd change, and instead make ld match bfd, which isNiklas Hallqvist
the way Red hat choose. Both ways work, the important thing is that things match. However if we use the red hat solution we will not need to merge local changes when importing new binutils releases; espie made me aware of the import issues which I forgot due to lack of sleep :-).
2001-03-071st bug on the road to shlibs on alpha:Niklas Hallqvist
match the maxpagesize between bfd and ld.
2001-01-31Switch alpha to ELF.Artur Grabowski
2000-11-20Make new binutils compile on Alpha again; ok espie@tomo
2000-10-06${SHELL} move-if-changedDavid Leonard
2000-09-14Some installation problems: older gnu programs don't know about DESTDIR,Marc Espie
but we have a mix here -> convert the old ones to heed DESTDIR. Also, fix manpages installation in Makefile.bsd-wrapper (INSTALL_MAN setting that got lost, bad MANDIR, don't set MANDIR if PREFIX is the standard location)
2000-09-13Allow make clean to proceed.Marc Espie
(This is probably a work-around for a bug in ksh)
2000-09-12Allow gen-aout.c to compile on something other than #@#!%linuxMarc Espie
2000-09-12Resolve other problems that dumb cvs can't find out by itself.Marc Espie
(trivial part done, `interesting' patches remain)
2000-09-12Help stupid cvs fixing basic conflicts.Marc Espie
2000-09-12Import binutils-2.10Marc Espie
- only the binutils package (no gdb here) - don't import libiberty and texinfo, they are elsewhere - remove all .info* generated files
1999-05-02Obvious typo in previous commit; niklas@Marc Espie
1999-05-01Let Makefiles pass infodir and bindir thru recursive invocation,Marc Espie
so that make install will heed DESTDIR, and so gdb.info & friends will finally show up in distrib/sets...
1999-02-09Adding support for Motorola mvme88kSteve Murphree
1998-05-04first cut on binutils/gcc support for hppa-*-openbsd*; tested on i386 hostMichael Shalayeff
1997-10-13More than one target vector with mips woes..Per Fogelstrom
1997-07-06Define NETBSD_CORE for all Open/NetBSD targets and sync configure+configure.inNiklas Hallqvist
1997-07-03support coredump parsing on alphaNiklas Hallqvist
1997-05-29Import of binutils-2.8.1 from Cygnus/FSFNiklas Hallqvist
1997-05-29Import of binutils-2.8.1 from Cygnus/FSFNiklas Hallqvist
1997-04-23add a lot of /bin/sh before calling scripts like config.guess and soThomas Graichen
on - this way now the whole tree builds without requiring any file being executable (binutils was the last which required it) - now ctm -> cvs checkout -> make build works just fine (aside from other bugs in the source tree :-)