[COMMITTED 2/3] gas: BPF pseudo-c syntax tests
Jan Beulich
jbeulich@suse.com
Thu Apr 27 10:05:16 GMT 2023
On 27.04.2023 11:59, Jose E. Marchesi wrote:
>
>> On 26.04.2023 19:31, Jose E. Marchesi via Binutils wrote:
>>> --- a/gas/testsuite/gas/bpf/alu-be.d
>>> +++ b/gas/testsuite/gas/bpf/alu-be.d
>>> @@ -1,5 +1,6 @@
>>> #as: --EB
>>> #source: alu.s
>>> +#source: alu-pseudoc.s
>>> #objdump: -dr
>>> #name: eBPF ALU64 instructions, big endian
>>
>> I may of course be reading binutils-common.exp's run_dump_test wrong,
>> but is this having the intended effect of assembling each of the files
>> once and checking objdump output for each of them? It looks to me as
>> if only the assembling step would be performed for both, which I don't
>> think is what is wanted.
>
> It was an attempt to avoid having to replicate the same contents in
> alu-be.d and alu-be-pseudoc.d. Will look into this too.
I assumed that would have been the goal, but that's achieved by using
#dump: instead (in a new, small *.d).
Jan
More information about the Binutils
mailing list