diff options
author | andrew <andrew@FreeBSD.org> | 2013-09-26 07:53:18 +0000 |
---|---|---|
committer | andrew <andrew@FreeBSD.org> | 2013-09-26 07:53:18 +0000 |
commit | 9439877e985eb4df023ef814794a47111ca4d892 (patch) | |
tree | 6138d1411d6512a61bc5ec2dfd2cfe2dbf6944ba /lib/csu/common | |
parent | 2fca78e125311d5ffee83d40488c276c68389546 (diff) | |
download | FreeBSD-src-9439877e985eb4df023ef814794a47111ca4d892.zip FreeBSD-src-9439877e985eb4df023ef814794a47111ca4d892.tar.gz |
Add an elf note on ARM to store the MACHINE_ARCH an executable was built
for. This is useful for software needing to know which architecture a
binary is built for as arm and armv6 have slight differences meaning only
some binaries build for one will work as expected on the other. It is
expected pkgng will be able to make use of this to simplify the logic to
determine which package ABI to use.
Approved by: re (kib)
Diffstat (limited to 'lib/csu/common')
-rw-r--r-- | lib/csu/common/notes.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/csu/common/notes.h b/lib/csu/common/notes.h index fcc2b66..b2c53bf 100644 --- a/lib/csu/common/notes.h +++ b/lib/csu/common/notes.h @@ -34,5 +34,6 @@ #define ABI_NOTETYPE 1 #define CRT_NOINIT_NOTETYPE 2 +#define ARCH_NOTETYPE 3 #endif |