Clean up load page support for tic54x.

This commit is contained in:
Timothy Wall
2000-04-18 02:21:27 +00:00
parent 63fa167491
commit b9af77f58f
8 changed files with 122 additions and 30 deletions

View File

@@ -1531,6 +1531,10 @@ coff_set_alignment_hook (abfd, section, scnhdr)
i = COFF_DECODE_ALIGNMENT(hdr->s_flags);
#endif
section->alignment_power = i;
#ifdef coff_set_section_load_page
coff_set_section_load_page (section, hdr->s_page);
#endif
}
#else /* ! COFF_ALIGN_IN_SECTION_HEADER */
@@ -3249,6 +3253,9 @@ coff_write_object_contents (abfd)
section.s_vaddr = current->vma;
section.s_paddr = current->lma;
section.s_size = current->_raw_size;
#ifdef coff_get_section_load_page
section.s_page = coff_get_section_load_page (current);
#endif
#ifdef COFF_WITH_PE
section.s_paddr = 0;