mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 21:51:42 +02:00
Set OSABI in elf header for openbsd OS, contributed by Pascal Stumpf
git-svn-id: trunk@23224 -
This commit is contained in:
parent
7457a0f321
commit
8b4603ed51
@ -1185,6 +1185,8 @@ implementation
|
||||
header.e_ident[EI_DATA]:=ELFDATA2LSB;
|
||||
|
||||
header.e_ident[EI_VERSION]:=1;
|
||||
if target_info.system in systems_openbsd then
|
||||
header.e_ident[EI_OSABI]:=ELFOSABI_OPENBSD;
|
||||
header.e_type:=ET_REL;
|
||||
header.e_machine:=ElfTarget.machine_code;
|
||||
header.e_version:=1;
|
||||
|
Loading…
Reference in New Issue
Block a user