This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Regressions on i386-pc-nto-qnx6.3.0
- From: Ryan Mansfield <RMansfield at qnx dot com>
- To: "'binutils at sourceware dot org'" <binutils at sourceware dot org>
- Date: Mon, 14 Aug 2006 12:34:50 -0400
- Subject: Regressions on i386-pc-nto-qnx6.3.0
I noticed 4 regressions in the binutils testsuite on i386-pc-nto-qnx6.3.0.
All of the failures are due to the following BFD warning:
BFD: tmpdir/copyprog: warning: allocated section `.note.1' not in segment
BFD: tmpdir/copyprog: warning: allocated section `.note.1' not in segment
I did a manual reghunt and tracked down the change to the following patch:
http://sourceware.org/ml/binutils/2006-02/msg00117.html
It was my understanding that a .note.1 section could have a size of 0. So
therefore the warnings are due to the check sec_hdr->sh_size > 0 in the
ELF_IS_SECTION_IN_SEGMENT_FILE macro.
Can anyone confirm that .note.1 section can be zero sized, or comment on the
correctness of the ELF_IS_SECTION_IN_SEGMENT_FILE?
Regards,
Ryan Mansfield