Lines Matching refs:anchor
56 # may need to insert an anchor record later that must be at the start of the
58 # So, we use (addr << 1) + 1 to allow a possible anchor record to be placed at
92 # We collect the address of the anchor (or first symbol in the section if there
93 # is no explicit anchor) to allow users of the range data to calculate address
127 # (LLD) Convert an anchor record from lld format to ld format.
133 ARGIND == 2 && map_is_lld && !anchor && NF == 7 && raw_addr == "0x"$1 && $6 == "=" && $7 == "." {
152 # We only care about these while processing a section for which no anchor has
159 ARGIND == 2 && map_is_lld && sect && !anchor && NF == 5 && $5 ~ /^[_A-Za-z][_A-Za-z0-9]*$/ {
205 # be used to identify an anchor record.
229 anchor = 0;
245 # Record the first anchor symbol for the current section.
247 # An anchor record for the section bears the same raw address as the section
250 ARGIND == 2 && !anchor && NF == 4 && raw_addr == $1 && $3 == "=" && $4 == "." {
251 anchor = sprintf("%s %08x-%08x = %s", sect, 0, 0, $2);
252 sect_anchor[sect] = anchor;
260 # If no anchor record was found for the current section, use the first symbol
261 # in the section as anchor.
263 ARGIND == 2 && !anchor && NF == 2 && $1 ~ /^0x/ && $2 !~ /^0x/ {
267 anchor = sprintf("%s %08x-%08x = %s", sect, addr, addr, $2);
268 sect_anchor[sect] = anchor;