Lines Matching defs:to
18 with this program; if not, write to the Free Software Foundation, Inc.,
36 /* Values of type 'enum elf_spu_reloc_type' are used to index this
224 /* Move two high bits of value to REL9I and REL9 position.
308 /* Shortcuts to overlay sections. */
339 /* Pointer to the fixup section */
377 /* List of functions called. Also branches to hot/cold part of
380 /* For hot/cold part of function, point to owner. */
406 /* Set if known to be start of function (as distinct from a hunk
411 /* Flags used during call tree traversal. It's cheaper to replicate
428 address range belonging to a function. */
473 is a power-of-two number of quadwords, big enough to hold one
480 to (hash, NULL) for global symbols, and (NULL, sym) for locals. Set
481 *SYMSECP to the symbol's section. *LOCSYMSP caches local syms. */
550 that the linker maps the sections to the right place in the output. */
617 /* qsort predicate to sort sections by vma. */
677 /* Look for an overlapping vma to find the first overlay section. */
830 /* Non-zero to use bra in overlay stubs rather than br. */
989 /* It's common for people to write assembly and forget
990 to give function symbols the right type. Handle
991 calls to such symbols, but warn so that (hopefully)
993 type to be correct to distinguish function pointer
1008 (*_bfd_error_handler) (_("warning: call to non-function"
1027 /* A reference from some other section to a symbol in an overlay
1044 always generates inline code to do indirect branches. */
1198 bfd_vma addend, from, to, br_dest, patt;
1247 to = (htab->ovly_entry[0]->root.u.def.value
1251 if (((dest | to | from) & 3) != 0)
1268 bfd_put_32 (sec->owner, BR + (((to - (from + 12)) << 5) & 0x007fff80),
1271 bfd_put_32 (sec->owner, BRA + ((to << 5) & 0x007fff80),
1278 bfd_put_32 (sec->owner, BRSL + (((to - from) << 5) & 0x007fff80) + 75,
1281 bfd_put_32 (sec->owner, BRASL + ((to << 5) & 0x007fff80) + 75,
1353 /* On entry to function. */
1369 to = (htab->ovly_entry[1]->root.u.def.value
1373 /* The branch that uses this stub goes to stub_addr + 4. We'll
1375 to modify this branch to go directly to its destination. */
1384 br_dest = to;
1390 bfd_put_32 (sec->owner, BRASL + ((to << 5) & 0x007fff80) + 75,
1461 /* Called via elf_link_hash_traverse to allocate stubs for any _SPUEAR_
1538 /* Walk over each section attached to the input bfd. */
1543 /* If there aren't any relocs, then there's nothing more to do. */
1704 b) Rewrite "to" list, one quadword per cache line.
1705 c) Rewrite "from" list, one byte per outgoing branch (rounded up to
1760 /* Called from ld to place overlay manager data sections. This is done
1798 /* Functions to handle embedded spu_ovl.o object. */
1889 (*_bfd_error_handler) (_("%B is not allowed to define %s"),
1897 (*_bfd_error_handler) (_("you are not allowed to define %s in a script"),
2096 /* set low bit of .size to mark non-overlay area as present. */
2180 If a store of lr is found save the instruction offset to *LR_STORE.
2181 If a stack adjusting instruction is found, save that offset to
2308 in stack adjust, but we need to continue past this branch. */
2320 /* qsort predicate to sort symbols by section and value. */
2511 /* Extend the range of FUN to cover nop padding up to LIMIT.
2604 /* Add CALLEE to CALLER call list if not already present. Return TRUE
2666 look at branches, which may be tail calls or go to hot/cold
2738 (_("%B(%A+0x%v): call to non-code section"
2776 a switch statement or some other reference to a
2839 the function to another, ie. hot/cold section. If the
2880 These sections are pasted together to form a single function. */
2939 /* Map address ranges in code sections to functions. */
3003 /* Select defined function symbols that are going to be output. */
3134 the range of such functions to the beginning of the
3223 /* Transfer call info attached to struct function_info entries for
3224 all of a given function's sections to the first entry. */
3307 "from %s to %s\n"),
3321 didn't, then there is some cycle in the call graph not attached to
3359 to main entry. */
3377 /* qsort predicate to sort calls by priority, max_depth then count. */
3407 won't be continuing on to bfd_elf_final_link so it is OK to use
3444 /* Ensure SEC_CODE is set on this text section (it ought to
3446 this flag to differentiate the two overlay section types. */
3454 /* Find the rodata section corresponding to this function's
3573 that we need to unmark. Unfortunately this isn't reliable since the
3629 /* Add sections we have marked as belonging to overlays to an array
3673 /* qsort predicate to sort sections by call count. */
3707 /* Remove some sections from those marked to be in overlays. Choose
3794 /* Call stubs to the section we just added are no longer
3806 /* Add new call stubs to dummy_caller. */
3845 from the parent section. The idea being to group sections to
4071 /* qsort predicate to sort bfds by file name. */
4249 builtin version to .text, and will adjust .text size. */
4345 - word 0: ia address of present line, init to zero. */
4347 /* b) Rewrite "to" list, one quadword per cache line. */
4350 to a power-of-two number of full quadwords) per cache line. */
4353 /* d) Pointer to __ea backing store (toe), 1 quadword. */
4388 /* Build an array of sections, suitably sorted to place into
4421 /* See whether we can add this section to the current
4462 stubs. Add any overlay section calls to dummy_call. */
4613 /* We need to set lma since we are overlaying .ovl.init. */
4725 that need to be emitted. */
4754 /* Functions for adding fixup records to .fixup */
4796 /* Apply RELOCS to CONTENTS of INPUT_SECTION from INPUT_BFD. */
4919 /* Change "a rt,ra,rb" to "ai rt,ra,0". */
4934 /* If this symbol is in an overlay area, we may need to relocate
4935 to the overlay stub. */
5005 relative to the start of the ELF image. */
5118 /* Adjust _SPUEAR_ syms to point at their overlay stubs. */
5260 PT_LOAD segments. This can cause the .ovl.init section to be
5261 overwritten with the contents of some overlay segment. To work
5355 /* Round up p_filesz and p_memsz of PT_LOAD segments to multiples
5417 /* Walk over each section attached to the input bfd. */
5424 to do. */
5437 /* 1 quadword can contain up to 4 R_SPU_ADDR32
5440 lower 4 bits to a bit mask of the words that have the