This is the mail archive of the gas2@sourceware.cygnus.com mailing list for the gas2 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

A very strange/serious gas/gld bug


> Yes.  Here are the assembly file I get, and the object file I get from
> compiling it with './as crtstuff.s'.
> 

The bug is very strange :-(. Please try those two files.

H.J.
----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
----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