亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? dl-runtime.c

?? Newlib 嵌入式 C庫 標準實現代碼
?? C
字號:
/* On-demand PLT fixup for shared objects.   Copyright (C) 1995-1999, 2000, 2001 Free Software Foundation, Inc.   This file is part of the GNU C Library.   The GNU C Library is free software; you can redistribute it and/or   modify it under the terms of the GNU Lesser General Public   License as published by the Free Software Foundation; either   version 2.1 of the License, or (at your option) any later version.   The GNU C Library is distributed in the hope that it will be useful,   but WITHOUT ANY WARRANTY; without even the implied warranty of   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU   Lesser General Public License for more details.   You should have received a copy of the GNU Lesser General Public   License along with the GNU C Library; if not, write to the Free   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA   02111-1307 USA.  */#include <alloca.h>#include <stdlib.h>#include <unistd.h>#include <ldsodefs.h>#include "dynamic-link.h"#ifndef __attribute_used__#define __attribute_used__#endif#if !defined ELF_MACHINE_NO_RELA || ELF_MACHINE_NO_REL# define PLTREL  ElfW(Rela)#else# define PLTREL  ElfW(Rel)#endif#ifndef VERSYMIDX# define VERSYMIDX(sym)	(DT_NUM + DT_THISPROCNUM + DT_VERSIONTAGIDX (sym))#endif/* This function is called through a special trampoline from the PLT the   first time each PLT entry is called.  We must perform the relocation   specified in the PLT of the given shared object, and return the resolved   function address to the trampoline, which will restart the original call   to that address.  Future calls will bounce directly from the PLT to the   function.  */#ifndef ELF_MACHINE_NO_PLTstatic ElfW(Addr) __attribute__ ((regparm (2), used))fixup (# ifdef ELF_MACHINE_RUNTIME_FIXUP_ARGS        ELF_MACHINE_RUNTIME_FIXUP_ARGS,# endif	/* GKM FIXME: Fix trampoline to pass bounds so we can do	   without the `__unbounded' qualifier.  */       struct link_map *__unbounded l, ElfW(Word) reloc_offset){  const ElfW(Sym) *const symtab    = (const void *) D_PTR (l, l_info[DT_SYMTAB]);  const char *strtab = (const void *) D_PTR (l, l_info[DT_STRTAB]);  const PLTREL *const reloc    = (const void *) (D_PTR (l, l_info[DT_JMPREL]) + reloc_offset);  const ElfW(Sym) *sym = &symtab[ELFW(R_SYM) (reloc->r_info)];  void *const rel_addr = (void *)(l->l_addr + reloc->r_offset);  lookup_t result;  ElfW(Addr) value;  /* The use of `alloca' here looks ridiculous but it helps.  The goal is     to prevent the function from being inlined and thus optimized out.     There is no official way to do this so we use this trick.  gcc never     inlines functions which use `alloca'.  */  alloca (sizeof (int));  /* Sanity check that we're really looking at a PLT relocation.  */  assert (ELFW(R_TYPE)(reloc->r_info) == ELF_MACHINE_JMP_SLOT);   /* Look up the target symbol.  If the normal lookup rules are not      used don't look in the global scope.  */  if (__builtin_expect (ELFW(ST_VISIBILITY) (sym->st_other), 0) == 0)    {      switch (l->l_info[VERSYMIDX (DT_VERSYM)] != NULL)	{	default:	  {	    const ElfW(Half) *vernum =	      (const void *) D_PTR (l, l_info[VERSYMIDX (DT_VERSYM)]);	    ElfW(Half) ndx = vernum[ELFW(R_SYM) (reloc->r_info)];	    const struct r_found_version *version = &l->l_versions[ndx];	    if (version->hash != 0)	      {		result = _dl_lookup_versioned_symbol (strtab + sym->st_name,						      l, &sym, l->l_scope,						      version,						      ELF_RTYPE_CLASS_PLT, 0);		break;	      }	  }	case 0:	  result = _dl_lookup_symbol (strtab + sym->st_name, l, &sym,				      l->l_scope, ELF_RTYPE_CLASS_PLT, 0);	}      /* Currently result contains the base load address (or link map)	 of the object that defines sym.  Now add in the symbol	 offset.  */      value = (sym ? LOOKUP_VALUE_ADDRESS (result) + sym->st_value : 0);    }  else    {      /* We already found the symbol.  The module (and therefore its load	 address) is also known.  */      value = l->l_addr + sym->st_value;#ifdef DL_LOOKUP_RETURNS_MAP      result = l;#endif    }  /* And now perhaps the relocation addend.  */  value = elf_machine_plt_value (l, reloc, value);  /* Finally, fix up the plt itself.  */  if (__builtin_expect (_dl_bind_not, 0))    return value;  return elf_machine_fixup_plt (l, result, reloc, rel_addr, value);}#endif#if !defined PROF && !defined ELF_MACHINE_NO_PLT && !__BOUNDED_POINTERS__static ElfW(Addr) __attribute__ ((regparm (3), used))profile_fixup (#ifdef ELF_MACHINE_RUNTIME_FIXUP_ARGS       ELF_MACHINE_RUNTIME_FIXUP_ARGS,#endif       struct link_map *l, ElfW(Word) reloc_offset, ElfW(Addr) retaddr){  void (*mcount_fct) (ElfW(Addr), ElfW(Addr)) = _dl_mcount;  ElfW(Addr) *resultp;  lookup_t result;  ElfW(Addr) value;  /* The use of `alloca' here looks ridiculous but it helps.  The goal is     to prevent the function from being inlined, and thus optimized out.     There is no official way to do this so we use this trick.  gcc never     inlines functions which use `alloca'.  */  alloca (sizeof (int));  /* This is the address in the array where we store the result of previous     relocations.  */  resultp = &l->l_reloc_result[reloc_offset / sizeof (PLTREL)];  value = *resultp;  if (value == 0)    {      /* This is the first time we have to relocate this object.  */      const ElfW(Sym) *const symtab	= (const void *) D_PTR (l, l_info[DT_SYMTAB]);      const char *strtab = (const void *) D_PTR (l, l_info[DT_STRTAB]);      const PLTREL *const reloc	= (const void *) (D_PTR (l, l_info[DT_JMPREL]) + reloc_offset);      const ElfW(Sym) *sym = &symtab[ELFW(R_SYM) (reloc->r_info)];      /* Sanity check that we're really looking at a PLT relocation.  */      assert (ELFW(R_TYPE)(reloc->r_info) == ELF_MACHINE_JMP_SLOT);      /* Look up the target symbol.  If the symbol is marked STV_PROTECTED	 don't look in the global scope.  */      if (__builtin_expect (ELFW(ST_VISIBILITY) (sym->st_other), 0) == 0)	{	  switch (l->l_info[VERSYMIDX (DT_VERSYM)] != NULL)	    {	    default:	      {		const ElfW(Half) *vernum =		  (const void *) D_PTR (l,l_info[VERSYMIDX (DT_VERSYM)]);		ElfW(Half) ndx = vernum[ELFW(R_SYM) (reloc->r_info)];		const struct r_found_version *version = &l->l_versions[ndx];		if (version->hash != 0)		  {		    result = _dl_lookup_versioned_symbol(strtab + sym->st_name,							 l, &sym, l->l_scope,							 version,							 ELF_RTYPE_CLASS_PLT,							 0);		    break;		  }	      }	    case 0:	      result = _dl_lookup_symbol (strtab + sym->st_name, l, &sym,					  l->l_scope, ELF_RTYPE_CLASS_PLT, 0);	    }	  /* Currently result contains the base load address (or link map)	     of the object that defines sym.  Now add in the symbol	     offset.  */	  value = (sym ? LOOKUP_VALUE_ADDRESS (result) + sym->st_value : 0);	}      else	{	  /* We already found the symbol.  The module (and therefore its load	     address) is also known.  */	  value = l->l_addr + sym->st_value;#ifdef DL_LOOKUP_RETURNS_MAP	  result = l;#endif	}      /* And now perhaps the relocation addend.  */      value = elf_machine_plt_value (l, reloc, value);      /* Store the result for later runs.  */      if (__builtin_expect (! _dl_bind_not, 1))	*resultp = value;    }  (*mcount_fct) (retaddr, value);  return value;}#endif /* PROF && ELF_MACHINE_NO_PLT *//* This macro is defined in dl-machine.h to define the entry point called   by the PLT.  The `fixup' function above does the real work, but a little   more twiddling is needed to get the stack right and jump to the address   finally resolved.  */ELF_MACHINE_RUNTIME_TRAMPOLINE

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产99久久久国产精品| 久久亚洲精品国产精品紫薇| 亚洲欧美一区二区三区孕妇| eeuss鲁片一区二区三区在线看| 亚洲国产岛国毛片在线| 成+人+亚洲+综合天堂| 亚洲精品国产无套在线观| 欧美午夜电影网| 久久99精品视频| 国产喂奶挤奶一区二区三区| 99视频有精品| 日韩黄色小视频| 久久亚洲私人国产精品va媚药| 成人丝袜视频网| 夜夜亚洲天天久久| 日韩一区二区三区在线| 国产精品白丝av| 亚洲最新视频在线观看| 日韩免费观看2025年上映的电影| 久久精品国产色蜜蜜麻豆| 国产精品每日更新| 欧美日韩一本到| 国产剧情一区二区三区| 亚洲美女视频在线观看| 精品乱码亚洲一区二区不卡| 成人a免费在线看| 日本vs亚洲vs韩国一区三区| 亚洲国产激情av| 欧美一级国产精品| 99久久婷婷国产| 免费观看久久久4p| 亚洲欧美一区二区三区孕妇| 欧美mv和日韩mv国产网站| 色欧美片视频在线观看 | 国产精品成人免费在线| 欧美日韩一区二区三区不卡| 国产91综合网| 日本欧美肥老太交大片| 亚洲欧美自拍偷拍色图| 欧美成人猛片aaaaaaa| 色噜噜久久综合| 国产精品亚洲一区二区三区在线| 亚洲成a天堂v人片| 国产精品久久久久久久蜜臀| 日韩午夜电影av| 色偷偷久久人人79超碰人人澡| 久久精品国产99久久6| 亚洲制服丝袜在线| 亚洲色图制服诱惑| 国产日韩影视精品| 欧美一卡二卡三卡四卡| 欧美日韩中文字幕一区| 成人高清伦理免费影院在线观看| 狠狠色综合色综合网络| 天天av天天翘天天综合网| 国产精品久久久久久久岛一牛影视| 日韩丝袜美女视频| 欧美日韩综合在线免费观看| 色婷婷综合久色| av男人天堂一区| 成人av电影在线观看| 国产一区在线看| 精品亚洲porn| 国产做a爰片久久毛片| 久久99久久久久| 美女视频网站黄色亚洲| 日本不卡一区二区| 日本免费在线视频不卡一不卡二| 亚洲图片一区二区| 亚洲五码中文字幕| 亚洲国产一区二区视频| 亚洲综合一区在线| 亚洲欧美怡红院| 1区2区3区精品视频| 中文字幕巨乱亚洲| 国产精品久久久久久久久图文区| 中文字幕第一区综合| 国产精品久久久久久久第一福利| 亚洲国产电影在线观看| 中文字幕在线一区二区三区| 中文字幕在线不卡视频| 中文字幕一区不卡| 一区二区三区日韩欧美| 亚洲午夜电影在线观看| 日日夜夜免费精品视频| 六月丁香婷婷久久| 国产一区二区精品久久91| 国产成人亚洲精品狼色在线| 99视频超级精品| 在线视频你懂得一区二区三区| 欧美亚洲国产一区二区三区va| 91久久一区二区| 正在播放一区二区| 精品国产乱码久久久久久影片| 久久久一区二区| 中文字幕一区视频| 丝袜诱惑亚洲看片| 国产一区二区电影| va亚洲va日韩不卡在线观看| 色八戒一区二区三区| 欧美精品在线一区二区| 精品入口麻豆88视频| 中文在线一区二区| 亚洲国产综合在线| 国产精品综合一区二区三区| 91色乱码一区二区三区| 91精品国产入口在线| 国产精品素人一区二区| 一二三区精品福利视频| 国内精品第一页| 99久久综合99久久综合网站| 欧美高清激情brazzers| 欧美激情一区二区三区全黄| 天天色综合成人网| caoporm超碰国产精品| 91精品国产综合久久久久久久| 久久蜜桃一区二区| 亚洲成人免费视| 成人免费视频网站在线观看| 欧美精品v国产精品v日韩精品| 久久精品亚洲精品国产欧美kt∨| 亚洲二区在线观看| 成人理论电影网| 日韩欧美国产不卡| 一区二区三区不卡视频在线观看 | 亚洲制服丝袜一区| 国产成人自拍网| 91 com成人网| 亚洲精品乱码久久久久久久久 | 日日摸夜夜添夜夜添亚洲女人| 国产精品中文字幕日韩精品| 欧美日韩成人综合天天影院| 中文幕一区二区三区久久蜜桃| 丝袜美腿亚洲综合| 99精品欧美一区二区三区小说| 欧美不卡一二三| 亚洲成a人片在线不卡一二三区| 成人性生交大合| 久久久久久免费网| 免费av成人在线| 欧美日韩第一区日日骚| 亚洲欧美日韩国产一区二区三区| 国产福利一区二区三区在线视频| 欧美一区二区三区播放老司机| 有坂深雪av一区二区精品| 春色校园综合激情亚洲| 精品国产一二三| 日韩不卡免费视频| 欧美日韩国产一级二级| 亚洲综合免费观看高清完整版在线| 大尺度一区二区| 中文字幕欧美日韩一区| 粉嫩一区二区三区在线看| 日韩欧美一二三四区| 日韩国产精品91| 欧美一区二区三区在线电影| 亚洲成a人v欧美综合天堂下载 | 韩国毛片一区二区三区| 日韩亚洲欧美综合| 麻豆免费看一区二区三区| 制服丝袜亚洲网站| 无吗不卡中文字幕| 欧美精品vⅰdeose4hd| 爽好多水快深点欧美视频| 欧美日韩国产综合草草| 视频在线观看一区二区三区| 欧美巨大另类极品videosbest | 精品欧美一区二区久久| 男人的天堂久久精品| 日韩精品一区国产麻豆| 亚洲成人黄色影院| 日韩欧美一级二级三级久久久| 精品午夜一区二区三区在线观看| 精品国产免费视频| 国产福利91精品一区二区三区| 久久九九久精品国产免费直播| 粉嫩久久99精品久久久久久夜| 中文久久乱码一区二区| 一本大道久久a久久综合婷婷| 亚洲主播在线观看| 日韩欧美国产麻豆| 国产高清在线观看免费不卡| 国产精品麻豆久久久| 一本大道久久a久久精二百 | 一区二区日韩电影| 欧美猛男超大videosgay| 天堂久久一区二区三区| www国产成人| 色综合一区二区三区| 亚洲一区二区四区蜜桃| 欧美一卡在线观看| 不卡视频一二三| 亚洲成人一区在线| 国产亚洲精久久久久久| 成人app网站| 日韩av电影免费观看高清完整版 | 欧美美女视频在线观看| 国产主播一区二区| 亚洲欧美日韩中文字幕一区二区三区 | 国产免费成人在线视频|