Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why do I get invalid use of symbol error when assembling PE or object file?

0
Posted

Why do I get invalid use of symbol error when assembling PE or object file?

0

This error happens when value of some relocatable label is used in context, in which assembler cannot guarantee that the value encoded in instruction will be correct after relocating the code. The labels are considered relocatable only with output formats that generate relocation information, which are the object formats and PE (but only in case when the fixups data is included into executable by programmer).

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123