diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-10-08 14:29:52 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-10-08 14:29:52 -0700 |
commit | 4c7236d3cb7b971bbdc97b6aec348a4aa0594a9b (patch) | |
tree | 8ef779b7e3f64aadd3dabc5498d1b1bc4c8c31b0 /bfd/ChangeLog | |
parent | 70090aa5f629dcbdfa88b20c29951fa8f50f0545 (diff) | |
download | gdb-4c7236d3cb7b971bbdc97b6aec348a4aa0594a9b.zip gdb-4c7236d3cb7b971bbdc97b6aec348a4aa0594a9b.tar.gz gdb-4c7236d3cb7b971bbdc97b6aec348a4aa0594a9b.tar.bz2 |
tilegx: Set this_hdr.sh_entsize only if section size > 0
This fixes:
/export/build/gnu/binutils-cross/build-tilegx-linux/ld/ld-new -o tmpdir/comm-data -z norelro -L/export/gnu/import/git/sources/binutils-gdb/ld/testsuite/ld-elf -T comm-data2.ld -Ltmpdir -lcomm-data tmpdir/comm-data2.o
sh: line 1: 9208 Segmentation fault (core dumped) /export/build/gnu/binutils-cross/build-tilegx-linux/ld/ld-new -o tmpdir/comm-data -z norelro -L/export/gnu/import/git/sources/binutils-gdb/ld/testsuite/ld-elf -T comm-data2.ld -Ltmpdir -lcomm-data tmpdir/comm-data2.o 2>&1
FAIL: Common symbol override test
* elfxx-tilegx.c (tilegx_elf_finish_dynamic_sections): Set
this_hdr.sh_entsize only if section size > 0.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 7d7bf58..2d1af3a 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,10 @@ 2017-10-08 H.J. Lu <hongjiu.lu@intel.com> + * elfxx-tilegx.c (tilegx_elf_finish_dynamic_sections): Set + this_hdr.sh_entsize only if section size > 0. + +2017-10-08 H.J. Lu <hongjiu.lu@intel.com> + * elfxx-x86.c (elf_x86_allocate_dynrelocs): Reformat. 2017-10-07 H.J. Lu <hongjiu.lu@intel.com> |