summaryrefslogtreecommitdiff
path: root/src/internal/slibtool_pecoff_impl.c
blob: 3ce2d0e8cd63dd72aa1cb599d115dcc273a34bd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*******************************************************************/
/*  slibtool: a skinny libtool implementation, written in C        */
/*  Copyright (C) 2016--2024  SysDeer Technologies, LLC            */
/*  Released under the Standard MIT License; see COPYING.SLIBTOOL. */
/*******************************************************************/

#include <string.h>

#include "slibtool_visibility_impl.h"

slbt_hidden int slbt_is_strong_coff_symbol(const char * sym)
{
	return strncmp(sym,"__imp_",6)
		&& strncmp(sym,".weak.",6)
		&& strncmp(sym,".refptr.",8);
}