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 : sh-elf-as fix for SEC_MERGE



> -----Original Message-----
> From: kaz Kojima [mailto:kkojima@rr.iij4u.or.jp]
> Sent: Wednesday, December 11, 2002 10:00 AM
> To: Nitin Gupta, Noida
> Cc: binutils@sources.redhat.com
> Subject: Re: PATCH : sh-elf-as fix for SEC_MERGE
> 
> 
> "Nitin  Gupta, Noida" <niting@noida.hcltech.com> wrote:
> >	Following testcase produces incorrect results when
> >	compiled with -O2 (sh-elf-gcc).  I'm using 
> >		-GCC 3.1.1  (reproducible with GCC mainline too)
> >		-binutils 2.12
> >		-newlib 1.10.0
> [snip]
> >	The assembler should not relax the expression of .L3. Keeping 
> >	relocation entry and symtab same it should emit  1 at 
> offset 0x20 
> >	in text section (the offset corresponding to .L3).
> 
> This seems not SH specific and is fixed already in binutils-2.13.x
> and CVS. Please take a look at recent gas/write.c:adjust_reloc_syms.
> 
Thanks a lot for help.
It is fixed in adjust_reloc_syms itself in later 
version. I think I need to upgarade to latest binutils.

Best Regards,
Nitin


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