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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,c4ab69bf7d3638f1 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: Differences between gnat 4.4.5 and 4.5.1 Date: Mon, 21 Mar 2011 08:52:08 +0100 Organization: A noiseless patient Spider Message-ID: <87oc54syfr.fsf@ludovic-brenta.org> References: <86tyfa3bmz.fsf@gareth.avalon.lan> <87mxl2vemt.fsf@ludovic-brenta.org> <87d3lltuw7.fsf@ludovic-brenta.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: mx02.eternal-september.org; posting-host="zmS/90Ks1lNLZ2jk9dZrHw"; logging-data="24895"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/bBMUX6RLeO96O4T9CtCuE" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:YtZ/H162kLIeb/nfgbCaVl/MHrU= sha1:tQNBb+O2T7D6XYx2Z3U2A8HQwBw= Xref: g2news2.google.com comp.lang.ada:19311 Date: 2011-03-21T08:52:08+01:00 List-Id: Noel Duffy writes: > I ran objdump -S on the text sections in both executables after > recompiling but not stripping debug symbols. The Fedora/gnat-4.5.1 > executable has many more functions. Here is a list of them. [...] > > There are 68 of them. The Debian/gnat-4.4.5 version contains just: > > 0000000000402100 <_start>: > 000000000040212c : > 0000000000402150 <__do_global_dtors_aux>: > 00000000004021c0 : > 00000000004021e4 : > 00000000004021e9 : > 00000000004023da
: > 000000000040242c : > 0000000000402455 <_ada_hello>: > 00000000004024f0 <__libc_csu_fini>: > 0000000000402500 <__libc_csu_init>: > 0000000000402590 <__do_global_ctors_aux>: Here is what I have on my executable compiled with gnat-4.5: 00000000004021e0 <_start>: 000000000040220c : 0000000000402230 <__do_global_dtors_aux>: 00000000004022a0 : 00000000004022c4 : 000000000040252d : 0000000000402532
: 0000000000402584 : 00000000004025ad <_ada_hello>: 0000000000402650 <__libc_csu_fini>: 0000000000402660 <__libc_csu_init>: 00000000004026f0 <__do_global_ctors_aux>: > Time perhaps to take this to Fedora's mailing lists to see if they can > shed any light on it. Or maybe try with stock GCC 4.5? -- Ludovic Brenta.