firasuke / cross / slibtool

Forked from cross/slibtool 3 months ago
Clone

Blame src/internal/slibtool_pecoff_impl.c

279932
/*******************************************************************/
279932
/*  slibtool: a skinny libtool implementation, written in C        */
279932
/*  Copyright (C) 2016--2024  SysDeer Technologies, LLC            */
279932
/*  Released under the Standard MIT License; see COPYING.SLIBTOOL. */
279932
/*******************************************************************/
279932
279932
#include <string.h>
279932
279932
#include "slibtool_visibility_impl.h"
279932
279932
slbt_hidden int slbt_is_strong_coff_symbol(const char * sym)
279932
{
279932
	return strncmp(sym,"__imp_",6)
279932
		&& strncmp(sym,".weak.",6)
279932
		&& strncmp(sym,".refptr.",8);
279932
}