Home | History | Annotate | Download | only in include
History log of /src/sys/arch/alpha/include/elf_machdep.h
RevisionDateAuthorComments
 1.16  18-Apr-2025  riastradh ld.elf_so on alpha: Add support for secureplt.

ok thorpej

PR port-alpha/57511: ld.elf_so(1) does not support secure PLT for alpha
PR port-alpha/57717: Alpha linker generates LOAD segments (and
generates warnings about them)
 1.15  10-Oct-2020  thorpej Rename:
- EM_ALPHA (41) -> EM_OLD_ALPHA
- EM_ALPHA_EXP (36902) -> EM_ALPHA

36902 has been the value in common usage for a long time, and this naming
aligns with binutils, etc.

PR port-alpha/51926
 1.14  08-Apr-2019  thorpej Add the R_ALPHA_BRSGP relocation type.
 1.13  06-Nov-2017  christos branches: 1.13.4;
Cleanup and clarify the ELFSIZE mess:

We now have 2 variables automatically set in elf_machdep.h:

ARCH_ELFSIZE: the size for userland binaries
KERN_ELFSIZE: the size for the kernel binaries

DB_ELFSIZE has been deleted and KERN_ELFSIZE should have always the
same values DB_ELFSIZE used to have.

In sys/exec_elf.h, if ELFSIZE is not set, it is set to KERN_ELFSIZE
for the kernel and ARCH_ELFSIZE for userland. These defaults should
eliminate the need for most manual ELFSIZE setting.
 1.12  30-Sep-2010  skrll branches: 1.12.18;
Introduce a new type Elf_Symindx for use in decoding the symbol hash table
section and allow this type to be overridden.

The ELF specification says it should always be uint32_t (Elf_Word), but
alpha decided to be different (not sure why). Define Elf_Symindx to be
uint64_t on alpha.

Alpha no longer uses non-standard definitions of Elf64_Sword and
Elf64_Word. Remove the ability to override these types.

Fixes ld.elf_so after Herculean effort from me and martin.
 1.11  30-May-2009  skrll branches: 1.11.2; 1.11.4;
Add TLS relocation definitions.
 1.10  09-Dec-2001  thorpej branches: 1.10.122;
Add support for dumping ELF-cormat core files.
 1.9  01-Nov-2001  drochner protect against multiple inclusion
 1.8  31-Oct-2001  thorpej Rather than using a NetBSD-specific header file <machine/int_types.h>
and non-standard inttype-like types, pull in <sys/types.h> if
_KERNEL or _STANDALONE and <inttypes.h> otherwise, and use standard
inttype types.

Discussed with and OK'd by Christos.
 1.7  31-Oct-2001  thorpej Use <machine/elf_machdep.h> to override Elf64_Word and Elf64_Sword
on the Alpha (which uses a non-standard definitions for historical
reasons), rather than #ifdef __alpha__ (which is not cross-tool safe).
 1.6  02-Apr-2000  minoura branches: 1.6.6; 1.6.8; 1.6.12;
Move dl* function definitions to libc on ELF.
Based on the patch supplied by Takuya Shiozaki <tshiozak@astec.co.jp>.
See http://mail-index.netbsd.org/tech-userlevel/2000/02/23/0000.html.
 1.5  25-Oct-1999  kleink Update to match new SVR4-style definition names in <sys/exec_elf.h>.
 1.4  03-Oct-1998  christos branches: 1.4.12; 1.4.14; 1.4.16;
Add em_alpha_exp
 1.3  06-Apr-1997  cgd clean up NetBSD RCS ID strings
 1.2  14-Dec-1996  cgd add endianness constants, relocation types
 1.1  26-Sep-1996  cgd branches: 1.1.2;
add and use a machine-dependent header, which currently defines some
macros to use to remove #ifdefs from the machine ID case check.
Eventually, these headers will contain other information, e.g.
machine-dependent relocation information, etc.
 1.1.2.2  01-Jun-1997  cgd sync the nwscons branch up with yesterday's version of the trunk.
Lots of conflicts/changes because of the RCS Id format changes.
Also, a few cleanups and corrections.
 1.1.2.1  24-Jan-1997  cgd sync with trunk
 1.4.16.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.4.14.1  14-Nov-1999  fvdl Sync with -current.
 1.4.12.1  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.6.12.1  12-Nov-2001  thorpej Sync the thorpej-mips-cache branch with -current.
 1.6.8.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.6.6.2  08-Jan-2002  nathanw Catch up to -current.
 1.6.6.1  14-Nov-2001  nathanw Catch up to -current.
 1.10.122.2  09-Oct-2010  yamt sync with head
 1.10.122.1  20-Jun-2009  yamt sync with head
 1.11.4.1  05-Mar-2011  rmind sync with head
 1.11.2.1  22-Oct-2010  uebayasi Sync with HEAD (-D20101022).
 1.12.18.1  03-Dec-2017  jdolecek update from HEAD
 1.13.4.1  10-Jun-2019  christos Sync with HEAD

RSS XML Feed