mirror of
https://github.com/TinyCC/tinycc.git
synced 2025-11-16 12:34:45 +00:00
Update for freebsd versions >= 14.0
This commit is contained in:
4
tccelf.c
4
tccelf.c
@@ -2856,6 +2856,10 @@ static int elf_output_file(TCCState *s1, const char *filename)
|
|||||||
#if TARGETOS_FreeBSD || TARGETOS_NetBSD
|
#if TARGETOS_FreeBSD || TARGETOS_NetBSD
|
||||||
dyninf.roinf = NULL;
|
dyninf.roinf = NULL;
|
||||||
#endif
|
#endif
|
||||||
|
#if TARGETOS_FreeBSD
|
||||||
|
dyninf.note = find_section (s1, ".note.tag");
|
||||||
|
#endif
|
||||||
|
|
||||||
/* if linking, also link in runtime libraries (libc, libgcc, etc.) */
|
/* if linking, also link in runtime libraries (libc, libgcc, etc.) */
|
||||||
tcc_add_runtime(s1);
|
tcc_add_runtime(s1);
|
||||||
resolve_common_syms(s1);
|
resolve_common_syms(s1);
|
||||||
|
|||||||
Reference in New Issue
Block a user