Re: Error: .size expression for __restore_rt does not evaluate to a constant [FIX]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]




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



[Linux Embedded]     [U-Boot V2]     [Linux Kernel]     [Linux MIPS]     [Linux ARM]     [Linux for the Blind]     [Linux Resources]     [Photo]     [Yosemite]     [ISDN Cause Codes]     [ECOS Home]

Add to Google Powered by Linux