Lines Matching defs:hdr
121 struct hdr
192 static char* getloc(struct hdr* hdr, char* data, char* name)
205 datareloc = (ulong)data - hdr->s[hdr->a.o_sndata-1].s_vaddr;
206 /*hdr is address of header, not text, so add text s_scnptr */
207 textreloc = (ulong)hdr + hdr->s[hdr->a.o_sntext-1].s_scnptr
208 - hdr->s[hdr->a.o_sntext-1].s_vaddr;
209 ldhdr = (void*)((char*)hdr+ hdr->s[hdr->a.o_snloader-1].s_scnptr);
232 if ((ldsym->l_scnum==hdr->a.o_sndata) ||
233 (ldsym->l_scnum==hdr->a.o_snbss))
235 else if (ldsym->l_scnum==hdr->a.o_sntext)