mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 17:18:55 +00:00
Updo the last change to binutils and ld/testsuite.
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user