mirror of
https://github.com/mirror/tinycc.git
synced 2025-02-04 06:30:10 +08:00
parent
32734680cb
commit
3352cb8aef
2
tccelf.c
2
tccelf.c
@ -2244,7 +2244,7 @@ static int elf_output_file(TCCState *s1, const char *filename)
|
||||
#ifdef TCC_ARM_EABI
|
||||
ehdr.e_ident[EI_OSABI] = 0;
|
||||
ehdr.e_flags = EF_ARM_EABI_VER4;
|
||||
if (file_type == TCC_OUTPUT_EXE)
|
||||
if (file_type == TCC_OUTPUT_EXE || file_type == TCC_OUTPUT_DLL)
|
||||
ehdr.e_flags |= EF_ARM_HASENTRY;
|
||||
if (s1->float_abi == ARM_HARD_FLOAT)
|
||||
ehdr.e_flags |= EF_ARM_VFP_FLOAT;
|
||||
|
Loading…
Reference in New Issue
Block a user