public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Assembler messages error
@ 2021-07-21 16:24 abhijeet inamdar
  2021-07-22  2:39 ` Kewen.Lin
  0 siblings, 1 reply; 2+ messages in thread
From: abhijeet inamdar @ 2021-07-21 16:24 UTC (permalink / raw)
  To: gcc-help

Hi,

I'm getting an error message
Error: .size expression for Reset_Handler does not evaluate to a constant.

I'm newbie I don't know how to fix this. Please advise.

Thanks,
Abhijeet.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Assembler messages error
  2021-07-21 16:24 Assembler messages error abhijeet inamdar
@ 2021-07-22  2:39 ` Kewen.Lin
  0 siblings, 0 replies; 2+ messages in thread
From: Kewen.Lin @ 2021-07-22  2:39 UTC (permalink / raw)
  To: abhijeet inamdar; +Cc: gcc-help

on 2021/7/22 上午12:24, abhijeet inamdar via Gcc-help wrote:
> Hi,
> 
> I'm getting an error message
> Error: .size expression for Reset_Handler does not evaluate to a constant.
> 

Guessing you have the writing ".size Reset_Handler, <value_expression>",
the assembler can't evaluate the "<value_expression>" as a constant value.

Normally it's written like ".size Reset_Handler, .-Reset_Handler"
at the end of function Reset_Handler.

BR,
Kewen

> I'm newbie I don't know how to fix this. Please advise.
> 
> Thanks,
> Abhijeet.
> 



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-07-22  2:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-21 16:24 Assembler messages error abhijeet inamdar
2021-07-22  2:39 ` Kewen.Lin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).