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

📄 vers15.c

📁 GNU binutils是GNU交叉工具链中的一个源码包
💻 C
字号:
/* * Testcase to make sure that if we externally reference a versioned symbol * that we always get the right one. */#include <stdio.h>intfoo_1(){  return 1034;}intfoo_2(){  return 1343;}intfoo_3(){  return 1334;}intmain(){  printf("Expect 4,    get %d\n", foo_1());  printf("Expect 13,   get %d\n", foo_2());  printf("Expect 103,  get %d\n", foo_3());  return 0;}__asm__(".symver foo_1,show_foo@");__asm__(".symver foo_2,show_foo@VERS_1.1");__asm__(".symver foo_3,show_foo@@VERS_1.2");

⌨️ 快捷键说明

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