gnu/usr.bin/binutils-2.17/gas/config/tc-arm.c
/* When we change sections we need to issue a new mapping symbol.  */
When we change sections we need to issue a new mapping symbol.
When we change sections we need to issue a new mapping symbol .
void
arm_elf_change_section (void)
{
  flagword flags;
  segment_info_type *seginfo;
  if (elf_section_type (now_seg) == SHT_ARM_EXIDX
      && elf_linked_to_section (now_seg) == NULL)
    elf_linked_to_section (now_seg) = text_section;
  if (!SEG_NORMAL (now_seg))
    return;
  flags = bfd_get_section_flags (stdoutput, now_seg);
  if ((flags & SEC_ALLOC) == 0)
    return;
  seginfo = seg_info (now_seg);
  mapstate = seginfo->tc_segment_info_data.mapstate;
  marked_pr_dependency = seginfo->tc_segment_info_data.marked_pr_dependency;
}
void arm_elf_change_section ( void ) { flagword flags ; segment_info_type * seginfo ; if ( elf_section_type ( now_seg ) == SHT_ARM_EXIDX && elf_linked_to_section ( now_seg ) == NULL ) elf_linked_to_section ( now_seg ) = text_section ; if ( ! SEG_NORMAL ( now_seg ) ) return ; flags = bfd_get_section_flags ( stdoutput , now_seg ) ; if ( ( flags & SEC_ALLOC ) == 0 ) return ; seginfo = seg_info ( now_seg ) ; mapstate = seginfo -> tc_segment_info_data . mapstate ; marked_pr_dependency = seginfo -> tc_segment_info_data . marked_pr_dependency ; }
When we change sections we need to issue a new mapping symbol.
When we change sections we need to issue a new mapping symbol .
/* Link an unlinked unwind index table section to the .text section.	*/ /* We can ignore sections that only contain debug info.  */