When trying to compile my project, which uses some third-party headers, with mingw 4.4, I encountered the following error:
Assembler messages:
Error: garbage at the end of the line, the first unrecognized character is "" "
Error: unknown pseudo-op: '.previous'
I found this code at the end of one of the included headers:
__asm__(".section \".plc\"");
__asm__(".previous");
Since I have no experience with assembly instructions, I searched for an explanation for it, but could not find the answer to my two main questions. What does __asm__(".previous");and why does anyone put this at the end of the header file.
These are just __asm__instructions throughout the project. Can I safely remove them? Or is there a way to define .previous to make it a famous pseudo-operator?
Enlighten me, please!
source
share