mips .bss lma broken

Richard Earnshaw rearnsha@arm.com
Fri Mar 22 09:52:00 GMT 2002


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.




More information about the Binutils mailing list