summaryrefslogtreecommitdiffstats
path: root/sys/boot/common/load_elf.c
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2005-12-17 23:48:07 +0000
committermarcel <marcel@FreeBSD.org>2005-12-17 23:48:07 +0000
commit97487f135aa2816df6f55580ab5835f034ec4ec3 (patch)
treefaaad6a7d279ea2f04f9eea7c9a73865da11faea /sys/boot/common/load_elf.c
parentc9778a66ea822f4243d1ca8bbb95ab49386b0e23 (diff)
downloadFreeBSD-src-97487f135aa2816df6f55580ab5835f034ec4ec3.zip
FreeBSD-src-97487f135aa2816df6f55580ab5835f034ec4ec3.tar.gz
Fix the ELF64_R_TYPE and ELF64_R_INFO macros. The symbol type is an
32-bit entity. Also, don't cast the resulting symbol type value to a datatype smaller than the st_info field type as a quick way to mask off the upper bits as it may cause inconsistent behaviour when the macro is used (without explicit casting) on varargs functions. MFC after: 1 week
Diffstat (limited to 'sys/boot/common/load_elf.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud