On Tue, 2010-02-09 at 11:26 +0200, Shachar Shemesh wrote: > Orna Agmon Ben-Yehuda wrote:
> > > > If the absolute path is included (I think -g does that). The mount > > point in the two environments may be called differently. > > > That's why I'm using objdump -d, which does not print the source > files, and is path location agnostic. In essence, I'm comparing just > the actual assembly produced. On Tue, 2010-02-09 at 11:29 +0200, Shachar Shemesh wrote: > Then again, the same source code gets compiled by two supposedly > identical compilers using the same compiler flags. Why should the > result by different? 1. Compile the project twice on the same platform, saving the object files from each compilation - to make sure that there are no timestamps. 2. From man objdump, I see that there are -d (--disassemble) and -D (--disassemble-all) flags. What happens if you use objdump -D instead of objdump -d? This could catch blocks created from uninitialized (or differently-initialized) memory areas. --- Omer -- MCSE - acronym for Minesweeper Consultant & Solitaire Expert. (Unknown) My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html _______________________________________________ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il