From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Merrill 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 Message-id: <199411100045.QAA21315@cygnus.com> References: <9411100035.AA01521@titanic.nynexst.com> X-SW-Source: 1994/msg00171.html >>>>> H J Lu 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 ----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@ N0!?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