[patch] Fix C++ no .eh_frame_hdr table will be created (PR 6893)

Andreas Schwab schwab@suse.de
Wed Sep 17 15:50:00 GMT 2008


Jan Kratochvil <jan.kratochvil@redhat.com> writes:

> --- /dev/null	1 Jan 1970 00:00:00 -0000
> +++ ld/testsuite/ld-elf/eh-group1.s	16 Sep 2008 13:28:54 -0000
> @@ -0,0 +1,6 @@
> +	.section	sect, "axG", @progbits, sectgroup, comdat
> +	.global	_start
> +_start:
> +	.cfi_startproc
> +	.skip 16
> +	.cfi_endproc
> --- /dev/null	1 Jan 1970 00:00:00 -0000
> +++ ld/testsuite/ld-elf/eh-group2.s	16 Sep 2008 13:28:54 -0000
> @@ -0,0 +1,4 @@
> +	.section	sect, "axG", @progbits, sectgroup, comdat
> +	.cfi_startproc
> +	.skip 16
> +	.cfi_endproc

This will also fail to assemble on arm because @ is a comment character.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Binutils mailing list