Unified · Split
| @@ -2856,6 +2856,10 @@ static int elf_output_file(TCCState *s1, const char *filename) · 2855 unmodified lines | |||
| 2856 | #if TARGETOS_FreeBSD || TARGETOS_NetBSD | 2856 | #if TARGETOS_FreeBSD || TARGETOS_NetBSD |
| 2857 | dyninf.roinf = NULL; | 2857 | dyninf.roinf = NULL; |
| 2858 | #endif | 2858 | #endif |
| 2859 | #if TARGETOS_FreeBSD | ||
| 2860 | dyninf.note = find_section (s1, ".note.tag"); | ||
| 2861 | #endif | ||
| 2862 | |||
| 2859 | /* if linking, also link in runtime libraries (libc, libgcc, etc.) */ | 2863 | /* if linking, also link in runtime libraries (libc, libgcc, etc.) */ |
| 2860 | tcc_add_runtime(s1); | 2864 | tcc_add_runtime(s1); |
| 2861 | resolve_common_syms(s1); | 2865 | resolve_common_syms(s1); |