> > Perfect. What was your problem? > > The problem was that I didn't expect to see different md5sum after removing > some dead code. > > I'm working on a series of cleanup patches and I want to be sure that > I'm NOT changing > the .o file. I want to be sure that every single patch is just > cleaning the code. > > What I wanted to do was: > make a/b/c.o > md5sum a/b/c.o > applying the first patch > make clean && make a/b/c.o > md5sum a/b/c.o > and so on. > > Should I add the strip command to the procedure? > And if yes... why? If you want to use md5sum, than yes, because of the debug information inside the .o, and this includes line numbers, and these will change, if you remove dead code. You can look at the elfcmp tool. But I have no experience with this tool. Bert > > Thanks! > > > Ciao, > -- > Paolo > http://paolo.ciarrocchi.googlepages.com/ > - To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html