This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
RE: fixup against section symbol
- From: "Vineet Sharma, Noida" <vineets at noida dot hcltech dot com>
- To: Alan Modra <amodra at bigpond dot net dot au>, "Vineet Sharma, Noida" <vineets at noida dot hcltech dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Fri, 7 Nov 2003 12:36:40 +0530
- Subject: RE: fixup against section symbol
Hi,
Is making an entry " FOO-*-coff) bfd_gas=yes ;;" in
gas/configure.in enough to define BFD_ASSEMBLER, or there is more to do?
Thanks
Vineet
-----Original Message-----
From: Alan Modra [mailto:amodra@bigpond.net.au]
Sent: Friday, November 07, 2003 11:49 AM
To: Vineet Sharma, Noida
Cc: binutils@sources.redhat.com
Subject: Re: fixup against section symbol
On Fri, Nov 07, 2003 at 11:25:44AM +0530, Vineet Sharma, Noida wrote:
> Hi,
> Well i am porting GAS to new target i dont want the locally
defined
> symbol to adjusted against section symbol(.text). I am producing COFF
> FOrmat. I have tried adjusting value of "tc_fix_adjustable", but still it
> being fixed against section symbol.Any help?
If tc_fix_adjustable returns zero, relocs won't be adjusted to be
against section syms. At least, that's the case if you're using
BFD_ASSEMBLER. Non-BFD assembler support will hopefully disappear some
time soon, so please use BFD_ASSEMBLER on all new ports.
--
Alan Modra
IBM OzLabs - Linux Technology Centre