self-relocating crt0 bits for sh, and enable static pie by default. With somearchdep.h help from kettenis@
Change the default entry point from _start to __start.ok kurt@, guenther@
VAX ELF toolchain, using `%' as the register prefix. Heavily based uponNetBSD.
Crank MAXPAGESIZE from 4KB to 64KB to match what SVR4/m88k and DG/UX do.
ELF toolchain for m68k, following the SysV/m68k ABI (32-bit types aligned on32-bit boundaries, function return values being in %a0 instead of %d0 if theyare declared as pointers, and in fp register
ELF toolchain for m68k, following the SysV/m68k ABI (32-bit types aligned on32-bit boundaries, function return values being in %a0 instead of %d0 if theyare declared as pointers, and in fp registers if they are floating point types).Compiler configuration bits (including a few m68k PIC code generation fixes)borrowed from NetBSD.
show more ...
Generate linker scripts for shared libraries. Force padding sections aroundplt, because it may need to be written to during initial relocation.
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.
Fixup ldscripts for i386 when linked with -pie (no change to non-pieldscripts). Correct the xd and xdc ldscripts (pie and pie + combreloc)on i386 and add two new variants for pie + combreloc + Z an
Fixup ldscripts for i386 when linked with -pie (no change to non-pieldscripts). Correct the xd and xdc ldscripts (pie and pie + combreloc)on i386 and add two new variants for pie + combreloc + Z and pie + Z onall arches. ok drahn@
Add __data_start symbol to all ELF archs to consistently mark the beginningof the writable sections. This is useful for garbage collectors such asboehm-gc to locate these sections in a uniform way.
Add __data_start symbol to all ELF archs to consistently mark the beginningof the writable sections. This is useful for garbage collectors such asboehm-gc to locate these sections in a uniform way.input and okay drahn@, miod@
Define superH obsd-specific emulations for ld, and use it by default.
Provide openbsd emulation for mips64el as we do for mips64.ok miod@
Merge glitches.
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@.
Binutils 2.15, with testsuites removed, and without gdb and libiberty.
eliminate portion for 3.2, there was no 3.2 release.ok mickey@
emacs undump is very sensative to the section ordering, For W^X a coupleof sections were moved for protections purposes. This causes problemswith emacs undump. Only move the sections if the W^X pad
emacs undump is very sensative to the section ordering, For W^X a coupleof sections were moved for protections purposes. This causes problemswith emacs undump. Only move the sections if the W^X padding is active.Generate the scripts properly for newer binutils, on i386 if -Z isactive, move the executable start address back to the classic base address.
provide a way data plt prepending got; drahn@ ok
Resolve merge conflicts, adjust method of W^X handing (.sh files)remove testsuites (not useable) remove mmalloc (not part of new binutils).
import binutils 2.14 (excluding testsuites, .info files, and .po files)
configs for amd64; brad@ ok
somehow duplicate lines had gotten in there
Move exec base to 0x1c000000, exe/data gap to 512MB. Allows betterinterleave of exe/shared libs. Raise MAXDSIZ back to 1G.This change REQUIRES a binary update on i386.
Switch i386 to new binutils, i386 tools now do ELF.RODATA_* align macros to preserve current behavior on otherarchs and allow for 1G sep between beginning of exe and beginning of dataDARPA funded
Switch i386 to new binutils, i386 tools now do ELF.RODATA_* align macros to preserve current behavior on otherarchs and allow for 1G sep between beginning of exe and beginning of dataDARPA funded work.
fix bad entry definition
use common elf.sc instead of own hppaobsd.sc, catch up w/ dale's elf work for hppa; drahn@ lots of helps and ok
12