• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/gdb/bfd/

Lines Matching defs:got

1993 /* This is what we want for new plt/got.  */
2412 asection *got;
2427 /* The .got.plt section (VxWorks only)*/
2436 /* TLS local dynamic got entry handling. */
2543 /* Create .got and the related sections. */
2556 htab->got = s = bfd_get_section_by_name (abfd, ".got");
2562 htab->sgotplt = bfd_get_section_by_name (abfd, ".got.plt");
2568 /* The powerpc .got has a blrl instruction in it. Mark it
2578 htab->relgot = bfd_make_section_with_flags (abfd, ".rela.got", flags);
2599 if (htab->got == NULL
2713 edir->elf.got.refcount += eind->elf.got.refcount;
2714 eind->elf.got.refcount = 0;
3097 /* If a relocation refers to _GLOBAL_OFFSET_TABLE_, create the .got.
3101 && htab->got == NULL
3153 if (htab->got == NULL)
3162 h->got.refcount += 1;
3818 if (htab->got != NULL
3819 && !bfd_set_section_flags (htab->elf.dynobj, htab->got, flags))
3854 /* Update the got, plt and dynamic reloc reference counts for the
3937 if (h->got.refcount > 0)
3938 h->got.refcount--;
4148 /* We managed to get rid of a got entry. */
4149 if (h->got.refcount > 0)
4150 h->got.refcount -= 1;
4180 /* We managed to get rid of a got entry. */
4422 /* Allocate NEED contiguous space in .got, and return the offset.
4423 Handles allocation of the got header when crossing 32k. */
4433 where = htab->got->size;
4434 htab->got->size += need;
4446 if (htab->got->size + need > max_before_header
4447 && htab->got->size <= max_before_header)
4449 htab->got_gap = max_before_header - htab->got->size;
4450 htab->got->size = max_before_header + htab->got_header_size;
4452 where = htab->got->size;
4453 htab->got->size += need;
4598 .got.plt. */
4623 if (eh->elf.got.refcount > 0)
4636 eh->elf.got.offset = (bfd_vma) -1;
4654 eh->elf.got.offset = allocate_got (htab, need);
4670 eh->elf.got.offset = (bfd_vma) -1;
4827 /* Set up .got offsets for local syms, and space for local dynamic
4923 if (htab->got != NULL && htab->plt_type != PLT_VXWORKS)
4928 for old plt/got the got size will be 0 to 32764 (not allocated),
4929 or 32780 to 65536 (header allocated). For new plt/got, the
4931 if (htab->got->size <= 32768)
4933 g_o_t = htab->got->size;
4936 htab->got->size += htab->got_header_size;
4999 || s == htab->got
5008 if ((s == htab->plt || s == htab->got) && htab->elf.hplt != NULL)
6075 if (htab->got == NULL)
6100 offp = &h->got.offset;
6127 /* We might have multiple got entries for this sym.
6160 outrel.r_offset = (htab->got->output_section->vma
6161 + htab->got->output_offset
6199 /* Init the .got section contents if we're not
6216 htab->got->contents + off + 4);
6221 htab->got->contents + off);
6258 relocation = htab->got->output_offset + off;
6261 /* Addends on got relocations don't make much sense.
6262 x+off@got is actually x@got+off, and since the got is
6264 got at entry m+n bears little relation to the entry m. */
6557 /* Handle the TOC16 reloc. We want to use the offset within the .got
6559 an embedded ELF object, for which the .got section acts like the
6564 || strcmp (bfd_get_section_name (abfd, sec), ".got") == 0
6929 /* The first three entries in .got.plt are reserved. */
7108 bfd_vma got = 0;
7111 got = (ent->addend
7115 got = (htab->elf.hgot->root.u.def.value
7119 plt -= got;
7236 bfd_vma got;
7251 got = 0;
7253 got = (htab->elf.hgot->root.u.def.value
7292 dyn.d_un.d_ptr = got;
7314 if (htab->got != NULL)
7316 unsigned char *p = htab->got->contents;
7328 elf_section_data (htab->got->output_section)->this_hdr.sh_entsize = 4;
7425 * addis 11,30,(plt+(i-1)*4-got)@ha
7426 * lwz 11,(plt+(i-1)*4-got)@l(11)
7449 * addis 12,12,(got+4-1b)@ha
7450 * lwz 0,(got+4-1b)@l(12) # got[1] address of dl_runtime_resolve
7451 * lwz 12,(got+8-1b)@l(12) # got[2] contains the map address
7544 ADDIS_12_12 + PPC_HA (got + 4 - bcl), p + 7*4);
7545 if (PPC_HA (got + 4 - bcl) == PPC_HA (got + 8 - bcl))
7548 LWZ_0_12 + PPC_LO (got + 4 - bcl), p + 8*4);
7550 LWZ_12_12 + PPC_LO (got + 8 - bcl), p + 9*4);
7555 LWZU_0_12 + PPC_LO (got + 4 - bcl), p + 8*4);
7570 LIS_12 + PPC_HA (got + 4), p + 0*4);
7575 if (PPC_HA (got + 4) == PPC_HA (got + 8))
7578 LWZ_0_12 + PPC_LO (got + 4), p + 2*4);
7580 LWZ_12_12 + PPC_LO (got + 8), p + 6*4);
7585 LWZU_0_12 + PPC_LO (got + 4), p + 2*4);