The NetBSD Project

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

[BACK] Up to [cvs.NetBSD.org] / src / sys / sys

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.171: download - view: text, markup, annotated - select for diffs
Sun Jan 8 17:03:42 2023 UTC (2 years ago) by christos
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.170: preferred, colored
Changes since revision 1.170: +4 -2 lines
sync machine list with spec

Revision 1.170: download - view: text, markup, annotated - select for diffs
Wed Jun 8 10:12:42 2022 UTC (2 years, 7 months ago) by rin
Branches: MAIN
CVS tags: netbsd-10-base, netbsd-10-1-RELEASE, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Diff to: previous 1.169: preferred, colored
Changes since revision 1.169: +14 -1 lines
Do not warn for ELF note for FDO packaging metadata
(https://systemd.io/COREDUMP_PACKAGE_METADATA/),
found in userland binaries of Fedora 36.

Revision 1.169: download - view: text, markup, annotated - select for diffs
Sat May 28 22:00:55 2022 UTC (2 years, 7 months ago) by andvar
Branches: MAIN
Diff to: previous 1.168: preferred, colored
Changes since revision 1.168: +2 -2 lines
s/hidding/hiding/

Revision 1.168: download - view: text, markup, annotated - select for diffs
Mon Oct 19 19:33:02 2020 UTC (4 years, 2 months ago) by christos
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Diff to: previous 1.167: preferred, colored
Changes since revision 1.167: +9 -5 lines
Arrange so that no options COREDUMP and no options PTRACE work together.
Thanks to Paul Goyette for testing.

Revision 1.167: download - view: text, markup, annotated - select for diffs
Sat Oct 10 21:25:51 2020 UTC (4 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.166: preferred, colored
Changes since revision 1.166: +3 -3 lines
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

Revision 1.160.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:09:03 2020 UTC (4 years, 9 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.160.2.1: preferred, colored; branchpoint 1.160: preferred, colored; next MAIN 1.161: preferred, colored
Changes since revision 1.160.2.1: +103 -9 lines
Merge changes from current as of 20200406

Revision 1.166: download - view: text, markup, annotated - select for diffs
Sat Feb 29 22:09:29 2020 UTC (4 years, 10 months ago) by kamil
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh
Diff to: previous 1.165: preferred, colored
Changes since revision 1.165: +3 -1 lines
Add defines for MIPS_XHASH (.MIPS.xhash)

MIPS version of GNU_HASH as supported by GNU toolchain.

Revision 1.164.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:21:10 2020 UTC (4 years, 10 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.164: preferred, colored; next MAIN 1.165: preferred, colored
Changes since revision 1.164: +2 -1 lines
Sync with head.

Revision 1.165: download - view: text, markup, annotated - select for diffs
Thu Feb 27 13:50:06 2020 UTC (4 years, 10 months ago) by kamil
Branches: MAIN
CVS tags: ad-namecache-base3
Diff to: previous 1.164: preferred, colored
Changes since revision 1.164: +2 -1 lines
Register DT_GNU_HASH

GNU-style hash table is supported in GNU and LLVM toolchains.

https://sourceware.org/ml/binutils/2006-10/msg00377.html

Revision 1.164: download - view: text, markup, annotated - select for diffs
Thu Jan 2 05:18:07 2020 UTC (5 years ago) by kamil
Branches: MAIN
CVS tags: ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.163: preferred, colored
Changes since revision 1.163: +12 -6 lines
Sync the e_ident[EI_OSABI] magic values with the ELF specification

source: http://www.sco.com/developers/gabi/latest/ch4.eheader.html

Revision 1.163: download - view: text, markup, annotated - select for diffs
Thu Jan 2 04:58:07 2020 UTC (5 years ago) by kamil
Branches: MAIN
Diff to: previous 1.162: preferred, colored
Changes since revision 1.162: +88 -3 lines
Update e_machine magic values with the ELF specification

source: http://www.sco.com/developers/gabi/latest/ch4.eheader.html

Revision 1.162: download - view: text, markup, annotated - select for diffs
Thu Jan 2 04:28:51 2020 UTC (5 years ago) by kamil
Branches: MAIN
Diff to: previous 1.161: preferred, colored
Changes since revision 1.161: +2 -2 lines
Fix the EM_TILEGX number in the ELF header

source: http://www.sco.com/developers/gabi/latest/ch4.eheader.html

191 is confirmed in LLVM, GNU toolchain, FreeBSD.

Revision 1.160.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:09:57 2019 UTC (5 years, 7 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.160: preferred, colored
Changes since revision 1.160: +3 -1 lines
Sync with HEAD

Revision 1.161: download - view: text, markup, annotated - select for diffs
Fri Jun 7 23:35:52 2019 UTC (5 years, 7 months ago) by christos
Branches: MAIN
CVS tags: phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9
Diff to: previous 1.160: preferred, colored
Changes since revision 1.160: +3 -1 lines
deduplicate the elf auxv builder code, welcome to 8.99.43

Revision 1.158.2.2: download - view: text, markup, annotated - select for diffs
Mon Jun 25 07:26:07 2018 UTC (6 years, 6 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.158.2.1: preferred, colored; branchpoint 1.158: preferred, colored; next MAIN 1.159: preferred, colored
Changes since revision 1.158.2.1: +29 -6 lines
Sync with HEAD

Revision 1.160: download - view: text, markup, annotated - select for diffs
Thu May 24 17:05:18 2018 UTC (6 years, 7 months ago) by christos
Branches: MAIN
CVS tags: phil-wifi-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, isaki-audio2-base, isaki-audio2
Branch point for: phil-wifi
Diff to: previous 1.159: preferred, colored
Changes since revision 1.159: +29 -6 lines
Complete the list of DF_1 flags.

Revision 1.158.2.1: download - view: text, markup, annotated - select for diffs
Mon Apr 16 02:00:09 2018 UTC (6 years, 9 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.158: preferred, colored
Changes since revision 1.158: +13 -13 lines
Sync with HEAD, resolve some conflicts

Revision 1.159: download - view: text, markup, annotated - select for diffs
Thu Apr 12 20:48:41 2018 UTC (6 years, 9 months ago) by christos
Branches: MAIN
CVS tags: pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415
Diff to: previous 1.158: preferred, colored
Changes since revision 1.158: +13 -13 lines
There have never been binaries with a checksum tag for NetBSD.
These days the equivalent functionality is provided by the build
id tag. It was incorrect in the first place to overload tag #2
(which used to be the emulation name) with a different meaning, so
actually document the meaning that was once used (because binaries
with that tag exist).

Tag existance noticed by kre@

Revision 1.126.2.4: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:39:20 2017 UTC (7 years, 1 month ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.126.2.3: preferred, colored; branchpoint 1.126: preferred, colored; next MAIN 1.127: preferred, colored
Changes since revision 1.126.2.3: +44 -6 lines
update from HEAD

Revision 1.158: download - view: text, markup, annotated - select for diffs
Mon Nov 6 17:56:25 2017 UTC (7 years, 2 months ago) by christos
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, pgoyette-compat-base, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Diff to: previous 1.157: preferred, colored
Changes since revision 1.157: +6 -7 lines
Since _RUMPKERNEL is really userland code it needs ARCH_ELFSIZE,
not KERN_ELFSIZE, make it so!

Revision 1.157: download - view: text, markup, annotated - select for diffs
Mon Nov 6 03:50:33 2017 UTC (7 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.156: preferred, colored
Changes since revision 1.156: +7 -2 lines
Use KERN_ELFSIZE if we are in the kernel.

Revision 1.141.2.3: download - view: text, markup, annotated - select for diffs
Tue May 16 22:52:17 2017 UTC (7 years, 8 months ago) by snj
Branches: netbsd-7
CVS tags: netbsd-7-2-RELEASE
Diff to: previous 1.141.2.2: preferred, colored; branchpoint 1.141: preferred, colored; next MAIN 1.142: preferred, colored
Changes since revision 1.141.2.2: +2 -1 lines
Pull up following revision to fix fallout from ticket #1406:
	sys/sys/exec_elf.h: revision 1.156
Add mips abiflags section

Revision 1.145.2.7: download - view: text, markup, annotated - select for diffs
Wed Oct 5 20:56:11 2016 UTC (8 years, 3 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.145.2.6: preferred, colored; branchpoint 1.145: preferred, colored; next MAIN 1.146: preferred, colored
Changes since revision 1.145.2.6: +3 -2 lines
Sync with HEAD

Revision 1.156: download - view: text, markup, annotated - select for diffs
Sat Sep 3 11:18:28 2016 UTC (8 years, 4 months ago) by christos
Branches: MAIN
CVS tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, netbsd-8-base, netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Diff to: previous 1.155: preferred, colored
Changes since revision 1.155: +2 -1 lines
Add mips abiflags section

Revision 1.145.2.6: download - view: text, markup, annotated - select for diffs
Sat Jul 9 20:25:24 2016 UTC (8 years, 6 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.145.2.5: preferred, colored; branchpoint 1.145: preferred, colored
Changes since revision 1.145.2.5: +2 -1 lines
Sync with HEAD

Revision 1.155: download - view: text, markup, annotated - select for diffs
Tue May 31 20:02:16 2016 UTC (8 years, 7 months ago) by christos
Branches: MAIN
CVS tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, nick-nhusb-base-20160907
Diff to: previous 1.154: preferred, colored
Changes since revision 1.154: +2 -1 lines
Add an ElfW() macro like linux.

Revision 1.145.2.5: download - view: text, markup, annotated - select for diffs
Sun May 29 08:44:40 2016 UTC (8 years, 7 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.145.2.4: preferred, colored; branchpoint 1.145: preferred, colored
Changes since revision 1.145.2.4: +4 -1 lines
Sync with HEAD

Revision 1.154: download - view: text, markup, annotated - select for diffs
Tue May 24 00:49:55 2016 UTC (8 years, 7 months ago) by christos
Branches: MAIN
CVS tags: nick-nhusb-base-20160529
Diff to: previous 1.153: preferred, colored
Changes since revision 1.153: +4 -1 lines
Add a note for the auxv array so we can find our load location from a
core file of a PIE binary.

Revision 1.145.2.4: download - view: text, markup, annotated - select for diffs
Sat Mar 19 11:30:39 2016 UTC (8 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.145.2.3: preferred, colored; branchpoint 1.145: preferred, colored
Changes since revision 1.145.2.3: +4 -7 lines
Sync with HEAD

Revision 1.141.2.2: download - view: text, markup, annotated - select for diffs
Mon Mar 7 08:08:52 2016 UTC (8 years, 10 months ago) by msaitoh
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1
Diff to: previous 1.141.2.1: preferred, colored; branchpoint 1.141: preferred, colored
Changes since revision 1.141.2.1: +2 -1 lines
Pullup the following revision (requested by htodd in ticket #1132):

sys/sys/exec_elf.h				1.143

Add definition of STT_GNU_IFUNC. This change fixes build break caused by
ticket 1126.

Revision 1.153: download - view: text, markup, annotated - select for diffs
Fri Feb 19 20:45:21 2016 UTC (8 years, 10 months ago) by christos
Branches: MAIN
CVS tags: nick-nhusb-base-20160422, nick-nhusb-base-20160319
Diff to: previous 1.152: preferred, colored
Changes since revision 1.152: +3 -2 lines
Intel MCU.

Revision 1.152: download - view: text, markup, annotated - select for diffs
Sat Feb 6 15:36:36 2016 UTC (8 years, 11 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.151: preferred, colored
Changes since revision 1.151: +2 -6 lines
Don't do _BSD_SIZE_T_ dance here.  Use <stddef.h> in userland.

This file is used in tools, where _BSD_SIZE_T_ is unreliable.  In the
kernel, <sys/types.h> will define size_t anyway.  Outside the kernel,
<stddef.h> is the standard way to get size_t.

Revision 1.145.2.3: download - view: text, markup, annotated - select for diffs
Sun Dec 27 12:10:18 2015 UTC (9 years ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.145.2.2: preferred, colored; branchpoint 1.145: preferred, colored
Changes since revision 1.145.2.2: +18 -1 lines
Sync with HEAD (as of 26th Dec)

Revision 1.141.2.1: download - view: text, markup, annotated - select for diffs
Sun Nov 8 00:57:09 2015 UTC (9 years, 2 months ago) by riz
Branches: netbsd-7
Diff to: previous 1.141: preferred, colored
Changes since revision 1.141: +18 -1 lines
Pull up following revision(s) (requested by christos in ticket #1019):
	sys/kern/exec_elf.c: revision 1.79
	sys/sys/exec_elf.h: revision 1.150
	sys/sys/exec_elf.h: revision 1.151
	sys/kern/exec_elf.c: revision 1.80
Ignore the ancient 01.01 tag that gnuc used to put in old NetBSD binaries.
Add buildid Go note

Revision 1.151: download - view: text, markup, annotated - select for diffs
Sun Nov 1 17:44:42 2015 UTC (9 years, 2 months ago) by christos
Branches: MAIN
CVS tags: nick-nhusb-base-20151226
Diff to: previous 1.150: preferred, colored
Changes since revision 1.150: +6 -1 lines
Ignore the ancient 01.01 tag that gnuc used to put in old NetBSD binaries.

Revision 1.150: download - view: text, markup, annotated - select for diffs
Sun Nov 1 15:21:42 2015 UTC (9 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.149: preferred, colored
Changes since revision 1.149: +13 -1 lines
Add buildid Go note

Revision 1.145.2.2: download - view: text, markup, annotated - select for diffs
Tue Sep 22 12:06:17 2015 UTC (9 years, 3 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.145.2.1: preferred, colored; branchpoint 1.145: preferred, colored
Changes since revision 1.145.2.1: +19 -13 lines
Sync with HEAD

Revision 1.149: download - view: text, markup, annotated - select for diffs
Thu Jul 30 15:28:18 2015 UTC (9 years, 5 months ago) by maxv
Branches: MAIN
CVS tags: nick-nhusb-base-20150921
Diff to: previous 1.148: preferred, colored
Changes since revision 1.148: +2 -2 lines
Revamp PaX:
 - don't confuse between ELF flags and proc flags. Introduce the proc-
   specific P_PAX_ASLR, P_PAX_MPROTECT and P_PAX_GUARD flags.
 - introduce pax_setup_elf_flags(), which takes as argument the PaX flag
   of the ELF PaX note section, and which sets the proc flag as
   appropriate. Also introduce a couple of other functions used for that
   purpose.
 - modify pax_aslr_active(), and all the other similar pieces of code, so
   that it checks the proc flag directly, without extra ELF computation

In addition to making PaX clearer, the combination of these changes fixes
the following bug: if a non-PaX'ed process is launched, and then someone
sets security.pax.{aslr,mprotect,segvguard}.global=1, the process becomes
PaX'ed while its address space hasn't been randomized, which is not likely
to be a good idea.

Now, only the proc flag is checked at runtime, which means the process's
PaX status won't be altered during the execution.

Also:
 - declare PAX_DPRINTF, makes it more readable
 - fix a typo in exec_elf.h

Revision 1.148: download - view: text, markup, annotated - select for diffs
Fri Jul 24 21:27:03 2015 UTC (9 years, 5 months ago) by matt
Branches: MAIN
Diff to: previous 1.147: preferred, colored
Changes since revision 1.147: +1 -2 lines
Remove unofficial AVR32

Revision 1.147: download - view: text, markup, annotated - select for diffs
Fri Jul 24 21:09:25 2015 UTC (9 years, 5 months ago) by matt
Branches: MAIN
Diff to: previous 1.146: preferred, colored
Changes since revision 1.146: +9 -2 lines
Add a few more EM_*

Revision 1.145.2.1: download - view: text, markup, annotated - select for diffs
Sat Jun 6 14:40:30 2015 UTC (9 years, 7 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.145: preferred, colored
Changes since revision 1.145: +2 -1 lines
Sync with HEAD

Revision 1.146: download - view: text, markup, annotated - select for diffs
Wed May 20 04:08:54 2015 UTC (9 years, 8 months ago) by matt
Branches: MAIN
CVS tags: nick-nhusb-base-20150606
Diff to: previous 1.145: preferred, colored
Changes since revision 1.145: +2 -1 lines
add struct exec_package;

Revision 1.145: download - view: text, markup, annotated - select for diffs
Thu Oct 23 08:55:32 2014 UTC (10 years, 2 months ago) by martin
Branches: MAIN
CVS tags: nick-nhusb-base-20150406, nick-nhusb-base
Branch point for: nick-nhusb
Diff to: previous 1.144: preferred, colored
Changes since revision 1.144: +6 -1 lines
Add standard size_t dance

Revision 1.144: download - view: text, markup, annotated - select for diffs
Fri Sep 19 09:04:35 2014 UTC (10 years, 4 months ago) by matt
Branches: MAIN
Diff to: previous 1.143: preferred, colored
Changes since revision 1.143: +2 -1 lines
Add EM_RISCV

Revision 1.143: download - view: text, markup, annotated - select for diffs
Mon Aug 25 20:40:52 2014 UTC (10 years, 4 months ago) by joerg
Branches: MAIN
Diff to: previous 1.142: preferred, colored
Changes since revision 1.142: +2 -1 lines
Add basic support for indirect functions. It allows providing a public
function symbol with an implementation choosen at run time.
Refactor calls to functions by address in ld.elf_so to create temporary
function descriptors on the stack, if the address is not leaked outside.

Limitations:
- no support for initialising static storage with function pointers
- no support for unnamed resolver functions

Inspired by FreeBSD's r228435 by kib@freebsd.org.

Revision 1.126.2.3: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:04:44 2014 UTC (10 years, 5 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.126.2.2: preferred, colored; branchpoint 1.126: preferred, colored
Changes since revision 1.126.2.2: +76 -10 lines
Rebase to HEAD as of a few days ago.

Revision 1.142: download - view: text, markup, annotated - select for diffs
Tue Aug 19 07:26:45 2014 UTC (10 years, 5 months ago) by matt
Branches: MAIN
Diff to: previous 1.141: preferred, colored
Changes since revision 1.141: +3 -2 lines
EM_OPENRISC is now EM_OR1K but keep a define of EM_OPENRISC to EM_OR1K around.

Revision 1.140.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:56:54 2014 UTC (10 years, 5 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.140: preferred, colored; next MAIN 1.141: preferred, colored
Changes since revision 1.140: +8 -1 lines
Rebase.

Revision 1.141: download - view: text, markup, annotated - select for diffs
Tue Jul 8 17:16:25 2014 UTC (10 years, 6 months ago) by maxv
Branches: MAIN
CVS tags: tls-maxphys-base, tls-earlyentropy-base, netbsd-7-base, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Branch point for: netbsd-7
Diff to: previous 1.140: preferred, colored
Changes since revision 1.140: +8 -1 lines
Define ELF_MAXNOTESIZE, ELF_MAXSHNUM and ELF_MAXPHNUM in <sys/exec_elf.h>, so
that it can be used externally.

Revision 1.117.2.3: download - view: text, markup, annotated - select for diffs
Thu May 22 11:41:18 2014 UTC (10 years, 7 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.117.2.2: preferred, colored; branchpoint 1.117: preferred, colored; next MAIN 1.118: preferred, colored
Changes since revision 1.117.2.2: +83 -12 lines
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.128.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:46:21 2014 UTC (10 years, 8 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.128: preferred, colored; next MAIN 1.129: preferred, colored
Changes since revision 1.128: +70 -11 lines
sync with head

Revision 1.95.14.1: download - view: text, markup, annotated - select for diffs
Wed Apr 2 17:34:51 2014 UTC (10 years, 9 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.95: preferred, colored; next MAIN 1.96: preferred, colored
Changes since revision 1.95: +4 -1 lines
Support coredumps with >= 65535 psections.

Revision 1.140: download - view: text, markup, annotated - select for diffs
Sun Mar 9 17:59:19 2014 UTC (10 years, 10 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Diff to: previous 1.139: preferred, colored
Changes since revision 1.139: +20 -1 lines
Add more definitions, needed by the new elf toolchain.

Revision 1.139: download - view: text, markup, annotated - select for diffs
Sat Feb 15 16:17:01 2014 UTC (10 years, 11 months ago) by maxv
Branches: MAIN
Diff to: previous 1.138: preferred, colored
Changes since revision 1.138: +3 -3 lines
Remove the last argument of elf_check_header(). It is easier - and faster - to
check the e_type field in the calling function. Other BSD's already do this.

ok christos@

Revision 1.138: download - view: text, markup, annotated - select for diffs
Tue Feb 11 09:04:28 2014 UTC (10 years, 11 months ago) by skrll
Branches: MAIN
Diff to: previous 1.137: preferred, colored
Changes since revision 1.137: +2 -2 lines
Fix typo in DF_STATIC_TLS. From Elliott Hughes on tech-userlevel.

Revision 1.137: download - view: text, markup, annotated - select for diffs
Fri Jan 3 21:34:40 2014 UTC (11 years ago) by dsl
Branches: MAIN
Diff to: previous 1.136: preferred, colored
Changes since revision 1.136: +5 -5 lines
Fix bug in previous (panic during process core dump).
Change the interface to ELFNAMEEND(coredump_savenote) so that the caller
  doesn't need to know the type of the elf note header.
Simplifies the calling code somewhat.

Revision 1.136: download - view: text, markup, annotated - select for diffs
Fri Jan 3 20:52:47 2014 UTC (11 years ago) by dsl
Branches: MAIN
Diff to: previous 1.135: preferred, colored
Changes since revision 1.135: +6 -5 lines
Instead of generating all the 'note' sections twice (and hoping that the
  'fast path' size on the first path matches the actual size on the second)
  save all the notes (mostly the cpu registers for all the LWPs) in
  malloced memory on the first pass.
Sanity check that the number of memory segments matches written matches
  the count obtained earlier. If gcore() is used they could differ.
  (Not sure that returning ENOMEM is ideal, but it is better than a crash.)

Revision 1.135: download - view: text, markup, annotated - select for diffs
Fri Jan 3 16:54:48 2014 UTC (11 years ago) by dsl
Branches: MAIN
Diff to: previous 1.134: preferred, colored
Changes since revision 1.134: +1 -3 lines
Remove the incorrect and unused Elf64_Shalf.
At one time it was used for a 32bit item - but that definition has long
  since been changed to use a reasonable 32bit type.

Revision 1.134: download - view: text, markup, annotated - select for diffs
Thu Jan 2 19:15:07 2014 UTC (11 years ago) by christos
Branches: MAIN
Diff to: previous 1.133: preferred, colored
Changes since revision 1.133: +4 -1 lines
Add more gnu sections

Revision 1.133: download - view: text, markup, annotated - select for diffs
Wed Jan 1 18:57:16 2014 UTC (11 years ago) by dsl
Branches: MAIN
Diff to: previous 1.132: preferred, colored
Changes since revision 1.132: +8 -7 lines
Change the type of the 'cookie' that holds the state of the core dump file
from 'void *' to the actual type 'struct coredump_iostate *'.
In most of the code the contents of the structure are still unknown.
This just stops the wrong type of pointer being passed to the 'void *'
parameter.
I hope I've found everything, amd64 GENERIC and i386 GENERIC & ALL compile.

Revision 1.132: download - view: text, markup, annotated - select for diffs
Tue Nov 5 14:26:19 2013 UTC (11 years, 2 months ago) by martin
Branches: MAIN
Diff to: previous 1.131: preferred, colored
Changes since revision 1.131: +16 -1 lines
Define a new NetBSD specific note to encode the code model used for a binary.
Allow MD code to check these notes in the exec path.

Revision 1.131: download - view: text, markup, annotated - select for diffs
Tue Oct 29 00:22:59 2013 UTC (11 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.130: preferred, colored
Changes since revision 1.130: +2 -1 lines
Add EM_AARCH64 from Elliott Hughes

Revision 1.130: download - view: text, markup, annotated - select for diffs
Mon Oct 28 21:36:43 2013 UTC (11 years, 2 months ago) by matt
Branches: MAIN
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +8 -1 lines
Add DF_* values for DT_FLAGS

Revision 1.129: download - view: text, markup, annotated - select for diffs
Tue Sep 10 16:24:02 2013 UTC (11 years, 4 months ago) by matt
Branches: MAIN
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +15 -1 lines
Add a NetBSD note variant for recording the machine_arch for which the
executable was built.  (currently only used by earm variants)

Revision 1.126.2.2: download - view: text, markup, annotated - select for diffs
Sun Jun 23 06:20:29 2013 UTC (11 years, 6 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.126.2.1: preferred, colored; branchpoint 1.126: preferred, colored
Changes since revision 1.126.2.1: +8 -1 lines
resync from head

Revision 1.128: download - view: text, markup, annotated - select for diffs
Fri Jun 21 01:40:24 2013 UTC (11 years, 6 months ago) by christos
Branches: MAIN
CVS tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Branch point for: rmind-smpnet
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +8 -1 lines
Add the ARM processor-specific sections:
    http://infocenter.arm.com/help/topic/com.arm.doc.ihi0044e/IHI0044E_aaelf.pdf

Revision 1.126.2.1: download - view: text, markup, annotated - select for diffs
Mon Feb 25 00:30:11 2013 UTC (11 years, 10 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.126: preferred, colored
Changes since revision 1.126: +7 -2 lines
resync with head

Revision 1.127: download - view: text, markup, annotated - select for diffs
Wed Jan 30 01:12:56 2013 UTC (11 years, 11 months ago) by matt
Branches: MAIN
CVS tags: khorben-n900, agc-symver-base, agc-symver
Diff to: previous 1.126: preferred, colored
Changes since revision 1.126: +7 -2 lines
Add DT_PREINIT_ARRAY/DT_PREINIT_ARRAYSZ and few other missing ones.

Revision 1.126: download - view: text, markup, annotated - select for diffs
Sun Aug 5 01:43:59 2012 UTC (12 years, 5 months ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6
Branch point for: tls-maxphys
Diff to: previous 1.125: preferred, colored
Changes since revision 1.125: +1 -14 lines
back out elf note changes and use EF_ARM_ABIVERS to determine EABI usage.

Revision 1.125: download - view: text, markup, annotated - select for diffs
Sat Aug 4 09:24:19 2012 UTC (12 years, 5 months ago) by skrll
Branches: MAIN
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +2 -2 lines
define<tab> consistency

Revision 1.124: download - view: text, markup, annotated - select for diffs
Fri Aug 3 07:54:14 2012 UTC (12 years, 5 months ago) by matt
Branches: MAIN
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +14 -1 lines
Add a elf note to describe the ARM ABI in use.  If encounters on arm,
set EXEC_ARM_AAPCS bit in exec_package's ep_flags.
XXX kind of gross but it there's isn't a MD hook for notes so ...

Revision 1.118.2.2: download - view: text, markup, annotated - select for diffs
Sat Jun 2 11:09:39 2012 UTC (12 years, 7 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.118.2.1: preferred, colored; branchpoint 1.118: preferred, colored; next MAIN 1.119: preferred, colored
Changes since revision 1.118.2.1: +22 -5 lines
sync to latest -current.

Revision 1.117.2.2: download - view: text, markup, annotated - select for diffs
Wed May 23 10:08:17 2012 UTC (12 years, 7 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.117.2.1: preferred, colored; branchpoint 1.117: preferred, colored
Changes since revision 1.117.2.1: +22 -5 lines
sync with head.

Revision 1.123: download - view: text, markup, annotated - select for diffs
Tue May 22 02:40:06 2012 UTC (12 years, 7 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base5, jmcneill-usbmp-base10
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +22 -5 lines
- Recognize the SuSE ABI note.
- Restructure the code to do the checking in the appropriate note type,
and harmonize all the checks to be positive.
- Print only the tag data being careful not to overrun the allocated buffer.

Revision 1.117.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:08:51 2012 UTC (12 years, 9 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +618 -608 lines
sync with head

Revision 1.95.10.1: download - view: text, markup, annotated - select for diffs
Sat Mar 17 18:28:37 2012 UTC (12 years, 10 months ago) by bouyer
Branches: netbsd-5
CVS tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2
Diff to: previous 1.95: preferred, colored; next MAIN 1.96: preferred, colored
Changes since revision 1.95: +15 -9 lines
Pull up following revision(s) via patch (requested by skrll in ticket #1724):
	rescue/list.ldd: revision 1.4
	lib/libc/dlfcn/dlfcn_elf.c: revision 1.7
	libexec/ld.elf_so/arch/mips/mips_reloc.c: revision 1.57
	distrib/sets/lists/comp/mi: revision 1.1512
	share/man/man3/Makefile: revision 1.56
	libexec/ld.elf_so/arch/mips/mips_reloc.c: revision 1.58
	usr.bin/ldd/ldd.c: revision 1.15
	libexec/ld.elf_so/rtld.h: revision 1.84
	share/man/man3/dl_iterate_phdr.3: revision 1.1
	libexec/ld.elf_so/rtld.c: revision 1.129
	libexec/ld.elf_so/arch/powerpc/ppc_reloc.c: revision 1.44
	libexec/ld.elf_so/rtld.h: revision 1.89
	libexec/ld.elf_so/arch/x86_64/mdreloc.c: revision 1.36
	libexec/ld.elf_so/map_object.c: revision 1.41
	libexec/ld.elf_so/arch/x86_64/mdreloc.c: revision 1.37
	libexec/ld.elf_so/arch/sparc64/mdreloc.c: revision 1.46
	include/link_elf.h: revision 1.10
	libexec/ld.elf_so/arch/i386/mdreloc.c: revision 1.29
	libexec/ld.elf_so/arch/vax/mdreloc.c: revision 1.26
	libexec/ld.elf_so/arch/alpha/alpha_reloc.c: revision 1.34
	libexec/ld.elf_so/arch/hppa/hppa_reloc.c: revision 1.31
	libexec/ld.elf_so/arch/alpha/alpha_reloc.c: revision 1.35
	libexec/ld.elf_so/Makefile: revision 1.94
	libexec/ld.elf_so/arch/hppa/hppa_reloc.c: revision 1.32
	libexec/ld.elf_so/Makefile: revision 1.95
	libexec/ld.elf_so/arch/arm/mdreloc.c: revision 1.31
	libexec/ld.elf_so/Makefile: revision 1.96
	libexec/ld.elf_so/arch/arm/mdreloc.c: revision 1.32
	libexec/ld.elf_so/reloc.c: revision 1.98
	libexec/ld.elf_so/arch/arm/mdreloc.c: revision 1.33
	sys/sys/exec_elf.h: revision 1.106
	libexec/ld.elf_so/rtld.c: revision 1.130
	libexec/ld.elf_so/load.c: revision 1.37
	libexec/ld.elf_so/rtld.c: revision 1.131
	libexec/ld.elf_so/load.c: revision 1.38
	libexec/ld.elf_so/rtld.h: revision 1.90
	libexec/ld.elf_so/headers.c: revision 1.36
	libexec/ld.elf_so/rtld.h: revision 1.95
	libexec/ld.elf_so/arch/i386/mdreloc.c: revision 1.30
	libexec/ld.elf_so/arch/m68k/mdreloc.c: revision 1.25
	libexec/ld.elf_so/symbol.c: revision 1.50
	libexec/ld.elf_so/symbol.c: revision 1.51
	libexec/ld.elf_so/arch/sparc/mdreloc.c: revision 1.43
	libexec/ld.elf_so/symbol.c: revision 1.52
	libexec/ld.elf_so/arch/sh3/mdreloc.c: revision 1.27
	libexec/ld.elf_so/symbol.c: revision 1.54
PR/39240: Satoshi Suetake: Don't fail when attempting to resolve weak symbols
when we are doing immediate binding, leave them alone and they will be dealt
with later during lazy binding. From skrll@
Implement negative cache checks for symbol lookups.
Uses the Donelist idea from FreeBSD.
Use alloca(3) instead of local xmalloc for creating our DoneLists.
This allows threaded programs to use us a little better, PR lib/43005.
Implement dl_iterate_phdr.
Somewhat taken from FreeBSD. Manual page from OpenBSD.

Revision 1.118.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:35:48 2012 UTC (12 years, 11 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +618 -609 lines
merge to -current.

Revision 1.122: download - view: text, markup, annotated - select for diffs
Sat Feb 4 18:12:02 2012 UTC (12 years, 11 months ago) by joerg
Branches: MAIN
CVS tags: yamt-pagecache-base4, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +3 -2 lines
Add AuxInfo record with the base address of the main thread.

Revision 1.121: download - view: text, markup, annotated - select for diffs
Sat Jan 21 21:44:03 2012 UTC (12 years, 11 months ago) by njoly
Branches: MAIN
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +1 -3 lines
Kill duplicate SHF_MASKOS/SHF_MASKPROC defines.

Revision 1.120: download - view: text, markup, annotated - select for diffs
Thu Jan 19 21:35:11 2012 UTC (13 years ago) by christos
Branches: MAIN
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +537 -527 lines
Add more SHF_ and whitespace align SHT_

Revision 1.119: download - view: text, markup, annotated - select for diffs
Thu Jan 19 21:25:13 2012 UTC (13 years ago) by christos
Branches: MAIN
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +118 -118 lines
whitespace diffs [and comments]

Revision 1.118: download - view: text, markup, annotated - select for diffs
Fri Nov 25 14:34:50 2011 UTC (13 years, 1 month ago) by joerg
Branches: MAIN
CVS tags: jmcneill-usbmp-pre-base2, jmcneill-usbmp-base
Branch point for: jmcneill-usbmp
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +2 -1 lines
Add SHT_GNU_HASH.

Revision 1.117: download - view: text, markup, annotated - select for diffs
Wed Aug 3 00:22:05 2011 UTC (13 years, 5 months ago) by enami
Branches: MAIN
CVS tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +3 -3 lines
Replace the word `NetBSD' with `SuSE' in the rest of comments
for the cpp macro constatnt ELF_NOTE_SUSE_*.

Revision 1.116: download - view: text, markup, annotated - select for diffs
Tue Aug 2 16:44:01 2011 UTC (13 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +20 -1 lines
Add SuSE note

Revision 1.115: download - view: text, markup, annotated - select for diffs
Tue Jul 19 19:46:42 2011 UTC (13 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +35 -35 lines
define<tab>

Revision 1.114: download - view: text, markup, annotated - select for diffs
Tue Jul 19 19:46:13 2011 UTC (13 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +74 -14 lines
document all the notes we know about in a consistent fashion.
XXX: someone please document the checksum tags.

Revision 1.113: download - view: text, markup, annotated - select for diffs
Sat Jun 25 05:45:10 2011 UTC (13 years, 6 months ago) by nonaka
Branches: MAIN
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +27 -1 lines
PR/45015: ld.elf_so: support ELF symbol versioning
Applied latest patch.

Revision 1.108.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:10:10 2011 UTC (13 years, 7 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.108: preferred, colored; next MAIN 1.109: preferred, colored
Changes since revision 1.108: +12 -5 lines
Sync with HEAD.

Revision 1.102.2.2: download - view: text, markup, annotated - select for diffs
Tue May 31 03:05:12 2011 UTC (13 years, 7 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.102.2.1: preferred, colored; branchpoint 1.102: preferred, colored; next MAIN 1.103: preferred, colored
Changes since revision 1.102.2.1: +3 -3 lines
sync with head

Revision 1.112: download - view: text, markup, annotated - select for diffs
Thu May 26 16:42:15 2011 UTC (13 years, 7 months ago) by nonaka
Branches: MAIN
CVS tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base, cherry-xenmp
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +3 -3 lines
fix ELFxx_M_SIZE macro.

Revision 1.111: download - view: text, markup, annotated - select for diffs
Thu May 26 16:40:38 2011 UTC (13 years, 7 months ago) by nonaka
Branches: MAIN
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +2 -2 lines
fix spelling.

Revision 1.102.2.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:56:23 2011 UTC (13 years, 10 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +60 -44 lines
sync with head

Revision 1.108.4.2: download - view: text, markup, annotated - select for diffs
Sat Mar 5 15:10:51 2011 UTC (13 years, 10 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.108.4.1: preferred, colored; branchpoint 1.108: preferred, colored; next MAIN 1.109: preferred, colored
Changes since revision 1.108.4.1: +3 -1 lines
Sync with HEAD

Revision 1.110: download - view: text, markup, annotated - select for diffs
Fri Mar 4 22:25:32 2011 UTC (13 years, 10 months ago) by joerg
Branches: MAIN
CVS tags: bouyer-quota2-nbase
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +3 -1 lines
Refactor ps_strings access. Based on PK_32, write either the normal
version or the 32bit compat layout in execve1. Introduce a new function
copyin_psstrings for reading it back from userland and converting it to
the native layout. Refactor procfs to share most of the code with the
kern.proc_args sysctl handler.

This material is based upon work partially supported by
The NetBSD Foundation under a contract with Joerg Sonnenberger.

Revision 1.108.4.1: download - view: text, markup, annotated - select for diffs
Thu Feb 17 12:00:51 2011 UTC (13 years, 11 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +7 -2 lines
Sync with HEAD

Revision 1.109: download - view: text, markup, annotated - select for diffs
Wed Feb 16 23:22:30 2011 UTC (13 years, 11 months ago) by christos
Branches: MAIN
CVS tags: uebayasi-xip-base7, bouyer-quota2-base
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +7 -2 lines
add the rest of the gnu specific pt sections.

Revision 1.108: download - view: text, markup, annotated - select for diffs
Fri Dec 24 12:41:43 2010 UTC (14 years ago) by skrll
Branches: MAIN
CVS tags: matt-mips64-premerge-20101231, jruoho-x86intr-base
Branch point for: jruoho-x86intr, bouyer-quota2
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +4 -1 lines
Add support for DF_1_BIND_NOW, DF_1_NODELETE and DF_1_NOOPEN marked
objects, and the RTLD_NODELETE and RTLD_NOLOAD flags to dlopen(3).

Mark libpthread as DF_1_NOOPEN and use it to test the functionality.

Somewhat taken from FreeBSD.

Fixes PR 42029.

OK from christos and joerg.

Revision 1.107: download - view: text, markup, annotated - select for diffs
Mon Dec 13 19:37:32 2010 UTC (14 years, 1 month ago) by joerg
Branches: MAIN
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +2 -1 lines
Add PT_GNU_EH_FRAME definition

Revision 1.100.2.2: download - view: text, markup, annotated - select for diffs
Fri Oct 22 07:22:54 2010 UTC (14 years, 2 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.100.2.1: preferred, colored; branchpoint 1.100: preferred, colored; next MAIN 1.101: preferred, colored
Changes since revision 1.100.2.1: +48 -43 lines
Sync with HEAD (-D20101022).

Revision 1.106: download - view: text, markup, annotated - select for diffs
Sat Oct 16 10:27:08 2010 UTC (14 years, 3 months ago) by skrll
Branches: MAIN
CVS tags: uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +15 -9 lines
Implement dl_iterate_phdr.

Somewhat taken from FreeBSD. Manual page from OpenBSD.

Revision 1.105: download - view: text, markup, annotated - select for diffs
Thu Oct 14 07:57:34 2010 UTC (14 years, 3 months ago) by skrll
Branches: MAIN
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +3 -2 lines
Define PT_TLS.

Revision 1.94.10.5: download - view: text, markup, annotated - select for diffs
Sat Oct 9 03:32:45 2010 UTC (14 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.94.10.4: preferred, colored; branchpoint 1.94: preferred, colored; next MAIN 1.95: preferred, colored
Changes since revision 1.94.10.4: +33 -35 lines
sync with head

Revision 1.104: download - view: text, markup, annotated - select for diffs
Thu Sep 30 09:11:19 2010 UTC (14 years, 3 months ago) by skrll
Branches: MAIN
CVS tags: yamt-nfs-mp-base11
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +5 -5 lines
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.

Revision 1.103: download - view: text, markup, annotated - select for diffs
Sat Aug 28 21:30:02 2010 UTC (14 years, 4 months ago) by joerg
Branches: MAIN
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +29 -31 lines
Replace the current usage of Elf64_Half with Elf64_Word and rename
NetBSD specific Elf64_Quarter to Elf64_Half. This restores compatibility
with the common ELF specifications.

Revision 1.100.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:44:32 2010 UTC (14 years, 8 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +4 -2 lines
Sync with HEAD.

Revision 1.94.10.4: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:04:41 2010 UTC (14 years, 10 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.94.10.3: preferred, colored; branchpoint 1.94: preferred, colored
Changes since revision 1.94.10.3: +178 -48 lines
sync with head

Revision 1.102: download - view: text, markup, annotated - select for diffs
Mon Mar 1 11:27:29 2010 UTC (14 years, 10 months ago) by skrll
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, yamt-nfs-mp-base10, uebayasi-xip-base2, uebayasi-xip-base1
Branch point for: rmind-uvmplock
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +3 -3 lines
Use #define<tab> consistently.

Revision 1.101: download - view: text, markup, annotated - select for diffs
Mon Mar 1 11:19:41 2010 UTC (14 years, 10 months ago) by darran
Branches: MAIN
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +4 -2 lines
DTrace: fix a few problems introduced by the recent ZFS update (expected
problems from the OpenSolaris merge).

Revision 1.100: download - view: text, markup, annotated - select for diffs
Sun Dec 20 05:50:20 2009 UTC (15 years, 1 month ago) by thorpej
Branches: MAIN
CVS tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +34 -1 lines
Add defns for Elf{32,64}_Syminfo.

Revision 1.99: download - view: text, markup, annotated - select for diffs
Sat Dec 19 09:02:46 2009 UTC (15 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +141 -46 lines
Add some definitions, from FreeBSD.

Revision 1.98: download - view: text, markup, annotated - select for diffs
Tue Nov 24 16:55:11 2009 UTC (15 years, 1 month ago) by pooka
Branches: MAIN
CVS tags: matt-premerge-20091211
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +3 -3 lines
fix comments: st_name is index in .strtab

Revision 1.96.4.1: download - view: text, markup, annotated - select for diffs
Thu Jul 23 23:32:56 2009 UTC (15 years, 5 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.96: preferred, colored; next MAIN 1.97: preferred, colored
Changes since revision 1.96: +5 -1 lines
Sync with HEAD.

Revision 1.94.10.3: download - view: text, markup, annotated - select for diffs
Sat Jun 20 07:20:37 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.94.10.2: preferred, colored; branchpoint 1.94: preferred, colored
Changes since revision 1.94.10.2: +5 -1 lines
sync with head

Revision 1.97: download - view: text, markup, annotated - select for diffs
Fri May 22 21:44:50 2009 UTC (15 years, 7 months ago) by martin
Branches: MAIN
CVS tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, jymxensuspend-base, jym-xensuspend-nbase
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +5 -1 lines
Add a signed offset type

Revision 1.94.10.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:14:35 2009 UTC (15 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.94.10.1: preferred, colored; branchpoint 1.94: preferred, colored
Changes since revision 1.94.10.1: +2 -2 lines
sync with head.

Revision 1.95.8.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:20:30 2009 UTC (16 years ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.95: preferred, colored; next MAIN 1.96: preferred, colored
Changes since revision 1.95: +2 -2 lines
Sync with HEAD.

Revision 1.94.6.2: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:29:40 2009 UTC (16 years ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.94.6.1: preferred, colored; branchpoint 1.94: preferred, colored; next MAIN 1.95: preferred, colored
Changes since revision 1.94.6.1: +1 -1 lines
Sync with HEAD.

Revision 1.95.6.1: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:15:35 2008 UTC (16 years, 1 month ago) by haad
Branches: haad-dm
Diff to: previous 1.95: preferred, colored; next MAIN 1.96: preferred, colored
Changes since revision 1.95: +2 -2 lines
Update haad-dm branch to haad-dm-base2.

Revision 1.96: download - view: text, markup, annotated - select for diffs
Wed Nov 12 12:36:28 2008 UTC (16 years, 2 months ago) by ad
Branches: MAIN
CVS tags: yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, mjf-devfs2-base, jym-xensuspend-base, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: jym-xensuspend
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +2 -2 lines
Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.

Revision 1.94.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:24:32 2008 UTC (16 years, 7 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +1 -8 lines
Sync with HEAD.

Revision 1.94.8.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:35:49 2008 UTC (16 years, 8 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.94: preferred, colored; next MAIN 1.95: preferred, colored
Changes since revision 1.94: +1 -8 lines
sync with head.

Revision 1.94.10.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:25:50 2008 UTC (16 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +1 -8 lines
sync with head.

Revision 1.95: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:24:10 2008 UTC (16 years, 8 months ago) by martin
Branches: MAIN
CVS tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, netbsd-5-base, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, hpcarm-cleanup-nbase, haad-dm-base1
Branch point for: nick-hppapmap, netbsd-5, matt-nb5-mips64, haad-dm
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +1 -8 lines
Remove clause 3 and 4 from TNF licenses

Revision 1.91.8.2: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:07:23 2008 UTC (16 years, 11 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.91.8.1: preferred, colored; branchpoint 1.91: preferred, colored; next MAIN 1.92: preferred, colored
Changes since revision 1.91.8.1: +7 -5 lines
Sync with HEAD.

Revision 1.82.2.5: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:47:48 2008 UTC (17 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.82.2.4: preferred, colored; next MAIN 1.83: preferred, colored
Changes since revision 1.82.2.4: +11 -5 lines
sync with head

Revision 1.91.2.1: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:58:08 2008 UTC (17 years ago) by matt
Branches: matt-armv6
Diff to: previous 1.91: preferred, colored; next MAIN 1.92: preferred, colored
Changes since revision 1.91: +12 -6 lines
sync with HEAD

Revision 1.93.4.1: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:57:59 2008 UTC (17 years ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.93: preferred, colored; next MAIN 1.94: preferred, colored
Changes since revision 1.93: +7 -5 lines
Sync with HEAD

Revision 1.94: download - view: text, markup, annotated - select for diffs
Wed Dec 26 22:11:52 2007 UTC (17 years ago) by christos
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, bouyer-xeni386-nbase, bouyer-xeni386-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, mjf-devfs2
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +7 -5 lines
Add PaX ASLR (Address Space Layout Randomization) [from elad and myself]

For regular (non PIE) executables randomization is enabled for:
    1. The data segment
    2. The stack

For PIE executables(*) randomization is enabled for:
    1. The program itself
    2. All shared libraries
    3. The data segment
    4. The stack

(*) To generate a PIE executable:
    - compile everything with -fPIC
    - link with -shared-libgcc -Wl,-pie

This feature is experimental, and might change. To use selectively add
    options PAX_ASLR=0
in your kernel.

Currently we are using 12 bits for the stack, program, and data segment and
16 or 24 bits for mmap, depending on __LP64__.

Revision 1.90.6.3: download - view: text, markup, annotated - select for diffs
Sun Dec 9 19:38:47 2007 UTC (17 years, 1 month ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.90.6.2: preferred, colored; branchpoint 1.90: preferred, colored; next MAIN 1.91: preferred, colored
Changes since revision 1.90.6.2: +5 -1 lines
Sync with HEAD.

Revision 1.89.12.1: download - view: text, markup, annotated - select for diffs
Sun Dec 9 16:04:10 2007 UTC (17 years, 1 month ago) by reinoud
Branches: reinoud-bufcleanup
Diff to: previous 1.89: preferred, colored; next MAIN 1.90: preferred, colored
Changes since revision 1.89: +5 -1 lines
Pullup to HEAD

Revision 1.91.8.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:21:31 2007 UTC (17 years, 1 month ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +6 -2 lines
Sync with HEAD.

Revision 1.92.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 17:58:06 2007 UTC (17 years, 1 month ago) by ad
Branches: vmlocking2
Diff to: previous 1.92: preferred, colored; next MAIN 1.93: preferred, colored
Changes since revision 1.92: +5 -1 lines
Sync with head.

Revision 1.93: download - view: text, markup, annotated - select for diffs
Fri Dec 7 20:34:06 2007 UTC (17 years, 1 month ago) by ad
Branches: MAIN
CVS tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, reinoud-bufcleanup-nbase, jmcneill-pm-base, cube-autoconf-base, cube-autoconf
Branch point for: bouyer-xeni386
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +5 -1 lines
rtld changes for PR bin/37347:

- Apply patch from J.T. Conklin to execute .init/.fini functions in order.
- Support DF_1_INITFIRST and mark libc with DF_1_INITFIRST. Shared libs
  should be recording a dependency on libc, but it's too late to do that.

Ok christos@.

Revision 1.82.2.4: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:34:53 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.82.2.3: preferred, colored
Changes since revision 1.82.2.3: +2 -2 lines
sync with head

Revision 1.90.6.2: download - view: text, markup, annotated - select for diffs
Mon Dec 3 16:15:17 2007 UTC (17 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.90.6.1: preferred, colored; branchpoint 1.90: preferred, colored
Changes since revision 1.90.6.1: +2 -2 lines
Sync with HEAD.

Revision 1.92: download - view: text, markup, annotated - select for diffs
Mon Dec 3 02:06:59 2007 UTC (17 years, 1 month ago) by christos
Branches: MAIN
CVS tags: vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-base
Branch point for: vmlocking2
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +2 -2 lines
- add an elf aux vector entry for implementing $ORIGIN.
- the code to convert from a vnode to a path is commented out now until
  a better solution is implemented. Only absolute paths work for now
  (which is most of the cases).

requested by core

Revision 1.90.6.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:49:12 2007 UTC (17 years, 4 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +2 -1 lines
Sync with HEAD.

Revision 1.82.2.3: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:46:12 2007 UTC (17 years, 4 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.82.2.2: preferred, colored
Changes since revision 1.82.2.2: +18 -11 lines
sync with head.

Revision 1.90.2.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 10:23:59 2007 UTC (17 years, 4 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.90: preferred, colored; next MAIN 1.91: preferred, colored
Changes since revision 1.90: +2 -1 lines
Sync with HEAD.

Revision 1.89.16.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 07:05:15 2007 UTC (17 years, 4 months ago) by wrstuden
Branches: wrstuden-fixsa
Diff to: previous 1.89: preferred, colored; next MAIN 1.90: preferred, colored
Changes since revision 1.89: +17 -11 lines
Sync w/ NetBSD-4-RC_1

Revision 1.89.8.2: download - view: text, markup, annotated - select for diffs
Mon Aug 20 21:28:16 2007 UTC (17 years, 5 months ago) by ad
Branches: vmlocking
Diff to: previous 1.89.8.1: preferred, colored; branchpoint 1.89: preferred, colored; next MAIN 1.90: preferred, colored
Changes since revision 1.89.8.1: +2 -1 lines
Sync with HEAD.

Revision 1.91: download - view: text, markup, annotated - select for diffs
Sun Aug 19 03:38:52 2007 UTC (17 years, 5 months ago) by matt
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, nick-csl-alignment-base5, matt-armv6-prevmlocking, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: mjf-devfs, matt-armv6
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +2 -1 lines
Add EM_AVR32

Revision 1.89.8.1: download - view: text, markup, annotated - select for diffs
Sun Jul 15 13:28:09 2007 UTC (17 years, 6 months ago) by ad
Branches: vmlocking
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +17 -11 lines
Sync with head.

Revision 1.89.10.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:12:26 2007 UTC (17 years, 6 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.89: preferred, colored; next MAIN 1.90: preferred, colored
Changes since revision 1.89: +17 -11 lines
Sync with head.

Revision 1.89.2.1: download - view: text, markup, annotated - select for diffs
Mon Jul 9 10:30:55 2007 UTC (17 years, 6 months ago) by liamjfoy
Branches: netbsd-4
CVS tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, matt-nb4-arm-base, matt-nb4-arm
Diff to: previous 1.89: preferred, colored; next MAIN 1.90: preferred, colored
Changes since revision 1.89: +17 -11 lines
Pull up following revision(s) (requested by christos in ticket #755):
	sys/sys/pax.h: revision 1.9
	sys/sys/exec_elf.h: revision 1.90
	usr.sbin/paxctl/paxctl.c: revision 1.2
	sys/kern/kern_pax.c: revision 1.16
	sys/sys/exec.h: revision 1.117
	sys/kern/exec_elf32.c: revision 1.124
	libexec/ld.elf_so/sysident.h: revision 1.14
Use an elf note to handle pax arguments. This is a temporary solution to
avoid wasting OS flag bits. In the future we'll probably use fileassoc to
achieve this (once there is a way to make fileassoc persistent) or in the
shorter term libelf, so that we can add and remove the note on demand instead
of burning bits on each binary. Of course since this is a tool, this means
that we'll need to think about how to handle libelf...

Revision 1.90: download - view: text, markup, annotated - select for diffs
Sun Jun 24 20:35:37 2007 UTC (17 years, 6 months ago) by christos
Branches: MAIN
CVS tags: nick-csl-alignment-base, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: nick-csl-alignment, jmcneill-pm
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +17 -11 lines
Use an elf note to handle pax arguments. This is a temporary solution to
avoid wasting OS flag bits. In the future we'll probably use fileassoc to
achieve this (once there is a way to make fileassoc persistent) or in the
shorter term libelf, so that we can add and remove the note on demand instead
of burning bits on each binary. Of course since this is a tool, this means
that we'll need to think about how to handle libelf...

Revision 1.87.2.1: download - view: text, markup, annotated - select for diffs
Fri Jan 12 01:04:23 2007 UTC (18 years ago) by ad
Branches: newlock2
Diff to: previous 1.87: preferred, colored; next MAIN 1.88: preferred, colored
Changes since revision 1.87: +7 -1 lines
Sync with head.

Revision 1.82.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:50:55 2006 UTC (18 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.82.2.1: preferred, colored
Changes since revision 1.82.2.1: +94 -9 lines
sync with head.

Revision 1.87.4.1: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:19:28 2006 UTC (18 years, 1 month ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.87: preferred, colored; next MAIN 1.88: preferred, colored
Changes since revision 1.87: +7 -1 lines
sync with head.

Revision 1.89: download - view: text, markup, annotated - select for diffs
Wed Nov 22 15:08:47 2006 UTC (18 years, 1 month ago) by riz
Branches: MAIN
CVS tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-idlelwp-base8, yamt-idlelwp, thorpej-atomic-base, thorpej-atomic, post-newlock2-merge, newlock2-nbase, newlock2-base, netbsd-4-base, ad-audiomp-base, ad-audiomp
Branch point for: wrstuden-fixsa, vmlocking, reinoud-bufcleanup, netbsd-4, mjf-ufs-trans
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +5 -1 lines
Make sys/exec_elf.h and machine/elf_machdep.h available to host
tools, and allow paxctl to use them when compiled as a host
tool.  This fixes the build on MacOS X (and perhaps other platforms)

Revision 1.88: download - view: text, markup, annotated - select for diffs
Wed Nov 22 12:00:14 2006 UTC (18 years, 1 month ago) by elad
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +3 -1 lines
Damn, missed in previous commit. Add PaX Segvguard flags.

Revision 1.85.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:59:42 2006 UTC (18 years, 4 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.85: preferred, colored; next MAIN 1.86: preferred, colored
Changes since revision 1.85: +91 -9 lines
sync with head

Revision 1.85.8.2: download - view: text, markup, annotated - select for diffs
Sun Sep 3 15:25:56 2006 UTC (18 years, 4 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.85.8.1: preferred, colored; branchpoint 1.85: preferred, colored; next MAIN 1.86: preferred, colored
Changes since revision 1.85.8.1: +88 -9 lines
sync with head.

Revision 1.87: download - view: text, markup, annotated - select for diffs
Wed Aug 30 11:35:21 2006 UTC (18 years, 4 months ago) by matt
Branches: MAIN
CVS tags: yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl, newlock2
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +88 -9 lines
Regen.

Revision 1.82.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:12:03 2006 UTC (18 years, 7 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +15 -6 lines
sync with head.

Revision 1.85.6.1: download - view: text, markup, annotated - select for diffs
Thu Jun 1 22:39:26 2006 UTC (18 years, 7 months ago) by kardel
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.85: preferred, colored; next MAIN 1.86: preferred, colored
Changes since revision 1.85: +4 -1 lines
Sync with head.

Revision 1.85.12.1: download - view: text, markup, annotated - select for diffs
Wed May 24 15:50:47 2006 UTC (18 years, 7 months ago) by tron
Branches: peter-altq
Diff to: previous 1.85: preferred, colored; next MAIN 1.86: preferred, colored
Changes since revision 1.85: +4 -1 lines
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.85.8.1: download - view: text, markup, annotated - select for diffs
Wed May 24 10:59:21 2006 UTC (18 years, 7 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +4 -1 lines
sync with head.

Revision 1.86: download - view: text, markup, annotated - select for diffs
Tue May 16 00:08:25 2006 UTC (18 years, 8 months ago) by elad
Branches: MAIN
CVS tags: yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, simonb-timecounters-base, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +4 -1 lines
Introduce PaX MPROTECT -- mprotect(2) restrictions used to strengthen
W^X mappings.

Disabled by default.

First proposed in:

	http://mail-index.netbsd.org/tech-security/2005/12/18/0000.html

More information in:

	http://pax.grsecurity.net/docs/mprotect.txt

Read relevant parts of options(4) and sysctl(3) before using!

Lots of thanks to the PaX author and Matt Thomas.

Revision 1.85: download - view: text, markup, annotated - select for diffs
Sun Dec 18 19:05:12 2005 UTC (19 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base, elad-kernelauth-base, elad-kernelauth
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +1 -2 lines
there is no elf64_read_from.

Revision 1.84: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:25:20 2005 UTC (19 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +6 -6 lines
merge ktrace-lwp.

Revision 1.70.2.10: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:12:12 2005 UTC (19 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.70.2.9: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70.2.9: +14 -7 lines
Sync with HEAD. Here we go again...

Revision 1.83: download - view: text, markup, annotated - select for diffs
Wed Aug 17 17:24:31 2005 UTC (19 years, 5 months ago) by matt
Branches: MAIN
CVS tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +8 -1 lines
Add NetBSD checksum notes.

Revision 1.82: download - view: text, markup, annotated - select for diffs
Fri Jun 10 05:10:13 2005 UTC (19 years, 7 months ago) by matt
Branches: MAIN
Branch point for: yamt-lazymbuf
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +7 -7 lines
Rework the coredump code to have no explicit knownledge of how coredump
i/o is done.  Instead, pass an opaque cookie which is then passed to a
new routine, coredump_write, which does the actual i/o.  This allows the
method of doing i/o to change without affecting any future MD code.
Also, make netbsd32_core.c [re]use core_netbsd.c (in a similar manner that
core_elf64.c uses core_elf32.c) and eliminate that code duplication.
cpu_coredump{,32} is now called twice, first with a NULL iocookie to fill
the core structure and a second to actually write md parts of the coredump.
All i/o is nolonger random access and is suitable for shipping over a stream.

Revision 1.79.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:29:37 2005 UTC (19 years, 8 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.79: preferred, colored; next MAIN 1.80: preferred, colored
Changes since revision 1.79: +6 -6 lines
sync with -current

Revision 1.79.4.2: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:36:52 2005 UTC (19 years, 10 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.79.4.1: preferred, colored; branchpoint 1.79: preferred, colored; next MAIN 1.80: preferred, colored
Changes since revision 1.79.4.1: +3 -3 lines
sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.70.2.9: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:54:22 2005 UTC (19 years, 10 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.70.2.8: preferred, colored
Changes since revision 1.70.2.8: +3 -3 lines
Sync with HEAD.

Hi Perry!

Revision 1.81: download - view: text, markup, annotated - select for diffs
Sat Feb 26 22:25:34 2005 UTC (19 years, 10 months ago) by perry
Branches: MAIN
CVS tags: yamt-km-base4, yamt-km-base3, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio2-base
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +3 -3 lines
nuke trailing whitespace

Revision 1.79.4.1: download - view: text, markup, annotated - select for diffs
Sat Feb 12 18:17:55 2005 UTC (19 years, 11 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +4 -4 lines
sync with head.

Revision 1.70.2.8: download - view: text, markup, annotated - select for diffs
Fri Feb 4 11:48:05 2005 UTC (19 years, 11 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.70.2.7: preferred, colored
Changes since revision 1.70.2.7: +4 -4 lines
Sync with HEAD.

Revision 1.80: download - view: text, markup, annotated - select for diffs
Thu Feb 3 19:20:01 2005 UTC (19 years, 11 months ago) by perry
Branches: MAIN
CVS tags: yamt-km-base2
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +4 -4 lines
de-__P

Revision 1.70.2.7: download - view: text, markup, annotated - select for diffs
Mon Jan 17 19:33:10 2005 UTC (20 years ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.70.2.6: preferred, colored
Changes since revision 1.70.2.6: +25 -17 lines
Sync with HEAD.

Revision 1.79: download - view: text, markup, annotated - select for diffs
Tue Dec 28 00:07:31 2004 UTC (20 years ago) by thorpej
Branches: MAIN
CVS tags: yamt-km-base, kent-audio1-beforemerge
Branch point for: yamt-km, kent-audio2
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +6 -5 lines
Use uint32_t casts, rather than Elf_Byte, in ELF_ST_BIND() and ELF_ST_TYPE()
so we don't get screwed by promotion rules (and makes nlist_elf32.ln build
again).

Revision 1.78: download - view: text, markup, annotated - select for diffs
Mon Dec 27 21:35:03 2004 UTC (20 years ago) by christos
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +13 -1 lines
According to the ELF docs, ELF{32,64}_ST_{BIND,TYPE,INFO,VISIBILITY} are
parts of the public interface. Define them in terms of ELF_ST_*.
Add STN_UNDEF which is part of the public interface also.

Revision 1.77: download - view: text, markup, annotated - select for diffs
Sun Dec 26 23:37:29 2004 UTC (20 years ago) by mycroft
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +12 -17 lines
Remove ELFn_ST_{BIND,TYPE,INFO}(), and instead add a generic ELF_ST_*() that
works with an Elf_Byte.  Also add ELF_ST_VISIBILITY() and STV_* types.

Revision 1.70.2.6: download - view: text, markup, annotated - select for diffs
Thu Nov 18 21:06:01 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.70.2.5: preferred, colored
Changes since revision 1.70.2.5: +1 -69 lines
Remove WIP from previous commit.

Revision 1.70.2.5: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:38:45 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.70.2.4: preferred, colored
Changes since revision 1.70.2.4: +76 -8 lines
Fix the sync with head I botched.

Revision 1.70.2.4: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:56:30 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.70.2.3: preferred, colored
Changes since revision 1.70.2.3: +7 -75 lines
Sync with HEAD.

Revision 1.70.2.3: download - view: text, markup, annotated - select for diffs
Wed Aug 25 06:59:14 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.70.2.2: preferred, colored
Changes since revision 1.70.2.2: +69 -1 lines
Sync with HEAD.

Revision 1.70.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:56:26 2004 UTC (20 years, 5 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.70.2.1: preferred, colored
Changes since revision 1.70.2.1: +25 -20 lines
Sync with HEAD

Revision 1.76: download - view: text, markup, annotated - select for diffs
Mon May 17 02:28:17 2004 UTC (20 years, 8 months ago) by mrg
Branches: MAIN
CVS tags: kent-audio1-base, kent-audio1
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +2 -1 lines
add EI_NIDENT (16) as seen in other <elf.h> headers.

Revision 1.75: download - view: text, markup, annotated - select for diffs
Fri Feb 13 11:36:23 2004 UTC (20 years, 11 months ago) by wiz
Branches: MAIN
CVS tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +4 -4 lines
Uppercase CPU, plural is CPUs.

Revision 1.74: download - view: text, markup, annotated - select for diffs
Tue Feb 10 13:50:20 2004 UTC (20 years, 11 months ago) by pooka
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +2 -2 lines
fix typo in comment: magic numbers are indexed EI_MAG0 through EI_MAG3,
not ELFMAG0 through ELFMAG3 (which are the contents)

Revision 1.73: download - view: text, markup, annotated - select for diffs
Fri Oct 31 13:54:39 2003 UTC (21 years, 2 months ago) by drochner
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +5 -1 lines
introduce another "magic" ELF address to tell that the file has to be
mapped at the address it was linked for

Revision 1.72: download - view: text, markup, annotated - select for diffs
Fri Aug 8 18:54:16 2003 UTC (21 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +1 -4 lines
- Add execsw es_setup_stack
- gc all the rest of the setup stack functions.

Revision 1.71: download - view: text, markup, annotated - select for diffs
Wed Aug 6 01:02:26 2003 UTC (21 years, 5 months ago) by manu
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +16 -13 lines
Make elf{32|64}_check_header public, as it will be used by irix_elf32_probe.
While we are there, cut to 80 chars, and ANSIfy prototypes

Revision 1.70.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 2 15:27:15 2003 UTC (21 years, 6 months ago) by darrenr
Branches: ktrace-lwp
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +8 -8 lines
Apply the aborted ktrace-lwp changes to a specific branch.  This is just for
others to review, I'm concerned that patch fuziness may have resulted in some
errant code being generated but I'll look at that later by comparing the diff
from the base to the branch with the file I attempt to apply to it.  This will,
at the very least, put the changes in a better context for others to review
them and attempt to tinker with removing passing of 'struct lwp' through
the kernel.

Revision 1.70: download - view: text, markup, annotated - select for diffs
Sun Jun 29 22:32:24 2003 UTC (21 years, 6 months ago) by fvdl
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +7 -7 lines
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.

Revision 1.69: download - view: text, markup, annotated - select for diffs
Sat Jun 28 14:22:20 2003 UTC (21 years, 6 months ago) by darrenr
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +8 -8 lines
Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records.  The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.

Bump the kernel rev up to 1.6V

Revision 1.68: download - view: text, markup, annotated - select for diffs
Tue May 20 17:39:18 2003 UTC (21 years, 8 months ago) by nathanw
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +2 -1 lines
Add a field to netbsd_elfcore_procinfo that identifies the LWP targeted
by the killing signal.

Revision 1.67: download - view: text, markup, annotated - select for diffs
Sat Jan 18 09:53:18 2003 UTC (22 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +3 -3 lines
Merge the nathanw_sa branch.

Revision 1.40.2.12: download - view: text, markup, annotated - select for diffs
Wed Dec 11 06:50:05 2002 UTC (22 years, 1 month ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.40.2.11: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40.2.11: +8 -6 lines
Sync with HEAD.

Revision 1.66: download - view: text, markup, annotated - select for diffs
Wed Nov 27 13:47:15 2002 UTC (22 years, 1 month ago) by wiz
Branches: MAIN
CVS tags: nathanw_sa_before_merge, nathanw_sa_base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +2 -2 lines
Fix typo in comment.

Revision 1.65: download - view: text, markup, annotated - select for diffs
Wed Nov 27 13:15:50 2002 UTC (22 years, 1 month ago) by junyoung
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +8 -6 lines
Program header types 0x60000000 ~ 0x6fffffff are reserved for
OS-specific semantics.

Revision 1.40.2.11: download - view: text, markup, annotated - select for diffs
Fri Oct 18 02:45:41 2002 UTC (22 years, 3 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.40.2.10: preferred, colored
Changes since revision 1.40.2.10: +2 -2 lines
Catch up to -current.

Revision 1.64: download - view: text, markup, annotated - select for diffs
Sat Oct 5 14:09:15 2002 UTC (22 years, 3 months ago) by bjh21
Branches: MAIN
CVS tags: kqueue-beforemerge, kqueue-aftermerge
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +3 -3 lines
Update URLs again (serves me right for committing an old change
without checking it).  Back to sco.com, but with a different path.

Revision 1.63: download - view: text, markup, annotated - select for diffs
Sat Oct 5 13:29:29 2002 UTC (22 years, 3 months ago) by bjh21
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +3 -3 lines
Update URLs for ELF spec (sco.com -> caldera.com).

Revision 1.51.2.5: download - view: text, markup, annotated - select for diffs
Fri Sep 6 08:49:55 2002 UTC (22 years, 4 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.51.2.4: preferred, colored; next MAIN 1.52: preferred, colored
Changes since revision 1.51.2.4: +8 -8 lines
sync kqueue branch with HEAD

Revision 1.60.8.2: download - view: text, markup, annotated - select for diffs
Thu Aug 29 00:56:58 2002 UTC (22 years, 4 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.60.8.1: preferred, colored; branchpoint 1.60: preferred, colored; next MAIN 1.61: preferred, colored
Changes since revision 1.60.8.1: +8 -8 lines
catch up with -current.

Revision 1.40.2.10: download - view: text, markup, annotated - select for diffs
Tue Aug 27 23:48:23 2002 UTC (22 years, 4 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.40.2.9: preferred, colored
Changes since revision 1.40.2.9: +8 -8 lines
Catch up to -current.

Revision 1.62: download - view: text, markup, annotated - select for diffs
Mon Aug 26 21:09:03 2002 UTC (22 years, 4 months ago) by christos
Branches: MAIN
CVS tags: kqueue-base, gehenna-devsw-base
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +8 -8 lines
- pass struct proc to copyargs
- rename aux vector entries AT_{R,E}{U,G}ID from AT_SYUN_{R,}P{U,G}ID
- update new aux vector size.

Revision 1.51.2.4: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:51:56 2002 UTC (22 years, 7 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.51.2.3: preferred, colored
Changes since revision 1.51.2.3: +3 -2 lines
catch up with -current on kqueue branch

Revision 1.60.8.1: download - view: text, markup, annotated - select for diffs
Thu Jun 20 15:53:01 2002 UTC (22 years, 7 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +3 -2 lines
catch up with -current.

Revision 1.40.2.9: download - view: text, markup, annotated - select for diffs
Thu Jun 20 03:50:10 2002 UTC (22 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.40.2.8: preferred, colored
Changes since revision 1.40.2.8: +3 -2 lines
Catch up to -current.

Revision 1.61: download - view: text, markup, annotated - select for diffs
Fri Jun 14 09:05:21 2002 UTC (22 years, 7 months ago) by ragge
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +3 -2 lines
Add official machine numbers for PDP10 and PDP11.

Revision 1.37.4.3: download - view: text, markup, annotated - select for diffs
Thu Mar 7 17:59:45 2002 UTC (22 years, 10 months ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH003
Diff to: previous 1.37.4.2: preferred, colored; branchpoint 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37.4.2: +13 -1 lines
Pull up revision 1.41 (requested by jonathan):
  Recognize FreeBSD ELFOSABI marked executables.

Revision 1.40.2.8: download - view: text, markup, annotated - select for diffs
Thu Feb 28 04:15:24 2002 UTC (22 years, 10 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.40.2.7: preferred, colored
Changes since revision 1.40.2.7: +15 -1 lines
Catch up to -current.

Revision 1.51.2.3: download - view: text, markup, annotated - select for diffs
Mon Feb 11 20:10:44 2002 UTC (22 years, 11 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.51.2.2: preferred, colored
Changes since revision 1.51.2.2: +15 -1 lines
Sync w/ -current.

Revision 1.60: download - view: text, markup, annotated - select for diffs
Mon Jan 28 22:15:54 2002 UTC (22 years, 11 months ago) by thorpej
Branches: MAIN
CVS tags: newlock-base, newlock, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, ifpoll-base, eeh-devprop-base, eeh-devprop
Branch point for: gehenna-devsw
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +15 -1 lines
Define ELF32_EHDR_FLAGS_OK()/ELF64_EHDR_FLAGS_OK() and use it
as an added measure to make sure that we can execute a binary.
These default to (1) if elf_machdep.h does not override them.

On Sun2, ELF32_EHDR_FLAGS_OK() checks for the presense of EF_M68000,
since the 68010 cannot run binaries for the 68020-and-up.

Revision 1.40.2.7: download - view: text, markup, annotated - select for diffs
Fri Jan 11 21:20:39 2002 UTC (23 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.40.2.6: preferred, colored
Changes since revision 1.40.2.6: +2 -2 lines
Update coredump_elf64() prototype to LWP.

Revision 1.51.2.2: download - view: text, markup, annotated - select for diffs
Thu Jan 10 20:04:41 2002 UTC (23 years ago) by thorpej
Branches: kqueue
Diff to: previous 1.51.2.1: preferred, colored
Changes since revision 1.51.2.1: +91 -26 lines
Sync kqueue branch with -current.

Revision 1.40.2.6: download - view: text, markup, annotated - select for diffs
Wed Jan 9 02:56:12 2002 UTC (23 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.40.2.5: preferred, colored
Changes since revision 1.40.2.5: +2 -2 lines
Adapt new coredump interface to LWPs.

Revision 1.40.2.5: download - view: text, markup, annotated - select for diffs
Tue Jan 8 00:34:41 2002 UTC (23 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.40.2.4: preferred, colored
Changes since revision 1.40.2.4: +63 -1 lines
Catch up to -current.

Revision 1.59: download - view: text, markup, annotated - select for diffs
Sun Dec 9 23:06:00 2001 UTC (23 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +63 -1 lines
Add support for dumping ELF-cormat core files.

Revision 1.40.2.4: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:18:50 2001 UTC (23 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.40.2.3: preferred, colored
Changes since revision 1.40.2.3: +29 -26 lines
Catch up to -current.

Revision 1.54.4.1: download - view: text, markup, annotated - select for diffs
Mon Nov 12 21:19:41 2001 UTC (23 years, 2 months ago) by thorpej
Branches: thorpej-mips-cache
Diff to: previous 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54: +29 -26 lines
Sync the thorpej-mips-cache branch with -current.

Revision 1.58: download - view: text, markup, annotated - select for diffs
Wed Oct 31 18:05:35 2001 UTC (23 years, 2 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-mips-cache-base
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +21 -17 lines
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.

Revision 1.57: download - view: text, markup, annotated - select for diffs
Wed Oct 31 17:44:42 2001 UTC (23 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +5 -8 lines
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).

Revision 1.56: download - view: text, markup, annotated - select for diffs
Wed Oct 31 17:35:06 2001 UTC (23 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +3 -3 lines
Include <machine/elf_machdep.h> earlier, at the beginning of the file,
after the inttypes header.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Mon Oct 29 21:30:54 2001 UTC (23 years, 2 months ago) by simonb
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +3 -1 lines
Add EM_NS32K for the ns32k series CPUs.

Revision 1.40.2.3: download - view: text, markup, annotated - select for diffs
Fri Aug 24 00:13:03 2001 UTC (23 years, 4 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.40.2.2: preferred, colored
Changes since revision 1.40.2.2: +68 -17 lines
Catch up with -current.

Revision 1.51.2.1: download - view: text, markup, annotated - select for diffs
Fri Aug 3 04:14:04 2001 UTC (23 years, 5 months ago) by lukem
Branches: kqueue
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +6 -8 lines
update to -current

Revision 1.54: download - view: text, markup, annotated - select for diffs
Mon Jul 30 14:07:25 2001 UTC (23 years, 5 months ago) by pooka
Branches: MAIN
CVS tags: thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-mips-cache
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +2 -2 lines
make elf64_copyargs() of type int also per the recent copyargs changes

Revision 1.53: download - view: text, markup, annotated - select for diffs
Sun Jul 29 21:23:19 2001 UTC (23 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +6 -6 lines
adjust to the new copyargs footprint

Revision 1.52: download - view: text, markup, annotated - select for diffs
Sat Jul 14 02:08:30 2001 UTC (23 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +1 -3 lines
- add exec_read_from and make exec_elf32 use it.
- add a macho probe function

Revision 1.40.2.2: download - view: text, markup, annotated - select for diffs
Thu Jun 21 20:09:46 2001 UTC (23 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.40.2.1: preferred, colored
Changes since revision 1.40.2.1: +19 -18 lines
Catch up to -current.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Wed Jun 20 05:33:25 2001 UTC (23 years, 7 months ago) by simonb
Branches: MAIN
Branch point for: kqueue
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +2 -3 lines
Fix up comment botch.
_Never_ fix a simple formatting thing _after_ a test compile.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Wed Jun 20 03:15:42 2001 UTC (23 years, 7 months ago) by simonb
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +55 -3 lines
Add some more e_machine values and a reference to the SCO website with
ELF ABI information.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Wed Jun 20 01:20:19 2001 UTC (23 years, 7 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +2 -2 lines
X8664 -> X86_64

Revision 1.48: download - view: text, markup, annotated - select for diffs
Wed Jun 20 01:07:22 2001 UTC (23 years, 7 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +10 -8 lines
Elf64_Word should be 32 bits; alpha is the exception rather than
the rule, so change the ifdef to reflect this.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Tue Jun 19 09:10:30 2001 UTC (23 years, 7 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +18 -18 lines
Fix botched commit; I forgot to bring this up to date to -current
before committing it.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Tue Jun 19 00:41:53 2001 UTC (23 years, 7 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +19 -18 lines
Add IDs for x86-64.

Revision 1.37.4.2: download - view: text, markup, annotated - select for diffs
Tue May 1 12:05:43 2001 UTC (23 years, 8 months ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH002, netbsd-1-5-PATCH001
Diff to: previous 1.37.4.1: preferred, colored; branchpoint 1.37: preferred, colored
Changes since revision 1.37.4.1: +5 -5 lines
Pull up revision 1.45 (requested by kleink):
  Rename ElfNN_RelA to ElfNN_Rela, which is what SVR4 ABIs and the
  rest of the world uses.  Fixes PR#12274.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Wed Apr 25 12:18:48 2001 UTC (23 years, 8 months ago) by kleink
Branches: MAIN
CVS tags: thorpej_scsipi_beforemerge
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +5 -5 lines
ElfNN_RelA -> ElfNN_Rela, which I missed in the Great Renaming;
noticed by Juan Jose Garcia-Ripoll in PR standards/12274.

Revision 1.25.2.5: download - view: text, markup, annotated - select for diffs
Mon Apr 23 09:42:36 2001 UTC (23 years, 9 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.25.2.4: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25.2.4: +3 -3 lines
Sync with HEAD.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Sun Apr 22 15:09:03 2001 UTC (23 years, 9 months ago) by pooka
Branches: MAIN
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_base
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +3 -3 lines
Fix misinformation in comment

Revision 1.25.2.4: download - view: text, markup, annotated - select for diffs
Sat Apr 21 17:47:03 2001 UTC (23 years, 9 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.25.2.3: preferred, colored
Changes since revision 1.25.2.3: +14 -14 lines
Sync with HEAD

Revision 1.43: download - view: text, markup, annotated - select for diffs
Fri Apr 13 17:05:27 2001 UTC (23 years, 9 months ago) by kleink
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +2 -2 lines
Slight readability improvement to rev. 1.39.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Fri Apr 13 15:01:29 2001 UTC (23 years, 9 months ago) by pooka
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +13 -13 lines
Describe possible section types with a few words.

Revision 1.40.2.1: download - view: text, markup, annotated - select for diffs
Mon Apr 9 01:59:01 2001 UTC (23 years, 9 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +13 -1 lines
Catch up with -current.

Revision 1.25.2.3: download - view: text, markup, annotated - select for diffs
Tue Mar 27 15:32:45 2001 UTC (23 years, 9 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.25.2.2: preferred, colored
Changes since revision 1.25.2.2: +12 -0 lines
Sync with HEAD.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Wed Mar 14 16:27:15 2001 UTC (23 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +13 -1 lines
populate OSABI list

Revision 1.25.2.2: download - view: text, markup, annotated - select for diffs
Fri Jan 5 17:36:58 2001 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.25.2.1: preferred, colored
Changes since revision 1.25.2.1: +13 -16 lines
Sync with HEAD

Revision 1.40: download - view: text, markup, annotated - select for diffs
Fri Dec 15 06:14:21 2000 UTC (24 years, 1 month ago) by mycroft
Branches: MAIN
Branch point for: nathanw_sa
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +13 -16 lines
Tighten up the ELF signature checks, and actually look for the ABI tag added
in newer glibc versions.

Revision 1.25.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 18:11:30 2000 UTC (24 years, 2 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +400 -285 lines
Update thorpej_scsipi to -current as of a month ago

Revision 1.37.4.1: download - view: text, markup, annotated - select for diffs
Wed Jul 26 23:57:06 2000 UTC (24 years, 5 months ago) by mycroft
Branches: netbsd-1-5
CVS tags: netbsd-1-5-RELEASE, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +37 -26 lines
Approved by thorpej:
Introduce Elf64_Xword and Elf64_Sxword, and use them in various places instead
of Elf64_Word.
Make Elf64_Word be 32 bits on sparc64.  (XXXX Need to determine what it's
supposed to be on other, but it's current used to size entries in DT_HASH,
which is 32 bits on sparc64 and 64 bits on alpha.)

syssrc/sys/sys/exec_elf.h				1.38 -> 1.39

Revision 1.39: download - view: text, markup, annotated - select for diffs
Wed Jul 26 02:04:53 2000 UTC (24 years, 5 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +37 -26 lines
Introduce Elf64_Xword and Elf64_Sxword, and use them in various places instead
of Elf64_Word.
Make Elf64_Word be 32 bits on sparc64.  (XXXX Need to determine what it's
supposed to be on other, but it's current used to size entries in DT_HASH,
which is 32 bits on sparc64 and 64 bits on alpha.)

Revision 1.38: download - view: text, markup, annotated - select for diffs
Tue Jun 27 05:00:26 2000 UTC (24 years, 6 months ago) by kleink
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +18 -18 lines
Be less invasive and use private names for exact-width integer types.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Tue Feb 22 16:36:29 2000 UTC (24 years, 11 months ago) by augustss
Branches: MAIN
CVS tags: netbsd-1-5-base, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +2 -2 lines
Make this file possible to use again.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Tue Feb 22 13:57:23 2000 UTC (24 years, 11 months ago) by kleink
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +178 -132 lines
* Add more OS ABI constants and dynamic array tags from D1998-04-29.
* Enhance readibility: define data structures first, followed member value
  constants, and add more comments.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Tue Feb 22 10:49:19 2000 UTC (24 years, 11 months ago) by kleink
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +11 -5 lines
Add OS ABI constants from the 1998-04-29 draft.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Sat Jan 22 23:07:53 2000 UTC (25 years ago) by mycroft
Branches: MAIN
CVS tags: chs-ubc2-newbase
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +8 -8 lines
Delint.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Thu Dec 30 15:48:19 1999 UTC (25 years ago) by eeh
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +8 -6 lines
Make sure the elf_args strucure is appropriate for the size of the ELF binary.

Revision 1.25.6.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:36:34 1999 UTC (25 years ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25: +306 -256 lines
Pull up to last week's -current.

Revision 1.25.4.1: download - view: text, markup, annotated - select for diffs
Mon Nov 15 00:42:20 1999 UTC (25 years, 2 months ago) by fvdl
Branches: fvdl-softdep
Diff to: previous 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25: +306 -256 lines
Sync with -current

Revision 1.32: download - view: text, markup, annotated - select for diffs
Wed Nov 10 17:31:56 1999 UTC (25 years, 2 months ago) by thorpej
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, fvdl-softdep-base
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +9 -1 lines
Define ELF_ST_*() to ELF{32,64}_ST_* as appropriate.  They evaluate to
the same thing, but this provides consistency with everything else.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Tue Nov 9 21:38:09 1999 UTC (25 years, 2 months ago) by kleink
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -2 lines
Fix comment typo introduced in rev. 1.27.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Mon Nov 1 22:34:37 1999 UTC (25 years, 2 months ago) by mycroft
Branches: MAIN
CVS tags: comdex-fall-1999-base, comdex-fall-1999
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +3 -3 lines
Fix obvious typos.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Wed Oct 27 09:21:35 1999 UTC (25 years, 2 months ago) by simonb
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +5 -4 lines
Add a few comments from <mips/elf.h>.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Tue Oct 26 19:10:26 1999 UTC (25 years, 2 months ago) by kleink
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +5 -1 lines
Add ELF64 versions of st_info manipulation macros I missed in previous.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Mon Oct 25 13:47:10 1999 UTC (25 years, 2 months ago) by kleink
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +291 -253 lines
As discussed with Christos, rename the definitions in this file to match those
found in various SVR4 ABIs.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Sat Oct 23 08:45:49 1999 UTC (25 years, 3 months ago) by erh
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +8 -9 lines
Move ELFNAME macros out of #ifdef _KERNEL.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Mon Sep 13 10:31:44 1999 UTC (25 years, 4 months ago) by itojun
Branches: MAIN
Branch point for: wrstuden-devbsize, thorpej_scsipi, fvdl-softdep
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -1 lines
Merge in NetBSD/sh3 from cvs.kame.net repository.

Tree structure:
- sys/arch/sh3: sh3 generic code
	As commented, in-chip device drivers are put into sys/arch/sh3/dev.
- sys/arch/evbsh3: sh3 evaluation boards (pure sh3 CPU, no fancy external HW)
- sys/arch/mmeye: Brains mmEye, www.brains.co.jp
MI source code includes couple of #ifdef for sh3-coff support.
(sh3 uses coff or elf)

Needs some more improvements, especialy in sys/arch/sh3/conf/files.sh3,
to compile the tree (due to last minute tree structure change).

Revision 1.24: download - view: text, markup, annotated - select for diffs
Sat Aug 21 00:26:28 1999 UTC (25 years, 5 months ago) by matt
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -1 lines
Add the newly blessed magic number for VAX.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Wed Dec 23 15:09:09 1998 UTC (26 years, 1 month ago) by christos
Branches: MAIN
CVS tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, chs-ubc2-base, chs-ubc2
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +7 -5 lines
Add NetBSD note constants.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat Oct 3 18:13:58 1998 UTC (26 years, 3 months ago) by christos
Branches: MAIN
CVS tags: kenh-if-detach-base, kenh-if-detach, chs-ubc-base, chs-ubc
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +32 -5 lines
Add a few new machine numbers and aux vectors.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Thu Oct 1 16:04:37 1998 UTC (26 years, 3 months ago) by erh
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +31 -3 lines
Move elf function name building macros here (ELFNAME, ELFNAME2, etc...)  Add defines related to elf note sections for use in determining executable type/emulation.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun Sep 13 14:46:24 1998 UTC (26 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +3 -3 lines
Fix copyright typos...

Revision 1.19: download - view: text, markup, annotated - select for diffs
Sat Sep 5 14:28:51 1998 UTC (26 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +24 -15 lines
Assign copyright to TNF.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Tue Aug 11 21:11:51 1998 UTC (26 years, 5 months ago) by kleink
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -2 lines
Oops, change previous to use the registered name found in the System V ABI,
draft edition as of April 29, 1998.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Tue Aug 11 17:01:41 1998 UTC (26 years, 5 months ago) by kleink
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -1 lines
Add machine identifier for the PA.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Aug 10 22:20:18 1998 UTC (26 years, 5 months ago) by matt
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -1 lines
Add machine identifier for ARM.  Add (commented out) real ident
for Alpha as well.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Wed Jul 29 12:14:00 1998 UTC (26 years, 5 months ago) by mrg
Branches: MAIN
CVS tags: eeh-paddr_t-base, eeh-paddr_t
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -2 lines
add Elf_em_sparc64 at 43 (from solaris 2.7)

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Jul 12 18:27:06 1998 UTC (26 years, 6 months ago) by veego
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -2 lines
Remove a trailing ',' in an enum declaration.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu Jun 25 03:40:30 1998 UTC (26 years, 6 months ago) by eeh
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -1 lines
Addes support for sparc32plus ELF executables: v9 in v8's clothing.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Thu Jan 22 01:32:17 1998 UTC (27 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +5 -1 lines
Generate dependencies on the exec format options EXEC_AOUT, EXEC_ECOFF,
EXEC_ELF32, EXEC_ELF64, and EXEC_SCRIPT.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Tue Jun 10 06:42:55 1997 UTC (27 years, 7 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-signal-base, thorpej-signal, netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3, marc-pcmcia-bp, marc-pcmcia-base, marc-pcmcia, bouyer-scsipi
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +9 -1 lines
Add Section Attribute Flags (SHF_*) as defined in _System V Application
Binary Interface, Third Edition_, section 4, page 16.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri Mar 21 05:34:40 1997 UTC (27 years, 10 months ago) by cgd
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +28 -1 lines
define Elf{,32,64}_Note as appropriate, add a constant for NetBSD-specific
notes' 'name' fields, and add a couple of NetBSD-specific note types.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Oct 3 22:55:25 1996 UTC (28 years, 3 months ago) by cgd
Branches: MAIN
CVS tags: thorpej-setroot, mrg-vm-swap, is-newarp-before-merge, is-newarp-base, is-newarp
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +16 -16 lines
rename the ELF section type constants to be Elf_* rather than Elf32_*,
since they're shared between ELF32 and ELF64.  (Thought i checked this in
earlier, but apparently didn't!)

Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Oct 3 05:20:58 1996 UTC (28 years, 3 months ago) by cgd
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2 lines
fix typo in definition of Elf32_e_ident

Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Sep 30 16:35:12 1996 UTC (28 years, 3 months ago) by ws
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +16 -15 lines
PowerPC port

Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Sep 27 21:21:15 1996 UTC (28 years, 3 months ago) by cgd
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +16 -16 lines
fix up section header type enum/values

Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Sep 26 21:50:55 1996 UTC (28 years, 3 months ago) by cgd
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +1 -3 lines
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.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Sep 26 20:48:55 1996 UTC (28 years, 3 months ago) by cgd
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +323 -56 lines
add definitions for 64-bit ELF.  Provided by Matt Thomas, then integrated
and cleaned up a fair bit.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Jun 13 18:36:42 1996 UTC (28 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +37 -3 lines
- Add definitions for Elf section headers.
- Add prototype for elf_read_from.
- KNF.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Jan 16 23:19:43 1996 UTC (29 years ago) by fvdl
Branches: MAIN
CVS tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +3 -2 lines
Attempt #2 :-( (where did that tag come from..)

Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu Jun 22 21:31:03 1995 UTC (29 years, 7 months ago) by fvdl
Branches: MAIN
CVS tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Generic ELF exec include file, like the other exec_xxx include files.

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>