NetBSD/lib/csu/common/sysident_assym.cf
joerg 01bc9d5012 Switch i386 and x86_64 to the new CRT layout. The crt0.c body is shared
between all platforms and a small assembler stub in crt0.S is used for
setting up the proper stack and whatever else MD needs.

Extract crti.S and crtn. from the old dot_init.h files. Prepare other
platforms that use the 6-argument form of __(_)start for this.

Rewrite the crtbegin and crtend modules in assembler to make them
compiler independent. Document the interface in README.
2010-08-07 18:01:32 +00:00

13 lines
503 B
CFEngine3

include <sys/param.h>
include <sys/exec_elf.h>
define ELF_NOTE_NETBSD_NAMESZ ELF_NOTE_NETBSD_NAMESZ
define ELF_NOTE_NETBSD_DESCSZ ELF_NOTE_NETBSD_DESCSZ
define ELF_NOTE_TYPE_NETBSD_TAG ELF_NOTE_TYPE_NETBSD_TAG
#define ELF_NOTE_NETBSD_NAME ELF_NOTE_NETBSD_NAME
define __NetBSD_Version__ __NetBSD_Version__
define ELF_NOTE_PAX_NAMESZ ELF_NOTE_PAX_NAMESZ
define ELF_NOTE_PAX_DESCSZ ELF_NOTE_PAX_DESCSZ
define ELF_NOTE_TYPE_PAX_TAG ELF_NOTE_TYPE_PAX_TAG
#define ELF_NOTE_PAX_NAME ELF_NOTE_PAX_NAME