⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 asm.h

📁 提供了很多种加密算法和CA认证及相关服务如CMP、OCSP等的开发
💻 H
字号:
/* Preprocessor file to convert generic AT&T assembler syntax code to OS-
   specific variants, based on a version by Eric Young.

   Sent to me by Peter Gutmann. I have added CSymbol to support external 
   variables. -Leonard Janke */

#ifndef _ASM_H
#define _ASM_H

#if !( defined( OUT ) || defined( BSDI ) || defined( ELF ) || defined( SOLARIS ) )
  #error You need to define one of OUT, BSDI, ELF, or SOLARIS
#endif /* Check for missing defines */

#define TYPE( a, b )	.type a, b
#define SIZE( a, b )	.size a, b

/* a.out (older Linux, FreeBSD).  Underscores on names, align to word
   boundaries */

#ifdef OUT
  #define FUNCTION( name )	_name
  #define CSYMBOL( name )	_name
  #define ALIGN				4
#endif /* OUT */

/* BSDI.  As a.out, but with an archaic version of as */

#ifdef BSDI
  #define FUNCTION( name )	_name
  #define CSYMBOL( name )	_name
  #define ALIGN				4
  #undef SIZE
  #undef TYPE
#endif /* BSDI */

/* ELF (newer Linux, NetBSD, DG-UX), Solaris (as ELF but with strange comment
   lines).  No underscores on names, align to paragraph boundaries */

#if defined( ELF ) || defined( SOLARIS )
  #define FUNCTION( name )	name
  #define CSYMBOL( name )	name
  #define ALIGN				16
#endif /* ELF || SOLARIS */

#endif /* _ASM_H */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -