------- Comment #3 from jakub at gcc dot gnu dot org  2010-07-19 19:35 -------
I must say I don't like your solution.  IMHO much better is instead add a
header to LTO sections, which says the length of the LTO chunk (similarly e.g.
to how .debug_info section chunks have length in the header), perhaps version,
followed by that length of bytes of compressed stream, and change LTO reader to
iterate over all chunks in the LTO section.
This will also have advantage that it doesn't require non-ELF object formats to
have section length not a multiple of 4, etc.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44992

Reply via email to