Lines Matching refs:globals
1103 #define THUMB2ARM_GLUE_SIZE (globals->support_old_code ? 20 : 8)
1337 struct coff_arm_link_hash_table * globals; in coff_arm_relocate_section() local
1343 globals = coff_arm_hash_table (info); in coff_arm_relocate_section()
1345 BFD_ASSERT (globals != NULL); in coff_arm_relocate_section()
1346 BFD_ASSERT (globals->bfd_of_glue_owner != NULL); in coff_arm_relocate_section()
1350 s = bfd_get_section_by_name (globals->bfd_of_glue_owner, in coff_arm_relocate_section()
1386 BFD_ASSERT (my_offset <= globals->arm_glue_size); in coff_arm_relocate_section()
1425 struct coff_arm_link_hash_table * globals; in coff_arm_relocate_section() local
1431 globals = coff_arm_hash_table (info); in coff_arm_relocate_section()
1433 BFD_ASSERT (globals != NULL); in coff_arm_relocate_section()
1434 BFD_ASSERT (globals->bfd_of_glue_owner != NULL); in coff_arm_relocate_section()
1438 s = bfd_get_section_by_name (globals->bfd_of_glue_owner, in coff_arm_relocate_section()
1450 && ! globals->support_old_code) in coff_arm_relocate_section()
1461 if (globals->support_old_code) in coff_arm_relocate_section()
1521 BFD_ASSERT (my_offset <= globals->thumb_glue_size); in coff_arm_relocate_section()
1786 struct coff_arm_link_hash_table * globals; in bfd_arm_allocate_interworking_sections() local
1788 globals = coff_arm_hash_table (info); in bfd_arm_allocate_interworking_sections()
1790 BFD_ASSERT (globals != NULL); in bfd_arm_allocate_interworking_sections()
1792 if (globals->arm_glue_size != 0) in bfd_arm_allocate_interworking_sections()
1794 BFD_ASSERT (globals->bfd_of_glue_owner != NULL); in bfd_arm_allocate_interworking_sections()
1797 (globals->bfd_of_glue_owner, ARM2THUMB_GLUE_SECTION_NAME); in bfd_arm_allocate_interworking_sections()
1801 foo = bfd_alloc (globals->bfd_of_glue_owner, globals->arm_glue_size); in bfd_arm_allocate_interworking_sections()
1803 s->size = globals->arm_glue_size; in bfd_arm_allocate_interworking_sections()
1807 if (globals->thumb_glue_size != 0) in bfd_arm_allocate_interworking_sections()
1809 BFD_ASSERT (globals->bfd_of_glue_owner != NULL); in bfd_arm_allocate_interworking_sections()
1812 (globals->bfd_of_glue_owner, THUMB2ARM_GLUE_SECTION_NAME); in bfd_arm_allocate_interworking_sections()
1816 foo = bfd_alloc (globals->bfd_of_glue_owner, globals->thumb_glue_size); in bfd_arm_allocate_interworking_sections()
1818 s->size = globals->thumb_glue_size; in bfd_arm_allocate_interworking_sections()
1834 struct coff_arm_link_hash_table * globals; in record_arm_to_thumb_glue() local
1838 globals = coff_arm_hash_table (info); in record_arm_to_thumb_glue()
1840 BFD_ASSERT (globals != NULL); in record_arm_to_thumb_glue()
1841 BFD_ASSERT (globals->bfd_of_glue_owner != NULL); in record_arm_to_thumb_glue()
1844 (globals->bfd_of_glue_owner, ARM2THUMB_GLUE_SECTION_NAME); in record_arm_to_thumb_glue()
1869 val = globals->arm_glue_size + 1; in record_arm_to_thumb_glue()
1870 bfd_coff_link_add_one_symbol (info, globals->bfd_of_glue_owner, tmp_name, in record_arm_to_thumb_glue()
1875 globals->arm_glue_size += ARM2THUMB_GLUE_SIZE; in record_arm_to_thumb_glue()
1890 struct coff_arm_link_hash_table * globals; in record_thumb_to_arm_glue() local
1894 globals = coff_arm_hash_table (info); in record_thumb_to_arm_glue()
1896 BFD_ASSERT (globals != NULL); in record_thumb_to_arm_glue()
1897 BFD_ASSERT (globals->bfd_of_glue_owner != NULL); in record_thumb_to_arm_glue()
1900 (globals->bfd_of_glue_owner, THUMB2ARM_GLUE_SECTION_NAME); in record_thumb_to_arm_glue()
1922 val = globals->thumb_glue_size + 1; in record_thumb_to_arm_glue()
1923 bfd_coff_link_add_one_symbol (info, globals->bfd_of_glue_owner, tmp_name, in record_thumb_to_arm_glue()
1942 sprintf (tmp_name, globals->support_old_code ? BACK_FROM_ARM : CHANGE_TO_ARM, name); in record_thumb_to_arm_glue()
1945 val = globals->thumb_glue_size + (globals->support_old_code ? 8 : 4); in record_thumb_to_arm_glue()
1946 bfd_coff_link_add_one_symbol (info, globals->bfd_of_glue_owner, tmp_name, in record_thumb_to_arm_glue()
1951 globals->thumb_glue_size += THUMB2ARM_GLUE_SIZE; in record_thumb_to_arm_glue()
1965 struct coff_arm_link_hash_table * globals; in bfd_arm_get_bfd_for_interworking() local
1974 globals = coff_arm_hash_table (info); in bfd_arm_get_bfd_for_interworking()
1976 BFD_ASSERT (globals != NULL); in bfd_arm_get_bfd_for_interworking()
1978 if (globals->bfd_of_glue_owner != NULL) in bfd_arm_get_bfd_for_interworking()
2009 globals->bfd_of_glue_owner = abfd; in bfd_arm_get_bfd_for_interworking()
2020 struct coff_arm_link_hash_table * globals; in bfd_arm_process_before_allocation() local
2031 globals = coff_arm_hash_table (info); in bfd_arm_process_before_allocation()
2033 BFD_ASSERT (globals != NULL); in bfd_arm_process_before_allocation()
2034 BFD_ASSERT (globals->bfd_of_glue_owner != NULL); in bfd_arm_process_before_allocation()
2036 globals->support_old_code = support_old_code; in bfd_arm_process_before_allocation()
2507 struct coff_arm_link_hash_table * globals; in coff_arm_final_link_postscript() local
2509 globals = coff_arm_hash_table (pfinfo->info); in coff_arm_final_link_postscript()
2511 BFD_ASSERT (globals != NULL); in coff_arm_final_link_postscript()
2513 if (globals->bfd_of_glue_owner != NULL) in coff_arm_final_link_postscript()
2515 if (! _bfd_coff_link_input_bfd (pfinfo, globals->bfd_of_glue_owner)) in coff_arm_final_link_postscript()
2518 globals->bfd_of_glue_owner->output_has_begun = TRUE; in coff_arm_final_link_postscript()