Regressions on i386-pc-nto-qnx6.3.0

Ryan Mansfield RMansfield@qnx.com
Mon Aug 14 17:04:00 GMT 2006


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



More information about the Binutils mailing list