This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: What changed in ld?
G. Adam Stanislav writes:
> At 10:57 01-06-2001 -0700, H . J . Lu wrote:
> >On Fri, Jun 01, 2001 at 12:50:28PM -0500, G. Adam Stanislav wrote:
> >> Hello, I posted this in the FreeBSD hackers list and was referred
> >> to you. I was told that when I upgraded to FreeBSD 4.3, I also
> >> upgraded binutils from 2.9.1 to 2.10.1.
> >>
> >> I am the author of the assembly language tutorial for FreeBSD
> >> (http://www.int80h.org/bsdasm/), but something has changed in ld
> >> that causes programs assembled with nasm 0.98 and linked with ld
> >
> >Are you using ELF? nasm usually generates bad ELF object files.
>
> Yes, I'm using elf. But I did not have any problem when using the ld
> from binutils 2.9.1. I was using the same version of nasm.
Read the NASM page. It says:
http://www.web-sites.co.uk/nasm/bugs.html
"Relocations between multiple code segments in ELF are wrong. NASM's
ELF files don't conform to the ELF standard properly. "
> What can I do?
I would have thought it would be a good time to fix nasm.
Andrew.