[PATCH]: XCOFF : Ensure .text/.data file offset == vma % pagesize
Richard Sandiford
rsandifo@linux.vnet.ibm.com
Tue Jul 30 14:39:00 GMT 2013
More information about the Binutils mailing list
Tue Jul 30 14:39:00 GMT 2013
- Previous message (by thread): [PATCH]: XCOFF : Ensure .text/.data file offset == vma % pagesize
- Next message (by thread): GNU Tools Cauldron 2013 - Presentation videos
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Tristan, Sorry for the slow reply. (Seem to be saying that a lot lately.) I was a bit surprised that we didn't have the reloc counts more easily available, but I see what you mean. Tristan Gingold <gingold@adacore.com> writes: > + if (info->strip != strip_all) > + { > + /* There can be additional sections just for dealing with overflow in > + reloc and lineno counts. But the numbers of relocs and lineno aren't > + known zhen bfd_sizeof_headers is called, so we compute them by Typo: s/zhen/when/. > + summing the numbers from input sections. */ > + struct nbr_reloc_lineno > + { > + unsigned int nbr_relocs; > + unsigned int nbr_lineno; > + }; Very minor, sorry, but I think the code would be easier to follow if these two fields had the same name as the thing they're summing (reloc_count and lineno_count). OK with those changes, thanks. Good spot! Richard
- Previous message (by thread): [PATCH]: XCOFF : Ensure .text/.data file offset == vma % pagesize
- Next message (by thread): GNU Tools Cauldron 2013 - Presentation videos
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list