X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Juan Manuel Guerrero Newsgroups: comp.os.msdos.djgpp Subject: s_nlnno - number of line number entries in a section and its use by DJGPP Date: Wed, 25 Jan 2012 14:27:05 -0800 (PST) Organization: http://groups.google.com Lines: 18 Message-ID: NNTP-Posting-Host: 95.208.8.116 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1327530426 3954 127.0.0.1 (25 Jan 2012 22:27:06 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Wed, 25 Jan 2012 22:27:06 +0000 (UTC) Complaints-To: groups-abuse AT google DOT com Injection-Info: z31g2000vbt.googlegroups.com; posting-host=95.208.8.116; posting-account=OsAajgoAAADdKJnkJkmhzqP0jo6I_P_0 User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HUALESNKRC X-HTTP-UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1,gzip(gfe) Bytes: 1962 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Some time ago I have implemented a DJGPP specific support to cope with the overflow of s_nreloc (number of relocation entries) and s_nlnno (number of line number entries). The need to handle s_nreloc overflow is clear but I have never found a case where s_nlnno had a value different of zero, no matter if I used the "-g" flag or not and no matter if the .c file itself had more than 65536 lines or not. This gives the impression to me that DJGPP does not use s_nlnno at all. If this is the case then there is no need for the s_nlnno specific changes I have done to BFD and I can remove them the next time a binutils or gdb port is produced. Of course the changes required to handle s_nreloc overflow will remain. Can someone with more BFD and COFF inside clarify this question. TIA, Juan M. Guerrero