Free words in section

Paul Koning paul_koning@dell.com
Tue Oct 19 19:55:00 GMT 2010
What does "free" mean?  And why is it interesting?  It's hard to see what you're after.

	paul

On Oct 19, 2010, at 12:25 PM, Paulo J. Matos wrote:

> Hi,
> 
> I am trying to write a program over BFD that determines the number of
> free words per section.
> 
> Since the whole section is always written to the object file, and non
> written words as 0x00, I guess there's no precise way to tell if a
> word 0x00 is free or used but written as a 0x00. So, I was wondering if
> there are any heuristics around to determine this.
> 
> For example, the following 3 sections are examples of what I mean:
> completely_free (15 words free):
> 000000000000000000000000000000
> 
> written_in_beg (9 words free):
> afde12ce982a000000000000000000
> 
> in_blocks (9 words free):
> 000000afde12ce982a000000000000
> 
> Cheers,
> -- 
> PMatos
> 



More information about the Binutils mailing list