[GOLD][PATCH]Handle script sections in Output_section::get_input_section.

Doug Kwan (關振德) dougkwan@google.com
Sun May 23 07:33:00 GMT 2010


在 2010年5月23日上午6:47,Ian Lance Taylor <iant@google.com> 寫道:

> As noted separately, this will do the wrong thing if this
> this->original_size_ doesn't fit in section_size_type.  My earlier
> suggestion was somewhat wrong--I forgot that original_size_ is now
> uint32_t.  Here we know offset >= 0 so casting it to uint32_t should
> be fine.

I can use convert_types, which is always correct but a little bit slower.

> The comment is unfinished.

I will update the comment.

Thanks for reviewing.

-Doug



More information about the Binutils mailing list