This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]