Lines Matching refs:upper
227 * NAME starts with ".upper." or ".lower.". */
235 if (strncmp (name, ".upper.", 7) == 0)
254 into either their lower or their upper equivalents. */
265 lang_output_section_statement_type * upper;
277 if (strncmp (secname, ".upper.", 7) == 0
291 /* Compute the names of the corresponding upper and lower
304 upper_name = concat (".upper", name, NULL);
306 /* Find the corresponding lower and upper sections. */
308 upper = lang_output_section_find (upper_name);
310 if (lower == NULL && upper == NULL)
414 bfd_rename_section (s, concat (".upper", curr_name, NULL));
476 fprintf (file, _(" --code-region={either,lower,upper,none}\n\
477 Transform .text* sections to {either,lower,upper,none}.text* sections\n"));
478 fprintf (file, _(" --data-region={either,lower,upper,none}\n\
480 {either,lower,upper,none}.{bss,data,rodata}* sections\n"));
483 add the {either,lower,upper,none} prefixes\n"));
492 if (strcmp (optarg, "upper") == 0)
503 "{upper,lower,either,none}\n"));
515 if (strcmp (optarg, "upper") == 0)
526 "{upper,lower,either,none}\n"));
557 lang_output_section_statement_type * upper;
573 /* Only concerned with .either input sections in the upper output section. */
576 || strncmp (s->output_section->name, ".upper", 6) != 0)
580 upper = lang_output_section_find (concat (".upper", base_sec_name, NULL));
582 if (upper == NULL || upper->region == NULL)
600 upper_size_rom = upper->region->current - upper->region->origin;
610 upper_size_ram = upper->region->current - upper->region->origin;
616 /* If the upper region is overflowing, try moving sections to the lower
618 Note that there isn't any general benefit to using lower memory over upper
621 if (*upper_size > upper->region->length
624 if (change_output_section (&(upper->children.head), s, lower, upper))
644 lang_output_section_statement_type * upper;
659 output section i.e. not in the upper output section. */
662 || strncmp (s->output_section->name, ".upper", 6) == 0)
682 upper = lang_output_section_find (concat (".upper", base_sec_name, NULL));
683 if (upper == NULL)
712 /* Move sections that cause the lower region to overflow to the upper region. */
714 change_output_section (&(output_sec->children.head), s, upper, output_sec);
759 in lower into upper, and then again to move any sections in upper that
765 lang_output_section_statement_type * upper;
783 upper = lang_output_section_find (concat (".upper", base_sec_name, NULL));
784 if (upper != NULL)
787 both lower->upper and upper->lower transformations because the
788 iterator encounters upper sections before all lower sections have
811 /* Relax again before moving upper->lower. */