bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/25750] GNU as has inconsistent behavior when expanding .ma


From: nickc at redhat dot com
Subject: [Bug binutils/25750] GNU as has inconsistent behavior when expanding .macro that takes as input directives with arguments
Date: Thu, 02 Apr 2020 07:52:31 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=25750

--- Comment #3 from Nick Clifton <nickc at redhat dot com> ---
Hi Jian,

(In reply to Jian Cai from comment #2)
> Does :vararg work for multiple arguments? Thanks.

Yes it does:

  % cat fred.s

  .macro foo insn:vararg
  \insn
  .endm
        foo .section sec1 , "ax" , @progbits
        foo .section sec2 , "aw" , @note

  % as fred.s -o fred.o
  % readelf --wide --sections fred.o | grep sec

  [ 4] sec1   PROGBITS   0000000000000000 000040 000000 00  AX  0   0  1
  [ 5] sec2   NOTE       0000000000000000 000040 000000 00  WA  0   0  1

Cheers
  Nick

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]