OpenBSD CVS

CVS log for src/sys/sys/exec_elf.h


[BACK] Up to [local] / src / sys / sys

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.103 / (download) - annotate - [select for diffs], Wed Jan 17 22:22:25 2024 UTC (4 months, 3 weeks ago) by kurt
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, HEAD
Changes since 1.102: +5 -1 lines
Diff to previous 1.102 (colored)

Fix core file writing when a file map into memory has later been truncated
to be smaller than the mapping. Record which memory segments are backed by
vnodes while walking the uvm map and later suppress EFAULT errors caused
by the underlying file being truncated. okay miod@

Revision 1.102 / (download) - annotate - [select for diffs], Fri Dec 8 13:58:41 2023 UTC (6 months ago) by deraadt
Branch: MAIN
Changes since 1.101: +2 -1 lines
Diff to previous 1.101 (colored)

PT_OPENBSD_SYSCALLS is an extension that points to non-LOAD section
which contains {offset,syscall#} structures.
ok kettenis

Revision 1.101 / (download) - annotate - [select for diffs], Sat Jun 10 19:30:48 2023 UTC (12 months ago) by kettenis
Branch: MAIN
CVS Tags: OPENBSD_7_4_BASE, OPENBSD_7_4
Changes since 1.100: +2 -1 lines
Diff to previous 1.100 (colored)

Implement support for pointer authentication (PAC) in userland.  With PAC
it is possible to "sign" pointers with a hidden key.  The signature is
placed in unused bits of the pointer and can be checked later.  This can
be used to provide "tail CFI" that is similar to what retguard provides.

Debuggers need to be aware of the fact that pointers can be signed.  For
this purpose a new PT_PACMASK ptrace(2) request is introduced that returns
as mask that indicates the bits used for the signature.  Separate masks
are provided for code and data pointers even though the masks are identical
in the current implementation.  These masks are also written into a special
note section in the core dump.

ok patrick@

Revision 1.100 / (download) - annotate - [select for diffs], Wed Apr 19 15:37:36 2023 UTC (13 months, 3 weeks ago) by kettenis
Branch: MAIN
Changes since 1.99: +2 -1 lines
Diff to previous 1.99 (colored)

Add a new PT_OPENBSD_NOBTCFI "segment type" to indicate that the kernel
should not enforce branch target control flow integrety for a binary.
This works analoguous to PT_OPENBSD_WXNEEDED in that we will set it on
binaries that don't have the necessary landing pads (yet).  The kernel
will enforce branch target CFI by default in the near future!

This is a better match for what we want to achieve than the GNU property
note mechanism that the Linux folks came up with.  We can still use the
GNU property notes for diagnostic purposes so we won't disable their
generation in the toolchain.  But ports will need to pass an explicit
-Wl,-z,nobtcfi option to disable branch target CFI.

Like with PT_OPENBSD_WXNEEDED we convert the presence of PT_OPENBSD_NOBTCFI
into a flag in struct exec_package.  From there MD code can pick it up
and set a struct process flag or take action in setregs().

ok deraadt@

Revision 1.99 / (download) - annotate - [select for diffs], Sun Apr 16 13:35:58 2023 UTC (13 months, 3 weeks ago) by kettenis
Branch: MAIN
Changes since 1.98: +2 -1 lines
Diff to previous 1.98 (colored)

Add PT_GNU_PROPERTY define.

ok deraadt@

Revision 1.98 / (download) - annotate - [select for diffs], Tue Apr 11 00:45:09 2023 UTC (14 months ago) by jsg
Branch: MAIN
Changes since 1.97: +2 -2 lines
Diff to previous 1.97 (colored)

fix double words in comments
feedback and ok jmc@ miod, ok millert@

Revision 1.97 / (download) - annotate - [select for diffs], Thu Oct 27 23:17:18 2022 UTC (19 months, 1 week ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_3_BASE, OPENBSD_7_3
Changes since 1.96: +2 -2 lines
Diff to previous 1.96 (colored)

In dynamic binaries, AUX_base is the ld.so address.  In static PIE binaries,
it is the base of the binary itself.  Repair of this comment does not undo
the hair pulling that happened today.
ok guenther

Revision 1.96 / (download) - annotate - [select for diffs], Sat Oct 8 16:42:41 2022 UTC (20 months ago) by kettenis
Branch: MAIN
Changes since 1.95: +5 -2 lines
Diff to previous 1.95 (colored)

Since the PF_MUTABLE flag is an OpenBSD-specific flag, rename it to
PF_OPENBSD_MUTABLE.  While there, add the missing PF_MASKOS, which makes
it obvious this bit is indeed in the space reserved for OS-specific bits.

ok deraadt@

Revision 1.95 / (download) - annotate - [select for diffs], Fri Oct 7 03:20:58 2022 UTC (20 months ago) by deraadt
Branch: MAIN
Changes since 1.94: +4 -1 lines
Diff to previous 1.94 (colored)

Add identifiers for the new "mutable bss" section, ".openbsd.mutable" is
0x65a3dbe5.  Also add PF_MUTABLE as a segment flag for later use.

Revision 1.94 / (download) - annotate - [select for diffs], Sat Dec 25 01:25:51 2021 UTC (2 years, 5 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1
Changes since 1.93: +14 -1 lines
Diff to previous 1.93 (colored)

Sync DF_1_* flag definitions with llvm 13, including support in
readelf -d for displaying them.
(lld 13 sets DF_1_PIE on most our binaries)

ok jsg@

Revision 1.93 / (download) - annotate - [select for diffs], Tue Dec 7 22:17:03 2021 UTC (2 years, 6 months ago) by guenther
Branch: MAIN
Changes since 1.92: +3 -1 lines
Diff to previous 1.92 (colored)

Delete the last emulation callbacks: we're Just ELF, so declare
exec_elf_fixup() and coredump_elf() in <sys/exec_elf.h> and call
them and the MD setregs() directly in kern_exec.c and kern_sig.c

Also delete e_name[] (only used by sysctl), e_errno (unused), and
e_syscallnames[] (only used by SYSCALL_DEBUG) and constipate
syscallnames to 'const char *const[]'

ok kettenis@

Revision 1.92 / (download) - annotate - [select for diffs], Tue Dec 7 04:19:24 2021 UTC (2 years, 6 months ago) by guenther
Branch: MAIN
Changes since 1.91: +7 -1 lines
Diff to previous 1.91 (colored)

Continue to delete emulation support: since we're Just ELF, the size
of the auxinfo is fixed: provide ELF_AUX_WORDS in <sys/exec_elf.h>
as a replacement for emul->e_arglen

ok millert@

Revision 1.91 / (download) - annotate - [select for diffs], Fri Nov 12 22:20:57 2021 UTC (2 years, 6 months ago) by guenther
Branch: MAIN
Changes since 1.90: +15 -2 lines
Diff to previous 1.90 (colored)

Add #defines and typedefs for RELR, a compressed form for relative relocations

ok kettenis@

Revision 1.90 / (download) - annotate - [select for diffs], Fri Apr 23 15:53:07 2021 UTC (3 years, 1 month ago) by drahn
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE, OPENBSD_7_0
Changes since 1.89: +2 -1 lines
Diff to previous 1.89 (colored)

Add MID_RISCV64 and EM_RISCV to enable riscv64
ok deraadt@

Revision 1.89 / (download) - annotate - [select for diffs], Wed Mar 10 10:21:47 2021 UTC (3 years, 3 months ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_6_9_BASE, OPENBSD_6_9
Changes since 1.88: +2 -2 lines
Diff to previous 1.88 (colored)

spelling

ok gnezdo@ semarie@ mpi@

Revision 1.88 / (download) - annotate - [select for diffs], Mon Jul 6 13:33:09 2020 UTC (3 years, 11 months ago) by pirofti
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8
Changes since 1.87: +3 -2 lines
Diff to previous 1.87 (colored)

Add support for timeconting in userland.

This diff exposes parts of clock_gettime(2) and gettimeofday(2) to
userland via libc eliberating processes from the need for a context
switch everytime they want to count the passage of time.

If a timecounter clock can be exposed to userland than it needs to set
its tc_user member to a non-zero value. Tested with one or multiple
counters per architecture.

The timing data is shared through a pointer found in the new ELF
auxiliary vector AUX_openbsd_timekeep containing timehands information
that is frequently updated by the kernel.

Timing differences between the last kernel update and the current time
are adjusted in userland by the tc_get_timecount() function inside the
MD usertc.c file.

This permits a much more responsive environment, quite visible in
browsers, office programs and gaming (apparently one is are able to fly
in Minecraft now).

Tested by robert@, sthen@, naddy@, kmos@, phessler@, and many others!

OK from at least kettenis@, cheloha@, naddy@, sthen@

Revision 1.87 / (download) - annotate - [select for diffs], Sun Dec 1 13:10:51 2019 UTC (4 years, 6 months ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_6_7_BASE, OPENBSD_6_7
Changes since 1.86: +31 -34 lines
Diff to previous 1.86 (colored)

Change Elf64 types and structs to match the System V ABI specification.

Change Elf64_Half from a uint32_t type to a uint16_t type.  The size of
structs do not change as the previous uses of Elf64_Half become
Elf64_Word (uint32_t).

Remove Elf64_Quarter as 16 bit values now use Elf64_Half.
Replace Elf_Byte use with unsigned char.
Change some uses of Elf64_Xword to Elf64_Addr (both uint64_t).

Corrects behaviour with libelf where the file size of a symtab section
came back as 26 not 24 as libelf determines this by the size of a the
involved types not the size of the struct in exec_elf.h.  As a result
libelf's elf_getdata() returned ELF_E_SECTION due to the size of the
section not being a multiple of the file size of the section type.
This occurred with the new runtime linker for radeon shaders in
Mesa 19.2.

Sync description of Elf32 and Elf64 types in elf(5) with FreeBSD and
adjust types in structs mentioned.

ok guenther@ deraadt@

Revision 1.86 / (download) - annotate - [select for diffs], Sun Dec 1 10:25:50 2019 UTC (4 years, 6 months ago) by jsg
Branch: MAIN
Changes since 1.85: +17 -17 lines
Diff to previous 1.85 (colored)

revert exec_elf.h rev 1.85

committed by mistake as part of an unrelated change

Revision 1.85 / (download) - annotate - [select for diffs], Fri Nov 29 06:34:46 2019 UTC (4 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.84: +17 -17 lines
Diff to previous 1.84 (colored)

Repurpose the "syscalls must be on a writeable page" mechanism to
enforce a new policy: system calls must be in pre-registered regions.
We have discussed more strict checks than this, but none satisfy the
cost/benefit based upon our understanding of attack methods, anyways
let's see what the next iteration looks like.

This is intended to harden (translation: attackers must put extra
effort into attacking) against a mixture of W^X failures and JIT bugs
which allow syscall misinterpretation, especially in environments with
polymorphic-instruction/variable-sized instructions.  It fits in a bit
with libc/libcrypto/ld.so random relink on boot and no-restart-at-crash
behaviour, particularily for remote problems. Less effective once on-host
since someone the libraries can be read.

For static-executables the kernel registers the main program's
PIE-mapped exec section valid, as well as the randomly-placed sigtramp
page.  For dynamic executables ELF ld.so's exec segment is also
labelled valid; ld.so then has enough information to register libc's
exec section as valid via call-once msyscall(2)

For dynamic binaries, we continue to to permit the main program exec
segment because "go" (and potentially a few other applications) have
embedded system calls in the main program.  Hopefully at least go gets
fixed soon.

We declare the concept of embedded syscalls a bad idea for numerous
reasons, as we notice the ecosystem has many of
static-syscall-in-base-binary which are dynamically linked against
libraries which in turn use libc, which contains another set of
syscall stubs.  We've been concerned about adding even one additional
syscall entry point... but go's approach tends to double the entry-point
attack surface.

This was started at a nano-hackathon in Bob Beck's basement 2 weeks
ago during a long discussion with mortimer trying to hide from the SSL
scream-conversations, and finished in more comfortable circumstances
next to a wood-stove at Elk Lakes cabin with UVM scream-conversations.

ok guenther kettenis mortimer, lots of feedback from others
conversations about go with jsing tb sthen

Revision 1.84 / (download) - annotate - [select for diffs], Sat Apr 20 23:10:00 2019 UTC (5 years, 1 month ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.83: +1 -6 lines
Diff to previous 1.83 (colored)

The conversion of rdsetroot to -lelf failed on alpha: -lelf thought ELF SHDR
was 80 bytes in size, rather than 64 as listed in the ELF header.  In Sep 2001
when ELF was being integrated into the tree, two of the ELF object types (and two
more via #define) were given different (incorrect) sizes, and hid behind an
#ifdef __alpha__ all this time.  -lelf constructs the SHDR object by accumulating
sizes of types, so this was finally exposed.
A review of the tree shows no other consequences, so we can fix this now.

Revision 1.83 / (download) - annotate - [select for diffs], Tue Jan 22 23:23:18 2019 UTC (5 years, 4 months ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5
Changes since 1.82: +15 -1 lines
Diff to previous 1.82 (colored)

add some definitions used by elftoolchain's libelf
ok guenther@

Revision 1.82 / (download) - annotate - [select for diffs], Thu Dec 6 18:59:31 2018 UTC (5 years, 6 months ago) by guenther
Branch: MAIN
Changes since 1.81: +4 -1 lines
Diff to previous 1.81 (colored)

Core files with >65535 sections have to use PN_XNUM and a section header
to pass the real count, with a minimal .shstrtab segment for consistency.
Also, add support for PN_XNUM to readelf.

problem reported and testing by claudio@
ok kettenis@

Revision 1.81 / (download) - annotate - [select for diffs], Tue Nov 13 04:47:36 2018 UTC (5 years, 6 months ago) by guenther
Branch: MAIN
Changes since 1.80: +6 -1 lines
Diff to previous 1.80 (colored)

Add GNU_HASH #defines; improve readelf output for SHT_GNU_HASH

ok naddy@ jca@

Revision 1.80 / (download) - annotate - [select for diffs], Mon Jan 22 09:01:39 2018 UTC (6 years, 4 months ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3
Changes since 1.79: +15 -14 lines
Diff to previous 1.79 (colored)

Add SHT_SYMTAB_SHNDX

Required by Karel Gardas to unbreak GHC head.

Revision 1.79 / (download) - annotate - [select for diffs], Thu Jan 18 08:17:39 2018 UTC (6 years, 4 months ago) by guenther
Branch: MAIN
Changes since 1.78: +11 -1 lines
Diff to previous 1.78 (colored)

Unlike other archs, mips64 needs ld.so to know about symbol visibility and
skip symbol lookup on protected symbols.  Add visibility #defines to
<sys/exec_elf.h> to support that.

ok kettenis@ visa@

Revision 1.78 / (download) - annotate - [select for diffs], Sat Dec 9 06:35:08 2017 UTC (6 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.77: +2 -1 lines
Diff to previous 1.77 (colored)

Add a #define for the name of the .openbsd.randomdata section.
ok guenther

Revision 1.77 / (download) - annotate - [select for diffs], Wed Oct 18 12:08:17 2017 UTC (6 years, 7 months ago) by mpi
Branch: MAIN
Changes since 1.76: +2 -1 lines
Diff to previous 1.76 (colored)

Add missing SHN_XINDEX needed by devel/ctftools.

Reported by and ok naddy@

Revision 1.76 / (download) - annotate - [select for diffs], Thu Oct 12 09:03:15 2017 UTC (6 years, 7 months ago) by mpi
Branch: MAIN
Changes since 1.75: +21 -6 lines
Diff to previous 1.75 (colored)

Add Section Attirbute flag defines, some default values for n_type
and a couple of missing EM_* required to build devel/libdwarf and
devel/valgrind.

ok deraadt@, jasper@

Revision 1.75 / (download) - annotate - [select for diffs], Tue Sep 5 06:35:19 2017 UTC (6 years, 9 months ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.74: +1 -4 lines
Diff to previous 1.74 (colored)

Remove unused 32bit version of elf_hash().

Riding previous libc bump.

ok kettenis@

Revision 1.74 / (download) - annotate - [select for diffs], Tue May 30 15:39:05 2017 UTC (7 years ago) by mpi
Branch: MAIN
Changes since 1.73: +3 -1 lines
Diff to previous 1.73 (colored)

Kill db_sym_t.

ok deraadt@, kettenis@, jasper@

Revision 1.73 / (download) - annotate - [select for diffs], Sat Feb 18 06:42:08 2017 UTC (7 years, 3 months ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.72: +16 -1 lines
Diff to previous 1.72 (colored)

Add Elf{32,64}_Nhdr structs with the same member names used by libelf
and glibc.  As noted by guenther@ this is the same layout as our
Elf{32,64}_Note structs and the handful of uses we have in the tree may
switch From _Note to _Nhdr in future.

Prompted by the development version of Mesa using the Nhdr type.

ok guenther@

Revision 1.72 / (download) - annotate - [select for diffs], Sat Feb 18 06:09:01 2017 UTC (7 years, 3 months ago) by jsg
Branch: MAIN
Changes since 1.71: +2 -2 lines
Diff to previous 1.71 (colored)

Include sys/types.h rather than machine/_types.h.  With this change
link.h can be included without first including sys/types.h matching the
behaviour on other systems.

Suggested by and ok guenther@

Revision 1.71 / (download) - annotate - [select for diffs], Wed Feb 8 05:09:25 2017 UTC (7 years, 4 months ago) by guenther
Branch: MAIN
Changes since 1.70: +2 -20 lines
Diff to previous 1.70 (colored)

In exec_elf.c: expand ELFNAME(), ELFNAME2(), and ELFNAMEEND() except
leaving out the size, so that
	ELFNAME2(exec,makecmds)
becomes
	exec_elf_makecmds
instead of
	exec_elf{32,64}_makecmds
and then delete the ELFNAME2() and ELFNAMEEND() macros.

Move the prototypes for functions local to exec_elf.c to there from
exec_elf.h.

Simplify the SMALL_KERNEL conditionals around the ELF coredump code.

Change exec_conf.c to use the size-generic names and macros

Remove exec_elf{32,64}.c and just build exec_elf.c; delete the
_KERN_DO_ELF and _KERN_DO_ELF64 #defines.

ok jca@, encouragement from deraadt@ and tom@

Revision 1.70 / (download) - annotate - [select for diffs], Wed Feb 8 05:02:05 2017 UTC (7 years, 4 months ago) by guenther
Branch: MAIN
Changes since 1.69: +1 -3 lines
Diff to previous 1.69 (colored)

Move ELF_AUX_ENTRIES from exec_elf.h to exec_elf.c; it's totally internal
and not something we guarantee to userspace

ok jca@

Revision 1.69 / (download) - annotate - [select for diffs], Wed Feb 8 04:47:23 2017 UTC (7 years, 4 months ago) by guenther
Branch: MAIN
Changes since 1.68: +1 -3 lines
Diff to previous 1.68 (colored)

elf{32,64}_check_brand() isn't used; delete it

ok jca@

Revision 1.68 / (download) - annotate - [select for diffs], Wed Feb 8 04:34:29 2017 UTC (7 years, 4 months ago) by guenther
Branch: MAIN
Changes since 1.67: +3 -1 lines
Diff to previous 1.67 (colored)

Provide size-generic ELF_NO_ADDR in <sys/exec_elf.h> and use that instead
of ELFDEFNNAME(NO_ADDR)

ok jca@

Revision 1.67 / (download) - annotate - [select for diffs], Mon Jan 30 05:00:31 2017 UTC (7 years, 4 months ago) by guenther
Branch: MAIN
Changes since 1.66: +2 -2 lines
Diff to previous 1.66 (colored)

Fix ELF64_R_TYPE(reloc->r_info) to have the same type on mips64le
as on other LP64 archs, __uint64_t, so that printf-like functions
don't require extra casting...then eliminate the extra cast in
ld.so/mips64/rtld_machine.c

discussed with miod
ok visa@

Revision 1.66 / (download) - annotate - [select for diffs], Sat Jan 21 05:42:03 2017 UTC (7 years, 4 months ago) by guenther
Branch: MAIN
Changes since 1.65: +2 -2 lines
Diff to previous 1.65 (colored)

p_comm is the process's command and isn't per thread, so move it from
struct proc to struct process.

ok deraadt@ kettenis@

Revision 1.65 / (download) - annotate - [select for diffs], Mon Nov 28 21:50:12 2016 UTC (7 years, 6 months ago) by patrick
Branch: MAIN
Changes since 1.64: +2 -1 lines
Diff to previous 1.64 (colored)

Add the ELF machine type for AArch64 as specified in the ELF spec for
the ARM 64-bit Architecture.

ok phessler@

Revision 1.64 / (download) - annotate - [select for diffs], Sat Sep 17 17:39:34 2016 UTC (7 years, 8 months ago) by jasper
Branch: MAIN
Changes since 1.63: +2 -1 lines
Diff to previous 1.63 (colored)

move the .SUNW_ctf section name definition to exec_elf.h and document it in elf(5)

feedback from guenther@
ok guenther@ kettenis@

Revision 1.63 / (download) - annotate - [select for diffs], Wed Sep 7 20:12:42 2016 UTC (7 years, 9 months ago) by jasper
Branch: MAIN
Changes since 1.62: +6 -6 lines
Diff to previous 1.62 (colored)

- point to binutils 2.17 version of elf/mips.h
- fix trailing whitespace

Revision 1.62 / (download) - annotate - [select for diffs], Sun Sep 4 11:52:55 2016 UTC (7 years, 9 months ago) by kettenis
Branch: MAIN
Changes since 1.61: +2 -1 lines
Diff to previous 1.61 (colored)

Add PT_GNU_EH_FRAME.

ok guenther@

Revision 1.61 / (download) - annotate - [select for diffs], Tue Aug 30 12:47:19 2016 UTC (7 years, 9 months ago) by kettenis
Branch: MAIN
Changes since 1.60: +1 -4 lines
Diff to previous 1.60 (colored)

Move DT_NUM from <sys/exec_elf.h> to resolv.h in ld.so where it belongs.

ok guenther@

Revision 1.60 / (download) - annotate - [select for diffs], Tue Aug 23 06:46:17 2016 UTC (7 years, 9 months ago) by kettenis
Branch: MAIN
Changes since 1.59: +2 -2 lines
Diff to previous 1.59 (colored)

Implement support for DT_INIT_ARRAY, DT_FINI_ARRAY and DT_PREINIT_ARRAY.
Don't skip DT_INIT and DT_FINI for the main executable.  This matches what
Linux and Solaris do.

ok guenther@

Revision 1.59 / (download) - annotate - [select for diffs], Thu Jul 14 06:03:46 2016 UTC (7 years, 10 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.58: +3 -1 lines
Diff to previous 1.58 (colored)

Add PT_GNU_RELRO, for ld.so work

ok millert@ kettenis@

Revision 1.58 / (download) - annotate - [select for diffs], Sun May 29 00:48:05 2016 UTC (8 years ago) by deraadt
Branch: MAIN
Changes since 1.57: +2 -1 lines
Diff to previous 1.57 (colored)

define PT_OPENBSD_WXNEEDED

Revision 1.57 / (download) - annotate - [select for diffs], Thu Mar 24 06:05:43 2016 UTC (8 years, 2 months ago) by guenther
Branch: MAIN
Changes since 1.56: +2 -2 lines
Diff to previous 1.56 (colored)

fix comment

Revision 1.56 / (download) - annotate - [select for diffs], Tue Oct 13 04:29:50 2015 UTC (8 years, 8 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.55: +17 -1 lines
Diff to previous 1.55 (colored)

Add some newer DT_* and DF_* constants

ok kettenis@ miod@

Revision 1.55 / (download) - annotate - [select for diffs], Mon Aug 24 21:09:43 2015 UTC (8 years, 9 months ago) by jca
Branch: MAIN
Changes since 1.54: +3 -3 lines
Diff to previous 1.54 (colored)

Typos; ok kettenis@

Revision 1.54 / (download) - annotate - [select for diffs], Wed Nov 26 20:06:53 2014 UTC (9 years, 6 months ago) by stsp
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.53: +2 -2 lines
Diff to previous 1.53 (colored)

Add a new ELF segment .openbsd.bootdata to the sparc64 kernel.
This can be used to pass boot parameters to the kernel which can't be passed
safely via the Open Firmware interface, such as softraid volume IDs and keys.
The kernel already reads the arguments if available but ofwboot won't provide
them until further changes are committed there.

With support from deraadt, kettenis and matthew.
ok deraadt@

Revision 1.53 / (download) - annotate - [select for diffs], Fri Jan 3 03:00:39 2014 UTC (10 years, 5 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.52: +3 -3 lines
Diff to previous 1.52 (colored)

Fix spelling in comments

Revision 1.52 / (download) - annotate - [select for diffs], Wed May 8 20:55:14 2013 UTC (11 years, 1 month ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.51: +5 -2 lines
Diff to previous 1.51 (colored)

Implement symbol caching and RELACOUNT/RELCOUNT optimizations.
Much assistance and testing by miod

ok miod@

Revision 1.51 / (download) - annotate - [select for diffs], Tue Sep 11 15:44:18 2012 UTC (11 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3
Changes since 1.50: +1 -2 lines
Diff to previous 1.50 (colored)

Remove the 'OLF method' used for the transition from a.out to ELF and
for all the compat layers which are now gone.  Linux compat still works
because it always used another method in any case, and nothing looks at
p_os anymore.
ok jsing

Revision 1.50 / (download) - annotate - [select for diffs], Mon Aug 20 23:25:07 2012 UTC (11 years, 9 months ago) by matthew
Branch: MAIN
Changes since 1.49: +6 -1 lines
Diff to previous 1.49 (colored)

Add support for .openbsd.randomdata sections and PT_OPENBSD_RANDOMIZE
segments to the kernel, ld (2.15), and ld.so.  Tested on alpha, amd64,
i386, macppc, and sparc64 (thanks naddy, mpi, and okan!).

Idea discussed for some time; committing now for further testing.
ok deraadt

Revision 1.49 / (download) - annotate - [select for diffs], Tue Sep 20 16:42:01 2011 UTC (12 years, 8 months ago) by pirofti
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1
Changes since 1.48: +7 -3 lines
Diff to previous 1.48 (colored)

Add new machine entry for Itanium.

While at it clean-up and fix machine types to reflect reality.

Okay deraadt@.

Revision 1.48 / (download) - annotate - [select for diffs], Mon Jun 7 09:41:16 2010 UTC (14 years ago) by sthen
Branch: MAIN
CVS Tags: OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8
Changes since 1.47: +2 -2 lines
Diff to previous 1.47 (colored)

update url in comment; Nikolai Fetissov

Revision 1.47 / (download) - annotate - [select for diffs], Sun May 2 00:28:38 2010 UTC (14 years, 1 month ago) by guenther
Branch: MAIN
Changes since 1.46: +25 -4 lines
Diff to previous 1.46 (colored)

Add defines for thread-local-storage sections/symbols/segments and for
the DT_1_FLAGS .dynamic entry and its known flag values.  Remove the
unused and useless STT_NUM and PT_NUM defines.

ok miod@

Revision 1.46 / (download) - annotate - [select for diffs], Sun Jan 31 21:37:19 2010 UTC (14 years, 4 months ago) by otto
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored)

fix ELF64_R_INFO for mips64el to cast to 64 bits before shift; ok miod@

Revision 1.45 / (download) - annotate - [select for diffs], Mon Jan 25 05:18:35 2010 UTC (14 years, 4 months ago) by miod
Branch: MAIN
Changes since 1.44: +15 -1 lines
Diff to previous 1.44 (colored)

Provide proper ELF64_R_{SYM,TYPE,INFO} on little endian mips64, since these
do not follow the regular layout. Makes ld.so much happier on loongson.
ok drahn@

Revision 1.44 / (download) - annotate - [select for diffs], Thu Mar 5 19:52:24 2009 UTC (15 years, 3 months ago) by kettenis
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6
Changes since 1.43: +59 -1 lines
Diff to previous 1.43 (colored)

Make ELF platforms generate ELF core dumps.  Somewhat based on code from
NetBSD.

ok kurt@, drahn@, miod@

Revision 1.43 / (download) - annotate - [select for diffs], Mon May 14 05:04:58 2007 UTC (17 years, 1 month ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.42: +2 -2 lines
Diff to previous 1.42 (colored)

uint32_t is not spelled u_long.  makes the 32-bit NO_ADDR potentially useful on
64-bit machines, even though it's not used.  ok art deraadt millert tom

Revision 1.42 / (download) - annotate - [select for diffs], Fri Oct 6 20:58:17 2006 UTC (17 years, 8 months ago) by miod
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.41: +2 -1 lines
Diff to previous 1.41 (colored)

Early bits for a 32-bit SuperH toolchain, currently for little-endian
systems only; more work is necessary in ld land.

Revision 1.41 / (download) - annotate - [select for diffs], Fri Jan 6 18:53:05 2006 UTC (18 years, 5 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.40: +22 -22 lines
Diff to previous 1.40 (colored)

Adapt things to use __type_t instead of _BSD_TYPE_T_
Add new sys/_types.h header
Include machine/_types.h or sys/_types.h where applicable

Revision 1.40 / (download) - annotate - [select for diffs], Sun Oct 10 15:02:18 2004 UTC (19 years, 8 months ago) by kettenis
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.39: +5 -1 lines
Diff to previous 1.39 (colored)

Add PT_LOOS, PT_HIOS and Elf_Half.
ok drahn@

Revision 1.20.4.8 / (download) - annotate - [select for diffs], Sat Jun 5 23:13:09 2004 UTC (20 years ago) by niklas
Branch: SMP
Changes since 1.20.4.7: +1 -1 lines
Diff to previous 1.20.4.7 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored)

Merge with the trunk

Revision 1.39 / (download) - annotate - [select for diffs], Fri Feb 27 17:36:16 2004 UTC (20 years, 3 months ago) by deraadt
Branch: MAIN
CVS Tags: SMP_SYNC_B, SMP_SYNC_A, OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (colored)

change amd64's MACHINE_ARCH from x86_64 to amd64.  There are many many
reasons for this, quite a few of them technical, and not all of them
in response to Intel's broken ia32e crud.  The gcc toolchain stays at
x86_64 for now.

Revision 1.20.4.7 / (download) - annotate - [select for diffs], Thu Feb 19 11:01:32 2004 UTC (20 years, 3 months ago) by niklas
Branch: SMP
Changes since 1.20.4.6: +5 -5 lines
Diff to previous 1.20.4.6 (colored) to branchpoint 1.20 (colored)

Merge of current from two weeks agointo the SMP branch

Revision 1.38 / (download) - annotate - [select for diffs], Thu Jan 29 23:15:53 2004 UTC (20 years, 4 months ago) by drahn
Branch: MAIN
Changes since 1.37: +2 -1 lines
Diff to previous 1.37 (colored)

recognize arm.

Revision 1.37 / (download) - annotate - [select for diffs], Wed Jan 28 01:39:40 2004 UTC (20 years, 4 months ago) by mickey
Branch: MAIN
Changes since 1.36: +2 -1 lines
Diff to previous 1.36 (colored)

an amd64 arch support.
hacked by art@ from netbsd sources and then later debugged
by me into the shape where it can host itself.
no bootloader yet as needs redoing from the
recent advanced i386 sources (anyone? ;)

Revision 1.36 / (download) - annotate - [select for diffs], Thu Sep 18 09:58:13 2003 UTC (20 years, 8 months ago) by jmc
Branch: MAIN
Changes since 1.35: +4 -6 lines
Diff to previous 1.35 (colored)

spacing;
ok deraadt@

Revision 1.32.4.3 / (download) - annotate - [select for diffs], Mon May 19 22:32:19 2003 UTC (21 years ago) by tedu
Branch: UBC
Changes since 1.32.4.2: +25 -4 lines
Diff to previous 1.32.4.2 (colored) to branchpoint 1.32 (colored) next main 1.33 (colored)

sync

Revision 1.20.4.6 / (download) - annotate - [select for diffs], Fri May 16 00:29:45 2003 UTC (21 years, 1 month ago) by niklas
Branch: SMP
Changes since 1.20.4.5: +24 -3 lines
Diff to previous 1.20.4.5 (colored) to branchpoint 1.20 (colored)

merge the trunk so we will get the genfs and locking fixes

Revision 1.35 / (download) - annotate - [select for diffs], Tue May 13 16:38:34 2003 UTC (21 years, 1 month ago) by millert
Branch: MAIN
CVS Tags: UBC_SYNC_A, OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.34: +25 -4 lines
Diff to previous 1.34 (colored)

sync e_ident[] identification indexes w/
http://www.caldera.com/developers/gabi/2000-07-17/ch4.eheader.html
EI_BRAND is gone, we now have EI_OSABI and EI_ABIVERSION

Add ELFOSABI_* defines that correspond to what binutils uses.  Note
that we don't currently set e_ident[EI_OSABI] to ELFOSABI_OPENBSD,
though we probably should.

Revision 1.20.4.5 / (download) - annotate - [select for diffs], Fri Mar 28 00:41:30 2003 UTC (21 years, 2 months ago) by niklas
Branch: SMP
Changes since 1.20.4.4: +4 -2 lines
Diff to previous 1.20.4.4 (colored) to branchpoint 1.20 (colored)

Sync the SMP branch with 3.3

Revision 1.32.4.2 / (download) - annotate - [select for diffs], Tue Oct 29 00:36:49 2002 UTC (21 years, 7 months ago) by art
Branch: UBC
Changes since 1.32.4.1: +5 -3 lines
Diff to previous 1.32.4.1 (colored) to branchpoint 1.32 (colored)

sync to -current

Revision 1.34 / (download) - annotate - [select for diffs], Wed Jul 31 03:10:50 2002 UTC (21 years, 10 months ago) by art
Branch: MAIN
CVS Tags: UBC_SYNC_B, OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.33: +5 -3 lines
Diff to previous 1.33 (colored)

Define _DYNAMIC correctly for all architectures.
The alleged alpha problems didn't show up.

Revision 1.32.4.1 / (download) - annotate - [select for diffs], Tue Jun 11 03:32:33 2002 UTC (22 years ago) by art
Branch: UBC
Changes since 1.32: +15 -15 lines
Diff to previous 1.32 (colored)

Sync UBC branch to -current

Revision 1.20.4.4 / (download) - annotate - [select for diffs], Thu Mar 28 14:52:01 2002 UTC (22 years, 2 months ago) by niklas
Branch: SMP
Changes since 1.20.4.3: +15 -15 lines
Diff to previous 1.20.4.3 (colored) to branchpoint 1.20 (colored)

Merge in -current from roughly a week ago

Revision 1.33 / (download) - annotate - [select for diffs], Thu Mar 14 01:27:14 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.32: +15 -15 lines
Diff to previous 1.32 (colored)

First round of __P removal in sys

Revision 1.20.4.3 / (download) - annotate - [select for diffs], Wed Oct 31 03:30:30 2001 UTC (22 years, 7 months ago) by nate
Branch: SMP
Changes since 1.20.4.2: +39 -23 lines
Diff to previous 1.20.4.2 (colored) to branchpoint 1.20 (colored)

Sync the SMP branch to something just after 3.0

Revision 1.32 / (download) - annotate - [select for diffs], Wed Sep 26 09:15:22 2001 UTC (22 years, 8 months ago) by art
Branch: MAIN
CVS Tags: UBC_BASE, OPENBSD_3_0_BASE, OPENBSD_3_0
Branch point for: UBC
Changes since 1.31: +29 -19 lines
Diff to previous 1.31 (colored)

Elf64_Word is 64-bit only on alpha. Introduce Elf64_Xword and fix stuff.

Revision 1.31 / (download) - annotate - [select for diffs], Wed Sep 19 13:28:43 2001 UTC (22 years, 8 months ago) by art
Branch: MAIN
Changes since 1.30: +9 -5 lines
Diff to previous 1.30 (colored)

Unify elf32 and elf64 code with macros. This forced a renaming
of a few functions from elf32.

Revision 1.30 / (download) - annotate - [select for diffs], Sun Aug 19 15:20:25 2001 UTC (22 years, 9 months ago) by art
Branch: MAIN
Changes since 1.29: +3 -1 lines
Diff to previous 1.29 (colored)

e_machine identifiers for sparcv8plus and sparcv9
from NetBSD.

Revision 1.20.4.2 / (download) - annotate - [select for diffs], Wed Jul 4 11:00:19 2001 UTC (22 years, 11 months ago) by niklas
Branch: SMP
Changes since 1.20.4.1: +2 -2 lines
Diff to previous 1.20.4.1 (colored) to branchpoint 1.20 (colored)

Merge in -current from two days ago in the SMP branch.
As usual with merges, they do not indicate progress, so do not hold
your breath for working SMP, and do not mail me and ask about the
state of it.  It has not changed.  There is work ongoing, but very, very
slowly.  The commit is done in parts as to not lock up the tree in too
big chunks at a time.

Revision 1.29 / (download) - annotate - [select for diffs], Wed Jun 6 23:18:46 2001 UTC (23 years ago) by art
Branch: MAIN
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

typo in comment

Revision 1.20.4.1 / (download) - annotate - [select for diffs], Mon May 14 22:45:01 2001 UTC (23 years, 1 month ago) by niklas
Branch: SMP
Changes since 1.20: +67 -3 lines
Diff to previous 1.20 (colored)

merge in approximately 2.9 into SMP branch

Revision 1.28 / (download) - annotate - [select for diffs], Fri Mar 16 04:39:08 2001 UTC (23 years, 3 months ago) by hugh
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.27: +2 -1 lines
Diff to previous 1.27 (colored)

Add the VAX magic number.

Revision 1.27 / (download) - annotate - [select for diffs], Tue Jan 23 16:58:06 2001 UTC (23 years, 4 months ago) by drahn
Branch: MAIN
Changes since 1.26: +2 -1 lines
Diff to previous 1.26 (colored)

Add machine/exec.h to allow machine to set ELFSIZE before using
ifdefing code based on if that define exists.
OKed by theo.

Revision 1.26 / (download) - annotate - [select for diffs], Mon Jan 22 23:48:35 2001 UTC (23 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored)

Art is a B.....

Revision 1.25 / (download) - annotate - [select for diffs], Mon Jan 22 14:52:56 2001 UTC (23 years, 4 months ago) by art
Branch: MAIN
Changes since 1.24: +5 -1 lines
Diff to previous 1.24 (colored)

If ELFSIZE isn't explicitly defined, define it do ARCH_ELFSIZE

Revision 1.24 / (download) - annotate - [select for diffs], Sun Jan 21 17:09:21 2001 UTC (23 years, 4 months ago) by art
Branch: MAIN
Changes since 1.23: +5 -3 lines
Diff to previous 1.23 (colored)

Some fixes to the size independent macros.
Resolve the confusion about Rela and RelA.
Add ELF_R_INFO.

Revision 1.23 / (download) - annotate - [select for diffs], Tue Jan 16 18:04:19 2001 UTC (23 years, 4 months ago) by art
Branch: MAIN
Changes since 1.22: +1 -3 lines
Diff to previous 1.22 (colored)

Don't include machine/elf_machdep.h, not all archs have it yet.

Revision 1.22 / (download) - annotate - [select for diffs], Tue Jan 16 15:44:36 2001 UTC (23 years, 4 months ago) by art
Branch: MAIN
Changes since 1.21: +59 -1 lines
Diff to previous 1.21 (colored)

Allow use of ELFSIZE to get Elf_* types and macros instead of explicit Elf{32,64}_.
From NetBSD

This will probably let us unify a lot of code (exec_elf.c vs. exec_elf64.c).

Revision 1.21 / (download) - annotate - [select for diffs], Fri Aug 11 00:35:18 2000 UTC (23 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE, OPENBSD_2_8
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

Elf64_RelA -> Elf64_Rela

Revision 1.20 / (download) - annotate - [select for diffs], Sun Sep 19 16:16:49 1999 UTC (24 years, 8 months ago) by kstailey
Branch: MAIN
CVS Tags: kame_19991208, SMP_BASE, OPENBSD_2_7_BASE, OPENBSD_2_7, OPENBSD_2_6_BASE, OPENBSD_2_6
Branch point for: SMP
Changes since 1.19: +18 -1 lines
Diff to previous 1.19 (colored)

improved OS brand PT_NOTE detection

Revision 1.19 / (download) - annotate - [select for diffs], Sat Sep 18 15:43:33 1999 UTC (24 years, 8 months ago) by kstailey
Branch: MAIN
Changes since 1.18: +5 -1 lines
Diff to previous 1.18 (colored)

ELF64_ST_*() macros

Revision 1.18 / (download) - annotate - [select for diffs], Fri Sep 10 20:47:13 1999 UTC (24 years, 9 months ago) by kstailey
Branch: MAIN
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

undo previous

Revision 1.17 / (download) - annotate - [select for diffs], Fri Sep 10 20:05:50 1999 UTC (24 years, 9 months ago) by kstailey
Branch: MAIN
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored)

temp fix

Revision 1.16 / (download) - annotate - [select for diffs], Fri Sep 10 12:24:27 1999 UTC (24 years, 9 months ago) by kstailey
Branch: MAIN
Changes since 1.15: +15 -2 lines
Diff to previous 1.15 (colored)

ELF64

Revision 1.15 / (download) - annotate - [select for diffs], Tue Sep 7 21:52:44 1999 UTC (24 years, 9 months ago) by kstailey
Branch: MAIN
Changes since 1.14: +97 -15 lines
Diff to previous 1.14 (colored)

ELF64

Revision 1.14 / (download) - annotate - [select for diffs], Wed Feb 10 08:07:20 1999 UTC (25 years, 4 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE, OPENBSD_2_5
Changes since 1.13: +3 -1 lines
Diff to previous 1.13 (colored)

branding support and freebsd elf

Revision 1.13 / (download) - annotate - [select for diffs], Mon Feb 1 16:33:01 1999 UTC (25 years, 4 months ago) by pefo
Branch: MAIN
Changes since 1.12: +7 -3 lines
Diff to previous 1.12 (colored)

Define another dynamic tag as well as allow for use by dynld compile

Revision 1.12 / (download) - annotate - [select for diffs], Sun Feb 22 01:00:26 1998 UTC (26 years, 3 months ago) by niklas
Branch: MAIN
CVS Tags: OPENBSD_2_4_BASE, OPENBSD_2_4, OPENBSD_2_3_BASE, OPENBSD_2_3
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (colored)

Improve fine-grain control over emulated binaries by storing OS tags during
the process' runtime, so that personality checks can be done later

Revision 1.11 / (download) - annotate - [select for diffs], Sun Jun 29 07:43:19 1997 UTC (26 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

another nasty long

Revision 1.10 / (download) - annotate - [select for diffs], Wed Dec 11 05:55:33 1996 UTC (27 years, 6 months ago) by imp
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.9: +2 -1 lines
Diff to previous 1.9 (colored)

Sync headers to ld.so for gdb/arc support

Revision 1.9 / (download) - annotate - [select for diffs], Wed Nov 6 18:41:52 1996 UTC (27 years, 7 months ago) by etheisen
Branch: MAIN
Changes since 1.8: +2 -3 lines
Diff to previous 1.8 (colored)

Fix copyright.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Oct 27 20:08:26 1996 UTC (27 years, 7 months ago) by etheisen
Branch: MAIN
Changes since 1.7: +3 -35 lines
Diff to previous 1.7 (colored)

OLF makes .os section and program header hack go away.

Revision 1.7 / (download) - annotate - [select for diffs], Sat Aug 31 09:19:14 1996 UTC (27 years, 9 months ago) by pefo
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.6: +2 -3 lines
Diff to previous 1.6 (colored)

Cleanup exec

Revision 1.6 / (download) - annotate - [select for diffs], Wed Jun 12 07:31:37 1996 UTC (28 years ago) by deraadt
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

/* within comment

Revision 1.5 / (download) - annotate - [select for diffs], Wed May 29 03:04:51 1996 UTC (28 years ago) by deraadt
Branch: MAIN
Changes since 1.4: +3 -1 lines
Diff to previous 1.4 (colored)

enable ELF/a.out/ECOFF in machine/exec.h

Revision 1.4 / (download) - annotate - [select for diffs], Wed May 22 07:44:29 1996 UTC (28 years ago) by etheisen
Branch: MAIN
Changes since 1.3: +365 -103 lines
Diff to previous 1.3 (colored)

Moved contents of elf_abi.h into exec_elf.h. Modified dependant files to
reflect this.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Mar 3 12:11:42 1996 UTC (28 years, 3 months ago) by niklas
Branch: MAIN
Changes since 1.2: +1 -0 lines
Diff to previous 1.2 (colored)

From NetBSD: 960217 merge

Revision 1.2 / (download) - annotate - [select for diffs], Mon Jan 29 07:09:50 1996 UTC (28 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.1: +3 -2 lines
Diff to previous 1.1 (colored)

from netbsd:
Don't rely on the protection bits of segments anymore to decide whether
it's text or data; use the entry point instead (this solves some trouble
with ELF executables with strange permissions)
Incorporate some fixes from r_friedl@informatik.uni-kl.de sent to
netbsd-bugs a while ago

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:53:26 1995 UTC (28 years, 7 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of NetBSD tree

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:53:26 1995 UTC (28 years, 7 months ago) by deraadt
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.