Updo the last change to binutils and ld/testsuite.

This commit is contained in:
H.J. Lu
2006-02-02 22:53:46 +00:00
parent ec21a0f54c
commit d72d9b9e57
24 changed files with 55 additions and 26 deletions

View File

@@ -3405,10 +3405,6 @@ process_program_headers (FILE *file)
for (j = 1; j < elf_header.e_shnum; j++, section++)
{
if (section->sh_size > 0
/* PT_DYNAMIC segment contains only SHT_DYNAMIC
sections. */
&& (segment->p_type != PT_DYNAMIC
|| section->sh_type == SHT_DYNAMIC)
/* Compare allocated sections by VMA, unallocated
sections by file offset. */
&& (section->sh_flags & SHF_ALLOC
@@ -3417,7 +3413,12 @@ process_program_headers (FILE *file)
<= segment->p_vaddr + segment->p_memsz)
: ((bfd_vma) section->sh_offset >= segment->p_offset
&& (section->sh_offset + section->sh_size
<= segment->p_offset + segment->p_filesz))))
<= segment->p_offset + segment->p_filesz)))
/* .tbss is special. It doesn't contribute memory space
to normal segments. */
&& (!((section->sh_flags & SHF_TLS) != 0
&& section->sh_type == SHT_NOBITS)
|| segment->p_type == PT_TLS))
printf ("%s ", SECTION_NAME (section));
}