Lines Matching refs:refptr
374 // There may exist symbols named .refptr.<name> which only consist
376 // automatically imported, we don't need to keep the .refptr.<name>
378 // for __imp_<name> instead, and drop the whole .refptr.<name> chunk.
379 DefinedRegular *refptr =
380 dyn_cast_or_null<DefinedRegular>(find((".refptr." + name).str()));
381 if (refptr && refptr->getChunk()->getSize() == ctx.config.wordsize) {
382 SectionChunk *sc = dyn_cast_or_null<SectionChunk>(refptr->getChunk());
384 log("Replacing .refptr." + name + " with " + imp->getName());
385 refptr->getChunk()->live = false;
386 refptr->replaceKeepingName(imp, impSize);