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]

Re: Regressions on i386-pc-nto-qnx6.3.0


On Mon, Aug 14, 2006 at 12:34:50PM -0400, Ryan Mansfield wrote:
> 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
> 

Is there a way to reproduce it on Linux?

> 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?

The current linker removes the zero-sized note section from the output.


H.J.


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