History log of /openbsd-current/sys/arch/mips64/include/exec.h
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.10 28-Oct-2022 kettenis

Implement support for DT_MIPS_RLD_MAP_REL.

ok deraadt@


Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE
# 1.9 13-Aug-2017 visa

Make R_MIPS_* defines available via <machine/reloc.h>.

OK guenther@


Revision tags: OPENBSD_6_1_BASE
# 1.8 08-Feb-2017 guenther

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 tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.7 29-Aug-2015 guenther

_NLIST_DO_ELF is no longer needed: it's the only option

ok deraadt@


Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.6 09-Feb-2013 miod

No longer define EXEC_SCRIPT (probably coming from old PefoBSD). Also,
DB_ELFSIZE ought to be defined in <machine/db_machdep.h>, not <machine/exec.h>


# 1.5 11-Sep-2012 deraadt

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 tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE
# 1.4 12-Dec-2009 miod

unifdef -D__LP64__


# 1.3 30-Nov-2009 miod

Crank __LDPGSZ from 4KB to 16KB, in preparation for a kernel page size
increase as well.

Binaries compiled before this change will not work once the kernel page size
is cranked (in a few weeks), so you might want to update your userland and
packages soon.


# 1.2 19-Nov-2009 miod

Remove code allowing native binaries with O32 ABI to run, there aren't any...


Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE
# 1.1 18-Oct-2004 grange

Move exec.h out from sgi to share it with other mips64 ports; with
a tip from miod@.

ok pefo@ miod@


Revision tags: OPENBSD_6_2_BASE
# 1.9 13-Aug-2017 visa

Make R_MIPS_* defines available via <machine/reloc.h>.

OK guenther@


Revision tags: OPENBSD_6_1_BASE
# 1.8 08-Feb-2017 guenther

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 tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.7 29-Aug-2015 guenther

_NLIST_DO_ELF is no longer needed: it's the only option

ok deraadt@


Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.6 09-Feb-2013 miod

No longer define EXEC_SCRIPT (probably coming from old PefoBSD). Also,
DB_ELFSIZE ought to be defined in <machine/db_machdep.h>, not <machine/exec.h>


# 1.5 11-Sep-2012 deraadt

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 tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE
# 1.4 12-Dec-2009 miod

unifdef -D__LP64__


# 1.3 30-Nov-2009 miod

Crank __LDPGSZ from 4KB to 16KB, in preparation for a kernel page size
increase as well.

Binaries compiled before this change will not work once the kernel page size
is cranked (in a few weeks), so you might want to update your userland and
packages soon.


# 1.2 19-Nov-2009 miod

Remove code allowing native binaries with O32 ABI to run, there aren't any...


Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE
# 1.1 18-Oct-2004 grange

Move exec.h out from sgi to share it with other mips64 ports; with
a tip from miod@.

ok pefo@ miod@