From: Jason Merrill <jason@cygnus.com>
To: hjl@nynexst.com (H.J. Lu)
Cc: ian@cygnus.com (Ian Lance Taylor),
raeburn@cygnus.com (Ken Raeburn),
gas2@cygnus.com, eric@aib.com (Eric Youngdale)
Subject: Re: A very strange/serious gas/gld bug
Date: Wed, 09 Nov 1994 16:45:00 -0000 [thread overview]
Message-ID: <199411100045.QAA21315@cygnus.com> (raw)
In-Reply-To: <9411100035.AA01521@titanic.nynexst.com>
>>>>> H J Lu <hjl@nynexst.com> writes:
> The bug is very strange :-(. Please try those two files.
> ----foo.s---
> .text
> .align 4
> .type __do_global_dtors_aux,@function
> __do_global_dtors_aux:
> ret
> .align 4
> .type fini_dummy,@function
> fini_dummy:
> .section .fini
> call __do_global_dtors_aux
> .text
This one is compiled incorrectly (call 00000002):
begin 664 foo.o
M?T5,1@$! 0 $ P ! 0 0 #0
M "@ "0 & ,.0D)#H_?___P N<WEM=&%B "YS=')T86( +G-H<W1R=&%B "YT
M97AT "YD871A "YB<W, +F9I;FD +G)E;"YF:6YI
M ! " $ %P 0 @ !
M , 0 # ( P #
M , ! 7U]D;U]G;&]B86Q?9'1O<G-?875X &9I;FE?9'5M;7D
M &P
M $ & #0 $ $ "$ !
M P X ! G " ,
M . 0 + $ & #@
M % ! #( ) !X @ "
M < $ ! @ 1 P /0 #P
M $ 0 ( 'P !P " < $
M $ D # #L (@ 0
* ! @$ #
end
> ----bar.s---
> .text
> .align 4
> .type __do_global_dtors_aux,@function
> __do_global_dtors_aux:
> ret
> .align 4
> .type fini_dummy,@function
> fini_dummy:
> .section .fini
> call __do_global_dtors_aux@PLT
> .text
> ret
This one is compiled correctly (call 00000001):
begin 664 bar.o
M?T5,1@$! 0 $ P ! X 0 #0
M "@ "0 & ,.0D)## Z/S___\ +G-Y;71A8@ N<W1R=&%B "YS:'-T<G1A
M8@ N=&5X= N9&%T80 N8G-S "YF:6YI "YR96PN9FEN:0
M 0 @ ! !< $ ( 0
M # $ P " , P
M # 0 (@ $ !?7V1O7V=L;V)A;%]D
M=&]R<U]A=7@ 9FEN:5]D=6UM>0!?1TQ/0D%,7T]&1E-%5%]404),15\
M !L !
M!@ T !0 ! A 0 ,
M / 0 )P @ # #P
M $ "P ! !@ \ !0
M 0 R "0 H ( @ '
M! 0 ( $0 , $$ \ !
M $ " " @ @ ' ! !
M ) P $ #@ $ 0
% 0!
end
prev parent reply other threads:[~1994-11-09 16:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <199411100011.QAA17746@cygnus.com>
1994-11-09 16:36 ` H.J. Lu
1994-11-09 16:45 ` Jason Merrill [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=199411100045.QAA21315@cygnus.com \
--to=jason@cygnus.com \
--cc=eric@aib.com \
--cc=gas2@cygnus.com \
--cc=hjl@nynexst.com \
--cc=ian@cygnus.com \
--cc=raeburn@cygnus.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).