This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Change ELFOSABI in SH (Re: [Patch] sh64: Fix gas testsuite expected output)
On Tue, Oct 22, 2002 at 10:55:38PM -0700, Jason R Thorpe wrote:
> On Tue, Oct 22, 2002 at 07:43:54PM -0400, Hans-Peter Nilsson wrote:
>
> > For executables, make elf_object_p look at .note.ABI-tag. (They
> > don't have the same contents on NetBSD, no?) Create one (or
> > something equivalent) for DSO:s too; it seems like that doesn't
> > happen.
>
> NetBSD uses .note.netbsd.ident ... and it's provided by the NetBSD
> crtstuff, and so only applies to linked objects (programs, shared
> libraries, etc.)
>
.note.ABI-tag is for OS, not for linker. Linker shouldn't care
.note.ABI-tag.
H.J.