mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-05 15:15:42 +00:00
s390x sframe regressions
Commit6ab3f09a68resulted in regressions. s390x-linux-gnu FAIL: SFrame simple link s390x-linux-gnu FAIL: SFrame for plt0 and pltN Commit939eb467b2exposed the problem further. s390x-linux-gnu FAIL: LTO 4a s390x-linux-gnu FAIL: LTO 4c s390x-linux-gnu FAIL: LTO 4d * elf64-s390.c (elf_s390_create_dynamic_sections): Set plt_sframe ELF section type. Reviewed-by: Jens Remus <jremus@linux.ibm.com> (cherry picked from commit168c017e20)
This commit is contained in:
@@ -4299,6 +4299,8 @@ elf_s390_create_dynamic_sections (bfd *dynobj,
|
|||||||
flags);
|
flags);
|
||||||
if (htab->plt_sframe == NULL)
|
if (htab->plt_sframe == NULL)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
elf_section_type (htab->plt_sframe) = SHT_GNU_SFRAME;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user