4dd748efb2
Update devel/nasm to 2.15.03 Add a patch to fix nasm's ELF_OSABI field when emitting object files [1] Changelog: https://nasm.us/doc/nasmdocc.html PR: 245069 [1] Submitted by: dim [1] Reported by: unitrunker gmail com [1] MFH: 2020Q3
11 lines
515 B
C
11 lines
515 B
C
--- output/outelf.c.orig 2020-07-02 04:44:07 UTC
|
|
+++ output/outelf.c
|
|
@@ -248,7 +248,7 @@ static int32_t elf_gotpc_sect, elf_gotoff_sect;
|
|
static int32_t elf_got_sect, elf_plt_sect;
|
|
static int32_t elf_sym_sect, elf_gottpoff_sect, elf_tlsie_sect;
|
|
|
|
-uint8_t elf_osabi = 0; /* Default OSABI = 0 (System V or Linux) */
|
|
+uint8_t elf_osabi = 9; /* Default OSABI = 9 (FreeBSD) */
|
|
uint8_t elf_abiver = 0; /* Current ABI version */
|
|
|
|
/* Known sections with nonstandard defaults. -n means n*pointer size. */
|