Messages in this thread | | | Date | Sun, 13 Apr 2008 16:27:05 +0100 (BST) | From | "Maciej W. Rozycki" <> | Subject | Re: [PATCH] pop previous section in alternative.c |
| |
On Thu, 10 Apr 2008, Andi Kleen wrote:
> A simple way to detect it on the assembler level would be checking > that the section is the same after #NO_APP as before #APP
Not as simple as the section stack would have to be traversed to check whether there are any differences. And in the end, either such a complete check or a simple one you have proposed may not be desirable, because I can imagine in some scenarios the change of a section in an asm may be deliberate. Let's not limit the tools.
Maciej
| |