Change ELFOSABI in SH (Re: [Patch] sh64: Fix gas testsuite expected output)

H. J. Lu hjl@lucon.org
Tue Oct 22 22:58:00 GMT 2002


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.



More information about the Binutils mailing list