This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: mips .bss lma broken
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: Catherine Moore <clm at redhat dot com>
- Cc: rearnsha at arm dot com, binutils at sources dot redhat dot com, hunt at cygnus dot com, clm at cygnus dot com
- Date: Fri, 22 Mar 2002 17:52:34 +0000
- Subject: Re: mips .bss lma broken
- Organization: ARM Ltd.
- Reply-to: Richard dot Earnshaw at arm dot com
clm@redhat.com said:
> This patch seems to have caused some trouble for some mips platforms:
> http://sources.redhat.com/ml/binutils/2001-10/msg00541.html
> <date> Richard Earnshaw (rearnsha@arm.com)
> * elf.c (_bfd_elf_make_section_from_shdr): Set the LMA based
> on the
> p_paddr of the segment that contains it.
> In particular, the lma for the bss section should be the same value as
> the vma. In this example, it is not, and gdb relies on a correct lma
> for this particular port.
As I recall, the discussion that lead up to this patch was this one:
http://sources.redhat.com/ml/binutils/2001-10/msg00498.html
R.