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