diff options
| author | Mark Wielaard <[email protected]> | 2018-08-04 20:36:09 +0200 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2018-09-13 14:30:30 +0200 |
| commit | ba2a7f4fa5f453c2b0a729bf519240a8f66a1867 (patch) | |
| tree | 6fd2f8cd25f5750e815d7cab22adbd4f5d345e68 /backends/ChangeLog | |
| parent | fb0457f4671e7e0f8331453348005ed6beab275e (diff) | |
backends: Always use elf_getshdrstrndx in check_special_symbol.
The check_special_symbol backend functions used the Ehdr e_shstrndx
field to get at the name of sections. This is not correct if there
are more than SHN_LORESERVE sections. Always use elf_getshdrstrndx
to get the shstrtab section. And drop the Ehdr argument that isn't
necessary anymore.
Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'backends/ChangeLog')
| -rw-r--r-- | backends/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/backends/ChangeLog b/backends/ChangeLog index 52149482..ada349fe 100644 --- a/backends/ChangeLog +++ b/backends/ChangeLog @@ -1,3 +1,13 @@ +2018-09-12 Mark Wielaard <[email protected]> + + * aarch64_symbol.c (aarch64_check_special_symbol): Drop ehdr argument, + use elf_getshdrstrndx. + * alpha_symbol.c (alpha_check_special_symbol): Drop ehdr argument. + * ppc64_symbol.c (ppc64_check_special_symbol): Likewise and use + elf_getshdrstrndx. + * ppc_symbol.c (ppc_check_special_symbol): Likewise. + * riscv_symbol.c (riscv_check_special_symbol): Likewise. + 2018-07-21 Andreas Schwab <[email protected]> * Makefile.am (m68k_SRCS): Add m68k_cfi.c and m68k_initreg.c. |
