summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils
AgeCommit message (Collapse)Author
2004-05-21GDB 6.3 (excluding .info files)Mark Kettenis
2004-05-21GDB 6.1 (excluding .info files)Mark Kettenis
2004-05-21Update headers to gdb-6.1 version to get new constants.Mark Kettenis
ok deraadt@
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-19remove the disabled DO_FORCE_VERS support.Brad Smith
ok drahn@
2004-05-19Add dis-init.c from gdb 6.1.Mark Kettenis
ok drahn@
2004-05-19Binutils 2.15, with testsuites removed, and without gdb and libiberty.Mark Kettenis
2004-05-19Remove a build warning by reverting to old method of testing forDale Rahn
HAVE_DECL_GETOPT. pointed out by a few.
2004-05-18Do not install binutils nm/size, mickey@Dale Rahn
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-05-10Remove prototype conflicting with new libreadline.Mark Kettenis
ok deraadt@, otto@, pval@
2004-04-21Add luna88k related directories and information to the build infrastructure.Miod Vallat
ok deraadt@, millert@, krw@ - mdoc ok jmc@
2004-03-01Correctly compute pc-relative relocation addend for amd64.Mark Kettenis
ok deraadt@
2004-02-27cope with MACHINE_ARCH changing from x86_64 to amd64. For now, we wantTheo de Raadt
the toolchain to remain at the name x86_64. Tested on all other architectures that care. Done as very small snippets, so that espie does not blow a fuse.
2004-02-24(process_mips_specific): Print conflictsno as an unsigned long.Brad Smith
From: binutils CVS HEAD branch, based on rev 1.231 Provided by: Daniel Lucq <daniel at lucq dot org> ok fgsch@ drahn@
2004-02-24(display_debug_info): Cast for 64bit hosts.Brad Smith
From: binutils CVS HEAD branch, based on rev 1.113 Provided by: Daniel Lucq <daniel at lucq dot org> ok fgsch@ drahn@
2004-02-23fix a seg fault issue with objdump on sparc64.Brad Smith
From: binutils CVS HEAD branch, based on rev 1.8 Reported by: Daniel Lucq <daniel at lucq dot org> ok miod@
2004-02-10configs for amd64; brad@ okMichael Shalayeff
2004-02-03grok VIA C3 xmove-* and xcrypt-* instructions; niklas okTheo de Raadt
2004-02-01Add support for xmove-rng and xcrypt-{ecb,cbc,cfb,ofb} instructions foundTheo de Raadt
in VIA C3 cpus. Very simple encoding: 0f a7 {c0, c8, d0, e0, d8}. This change is placed into the public domain, so someone get it back to FSF
2004-02-01Permit '-' in a mnemonic. This is needed for the new VIA C3 xmove-rngTheo de Raadt
and xcrypt-{ecb,cbc,cfb,ofb} instructions. This chagne is placed into the public domain, so someone get it back to FSF
2004-01-14Sync with mvme88k struct trapframe changes.Miod Vallat
Not pushed upstream, ELF toolchain is in the pipeline and coming soon...
2004-01-13use our own nm and sizeMichael Shalayeff
2004-01-08long vs time_t workarounds without changing the API; spotted by pval, ok fgschTheo de Raadt
2004-01-07inverted test. problem reported by avsm@.Marc Espie
2004-01-03sync the list of acceptable getopt_long options with reality.Brad Smith
Fixes PR 3623 From: binutils CVS 2.11 branch, based on rev 1.15.2.3 ok otto@
2003-11-23If gld${EMULATION_NAME}_search_dir() returns NULL, return earlyNikolay Sturm
and try not to fopen(NULL, ...) later. ok millert@
2003-11-06Teach gdb about the existence of SIGINFO. Fixes PR 3173.Otto Moerbeek
"Works for me" todd@ ok mickey@ fgsch@
2003-10-31add pegasos to config.guess matchesDale Rahn
2003-09-20powerpc ld.so has a slightly unreasonable expectation about __got_startDale Rahn
and the location of the GOT. reorder GOT and the CTOR/DTOR section.
2003-09-19Make CTORS/DTORS non-writeable in dynamic binaries. ok deraadt@Dale Rahn
2003-08-06backport a fix from current gdb to fix a crash when using set enumTed Unangst
without an argument. problem reported by adrian at coresecurity.com ok millert@
2003-08-01A working gcc 2.95/m88k compiler, for some low standard value of working.Miod Vallat
Configuration settings mostly borrowed from the former gcc 2.8 configuration. A few typos and fixes backported from gcc 3.3, and a hell lot of fixes from my fingertips. This is enough to yield a compiler which will produce correct code at -O0. Optimization is slightly broken for some constructs, and more fixes are in the pipeline. ok deraadt@
2003-07-20Document -Z flag for ld, produce old style 'standard' executables'. ok deraadt@Dale Rahn
2003-06-02somehow duplicate lines had gotten in thereMichael Shalayeff
2003-05-05Move exec base to 0x1c000000, exe/data gap to 512MB. Allows betterDale Rahn
interleave of exe/shared libs. Raise MAXDSIZ back to 1G. This change REQUIRES a binary update on i386.
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-04-09fix bad entry definitionMichael Shalayeff
2003-03-01Disable mmalloc on all openbsd systems. It was disabled on some before.Dale Rahn
ok miod@ pvalchev@
2003-02-16Synch cxxfilt man page with reality and arrange for it to get built andMarc Espie
installed. Noticed by jmc@
2003-02-06use common elf.sc instead of own hppaobsd.sc, catch up w/ dale's elf work ↵Michael Shalayeff
for hppa; drahn@ lots of helps and ok
2003-02-02pass BSDSRCDIR in environment to submakes.Marc Espie
This `repairs' setting up BSDSRCDIR in /etc/mk.conf and nowhere else.
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-24This 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. This diff was omitted from the original commit, this implements the -Z option to produce traditional (non protected) executables.
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.
2003-01-13Add a compatibilty flag '-Z' for upcoming elf changes, does nothing currentlyDale Rahn
but will produce old style executables when the other changes appear.
2003-01-06syncronous -> synchronousMiod Vallat