Lines Matching refs:shlib
7917 /* Add a linkage pair fixup at address SECT + OFFSET to SHLIB. */
7920 alpha_vms_add_fixup_lp (struct bfd_link_info *info, bfd *src, bfd *shlib)
7927 struct alpha_vms_shlib_el, PRIV2 (shlib, shr_index));
7934 /* Add a code address fixup at address SECT + OFFSET to SHLIB. */
7937 alpha_vms_add_fixup_ca (struct bfd_link_info *info, bfd *src, bfd *shlib)
7944 struct alpha_vms_shlib_el, PRIV2 (shlib, shr_index));
7951 /* Add a quad word relocation fixup at address SECT + OFFSET to SHLIB. */
7955 bfd *shlib, bfd_vma vec)
7963 struct alpha_vms_shlib_el, PRIV2 (shlib, shr_index));
8086 struct alpha_vms_shlib_el *shlib;
8092 shlib = VEC_APPEND (alpha_vms_link_hash (info)->shrlibs,
8094 shlib->abfd = abfd;
8095 VEC_INIT (shlib->ca);
8096 VEC_INIT (shlib->lp);
8097 VEC_INIT (shlib->qr);
8243 struct alpha_vms_shlib_el *shlib;
8245 shlib = &VEC_EL (t->shrlibs, struct alpha_vms_shlib_el, i);
8247 if (!shlib->has_fixups)
8252 if (VEC_COUNT (shlib->ca) > 0)
8256 ca_sz += VEC_COUNT (shlib->ca) * 4;
8258 if (VEC_COUNT (shlib->lp) > 0)
8262 lp_sz += VEC_COUNT (shlib->lp) * 4;
8264 if (VEC_COUNT (shlib->qr) > 0)
8268 qr_sz += VEC_COUNT (shlib->qr) * 8;
8335 struct alpha_vms_shlib_el *shlib;
8338 shlib = &VEC_EL (t->shrlibs, struct alpha_vms_shlib_el, i);
8340 if (!shlib->has_fixups)
8344 PRIV2 (shlib->abfd, shr_index) = shrimg_cnt++;
8355 shl->imgnam[0] = strlen (PRIV2 (shlib->abfd, hdr_data.hdr_t_name));
8356 memcpy (shl->imgnam + 1, PRIV2 (shlib->abfd, hdr_data.hdr_t_name),
8369 struct alpha_vms_shlib_el *shlib;
8372 shlib = &VEC_EL (t->shrlibs, struct alpha_vms_shlib_el, i);
8374 if (VEC_COUNT (shlib->ca) == 0)
8377 bfd_putl32 (VEC_COUNT (shlib->ca), content + off);
8378 bfd_putl32 (PRIV2 (shlib->abfd, shr_index), content + off + 4);
8381 for (j = 0; j < VEC_COUNT (shlib->ca); j++)
8383 bfd_putl32 (VEC_EL (shlib->ca, bfd_vma, j) - t->base_addr,
8401 struct alpha_vms_shlib_el *shlib;
8404 shlib = &VEC_EL (t->shrlibs, struct alpha_vms_shlib_el, i);
8406 if (VEC_COUNT (shlib->lp) == 0)
8409 bfd_putl32 (VEC_COUNT (shlib->lp), content + off);
8410 bfd_putl32 (PRIV2 (shlib->abfd, shr_index), content + off + 4);
8413 for (j = 0; j < VEC_COUNT (shlib->lp); j++)
8415 bfd_putl32 (VEC_EL (shlib->lp, bfd_vma, j) - t->base_addr,
8433 struct alpha_vms_shlib_el *shlib;
8436 shlib = &VEC_EL (t->shrlibs, struct alpha_vms_shlib_el, i);
8438 if (VEC_COUNT (shlib->qr) == 0)
8441 bfd_putl32 (VEC_COUNT (shlib->qr), content + off);
8442 bfd_putl32 (PRIV2 (shlib->abfd, shr_index), content + off + 4);
8445 for (j = 0; j < VEC_COUNT (shlib->qr); j++)
8448 r = &VEC_EL (shlib->qr, struct alpha_vms_vma_ref, j);