This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Error: .size expression for __restore_rt does not evaluate to a constant [FIX]
Hi Tom
Tom Schouten wrote:
> After checking what ".type" and ".size" actually mean (they annotate a
> symbol with type and size), it seems likely that what is meant here is
> to just refer to the "cyg_hal_sys_restore" symbol, and not the
> "__restore" symbol. I.e. the code probably has changed at some point
> to incorporate a name change, but somebody forgot to update that
> directive. It's not necessary for the code to work so it is only
> detected now that binutils got stricter about its input.
Thank you for the analysis and patch. Checked in. Can you test please?
John Dallaway
eCos maintainer
http://www.dallaway.org.uk/john
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss