This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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."


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