History

Shared libraries also have entry points

This fix commit 32734680cb2a645d48f806edae5a5912e0759a23

Thomas Preud'homme committed 12 years ago

Commit 3352cb81 parent 32734681 file · +1 −1Browse files

Unified · Split

tccelf.c+1−1
@@ -2244,7 +2244,7 @@ static int elf_output_file(TCCState *s1, const char *filename) · 2243 unmodified lines
2244#ifdef TCC_ARM_EABI2244#ifdef TCC_ARM_EABI
2245 ehdr.e_ident[EI_OSABI] = 0;2245 ehdr.e_ident[EI_OSABI] = 0;
2246 ehdr.e_flags = EF_ARM_EABI_VER4;2246 ehdr.e_flags = EF_ARM_EABI_VER4;
2247 if (file_type == TCC_OUTPUT_EXE)2247 if (file_type == TCC_OUTPUT_EXE || file_type == TCC_OUTPUT_DLL)
2248 ehdr.e_flags |= EF_ARM_HASENTRY;2248 ehdr.e_flags |= EF_ARM_HASENTRY;
2249 if (s1->float_abi == ARM_HARD_FLOAT)2249 if (s1->float_abi == ARM_HARD_FLOAT)
2250 ehdr.e_flags |= EF_ARM_VFP_FLOAT;2250 ehdr.e_flags |= EF_ARM_VFP_FLOAT;