[PATCH v0 07/15] gas tests: add new tests for build attributes

Matthieu Longo matthieu.longo@arm.com
Tue Mar 11 11:16:07 GMT 2025


On 2025-03-11 08:13, Jan Beulich wrote:
> On 10.03.2025 18:51, Matthieu Longo wrote:
>> --- /dev/null
>> +++ b/gas/testsuite/gas/aarch64/build-attributes/ba-failures-1.d
>> @@ -0,0 +1,14 @@
>> +# name: EABI build attributes: error cases
>> +# source: ba-failures-1.s
>> +# as:
>> +#error: \A[^\n]*\.s: Assembler messages:\n
>> +#error: [^\n]*\.s:[0-9]+: Error: A subsection has to be declared before declaring attributes\n
>> +#error: [^\n]*\.s:[0-9]+: Error: Attribute 1 cannot be redefined\n
>> +#error: [^\n]*\.s:[0-9]+: Error: Attribute 4 cannot be redefined\n
>> +#error: [^\n]*\.s:[0-9]+: Error: Invalid token for section name: \.\n
>> +#error: [^\n]*\.s:[0-9]+: Error: Expected <subsection_name>, <optional>, <format>\n
>> +#error: [^\n]*\.s:[0-9]+: Error: Recalled subsections must have the same parameters\n
>> +#error: [^\n]*\.s:[0-9]+: Error: Recalled subsections must have the same parameters\n
>> +#error: [^\n]*\.s:[0-9]+: Error: Recalled subsections must have the same parameters\n
>> +#error: [^\n]*\.s:[0-9]+: Error: Expected subsection values for <optional> are 0 or 1\n
>> +#error: [^\n]*\.s:[0-9]+: Error: Expected subsection values for <format> are 0 or 1
>> \ No newline at end of file
> 
> Please can this be taken care of (throughout the series)?
> 
> Jan

Hi Jan,

What do you mean by "being taken care of (throughout the series)" ?

Regards,
Matthieu.


More information about the Binutils mailing list