summaryrefslogtreecommitdiffstats
path: root/sys/alpha/include/elf.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix typo in comment.jdp1999-02-191-2/+2
|
* Change the load address of the ELF dynamic linker from "2L*MAXDSIZ"jdp1999-02-071-1/+13
| | | | | | | | | | | | | | | | | | | | | | | to an architecture-specific value defined in <machine/elf.h>. This solves problems on large-memory systems that have a high value for MAXDSIZ. The load address is controlled by a new macro ELF_RTLD_ADDR(vmspace). On the i386 it is hard-wired to 0x08000000, which is the standard SVR4 location for the dynamic linker. On the Alpha, the dynamic linker is loaded MAXDSIZ bytes beyond the start of the program's data segment. This is the same place a userland mmap(0, ...) call would put it, so it ends up just below all the shared libraries. The rationale behind the calculation is that it allows room for the data segment to grow to its maximum possible size. These changes have been tested on the i386 for several months without problems. They have been tested on the Alpha as well, though not for nearly as long. I would like to merge the changes into 3.1 within a week if no problems have surfaced as a result of them.
* Add generic defines ELF_ARCH, ELF_CLASS, and ELF_DATA. These givejdp1998-09-141-1/+3
| | | | | | | | the relevant characteristics of the native machine, for building and checking Elf_Ehdr structures. Add structures to represent ELF "note" headers. Add defines for the note types used in ELF core files.
* Update to use elf_generic.h.dfr1998-08-171-1/+6
|
* Add a macro for testing the e_machine field of Elf64_Ehdr.dfr1998-06-281-1/+3
|
* Add initial support for the FreeBSD/alpha kernel. This is very much adfr1998-06-101-19/+36
| | | | | | | | | | work in progress and has never booted a real machine. Initial development and testing was done using SimOS (see http://simos.stanford.edu for details). On the SimOS simulator, this port successfully reaches single-user mode and has been tested with loads as high as one copy of /bin/ls :-). Obtained from: partly from NetBSD/alpha
* Import NetBSD/Alpha headers needed to get the FreeBSD userland to compilejb1998-03-091-0/+112
(and even run). These files don't necessarily make sense for a FreeBSD/Alpha kernel build. That will come later and these files will be changed accordingly.
OpenPOWER on IntegriCloud