Skip to content

Commit b427545

Browse files
committed
Update for freebsd versions >= 14.0
1 parent e6ea0d0 commit b427545

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tccelf.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2856,6 +2856,10 @@ static int elf_output_file(TCCState *s1, const char *filename)
28562856
#if TARGETOS_FreeBSD || TARGETOS_NetBSD
28572857
dyninf.roinf = NULL;
28582858
#endif
2859+
#if TARGETOS_FreeBSD
2860+
dyninf.note = find_section (s1, ".note.tag");
2861+
#endif
2862+
28592863
/* if linking, also link in runtime libraries (libc, libgcc, etc.) */
28602864
tcc_add_runtime(s1);
28612865
resolve_common_syms(s1);

0 commit comments

Comments
 (0)