This is the mail archive of the binutils@sources.redhat.com 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] ia64 .xdata directives


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



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