Subject: Re: ELF and m68k
To: Steve Woodford <firstname.lastname@example.org>
From: Todd Vierling <email@example.com>
Date: 12/05/2000 08:57:09
On Tue, 5 Dec 2000, Steve Woodford wrote:
: 1) Linking static binaries sometimes produces the following warning(s):
: /usr/libexec/ld: Warning: size of symbol `_<mumble>' changed from <N> to
: <n> in <objfile.o>
: Common values for `N' and `n' are `8' and `4' respectively. In such a
: case, the symbol in question really is 4 bytes long so quite why it's
: recorded as being 8 bytes long in the object file is beyond me. It doesn't
: appear to have any detrimental effect on the resulting binary...
Hm. A test against binutils 2.10.1 might be in order. This does sound
: 2) gnu/dist/ld/emulparams/m68kelf.sh defines TEXT_START_ADDR as 0x80000000.
: While not inherently evil, this seems bogus. (Although it did flush out a
: long-standing buglet in newfs(8) ;-)). Is there any reason not to change
: this to 0x2000 to match the a.out address?
Check the m68k ELF ABI supplement first.
-- Todd Vierling <firstname.lastname@example.org> * http://www.wasabisystems.com/
-- Speed, stability, security, and support. Wasabi NetBSD: Run with it.