Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Nov 1999 06:10:48 +1100
From:      John Birrell <jb@cimlogic.com.au>
To:        John Polstra <jdp@polstra.com>
Cc:        sepotvin@videotron.ca, hackers@FreeBSD.ORG
Subject:   Re: gas pseudo-ops
Message-ID:  <19991119061048.F13376@freebsd1.cimlogic.com.au>
In-Reply-To: <199911181743.JAA02952@vashon.polstra.com>; from John Polstra on Thu, Nov 18, 1999 at 09:43:34AM -0800
References:  <000001bf260d$837c8770$0100000a@stephanep.bishop> <199911181743.JAA02952@vashon.polstra.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Nov 18, 1999 at 09:43:34AM -0800, John Polstra wrote:
> In article <000001bf260d$837c8770$0100000a@stephanep.bishop>,
> Stephane Potvin <sepotvin@videotron.ca> wrote:
> > 
> > Do you think it would be possible to change the
> > 	.type <symbol>,@object
> > for
> > 	.type <symbol>,object
> > in gensetdef? By looking in the gas code I found that the assembler just
> > ignores the @ character.
> 
> I think it would be much better to remove all of the platform-specific
> asm statements from gensetdefs and put them into a header
> <machine/gensetdefs.h>.  Gensetdefs would then emit an include of that
> header to get the needed definitions.

gensetdefs also needs to act according to the machine and endian type
it sees in the elf header, not the ones it was compiled for. Then it
can be used as a cross-tool.

-- 
John Birrell - jb@cimlogic.com.au; jb@freebsd.org http://www.cimlogic.com.au/
               john.birrell@cai.com john.birrell@opendirectory.com.au


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991119061048.F13376>