[PATCH 6/8] x86: allow @size to also (sensibly) apply to sections
Jan Beulich
jbeulich@suse.com
Fri Apr 23 13:30:04 GMT 2021
On 23.04.2021 15:23, H.J. Lu wrote:
> On Fri, Apr 23, 2021 at 1:37 AM Jan Beulich <jbeulich@suse.com> wrote:
>> --- a/gas/testsuite/gas/i386/x86-64-size-2.d
>> +++ b/gas/testsuite/gas/i386/x86-64-size-2.d
>> @@ -18,4 +18,7 @@ Disassembly of section .text:
>> [ ]*[a-f0-9]+: b8 90 99 99 19 mov \$0x19999990,%eax
>> [ ]*[a-f0-9]+: b8 70 99 99 19 mov \$0x19999970,%eax
>> [ ]*[a-f0-9]+: b8 b0 99 99 19 mov \$0x199999b0,%eax
>> +[ ]*[a-f0-9]+: b8 3c 00 00 00 mov \$0x3c,%eax
>
> Is 0x3c the .text section size?
Yes.
>> +[ ]*[a-f0-9]+: b8 60 00 00 00 mov \$0x60,%eax
>
> Is 0x60 the .data section size?
Yes.
>> +[ ]*[a-f0-9]+: b8 (ae|b0) 99 99 09 mov \$0x99999(ae|b0),%eax
>
> Is the .bss section size 1?
No. Where are you seeing 1?
> Please update tests to verify section sizes.
I'm afraid I have no clue what you mean by this.
Jan
More information about the Binutils
mailing list