From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,82093f301d2e0a3b,start X-Google-Attributes: gid103376,public From: tmoran@bix.com Subject: Re: differences in binaries Date: 1996/10/14 Message-ID: <53tolu$ojm@news2.delphi.com>#1/1 X-Deja-AN: 189351788 organization: Delphi Internet Services Corporation newsgroups: comp.lang.ada Date: 1996-10-14T00:00:00+00:00 List-Id: >When doing a byte-by-byte comparison of seemingly identical binaries >(ie compile, move the resulting binary to binary.old, then compile again and compare) >there seems to be all sorts on differences between the two files, even though >they were only just re-linked. >We are using SunAda 1.1 but I'm sure this occurs with other versions of Ada. I just tried this re-linking with Janus Ada for Windows. It has three steps: compile, bind the Ada parts into a .obj file, use Microsoft's linker to add windows stuff producing a .exe file. A re-bind produced an identical binary .obj file. A relink produced an .exe that differed in two bytes, widely separated in the .exe file. I don't know what might be happening in SunAda, but it clearly doesn't 'occurs with other versions of Ada'.