This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch mach-o/gas] implement .zerofill


On Jan 4, 2012, at 12:13 PM, Iain Sandoe wrote:

> 
> On 2 Jan 2012, at 14:36, Tristan Gingold wrote:
>>>> 
>>>> Do you have tests for .zerofill ?
>>> 
>>> yes, (there's a second one to come, but I'll hold it until the symbol sorting code is in).
>>> 
>>> OK?
>> 
>> Ok.
> 
> applied with the test.
> 
> Here's a second test, now that we have the symbol sorting in.
> OK?

Yes.

> Iain
> 
> gas/testsuite:
> 
> 	* gas/mach-o/zerofill-2.d: New.
> 
> gas/testsuite/gas/mach-o/zerofill-2.d |   12 ++++++++++++
> 1 files changed, 12 insertions(+), 0 deletions(-)
> 
> diff --git a/gas/testsuite/gas/mach-o/zerofill-2.d b/gas/testsuite/gas/mach-o/zerofill-2.d
> new file mode 100644
> index 0000000..eb9fd85
> --- /dev/null
> +++ b/gas/testsuite/gas/mach-o/zerofill-2.d
> @@ -0,0 +1,12 @@
> +#objdump: -t
> +#source: zerofill-1.s
> +.*: +file format mach-o.*
> +#...
> +SYMBOL TABLE:
> +(00000000)?00000000 l.*0e SECT.*03 0000 \[__DATA.__zf_2\] zfs
> +(00000000)?00000000 l.*0e SECT.*04 0000 \[__DATA.__zf_3\] withalign
> +(00000000)?00000008 l.*0e SECT.*04 0000 \[__DATA.__zf_3\] withalign1
> +(00000000)?00000000 g.*0f SECT.*01 0000 \[.text\] a
> +(00000000)?00000001 g.*0f SECT.*01 0000 \[.text\] b
> +(00000000)?00000002 g.*0f SECT.*01 0000 \[.text\] c
> +(00000000)?00000003 g.*0f SECT.*01 0000 \[.text\] d
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]