[PATCH 4/4] gas: Add basic test for addrsig.
Alan Modra
amodra@gmail.com
Wed May 25 07:30:36 GMT 2022
On Wed, May 25, 2022 at 03:42:52PM +0900, Tatsuyuki Ishi via Binutils wrote:
> These are very basic tests to ensure that the addrsig directives are
> correctly parsed and something is emitted.
New tests should be checked on multiple targets.
> +tmpdir/addrsig.o: file format elf64-x86-64
This will obviously fail on anything other than x86.
> +++ b/gas/testsuite/gas/elf/addrsig.s
> @@ -0,0 +1,10 @@
> +.addrsig
> +.addrsig_sym g1
> +.globl g2
> +.addrsig_sym g3
> +.addrsig_sym local
> +.addrsig_sym .Llocal
> +
> +local:
> +.Llocal:
> +.Llocal_hidden:
Please indent directives with a space or tab. Some targets assume
that text starting in the first column is a label.
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list