aboutsummaryrefslogtreecommitdiff
path: root/tccelf.c
diff options
context:
space:
mode:
Diffstat (limited to 'tccelf.c')
-rw-r--r--tccelf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tccelf.c b/tccelf.c
index 526c513..fb5f3f9 100644
--- a/tccelf.c
+++ b/tccelf.c
@@ -2321,6 +2321,9 @@ ST_FUNC int tcc_load_object_file(TCCState *s1,
sh->sh_type != SHT_ARM_EXIDX &&
#endif
sh->sh_type != SHT_NOBITS &&
+ sh->sh_type != SHT_PREINIT_ARRAY &&
+ sh->sh_type != SHT_INIT_ARRAY &&
+ sh->sh_type != SHT_FINI_ARRAY &&
strcmp(sh_name, ".stabstr")
)
continue;