This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: question about linker scripts
On Thu, Oct 18, 2001 at 10:36:40AM +0930, Alan Modra wrote:
> On Wed, Oct 17, 2001 at 05:23:42PM -0500, Jim Blandy wrote:
> >
> > Is this an ld bug, or am I doing something wrong?
>
> You neglected to say which version of ld you are using. I made some
> changes to ldi on 2001-08-03 that should have fixed the ordering.
>
Current CVS ld creates a binary the way you want
$ objdump -dr catch.new | grep '>:'
0804850c <_init>:
08048540 <.plt>:
08048600 <_start>:
08048624 <Letext>:
08048630 <__do_global_dtors_aux>:
08048690 <fini_dummy>:
080486a0 <frame_dummy>:
080486d0 <init_dummy>:
080486e0 <main>:
080487d9 <Letext>:
080487e0 <__tf7zeroset>:
08048820 <_._7zeroset>:
08048850 <__do_global_ctors_aux>:
08048880 <init_dummy>:
0804888c <_fini>: