loading from the stack segment
David Livshin
dlivshin@inter.net.il
Thu Aug 19 20:42:00 GMT 2004
More information about the Binutils mailing list
Thu Aug 19 20:42:00 GMT 2004
- Previous message (by thread): Spurious R_386_NONE relocations
- Next message (by thread): loading from the stack segment
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, Changing the sequence of instructions from subl $9980,%esp movl -9976(%ebp),%eax to movl -9976(%ebp),%eax subl $9980,%esp causes segmentation fault while executing memory load movl -9976(%ebp),%eax I don't see any dependency between those two instructions. My guess is that subl $9980,%esp somehow establishes stack segment that movl -9976(%ebp),%eax reads from – however debugging the faulty/correct programs didn't show any significant difference between the state of CPU at movl -9976(%ebp),%eax and I couldnt locate any documentation to support such an assumption. Any thoughts and clarifications would be greatly appreciated. Thank you in advance. David Livshin dlivshin@internet-zahav.net http://www.dalsoft.esmartweb.com/
- Previous message (by thread): Spurious R_386_NONE relocations
- Next message (by thread): loading from the stack segment
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list