This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] ia64 .xdata directives
- From: James E Wilson <wilson at specifixinc dot com>
- To: Jan Beulich <JBeulich at novell dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Thu, 10 Feb 2005 13:20:28 -0800
- Subject: Re: [PATCH] ia64 .xdata directives
- References: <s1ffaa94.015@emea1-mh.id2.novell.com>
On Tue, 2005-02-01 at 08:13, Jan Beulich wrote:
> The .xdata family of directives wasn't compatible with those of ias:
> gas
> required a quoted string as first argument, ias wants a bare section
> name.
That seems to be an oversight, as the manual doesn't say anything about
using strings here. We probably ended up this way as many common unix
assembly formats use a string after a .section directive, and we ended
up doing xdata the same way out of habit.
> Further, once again a couple of memory leaks resulted from the use of
> demand_copy_C_string. Finally, no .xdata16 directives existed, even
> though
> data16 pseudo-ops had been added at some point.
There is no .xdata16 directive in the assembly language manual, only
data16, but yes, it should be there.
> * config/tc-ia64.c (parse_section_name): Handle non-quoted
> first
> argument.
> (dot_xdata): Free section name after use.
> ...
> (md_pseudo_table): Add xdata16 and xdata16.ua.
OK.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com