[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/23919] bfd doesn't handle ELF compressed data alignment
From: |
mark at klomp dot org |
Subject: |
[Bug binutils/23919] bfd doesn't handle ELF compressed data alignment |
Date: |
Wed, 28 Nov 2018 09:32:57 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=23919
--- Comment #11 from Mark Wielaard <mark at klomp dot org> ---
(In reply to H.J. Lu from comment #9)
> This change triggered
>
> gcctestdir/collect-ld: warning: gdb_index_test_cdebug_gabi.o: section
> .debug_str contains incorrectly aligned strings; the alignment of those
> strings won't be preserved
> gcctestdir/collect-ld: warning: gdb_index_test_3.o: section .debug_str
> contains incorrectly aligned strings; the alignment of those strings won't
> be preserved
> gcctestdir/collect-ld: error: treating warnings as errors
> collect2: error: ld returned 1 exit status
> make[3]: *** [gdb_index_test_3] Error 1
>
> in gold tests.
I think this comes from do_add_input_section in gold/merge.cc.
It decompresses the section, but doesn't use ch_addralign, but
this->addralign(), when calculating the alignment constraint.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/23919] bfd doesn't handle ELF compressed data alignment, (continued)
- [Bug binutils/23919] bfd doesn't handle ELF compressed data alignment, cvs-commit at gcc dot gnu.org, 2018/11/27
- [Bug binutils/23919] bfd doesn't handle ELF compressed data alignment, nickc at redhat dot com, 2018/11/27
- [Bug binutils/23919] bfd doesn't handle ELF compressed data alignment, mark at klomp dot org, 2018/11/27
- [Bug binutils/23919] bfd doesn't handle ELF compressed data alignment, hjl.tools at gmail dot com, 2018/11/27
- [Bug binutils/23919] bfd doesn't handle ELF compressed data alignment, cvs-commit at gcc dot gnu.org, 2018/11/27
- [Bug binutils/23919] bfd doesn't handle ELF compressed data alignment, hjl.tools at gmail dot com, 2018/11/27
- [Bug binutils/23919] bfd doesn't handle ELF compressed data alignment, ldv at sourceware dot org, 2018/11/28
- [Bug binutils/23919] bfd doesn't handle ELF compressed data alignment, hjl.tools at gmail dot com, 2018/11/28
- [Bug binutils/23919] bfd doesn't handle ELF compressed data alignment, mark at klomp dot org, 2018/11/28
- [Bug binutils/23919] bfd doesn't handle ELF compressed data alignment,
mark at klomp dot org <=
- [Bug binutils/23919] bfd doesn't handle ELF compressed data alignment, ldv at sourceware dot org, 2018/11/29