FreeBSD Bugzilla – Attachment 212749 Details for
Bug 245069
devel/nasm emits wrong ELF brand
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix nasm's ELF_OSABI field when emitting object files
devel__nasm-fix-osabi-1.diff (text/plain), 1.09 KB, created by
Dimitry Andric
on 2020-03-27 10:29:05 UTC
(
hide
)
Description:
Fix nasm's ELF_OSABI field when emitting object files
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2020-03-27 10:29:05 UTC
Size:
1.09 KB
patch
obsolete
>Index: devel/nasm/files/patch-output+outelf.c >=================================================================== >--- devel/nasm/files/patch-output+outelf.c (nonexistent) >+++ devel/nasm/files/patch-output+outelf.c (working copy) >@@ -0,0 +1,11 @@ >+--- output/outelf.c.orig 2017-05-02 05:18:37 UTC >++++ output/outelf.c >+@@ -191,7 +191,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 */ >+ >+ const struct elf_known_section elf_known_sections[] = { > >Property changes on: devel/nasm/files/patch-output+outelf.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 245069
: 212749