Lines Matching refs:howto
49 #define BPF_HOWTO(...) HOWTO(__VA_ARGS__),
118 /* Set the howto pointer for a bpf reloc. */
138 bfd_reloc->howto = &bpf_elf_howto_table [i];
195 reloc_howto_type * howto;
212 howto = &bpf_elf_howto_table[howto_index];
245 howto, 0, contents);
250 switch (howto->type)
262 addend = bfd_get (howto->bitsize, input_bfd,
264 + (howto->bitsize == 16 ? 2 : 4));
266 if ((addend & (((~howto->src_mask) >> 1) & howto->src_mask)) != 0)
267 addend -= (((~howto->src_mask) >> 1) & howto->src_mask) << 1;
271 bfd_put (howto->bitsize, input_bfd, relocation,
273 + (howto->bitsize == 16 ? 2 : 4));
282 addend = bfd_get (howto->bitsize, input_bfd, where);
284 bfd_put (howto->bitsize, input_bfd, relocation, where);
317 r = bfd_check_overflow (howto->complain_on_overflow,
318 howto->bitsize,
319 howto->rightshift,
330 (info, (h ? &h->root : NULL), name, howto->name,
379 /* A generic howto special function for installing BPF relocations.
400 && (! reloc_entry->howto->partial_inplace
408 && !reloc_entry->howto->pc_relative
416 if (reloc_entry->howto->type == R_BPF_64_64)
419 reloc_size = (reloc_entry->howto->bitsize
420 + reloc_entry->howto->bitpos) / 8;
437 status = bfd_check_overflow (reloc_entry->howto->complain_on_overflow,
438 reloc_entry->howto->bitsize,
439 reloc_entry->howto->rightshift, 64, relocation);
445 if (reloc_entry->howto->type == R_BPF_64_64)
461 bfd_put (reloc_entry->howto->bitsize, abfd, relocation,
462 where + reloc_entry->howto->bitpos / 8);