Closed HPCguy closed 3 years ago
I read the elf32 code and can't see where the codegen for CLCA is happening. Since append_strtab() never appends __clear_cache in main, and since I can't find where __clear_cache is appended in elf32(), I have to give up. There is no debug information generated when I compile amacc.c using the amacc compiler, so it would be extremely painful to figure out wht is happening by stepping through assembly language. I am going to give up, and close this pull request.
I can't spot the magic that caused this to fail!! The JIT seems to work but the ELf generation does not! SInce the ELF only registers scnames[] of OPEN through EXIT, I am not yet seeing the transmission mechanism for __clear_cache(). I will close this pull request with an explanation if I find the magic causing the ELF generation failure, else I will fix whatever the bug is. If someone else already knows, please go ahead and close this pull request for me.